Codebase list librelp / e3d7a7f8-1c36-4c61-b85d-5ec8fb1457f5/main
New upstream snapshot. Debian Janitor 2 years ago
43 changed file(s) with 4428 addition(s) and 3625 deletion(s). Raw diff Collapse all Expand all
0 ----------------------------------------------------------------------
1 Version 1.11.0 - 2021-??-??
2 - gnutls drvr bugfix: library called exit() under some circumstances
3 When relpTcpRcv ran into an error, it could call exit() and thus
4 terminate the calling process. This was a regression from commit
5 6555545c4ebe9afe9259b15c176fd81eeecc93f4.
6 closes: https://github.com/rsyslog/librelp/issues/230
07 ----------------------------------------------------------------------
18 Version 1.10.0 - 2021-02-16
29 - TLS handling bugfix
00 Installation Instructions
11 *************************
22
3 Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
4 Foundation, Inc.
3 Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
4 Software Foundation, Inc.
55
66 Copying and distribution of this file, with or without modification,
77 are permitted in any medium without royalty provided the copyright
224224
225225 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
226226
227 HP-UX 'make' updates targets which have the same time stamps as their
227 HP-UX 'make' updates targets which have the same timestamps as their
228228 prerequisites, which makes it generally unusable when shipped generated
229229 files such as 'configure' are involved. Use GNU 'make' instead.
230230
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.4 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
167167 $(am__extra_recursive_targets)
168168 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
169169 cscope distdir distdir-am dist dist-all distcheck
170 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
171 $(LISP)config.h.in
170 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
171 config.h.in
172172 # Read a list of newline-separated strings from the standard input,
173173 # and print each of them once, without duplicates. Input order is
174174 # *not* preserved.
185185 unique=`for i in $$list; do \
186186 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
187187 done | $(am__uniquify_input)`
188 ETAGS = etags
189 CTAGS = ctags
190 CSCOPE = cscope
191188 DIST_SUBDIRS = $(SUBDIRS)
192189 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
193190 $(srcdir)/relp.pc.in AUTHORS COPYING ChangeLog INSTALL NEWS \
194 README compile config.guess config.sub depcomp install-sh \
195 ltmain.sh missing
191 README compile config.guess config.sub install-sh ltmain.sh \
192 missing
196193 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
197194 distdir = $(PACKAGE)-$(VERSION)
198195 top_distdir = $(distdir)
231228 DIST_ARCHIVES = $(distdir).tar.gz
232229 GZIP_ENV = --best
233230 DIST_TARGETS = dist-gzip
231 # Exists only to be overridden by the user if desired.
232 AM_DISTCHECK_DVI_TARGET = dvi
234233 distuninstallcheck_listfiles = find . -type f -print
235234 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
236235 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
246245 CC = @CC@
247246 CCDEPMODE = @CCDEPMODE@
248247 CFLAGS = @CFLAGS@
249 CPP = @CPP@
250248 CPPFLAGS = @CPPFLAGS@
249 CSCOPE = @CSCOPE@
250 CTAGS = @CTAGS@
251251 CYGPATH_W = @CYGPATH_W@
252252 DEFS = @DEFS@
253253 DEPDIR = @DEPDIR@
258258 ECHO_N = @ECHO_N@
259259 ECHO_T = @ECHO_T@
260260 EGREP = @EGREP@
261 ETAGS = @ETAGS@
261262 EXEEXT = @EXEEXT@
262263 FGREP = @FGREP@
263264 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
567568 distclean-tags:
568569 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
569570 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
570
571571 distdir: $(BUILT_SOURCES)
572572 $(MAKE) $(AM_MAKEFLAGS) distdir-am
573573
651651 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
652652 $(am__post_remove_distdir)
653653
654 dist-zstd: distdir
655 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
656 $(am__post_remove_distdir)
657
654658 dist-tarZ: distdir
655659 @echo WARNING: "Support for distribution archives compressed with" \
656660 "legacy program 'compress' is deprecated." >&2
693697 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
694698 *.zip*) \
695699 unzip $(distdir).zip ;;\
700 *.tar.zst*) \
701 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
696702 esac
697703 chmod -R a-w $(distdir)
698704 chmod u+w $(distdir)
708714 $(DISTCHECK_CONFIGURE_FLAGS) \
709715 --srcdir=../.. --prefix="$$dc_install_base" \
710716 && $(MAKE) $(AM_MAKEFLAGS) \
711 && $(MAKE) $(AM_MAKEFLAGS) dvi \
717 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
712718 && $(MAKE) $(AM_MAKEFLAGS) check \
713719 && $(MAKE) $(AM_MAKEFLAGS) install \
714720 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
873879 am--refresh check check-am clean clean-cscope clean-generic \
874880 clean-libtool cscope cscopelist-am ctags ctags-am dist \
875881 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
876 dist-xz dist-zip distcheck distclean distclean-generic \
877 distclean-hdr distclean-libtool distclean-tags distcleancheck \
878 distdir distuninstallcheck dvi dvi-am html html-am info \
879 info-am install install-am install-data install-data-am \
880 install-dvi install-dvi-am install-exec install-exec-am \
881 install-html install-html-am install-info install-info-am \
882 install-man install-pdf install-pdf-am install-pkgconfigDATA \
883 install-ps install-ps-am install-strip installcheck \
884 installcheck-am installdirs installdirs-am maintainer-clean \
885 maintainer-clean-generic mostlyclean mostlyclean-generic \
886 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
887 uninstall-am uninstall-pkgconfigDATA
882 dist-xz dist-zip dist-zstd distcheck distclean \
883 distclean-generic distclean-hdr distclean-libtool \
884 distclean-tags distcleancheck distdir distuninstallcheck dvi \
885 dvi-am html html-am info info-am install install-am \
886 install-data install-data-am install-dvi install-dvi-am \
887 install-exec install-exec-am install-html install-html-am \
888 install-info install-info-am install-man install-pdf \
889 install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
890 install-strip installcheck installcheck-am installdirs \
891 installdirs-am maintainer-clean maintainer-clean-generic \
892 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
893 ps ps-am tags tags-am uninstall uninstall-am \
894 uninstall-pkgconfigDATA
888895
889896 .PRECIOUS: Makefile
890897
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.4 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
1313 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
1414 m4_ifndef([AC_AUTOCONF_VERSION],
1515 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
17 [m4_warning([this file was generated for autoconf 2.71.
1818 You have another version of autoconf. It may work, but is not guaranteed to.
1919 If you have problems, you may need to regenerate the build system entirely.
2020 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
785785 # The POLICY parameter specifies how ax_is_release is determined. It can
786786 # take the following values:
787787 #
788 # * git-directory: ax_is_release will be 'no' if a '.git' directory exists
788 # * git-directory: ax_is_release will be 'no' if a '.git'
789 # directory or git worktree exists
789790 # * minor-version: ax_is_release will be 'no' if the minor version number
790791 # in $PACKAGE_VERSION is odd; this assumes
791792 # $PACKAGE_VERSION follows the 'major.minor.micro' scheme
810811 # permitted in any medium without royalty provided the copyright notice
811812 # and this notice are preserved.
812813
813 #serial 7
814 #serial 8
814815
815816 AC_DEFUN([AX_IS_RELEASE],[
816817 AC_BEFORE([AC_INIT],[$0])
818819 m4_case([$1],
819820 [git-directory],[
820821 # $is_release = (.git directory does not exist)
821 AS_IF([test -d ${srcdir}/.git],[ax_is_release=no],[ax_is_release=yes])
822 AS_IF([test -d ${srcdir}/.git || (test -f ${srcdir}/.git && grep \.git/worktrees ${srcdir}/.git)],[ax_is_release=no],[ax_is_release=yes])
822823 ],
823824 [minor-version],[
824825 # $is_release = ($minor_version is even)
883884 m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])])
884885 ])dnl AX_REQUIRE_DEFINED
885886
886 dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
887 dnl serial 11 (pkg-config-0.29.1)
888 dnl
887 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
888 # serial 12 (pkg-config-0.29.2)
889
889890 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
890891 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
891892 dnl
926927 dnl See the "Since" comment for each macro you use to see what version
927928 dnl of the macros you require.
928929 m4_defun([PKG_PREREQ],
929 [m4_define([PKG_MACROS_VERSION], [0.29.1])
930 [m4_define([PKG_MACROS_VERSION], [0.29.2])
930931 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
931932 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
932933 ])dnl PKG_PREREQ
10271028 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
10281029
10291030 pkg_failed=no
1030 AC_MSG_CHECKING([for $1])
1031 AC_MSG_CHECKING([for $2])
10311032
10321033 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
10331034 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
10371038 See the pkg-config man page for more details.])
10381039
10391040 if test $pkg_failed = yes; then
1040 AC_MSG_RESULT([no])
1041 AC_MSG_RESULT([no])
10411042 _PKG_SHORT_ERRORS_SUPPORTED
10421043 if test $_pkg_short_errors_supported = yes; then
10431044 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
1044 else
1045 else
10451046 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
10461047 fi
10471048 # Put the nasty error message in config.log where it belongs
10581059 _PKG_TEXT])[]dnl
10591060 ])
10601061 elif test $pkg_failed = untried; then
1061 AC_MSG_RESULT([no])
1062 AC_MSG_RESULT([no])
10621063 m4_default([$4], [AC_MSG_FAILURE(
10631064 [The pkg-config script could not be found or is too old. Make sure it
10641065 is in your PATH or set the PKG_CONFIG environment variable to the full
11591160 AS_VAR_IF([$1], [""], [$5], [$4])dnl
11601161 ])dnl PKG_CHECK_VAR
11611162
1162 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
1163 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
11631164 #
11641165 # This file is free software; the Free Software Foundation
11651166 # gives unlimited permission to copy and/or distribute it,
11741175 [am__api_version='1.16'
11751176 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
11761177 dnl require some minimum version. Point them to the right macro.
1177 m4_if([$1], [1.16.1], [],
1178 m4_if([$1], [1.16.4], [],
11781179 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
11791180 ])
11801181
11901191 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
11911192 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
11921193 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1193 [AM_AUTOMAKE_VERSION([1.16.1])dnl
1194 [AM_AUTOMAKE_VERSION([1.16.4])dnl
11941195 m4_ifndef([AC_AUTOCONF_VERSION],
11951196 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
11961197 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
11971198
11981199 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
11991200
1200 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1201 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
12011202 #
12021203 # This file is free software; the Free Software Foundation
12031204 # gives unlimited permission to copy and/or distribute it,
12491250
12501251 # AM_CONDITIONAL -*- Autoconf -*-
12511252
1252 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
1253 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
12531254 #
12541255 # This file is free software; the Free Software Foundation
12551256 # gives unlimited permission to copy and/or distribute it,
12801281 Usually this means the macro was only invoked conditionally.]])
12811282 fi])])
12821283
1283 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
1284 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
12841285 #
12851286 # This file is free software; the Free Software Foundation
12861287 # gives unlimited permission to copy and/or distribute it,
14711472
14721473 # Generate code to set up dependency tracking. -*- Autoconf -*-
14731474
1474 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
1475 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
14751476 #
14761477 # This file is free software; the Free Software Foundation
14771478 # gives unlimited permission to copy and/or distribute it,
15101511 done
15111512 if test $am_rc -ne 0; then
15121513 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
1513 for automatic dependency tracking. Try re-running configure with the
1514 for automatic dependency tracking. If GNU make was not used, consider
1515 re-running the configure script with MAKE="gmake" (or whatever is
1516 necessary). You can also try re-running configure with the
15141517 '--disable-dependency-tracking' option to at least be able to build
15151518 the package (albeit without support for automatic dependency tracking).])
15161519 fi
15371540
15381541 # Do all the work for Automake. -*- Autoconf -*-
15391542
1540 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
1543 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
15411544 #
15421545 # This file is free software; the Free Software Foundation
15431546 # gives unlimited permission to copy and/or distribute it,
16011604 [_AM_SET_OPTIONS([$1])dnl
16021605 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
16031606 m4_if(
1604 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
1607 m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
16051608 [ok:ok],,
16061609 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
16071610 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
16531656 [m4_define([AC_PROG_OBJCXX],
16541657 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
16551658 ])
1659 # Variables for tags utilities; see am/tags.am
1660 if test -z "$CTAGS"; then
1661 CTAGS=ctags
1662 fi
1663 AC_SUBST([CTAGS])
1664 if test -z "$ETAGS"; then
1665 ETAGS=etags
1666 fi
1667 AC_SUBST([ETAGS])
1668 if test -z "$CSCOPE"; then
1669 CSCOPE=cscope
1670 fi
1671 AC_SUBST([CSCOPE])
1672
16561673 AC_REQUIRE([AM_SILENT_RULES])dnl
16571674 dnl The testsuite driver may need to know about EXEEXT, so add the
16581675 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
17341751 done
17351752 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
17361753
1737 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1754 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
17381755 #
17391756 # This file is free software; the Free Software Foundation
17401757 # gives unlimited permission to copy and/or distribute it,
17551772 fi
17561773 AC_SUBST([install_sh])])
17571774
1758 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
1775 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
17591776 #
17601777 # This file is free software; the Free Software Foundation
17611778 # gives unlimited permission to copy and/or distribute it,
17761793
17771794 # Check to see how 'make' treats includes. -*- Autoconf -*-
17781795
1779 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1796 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
17801797 #
17811798 # This file is free software; the Free Software Foundation
17821799 # gives unlimited permission to copy and/or distribute it,
18191836
18201837 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
18211838
1822 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
1839 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
18231840 #
18241841 # This file is free software; the Free Software Foundation
18251842 # gives unlimited permission to copy and/or distribute it,
18401857 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
18411858 AC_REQUIRE_AUX_FILE([missing])dnl
18421859 if test x"${MISSING+set}" != xset; then
1843 case $am_aux_dir in
1844 *\ * | *\ *)
1845 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1846 *)
1847 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1848 esac
1860 MISSING="\${SHELL} '$am_aux_dir/missing'"
18491861 fi
18501862 # Use eval to expand $SHELL
18511863 if eval "$MISSING --is-lightweight"; then
18581870
18591871 # Helper functions for option handling. -*- Autoconf -*-
18601872
1861 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1873 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
18621874 #
18631875 # This file is free software; the Free Software Foundation
18641876 # gives unlimited permission to copy and/or distribute it,
18871899 AC_DEFUN([_AM_IF_OPTION],
18881900 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
18891901
1890 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
1902 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
18911903 #
18921904 # This file is free software; the Free Software Foundation
18931905 # gives unlimited permission to copy and/or distribute it,
19341946 # For backward compatibility.
19351947 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
19361948
1937 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
1949 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
19381950 #
19391951 # This file is free software; the Free Software Foundation
19401952 # gives unlimited permission to copy and/or distribute it,
20172029 m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
20182030 else
20192031
2020 dnl Query Python for its version number. Getting [:3] seems to be
2021 dnl the best way to do this; it's what "site.py" does in the standard
2022 dnl library.
2032 dnl Query Python for its version number. Although site.py simply uses
2033 dnl sys.version[:3], printing that failed with Python 3.10, since the
2034 dnl trailing zero was eliminated. So now we output just the major
2035 dnl and minor version numbers, as numbers. Apparently the tertiary
2036 dnl version is not of interest.
20232037
20242038 AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
2025 [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
2039 [am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[[:2]])"`])
20262040 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
20272041
2028 dnl Use the values of $prefix and $exec_prefix for the corresponding
2042 dnl Use the values of sys.prefix and sys.exec_prefix for the corresponding
20292043 dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
20302044 dnl distinct variables so they can be overridden if need be. However,
20312045 dnl general consensus is that you shouldn't need this ability.
2032
2033 AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
2034 AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
2046 dnl Also allow directly setting the prefixes via configure args.
2047
2048 if test "x$prefix" = xNONE
2049 then
2050 am__usable_prefix=$ac_default_prefix
2051 else
2052 am__usable_prefix=$prefix
2053 fi
2054
2055 AC_ARG_WITH([python_prefix],
2056 [AS_HELP_STRING([--with-python_prefix],
2057 [override the default PYTHON_PREFIX])],
2058 [ am_python_prefix_subst="$withval"
2059 am_cv_python_prefix="$withval"
2060 AC_MSG_CHECKING([for $am_display_PYTHON prefix])
2061 AC_MSG_RESULT([$am_cv_python_prefix])],
2062 [
2063 AC_CACHE_CHECK([for $am_display_PYTHON prefix], [am_cv_python_prefix],
2064 [am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`])
2065
2066 dnl If sys.prefix is a subdir of $prefix, replace the literal value of $prefix
2067 dnl with a variable reference so it can be overridden.
2068 case $am_cv_python_prefix in
2069 $am__usable_prefix*)
2070 am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
2071 am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
2072 ;;
2073 *)
2074 am_python_prefix_subst=$am_cv_python_prefix
2075 ;;
2076 esac
2077 ])
2078 AC_SUBST([PYTHON_PREFIX], [$am_python_prefix_subst])
2079
2080 AC_ARG_WITH([python_exec_prefix],
2081 [AS_HELP_STRING([--with-python_exec_prefix],
2082 [override the default PYTHON_EXEC_PREFIX])],
2083 [ am_python_exec_prefix_subst="$withval"
2084 am_cv_python_exec_prefix="$withval"
2085 AC_MSG_CHECKING([for $am_display_PYTHON exec_prefix])
2086 AC_MSG_RESULT([$am_cv_python_exec_prefix])],
2087 [
2088 dnl --with-python_prefix was given - use its value for python_exec_prefix too
2089 AS_IF([test -n "$with_python_prefix"], [am_python_exec_prefix_subst="$with_python_prefix"
2090 am_cv_python_exec_prefix="$with_python_prefix"
2091 AC_MSG_CHECKING([for $am_display_PYTHON exec_prefix])
2092 AC_MSG_RESULT([$am_cv_python_exec_prefix])],
2093 [
2094 AC_CACHE_CHECK([for $am_display_PYTHON exec_prefix], [am_cv_python_exec_prefix],
2095 [am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`])
2096 dnl If sys.exec_prefix is a subdir of $exec_prefix, replace the
2097 dnl literal value of $exec_prefix with a variable reference so it can
2098 dnl be overridden.
2099 if test "x$exec_prefix" = xNONE
2100 then
2101 am__usable_exec_prefix=$am__usable_prefix
2102 else
2103 am__usable_exec_prefix=$exec_prefix
2104 fi
2105 case $am_cv_python_exec_prefix in
2106 $am__usable_exec_prefix*)
2107 am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
2108 am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
2109 ;;
2110 *)
2111 am_python_exec_prefix_subst=$am_cv_python_exec_prefix
2112 ;;
2113 esac
2114 ])])
2115 AC_SUBST([PYTHON_EXEC_PREFIX], [$am_python_exec_prefix_subst])
20352116
20362117 dnl At times (like when building shared libraries) you may want
20372118 dnl to know which OS platform Python thinks this is.
20692150 dnl Query distutils for this directory.
20702151 AC_CACHE_CHECK([for $am_display_PYTHON script directory],
20712152 [am_cv_python_pythondir],
2072 [if test "x$prefix" = xNONE
2153 [if test "x$am_cv_python_prefix" = x
20732154 then
2074 am_py_prefix=$ac_default_prefix
2155 am_py_prefix=$am__usable_prefix
20752156 else
2076 am_py_prefix=$prefix
2157 am_py_prefix=$am_cv_python_prefix
20772158 fi
20782159 am_cv_python_pythondir=`$PYTHON -c "
20792160 $am_python_setup_sysconfig
20862167 case $am_cv_python_pythondir in
20872168 $am_py_prefix*)
20882169 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
2089 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
2170 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
20902171 ;;
20912172 *)
20922173 case $am_py_prefix in
20932174 /usr|/System*) ;;
20942175 *)
2095 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
2176 am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
20962177 ;;
20972178 esac
20982179 ;;
21112192 dnl Query distutils for this directory.
21122193 AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
21132194 [am_cv_python_pyexecdir],
2114 [if test "x$exec_prefix" = xNONE
2195 [if test "x$am_cv_python_exec_prefix" = x
21152196 then
2116 am_py_exec_prefix=$am_py_prefix
2197 am_py_exec_prefix=$am__usable_exec_prefix
21172198 else
2118 am_py_exec_prefix=$exec_prefix
2199 am_py_exec_prefix=$am_cv_python_exec_prefix
21192200 fi
21202201 am_cv_python_pyexecdir=`$PYTHON -c "
21212202 $am_python_setup_sysconfig
21222203 if can_use_sysconfig:
2123 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
2204 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
21242205 else:
21252206 from distutils import sysconfig
2126 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
2207 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
21272208 sys.stdout.write(sitedir)"`
21282209 case $am_cv_python_pyexecdir in
21292210 $am_py_exec_prefix*)
21302211 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
2131 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
2212 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
21322213 ;;
21332214 *)
21342215 case $am_py_exec_prefix in
21352216 /usr|/System*) ;;
21362217 *)
2137 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
2218 am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
21382219 ;;
21392220 esac
21402221 ;;
21722253 sys.exit(sys.hexversion < minverhex)"
21732254 AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
21742255
2175 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
2256 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
21762257 #
21772258 # This file is free software; the Free Software Foundation
21782259 # gives unlimited permission to copy and/or distribute it,
21912272
21922273 # Check to make sure that the build environment is sane. -*- Autoconf -*-
21932274
2194 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
2275 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
21952276 #
21962277 # This file is free software; the Free Software Foundation
21972278 # gives unlimited permission to copy and/or distribute it,
22722353 rm -f conftest.file
22732354 ])
22742355
2275 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
2356 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
22762357 #
22772358 # This file is free software; the Free Software Foundation
22782359 # gives unlimited permission to copy and/or distribute it,
23322413 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
23332414 ])
23342415
2335 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
2416 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
23362417 #
23372418 # This file is free software; the Free Software Foundation
23382419 # gives unlimited permission to copy and/or distribute it,
23602441 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
23612442 AC_SUBST([INSTALL_STRIP_PROGRAM])])
23622443
2363 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
2444 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
23642445 #
23652446 # This file is free software; the Free Software Foundation
23662447 # gives unlimited permission to copy and/or distribute it,
23792460
23802461 # Check how to create a tarball. -*- Autoconf -*-
23812462
2382 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
2463 # Copyright (C) 2004-2021 Free Software Foundation, Inc.
23832464 #
23842465 # This file is free software; the Free Software Foundation
23852466 # gives unlimited permission to copy and/or distribute it,
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
5252 MINGW*)
5353 file_conv=mingw
5454 ;;
55 CYGWIN*)
55 CYGWIN* | MSYS*)
5656 file_conv=cygwin
5757 ;;
5858 *)
6666 mingw/*)
6767 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
6868 ;;
69 cygwin/*)
69 cygwin/* | msys/*)
7070 file=`cygpath -m "$file" || echo "$file"`
7171 ;;
7272 wine/*)
2727 /* Define to 1 if you have the <inttypes.h> header file. */
2828 #undef HAVE_INTTYPES_H
2929
30 /* Define to 1 if you have the <memory.h> header file. */
31 #undef HAVE_MEMORY_H
32
3330 /* Define to 1 if you have the <stdint.h> header file. */
3431 #undef HAVE_STDINT_H
32
33 /* Define to 1 if you have the <stdio.h> header file. */
34 #undef HAVE_STDIO_H
3535
3636 /* Define to 1 if you have the <stdlib.h> header file. */
3737 #undef HAVE_STDLIB_H
126126 /* Define to the type of arg 5 for `select'. */
127127 #undef SELECT_TYPE_ARG5
128128
129 /* Define to 1 if you have the ANSI C header files. */
129 /* Define to 1 if all of the C90 standard headers exist (not just the ones
130 required in a freestanding environment). This macro is provided for
131 backward compatibility; new code need not use it. */
130132 #undef STDC_HEADERS
131133
132134 /* Define to 1 if strerror_r returns char *. */
+3898
-3355
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for librelp 1.10.0.
2 # Generated by GNU Autoconf 2.71 for librelp 1.10.0.
33 #
44 # Report bugs to <rgerhards@adiscon.com>.
55 #
66 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
8 # Inc.
89 #
910 #
1011 # This configure script is free software; the Free Software Foundation
1516
1617 # Be more Bourne compatible
1718 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 as_nop=:
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
1922 emulate sh
2023 NULLCMD=:
2124 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2225 # is contrary to our usage. Disable this feature.
2326 alias -g '${1+"$@"}'='"$@"'
2427 setopt NO_GLOB_SUBST
25 else
28 else $as_nop
2629 case `(set -o) 2>/dev/null` in #(
2730 *posix*) :
2831 set -o posix ;; #(
3235 fi
3336
3437
38
39 # Reset variables that may have inherited troublesome values from
40 # the environment.
41
42 # IFS needs to be set, to space, tab, and newline, in precisely that order.
43 # (If _AS_PATH_WALK were called with IFS unset, it would have the
44 # side effect of setting IFS to empty, thus disabling word splitting.)
45 # Quoting is to prevent editors from complaining about space-tab.
3546 as_nl='
3647 '
3748 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
49 IFS=" "" $as_nl"
50
51 PS1='$ '
52 PS2='> '
53 PS4='+ '
54
55 # Ensure predictable behavior from utilities with locale-dependent output.
56 LC_ALL=C
57 export LC_ALL
58 LANGUAGE=C
59 export LANGUAGE
60
61 # We cannot yet rely on "unset" to work, but we need these variables
62 # to be unset--not just set to an empty or harmless value--now, to
63 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
64 # also avoids known problems related to "unset" and subshell syntax
65 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
67 do eval test \${$as_var+y} \
68 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
69 done
70
71 # Ensure that fds 0, 1, and 2 are open.
72 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
73 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
74 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7275
7376 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
77 if ${PATH_SEPARATOR+false} :; then
7578 PATH_SEPARATOR=:
7679 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7780 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7982 }
8083 fi
8184
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
8985
9086 # Find who we are. Look in the path if we contain no directory separator.
9187 as_myself=
9591 for as_dir in $PATH
9692 do
9793 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
94 case $as_dir in #(((
95 '') as_dir=./ ;;
96 */) ;;
97 *) as_dir=$as_dir/ ;;
98 esac
99 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
100100 done
101101 IFS=$as_save_IFS
102102
108108 as_myself=$0
109109 fi
110110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112112 exit 1
113113 fi
114114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135115
136116 # Use a proper internal environment variable to ensure we don't fall
137117 # into an infinite loop, continuously re-executing ourselves.
153133 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154134 # Admittedly, this is quite paranoid, since all the known shells bail
155135 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
136 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
137 exit 255
158138 fi
159139 # We don't want this to propagate to other subprocesses.
160140 { _as_can_reexec=; unset _as_can_reexec;}
161141 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 as_bourne_compatible="as_nop=:
143 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
163145 emulate sh
164146 NULLCMD=:
165147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166148 # is contrary to our usage. Disable this feature.
167149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168150 setopt NO_GLOB_SUBST
169 else
151 else \$as_nop
170152 case \`(set -o) 2>/dev/null\` in #(
171153 *posix*) :
172154 set -o posix ;; #(
186168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
172 then :
173
174 else \$as_nop
192175 exitcode=1; echo positional parameters were not saved.
193176 fi
194177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
195180 test -x / || exit 1"
196181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
206191 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207192 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
208193 test \$(( 1 + 1 )) = 2 || exit 1"
209 if (eval "$as_required") 2>/dev/null; then :
194 if (eval "$as_required") 2>/dev/null
195 then :
210196 as_have_required=yes
211 else
197 else $as_nop
212198 as_have_required=no
213199 fi
214 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215
216 else
200 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
201 then :
202
203 else $as_nop
217204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218205 as_found=false
219206 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220207 do
221208 IFS=$as_save_IFS
222 test -z "$as_dir" && as_dir=.
209 case $as_dir in #(((
210 '') as_dir=./ ;;
211 */) ;;
212 *) as_dir=$as_dir/ ;;
213 esac
223214 as_found=:
224215 case $as_dir in #(
225216 /*)
226217 for as_base in sh bash ksh sh5; do
227218 # Try only shells that exist, to save several forks.
228 as_shell=$as_dir/$as_base
219 as_shell=$as_dir$as_base
229220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
230 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
222 then :
231223 CONFIG_SHELL=$as_shell as_have_required=yes
232 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
225 then :
233226 break 2
234227 fi
235228 fi
237230 esac
238231 as_found=false
239232 done
240 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
241 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 IFS=$as_save_IFS
234 if $as_found
235 then :
236
237 else $as_nop
238 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
239 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
240 then :
242241 CONFIG_SHELL=$SHELL as_have_required=yes
243 fi; }
244 IFS=$as_save_IFS
245
246
247 if test "x$CONFIG_SHELL" != x; then :
242 fi
243 fi
244
245
246 if test "x$CONFIG_SHELL" != x
247 then :
248248 export CONFIG_SHELL
249249 # We cannot yet assume a decent shell, so we have to provide a
250250 # neutralization value for shells without unset; and this also
262262 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
263263 # Admittedly, this is quite paranoid, since all the known shells bail
264264 # out after a failed `exec'.
265 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
266266 exit 255
267267 fi
268268
269 if test x$as_have_required = xno; then :
270 $as_echo "$0: This script requires a shell more modern than all"
271 $as_echo "$0: the shells that I found on your system."
272 if test x${ZSH_VERSION+set} = xset ; then
273 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
274 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 if test x$as_have_required = xno
270 then :
271 printf "%s\n" "$0: This script requires a shell more modern than all"
272 printf "%s\n" "$0: the shells that I found on your system."
273 if test ${ZSH_VERSION+y} ; then
274 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
275276 else
276 $as_echo "$0: Please tell bug-autoconf@gnu.org and
277 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
277278 $0: rgerhards@adiscon.com about your system, including any
278279 $0: error possibly output before this message. Then install
279280 $0: a modern shell, or manually run the script under such a
301302 }
302303 as_unset=as_fn_unset
303304
305
304306 # as_fn_set_status STATUS
305307 # -----------------------
306308 # Set $? to STATUS, without forking.
318320 as_fn_set_status $1
319321 exit $1
320322 } # as_fn_exit
323 # as_fn_nop
324 # ---------
325 # Do nothing but, unlike ":", preserve the value of $?.
326 as_fn_nop ()
327 {
328 return $?
329 }
330 as_nop=as_fn_nop
321331
322332 # as_fn_mkdir_p
323333 # -------------
332342 as_dirs=
333343 while :; do
334344 case $as_dir in #(
335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
345 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336346 *) as_qdir=$as_dir;;
337347 esac
338348 as_dirs="'$as_qdir' $as_dirs"
341351 X"$as_dir" : 'X\(//\)[^/]' \| \
342352 X"$as_dir" : 'X\(//\)$' \| \
343353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
354 printf "%s\n" X"$as_dir" |
345355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346356 s//\1/
347357 q
380390 # advantage of any shell optimizations that allow amortized linear growth over
381391 # repeated appends, instead of the typical quadratic growth present in naive
382392 # implementations.
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
393 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
394 then :
384395 eval 'as_fn_append ()
385396 {
386397 eval $1+=\$2
387398 }'
388 else
399 else $as_nop
389400 as_fn_append ()
390401 {
391402 eval $1=\$$1\$2
397408 # Perform arithmetic evaluation on the ARGs, and store the result in the
398409 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399410 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
411 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
412 then :
401413 eval 'as_fn_arith ()
402414 {
403415 as_val=$(( $* ))
404416 }'
405 else
417 else $as_nop
406418 as_fn_arith ()
407419 {
408420 as_val=`expr "$@" || test $? -eq 1`
409421 }
410422 fi # as_fn_arith
411423
424 # as_fn_nop
425 # ---------
426 # Do nothing but, unlike ":", preserve the value of $?.
427 as_fn_nop ()
428 {
429 return $?
430 }
431 as_nop=as_fn_nop
412432
413433 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414434 # ----------------------------------------
420440 as_status=$1; test $as_status -eq 0 && as_status=1
421441 if test "$4"; then
422442 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
424444 fi
425 $as_echo "$as_me: error: $2" >&2
445 printf "%s\n" "$as_me: error: $2" >&2
426446 as_fn_exit $as_status
427447 } # as_fn_error
428448
449469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450470 X"$0" : 'X\(//\)$' \| \
451471 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
452 $as_echo X/"$0" |
472 printf "%s\n" X/"$0" |
453473 sed '/^.*\/\([^/][^/]*\)\/*$/{
454474 s//\1/
455475 q
493513 s/-\n.*//
494514 ' >$as_me.lineno &&
495515 chmod +x "$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
516 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
497517
498518 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499519 # already done that, so ensure we don't try to do so again and fall
507527 exit
508528 }
509529
530
531 # Determine whether it's possible to make 'echo' print without a newline.
532 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
533 # for compatibility with existing Makefiles.
510534 ECHO_C= ECHO_N= ECHO_T=
511535 case `echo -n x` in #(((((
512536 -n*)
519543 *)
520544 ECHO_N='-n';;
521545 esac
546
547 # For backward compatibility with old third-party macros, we provide
548 # the shell variables $as_echo and $as_echo_n. New code should use
549 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
550 as_echo='printf %s\n'
551 as_echo_n='printf %s'
552
522553
523554 rm -f conf$$ conf$$.exe conf$$.file
524555 if test -d conf$$.dir; then
597628 ac_unique_file="src/relp.c"
598629 # Factoring default headers for most tests.
599630 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
631 #include <stddef.h>
632 #ifdef HAVE_STDIO_H
633 # include <stdio.h>
603634 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
635 #ifdef HAVE_STDLIB_H
608636 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 # include <stdlib.h>
613 # endif
614637 #endif
615638 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 # include <memory.h>
618 # endif
619639 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623640 #endif
624641 #ifdef HAVE_INTTYPES_H
625642 # include <inttypes.h>
627644 #ifdef HAVE_STDINT_H
628645 # include <stdint.h>
629646 #endif
647 #ifdef HAVE_STRINGS_H
648 # include <strings.h>
649 #endif
650 #ifdef HAVE_SYS_TYPES_H
651 # include <sys/types.h>
652 #endif
653 #ifdef HAVE_SYS_STAT_H
654 # include <sys/stat.h>
655 #endif
630656 #ifdef HAVE_UNISTD_H
631657 # include <unistd.h>
632658 #endif"
633659
660 ac_header_c_list=
634661 ac_subst_vars='am__EXEEXT_FALSE
635662 am__EXEEXT_TRUE
636663 LTLIBOBJS
655682 PKG_CONFIG_LIBDIR
656683 PKG_CONFIG_PATH
657684 PKG_CONFIG
658 CPP
659685 LT_SYS_LIBRARY_PATH
660686 OTOOL64
661687 OTOOL
726752 AM_DEFAULT_VERBOSITY
727753 AM_DEFAULT_V
728754 AM_V
755 CSCOPE
756 ETAGS
757 CTAGS
729758 am__untar
730759 am__tar
731760 AMTAR
793822 ac_user_opts='
794823 enable_option_checking
795824 enable_silent_rules
825 with_python_prefix
826 with_python_exec_prefix
796827 enable_dependency_tracking
797828 enable_shared
798829 enable_static
819850 LIBS
820851 CPPFLAGS
821852 LT_SYS_LIBRARY_PATH
822 CPP
823853 PKG_CONFIG
824854 PKG_CONFIG_PATH
825855 PKG_CONFIG_LIBDIR
895925 *) ac_optarg=yes ;;
896926 esac
897927
898 # Accept the important Cygnus configure options, so we can diagnose typos.
899
900928 case $ac_dashdash$ac_option in
901929 --)
902930 ac_dashdash=yes ;;
937965 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938966 # Reject names that are not valid shell variable names.
939967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 as_fn_error $? "invalid feature name: $ac_useropt"
968 as_fn_error $? "invalid feature name: \`$ac_useropt'"
941969 ac_useropt_orig=$ac_useropt
942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
943971 case $ac_user_opts in
944972 *"
945973 "enable_$ac_useropt"
963991 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964992 # Reject names that are not valid shell variable names.
965993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 as_fn_error $? "invalid feature name: $ac_useropt"
994 as_fn_error $? "invalid feature name: \`$ac_useropt'"
967995 ac_useropt_orig=$ac_useropt
968 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
969997 case $ac_user_opts in
970998 *"
971999 "enable_$ac_useropt"
11761204 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
11771205 # Reject names that are not valid shell variable names.
11781206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1207 as_fn_error $? "invalid package name: \`$ac_useropt'"
11801208 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11821210 case $ac_user_opts in
11831211 *"
11841212 "with_$ac_useropt"
11921220 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11931221 # Reject names that are not valid shell variable names.
11941222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1223 as_fn_error $? "invalid package name: \`$ac_useropt'"
11961224 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11981226 case $ac_user_opts in
11991227 *"
12001228 "with_$ac_useropt"
12381266
12391267 *)
12401268 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1269 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
12421270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1271 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
12441272 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
12451273 ;;
12461274
12561284 case $enable_option_checking in
12571285 no) ;;
12581286 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1287 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
12601288 esac
12611289 fi
12621290
13201348 X"$as_myself" : 'X\(//\)[^/]' \| \
13211349 X"$as_myself" : 'X\(//\)$' \| \
13221350 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1351 printf "%s\n" X"$as_myself" |
13241352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13251353 s//\1/
13261354 q
14781506 Optional Packages:
14791507 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
14801508 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1509 --with-python_prefix override the default PYTHON_PREFIX
1510 --with-python_exec_prefix
1511 override the default PYTHON_EXEC_PREFIX
14811512 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
14821513 both]
14831514 --with-aix-soname=aix|svr4|both
14981529 you have headers in a nonstandard directory <include dir>
14991530 LT_SYS_LIBRARY_PATH
15001531 User-defined run-time library search path.
1501 CPP C preprocessor
15021532 PKG_CONFIG path to pkg-config utility
15031533 PKG_CONFIG_PATH
15041534 directories to add to pkg-config's search path
15311561 case "$ac_dir" in
15321562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15331563 *)
1534 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1564 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
15351565 # A ".." for each directory in $ac_dir_suffix.
1536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1566 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15371567 case $ac_top_builddir_sub in
15381568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15391569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15611591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15621592
15631593 cd "$ac_dir" || { ac_status=$?; continue; }
1564 # Check for guested configure.
1594 # Check for configure.gnu first; this name is used for a wrapper for
1595 # Metaconfig's "Configure" on case-insensitive file systems.
15651596 if test -f "$ac_srcdir/configure.gnu"; then
15661597 echo &&
15671598 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
15691600 echo &&
15701601 $SHELL "$ac_srcdir/configure" --help=recursive
15711602 else
1572 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1603 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
15731604 fi || ac_status=$?
15741605 cd "$ac_pwd" || { ac_status=$?; break; }
15751606 done
15791610 if $ac_init_version; then
15801611 cat <<\_ACEOF
15811612 librelp configure 1.10.0
1582 generated by GNU Autoconf 2.69
1583
1584 Copyright (C) 2012 Free Software Foundation, Inc.
1613 generated by GNU Autoconf 2.71
1614
1615 Copyright (C) 2021 Free Software Foundation, Inc.
15851616 This configure script is free software; the Free Software Foundation
15861617 gives unlimited permission to copy, distribute and modify it.
15871618 _ACEOF
15981629 ac_fn_c_try_compile ()
15991630 {
16001631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext
1632 rm -f conftest.$ac_objext conftest.beam
16021633 if { { ac_try="$ac_compile"
16031634 case "(($ac_try" in
16041635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16051636 *) ac_try_echo=$ac_try;;
16061637 esac
16071638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1639 printf "%s\n" "$ac_try_echo"; } >&5
16091640 (eval "$ac_compile") 2>conftest.err
16101641 ac_status=$?
16111642 if test -s conftest.err; then
16131644 cat conftest.er1 >&5
16141645 mv -f conftest.er1 conftest.err
16151646 fi
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16171648 test $ac_status = 0; } && {
16181649 test -z "$ac_c_werror_flag" ||
16191650 test ! -s conftest.err
1620 } && test -s conftest.$ac_objext; then :
1651 } && test -s conftest.$ac_objext
1652 then :
16211653 ac_retval=0
1622 else
1623 $as_echo "$as_me: failed program was:" >&5
1654 else $as_nop
1655 printf "%s\n" "$as_me: failed program was:" >&5
16241656 sed 's/^/| /' conftest.$ac_ext >&5
16251657
16261658 ac_retval=1
16361668 ac_fn_c_try_link ()
16371669 {
16381670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 rm -f conftest.$ac_objext conftest$ac_exeext
1671 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
16401672 if { { ac_try="$ac_link"
16411673 case "(($ac_try" in
16421674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16431675 *) ac_try_echo=$ac_try;;
16441676 esac
16451677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1678 printf "%s\n" "$ac_try_echo"; } >&5
16471679 (eval "$ac_link") 2>conftest.err
16481680 ac_status=$?
16491681 if test -s conftest.err; then
16511683 cat conftest.er1 >&5
16521684 mv -f conftest.er1 conftest.err
16531685 fi
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16551687 test $ac_status = 0; } && {
16561688 test -z "$ac_c_werror_flag" ||
16571689 test ! -s conftest.err
16581690 } && test -s conftest$ac_exeext && {
16591691 test "$cross_compiling" = yes ||
16601692 test -x conftest$ac_exeext
1661 }; then :
1693 }
1694 then :
16621695 ac_retval=0
1663 else
1664 $as_echo "$as_me: failed program was:" >&5
1696 else $as_nop
1697 printf "%s\n" "$as_me: failed program was:" >&5
16651698 sed 's/^/| /' conftest.$ac_ext >&5
16661699
16671700 ac_retval=1
16831716 ac_fn_c_check_header_compile ()
16841717 {
16851718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if eval \${$3+:} false; then :
1689 $as_echo_n "(cached) " >&6
1690 else
1719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720 printf %s "checking for $2... " >&6; }
1721 if eval test \${$3+y}
1722 then :
1723 printf %s "(cached) " >&6
1724 else $as_nop
16911725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921726 /* end confdefs.h. */
16931727 $4
16941728 #include <$2>
16951729 _ACEOF
1696 if ac_fn_c_try_compile "$LINENO"; then :
1730 if ac_fn_c_try_compile "$LINENO"
1731 then :
16971732 eval "$3=yes"
1698 else
1733 else $as_nop
16991734 eval "$3=no"
17001735 fi
1701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17021737 fi
17031738 eval ac_res=\$$3
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705 $as_echo "$ac_res" >&6; }
1739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 printf "%s\n" "$ac_res" >&6; }
17061741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17071742
17081743 } # ac_fn_c_check_header_compile
1709
1710 # ac_fn_c_try_cpp LINENO
1711 # ----------------------
1712 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_cpp ()
1714 {
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 if { { ac_try="$ac_cpp conftest.$ac_ext"
1717 case "(($ac_try" in
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1720 esac
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1724 ac_status=$?
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1729 fi
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } > conftest.i && {
1732 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 }; then :
1735 ac_retval=0
1736 else
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1739
1740 ac_retval=1
1741 fi
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 as_fn_set_status $ac_retval
1744
1745 } # ac_fn_c_try_cpp
1746
1747 # ac_fn_c_try_run LINENO
1748 # ----------------------
1749 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1750 # that executables *can* be run.
1751 ac_fn_c_try_run ()
1752 {
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 if { { ac_try="$ac_link"
1755 case "(($ac_try" in
1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1758 esac
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_link") 2>&5
1762 ac_status=$?
1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1765 { { case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_try") 2>&5
1772 ac_status=$?
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; }; }; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: program exited with status $ac_status" >&5
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781 ac_retval=$ac_status
1782 fi
1783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785 as_fn_set_status $ac_retval
1786
1787 } # ac_fn_c_try_run
17881744
17891745 # ac_fn_c_check_func LINENO FUNC VAR
17901746 # ----------------------------------
17921748 ac_fn_c_check_func ()
17931749 {
17941750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \${$3+:} false; then :
1798 $as_echo_n "(cached) " >&6
1799 else
1751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 printf %s "checking for $2... " >&6; }
1753 if eval test \${$3+y}
1754 then :
1755 printf %s "(cached) " >&6
1756 else $as_nop
18001757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011758 /* end confdefs.h. */
18021759 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
18041761 #define $2 innocuous_$2
18051762
18061763 /* System header to define __stub macros and hopefully few prototypes,
1807 which can conflict with char $2 (); below.
1808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1809 <limits.h> exists even on freestanding compilers. */
1810
1811 #ifdef __STDC__
1812 # include <limits.h>
1813 #else
1814 # include <assert.h>
1815 #endif
1816
1764 which can conflict with char $2 (); below. */
1765
1766 #include <limits.h>
18171767 #undef $2
18181768
18191769 /* Override any GCC internal prototype to avoid an error.
18311781 #endif
18321782
18331783 int
1834 main ()
1784 main (void)
18351785 {
18361786 return $2 ();
18371787 ;
18381788 return 0;
18391789 }
18401790 _ACEOF
1841 if ac_fn_c_try_link "$LINENO"; then :
1791 if ac_fn_c_try_link "$LINENO"
1792 then :
18421793 eval "$3=yes"
1843 else
1794 else $as_nop
18441795 eval "$3=no"
18451796 fi
1846 rm -f core conftest.err conftest.$ac_objext \
1797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18471798 conftest$ac_exeext conftest.$ac_ext
18481799 fi
18491800 eval ac_res=\$$3
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 printf "%s\n" "$ac_res" >&6; }
18521803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18531804
18541805 } # ac_fn_c_check_func
1855
1856 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1857 # -------------------------------------------------------
1858 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1859 # the include files in INCLUDES and setting the cache variable VAR
1860 # accordingly.
1861 ac_fn_c_check_header_mongrel ()
1862 {
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if eval \${$3+:} false; then :
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \${$3+:} false; then :
1868 $as_echo_n "(cached) " >&6
1869 fi
1870 eval ac_res=\$$3
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 else
1874 # Is the header compilable?
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1876 $as_echo_n "checking $2 usability... " >&6; }
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1879 $4
1880 #include <$2>
1881 _ACEOF
1882 if ac_fn_c_try_compile "$LINENO"; then :
1883 ac_header_compiler=yes
1884 else
1885 ac_header_compiler=no
1886 fi
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1889 $as_echo "$ac_header_compiler" >&6; }
1890
1891 # Is the header present?
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1893 $as_echo_n "checking $2 presence... " >&6; }
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 #include <$2>
1897 _ACEOF
1898 if ac_fn_c_try_cpp "$LINENO"; then :
1899 ac_header_preproc=yes
1900 else
1901 ac_header_preproc=no
1902 fi
1903 rm -f conftest.err conftest.i conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1905 $as_echo "$ac_header_preproc" >&6; }
1906
1907 # So? What about this header?
1908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1909 yes:no: )
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1911 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1913 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1914 ;;
1915 no:yes:* )
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1917 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1919 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1921 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1923 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1925 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1926 ( $as_echo "## ------------------------------------ ##
1927 ## Report this to rgerhards@adiscon.com ##
1928 ## ------------------------------------ ##"
1929 ) | sed "s/^/$as_me: WARNING: /" >&2
1930 ;;
1931 esac
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if eval \${$3+:} false; then :
1935 $as_echo_n "(cached) " >&6
1936 else
1937 eval "$3=\$ac_header_compiler"
1938 fi
1939 eval ac_res=\$$3
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 fi
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944
1945 } # ac_fn_c_check_header_mongrel
19461806
19471807 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
19481808 # -------------------------------------------
19511811 ac_fn_c_check_type ()
19521812 {
19531813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if eval \${$3+:} false; then :
1957 $as_echo_n "(cached) " >&6
1958 else
1814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 printf %s "checking for $2... " >&6; }
1816 if eval test \${$3+y}
1817 then :
1818 printf %s "(cached) " >&6
1819 else $as_nop
19591820 eval "$3=no"
19601821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611822 /* end confdefs.h. */
19621823 $4
19631824 int
1964 main ()
1825 main (void)
19651826 {
19661827 if (sizeof ($2))
19671828 return 0;
19691830 return 0;
19701831 }
19711832 _ACEOF
1972 if ac_fn_c_try_compile "$LINENO"; then :
1833 if ac_fn_c_try_compile "$LINENO"
1834 then :
19731835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741836 /* end confdefs.h. */
19751837 $4
19761838 int
1977 main ()
1839 main (void)
19781840 {
19791841 if (sizeof (($2)))
19801842 return 0;
19821844 return 0;
19831845 }
19841846 _ACEOF
1985 if ac_fn_c_try_compile "$LINENO"; then :
1986
1987 else
1847 if ac_fn_c_try_compile "$LINENO"
1848 then :
1849
1850 else $as_nop
19881851 eval "$3=yes"
19891852 fi
1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 fi
1992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1854 fi
1855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19931856 fi
19941857 eval ac_res=\$$3
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 printf "%s\n" "$ac_res" >&6; }
19971860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
19981861
19991862 } # ac_fn_c_check_type
20051868 ac_fn_c_check_member ()
20061869 {
20071870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2009 $as_echo_n "checking for $2.$3... " >&6; }
2010 if eval \${$4+:} false; then :
2011 $as_echo_n "(cached) " >&6
2012 else
1871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1872 printf %s "checking for $2.$3... " >&6; }
1873 if eval test \${$4+y}
1874 then :
1875 printf %s "(cached) " >&6
1876 else $as_nop
20131877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141878 /* end confdefs.h. */
20151879 $5
20161880 int
2017 main ()
1881 main (void)
20181882 {
20191883 static $2 ac_aggr;
20201884 if (ac_aggr.$3)
20231887 return 0;
20241888 }
20251889 _ACEOF
2026 if ac_fn_c_try_compile "$LINENO"; then :
1890 if ac_fn_c_try_compile "$LINENO"
1891 then :
20271892 eval "$4=yes"
2028 else
1893 else $as_nop
20291894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20301895 /* end confdefs.h. */
20311896 $5
20321897 int
2033 main ()
1898 main (void)
20341899 {
20351900 static $2 ac_aggr;
20361901 if (sizeof ac_aggr.$3)
20391904 return 0;
20401905 }
20411906 _ACEOF
2042 if ac_fn_c_try_compile "$LINENO"; then :
1907 if ac_fn_c_try_compile "$LINENO"
1908 then :
20431909 eval "$4=yes"
2044 else
1910 else $as_nop
20451911 eval "$4=no"
20461912 fi
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 fi
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1914 fi
1915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20501916 fi
20511917 eval ac_res=\$$4
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
1918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 printf "%s\n" "$ac_res" >&6; }
20541920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
20551921
20561922 } # ac_fn_c_check_member
20571923
2058 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2059 # ---------------------------------------------
1924 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1925 # ------------------------------------------------------------------
20601926 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2061 # accordingly.
2062 ac_fn_c_check_decl ()
1927 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1928 ac_fn_check_decl ()
20631929 {
20641930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20651931 as_decl_name=`echo $2|sed 's/ *(.*//'`
1932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1933 printf %s "checking whether $as_decl_name is declared... " >&6; }
1934 if eval test \${$3+y}
1935 then :
1936 printf %s "(cached) " >&6
1937 else $as_nop
20661938 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2068 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2069 if eval \${$3+:} false; then :
2070 $as_echo_n "(cached) " >&6
2071 else
1939 eval ac_save_FLAGS=\$$6
1940 as_fn_append $6 " $5"
20721941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20731942 /* end confdefs.h. */
20741943 $4
20751944 int
2076 main ()
1945 main (void)
20771946 {
20781947 #ifndef $as_decl_name
20791948 #ifdef __cplusplus
20871956 return 0;
20881957 }
20891958 _ACEOF
2090 if ac_fn_c_try_compile "$LINENO"; then :
1959 if ac_fn_c_try_compile "$LINENO"
1960 then :
20911961 eval "$3=yes"
2092 else
1962 else $as_nop
20931963 eval "$3=no"
20941964 fi
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1966 eval $6=\$ac_save_FLAGS
1967
20961968 fi
20971969 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
1970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 printf "%s\n" "$ac_res" >&6; }
21001972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
21011973
2102 } # ac_fn_c_check_decl
1974 } # ac_fn_check_decl
1975 ac_configure_args_raw=
1976 for ac_arg
1977 do
1978 case $ac_arg in
1979 *\'*)
1980 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1981 esac
1982 as_fn_append ac_configure_args_raw " '$ac_arg'"
1983 done
1984
1985 case $ac_configure_args_raw in
1986 *$as_nl*)
1987 ac_safe_unquote= ;;
1988 *)
1989 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1990 ac_unsafe_a="$ac_unsafe_z#~"
1991 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1992 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1993 esac
1994
21031995 cat >config.log <<_ACEOF
21041996 This file contains any messages produced by compilers while
21051997 running configure, to aid debugging if configure makes a mistake.
21061998
21071999 It was created by librelp $as_me 1.10.0, which was
2108 generated by GNU Autoconf 2.69. Invocation command line was
2109
2110 $ $0 $@
2000 generated by GNU Autoconf 2.71. Invocation command line was
2001
2002 $ $0$ac_configure_args_raw
21112003
21122004 _ACEOF
21132005 exec 5>>config.log
21402032 for as_dir in $PATH
21412033 do
21422034 IFS=$as_save_IFS
2143 test -z "$as_dir" && as_dir=.
2144 $as_echo "PATH: $as_dir"
2035 case $as_dir in #(((
2036 '') as_dir=./ ;;
2037 */) ;;
2038 *) as_dir=$as_dir/ ;;
2039 esac
2040 printf "%s\n" "PATH: $as_dir"
21452041 done
21462042 IFS=$as_save_IFS
21472043
21762072 | -silent | --silent | --silen | --sile | --sil)
21772073 continue ;;
21782074 *\'*)
2179 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2075 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
21802076 esac
21812077 case $ac_pass in
21822078 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
22112107 # WARNING: Use '\'' to represent an apostrophe within the trap.
22122108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
22132109 trap 'exit_status=$?
2110 # Sanitize IFS.
2111 IFS=" "" $as_nl"
22142112 # Save into config.log some information that might help in debugging.
22152113 {
22162114 echo
22172115
2218 $as_echo "## ---------------- ##
2116 printf "%s\n" "## ---------------- ##
22192117 ## Cache variables. ##
22202118 ## ---------------- ##"
22212119 echo
22262124 case $ac_val in #(
22272125 *${as_nl}*)
22282126 case $ac_var in #(
2229 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2230 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2127 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2128 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22312129 esac
22322130 case $ac_var in #(
22332131 _ | IFS | as_nl) ;; #(
22512149 )
22522150 echo
22532151
2254 $as_echo "## ----------------- ##
2152 printf "%s\n" "## ----------------- ##
22552153 ## Output variables. ##
22562154 ## ----------------- ##"
22572155 echo
22592157 do
22602158 eval ac_val=\$$ac_var
22612159 case $ac_val in
2262 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2160 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22632161 esac
2264 $as_echo "$ac_var='\''$ac_val'\''"
2162 printf "%s\n" "$ac_var='\''$ac_val'\''"
22652163 done | sort
22662164 echo
22672165
22682166 if test -n "$ac_subst_files"; then
2269 $as_echo "## ------------------- ##
2167 printf "%s\n" "## ------------------- ##
22702168 ## File substitutions. ##
22712169 ## ------------------- ##"
22722170 echo
22742172 do
22752173 eval ac_val=\$$ac_var
22762174 case $ac_val in
2277 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2175 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
22782176 esac
2279 $as_echo "$ac_var='\''$ac_val'\''"
2177 printf "%s\n" "$ac_var='\''$ac_val'\''"
22802178 done | sort
22812179 echo
22822180 fi
22832181
22842182 if test -s confdefs.h; then
2285 $as_echo "## ----------- ##
2183 printf "%s\n" "## ----------- ##
22862184 ## confdefs.h. ##
22872185 ## ----------- ##"
22882186 echo
22902188 echo
22912189 fi
22922190 test "$ac_signal" != 0 &&
2293 $as_echo "$as_me: caught signal $ac_signal"
2294 $as_echo "$as_me: exit $exit_status"
2191 printf "%s\n" "$as_me: caught signal $ac_signal"
2192 printf "%s\n" "$as_me: exit $exit_status"
22952193 } >&5
22962194 rm -f core *.core core.conftest.* &&
22972195 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
23052203 # confdefs.h avoids OS command line length limits that DEFS can exceed.
23062204 rm -f -r conftest* confdefs.h
23072205
2308 $as_echo "/* confdefs.h */" > confdefs.h
2206 printf "%s\n" "/* confdefs.h */" > confdefs.h
23092207
23102208 # Predefined preprocessor variables.
23112209
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE_NAME "$PACKAGE_NAME"
2314 _ACEOF
2315
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2318 _ACEOF
2319
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2322 _ACEOF
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_STRING "$PACKAGE_STRING"
2326 _ACEOF
2327
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2330 _ACEOF
2331
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_URL "$PACKAGE_URL"
2334 _ACEOF
2210 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2211
2212 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2213
2214 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2215
2216 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2217
2218 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2219
2220 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
23352221
23362222
23372223 # Let the site file select an alternate cache file if it wants to.
23382224 # Prefer an explicitly selected file to automatically selected ones.
2339 ac_site_file1=NONE
2340 ac_site_file2=NONE
23412225 if test -n "$CONFIG_SITE"; then
2342 # We do not want a PATH search for config.site.
2343 case $CONFIG_SITE in #((
2344 -*) ac_site_file1=./$CONFIG_SITE;;
2345 */*) ac_site_file1=$CONFIG_SITE;;
2346 *) ac_site_file1=./$CONFIG_SITE;;
2347 esac
2226 ac_site_files="$CONFIG_SITE"
23482227 elif test "x$prefix" != xNONE; then
2349 ac_site_file1=$prefix/share/config.site
2350 ac_site_file2=$prefix/etc/config.site
2228 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
23512229 else
2352 ac_site_file1=$ac_default_prefix/share/config.site
2353 ac_site_file2=$ac_default_prefix/etc/config.site
2354 fi
2355 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2230 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2231 fi
2232
2233 for ac_site_file in $ac_site_files
23562234 do
2357 test "x$ac_site_file" = xNONE && continue
2358 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2360 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2235 case $ac_site_file in #(
2236 */*) :
2237 ;; #(
2238 *) :
2239 ac_site_file=./$ac_site_file ;;
2240 esac
2241 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2243 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
23612244 sed 's/^/| /' "$ac_site_file" >&5
23622245 . "$ac_site_file" \
2363 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2247 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
23652248 as_fn_error $? "failed to load site script $ac_site_file
23662249 See \`config.log' for more details" "$LINENO" 5; }
23672250 fi
23712254 # Some versions of bash will fail to source /dev/null (special files
23722255 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
23732256 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2375 $as_echo "$as_me: loading cache $cache_file" >&6;}
2257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2258 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
23762259 case $cache_file in
23772260 [\\/]* | ?:[\\/]* ) . "$cache_file";;
23782261 *) . "./$cache_file";;
23792262 esac
23802263 fi
23812264 else
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2383 $as_echo "$as_me: creating cache $cache_file" >&6;}
2265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2266 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
23842267 >$cache_file
2268 fi
2269
2270 # Test code for whether the C compiler supports C89 (global declarations)
2271 ac_c_conftest_c89_globals='
2272 /* Does the compiler advertise C89 conformance?
2273 Do not test the value of __STDC__, because some compilers set it to 0
2274 while being otherwise adequately conformant. */
2275 #if !defined __STDC__
2276 # error "Compiler does not advertise C89 conformance"
2277 #endif
2278
2279 #include <stddef.h>
2280 #include <stdarg.h>
2281 struct stat;
2282 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2283 struct buf { int x; };
2284 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2285 static char *e (p, i)
2286 char **p;
2287 int i;
2288 {
2289 return p[i];
2290 }
2291 static char *f (char * (*g) (char **, int), char **p, ...)
2292 {
2293 char *s;
2294 va_list v;
2295 va_start (v,p);
2296 s = g (p, va_arg (v,int));
2297 va_end (v);
2298 return s;
2299 }
2300
2301 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2302 function prototypes and stuff, but not \xHH hex character constants.
2303 These do not provoke an error unfortunately, instead are silently treated
2304 as an "x". The following induces an error, until -std is added to get
2305 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2306 array size at least. It is necessary to write \x00 == 0 to get something
2307 that is true only with -std. */
2308 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2309
2310 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2311 inside strings and character constants. */
2312 #define FOO(x) '\''x'\''
2313 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2314
2315 int test (int i, double x);
2316 struct s1 {int (*f) (int a);};
2317 struct s2 {int (*f) (double a);};
2318 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2319 int, int);'
2320
2321 # Test code for whether the C compiler supports C89 (body of main).
2322 ac_c_conftest_c89_main='
2323 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2324 '
2325
2326 # Test code for whether the C compiler supports C99 (global declarations)
2327 ac_c_conftest_c99_globals='
2328 // Does the compiler advertise C99 conformance?
2329 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2330 # error "Compiler does not advertise C99 conformance"
2331 #endif
2332
2333 #include <stdbool.h>
2334 extern int puts (const char *);
2335 extern int printf (const char *, ...);
2336 extern int dprintf (int, const char *, ...);
2337 extern void *malloc (size_t);
2338
2339 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2340 // dprintf is used instead of fprintf to avoid needing to declare
2341 // FILE and stderr.
2342 #define debug(...) dprintf (2, __VA_ARGS__)
2343 #define showlist(...) puts (#__VA_ARGS__)
2344 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2345 static void
2346 test_varargs_macros (void)
2347 {
2348 int x = 1234;
2349 int y = 5678;
2350 debug ("Flag");
2351 debug ("X = %d\n", x);
2352 showlist (The first, second, and third items.);
2353 report (x>y, "x is %d but y is %d", x, y);
2354 }
2355
2356 // Check long long types.
2357 #define BIG64 18446744073709551615ull
2358 #define BIG32 4294967295ul
2359 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2360 #if !BIG_OK
2361 #error "your preprocessor is broken"
2362 #endif
2363 #if BIG_OK
2364 #else
2365 #error "your preprocessor is broken"
2366 #endif
2367 static long long int bignum = -9223372036854775807LL;
2368 static unsigned long long int ubignum = BIG64;
2369
2370 struct incomplete_array
2371 {
2372 int datasize;
2373 double data[];
2374 };
2375
2376 struct named_init {
2377 int number;
2378 const wchar_t *name;
2379 double average;
2380 };
2381
2382 typedef const char *ccp;
2383
2384 static inline int
2385 test_restrict (ccp restrict text)
2386 {
2387 // See if C++-style comments work.
2388 // Iterate through items via the restricted pointer.
2389 // Also check for declarations in for loops.
2390 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2391 continue;
2392 return 0;
2393 }
2394
2395 // Check varargs and va_copy.
2396 static bool
2397 test_varargs (const char *format, ...)
2398 {
2399 va_list args;
2400 va_start (args, format);
2401 va_list args_copy;
2402 va_copy (args_copy, args);
2403
2404 const char *str = "";
2405 int number = 0;
2406 float fnumber = 0;
2407
2408 while (*format)
2409 {
2410 switch (*format++)
2411 {
2412 case '\''s'\'': // string
2413 str = va_arg (args_copy, const char *);
2414 break;
2415 case '\''d'\'': // int
2416 number = va_arg (args_copy, int);
2417 break;
2418 case '\''f'\'': // float
2419 fnumber = va_arg (args_copy, double);
2420 break;
2421 default:
2422 break;
2423 }
2424 }
2425 va_end (args_copy);
2426 va_end (args);
2427
2428 return *str && number && fnumber;
2429 }
2430 '
2431
2432 # Test code for whether the C compiler supports C99 (body of main).
2433 ac_c_conftest_c99_main='
2434 // Check bool.
2435 _Bool success = false;
2436 success |= (argc != 0);
2437
2438 // Check restrict.
2439 if (test_restrict ("String literal") == 0)
2440 success = true;
2441 char *restrict newvar = "Another string";
2442
2443 // Check varargs.
2444 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2445 test_varargs_macros ();
2446
2447 // Check flexible array members.
2448 struct incomplete_array *ia =
2449 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2450 ia->datasize = 10;
2451 for (int i = 0; i < ia->datasize; ++i)
2452 ia->data[i] = i * 1.234;
2453
2454 // Check named initializers.
2455 struct named_init ni = {
2456 .number = 34,
2457 .name = L"Test wide string",
2458 .average = 543.34343,
2459 };
2460
2461 ni.number = 58;
2462
2463 int dynamic_array[ni.number];
2464 dynamic_array[0] = argv[0][0];
2465 dynamic_array[ni.number - 1] = 543;
2466
2467 // work around unused variable warnings
2468 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2469 || dynamic_array[ni.number - 1] != 543);
2470 '
2471
2472 # Test code for whether the C compiler supports C11 (global declarations)
2473 ac_c_conftest_c11_globals='
2474 // Does the compiler advertise C11 conformance?
2475 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2476 # error "Compiler does not advertise C11 conformance"
2477 #endif
2478
2479 // Check _Alignas.
2480 char _Alignas (double) aligned_as_double;
2481 char _Alignas (0) no_special_alignment;
2482 extern char aligned_as_int;
2483 char _Alignas (0) _Alignas (int) aligned_as_int;
2484
2485 // Check _Alignof.
2486 enum
2487 {
2488 int_alignment = _Alignof (int),
2489 int_array_alignment = _Alignof (int[100]),
2490 char_alignment = _Alignof (char)
2491 };
2492 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2493
2494 // Check _Noreturn.
2495 int _Noreturn does_not_return (void) { for (;;) continue; }
2496
2497 // Check _Static_assert.
2498 struct test_static_assert
2499 {
2500 int x;
2501 _Static_assert (sizeof (int) <= sizeof (long int),
2502 "_Static_assert does not work in struct");
2503 long int y;
2504 };
2505
2506 // Check UTF-8 literals.
2507 #define u8 syntax error!
2508 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2509
2510 // Check duplicate typedefs.
2511 typedef long *long_ptr;
2512 typedef long int *long_ptr;
2513 typedef long_ptr long_ptr;
2514
2515 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2516 struct anonymous
2517 {
2518 union {
2519 struct { int i; int j; };
2520 struct { int k; long int l; } w;
2521 };
2522 int m;
2523 } v1;
2524 '
2525
2526 # Test code for whether the C compiler supports C11 (body of main).
2527 ac_c_conftest_c11_main='
2528 _Static_assert ((offsetof (struct anonymous, i)
2529 == offsetof (struct anonymous, w.k)),
2530 "Anonymous union alignment botch");
2531 v1.i = 2;
2532 v1.w.k = 5;
2533 ok |= v1.i != 5;
2534 '
2535
2536 # Test code for whether the C compiler supports C11 (complete).
2537 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2538 ${ac_c_conftest_c99_globals}
2539 ${ac_c_conftest_c11_globals}
2540
2541 int
2542 main (int argc, char **argv)
2543 {
2544 int ok = 0;
2545 ${ac_c_conftest_c89_main}
2546 ${ac_c_conftest_c99_main}
2547 ${ac_c_conftest_c11_main}
2548 return ok;
2549 }
2550 "
2551
2552 # Test code for whether the C compiler supports C99 (complete).
2553 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2554 ${ac_c_conftest_c99_globals}
2555
2556 int
2557 main (int argc, char **argv)
2558 {
2559 int ok = 0;
2560 ${ac_c_conftest_c89_main}
2561 ${ac_c_conftest_c99_main}
2562 return ok;
2563 }
2564 "
2565
2566 # Test code for whether the C compiler supports C89 (complete).
2567 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2568
2569 int
2570 main (int argc, char **argv)
2571 {
2572 int ok = 0;
2573 ${ac_c_conftest_c89_main}
2574 return ok;
2575 }
2576 "
2577
2578 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2579 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2580 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2581 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2582 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2583 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2584 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2585 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2586 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2587 as_fn_append ac_header_c_list " sys/select.h sys_select_h HAVE_SYS_SELECT_H"
2588 as_fn_append ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H"
2589
2590 # Auxiliary files required by this configure script.
2591 ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
2592
2593 # Locations in which to look for auxiliary files.
2594 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2595
2596 # Search for a directory containing all of the required auxiliary files,
2597 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2598 # If we don't find one directory that contains all the files we need,
2599 # we report the set of missing files from the *first* directory in
2600 # $ac_aux_dir_candidates and give up.
2601 ac_missing_aux_files=""
2602 ac_first_candidate=:
2603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 as_found=false
2606 for as_dir in $ac_aux_dir_candidates
2607 do
2608 IFS=$as_save_IFS
2609 case $as_dir in #(((
2610 '') as_dir=./ ;;
2611 */) ;;
2612 *) as_dir=$as_dir/ ;;
2613 esac
2614 as_found=:
2615
2616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2617 ac_aux_dir_found=yes
2618 ac_install_sh=
2619 for ac_aux in $ac_aux_files
2620 do
2621 # As a special case, if "install-sh" is required, that requirement
2622 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2623 # and $ac_install_sh is set appropriately for whichever one is found.
2624 if test x"$ac_aux" = x"install-sh"
2625 then
2626 if test -f "${as_dir}install-sh"; then
2627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2628 ac_install_sh="${as_dir}install-sh -c"
2629 elif test -f "${as_dir}install.sh"; then
2630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2631 ac_install_sh="${as_dir}install.sh -c"
2632 elif test -f "${as_dir}shtool"; then
2633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2634 ac_install_sh="${as_dir}shtool install -c"
2635 else
2636 ac_aux_dir_found=no
2637 if $ac_first_candidate; then
2638 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2639 else
2640 break
2641 fi
2642 fi
2643 else
2644 if test -f "${as_dir}${ac_aux}"; then
2645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2646 else
2647 ac_aux_dir_found=no
2648 if $ac_first_candidate; then
2649 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2650 else
2651 break
2652 fi
2653 fi
2654 fi
2655 done
2656 if test "$ac_aux_dir_found" = yes; then
2657 ac_aux_dir="$as_dir"
2658 break
2659 fi
2660 ac_first_candidate=false
2661
2662 as_found=false
2663 done
2664 IFS=$as_save_IFS
2665 if $as_found
2666 then :
2667
2668 else $as_nop
2669 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2670 fi
2671
2672
2673 # These three variables are undocumented and unsupported,
2674 # and are intended to be withdrawn in a future Autoconf release.
2675 # They can cause serious problems if a builder's source tree is in a directory
2676 # whose full name contains unusual characters.
2677 if test -f "${ac_aux_dir}config.guess"; then
2678 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2679 fi
2680 if test -f "${ac_aux_dir}config.sub"; then
2681 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2682 fi
2683 if test -f "$ac_aux_dir/configure"; then
2684 ac_configure="$SHELL ${ac_aux_dir}configure"
23852685 fi
23862686
23872687 # Check that the precious variables saved in the cache have kept the same
23942694 eval ac_new_val=\$ac_env_${ac_var}_value
23952695 case $ac_old_set,$ac_new_set in
23962696 set,)
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2398 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2698 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
23992699 ac_cache_corrupted=: ;;
24002700 ,set)
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2402 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2702 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
24032703 ac_cache_corrupted=: ;;
24042704 ,);;
24052705 *)
24082708 ac_old_val_w=`echo x $ac_old_val`
24092709 ac_new_val_w=`echo x $ac_new_val`
24102710 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2412 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2712 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
24132713 ac_cache_corrupted=:
24142714 else
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2416 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2716 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
24172717 eval $ac_var=\$ac_old_val
24182718 fi
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2420 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2422 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2720 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2722 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
24232723 fi;;
24242724 esac
24252725 # Pass precious variables to config.status.
24262726 if test "$ac_new_set" = set; then
24272727 case $ac_new_val in
2428 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2728 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
24292729 *) ac_arg=$ac_var=$ac_new_val ;;
24302730 esac
24312731 case " $ac_configure_args " in
24352735 fi
24362736 done
24372737 if $ac_cache_corrupted; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2441 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2442 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2739 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2741 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2742 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2743 and start over" "$LINENO" 5
24432744 fi
24442745 ## -------------------- ##
24452746 ## Main body of script. ##
24572758 #AM_INIT_AUTOMAKE([subdir-objects serial-tests])
24582759 am__api_version='1.16'
24592760
2460 ac_aux_dir=
2461 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2462 if test -f "$ac_dir/install-sh"; then
2463 ac_aux_dir=$ac_dir
2464 ac_install_sh="$ac_aux_dir/install-sh -c"
2465 break
2466 elif test -f "$ac_dir/install.sh"; then
2467 ac_aux_dir=$ac_dir
2468 ac_install_sh="$ac_aux_dir/install.sh -c"
2469 break
2470 elif test -f "$ac_dir/shtool"; then
2471 ac_aux_dir=$ac_dir
2472 ac_install_sh="$ac_aux_dir/shtool install -c"
2473 break
2474 fi
2475 done
2476 if test -z "$ac_aux_dir"; then
2477 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2478 fi
2479
2480 # These three variables are undocumented and unsupported,
2481 # and are intended to be withdrawn in a future Autoconf release.
2482 # They can cause serious problems if a builder's source tree is in a directory
2483 # whose full name contains unusual characters.
2484 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2485 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2486 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2487
2488
2489 # Find a good install program. We prefer a C program (faster),
2761
2762
2763 # Find a good install program. We prefer a C program (faster),
24902764 # so one script is as good as another. But avoid the broken or
24912765 # incompatible versions:
24922766 # SysV /etc/install, /usr/sbin/install
25002774 # OS/2's system install, which has a completely different semantic
25012775 # ./install, which can be erroneously created by make from ./install.sh.
25022776 # Reject install programs that cannot install multiple files.
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2504 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2778 printf %s "checking for a BSD-compatible install... " >&6; }
25052779 if test -z "$INSTALL"; then
2506 if ${ac_cv_path_install+:} false; then :
2507 $as_echo_n "(cached) " >&6
2508 else
2780 if test ${ac_cv_path_install+y}
2781 then :
2782 printf %s "(cached) " >&6
2783 else $as_nop
25092784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25102785 for as_dir in $PATH
25112786 do
25122787 IFS=$as_save_IFS
2513 test -z "$as_dir" && as_dir=.
2514 # Account for people who put trailing slashes in PATH elements.
2515 case $as_dir/ in #((
2516 ./ | .// | /[cC]/* | \
2788 case $as_dir in #(((
2789 '') as_dir=./ ;;
2790 */) ;;
2791 *) as_dir=$as_dir/ ;;
2792 esac
2793 # Account for fact that we put trailing slashes in our PATH walk.
2794 case $as_dir in #((
2795 ./ | /[cC]/* | \
25172796 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
25182797 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
25192798 /usr/ucb/* ) ;;
25232802 # by default.
25242803 for ac_prog in ginstall scoinst install; do
25252804 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2805 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
25272806 if test $ac_prog = install &&
2528 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2807 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
25292808 # AIX install. It has an incompatible calling convention.
25302809 :
25312810 elif test $ac_prog = install &&
2532 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2811 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
25332812 # program-specific install script used by HP pwplus--don't use.
25342813 :
25352814 else
25372816 echo one > conftest.one
25382817 echo two > conftest.two
25392818 mkdir conftest.dir
2540 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2819 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
25412820 test -s conftest.one && test -s conftest.two &&
25422821 test -s conftest.dir/conftest.one &&
25432822 test -s conftest.dir/conftest.two
25442823 then
2545 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2824 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
25462825 break 3
25472826 fi
25482827 fi
25582837 rm -rf conftest.one conftest.two conftest.dir
25592838
25602839 fi
2561 if test "${ac_cv_path_install+set}" = set; then
2840 if test ${ac_cv_path_install+y}; then
25622841 INSTALL=$ac_cv_path_install
25632842 else
25642843 # As a last resort, use the slow shell script. Don't cache a
25682847 INSTALL=$ac_install_sh
25692848 fi
25702849 fi
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2572 $as_echo "$INSTALL" >&6; }
2850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2851 printf "%s\n" "$INSTALL" >&6; }
25732852
25742853 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
25752854 # It thinks the first close brace ends the variable substitution.
25792858
25802859 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
25812860
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2583 $as_echo_n "checking whether build environment is sane... " >&6; }
2861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2862 printf %s "checking whether build environment is sane... " >&6; }
25842863 # Reject unsafe characters in $srcdir or the absolute working directory
25852864 # name. Accept space and tab only in the latter.
25862865 am_lf='
26342913 as_fn_error $? "newly created file is older than distributed files!
26352914 Check your system clock" "$LINENO" 5
26362915 fi
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2638 $as_echo "yes" >&6; }
2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2917 printf "%s\n" "yes" >&6; }
26392918 # If we didn't sleep, we still need to ensure time stamps of config.status and
26402919 # generated files are strictly newer.
26412920 am_sleep_pid=
26542933 # Double any \ or $.
26552934 # By default was `s,x,x', remove it if useless.
26562935 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2657 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2936 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2937
26582938
26592939 # Expand $ac_aux_dir to an absolute path.
26602940 am_aux_dir=`cd "$ac_aux_dir" && pwd`
26612941
2662 if test x"${MISSING+set}" != xset; then
2663 case $am_aux_dir in
2664 *\ * | *\ *)
2665 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2666 *)
2667 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2668 esac
2942
2943 if test x"${MISSING+set}" != xset; then
2944 MISSING="\${SHELL} '$am_aux_dir/missing'"
26692945 fi
26702946 # Use eval to expand $SHELL
26712947 if eval "$MISSING --is-lightweight"; then
26722948 am_missing_run="$MISSING "
26732949 else
26742950 am_missing_run=
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2676 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2952 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
26772953 fi
26782954
26792955 if test x"${install_sh+set}" != xset; then
26932969 if test -n "$ac_tool_prefix"; then
26942970 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
26952971 set dummy ${ac_tool_prefix}strip; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_STRIP+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
2972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 printf %s "checking for $ac_word... " >&6; }
2974 if test ${ac_cv_prog_STRIP+y}
2975 then :
2976 printf %s "(cached) " >&6
2977 else $as_nop
27012978 if test -n "$STRIP"; then
27022979 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
27032980 else
27052982 for as_dir in $PATH
27062983 do
27072984 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
2985 case $as_dir in #(((
2986 '') as_dir=./ ;;
2987 */) ;;
2988 *) as_dir=$as_dir/ ;;
2989 esac
27092990 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2991 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27112992 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27132994 break 2
27142995 fi
27152996 done
27203001 fi
27213002 STRIP=$ac_cv_prog_STRIP
27223003 if test -n "$STRIP"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2724 $as_echo "$STRIP" >&6; }
3004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3005 printf "%s\n" "$STRIP" >&6; }
27253006 else
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
3007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 printf "%s\n" "no" >&6; }
27283009 fi
27293010
27303011
27333014 ac_ct_STRIP=$STRIP
27343015 # Extract the first word of "strip", so it can be a program name with args.
27353016 set dummy strip; ac_word=$2
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737 $as_echo_n "checking for $ac_word... " >&6; }
2738 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2739 $as_echo_n "(cached) " >&6
2740 else
3017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 printf %s "checking for $ac_word... " >&6; }
3019 if test ${ac_cv_prog_ac_ct_STRIP+y}
3020 then :
3021 printf %s "(cached) " >&6
3022 else $as_nop
27413023 if test -n "$ac_ct_STRIP"; then
27423024 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
27433025 else
27453027 for as_dir in $PATH
27463028 do
27473029 IFS=$as_save_IFS
2748 test -z "$as_dir" && as_dir=.
3030 case $as_dir in #(((
3031 '') as_dir=./ ;;
3032 */) ;;
3033 *) as_dir=$as_dir/ ;;
3034 esac
27493035 for ac_exec_ext in '' $ac_executable_extensions; do
2750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3036 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
27513037 ac_cv_prog_ac_ct_STRIP="strip"
2752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27533039 break 2
27543040 fi
27553041 done
27603046 fi
27613047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
27623048 if test -n "$ac_ct_STRIP"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2764 $as_echo "$ac_ct_STRIP" >&6; }
3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3050 printf "%s\n" "$ac_ct_STRIP" >&6; }
27653051 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767 $as_echo "no" >&6; }
3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 printf "%s\n" "no" >&6; }
27683054 fi
27693055
27703056 if test "x$ac_ct_STRIP" = x; then
27723058 else
27733059 case $cross_compiling:$ac_tool_warned in
27743060 yes:)
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3062 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27773063 ac_tool_warned=yes ;;
27783064 esac
27793065 STRIP=$ac_ct_STRIP
27853071 fi
27863072 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
27873073
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2789 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3074
3075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3076 printf %s "checking for a race-free mkdir -p... " >&6; }
27903077 if test -z "$MKDIR_P"; then
2791 if ${ac_cv_path_mkdir+:} false; then :
2792 $as_echo_n "(cached) " >&6
2793 else
3078 if test ${ac_cv_path_mkdir+y}
3079 then :
3080 printf %s "(cached) " >&6
3081 else $as_nop
27943082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27953083 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
27963084 do
27973085 IFS=$as_save_IFS
2798 test -z "$as_dir" && as_dir=.
3086 case $as_dir in #(((
3087 '') as_dir=./ ;;
3088 */) ;;
3089 *) as_dir=$as_dir/ ;;
3090 esac
27993091 for ac_prog in mkdir gmkdir; do
28003092 for ac_exec_ext in '' $ac_executable_extensions; do
2801 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2802 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2803 'mkdir (GNU coreutils) '* | \
2804 'mkdir (coreutils) '* | \
3093 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3094 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3095 'mkdir ('*'coreutils) '* | \
3096 'BusyBox '* | \
28053097 'mkdir (fileutils) '4.1*)
2806 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3098 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
28073099 break 3;;
28083100 esac
28093101 done
28143106 fi
28153107
28163108 test -d ./--version && rmdir ./--version
2817 if test "${ac_cv_path_mkdir+set}" = set; then
3109 if test ${ac_cv_path_mkdir+y}; then
28183110 MKDIR_P="$ac_cv_path_mkdir -p"
28193111 else
28203112 # As a last resort, use the slow shell script. Don't cache a
28243116 MKDIR_P="$ac_install_sh -d"
28253117 fi
28263118 fi
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2828 $as_echo "$MKDIR_P" >&6; }
3119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3120 printf "%s\n" "$MKDIR_P" >&6; }
28293121
28303122 for ac_prog in gawk mawk nawk awk
28313123 do
28323124 # Extract the first word of "$ac_prog", so it can be a program name with args.
28333125 set dummy $ac_prog; ac_word=$2
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 $as_echo_n "checking for $ac_word... " >&6; }
2836 if ${ac_cv_prog_AWK+:} false; then :
2837 $as_echo_n "(cached) " >&6
2838 else
3126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 printf %s "checking for $ac_word... " >&6; }
3128 if test ${ac_cv_prog_AWK+y}
3129 then :
3130 printf %s "(cached) " >&6
3131 else $as_nop
28393132 if test -n "$AWK"; then
28403133 ac_cv_prog_AWK="$AWK" # Let the user override the test.
28413134 else
28433136 for as_dir in $PATH
28443137 do
28453138 IFS=$as_save_IFS
2846 test -z "$as_dir" && as_dir=.
3139 case $as_dir in #(((
3140 '') as_dir=./ ;;
3141 */) ;;
3142 *) as_dir=$as_dir/ ;;
3143 esac
28473144 for ac_exec_ext in '' $ac_executable_extensions; do
2848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
28493146 ac_cv_prog_AWK="$ac_prog"
2850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28513148 break 2
28523149 fi
28533150 done
28583155 fi
28593156 AWK=$ac_cv_prog_AWK
28603157 if test -n "$AWK"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2862 $as_echo "$AWK" >&6; }
3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3159 printf "%s\n" "$AWK" >&6; }
28633160 else
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 printf "%s\n" "no" >&6; }
28663163 fi
28673164
28683165
28693166 test -n "$AWK" && break
28703167 done
28713168
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2873 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3170 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
28743171 set x ${MAKE-make}
2875 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2876 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2877 $as_echo_n "(cached) " >&6
2878 else
3172 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3173 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3174 then :
3175 printf %s "(cached) " >&6
3176 else $as_nop
28793177 cat >conftest.make <<\_ACEOF
28803178 SHELL = /bin/sh
28813179 all:
28913189 rm -f conftest.make
28923190 fi
28933191 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2895 $as_echo "yes" >&6; }
3192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3193 printf "%s\n" "yes" >&6; }
28963194 SET_MAKE=
28973195 else
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2899 $as_echo "no" >&6; }
3196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 printf "%s\n" "no" >&6; }
29003198 SET_MAKE="MAKE=${MAKE-make}"
29013199 fi
29023200
29103208 rmdir .tst 2>/dev/null
29113209
29123210 # Check whether --enable-silent-rules was given.
2913 if test "${enable_silent_rules+set}" = set; then :
3211 if test ${enable_silent_rules+y}
3212 then :
29143213 enableval=$enable_silent_rules;
29153214 fi
29163215
29203219 *) AM_DEFAULT_VERBOSITY=1;;
29213220 esac
29223221 am_make=${MAKE-make}
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2924 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2925 if ${am_cv_make_support_nested_variables+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927 else
2928 if $as_echo 'TRUE=$(BAR$(V))
3222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3223 printf %s "checking whether $am_make supports nested variables... " >&6; }
3224 if test ${am_cv_make_support_nested_variables+y}
3225 then :
3226 printf %s "(cached) " >&6
3227 else $as_nop
3228 if printf "%s\n" 'TRUE=$(BAR$(V))
29293229 BAR0=false
29303230 BAR1=true
29313231 V=1
29373237 am_cv_make_support_nested_variables=no
29383238 fi
29393239 fi
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2941 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3241 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
29423242 if test $am_cv_make_support_nested_variables = yes; then
29433243 AM_V='$(V)'
29443244 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
29733273 VERSION='1.10.0'
29743274
29753275
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE "$PACKAGE"
2978 _ACEOF
2979
2980
2981 cat >>confdefs.h <<_ACEOF
2982 #define VERSION "$VERSION"
2983 _ACEOF
3276 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3277
3278
3279 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
29843280
29853281 # Some tools Automake needs.
29863282
30183314
30193315
30203316
3317
3318
3319 # Variables for tags utilities; see am/tags.am
3320 if test -z "$CTAGS"; then
3321 CTAGS=ctags
3322 fi
3323
3324 if test -z "$ETAGS"; then
3325 ETAGS=etags
3326 fi
3327
3328 if test -z "$CSCOPE"; then
3329 CSCOPE=cscope
3330 fi
30213331
30223332
30233333
30653375
30663376
30673377 # Check whether --enable-silent-rules was given.
3068 if test "${enable_silent_rules+set}" = set; then :
3378 if test ${enable_silent_rules+y}
3379 then :
30693380 enableval=$enable_silent_rules;
30703381 fi
30713382
30753386 *) AM_DEFAULT_VERBOSITY=0;;
30763387 esac
30773388 am_make=${MAKE-make}
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3079 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3080 if ${am_cv_make_support_nested_variables+:} false; then :
3081 $as_echo_n "(cached) " >&6
3082 else
3083 if $as_echo 'TRUE=$(BAR$(V))
3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3390 printf %s "checking whether $am_make supports nested variables... " >&6; }
3391 if test ${am_cv_make_support_nested_variables+y}
3392 then :
3393 printf %s "(cached) " >&6
3394 else $as_nop
3395 if printf "%s\n" 'TRUE=$(BAR$(V))
30843396 BAR0=false
30853397 BAR1=true
30863398 V=1
30923404 am_cv_make_support_nested_variables=no
30933405 fi
30943406 fi
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3096 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3408 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
30973409 if test $am_cv_make_support_nested_variables = yes; then
30983410 AM_V='$(V)'
30993411 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
31123424 case "${host}" in
31133425 *-*-linux*)
31143426
3115 $as_echo "#define OS_LINUX 1" >>confdefs.h
3427 printf "%s\n" "#define OS_LINUX 1" >>confdefs.h
31163428
31173429 os_type="linux"
31183430 ;;
31193431 *-*-*darwin*|*-*-dragonfly*|*-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
31203432
3121 $as_echo "#define OS_BSD 1" >>confdefs.h
3433 printf "%s\n" "#define OS_BSD 1" >>confdefs.h
31223434
31233435 os_type="bsd"
31243436 ;;
31253437 *-apple-*)
31263438
3127 $as_echo "#define OS_APPLE 1" >>confdefs.h
3439 printf "%s\n" "#define OS_APPLE 1" >>confdefs.h
31283440
31293441 os_type="apple"
31303442 ;;
31363448 *-*-solaris*)
31373449 os_type="solaris"
31383450
3139 $as_echo "#define OS_SOLARIS 1" >>confdefs.h
3140
3141
3142 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3143
3144
3145 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
3451 printf "%s\n" "#define OS_SOLARIS 1" >>confdefs.h
3452
3453
3454 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3455
3456
3457 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
31463458
31473459 CPPFLAGS="-std=c99 $CPPFLAGS"
31483460 AM_CFLAGS="-std=c99 $CFLAGS"
31563468 *-*-aix*)
31573469 os_type="aix"
31583470
3159 $as_echo "#define OS_AIX 1" >>confdefs.h
3471 printf "%s\n" "#define OS_AIX 1" >>confdefs.h
31603472
31613473 AM_CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT"
31623474 LDFLAGS="$LDFLAGS -brtl"
32153527 do
32163528 # Extract the first word of "$ac_prog", so it can be a program name with args.
32173529 set dummy $ac_prog; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_path_PYTHON+:} false; then :
3221 $as_echo_n "(cached) " >&6
3222 else
3530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3531 printf %s "checking for $ac_word... " >&6; }
3532 if test ${ac_cv_path_PYTHON+y}
3533 then :
3534 printf %s "(cached) " >&6
3535 else $as_nop
32233536 case $PYTHON in
32243537 [\\/]* | ?:[\\/]*)
32253538 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
32293542 for as_dir in $PATH
32303543 do
32313544 IFS=$as_save_IFS
3232 test -z "$as_dir" && as_dir=.
3545 case $as_dir in #(((
3546 '') as_dir=./ ;;
3547 */) ;;
3548 *) as_dir=$as_dir/ ;;
3549 esac
32333550 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3235 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3552 ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
3553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32373554 break 2
32383555 fi
32393556 done
32453562 fi
32463563 PYTHON=$ac_cv_path_PYTHON
32473564 if test -n "$PYTHON"; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
3249 $as_echo "$PYTHON" >&6; }
3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
3566 printf "%s\n" "$PYTHON" >&6; }
32503567 else
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 printf "%s\n" "no" >&6; }
32533570 fi
32543571
32553572
32663583 else
32673584
32683585
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
3270 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
3271 if ${am_cv_python_version+:} false; then :
3272 $as_echo_n "(cached) " >&6
3273 else
3274 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
3275 fi
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
3277 $as_echo "$am_cv_python_version" >&6; }
3586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
3587 printf %s "checking for $am_display_PYTHON version... " >&6; }
3588 if test ${am_cv_python_version+y}
3589 then :
3590 printf %s "(cached) " >&6
3591 else $as_nop
3592 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
3593 fi
3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
3595 printf "%s\n" "$am_cv_python_version" >&6; }
32783596 PYTHON_VERSION=$am_cv_python_version
32793597
32803598
32813599
3282 PYTHON_PREFIX='${prefix}'
3283
3284 PYTHON_EXEC_PREFIX='${exec_prefix}'
3285
3286
3287
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
3289 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
3290 if ${am_cv_python_platform+:} false; then :
3291 $as_echo_n "(cached) " >&6
3292 else
3600 if test "x$prefix" = xNONE
3601 then
3602 am__usable_prefix=$ac_default_prefix
3603 else
3604 am__usable_prefix=$prefix
3605 fi
3606
3607
3608 # Check whether --with-python_prefix was given.
3609 if test ${with_python_prefix+y}
3610 then :
3611 withval=$with_python_prefix; am_python_prefix_subst="$withval"
3612 am_cv_python_prefix="$withval"
3613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON prefix" >&5
3614 printf %s "checking for $am_display_PYTHON prefix... " >&6; }
3615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
3616 printf "%s\n" "$am_cv_python_prefix" >&6; }
3617 else $as_nop
3618
3619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON prefix" >&5
3620 printf %s "checking for $am_display_PYTHON prefix... " >&6; }
3621 if test ${am_cv_python_prefix+y}
3622 then :
3623 printf %s "(cached) " >&6
3624 else $as_nop
3625 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
3626 fi
3627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
3628 printf "%s\n" "$am_cv_python_prefix" >&6; }
3629
3630 case $am_cv_python_prefix in
3631 $am__usable_prefix*)
3632 am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
3633 am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
3634 ;;
3635 *)
3636 am_python_prefix_subst=$am_cv_python_prefix
3637 ;;
3638 esac
3639
3640 fi
3641
3642 PYTHON_PREFIX=$am_python_prefix_subst
3643
3644
3645
3646 # Check whether --with-python_exec_prefix was given.
3647 if test ${with_python_exec_prefix+y}
3648 then :
3649 withval=$with_python_exec_prefix; am_python_exec_prefix_subst="$withval"
3650 am_cv_python_exec_prefix="$withval"
3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON exec_prefix" >&5
3652 printf %s "checking for $am_display_PYTHON exec_prefix... " >&6; }
3653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
3654 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
3655 else $as_nop
3656
3657 if test -n "$with_python_prefix"
3658 then :
3659 am_python_exec_prefix_subst="$with_python_prefix"
3660 am_cv_python_exec_prefix="$with_python_prefix"
3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON exec_prefix" >&5
3662 printf %s "checking for $am_display_PYTHON exec_prefix... " >&6; }
3663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
3664 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
3665 else $as_nop
3666
3667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON exec_prefix" >&5
3668 printf %s "checking for $am_display_PYTHON exec_prefix... " >&6; }
3669 if test ${am_cv_python_exec_prefix+y}
3670 then :
3671 printf %s "(cached) " >&6
3672 else $as_nop
3673 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
3674 fi
3675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
3676 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
3677 if test "x$exec_prefix" = xNONE
3678 then
3679 am__usable_exec_prefix=$am__usable_prefix
3680 else
3681 am__usable_exec_prefix=$exec_prefix
3682 fi
3683 case $am_cv_python_exec_prefix in
3684 $am__usable_exec_prefix*)
3685 am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
3686 am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
3687 ;;
3688 *)
3689 am_python_exec_prefix_subst=$am_cv_python_exec_prefix
3690 ;;
3691 esac
3692
3693 fi
3694 fi
3695
3696 PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
3697
3698
3699
3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
3701 printf %s "checking for $am_display_PYTHON platform... " >&6; }
3702 if test ${am_cv_python_platform+y}
3703 then :
3704 printf %s "(cached) " >&6
3705 else $as_nop
32933706 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
32943707 fi
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
3296 $as_echo "$am_cv_python_platform" >&6; }
3708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
3709 printf "%s\n" "$am_cv_python_platform" >&6; }
32973710 PYTHON_PLATFORM=$am_cv_python_platform
32983711
32993712
33183731 pass"
33193732
33203733
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
3322 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
3323 if ${am_cv_python_pythondir+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 if test "x$prefix" = xNONE
3734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
3735 printf %s "checking for $am_display_PYTHON script directory... " >&6; }
3736 if test ${am_cv_python_pythondir+y}
3737 then :
3738 printf %s "(cached) " >&6
3739 else $as_nop
3740 if test "x$am_cv_python_prefix" = x
33273741 then
3328 am_py_prefix=$ac_default_prefix
3742 am_py_prefix=$am__usable_prefix
33293743 else
3330 am_py_prefix=$prefix
3744 am_py_prefix=$am_cv_python_prefix
33313745 fi
33323746 am_cv_python_pythondir=`$PYTHON -c "
33333747 $am_python_setup_sysconfig
33403754 case $am_cv_python_pythondir in
33413755 $am_py_prefix*)
33423756 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
3343 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
3757 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
33443758 ;;
33453759 *)
33463760 case $am_py_prefix in
33473761 /usr|/System*) ;;
33483762 *)
3349 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
3763 am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
33503764 ;;
33513765 esac
33523766 ;;
33533767 esac
33543768
33553769 fi
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
3357 $as_echo "$am_cv_python_pythondir" >&6; }
3770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
3771 printf "%s\n" "$am_cv_python_pythondir" >&6; }
33583772 pythondir=$am_cv_python_pythondir
33593773
33603774
33623776 pkgpythondir=\${pythondir}/$PACKAGE
33633777
33643778
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
3366 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
3367 if ${am_cv_python_pyexecdir+:} false; then :
3368 $as_echo_n "(cached) " >&6
3369 else
3370 if test "x$exec_prefix" = xNONE
3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
3780 printf %s "checking for $am_display_PYTHON extension module directory... " >&6; }
3781 if test ${am_cv_python_pyexecdir+y}
3782 then :
3783 printf %s "(cached) " >&6
3784 else $as_nop
3785 if test "x$am_cv_python_exec_prefix" = x
33713786 then
3372 am_py_exec_prefix=$am_py_prefix
3787 am_py_exec_prefix=$am__usable_exec_prefix
33733788 else
3374 am_py_exec_prefix=$exec_prefix
3789 am_py_exec_prefix=$am_cv_python_exec_prefix
33753790 fi
33763791 am_cv_python_pyexecdir=`$PYTHON -c "
33773792 $am_python_setup_sysconfig
33783793 if can_use_sysconfig:
3379 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
3794 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
33803795 else:
33813796 from distutils import sysconfig
3382 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
3797 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
33833798 sys.stdout.write(sitedir)"`
33843799 case $am_cv_python_pyexecdir in
33853800 $am_py_exec_prefix*)
33863801 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
3387 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
3802 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
33883803 ;;
33893804 *)
33903805 case $am_py_exec_prefix in
33913806 /usr|/System*) ;;
33923807 *)
3393 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
3808 am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
33943809 ;;
33953810 esac
33963811 ;;
33973812 esac
33983813
33993814 fi
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
3401 $as_echo "$am_cv_python_pyexecdir" >&6; }
3815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
3816 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
34023817 pyexecdir=$am_cv_python_pyexecdir
34033818
34043819
34123827
34133828
34143829 # Checks for programs.
3830
3831
3832
3833
3834
3835
3836
3837
3838
34153839 ac_ext=c
34163840 ac_cpp='$CPP $CPPFLAGS'
34173841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203844 if test -n "$ac_tool_prefix"; then
34213845 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
34223846 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 $as_echo_n "checking for $ac_word... " >&6; }
3425 if ${ac_cv_prog_CC+:} false; then :
3426 $as_echo_n "(cached) " >&6
3427 else
3847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 printf %s "checking for $ac_word... " >&6; }
3849 if test ${ac_cv_prog_CC+y}
3850 then :
3851 printf %s "(cached) " >&6
3852 else $as_nop
34283853 if test -n "$CC"; then
34293854 ac_cv_prog_CC="$CC" # Let the user override the test.
34303855 else
34323857 for as_dir in $PATH
34333858 do
34343859 IFS=$as_save_IFS
3435 test -z "$as_dir" && as_dir=.
3860 case $as_dir in #(((
3861 '') as_dir=./ ;;
3862 */) ;;
3863 *) as_dir=$as_dir/ ;;
3864 esac
34363865 for ac_exec_ext in '' $ac_executable_extensions; do
3437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
34383867 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34403869 break 2
34413870 fi
34423871 done
34473876 fi
34483877 CC=$ac_cv_prog_CC
34493878 if test -n "$CC"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3451 $as_echo "$CC" >&6; }
3879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3880 printf "%s\n" "$CC" >&6; }
34523881 else
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 printf "%s\n" "no" >&6; }
34553884 fi
34563885
34573886
34603889 ac_ct_CC=$CC
34613890 # Extract the first word of "gcc", so it can be a program name with args.
34623891 set dummy gcc; ac_word=$2
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464 $as_echo_n "checking for $ac_word... " >&6; }
3465 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3466 $as_echo_n "(cached) " >&6
3467 else
3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 printf %s "checking for $ac_word... " >&6; }
3894 if test ${ac_cv_prog_ac_ct_CC+y}
3895 then :
3896 printf %s "(cached) " >&6
3897 else $as_nop
34683898 if test -n "$ac_ct_CC"; then
34693899 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
34703900 else
34723902 for as_dir in $PATH
34733903 do
34743904 IFS=$as_save_IFS
3475 test -z "$as_dir" && as_dir=.
3905 case $as_dir in #(((
3906 '') as_dir=./ ;;
3907 */) ;;
3908 *) as_dir=$as_dir/ ;;
3909 esac
34763910 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3911 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
34783912 ac_cv_prog_ac_ct_CC="gcc"
3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34803914 break 2
34813915 fi
34823916 done
34873921 fi
34883922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
34893923 if test -n "$ac_ct_CC"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3491 $as_echo "$ac_ct_CC" >&6; }
3924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3925 printf "%s\n" "$ac_ct_CC" >&6; }
34923926 else
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 printf "%s\n" "no" >&6; }
34953929 fi
34963930
34973931 if test "x$ac_ct_CC" = x; then
34993933 else
35003934 case $cross_compiling:$ac_tool_warned in
35013935 yes:)
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3937 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
35043938 ac_tool_warned=yes ;;
35053939 esac
35063940 CC=$ac_ct_CC
35133947 if test -n "$ac_tool_prefix"; then
35143948 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
35153949 set dummy ${ac_tool_prefix}cc; ac_word=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if ${ac_cv_prog_CC+:} false; then :
3519 $as_echo_n "(cached) " >&6
3520 else
3950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 printf %s "checking for $ac_word... " >&6; }
3952 if test ${ac_cv_prog_CC+y}
3953 then :
3954 printf %s "(cached) " >&6
3955 else $as_nop
35213956 if test -n "$CC"; then
35223957 ac_cv_prog_CC="$CC" # Let the user override the test.
35233958 else
35253960 for as_dir in $PATH
35263961 do
35273962 IFS=$as_save_IFS
3528 test -z "$as_dir" && as_dir=.
3963 case $as_dir in #(((
3964 '') as_dir=./ ;;
3965 */) ;;
3966 *) as_dir=$as_dir/ ;;
3967 esac
35293968 for ac_exec_ext in '' $ac_executable_extensions; do
3530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3969 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
35313970 ac_cv_prog_CC="${ac_tool_prefix}cc"
3532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
35333972 break 2
35343973 fi
35353974 done
35403979 fi
35413980 CC=$ac_cv_prog_CC
35423981 if test -n "$CC"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544 $as_echo "$CC" >&6; }
3982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3983 printf "%s\n" "$CC" >&6; }
35453984 else
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 printf "%s\n" "no" >&6; }
35483987 fi
35493988
35503989
35533992 if test -z "$CC"; then
35543993 # Extract the first word of "cc", so it can be a program name with args.
35553994 set dummy cc; ac_word=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if ${ac_cv_prog_CC+:} false; then :
3559 $as_echo_n "(cached) " >&6
3560 else
3995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996 printf %s "checking for $ac_word... " >&6; }
3997 if test ${ac_cv_prog_CC+y}
3998 then :
3999 printf %s "(cached) " >&6
4000 else $as_nop
35614001 if test -n "$CC"; then
35624002 ac_cv_prog_CC="$CC" # Let the user override the test.
35634003 else
35664006 for as_dir in $PATH
35674007 do
35684008 IFS=$as_save_IFS
3569 test -z "$as_dir" && as_dir=.
4009 case $as_dir in #(((
4010 '') as_dir=./ ;;
4011 */) ;;
4012 *) as_dir=$as_dir/ ;;
4013 esac
35704014 for ac_exec_ext in '' $ac_executable_extensions; do
3571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3572 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4015 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4016 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
35734017 ac_prog_rejected=yes
35744018 continue
35754019 fi
35764020 ac_cv_prog_CC="cc"
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
35784022 break 2
35794023 fi
35804024 done
35904034 # However, it has the same basename, so the bogon will be chosen
35914035 # first if we set CC to just the basename; use the full file name.
35924036 shift
3593 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4037 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
35944038 fi
35954039 fi
35964040 fi
35974041 fi
35984042 CC=$ac_cv_prog_CC
35994043 if test -n "$CC"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3601 $as_echo "$CC" >&6; }
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4045 printf "%s\n" "$CC" >&6; }
36024046 else
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 printf "%s\n" "no" >&6; }
36054049 fi
36064050
36074051
36124056 do
36134057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
36144058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if ${ac_cv_prog_CC+:} false; then :
3618 $as_echo_n "(cached) " >&6
3619 else
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060 printf %s "checking for $ac_word... " >&6; }
4061 if test ${ac_cv_prog_CC+y}
4062 then :
4063 printf %s "(cached) " >&6
4064 else $as_nop
36204065 if test -n "$CC"; then
36214066 ac_cv_prog_CC="$CC" # Let the user override the test.
36224067 else
36244069 for as_dir in $PATH
36254070 do
36264071 IFS=$as_save_IFS
3627 test -z "$as_dir" && as_dir=.
4072 case $as_dir in #(((
4073 '') as_dir=./ ;;
4074 */) ;;
4075 *) as_dir=$as_dir/ ;;
4076 esac
36284077 for ac_exec_ext in '' $ac_executable_extensions; do
3629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
36304079 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
36324081 break 2
36334082 fi
36344083 done
36394088 fi
36404089 CC=$ac_cv_prog_CC
36414090 if test -n "$CC"; then
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4092 printf "%s\n" "$CC" >&6; }
36444093 else
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646 $as_echo "no" >&6; }
4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 printf "%s\n" "no" >&6; }
36474096 fi
36484097
36494098
36564105 do
36574106 # Extract the first word of "$ac_prog", so it can be a program name with args.
36584107 set dummy $ac_prog; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3662 $as_echo_n "(cached) " >&6
3663 else
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 printf %s "checking for $ac_word... " >&6; }
4110 if test ${ac_cv_prog_ac_ct_CC+y}
4111 then :
4112 printf %s "(cached) " >&6
4113 else $as_nop
36644114 if test -n "$ac_ct_CC"; then
36654115 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
36664116 else
36684118 for as_dir in $PATH
36694119 do
36704120 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
4121 case $as_dir in #(((
4122 '') as_dir=./ ;;
4123 */) ;;
4124 *) as_dir=$as_dir/ ;;
4125 esac
36724126 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4127 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
36744128 ac_cv_prog_ac_ct_CC="$ac_prog"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
36764130 break 2
36774131 fi
36784132 done
36834137 fi
36844138 ac_ct_CC=$ac_cv_prog_ac_ct_CC
36854139 if test -n "$ac_ct_CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3687 $as_echo "$ac_ct_CC" >&6; }
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4141 printf "%s\n" "$ac_ct_CC" >&6; }
36884142 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 printf "%s\n" "no" >&6; }
36914145 fi
36924146
36934147
36994153 else
37004154 case $cross_compiling:$ac_tool_warned in
37014155 yes:)
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4157 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37044158 ac_tool_warned=yes ;;
37054159 esac
37064160 CC=$ac_ct_CC
37084162 fi
37094163
37104164 fi
3711
3712
3713 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 if test -z "$CC"; then
4166 if test -n "$ac_tool_prefix"; then
4167 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4168 set dummy ${ac_tool_prefix}clang; ac_word=$2
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 printf %s "checking for $ac_word... " >&6; }
4171 if test ${ac_cv_prog_CC+y}
4172 then :
4173 printf %s "(cached) " >&6
4174 else $as_nop
4175 if test -n "$CC"; then
4176 ac_cv_prog_CC="$CC" # Let the user override the test.
4177 else
4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 for as_dir in $PATH
4180 do
4181 IFS=$as_save_IFS
4182 case $as_dir in #(((
4183 '') as_dir=./ ;;
4184 */) ;;
4185 *) as_dir=$as_dir/ ;;
4186 esac
4187 for ac_exec_ext in '' $ac_executable_extensions; do
4188 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4189 ac_cv_prog_CC="${ac_tool_prefix}clang"
4190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4191 break 2
4192 fi
4193 done
4194 done
4195 IFS=$as_save_IFS
4196
4197 fi
4198 fi
4199 CC=$ac_cv_prog_CC
4200 if test -n "$CC"; then
4201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4202 printf "%s\n" "$CC" >&6; }
4203 else
4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 printf "%s\n" "no" >&6; }
4206 fi
4207
4208
4209 fi
4210 if test -z "$ac_cv_prog_CC"; then
4211 ac_ct_CC=$CC
4212 # Extract the first word of "clang", so it can be a program name with args.
4213 set dummy clang; ac_word=$2
4214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215 printf %s "checking for $ac_word... " >&6; }
4216 if test ${ac_cv_prog_ac_ct_CC+y}
4217 then :
4218 printf %s "(cached) " >&6
4219 else $as_nop
4220 if test -n "$ac_ct_CC"; then
4221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4222 else
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 for as_dir in $PATH
4225 do
4226 IFS=$as_save_IFS
4227 case $as_dir in #(((
4228 '') as_dir=./ ;;
4229 */) ;;
4230 *) as_dir=$as_dir/ ;;
4231 esac
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4234 ac_cv_prog_ac_ct_CC="clang"
4235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4236 break 2
4237 fi
4238 done
4239 done
4240 IFS=$as_save_IFS
4241
4242 fi
4243 fi
4244 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4245 if test -n "$ac_ct_CC"; then
4246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4247 printf "%s\n" "$ac_ct_CC" >&6; }
4248 else
4249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 printf "%s\n" "no" >&6; }
4251 fi
4252
4253 if test "x$ac_ct_CC" = x; then
4254 CC=""
4255 else
4256 case $cross_compiling:$ac_tool_warned in
4257 yes:)
4258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4259 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4260 ac_tool_warned=yes ;;
4261 esac
4262 CC=$ac_ct_CC
4263 fi
4264 else
4265 CC="$ac_cv_prog_CC"
4266 fi
4267
4268 fi
4269
4270
4271 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
37154273 as_fn_error $? "no acceptable C compiler found in \$PATH
37164274 See \`config.log' for more details" "$LINENO" 5; }
37174275
37184276 # Provide some information about the compiler.
3719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
37204278 set X $ac_compile
37214279 ac_compiler=$2
3722 for ac_option in --version -v -V -qversion; do
4280 for ac_option in --version -v -V -qversion -version; do
37234281 { { ac_try="$ac_compiler $ac_option >&5"
37244282 case "(($ac_try" in
37254283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37264284 *) ac_try_echo=$ac_try;;
37274285 esac
37284286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729 $as_echo "$ac_try_echo"; } >&5
4287 printf "%s\n" "$ac_try_echo"; } >&5
37304288 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
37314289 ac_status=$?
37324290 if test -s conftest.err; then
37364294 cat conftest.er1 >&5
37374295 fi
37384296 rm -f conftest.er1 conftest.err
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37404298 test $ac_status = 0; }
37414299 done
37424300
37444302 /* end confdefs.h. */
37454303
37464304 int
3747 main ()
4305 main (void)
37484306 {
37494307
37504308 ;
37564314 # Try to create an executable without -o first, disregard a.out.
37574315 # It will help us diagnose broken compilers, and finding out an intuition
37584316 # of exeext.
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3760 $as_echo_n "checking whether the C compiler works... " >&6; }
3761 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4318 printf %s "checking whether the C compiler works... " >&6; }
4319 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
37624320
37634321 # The possible output files:
37644322 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
37794337 *) ac_try_echo=$ac_try;;
37804338 esac
37814339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
4340 printf "%s\n" "$ac_try_echo"; } >&5
37834341 (eval "$ac_link_default") 2>&5
37844342 ac_status=$?
3785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3786 test $ac_status = 0; }; then :
4343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4344 test $ac_status = 0; }
4345 then :
37874346 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
37884347 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
37894348 # in a Makefile. We should not override ac_cv_exeext if it was cached,
38004359 # certainly right.
38014360 break;;
38024361 *.* )
3803 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4362 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
38044363 then :; else
38054364 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
38064365 fi
38164375 done
38174376 test "$ac_cv_exeext" = no && ac_cv_exeext=
38184377
3819 else
4378 else $as_nop
38204379 ac_file=''
38214380 fi
3822 if test -z "$ac_file"; then :
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3825 $as_echo "$as_me: failed program was:" >&5
4381 if test -z "$ac_file"
4382 then :
4383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 printf "%s\n" "no" >&6; }
4385 printf "%s\n" "$as_me: failed program was:" >&5
38264386 sed 's/^/| /' conftest.$ac_ext >&5
38274387
3828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4388 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4389 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
38304390 as_fn_error 77 "C compiler cannot create executables
38314391 See \`config.log' for more details" "$LINENO" 5; }
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3834 $as_echo "yes" >&6; }
3835 fi
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3837 $as_echo_n "checking for C compiler default output file name... " >&6; }
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3839 $as_echo "$ac_file" >&6; }
4392 else $as_nop
4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4394 printf "%s\n" "yes" >&6; }
4395 fi
4396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4397 printf %s "checking for C compiler default output file name... " >&6; }
4398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4399 printf "%s\n" "$ac_file" >&6; }
38404400 ac_exeext=$ac_cv_exeext
38414401
38424402 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
38434403 ac_clean_files=$ac_clean_files_save
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3845 $as_echo_n "checking for suffix of executables... " >&6; }
4404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4405 printf %s "checking for suffix of executables... " >&6; }
38464406 if { { ac_try="$ac_link"
38474407 case "(($ac_try" in
38484408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38494409 *) ac_try_echo=$ac_try;;
38504410 esac
38514411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
4412 printf "%s\n" "$ac_try_echo"; } >&5
38534413 (eval "$ac_link") 2>&5
38544414 ac_status=$?
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }; then :
4415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4416 test $ac_status = 0; }
4417 then :
38574418 # If both `conftest.exe' and `conftest' are `present' (well, observable)
38584419 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
38594420 # work properly (i.e., refer to `conftest.exe'), while it won't with
38674428 * ) break;;
38684429 esac
38694430 done
3870 else
3871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4431 else $as_nop
4432 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4433 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
38734434 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
38744435 See \`config.log' for more details" "$LINENO" 5; }
38754436 fi
38764437 rm -f conftest conftest$ac_cv_exeext
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3878 $as_echo "$ac_cv_exeext" >&6; }
4438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4439 printf "%s\n" "$ac_cv_exeext" >&6; }
38794440
38804441 rm -f conftest.$ac_ext
38814442 EXEEXT=$ac_cv_exeext
38844445 /* end confdefs.h. */
38854446 #include <stdio.h>
38864447 int
3887 main ()
4448 main (void)
38884449 {
38894450 FILE *f = fopen ("conftest.out", "w");
38904451 return ferror (f) || fclose (f) != 0;
38964457 ac_clean_files="$ac_clean_files conftest.out"
38974458 # Check that the compiler produces executables we can run. If not, either
38984459 # the compiler is broken, or we cross compile.
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3900 $as_echo_n "checking whether we are cross compiling... " >&6; }
4460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4461 printf %s "checking whether we are cross compiling... " >&6; }
39014462 if test "$cross_compiling" != yes; then
39024463 { { ac_try="$ac_link"
39034464 case "(($ac_try" in
39054466 *) ac_try_echo=$ac_try;;
39064467 esac
39074468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 $as_echo "$ac_try_echo"; } >&5
4469 printf "%s\n" "$ac_try_echo"; } >&5
39094470 (eval "$ac_link") 2>&5
39104471 ac_status=$?
3911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39124473 test $ac_status = 0; }
39134474 if { ac_try='./conftest$ac_cv_exeext'
39144475 { { case "(($ac_try" in
39164477 *) ac_try_echo=$ac_try;;
39174478 esac
39184479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
4480 printf "%s\n" "$ac_try_echo"; } >&5
39204481 (eval "$ac_try") 2>&5
39214482 ac_status=$?
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39234484 test $ac_status = 0; }; }; then
39244485 cross_compiling=no
39254486 else
39264487 if test "$cross_compiling" = maybe; then
39274488 cross_compiling=yes
39284489 else
3929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error $? "cannot run C compiled programs.
4490 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4491 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4492 as_fn_error 77 "cannot run C compiled programs.
39324493 If you meant to cross compile, use \`--host'.
39334494 See \`config.log' for more details" "$LINENO" 5; }
39344495 fi
39354496 fi
39364497 fi
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3938 $as_echo "$cross_compiling" >&6; }
4498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4499 printf "%s\n" "$cross_compiling" >&6; }
39394500
39404501 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
39414502 ac_clean_files=$ac_clean_files_save
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3943 $as_echo_n "checking for suffix of object files... " >&6; }
3944 if ${ac_cv_objext+:} false; then :
3945 $as_echo_n "(cached) " >&6
3946 else
4503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4504 printf %s "checking for suffix of object files... " >&6; }
4505 if test ${ac_cv_objext+y}
4506 then :
4507 printf %s "(cached) " >&6
4508 else $as_nop
39474509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39484510 /* end confdefs.h. */
39494511
39504512 int
3951 main ()
4513 main (void)
39524514 {
39534515
39544516 ;
39624524 *) ac_try_echo=$ac_try;;
39634525 esac
39644526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
4527 printf "%s\n" "$ac_try_echo"; } >&5
39664528 (eval "$ac_compile") 2>&5
39674529 ac_status=$?
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969 test $ac_status = 0; }; then :
4530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4531 test $ac_status = 0; }
4532 then :
39704533 for ac_file in conftest.o conftest.obj conftest.*; do
39714534 test -f "$ac_file" || continue;
39724535 case $ac_file in
39754538 break;;
39764539 esac
39774540 done
3978 else
3979 $as_echo "$as_me: failed program was:" >&5
4541 else $as_nop
4542 printf "%s\n" "$as_me: failed program was:" >&5
39804543 sed 's/^/| /' conftest.$ac_ext >&5
39814544
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4545 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4546 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
39844547 as_fn_error $? "cannot compute suffix of object files: cannot compile
39854548 See \`config.log' for more details" "$LINENO" 5; }
39864549 fi
39874550 rm -f conftest.$ac_cv_objext conftest.$ac_ext
39884551 fi
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3990 $as_echo "$ac_cv_objext" >&6; }
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4553 printf "%s\n" "$ac_cv_objext" >&6; }
39914554 OBJEXT=$ac_cv_objext
39924555 ac_objext=$OBJEXT
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3994 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3995 if ${ac_cv_c_compiler_gnu+:} false; then :
3996 $as_echo_n "(cached) " >&6
3997 else
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4557 printf %s "checking whether the compiler supports GNU C... " >&6; }
4558 if test ${ac_cv_c_compiler_gnu+y}
4559 then :
4560 printf %s "(cached) " >&6
4561 else $as_nop
39984562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39994563 /* end confdefs.h. */
40004564
40014565 int
4002 main ()
4566 main (void)
40034567 {
40044568 #ifndef __GNUC__
40054569 choke me
40094573 return 0;
40104574 }
40114575 _ACEOF
4012 if ac_fn_c_try_compile "$LINENO"; then :
4576 if ac_fn_c_try_compile "$LINENO"
4577 then :
40134578 ac_compiler_gnu=yes
4014 else
4579 else $as_nop
40154580 ac_compiler_gnu=no
40164581 fi
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40184583 ac_cv_c_compiler_gnu=$ac_compiler_gnu
40194584
40204585 fi
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4022 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4587 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4589
40234590 if test $ac_compiler_gnu = yes; then
40244591 GCC=yes
40254592 else
40264593 GCC=
40274594 fi
4028 ac_test_CFLAGS=${CFLAGS+set}
4595 ac_test_CFLAGS=${CFLAGS+y}
40294596 ac_save_CFLAGS=$CFLAGS
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4031 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4032 if ${ac_cv_prog_cc_g+:} false; then :
4033 $as_echo_n "(cached) " >&6
4034 else
4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4598 printf %s "checking whether $CC accepts -g... " >&6; }
4599 if test ${ac_cv_prog_cc_g+y}
4600 then :
4601 printf %s "(cached) " >&6
4602 else $as_nop
40354603 ac_save_c_werror_flag=$ac_c_werror_flag
40364604 ac_c_werror_flag=yes
40374605 ac_cv_prog_cc_g=no
40404608 /* end confdefs.h. */
40414609
40424610 int
4043 main ()
4611 main (void)
40444612 {
40454613
40464614 ;
40474615 return 0;
40484616 }
40494617 _ACEOF
4050 if ac_fn_c_try_compile "$LINENO"; then :
4618 if ac_fn_c_try_compile "$LINENO"
4619 then :
40514620 ac_cv_prog_cc_g=yes
4052 else
4621 else $as_nop
40534622 CFLAGS=""
40544623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40554624 /* end confdefs.h. */
40564625
40574626 int
4058 main ()
4627 main (void)
40594628 {
40604629
40614630 ;
40624631 return 0;
40634632 }
40644633 _ACEOF
4065 if ac_fn_c_try_compile "$LINENO"; then :
4066
4067 else
4634 if ac_fn_c_try_compile "$LINENO"
4635 then :
4636
4637 else $as_nop
40684638 ac_c_werror_flag=$ac_save_c_werror_flag
40694639 CFLAGS="-g"
40704640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714641 /* end confdefs.h. */
40724642
40734643 int
4074 main ()
4644 main (void)
40754645 {
40764646
40774647 ;
40784648 return 0;
40794649 }
40804650 _ACEOF
4081 if ac_fn_c_try_compile "$LINENO"; then :
4651 if ac_fn_c_try_compile "$LINENO"
4652 then :
40824653 ac_cv_prog_cc_g=yes
40834654 fi
4084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4085 fi
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 fi
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4656 fi
4657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4658 fi
4659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40894660 ac_c_werror_flag=$ac_save_c_werror_flag
40904661 fi
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4092 $as_echo "$ac_cv_prog_cc_g" >&6; }
4093 if test "$ac_test_CFLAGS" = set; then
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4663 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4664 if test $ac_test_CFLAGS; then
40944665 CFLAGS=$ac_save_CFLAGS
40954666 elif test $ac_cv_prog_cc_g = yes; then
40964667 if test "$GCC" = yes; then
41054676 CFLAGS=
41064677 fi
41074678 fi
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4109 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4110 if ${ac_cv_prog_cc_c89+:} false; then :
4111 $as_echo_n "(cached) " >&6
4112 else
4679 ac_prog_cc_stdc=no
4680 if test x$ac_prog_cc_stdc = xno
4681 then :
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4683 printf %s "checking for $CC option to enable C11 features... " >&6; }
4684 if test ${ac_cv_prog_cc_c11+y}
4685 then :
4686 printf %s "(cached) " >&6
4687 else $as_nop
4688 ac_cv_prog_cc_c11=no
4689 ac_save_CC=$CC
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4692 $ac_c_conftest_c11_program
4693 _ACEOF
4694 for ac_arg in '' -std=gnu11
4695 do
4696 CC="$ac_save_CC $ac_arg"
4697 if ac_fn_c_try_compile "$LINENO"
4698 then :
4699 ac_cv_prog_cc_c11=$ac_arg
4700 fi
4701 rm -f core conftest.err conftest.$ac_objext conftest.beam
4702 test "x$ac_cv_prog_cc_c11" != "xno" && break
4703 done
4704 rm -f conftest.$ac_ext
4705 CC=$ac_save_CC
4706 fi
4707
4708 if test "x$ac_cv_prog_cc_c11" = xno
4709 then :
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4711 printf "%s\n" "unsupported" >&6; }
4712 else $as_nop
4713 if test "x$ac_cv_prog_cc_c11" = x
4714 then :
4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4716 printf "%s\n" "none needed" >&6; }
4717 else $as_nop
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4719 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4720 CC="$CC $ac_cv_prog_cc_c11"
4721 fi
4722 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4723 ac_prog_cc_stdc=c11
4724 fi
4725 fi
4726 if test x$ac_prog_cc_stdc = xno
4727 then :
4728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4729 printf %s "checking for $CC option to enable C99 features... " >&6; }
4730 if test ${ac_cv_prog_cc_c99+y}
4731 then :
4732 printf %s "(cached) " >&6
4733 else $as_nop
4734 ac_cv_prog_cc_c99=no
4735 ac_save_CC=$CC
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 $ac_c_conftest_c99_program
4739 _ACEOF
4740 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4741 do
4742 CC="$ac_save_CC $ac_arg"
4743 if ac_fn_c_try_compile "$LINENO"
4744 then :
4745 ac_cv_prog_cc_c99=$ac_arg
4746 fi
4747 rm -f core conftest.err conftest.$ac_objext conftest.beam
4748 test "x$ac_cv_prog_cc_c99" != "xno" && break
4749 done
4750 rm -f conftest.$ac_ext
4751 CC=$ac_save_CC
4752 fi
4753
4754 if test "x$ac_cv_prog_cc_c99" = xno
4755 then :
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4757 printf "%s\n" "unsupported" >&6; }
4758 else $as_nop
4759 if test "x$ac_cv_prog_cc_c99" = x
4760 then :
4761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4762 printf "%s\n" "none needed" >&6; }
4763 else $as_nop
4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4765 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4766 CC="$CC $ac_cv_prog_cc_c99"
4767 fi
4768 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4769 ac_prog_cc_stdc=c99
4770 fi
4771 fi
4772 if test x$ac_prog_cc_stdc = xno
4773 then :
4774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4775 printf %s "checking for $CC option to enable C89 features... " >&6; }
4776 if test ${ac_cv_prog_cc_c89+y}
4777 then :
4778 printf %s "(cached) " >&6
4779 else $as_nop
41134780 ac_cv_prog_cc_c89=no
41144781 ac_save_CC=$CC
41154782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41164783 /* end confdefs.h. */
4117 #include <stdarg.h>
4118 #include <stdio.h>
4119 struct stat;
4120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4121 struct buf { int x; };
4122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4123 static char *e (p, i)
4124 char **p;
4125 int i;
4126 {
4127 return p[i];
4128 }
4129 static char *f (char * (*g) (char **, int), char **p, ...)
4130 {
4131 char *s;
4132 va_list v;
4133 va_start (v,p);
4134 s = g (p, va_arg (v,int));
4135 va_end (v);
4136 return s;
4137 }
4138
4139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4140 function prototypes and stuff, but not '\xHH' hex character constants.
4141 These don't provoke an error unfortunately, instead are silently treated
4142 as 'x'. The following induces an error, until -std is added to get
4143 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4144 array size at least. It's necessary to write '\x00'==0 to get something
4145 that's true only with -std. */
4146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4147
4148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4149 inside strings and character constants. */
4150 #define FOO(x) 'x'
4151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4152
4153 int test (int i, double x);
4154 struct s1 {int (*f) (int a);};
4155 struct s2 {int (*f) (double a);};
4156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4157 int argc;
4158 char **argv;
4159 int
4160 main ()
4161 {
4162 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4163 ;
4164 return 0;
4165 }
4784 $ac_c_conftest_c89_program
41664785 _ACEOF
4167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4168 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4786 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
41694787 do
41704788 CC="$ac_save_CC $ac_arg"
4171 if ac_fn_c_try_compile "$LINENO"; then :
4789 if ac_fn_c_try_compile "$LINENO"
4790 then :
41724791 ac_cv_prog_cc_c89=$ac_arg
41734792 fi
4174 rm -f core conftest.err conftest.$ac_objext
4793 rm -f core conftest.err conftest.$ac_objext conftest.beam
41754794 test "x$ac_cv_prog_cc_c89" != "xno" && break
41764795 done
41774796 rm -f conftest.$ac_ext
41784797 CC=$ac_save_CC
4179
4180 fi
4181 # AC_CACHE_VAL
4182 case "x$ac_cv_prog_cc_c89" in
4183 x)
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4185 $as_echo "none needed" >&6; } ;;
4186 xno)
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4188 $as_echo "unsupported" >&6; } ;;
4189 *)
4190 CC="$CC $ac_cv_prog_cc_c89"
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4192 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4193 esac
4194 if test "x$ac_cv_prog_cc_c89" != xno; then :
4195
4798 fi
4799
4800 if test "x$ac_cv_prog_cc_c89" = xno
4801 then :
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4803 printf "%s\n" "unsupported" >&6; }
4804 else $as_nop
4805 if test "x$ac_cv_prog_cc_c89" = x
4806 then :
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4808 printf "%s\n" "none needed" >&6; }
4809 else $as_nop
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4811 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4812 CC="$CC $ac_cv_prog_cc_c89"
4813 fi
4814 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4815 ac_prog_cc_stdc=c89
4816 fi
41964817 fi
41974818
41984819 ac_ext=c
42014822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42034824
4204 ac_ext=c
4825
4826 ac_ext=c
42054827 ac_cpp='$CPP $CPPFLAGS'
42064828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42084830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4210 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4211 if ${am_cv_prog_cc_c_o+:} false; then :
4212 $as_echo_n "(cached) " >&6
4213 else
4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4832 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4833 if test ${am_cv_prog_cc_c_o+y}
4834 then :
4835 printf %s "(cached) " >&6
4836 else $as_nop
42144837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42154838 /* end confdefs.h. */
42164839
42174840 int
4218 main ()
4841 main (void)
42194842 {
42204843
42214844 ;
42434866 rm -f core conftest*
42444867 unset am_i
42454868 fi
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4247 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4870 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
42484871 if test "$am_cv_prog_cc_c_o" != yes; then
42494872 # Losing compiler, so override with the script.
42504873 # FIXME: It is wrong to rewrite CC.
42634886
42644887 ac_config_commands="$ac_config_commands depfiles"
42654888
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4267 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4890 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
42684891 cat > confinc.mk << 'END'
42694892 am__doit:
42704893 @echo this is the am__doit target >confinc.out
43004923 fi
43014924 done
43024925 rm -f confinc.* confmf.*
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4304 $as_echo "${_am_result}" >&6; }
4926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4927 printf "%s\n" "${_am_result}" >&6; }
43054928
43064929 # Check whether --enable-dependency-tracking was given.
4307 if test "${enable_dependency_tracking+set}" = set; then :
4930 if test ${enable_dependency_tracking+y}
4931 then :
43084932 enableval=$enable_dependency_tracking;
43094933 fi
43104934
43254949
43264950 depcc="$CC" am_compiler_list=
43274951
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4329 $as_echo_n "checking dependency style of $depcc... " >&6; }
4330 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4331 $as_echo_n "(cached) " >&6
4332 else
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4953 printf %s "checking dependency style of $depcc... " >&6; }
4954 if test ${am_cv_CC_dependencies_compiler_type+y}
4955 then :
4956 printf %s "(cached) " >&6
4957 else $as_nop
43334958 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
43344959 # We make a subdir and do the tests there. Otherwise we can end up
43354960 # making bogus files that we don't know about and never remove. For
44365061 fi
44375062
44385063 fi
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4440 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5065 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
44415066 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
44425067
44435068 if
44515076 fi
44525077
44535078
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4455 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4456 if ${ac_cv_prog_cc_c99+:} false; then :
4457 $as_echo_n "(cached) " >&6
4458 else
4459 ac_cv_prog_cc_c99=no
4460 ac_save_CC=$CC
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4463 #include <stdarg.h>
4464 #include <stdbool.h>
4465 #include <stdlib.h>
4466 #include <wchar.h>
4467 #include <stdio.h>
4468
4469 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4470 #define debug(...) fprintf (stderr, __VA_ARGS__)
4471 #define showlist(...) puts (#__VA_ARGS__)
4472 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4473 static void
4474 test_varargs_macros (void)
4475 {
4476 int x = 1234;
4477 int y = 5678;
4478 debug ("Flag");
4479 debug ("X = %d\n", x);
4480 showlist (The first, second, and third items.);
4481 report (x>y, "x is %d but y is %d", x, y);
4482 }
4483
4484 // Check long long types.
4485 #define BIG64 18446744073709551615ull
4486 #define BIG32 4294967295ul
4487 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4488 #if !BIG_OK
4489 your preprocessor is broken;
4490 #endif
4491 #if BIG_OK
4492 #else
4493 your preprocessor is broken;
4494 #endif
4495 static long long int bignum = -9223372036854775807LL;
4496 static unsigned long long int ubignum = BIG64;
4497
4498 struct incomplete_array
4499 {
4500 int datasize;
4501 double data[];
4502 };
4503
4504 struct named_init {
4505 int number;
4506 const wchar_t *name;
4507 double average;
4508 };
4509
4510 typedef const char *ccp;
4511
4512 static inline int
4513 test_restrict (ccp restrict text)
4514 {
4515 // See if C++-style comments work.
4516 // Iterate through items via the restricted pointer.
4517 // Also check for declarations in for loops.
4518 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4519 continue;
4520 return 0;
4521 }
4522
4523 // Check varargs and va_copy.
4524 static void
4525 test_varargs (const char *format, ...)
4526 {
4527 va_list args;
4528 va_start (args, format);
4529 va_list args_copy;
4530 va_copy (args_copy, args);
4531
4532 const char *str;
4533 int number;
4534 float fnumber;
4535
4536 while (*format)
4537 {
4538 switch (*format++)
4539 {
4540 case 's': // string
4541 str = va_arg (args_copy, const char *);
4542 break;
4543 case 'd': // int
4544 number = va_arg (args_copy, int);
4545 break;
4546 case 'f': // float
4547 fnumber = va_arg (args_copy, double);
4548 break;
4549 default:
4550 break;
4551 }
4552 }
4553 va_end (args_copy);
4554 va_end (args);
4555 }
4556
4557 int
4558 main ()
4559 {
4560
4561 // Check bool.
4562 _Bool success = false;
4563
4564 // Check restrict.
4565 if (test_restrict ("String literal") == 0)
4566 success = true;
4567 char *restrict newvar = "Another string";
4568
4569 // Check varargs.
4570 test_varargs ("s, d' f .", "string", 65, 34.234);
4571 test_varargs_macros ();
4572
4573 // Check flexible array members.
4574 struct incomplete_array *ia =
4575 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4576 ia->datasize = 10;
4577 for (int i = 0; i < ia->datasize; ++i)
4578 ia->data[i] = i * 1.234;
4579
4580 // Check named initializers.
4581 struct named_init ni = {
4582 .number = 34,
4583 .name = L"Test wide string",
4584 .average = 543.34343,
4585 };
4586
4587 ni.number = 58;
4588
4589 int dynamic_array[ni.number];
4590 dynamic_array[ni.number - 1] = 543;
4591
4592 // work around unused variable warnings
4593 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4594 || dynamic_array[ni.number - 1] != 543);
4595
4596 ;
4597 return 0;
4598 }
4599 _ACEOF
4600 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4601 do
4602 CC="$ac_save_CC $ac_arg"
4603 if ac_fn_c_try_compile "$LINENO"; then :
4604 ac_cv_prog_cc_c99=$ac_arg
4605 fi
4606 rm -f core conftest.err conftest.$ac_objext
4607 test "x$ac_cv_prog_cc_c99" != "xno" && break
4608 done
4609 rm -f conftest.$ac_ext
4610 CC=$ac_save_CC
4611
4612 fi
4613 # AC_CACHE_VAL
4614 case "x$ac_cv_prog_cc_c99" in
4615 x)
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4617 $as_echo "none needed" >&6; } ;;
4618 xno)
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4620 $as_echo "unsupported" >&6; } ;;
4621 *)
4622 CC="$CC $ac_cv_prog_cc_c99"
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4624 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4625 esac
4626 if test "x$ac_cv_prog_cc_c99" != xno; then :
4627
4628 fi
4629
46305079
46315080
46325081 if test "$GCC" = "yes"
46355084
46365085 case `pwd` in
46375086 *\ * | *\ *)
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4639 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5088 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
46405089 esac
46415090
46425091
46565105
46575106
46585107
5108
46595109 ltmain=$ac_aux_dir/ltmain.sh
46605110
4661 # Make sure we can run config.sub.
4662 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4663 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4664
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4666 $as_echo_n "checking build system type... " >&6; }
4667 if ${ac_cv_build+:} false; then :
4668 $as_echo_n "(cached) " >&6
4669 else
5111
5112
5113 # Make sure we can run config.sub.
5114 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5115 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5116
5117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5118 printf %s "checking build system type... " >&6; }
5119 if test ${ac_cv_build+y}
5120 then :
5121 printf %s "(cached) " >&6
5122 else $as_nop
46705123 ac_build_alias=$build_alias
46715124 test "x$ac_build_alias" = x &&
4672 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5125 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
46735126 test "x$ac_build_alias" = x &&
46745127 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4675 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4676 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4677
4678 fi
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4680 $as_echo "$ac_cv_build" >&6; }
5128 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5129 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5130
5131 fi
5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5133 printf "%s\n" "$ac_cv_build" >&6; }
46815134 case $ac_cv_build in
46825135 *-*-*) ;;
46835136 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
46965149 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
46975150
46985151
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4700 $as_echo_n "checking host system type... " >&6; }
4701 if ${ac_cv_host+:} false; then :
4702 $as_echo_n "(cached) " >&6
4703 else
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5153 printf %s "checking host system type... " >&6; }
5154 if test ${ac_cv_host+y}
5155 then :
5156 printf %s "(cached) " >&6
5157 else $as_nop
47045158 if test "x$host_alias" = x; then
47055159 ac_cv_host=$ac_cv_build
47065160 else
4707 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4708 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4709 fi
4710
4711 fi
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4713 $as_echo "$ac_cv_host" >&6; }
5161 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5162 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5163 fi
5164
5165 fi
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5167 printf "%s\n" "$ac_cv_host" >&6; }
47145168 case $ac_cv_host in
47155169 *-*-*) ;;
47165170 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
47505204 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
47515205 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
47525206
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4754 $as_echo_n "checking how to print strings... " >&6; }
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5208 printf %s "checking how to print strings... " >&6; }
47555209 # Test print first, because it will be a builtin if present.
47565210 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
47575211 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
47775231 }
47785232
47795233 case $ECHO in
4780 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4781 $as_echo "printf" >&6; } ;;
4782 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4783 $as_echo "print -r" >&6; } ;;
4784 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4785 $as_echo "cat" >&6; } ;;
5234 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5235 printf "%s\n" "printf" >&6; } ;;
5236 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5237 printf "%s\n" "print -r" >&6; } ;;
5238 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5239 printf "%s\n" "cat" >&6; } ;;
47865240 esac
47875241
47885242
47985252
47995253
48005254
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4802 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4803 if ${ac_cv_path_SED+:} false; then :
4804 $as_echo_n "(cached) " >&6
4805 else
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5256 printf %s "checking for a sed that does not truncate output... " >&6; }
5257 if test ${ac_cv_path_SED+y}
5258 then :
5259 printf %s "(cached) " >&6
5260 else $as_nop
48065261 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
48075262 for ac_i in 1 2 3 4 5 6 7; do
48085263 ac_script="$ac_script$as_nl$ac_script"
48165271 for as_dir in $PATH
48175272 do
48185273 IFS=$as_save_IFS
4819 test -z "$as_dir" && as_dir=.
4820 for ac_prog in sed gsed; do
5274 case $as_dir in #(((
5275 '') as_dir=./ ;;
5276 */) ;;
5277 *) as_dir=$as_dir/ ;;
5278 esac
5279 for ac_prog in sed gsed
5280 do
48215281 for ac_exec_ext in '' $ac_executable_extensions; do
4822 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5282 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
48235283 as_fn_executable_p "$ac_path_SED" || continue
48245284 # Check for GNU ac_path_SED and select it if it is found.
48255285 # Check for GNU $ac_path_SED
48285288 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
48295289 *)
48305290 ac_count=0
4831 $as_echo_n 0123456789 >"conftest.in"
5291 printf %s 0123456789 >"conftest.in"
48325292 while :
48335293 do
48345294 cat "conftest.in" "conftest.in" >"conftest.tmp"
48355295 mv "conftest.tmp" "conftest.in"
48365296 cp "conftest.in" "conftest.nl"
4837 $as_echo '' >> "conftest.nl"
5297 printf "%s\n" '' >> "conftest.nl"
48385298 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
48395299 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
48405300 as_fn_arith $ac_count + 1 && ac_count=$as_val
48625322 fi
48635323
48645324 fi
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4866 $as_echo "$ac_cv_path_SED" >&6; }
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5326 printf "%s\n" "$ac_cv_path_SED" >&6; }
48675327 SED="$ac_cv_path_SED"
48685328 rm -f conftest.sed
48695329
48805340
48815341
48825342
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4884 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4885 if ${ac_cv_path_GREP+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5344 printf %s "checking for grep that handles long lines and -e... " >&6; }
5345 if test ${ac_cv_path_GREP+y}
5346 then :
5347 printf %s "(cached) " >&6
5348 else $as_nop
48885349 if test -z "$GREP"; then
48895350 ac_path_GREP_found=false
48905351 # Loop through the user's path and test for each of PROGNAME-LIST
48925353 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
48935354 do
48945355 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_prog in grep ggrep; do
5356 case $as_dir in #(((
5357 '') as_dir=./ ;;
5358 */) ;;
5359 *) as_dir=$as_dir/ ;;
5360 esac
5361 for ac_prog in grep ggrep
5362 do
48975363 for ac_exec_ext in '' $ac_executable_extensions; do
4898 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5364 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
48995365 as_fn_executable_p "$ac_path_GREP" || continue
49005366 # Check for GNU ac_path_GREP and select it if it is found.
49015367 # Check for GNU $ac_path_GREP
49045370 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
49055371 *)
49065372 ac_count=0
4907 $as_echo_n 0123456789 >"conftest.in"
5373 printf %s 0123456789 >"conftest.in"
49085374 while :
49095375 do
49105376 cat "conftest.in" "conftest.in" >"conftest.tmp"
49115377 mv "conftest.tmp" "conftest.in"
49125378 cp "conftest.in" "conftest.nl"
4913 $as_echo 'GREP' >> "conftest.nl"
5379 printf "%s\n" 'GREP' >> "conftest.nl"
49145380 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
49155381 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
49165382 as_fn_arith $ac_count + 1 && ac_count=$as_val
49385404 fi
49395405
49405406 fi
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4942 $as_echo "$ac_cv_path_GREP" >&6; }
5407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5408 printf "%s\n" "$ac_cv_path_GREP" >&6; }
49435409 GREP="$ac_cv_path_GREP"
49445410
49455411
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4947 $as_echo_n "checking for egrep... " >&6; }
4948 if ${ac_cv_path_EGREP+:} false; then :
4949 $as_echo_n "(cached) " >&6
4950 else
5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5413 printf %s "checking for egrep... " >&6; }
5414 if test ${ac_cv_path_EGREP+y}
5415 then :
5416 printf %s "(cached) " >&6
5417 else $as_nop
49515418 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
49525419 then ac_cv_path_EGREP="$GREP -E"
49535420 else
49585425 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
49595426 do
49605427 IFS=$as_save_IFS
4961 test -z "$as_dir" && as_dir=.
4962 for ac_prog in egrep; do
5428 case $as_dir in #(((
5429 '') as_dir=./ ;;
5430 */) ;;
5431 *) as_dir=$as_dir/ ;;
5432 esac
5433 for ac_prog in egrep
5434 do
49635435 for ac_exec_ext in '' $ac_executable_extensions; do
4964 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5436 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
49655437 as_fn_executable_p "$ac_path_EGREP" || continue
49665438 # Check for GNU ac_path_EGREP and select it if it is found.
49675439 # Check for GNU $ac_path_EGREP
49705442 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
49715443 *)
49725444 ac_count=0
4973 $as_echo_n 0123456789 >"conftest.in"
5445 printf %s 0123456789 >"conftest.in"
49745446 while :
49755447 do
49765448 cat "conftest.in" "conftest.in" >"conftest.tmp"
49775449 mv "conftest.tmp" "conftest.in"
49785450 cp "conftest.in" "conftest.nl"
4979 $as_echo 'EGREP' >> "conftest.nl"
5451 printf "%s\n" 'EGREP' >> "conftest.nl"
49805452 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
49815453 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
49825454 as_fn_arith $ac_count + 1 && ac_count=$as_val
50055477
50065478 fi
50075479 fi
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5009 $as_echo "$ac_cv_path_EGREP" >&6; }
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5481 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
50105482 EGREP="$ac_cv_path_EGREP"
50115483
50125484
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5014 $as_echo_n "checking for fgrep... " >&6; }
5015 if ${ac_cv_path_FGREP+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5486 printf %s "checking for fgrep... " >&6; }
5487 if test ${ac_cv_path_FGREP+y}
5488 then :
5489 printf %s "(cached) " >&6
5490 else $as_nop
50185491 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
50195492 then ac_cv_path_FGREP="$GREP -F"
50205493 else
50255498 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
50265499 do
50275500 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for ac_prog in fgrep; do
5501 case $as_dir in #(((
5502 '') as_dir=./ ;;
5503 */) ;;
5504 *) as_dir=$as_dir/ ;;
5505 esac
5506 for ac_prog in fgrep
5507 do
50305508 for ac_exec_ext in '' $ac_executable_extensions; do
5031 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5509 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
50325510 as_fn_executable_p "$ac_path_FGREP" || continue
50335511 # Check for GNU ac_path_FGREP and select it if it is found.
50345512 # Check for GNU $ac_path_FGREP
50375515 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
50385516 *)
50395517 ac_count=0
5040 $as_echo_n 0123456789 >"conftest.in"
5518 printf %s 0123456789 >"conftest.in"
50415519 while :
50425520 do
50435521 cat "conftest.in" "conftest.in" >"conftest.tmp"
50445522 mv "conftest.tmp" "conftest.in"
50455523 cp "conftest.in" "conftest.nl"
5046 $as_echo 'FGREP' >> "conftest.nl"
5524 printf "%s\n" 'FGREP' >> "conftest.nl"
50475525 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
50485526 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
50495527 as_fn_arith $ac_count + 1 && ac_count=$as_val
50725550
50735551 fi
50745552 fi
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5076 $as_echo "$ac_cv_path_FGREP" >&6; }
5553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5554 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
50775555 FGREP="$ac_cv_path_FGREP"
50785556
50795557
50985576
50995577
51005578 # Check whether --with-gnu-ld was given.
5101 if test "${with_gnu_ld+set}" = set; then :
5579 if test ${with_gnu_ld+y}
5580 then :
51025581 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5103 else
5582 else $as_nop
51045583 with_gnu_ld=no
51055584 fi
51065585
51075586 ac_prog=ld
51085587 if test yes = "$GCC"; then
51095588 # Check if gcc -print-prog-name=ld gives a path.
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5111 $as_echo_n "checking for ld used by $CC... " >&6; }
5589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5590 printf %s "checking for ld used by $CC... " >&6; }
51125591 case $host in
51135592 *-*-mingw*)
51145593 # gcc leaves a trailing carriage return, which upsets mingw
51375616 ;;
51385617 esac
51395618 elif test yes = "$with_gnu_ld"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5141 $as_echo_n "checking for GNU ld... " >&6; }
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5620 printf %s "checking for GNU ld... " >&6; }
51425621 else
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5144 $as_echo_n "checking for non-GNU ld... " >&6; }
5145 fi
5146 if ${lt_cv_path_LD+:} false; then :
5147 $as_echo_n "(cached) " >&6
5148 else
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5623 printf %s "checking for non-GNU ld... " >&6; }
5624 fi
5625 if test ${lt_cv_path_LD+y}
5626 then :
5627 printf %s "(cached) " >&6
5628 else $as_nop
51495629 if test -z "$LD"; then
51505630 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
51515631 for ac_dir in $PATH; do
51745654
51755655 LD=$lt_cv_path_LD
51765656 if test -n "$LD"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5178 $as_echo "$LD" >&6; }
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5658 printf "%s\n" "$LD" >&6; }
51795659 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 printf "%s\n" "no" >&6; }
51825662 fi
51835663 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5185 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5186 if ${lt_cv_prog_gnu_ld+:} false; then :
5187 $as_echo_n "(cached) " >&6
5188 else
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5665 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5666 if test ${lt_cv_prog_gnu_ld+y}
5667 then :
5668 printf %s "(cached) " >&6
5669 else $as_nop
51895670 # I'd rather use --version here, but apparently some GNU lds only accept -v.
51905671 case `$LD -v 2>&1 </dev/null` in
51915672 *GNU* | *'with BFD'*)
51965677 ;;
51975678 esac
51985679 fi
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5200 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5681 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
52015682 with_gnu_ld=$lt_cv_prog_gnu_ld
52025683
52035684
52085689
52095690
52105691
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5212 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5213 if ${lt_cv_path_NM+:} false; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5693 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5694 if test ${lt_cv_path_NM+y}
5695 then :
5696 printf %s "(cached) " >&6
5697 else $as_nop
52165698 if test -n "$NM"; then
52175699 # Let the user override the test.
52185700 lt_cv_path_NM=$NM
52625744 : ${lt_cv_path_NM=no}
52635745 fi
52645746 fi
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5266 $as_echo "$lt_cv_path_NM" >&6; }
5747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5748 printf "%s\n" "$lt_cv_path_NM" >&6; }
52675749 if test no != "$lt_cv_path_NM"; then
52685750 NM=$lt_cv_path_NM
52695751 else
52765758 do
52775759 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
52785760 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_DUMPBIN+:} false; then :
5282 $as_echo_n "(cached) " >&6
5283 else
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 printf %s "checking for $ac_word... " >&6; }
5763 if test ${ac_cv_prog_DUMPBIN+y}
5764 then :
5765 printf %s "(cached) " >&6
5766 else $as_nop
52845767 if test -n "$DUMPBIN"; then
52855768 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
52865769 else
52885771 for as_dir in $PATH
52895772 do
52905773 IFS=$as_save_IFS
5291 test -z "$as_dir" && as_dir=.
5774 case $as_dir in #(((
5775 '') as_dir=./ ;;
5776 */) ;;
5777 *) as_dir=$as_dir/ ;;
5778 esac
52925779 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
52945781 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
52965783 break 2
52975784 fi
52985785 done
53035790 fi
53045791 DUMPBIN=$ac_cv_prog_DUMPBIN
53055792 if test -n "$DUMPBIN"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5307 $as_echo "$DUMPBIN" >&6; }
5793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5794 printf "%s\n" "$DUMPBIN" >&6; }
53085795 else
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 printf "%s\n" "no" >&6; }
53115798 fi
53125799
53135800
53205807 do
53215808 # Extract the first word of "$ac_prog", so it can be a program name with args.
53225809 set dummy $ac_prog; ac_word=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5326 $as_echo_n "(cached) " >&6
5327 else
5810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 printf %s "checking for $ac_word... " >&6; }
5812 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5813 then :
5814 printf %s "(cached) " >&6
5815 else $as_nop
53285816 if test -n "$ac_ct_DUMPBIN"; then
53295817 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
53305818 else
53325820 for as_dir in $PATH
53335821 do
53345822 IFS=$as_save_IFS
5335 test -z "$as_dir" && as_dir=.
5823 case $as_dir in #(((
5824 '') as_dir=./ ;;
5825 */) ;;
5826 *) as_dir=$as_dir/ ;;
5827 esac
53365828 for ac_exec_ext in '' $ac_executable_extensions; do
5337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
53385830 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
53405832 break 2
53415833 fi
53425834 done
53475839 fi
53485840 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
53495841 if test -n "$ac_ct_DUMPBIN"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5351 $as_echo "$ac_ct_DUMPBIN" >&6; }
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5843 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
53525844 else
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 printf "%s\n" "no" >&6; }
53555847 fi
53565848
53575849
53635855 else
53645856 case $cross_compiling:$ac_tool_warned in
53655857 yes:)
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5859 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
53685860 ac_tool_warned=yes ;;
53695861 esac
53705862 DUMPBIN=$ac_ct_DUMPBIN
53925884
53935885
53945886
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5396 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5397 if ${lt_cv_nm_interface+:} false; then :
5398 $as_echo_n "(cached) " >&6
5399 else
5887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5888 printf %s "checking the name lister ($NM) interface... " >&6; }
5889 if test ${lt_cv_nm_interface+y}
5890 then :
5891 printf %s "(cached) " >&6
5892 else $as_nop
54005893 lt_cv_nm_interface="BSD nm"
54015894 echo "int some_variable = 0;" > conftest.$ac_ext
54025895 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
54125905 fi
54135906 rm -f conftest*
54145907 fi
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5416 $as_echo "$lt_cv_nm_interface" >&6; }
5417
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5419 $as_echo_n "checking whether ln -s works... " >&6; }
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5909 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5910
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5912 printf %s "checking whether ln -s works... " >&6; }
54205913 LN_S=$as_ln_s
54215914 if test "$LN_S" = "ln -s"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5423 $as_echo "yes" >&6; }
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5916 printf "%s\n" "yes" >&6; }
54245917 else
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5426 $as_echo "no, using $LN_S" >&6; }
5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5919 printf "%s\n" "no, using $LN_S" >&6; }
54275920 fi
54285921
54295922 # find the maximum length of command line arguments
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5431 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5432 if ${lt_cv_sys_max_cmd_len+:} false; then :
5433 $as_echo_n "(cached) " >&6
5434 else
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5924 printf %s "checking the maximum length of command line arguments... " >&6; }
5925 if test ${lt_cv_sys_max_cmd_len+y}
5926 then :
5927 printf %s "(cached) " >&6
5928 else $as_nop
54355929 i=0
54365930 teststring=ABCD
54375931
55586052 fi
55596053
55606054 if test -n "$lt_cv_sys_max_cmd_len"; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5562 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6056 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
55636057 else
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5565 $as_echo "none" >&6; }
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6059 printf "%s\n" "none" >&6; }
55666060 fi
55676061 max_cmd_len=$lt_cv_sys_max_cmd_len
55686062
56066100
56076101
56086102
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5610 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5611 if ${lt_cv_to_host_file_cmd+:} false; then :
5612 $as_echo_n "(cached) " >&6
5613 else
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6104 printf %s "checking how to convert $build file names to $host format... " >&6; }
6105 if test ${lt_cv_to_host_file_cmd+y}
6106 then :
6107 printf %s "(cached) " >&6
6108 else $as_nop
56146109 case $host in
56156110 *-*-mingw* )
56166111 case $build in
56466141 fi
56476142
56486143 to_host_file_cmd=$lt_cv_to_host_file_cmd
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5650 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5651
5652
5653
5654
5655
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5657 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5658 if ${lt_cv_to_tool_file_cmd+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6145 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
6146
6147
6148
6149
6150
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6152 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
6153 if test ${lt_cv_to_tool_file_cmd+y}
6154 then :
6155 printf %s "(cached) " >&6
6156 else $as_nop
56616157 #assume ordinary cross tools, or native build.
56626158 lt_cv_to_tool_file_cmd=func_convert_file_noop
56636159 case $host in
56736169 fi
56746170
56756171 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5677 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5678
5679
5680
5681
5682
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5684 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5685 if ${lt_cv_ld_reload_flag+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6173 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
6174
6175
6176
6177
6178
6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6180 printf %s "checking for $LD option to reload object files... " >&6; }
6181 if test ${lt_cv_ld_reload_flag+y}
6182 then :
6183 printf %s "(cached) " >&6
6184 else $as_nop
56886185 lt_cv_ld_reload_flag='-r'
56896186 fi
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5691 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6188 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
56926189 reload_flag=$lt_cv_ld_reload_flag
56936190 case $reload_flag in
56946191 "" | " "*) ;;
57216218 if test -n "$ac_tool_prefix"; then
57226219 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
57236220 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_OBJDUMP+:} false; then :
5727 $as_echo_n "(cached) " >&6
5728 else
6221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 printf %s "checking for $ac_word... " >&6; }
6223 if test ${ac_cv_prog_OBJDUMP+y}
6224 then :
6225 printf %s "(cached) " >&6
6226 else $as_nop
57296227 if test -n "$OBJDUMP"; then
57306228 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
57316229 else
57336231 for as_dir in $PATH
57346232 do
57356233 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
6234 case $as_dir in #(((
6235 '') as_dir=./ ;;
6236 */) ;;
6237 *) as_dir=$as_dir/ ;;
6238 esac
57376239 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6240 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57396241 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57416243 break 2
57426244 fi
57436245 done
57486250 fi
57496251 OBJDUMP=$ac_cv_prog_OBJDUMP
57506252 if test -n "$OBJDUMP"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5752 $as_echo "$OBJDUMP" >&6; }
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6254 printf "%s\n" "$OBJDUMP" >&6; }
57536255 else
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
6256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 printf "%s\n" "no" >&6; }
57566258 fi
57576259
57586260
57616263 ac_ct_OBJDUMP=$OBJDUMP
57626264 # Extract the first word of "objdump", so it can be a program name with args.
57636265 set dummy objdump; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5767 $as_echo_n "(cached) " >&6
5768 else
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6267 printf %s "checking for $ac_word... " >&6; }
6268 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
6269 then :
6270 printf %s "(cached) " >&6
6271 else $as_nop
57696272 if test -n "$ac_ct_OBJDUMP"; then
57706273 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
57716274 else
57736276 for as_dir in $PATH
57746277 do
57756278 IFS=$as_save_IFS
5776 test -z "$as_dir" && as_dir=.
6279 case $as_dir in #(((
6280 '') as_dir=./ ;;
6281 */) ;;
6282 *) as_dir=$as_dir/ ;;
6283 esac
57776284 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6285 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
57796286 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
57816288 break 2
57826289 fi
57836290 done
57886295 fi
57896296 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
57906297 if test -n "$ac_ct_OBJDUMP"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5792 $as_echo "$ac_ct_OBJDUMP" >&6; }
6298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6299 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
57936300 else
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 printf "%s\n" "no" >&6; }
57966303 fi
57976304
57986305 if test "x$ac_ct_OBJDUMP" = x; then
58006307 else
58016308 case $cross_compiling:$ac_tool_warned in
58026309 yes:)
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6311 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
58056312 ac_tool_warned=yes ;;
58066313 esac
58076314 OBJDUMP=$ac_ct_OBJDUMP
58206327
58216328
58226329
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5824 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5825 if ${lt_cv_deplibs_check_method+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
6330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6331 printf %s "checking how to recognize dependent libraries... " >&6; }
6332 if test ${lt_cv_deplibs_check_method+y}
6333 then :
6334 printf %s "(cached) " >&6
6335 else $as_nop
58286336 lt_cv_file_magic_cmd='$MAGIC_CMD'
58296337 lt_cv_file_magic_test_file=
58306338 lt_cv_deplibs_check_method='unknown'
60206528 esac
60216529
60226530 fi
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6024 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6532 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
60256533
60266534 file_magic_glob=
60276535 want_nocaseglob=no
60656573 if test -n "$ac_tool_prefix"; then
60666574 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
60676575 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 $as_echo_n "checking for $ac_word... " >&6; }
6070 if ${ac_cv_prog_DLLTOOL+:} false; then :
6071 $as_echo_n "(cached) " >&6
6072 else
6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 printf %s "checking for $ac_word... " >&6; }
6578 if test ${ac_cv_prog_DLLTOOL+y}
6579 then :
6580 printf %s "(cached) " >&6
6581 else $as_nop
60736582 if test -n "$DLLTOOL"; then
60746583 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
60756584 else
60776586 for as_dir in $PATH
60786587 do
60796588 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6589 case $as_dir in #(((
6590 '') as_dir=./ ;;
6591 */) ;;
6592 *) as_dir=$as_dir/ ;;
6593 esac
60816594 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6595 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
60836596 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
60856598 break 2
60866599 fi
60876600 done
60926605 fi
60936606 DLLTOOL=$ac_cv_prog_DLLTOOL
60946607 if test -n "$DLLTOOL"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6096 $as_echo "$DLLTOOL" >&6; }
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6609 printf "%s\n" "$DLLTOOL" >&6; }
60976610 else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 printf "%s\n" "no" >&6; }
61006613 fi
61016614
61026615
61056618 ac_ct_DLLTOOL=$DLLTOOL
61066619 # Extract the first word of "dlltool", so it can be a program name with args.
61076620 set dummy dlltool; ac_word=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6111 $as_echo_n "(cached) " >&6
6112 else
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 printf %s "checking for $ac_word... " >&6; }
6623 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6624 then :
6625 printf %s "(cached) " >&6
6626 else $as_nop
61136627 if test -n "$ac_ct_DLLTOOL"; then
61146628 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
61156629 else
61176631 for as_dir in $PATH
61186632 do
61196633 IFS=$as_save_IFS
6120 test -z "$as_dir" && as_dir=.
6634 case $as_dir in #(((
6635 '') as_dir=./ ;;
6636 */) ;;
6637 *) as_dir=$as_dir/ ;;
6638 esac
61216639 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6640 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
61236641 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
61256643 break 2
61266644 fi
61276645 done
61326650 fi
61336651 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
61346652 if test -n "$ac_ct_DLLTOOL"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6136 $as_echo "$ac_ct_DLLTOOL" >&6; }
6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6654 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
61376655 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 printf "%s\n" "no" >&6; }
61406658 fi
61416659
61426660 if test "x$ac_ct_DLLTOOL" = x; then
61446662 else
61456663 case $cross_compiling:$ac_tool_warned in
61466664 yes:)
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6666 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
61496667 ac_tool_warned=yes ;;
61506668 esac
61516669 DLLTOOL=$ac_ct_DLLTOOL
61656683
61666684
61676685
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6169 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6170 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6687 printf %s "checking how to associate runtime and link libraries... " >&6; }
6688 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6689 then :
6690 printf %s "(cached) " >&6
6691 else $as_nop
61736692 lt_cv_sharedlib_from_linklib_cmd='unknown'
61746693
61756694 case $host_os in
61926711 esac
61936712
61946713 fi
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6196 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6715 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
61976716 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
61986717 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
61996718
62096728 do
62106729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
62116730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if ${ac_cv_prog_AR+:} false; then :
6215 $as_echo_n "(cached) " >&6
6216 else
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s "checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_AR+y}
6734 then :
6735 printf %s "(cached) " >&6
6736 else $as_nop
62176737 if test -n "$AR"; then
62186738 ac_cv_prog_AR="$AR" # Let the user override the test.
62196739 else
62216741 for as_dir in $PATH
62226742 do
62236743 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6744 case $as_dir in #(((
6745 '') as_dir=./ ;;
6746 */) ;;
6747 *) as_dir=$as_dir/ ;;
6748 esac
62256749 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
62276751 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
62296753 break 2
62306754 fi
62316755 done
62366760 fi
62376761 AR=$ac_cv_prog_AR
62386762 if test -n "$AR"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6240 $as_echo "$AR" >&6; }
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6764 printf "%s\n" "$AR" >&6; }
62416765 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
62446768 fi
62456769
62466770
62536777 do
62546778 # Extract the first word of "$ac_prog", so it can be a program name with args.
62556779 set dummy $ac_prog; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6259 $as_echo_n "(cached) " >&6
6260 else
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 printf %s "checking for $ac_word... " >&6; }
6782 if test ${ac_cv_prog_ac_ct_AR+y}
6783 then :
6784 printf %s "(cached) " >&6
6785 else $as_nop
62616786 if test -n "$ac_ct_AR"; then
62626787 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
62636788 else
62656790 for as_dir in $PATH
62666791 do
62676792 IFS=$as_save_IFS
6268 test -z "$as_dir" && as_dir=.
6793 case $as_dir in #(((
6794 '') as_dir=./ ;;
6795 */) ;;
6796 *) as_dir=$as_dir/ ;;
6797 esac
62696798 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
62716800 ac_cv_prog_ac_ct_AR="$ac_prog"
6272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
62736802 break 2
62746803 fi
62756804 done
62806809 fi
62816810 ac_ct_AR=$ac_cv_prog_ac_ct_AR
62826811 if test -n "$ac_ct_AR"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6284 $as_echo "$ac_ct_AR" >&6; }
6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6813 printf "%s\n" "$ac_ct_AR" >&6; }
62856814 else
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 printf "%s\n" "no" >&6; }
62886817 fi
62896818
62906819
62966825 else
62976826 case $cross_compiling:$ac_tool_warned in
62986827 yes:)
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6829 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
63016830 ac_tool_warned=yes ;;
63026831 esac
63036832 AR=$ac_ct_AR
63176846
63186847
63196848
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6321 $as_echo_n "checking for archiver @FILE support... " >&6; }
6322 if ${lt_cv_ar_at_file+:} false; then :
6323 $as_echo_n "(cached) " >&6
6324 else
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6850 printf %s "checking for archiver @FILE support... " >&6; }
6851 if test ${lt_cv_ar_at_file+y}
6852 then :
6853 printf %s "(cached) " >&6
6854 else $as_nop
63256855 lt_cv_ar_at_file=no
63266856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63276857 /* end confdefs.h. */
63286858
63296859 int
6330 main ()
6860 main (void)
63316861 {
63326862
63336863 ;
63346864 return 0;
63356865 }
63366866 _ACEOF
6337 if ac_fn_c_try_compile "$LINENO"; then :
6867 if ac_fn_c_try_compile "$LINENO"
6868 then :
63386869 echo conftest.$ac_objext > conftest.lst
63396870 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
63406871 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
63416872 (eval $lt_ar_try) 2>&5
63426873 ac_status=$?
6343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63446875 test $ac_status = 0; }
63456876 if test 0 -eq "$ac_status"; then
63466877 # Ensure the archiver fails upon bogus file names.
63486879 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
63496880 (eval $lt_ar_try) 2>&5
63506881 ac_status=$?
6351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
63526883 test $ac_status = 0; }
63536884 if test 0 -ne "$ac_status"; then
63546885 lt_cv_ar_at_file=@
63576888 rm -f conftest.* libconftest.a
63586889
63596890 fi
6360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6361
6362 fi
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6364 $as_echo "$lt_cv_ar_at_file" >&6; }
6891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6892
6893 fi
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6895 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
63656896
63666897 if test no = "$lt_cv_ar_at_file"; then
63676898 archiver_list_spec=
63786909 if test -n "$ac_tool_prefix"; then
63796910 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
63806911 set dummy ${ac_tool_prefix}strip; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if ${ac_cv_prog_STRIP+:} false; then :
6384 $as_echo_n "(cached) " >&6
6385 else
6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913 printf %s "checking for $ac_word... " >&6; }
6914 if test ${ac_cv_prog_STRIP+y}
6915 then :
6916 printf %s "(cached) " >&6
6917 else $as_nop
63866918 if test -n "$STRIP"; then
63876919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
63886920 else
63906922 for as_dir in $PATH
63916923 do
63926924 IFS=$as_save_IFS
6393 test -z "$as_dir" && as_dir=.
6925 case $as_dir in #(((
6926 '') as_dir=./ ;;
6927 */) ;;
6928 *) as_dir=$as_dir/ ;;
6929 esac
63946930 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6931 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
63966932 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
63986934 break 2
63996935 fi
64006936 done
64056941 fi
64066942 STRIP=$ac_cv_prog_STRIP
64076943 if test -n "$STRIP"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6409 $as_echo "$STRIP" >&6; }
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6945 printf "%s\n" "$STRIP" >&6; }
64106946 else
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 $as_echo "no" >&6; }
6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 printf "%s\n" "no" >&6; }
64136949 fi
64146950
64156951
64186954 ac_ct_STRIP=$STRIP
64196955 # Extract the first word of "strip", so it can be a program name with args.
64206956 set dummy strip; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 printf %s "checking for $ac_word... " >&6; }
6959 if test ${ac_cv_prog_ac_ct_STRIP+y}
6960 then :
6961 printf %s "(cached) " >&6
6962 else $as_nop
64266963 if test -n "$ac_ct_STRIP"; then
64276964 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
64286965 else
64306967 for as_dir in $PATH
64316968 do
64326969 IFS=$as_save_IFS
6433 test -z "$as_dir" && as_dir=.
6970 case $as_dir in #(((
6971 '') as_dir=./ ;;
6972 */) ;;
6973 *) as_dir=$as_dir/ ;;
6974 esac
64346975 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
64366977 ac_cv_prog_ac_ct_STRIP="strip"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
64386979 break 2
64396980 fi
64406981 done
64456986 fi
64466987 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
64476988 if test -n "$ac_ct_STRIP"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6449 $as_echo "$ac_ct_STRIP" >&6; }
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6990 printf "%s\n" "$ac_ct_STRIP" >&6; }
64506991 else
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 printf "%s\n" "no" >&6; }
64536994 fi
64546995
64556996 if test "x$ac_ct_STRIP" = x; then
64576998 else
64586999 case $cross_compiling:$ac_tool_warned in
64597000 yes:)
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
64627003 ac_tool_warned=yes ;;
64637004 esac
64647005 STRIP=$ac_ct_STRIP
64777018 if test -n "$ac_tool_prefix"; then
64787019 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
64797020 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6481 $as_echo_n "checking for $ac_word... " >&6; }
6482 if ${ac_cv_prog_RANLIB+:} false; then :
6483 $as_echo_n "(cached) " >&6
6484 else
7021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 printf %s "checking for $ac_word... " >&6; }
7023 if test ${ac_cv_prog_RANLIB+y}
7024 then :
7025 printf %s "(cached) " >&6
7026 else $as_nop
64857027 if test -n "$RANLIB"; then
64867028 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
64877029 else
64897031 for as_dir in $PATH
64907032 do
64917033 IFS=$as_save_IFS
6492 test -z "$as_dir" && as_dir=.
7034 case $as_dir in #(((
7035 '') as_dir=./ ;;
7036 */) ;;
7037 *) as_dir=$as_dir/ ;;
7038 esac
64937039 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7040 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
64957041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
64977043 break 2
64987044 fi
64997045 done
65047050 fi
65057051 RANLIB=$ac_cv_prog_RANLIB
65067052 if test -n "$RANLIB"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6508 $as_echo "$RANLIB" >&6; }
7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7054 printf "%s\n" "$RANLIB" >&6; }
65097055 else
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 $as_echo "no" >&6; }
7056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 printf "%s\n" "no" >&6; }
65127058 fi
65137059
65147060
65177063 ac_ct_RANLIB=$RANLIB
65187064 # Extract the first word of "ranlib", so it can be a program name with args.
65197065 set dummy ranlib; ac_word=$2
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6521 $as_echo_n "checking for $ac_word... " >&6; }
6522 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6523 $as_echo_n "(cached) " >&6
6524 else
7066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 printf %s "checking for $ac_word... " >&6; }
7068 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7069 then :
7070 printf %s "(cached) " >&6
7071 else $as_nop
65257072 if test -n "$ac_ct_RANLIB"; then
65267073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
65277074 else
65297076 for as_dir in $PATH
65307077 do
65317078 IFS=$as_save_IFS
6532 test -z "$as_dir" && as_dir=.
7079 case $as_dir in #(((
7080 '') as_dir=./ ;;
7081 */) ;;
7082 *) as_dir=$as_dir/ ;;
7083 esac
65337084 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7085 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
65357086 ac_cv_prog_ac_ct_RANLIB="ranlib"
6536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
65377088 break 2
65387089 fi
65397090 done
65447095 fi
65457096 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
65467097 if test -n "$ac_ct_RANLIB"; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6548 $as_echo "$ac_ct_RANLIB" >&6; }
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7099 printf "%s\n" "$ac_ct_RANLIB" >&6; }
65497100 else
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6551 $as_echo "no" >&6; }
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 printf "%s\n" "no" >&6; }
65527103 fi
65537104
65547105 if test "x$ac_ct_RANLIB" = x; then
65567107 else
65577108 case $cross_compiling:$ac_tool_warned in
65587109 yes:)
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7111 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
65617112 ac_tool_warned=yes ;;
65627113 esac
65637114 RANLIB=$ac_ct_RANLIB
66467197
66477198
66487199 # Check for command to grab the raw symbol name followed by C symbol from nm.
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6650 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6651 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6652 $as_echo_n "(cached) " >&6
6653 else
7200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7201 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
7202 if test ${lt_cv_sys_global_symbol_pipe+y}
7203 then :
7204 printf %s "(cached) " >&6
7205 else $as_nop
66547206
66557207 # These are sane defaults that work on at least a few old systems.
66567208 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
68027354 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
68037355 (eval $ac_compile) 2>&5
68047356 ac_status=$?
6805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68067358 test $ac_status = 0; }; then
68077359 # Now try to grab the symbols.
68087360 nlist=conftest.nm
68757427 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
68767428 (eval $ac_link) 2>&5
68777429 ac_status=$?
6878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68797431 test $ac_status = 0; } && test -s conftest$ac_exeext; then
68807432 pipe_works=yes
68817433 fi
69107462 lt_cv_sys_global_symbol_to_cdecl=
69117463 fi
69127464 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6914 $as_echo "failed" >&6; }
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7466 printf "%s\n" "failed" >&6; }
69157467 else
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6917 $as_echo "ok" >&6; }
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7469 printf "%s\n" "ok" >&6; }
69187470 fi
69197471
69207472 # Response file support.
69607512
69617513
69627514
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6964 $as_echo_n "checking for sysroot... " >&6; }
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7516 printf %s "checking for sysroot... " >&6; }
69657517
69667518 # Check whether --with-sysroot was given.
6967 if test "${with_sysroot+set}" = set; then :
7519 if test ${with_sysroot+y}
7520 then :
69687521 withval=$with_sysroot;
6969 else
7522 else $as_nop
69707523 with_sysroot=no
69717524 fi
69727525
69847537 no|'')
69857538 ;; #(
69867539 *)
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6988 $as_echo "$with_sysroot" >&6; }
7540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7541 printf "%s\n" "$with_sysroot" >&6; }
69897542 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
69907543 ;;
69917544 esac
69927545
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6994 $as_echo "${lt_sysroot:-no}" >&6; }
6995
6996
6997
6998
6999
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7001 $as_echo_n "checking for a working dd... " >&6; }
7002 if ${ac_cv_path_lt_DD+:} false; then :
7003 $as_echo_n "(cached) " >&6
7004 else
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7547 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7548
7549
7550
7551
7552
7553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7554 printf %s "checking for a working dd... " >&6; }
7555 if test ${ac_cv_path_lt_DD+y}
7556 then :
7557 printf %s "(cached) " >&6
7558 else $as_nop
70057559 printf 0123456789abcdef0123456789abcdef >conftest.i
70067560 cat conftest.i conftest.i >conftest2.i
70077561 : ${lt_DD:=$DD}
70127566 for as_dir in $PATH
70137567 do
70147568 IFS=$as_save_IFS
7015 test -z "$as_dir" && as_dir=.
7016 for ac_prog in dd; do
7569 case $as_dir in #(((
7570 '') as_dir=./ ;;
7571 */) ;;
7572 *) as_dir=$as_dir/ ;;
7573 esac
7574 for ac_prog in dd
7575 do
70177576 for ac_exec_ext in '' $ac_executable_extensions; do
7018 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7577 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
70197578 as_fn_executable_p "$ac_path_lt_DD" || continue
70207579 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
70217580 cmp -s conftest.i conftest.out \
70357594
70367595 rm -f conftest.i conftest2.i conftest.out
70377596 fi
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7039 $as_echo "$ac_cv_path_lt_DD" >&6; }
7040
7041
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7043 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7044 if ${lt_cv_truncate_bin+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7598 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7599
7600
7601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7602 printf %s "checking how to truncate binary pipes... " >&6; }
7603 if test ${lt_cv_truncate_bin+y}
7604 then :
7605 printf %s "(cached) " >&6
7606 else $as_nop
70477607 printf 0123456789abcdef0123456789abcdef >conftest.i
70487608 cat conftest.i conftest.i >conftest2.i
70497609 lt_cv_truncate_bin=
70547614 rm -f conftest.i conftest2.i conftest.out
70557615 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
70567616 fi
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7058 $as_echo "$lt_cv_truncate_bin" >&6; }
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7618 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
70597619
70607620
70617621
70787638 }
70797639
70807640 # Check whether --enable-libtool-lock was given.
7081 if test "${enable_libtool_lock+set}" = set; then :
7641 if test ${enable_libtool_lock+y}
7642 then :
70827643 enableval=$enable_libtool_lock;
70837644 fi
70847645
70947655 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
70957656 (eval $ac_compile) 2>&5
70967657 ac_status=$?
7097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
70987659 test $ac_status = 0; }; then
70997660 case `/usr/bin/file conftest.$ac_objext` in
71007661 *ELF-32*)
71147675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
71157676 (eval $ac_compile) 2>&5
71167677 ac_status=$?
7117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
71187679 test $ac_status = 0; }; then
71197680 if test yes = "$lt_cv_prog_gnu_ld"; then
71207681 case `/usr/bin/file conftest.$ac_objext` in
71527713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
71537714 (eval $ac_compile) 2>&5
71547715 ac_status=$?
7155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
71567717 test $ac_status = 0; }; then
71577718 emul=elf
71587719 case `/usr/bin/file conftest.$ac_objext` in
71937754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
71947755 (eval $ac_compile) 2>&5
71957756 ac_status=$?
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
71977758 test $ac_status = 0; }; then
71987759 case `/usr/bin/file conftest.o` in
71997760 *32-bit*)
72567817 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
72577818 SAVE_CFLAGS=$CFLAGS
72587819 CFLAGS="$CFLAGS -belf"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7260 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7261 if ${lt_cv_cc_needs_belf+:} false; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7821 printf %s "checking whether the C compiler needs -belf... " >&6; }
7822 if test ${lt_cv_cc_needs_belf+y}
7823 then :
7824 printf %s "(cached) " >&6
7825 else $as_nop
72647826 ac_ext=c
72657827 ac_cpp='$CPP $CPPFLAGS'
72667828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72717833 /* end confdefs.h. */
72727834
72737835 int
7274 main ()
7836 main (void)
72757837 {
72767838
72777839 ;
72787840 return 0;
72797841 }
72807842 _ACEOF
7281 if ac_fn_c_try_link "$LINENO"; then :
7843 if ac_fn_c_try_link "$LINENO"
7844 then :
72827845 lt_cv_cc_needs_belf=yes
7283 else
7846 else $as_nop
72847847 lt_cv_cc_needs_belf=no
72857848 fi
7286 rm -f core conftest.err conftest.$ac_objext \
7849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
72877850 conftest$ac_exeext conftest.$ac_ext
72887851 ac_ext=c
72897852 ac_cpp='$CPP $CPPFLAGS'
72927855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72937856
72947857 fi
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7296 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7859 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
72977860 if test yes != "$lt_cv_cc_needs_belf"; then
72987861 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
72997862 CFLAGS=$SAVE_CFLAGS
73067869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
73077870 (eval $ac_compile) 2>&5
73087871 ac_status=$?
7309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
73107873 test $ac_status = 0; }; then
73117874 case `/usr/bin/file conftest.o` in
73127875 *64-bit*)
73437906 if test -n "$ac_tool_prefix"; then
73447907 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
73457908 set dummy ${ac_tool_prefix}mt; ac_word=$2
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7347 $as_echo_n "checking for $ac_word... " >&6; }
7348 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7349 $as_echo_n "(cached) " >&6
7350 else
7909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7910 printf %s "checking for $ac_word... " >&6; }
7911 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7912 then :
7913 printf %s "(cached) " >&6
7914 else $as_nop
73517915 if test -n "$MANIFEST_TOOL"; then
73527916 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
73537917 else
73557919 for as_dir in $PATH
73567920 do
73577921 IFS=$as_save_IFS
7358 test -z "$as_dir" && as_dir=.
7922 case $as_dir in #(((
7923 '') as_dir=./ ;;
7924 */) ;;
7925 *) as_dir=$as_dir/ ;;
7926 esac
73597927 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7928 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
73617929 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
73637931 break 2
73647932 fi
73657933 done
73707938 fi
73717939 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
73727940 if test -n "$MANIFEST_TOOL"; then
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7374 $as_echo "$MANIFEST_TOOL" >&6; }
7941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7942 printf "%s\n" "$MANIFEST_TOOL" >&6; }
73757943 else
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 $as_echo "no" >&6; }
7944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 printf "%s\n" "no" >&6; }
73787946 fi
73797947
73807948
73837951 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
73847952 # Extract the first word of "mt", so it can be a program name with args.
73857953 set dummy mt; ac_word=$2
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 $as_echo_n "checking for $ac_word... " >&6; }
7388 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7389 $as_echo_n "(cached) " >&6
7390 else
7954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 printf %s "checking for $ac_word... " >&6; }
7956 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7957 then :
7958 printf %s "(cached) " >&6
7959 else $as_nop
73917960 if test -n "$ac_ct_MANIFEST_TOOL"; then
73927961 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
73937962 else
73957964 for as_dir in $PATH
73967965 do
73977966 IFS=$as_save_IFS
7398 test -z "$as_dir" && as_dir=.
7967 case $as_dir in #(((
7968 '') as_dir=./ ;;
7969 */) ;;
7970 *) as_dir=$as_dir/ ;;
7971 esac
73997972 for ac_exec_ext in '' $ac_executable_extensions; do
7400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
74017974 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
74037976 break 2
74047977 fi
74057978 done
74107983 fi
74117984 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
74127985 if test -n "$ac_ct_MANIFEST_TOOL"; then
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7414 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7987 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
74157988 else
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 $as_echo "no" >&6; }
7989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 printf "%s\n" "no" >&6; }
74187991 fi
74197992
74207993 if test "x$ac_ct_MANIFEST_TOOL" = x; then
74227995 else
74237996 case $cross_compiling:$ac_tool_warned in
74247997 yes:)
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7999 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
74278000 ac_tool_warned=yes ;;
74288001 esac
74298002 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
74338006 fi
74348007
74358008 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7437 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7438 if ${lt_cv_path_mainfest_tool+:} false; then :
7439 $as_echo_n "(cached) " >&6
7440 else
8009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8010 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8011 if test ${lt_cv_path_mainfest_tool+y}
8012 then :
8013 printf %s "(cached) " >&6
8014 else $as_nop
74418015 lt_cv_path_mainfest_tool=no
74428016 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
74438017 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
74478021 fi
74488022 rm -f conftest*
74498023 fi
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7451 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8025 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
74528026 if test yes != "$lt_cv_path_mainfest_tool"; then
74538027 MANIFEST_TOOL=:
74548028 fi
74638037 if test -n "$ac_tool_prefix"; then
74648038 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
74658039 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7469 $as_echo_n "(cached) " >&6
7470 else
8040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8041 printf %s "checking for $ac_word... " >&6; }
8042 if test ${ac_cv_prog_DSYMUTIL+y}
8043 then :
8044 printf %s "(cached) " >&6
8045 else $as_nop
74718046 if test -n "$DSYMUTIL"; then
74728047 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
74738048 else
74758050 for as_dir in $PATH
74768051 do
74778052 IFS=$as_save_IFS
7478 test -z "$as_dir" && as_dir=.
8053 case $as_dir in #(((
8054 '') as_dir=./ ;;
8055 */) ;;
8056 *) as_dir=$as_dir/ ;;
8057 esac
74798058 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8059 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
74818060 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
74838062 break 2
74848063 fi
74858064 done
74908069 fi
74918070 DSYMUTIL=$ac_cv_prog_DSYMUTIL
74928071 if test -n "$DSYMUTIL"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7494 $as_echo "$DSYMUTIL" >&6; }
8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8073 printf "%s\n" "$DSYMUTIL" >&6; }
74958074 else
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
8075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 printf "%s\n" "no" >&6; }
74988077 fi
74998078
75008079
75038082 ac_ct_DSYMUTIL=$DSYMUTIL
75048083 # Extract the first word of "dsymutil", so it can be a program name with args.
75058084 set dummy dsymutil; ac_word=$2
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507 $as_echo_n "checking for $ac_word... " >&6; }
7508 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7509 $as_echo_n "(cached) " >&6
7510 else
8085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8086 printf %s "checking for $ac_word... " >&6; }
8087 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
8088 then :
8089 printf %s "(cached) " >&6
8090 else $as_nop
75118091 if test -n "$ac_ct_DSYMUTIL"; then
75128092 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
75138093 else
75158095 for as_dir in $PATH
75168096 do
75178097 IFS=$as_save_IFS
7518 test -z "$as_dir" && as_dir=.
8098 case $as_dir in #(((
8099 '') as_dir=./ ;;
8100 */) ;;
8101 *) as_dir=$as_dir/ ;;
8102 esac
75198103 for ac_exec_ext in '' $ac_executable_extensions; do
7520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8104 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
75218105 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
75238107 break 2
75248108 fi
75258109 done
75308114 fi
75318115 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
75328116 if test -n "$ac_ct_DSYMUTIL"; then
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7534 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8118 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
75358119 else
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
8120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 printf "%s\n" "no" >&6; }
75388122 fi
75398123
75408124 if test "x$ac_ct_DSYMUTIL" = x; then
75428126 else
75438127 case $cross_compiling:$ac_tool_warned in
75448128 yes:)
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8130 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
75478131 ac_tool_warned=yes ;;
75488132 esac
75498133 DSYMUTIL=$ac_ct_DSYMUTIL
75558139 if test -n "$ac_tool_prefix"; then
75568140 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
75578141 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if ${ac_cv_prog_NMEDIT+:} false; then :
7561 $as_echo_n "(cached) " >&6
7562 else
8142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143 printf %s "checking for $ac_word... " >&6; }
8144 if test ${ac_cv_prog_NMEDIT+y}
8145 then :
8146 printf %s "(cached) " >&6
8147 else $as_nop
75638148 if test -n "$NMEDIT"; then
75648149 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
75658150 else
75678152 for as_dir in $PATH
75688153 do
75698154 IFS=$as_save_IFS
7570 test -z "$as_dir" && as_dir=.
8155 case $as_dir in #(((
8156 '') as_dir=./ ;;
8157 */) ;;
8158 *) as_dir=$as_dir/ ;;
8159 esac
75718160 for ac_exec_ext in '' $ac_executable_extensions; do
7572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8161 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
75738162 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
75758164 break 2
75768165 fi
75778166 done
75828171 fi
75838172 NMEDIT=$ac_cv_prog_NMEDIT
75848173 if test -n "$NMEDIT"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7586 $as_echo "$NMEDIT" >&6; }
8174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8175 printf "%s\n" "$NMEDIT" >&6; }
75878176 else
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
8177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 printf "%s\n" "no" >&6; }
75908179 fi
75918180
75928181
75958184 ac_ct_NMEDIT=$NMEDIT
75968185 # Extract the first word of "nmedit", so it can be a program name with args.
75978186 set dummy nmedit; ac_word=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7599 $as_echo_n "checking for $ac_word... " >&6; }
7600 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7601 $as_echo_n "(cached) " >&6
7602 else
8187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8188 printf %s "checking for $ac_word... " >&6; }
8189 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
8190 then :
8191 printf %s "(cached) " >&6
8192 else $as_nop
76038193 if test -n "$ac_ct_NMEDIT"; then
76048194 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
76058195 else
76078197 for as_dir in $PATH
76088198 do
76098199 IFS=$as_save_IFS
7610 test -z "$as_dir" && as_dir=.
8200 case $as_dir in #(((
8201 '') as_dir=./ ;;
8202 */) ;;
8203 *) as_dir=$as_dir/ ;;
8204 esac
76118205 for ac_exec_ext in '' $ac_executable_extensions; do
7612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
76138207 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
76158209 break 2
76168210 fi
76178211 done
76228216 fi
76238217 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
76248218 if test -n "$ac_ct_NMEDIT"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7626 $as_echo "$ac_ct_NMEDIT" >&6; }
8219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8220 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
76278221 else
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 $as_echo "no" >&6; }
8222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 printf "%s\n" "no" >&6; }
76308224 fi
76318225
76328226 if test "x$ac_ct_NMEDIT" = x; then
76348228 else
76358229 case $cross_compiling:$ac_tool_warned in
76368230 yes:)
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8232 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
76398233 ac_tool_warned=yes ;;
76408234 esac
76418235 NMEDIT=$ac_ct_NMEDIT
76478241 if test -n "$ac_tool_prefix"; then
76488242 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
76498243 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if ${ac_cv_prog_LIPO+:} false; then :
7653 $as_echo_n "(cached) " >&6
7654 else
8244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8245 printf %s "checking for $ac_word... " >&6; }
8246 if test ${ac_cv_prog_LIPO+y}
8247 then :
8248 printf %s "(cached) " >&6
8249 else $as_nop
76558250 if test -n "$LIPO"; then
76568251 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
76578252 else
76598254 for as_dir in $PATH
76608255 do
76618256 IFS=$as_save_IFS
7662 test -z "$as_dir" && as_dir=.
8257 case $as_dir in #(((
8258 '') as_dir=./ ;;
8259 */) ;;
8260 *) as_dir=$as_dir/ ;;
8261 esac
76638262 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8263 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
76658264 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
76678266 break 2
76688267 fi
76698268 done
76748273 fi
76758274 LIPO=$ac_cv_prog_LIPO
76768275 if test -n "$LIPO"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7678 $as_echo "$LIPO" >&6; }
8276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8277 printf "%s\n" "$LIPO" >&6; }
76798278 else
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
8279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 printf "%s\n" "no" >&6; }
76828281 fi
76838282
76848283
76878286 ac_ct_LIPO=$LIPO
76888287 # Extract the first word of "lipo", so it can be a program name with args.
76898288 set dummy lipo; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7693 $as_echo_n "(cached) " >&6
7694 else
8289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8290 printf %s "checking for $ac_word... " >&6; }
8291 if test ${ac_cv_prog_ac_ct_LIPO+y}
8292 then :
8293 printf %s "(cached) " >&6
8294 else $as_nop
76958295 if test -n "$ac_ct_LIPO"; then
76968296 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
76978297 else
76998299 for as_dir in $PATH
77008300 do
77018301 IFS=$as_save_IFS
7702 test -z "$as_dir" && as_dir=.
8302 case $as_dir in #(((
8303 '') as_dir=./ ;;
8304 */) ;;
8305 *) as_dir=$as_dir/ ;;
8306 esac
77038307 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
77058309 ac_cv_prog_ac_ct_LIPO="lipo"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
77078311 break 2
77088312 fi
77098313 done
77148318 fi
77158319 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
77168320 if test -n "$ac_ct_LIPO"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7718 $as_echo "$ac_ct_LIPO" >&6; }
8321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8322 printf "%s\n" "$ac_ct_LIPO" >&6; }
77198323 else
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8325 printf "%s\n" "no" >&6; }
77228326 fi
77238327
77248328 if test "x$ac_ct_LIPO" = x; then
77268330 else
77278331 case $cross_compiling:$ac_tool_warned in
77288332 yes:)
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8334 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
77318335 ac_tool_warned=yes ;;
77328336 esac
77338337 LIPO=$ac_ct_LIPO
77398343 if test -n "$ac_tool_prefix"; then
77408344 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
77418345 set dummy ${ac_tool_prefix}otool; ac_word=$2
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7743 $as_echo_n "checking for $ac_word... " >&6; }
7744 if ${ac_cv_prog_OTOOL+:} false; then :
7745 $as_echo_n "(cached) " >&6
7746 else
8346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8347 printf %s "checking for $ac_word... " >&6; }
8348 if test ${ac_cv_prog_OTOOL+y}
8349 then :
8350 printf %s "(cached) " >&6
8351 else $as_nop
77478352 if test -n "$OTOOL"; then
77488353 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
77498354 else
77518356 for as_dir in $PATH
77528357 do
77538358 IFS=$as_save_IFS
7754 test -z "$as_dir" && as_dir=.
8359 case $as_dir in #(((
8360 '') as_dir=./ ;;
8361 */) ;;
8362 *) as_dir=$as_dir/ ;;
8363 esac
77558364 for ac_exec_ext in '' $ac_executable_extensions; do
7756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8365 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
77578366 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
77598368 break 2
77608369 fi
77618370 done
77668375 fi
77678376 OTOOL=$ac_cv_prog_OTOOL
77688377 if test -n "$OTOOL"; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7770 $as_echo "$OTOOL" >&6; }
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8379 printf "%s\n" "$OTOOL" >&6; }
77718380 else
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7773 $as_echo "no" >&6; }
8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8382 printf "%s\n" "no" >&6; }
77748383 fi
77758384
77768385
77798388 ac_ct_OTOOL=$OTOOL
77808389 # Extract the first word of "otool", so it can be a program name with args.
77818390 set dummy otool; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7783 $as_echo_n "checking for $ac_word... " >&6; }
7784 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7785 $as_echo_n "(cached) " >&6
7786 else
8391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8392 printf %s "checking for $ac_word... " >&6; }
8393 if test ${ac_cv_prog_ac_ct_OTOOL+y}
8394 then :
8395 printf %s "(cached) " >&6
8396 else $as_nop
77878397 if test -n "$ac_ct_OTOOL"; then
77888398 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
77898399 else
77918401 for as_dir in $PATH
77928402 do
77938403 IFS=$as_save_IFS
7794 test -z "$as_dir" && as_dir=.
8404 case $as_dir in #(((
8405 '') as_dir=./ ;;
8406 */) ;;
8407 *) as_dir=$as_dir/ ;;
8408 esac
77958409 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
77978411 ac_cv_prog_ac_ct_OTOOL="otool"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
77998413 break 2
78008414 fi
78018415 done
78068420 fi
78078421 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
78088422 if test -n "$ac_ct_OTOOL"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7810 $as_echo "$ac_ct_OTOOL" >&6; }
8423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8424 printf "%s\n" "$ac_ct_OTOOL" >&6; }
78118425 else
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
8426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 printf "%s\n" "no" >&6; }
78148428 fi
78158429
78168430 if test "x$ac_ct_OTOOL" = x; then
78188432 else
78198433 case $cross_compiling:$ac_tool_warned in
78208434 yes:)
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8436 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
78238437 ac_tool_warned=yes ;;
78248438 esac
78258439 OTOOL=$ac_ct_OTOOL
78318445 if test -n "$ac_tool_prefix"; then
78328446 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
78338447 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7835 $as_echo_n "checking for $ac_word... " >&6; }
7836 if ${ac_cv_prog_OTOOL64+:} false; then :
7837 $as_echo_n "(cached) " >&6
7838 else
8448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8449 printf %s "checking for $ac_word... " >&6; }
8450 if test ${ac_cv_prog_OTOOL64+y}
8451 then :
8452 printf %s "(cached) " >&6
8453 else $as_nop
78398454 if test -n "$OTOOL64"; then
78408455 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
78418456 else
78438458 for as_dir in $PATH
78448459 do
78458460 IFS=$as_save_IFS
7846 test -z "$as_dir" && as_dir=.
8461 case $as_dir in #(((
8462 '') as_dir=./ ;;
8463 */) ;;
8464 *) as_dir=$as_dir/ ;;
8465 esac
78478466 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8467 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
78498468 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
78518470 break 2
78528471 fi
78538472 done
78588477 fi
78598478 OTOOL64=$ac_cv_prog_OTOOL64
78608479 if test -n "$OTOOL64"; then
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7862 $as_echo "$OTOOL64" >&6; }
8480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8481 printf "%s\n" "$OTOOL64" >&6; }
78638482 else
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7865 $as_echo "no" >&6; }
8483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8484 printf "%s\n" "no" >&6; }
78668485 fi
78678486
78688487
78718490 ac_ct_OTOOL64=$OTOOL64
78728491 # Extract the first word of "otool64", so it can be a program name with args.
78738492 set dummy otool64; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7877 $as_echo_n "(cached) " >&6
7878 else
8493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8494 printf %s "checking for $ac_word... " >&6; }
8495 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8496 then :
8497 printf %s "(cached) " >&6
8498 else $as_nop
78798499 if test -n "$ac_ct_OTOOL64"; then
78808500 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
78818501 else
78838503 for as_dir in $PATH
78848504 do
78858505 IFS=$as_save_IFS
7886 test -z "$as_dir" && as_dir=.
8506 case $as_dir in #(((
8507 '') as_dir=./ ;;
8508 */) ;;
8509 *) as_dir=$as_dir/ ;;
8510 esac
78878511 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8512 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
78898513 ac_cv_prog_ac_ct_OTOOL64="otool64"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8514 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
78918515 break 2
78928516 fi
78938517 done
78988522 fi
78998523 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
79008524 if test -n "$ac_ct_OTOOL64"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7902 $as_echo "$ac_ct_OTOOL64" >&6; }
8525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8526 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
79038527 else
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
8528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8529 printf "%s\n" "no" >&6; }
79068530 fi
79078531
79088532 if test "x$ac_ct_OTOOL64" = x; then
79108534 else
79118535 case $cross_compiling:$ac_tool_warned in
79128536 yes:)
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8538 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
79158539 ac_tool_warned=yes ;;
79168540 esac
79178541 OTOOL64=$ac_ct_OTOOL64
79468570
79478571
79488572
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7950 $as_echo_n "checking for -single_module linker flag... " >&6; }
7951 if ${lt_cv_apple_cc_single_mod+:} false; then :
7952 $as_echo_n "(cached) " >&6
7953 else
8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8574 printf %s "checking for -single_module linker flag... " >&6; }
8575 if test ${lt_cv_apple_cc_single_mod+y}
8576 then :
8577 printf %s "(cached) " >&6
8578 else $as_nop
79548579 lt_cv_apple_cc_single_mod=no
79558580 if test -z "$LT_MULTI_MODULE"; then
79568581 # By default we will add the -single_module flag. You can override
79798604 rm -f conftest.*
79808605 fi
79818606 fi
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7983 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7984
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7986 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7987 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7988 $as_echo_n "(cached) " >&6
7989 else
8607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8608 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8609
8610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8611 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8612 if test ${lt_cv_ld_exported_symbols_list+y}
8613 then :
8614 printf %s "(cached) " >&6
8615 else $as_nop
79908616 lt_cv_ld_exported_symbols_list=no
79918617 save_LDFLAGS=$LDFLAGS
79928618 echo "_main" > conftest.sym
79958621 /* end confdefs.h. */
79968622
79978623 int
7998 main ()
8624 main (void)
79998625 {
80008626
80018627 ;
80028628 return 0;
80038629 }
80048630 _ACEOF
8005 if ac_fn_c_try_link "$LINENO"; then :
8631 if ac_fn_c_try_link "$LINENO"
8632 then :
80068633 lt_cv_ld_exported_symbols_list=yes
8007 else
8634 else $as_nop
80088635 lt_cv_ld_exported_symbols_list=no
80098636 fi
8010 rm -f core conftest.err conftest.$ac_objext \
8637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
80118638 conftest$ac_exeext conftest.$ac_ext
80128639 LDFLAGS=$save_LDFLAGS
80138640
80148641 fi
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8016 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8017
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8019 $as_echo_n "checking for -force_load linker flag... " >&6; }
8020 if ${lt_cv_ld_force_load+:} false; then :
8021 $as_echo_n "(cached) " >&6
8022 else
8642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8643 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8644
8645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8646 printf %s "checking for -force_load linker flag... " >&6; }
8647 if test ${lt_cv_ld_force_load+y}
8648 then :
8649 printf %s "(cached) " >&6
8650 else $as_nop
80238651 lt_cv_ld_force_load=no
80248652 cat > conftest.c << _LT_EOF
80258653 int forced_loaded() { return 2;}
80478675 rm -rf conftest.dSYM
80488676
80498677 fi
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8051 $as_echo "$lt_cv_ld_force_load" >&6; }
8678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8679 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
80528680 case $host_os in
80538681 rhapsody* | darwin1.[012])
80548682 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
80598687 # to the OS version, if on x86, and 10.4, the deployment
80608688 # target defaults to 10.4. Don't you love it?
80618689 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8062 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8690 10.0,*86*-darwin8*|10.0,*-darwin[912]*)
80638691 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
80648692 10.[012][,.]*)
80658693 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8066 10.*)
8694 10.*|11.*)
80678695 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
80688696 esac
80698697 ;;
81198747 esac
81208748 }
81218749
8122 ac_ext=c
8123 ac_cpp='$CPP $CPPFLAGS'
8124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8128 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8129 # On Suns, sometimes $CPP names a directory.
8130 if test -n "$CPP" && test -d "$CPP"; then
8131 CPP=
8132 fi
8133 if test -z "$CPP"; then
8134 if ${ac_cv_prog_CPP+:} false; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 # Double quotes because CPP needs to be expanded
8138 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8139 do
8140 ac_preproc_ok=false
8141 for ac_c_preproc_warn_flag in '' yes
8750 ac_header= ac_cache=
8751 for ac_item in $ac_header_c_list
81428752 do
8143 # Use a header file that comes with gcc, so configuring glibc
8144 # with a fresh cross-compiler works.
8145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8146 # <limits.h> exists even on freestanding compilers.
8147 # On the NeXT, cc -E runs the code through the compiler's parser,
8148 # not just through cpp. "Syntax error" is here to catch this case.
8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 #ifdef __STDC__
8152 # include <limits.h>
8153 #else
8154 # include <assert.h>
8155 #endif
8156 Syntax error
8157 _ACEOF
8158 if ac_fn_c_try_cpp "$LINENO"; then :
8159
8160 else
8161 # Broken: fails on valid input.
8162 continue
8163 fi
8164 rm -f conftest.err conftest.i conftest.$ac_ext
8165
8166 # OK, works on sane cases. Now check whether nonexistent headers
8167 # can be detected and how.
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8170 #include <ac_nonexistent.h>
8171 _ACEOF
8172 if ac_fn_c_try_cpp "$LINENO"; then :
8173 # Broken: success on invalid input.
8174 continue
8175 else
8176 # Passes both tests.
8177 ac_preproc_ok=:
8178 break
8179 fi
8180 rm -f conftest.err conftest.i conftest.$ac_ext
8181
8753 if test $ac_cache; then
8754 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8755 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8756 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8757 fi
8758 ac_header= ac_cache=
8759 elif test $ac_header; then
8760 ac_cache=$ac_item
8761 else
8762 ac_header=$ac_item
8763 fi
81828764 done
8183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8184 rm -f conftest.i conftest.err conftest.$ac_ext
8185 if $ac_preproc_ok; then :
8186 break
8187 fi
8188
8189 done
8190 ac_cv_prog_CPP=$CPP
8191
8192 fi
8193 CPP=$ac_cv_prog_CPP
8194 else
8195 ac_cv_prog_CPP=$CPP
8196 fi
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8198 $as_echo "$CPP" >&6; }
8199 ac_preproc_ok=false
8200 for ac_c_preproc_warn_flag in '' yes
8201 do
8202 # Use a header file that comes with gcc, so configuring glibc
8203 # with a fresh cross-compiler works.
8204 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8205 # <limits.h> exists even on freestanding compilers.
8206 # On the NeXT, cc -E runs the code through the compiler's parser,
8207 # not just through cpp. "Syntax error" is here to catch this case.
8208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8209 /* end confdefs.h. */
8210 #ifdef __STDC__
8211 # include <limits.h>
8212 #else
8213 # include <assert.h>
8214 #endif
8215 Syntax error
8216 _ACEOF
8217 if ac_fn_c_try_cpp "$LINENO"; then :
8218
8219 else
8220 # Broken: fails on valid input.
8221 continue
8222 fi
8223 rm -f conftest.err conftest.i conftest.$ac_ext
8224
8225 # OK, works on sane cases. Now check whether nonexistent headers
8226 # can be detected and how.
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 #include <ac_nonexistent.h>
8230 _ACEOF
8231 if ac_fn_c_try_cpp "$LINENO"; then :
8232 # Broken: success on invalid input.
8233 continue
8234 else
8235 # Passes both tests.
8236 ac_preproc_ok=:
8237 break
8238 fi
8239 rm -f conftest.err conftest.i conftest.$ac_ext
8240
8241 done
8242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8243 rm -f conftest.i conftest.err conftest.$ac_ext
8244 if $ac_preproc_ok; then :
8245
8246 else
8247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8249 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8250 See \`config.log' for more details" "$LINENO" 5; }
8251 fi
8252
8253 ac_ext=c
8254 ac_cpp='$CPP $CPPFLAGS'
8255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8258
8259
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8261 $as_echo_n "checking for ANSI C header files... " >&6; }
8262 if ${ac_cv_header_stdc+:} false; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266 /* end confdefs.h. */
8267 #include <stdlib.h>
8268 #include <stdarg.h>
8269 #include <string.h>
8270 #include <float.h>
8271
8272 int
8273 main ()
8274 {
8275
8276 ;
8277 return 0;
8278 }
8279 _ACEOF
8280 if ac_fn_c_try_compile "$LINENO"; then :
8281 ac_cv_header_stdc=yes
8282 else
8283 ac_cv_header_stdc=no
8284 fi
8285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8286
8287 if test $ac_cv_header_stdc = yes; then
8288 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8290 /* end confdefs.h. */
8291 #include <string.h>
8292
8293 _ACEOF
8294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8295 $EGREP "memchr" >/dev/null 2>&1; then :
8296
8297 else
8298 ac_cv_header_stdc=no
8299 fi
8300 rm -f conftest*
8301
8302 fi
8303
8304 if test $ac_cv_header_stdc = yes; then
8305 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 #include <stdlib.h>
8309
8310 _ACEOF
8311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8312 $EGREP "free" >/dev/null 2>&1; then :
8313
8314 else
8315 ac_cv_header_stdc=no
8316 fi
8317 rm -f conftest*
8318
8319 fi
8320
8321 if test $ac_cv_header_stdc = yes; then
8322 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8323 if test "$cross_compiling" = yes; then :
8324 :
8325 else
8326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 #include <ctype.h>
8329 #include <stdlib.h>
8330 #if ((' ' & 0x0FF) == 0x020)
8331 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8332 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8333 #else
8334 # define ISLOWER(c) \
8335 (('a' <= (c) && (c) <= 'i') \
8336 || ('j' <= (c) && (c) <= 'r') \
8337 || ('s' <= (c) && (c) <= 'z'))
8338 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8339 #endif
8340
8341 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8342 int
8343 main ()
8344 {
8345 int i;
8346 for (i = 0; i < 256; i++)
8347 if (XOR (islower (i), ISLOWER (i))
8348 || toupper (i) != TOUPPER (i))
8349 return 2;
8350 return 0;
8351 }
8352 _ACEOF
8353 if ac_fn_c_try_run "$LINENO"; then :
8354
8355 else
8356 ac_cv_header_stdc=no
8357 fi
8358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8359 conftest.$ac_objext conftest.beam conftest.$ac_ext
8360 fi
8361
8362 fi
8363 fi
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8365 $as_echo "$ac_cv_header_stdc" >&6; }
8366 if test $ac_cv_header_stdc = yes; then
8367
8368 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8369
8370 fi
8371
8372 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8373 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8374 inttypes.h stdint.h unistd.h
8375 do :
8376 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8377 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8765
8766
8767
8768
8769
8770
8771
8772
8773 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8774 then :
8775
8776 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8777
8778 fi
8779 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
83788780 "
8379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8380 cat >>confdefs.h <<_ACEOF
8381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8382 _ACEOF
8383
8384 fi
8385
8386 done
8387
8388
8389 for ac_header in dlfcn.h
8390 do :
8391 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8392 "
8393 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8394 cat >>confdefs.h <<_ACEOF
8395 #define HAVE_DLFCN_H 1
8396 _ACEOF
8397
8398 fi
8399
8400 done
8781 if test "x$ac_cv_header_dlfcn_h" = xyes
8782 then :
8783 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8784
8785 fi
84018786
84028787
84038788
84148799
84158800
84168801 # Check whether --enable-shared was given.
8417 if test "${enable_shared+set}" = set; then :
8802 if test ${enable_shared+y}
8803 then :
84188804 enableval=$enable_shared; p=${PACKAGE-default}
84198805 case $enableval in
84208806 yes) enable_shared=yes ;;
84328818 IFS=$lt_save_ifs
84338819 ;;
84348820 esac
8435 else
8821 else $as_nop
84368822 enable_shared=yes
84378823 fi
84388824
84458831
84468832
84478833 # Check whether --enable-static was given.
8448 if test "${enable_static+set}" = set; then :
8834 if test ${enable_static+y}
8835 then :
84498836 enableval=$enable_static; p=${PACKAGE-default}
84508837 case $enableval in
84518838 yes) enable_static=yes ;;
84638850 IFS=$lt_save_ifs
84648851 ;;
84658852 esac
8466 else
8853 else $as_nop
84678854 enable_static=yes
84688855 fi
84698856
84778864
84788865
84798866 # Check whether --with-pic was given.
8480 if test "${with_pic+set}" = set; then :
8867 if test ${with_pic+y}
8868 then :
84818869 withval=$with_pic; lt_p=${PACKAGE-default}
84828870 case $withval in
84838871 yes|no) pic_mode=$withval ;;
84948882 IFS=$lt_save_ifs
84958883 ;;
84968884 esac
8497 else
8885 else $as_nop
84988886 pic_mode=default
84998887 fi
85008888
85068894
85078895
85088896 # Check whether --enable-fast-install was given.
8509 if test "${enable_fast_install+set}" = set; then :
8897 if test ${enable_fast_install+y}
8898 then :
85108899 enableval=$enable_fast_install; p=${PACKAGE-default}
85118900 case $enableval in
85128901 yes) enable_fast_install=yes ;;
85248913 IFS=$lt_save_ifs
85258914 ;;
85268915 esac
8527 else
8916 else $as_nop
85288917 enable_fast_install=yes
85298918 fi
85308919
85388927 shared_archive_member_spec=
85398928 case $host,$enable_shared in
85408929 power*-*-aix[5-9]*,yes)
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8542 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8931 printf %s "checking which variant of shared library versioning to provide... " >&6; }
85438932
85448933 # Check whether --with-aix-soname was given.
8545 if test "${with_aix_soname+set}" = set; then :
8934 if test ${with_aix_soname+y}
8935 then :
85468936 withval=$with_aix_soname; case $withval in
85478937 aix|svr4|both)
85488938 ;;
85518941 ;;
85528942 esac
85538943 lt_cv_with_aix_soname=$with_aix_soname
8554 else
8555 if ${lt_cv_with_aix_soname+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8944 else $as_nop
8945 if test ${lt_cv_with_aix_soname+y}
8946 then :
8947 printf %s "(cached) " >&6
8948 else $as_nop
85588949 lt_cv_with_aix_soname=aix
85598950 fi
85608951
85618952 with_aix_soname=$lt_cv_with_aix_soname
85628953 fi
85638954
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8565 $as_echo "$with_aix_soname" >&6; }
8955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8956 printf "%s\n" "$with_aix_soname" >&6; }
85668957 if test aix != "$with_aix_soname"; then
85678958 # For the AIX way of multilib, we name the shared archive member
85688959 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
86449035 setopt NO_GLOB_SUBST
86459036 fi
86469037
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8648 $as_echo_n "checking for objdir... " >&6; }
8649 if ${lt_cv_objdir+:} false; then :
8650 $as_echo_n "(cached) " >&6
8651 else
9038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9039 printf %s "checking for objdir... " >&6; }
9040 if test ${lt_cv_objdir+y}
9041 then :
9042 printf %s "(cached) " >&6
9043 else $as_nop
86529044 rm -f .libs 2>/dev/null
86539045 mkdir .libs 2>/dev/null
86549046 if test -d .libs; then
86599051 fi
86609052 rmdir .libs 2>/dev/null
86619053 fi
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8663 $as_echo "$lt_cv_objdir" >&6; }
9054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9055 printf "%s\n" "$lt_cv_objdir" >&6; }
86649056 objdir=$lt_cv_objdir
86659057
86669058
86679059
86689060
86699061
8670 cat >>confdefs.h <<_ACEOF
8671 #define LT_OBJDIR "$lt_cv_objdir/"
8672 _ACEOF
9062 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
86739063
86749064
86759065
87159105 case $deplibs_check_method in
87169106 file_magic*)
87179107 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8719 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8720 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
9108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9109 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
9110 if test ${lt_cv_path_MAGIC_CMD+y}
9111 then :
9112 printf %s "(cached) " >&6
9113 else $as_nop
87239114 case $MAGIC_CMD in
87249115 [\\/*] | ?:[\\/]*)
87259116 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
87689159
87699160 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
87709161 if test -n "$MAGIC_CMD"; then
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8772 $as_echo "$MAGIC_CMD" >&6; }
9162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9163 printf "%s\n" "$MAGIC_CMD" >&6; }
87739164 else
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8775 $as_echo "no" >&6; }
9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9166 printf "%s\n" "no" >&6; }
87769167 fi
87779168
87789169
87819172
87829173 if test -z "$lt_cv_path_MAGIC_CMD"; then
87839174 if test -n "$ac_tool_prefix"; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8785 $as_echo_n "checking for file... " >&6; }
8786 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
9175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9176 printf %s "checking for file... " >&6; }
9177 if test ${lt_cv_path_MAGIC_CMD+y}
9178 then :
9179 printf %s "(cached) " >&6
9180 else $as_nop
87899181 case $MAGIC_CMD in
87909182 [\\/*] | ?:[\\/]*)
87919183 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
88349226
88359227 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
88369228 if test -n "$MAGIC_CMD"; then
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8838 $as_echo "$MAGIC_CMD" >&6; }
9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9230 printf "%s\n" "$MAGIC_CMD" >&6; }
88399231 else
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8841 $as_echo "no" >&6; }
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 printf "%s\n" "no" >&6; }
88429234 fi
88439235
88449236
89239315 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
89249316 esac
89259317
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8927 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8928 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8929 $as_echo_n "(cached) " >&6
8930 else
9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9319 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9320 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
9321 then :
9322 printf %s "(cached) " >&6
9323 else $as_nop
89319324 lt_cv_prog_compiler_rtti_exceptions=no
89329325 ac_outfile=conftest.$ac_objext
89339326 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
89589351 $RM conftest*
89599352
89609353 fi
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8962 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9355 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
89639356
89649357 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
89659358 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
93229715 ;;
93239716 esac
93249717
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9326 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9327 if ${lt_cv_prog_compiler_pic+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9719 printf %s "checking for $compiler option to produce PIC... " >&6; }
9720 if test ${lt_cv_prog_compiler_pic+y}
9721 then :
9722 printf %s "(cached) " >&6
9723 else $as_nop
93309724 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
93319725 fi
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9333 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9727 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
93349728 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
93359729
93369730 #
93379731 # Check to make sure the PIC flag actually works.
93389732 #
93399733 if test -n "$lt_prog_compiler_pic"; then
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9341 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9342 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9735 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9736 if test ${lt_cv_prog_compiler_pic_works+y}
9737 then :
9738 printf %s "(cached) " >&6
9739 else $as_nop
93459740 lt_cv_prog_compiler_pic_works=no
93469741 ac_outfile=conftest.$ac_objext
93479742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
93729767 $RM conftest*
93739768
93749769 fi
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9376 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9771 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
93779772
93789773 if test yes = "$lt_cv_prog_compiler_pic_works"; then
93799774 case $lt_prog_compiler_pic in
94019796 # Check to make sure the static flag actually works.
94029797 #
94039798 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9405 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9406 if ${lt_cv_prog_compiler_static_works+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9800 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9801 if test ${lt_cv_prog_compiler_static_works+y}
9802 then :
9803 printf %s "(cached) " >&6
9804 else $as_nop
94099805 lt_cv_prog_compiler_static_works=no
94109806 save_LDFLAGS=$LDFLAGS
94119807 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
94299825 LDFLAGS=$save_LDFLAGS
94309826
94319827 fi
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9433 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9829 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
94349830
94359831 if test yes = "$lt_cv_prog_compiler_static_works"; then
94369832 :
94449840
94459841
94469842
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9448 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9449 if ${lt_cv_prog_compiler_c_o+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9844 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9845 if test ${lt_cv_prog_compiler_c_o+y}
9846 then :
9847 printf %s "(cached) " >&6
9848 else $as_nop
94529849 lt_cv_prog_compiler_c_o=no
94539850 $RM -r conftest 2>/dev/null
94549851 mkdir conftest
94919888 $RM conftest*
94929889
94939890 fi
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9495 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9496
9497
9498
9499
9500
9501
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9503 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9504 if ${lt_cv_prog_compiler_c_o+:} false; then :
9505 $as_echo_n "(cached) " >&6
9506 else
9891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9892 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9893
9894
9895
9896
9897
9898
9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9900 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9901 if test ${lt_cv_prog_compiler_c_o+y}
9902 then :
9903 printf %s "(cached) " >&6
9904 else $as_nop
95079905 lt_cv_prog_compiler_c_o=no
95089906 $RM -r conftest 2>/dev/null
95099907 mkdir conftest
95469944 $RM conftest*
95479945
95489946 fi
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9550 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9948 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
95519949
95529950
95539951
95559953 hard_links=nottested
95569954 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
95579955 # do not overwrite the value of need_locks provided by the user
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9559 $as_echo_n "checking if we can lock with hard links... " >&6; }
9956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9957 printf %s "checking if we can lock with hard links... " >&6; }
95609958 hard_links=yes
95619959 $RM conftest*
95629960 ln conftest.a conftest.b 2>/dev/null && hard_links=no
95639961 touch conftest.a
95649962 ln conftest.a conftest.b 2>&5 || hard_links=no
95659963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9567 $as_echo "$hard_links" >&6; }
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9965 printf "%s\n" "$hard_links" >&6; }
95689966 if test no = "$hard_links"; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9570 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9968 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
95719969 need_locks=warn
95729970 fi
95739971 else
95799977
95809978
95819979
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9583 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9981 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
95849982
95859983 runpath_var=
95869984 allow_undefined_flag=
1013810536 if test set = "${lt_cv_aix_libpath+set}"; then
1013910537 aix_libpath=$lt_cv_aix_libpath
1014010538 else
10141 if ${lt_cv_aix_libpath_+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10539 if test ${lt_cv_aix_libpath_+y}
10540 then :
10541 printf %s "(cached) " >&6
10542 else $as_nop
1014410543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1014510544 /* end confdefs.h. */
1014610545
1014710546 int
10148 main ()
10547 main (void)
1014910548 {
1015010549
1015110550 ;
1015210551 return 0;
1015310552 }
1015410553 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10554 if ac_fn_c_try_link "$LINENO"
10555 then :
1015610556
1015710557 lt_aix_libpath_sed='
1015810558 /Import File Strings/,/^$/ {
1016710567 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1016810568 fi
1016910569 fi
10170 rm -f core conftest.err conftest.$ac_objext \
10570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1017110571 conftest$ac_exeext conftest.$ac_ext
1017210572 if test -z "$lt_cv_aix_libpath_"; then
1017310573 lt_cv_aix_libpath_=/usr/lib:/lib
1019110591 if test set = "${lt_cv_aix_libpath+set}"; then
1019210592 aix_libpath=$lt_cv_aix_libpath
1019310593 else
10194 if ${lt_cv_aix_libpath_+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10594 if test ${lt_cv_aix_libpath_+y}
10595 then :
10596 printf %s "(cached) " >&6
10597 else $as_nop
1019710598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1019810599 /* end confdefs.h. */
1019910600
1020010601 int
10201 main ()
10602 main (void)
1020210603 {
1020310604
1020410605 ;
1020510606 return 0;
1020610607 }
1020710608 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"; then :
10609 if ac_fn_c_try_link "$LINENO"
10610 then :
1020910611
1021010612 lt_aix_libpath_sed='
1021110613 /Import File Strings/,/^$/ {
1022010622 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1022110623 fi
1022210624 fi
10223 rm -f core conftest.err conftest.$ac_objext \
10625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1022410626 conftest$ac_exeext conftest.$ac_ext
1022510627 if test -z "$lt_cv_aix_libpath_"; then
1022610628 lt_cv_aix_libpath_=/usr/lib:/lib
1047110873
1047210874 # Older versions of the 11.00 compiler do not understand -b yet
1047310875 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10475 $as_echo_n "checking if $CC understands -b... " >&6; }
10476 if ${lt_cv_prog_compiler__b+:} false; then :
10477 $as_echo_n "(cached) " >&6
10478 else
10876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10877 printf %s "checking if $CC understands -b... " >&6; }
10878 if test ${lt_cv_prog_compiler__b+y}
10879 then :
10880 printf %s "(cached) " >&6
10881 else $as_nop
1047910882 lt_cv_prog_compiler__b=no
1048010883 save_LDFLAGS=$LDFLAGS
1048110884 LDFLAGS="$LDFLAGS -b"
1049910902 LDFLAGS=$save_LDFLAGS
1050010903
1050110904 fi
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10503 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10906 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1050410907
1050510908 if test yes = "$lt_cv_prog_compiler__b"; then
1050610909 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1054010943 # work, assume that -exports_file does not work either and
1054110944 # implicitly export all symbols.
1054210945 # This should be the same for all languages, so no per-tag cache variable.
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10544 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10545 if ${lt_cv_irix_exported_symbol+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10947 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10948 if test ${lt_cv_irix_exported_symbol+y}
10949 then :
10950 printf %s "(cached) " >&6
10951 else $as_nop
1054810952 save_LDFLAGS=$LDFLAGS
1054910953 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1055010954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1055110955 /* end confdefs.h. */
1055210956 int foo (void) { return 0; }
1055310957 _ACEOF
10554 if ac_fn_c_try_link "$LINENO"; then :
10958 if ac_fn_c_try_link "$LINENO"
10959 then :
1055510960 lt_cv_irix_exported_symbol=yes
10556 else
10961 else $as_nop
1055710962 lt_cv_irix_exported_symbol=no
1055810963 fi
10559 rm -f core conftest.err conftest.$ac_objext \
10964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1056010965 conftest$ac_exeext conftest.$ac_ext
1056110966 LDFLAGS=$save_LDFLAGS
1056210967 fi
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10564 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10969 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
1056510970 if test yes = "$lt_cv_irix_exported_symbol"; then
1056610971 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'
1056710972 fi
1084211247 fi
1084311248 fi
1084411249
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10846 $as_echo "$ld_shlibs" >&6; }
11250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11251 printf "%s\n" "$ld_shlibs" >&6; }
1084711252 test no = "$ld_shlibs" && can_build_shared=no
1084811253
1084911254 with_gnu_ld=$with_gnu_ld
1087911284 # Test whether the compiler implicitly links with -lc since on some
1088011285 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1088111286 # to ld, don't add -lc before -lgcc.
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10883 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10884 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10885 $as_echo_n "(cached) " >&6
10886 else
11287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11288 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
11289 if test ${lt_cv_archive_cmds_need_lc+y}
11290 then :
11291 printf %s "(cached) " >&6
11292 else $as_nop
1088711293 $RM conftest*
1088811294 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1088911295
1089011296 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1089111297 (eval $ac_compile) 2>&5
1089211298 ac_status=$?
10893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1089411300 test $ac_status = 0; } 2>conftest.err; then
1089511301 soname=conftest
1089611302 lib=conftest
1090811314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1090911315 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1091011316 ac_status=$?
10911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1091211318 test $ac_status = 0; }
1091311319 then
1091411320 lt_cv_archive_cmds_need_lc=no
1092211328 $RM conftest*
1092311329
1092411330 fi
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10926 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11332 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1092711333 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1092811334 ;;
1092911335 esac
1108211488
1108311489
1108411490
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11086 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11492 printf %s "checking dynamic linker characteristics... " >&6; }
1108711493
1108811494 if test yes = "$GCC"; then
1108911495 case $host_os in
1164412050 shlibpath_overrides_runpath=no
1164512051
1164612052 # Some binutils ld are patched to set DT_RUNPATH
11647 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11648 $as_echo_n "(cached) " >&6
11649 else
12053 if test ${lt_cv_shlibpath_overrides_runpath+y}
12054 then :
12055 printf %s "(cached) " >&6
12056 else $as_nop
1165012057 lt_cv_shlibpath_overrides_runpath=no
1165112058 save_LDFLAGS=$LDFLAGS
1165212059 save_libdir=$libdir
1165612063 /* end confdefs.h. */
1165712064
1165812065 int
11659 main ()
12066 main (void)
1166012067 {
1166112068
1166212069 ;
1166312070 return 0;
1166412071 }
1166512072 _ACEOF
11666 if ac_fn_c_try_link "$LINENO"; then :
11667 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12073 if ac_fn_c_try_link "$LINENO"
12074 then :
12075 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
12076 then :
1166812077 lt_cv_shlibpath_overrides_runpath=yes
1166912078 fi
1167012079 fi
11671 rm -f core conftest.err conftest.$ac_objext \
12080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1167212081 conftest$ac_exeext conftest.$ac_ext
1167312082 LDFLAGS=$save_LDFLAGS
1167412083 libdir=$save_libdir
1191212321 dynamic_linker=no
1191312322 ;;
1191412323 esac
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11916 $as_echo "$dynamic_linker" >&6; }
12324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12325 printf "%s\n" "$dynamic_linker" >&6; }
1191712326 test no = "$dynamic_linker" && can_build_shared=no
1191812327
1191912328 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1203412443
1203512444
1203612445
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12038 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12447 printf %s "checking how to hardcode library paths into programs... " >&6; }
1203912448 hardcode_action=
1204012449 if test -n "$hardcode_libdir_flag_spec" ||
1204112450 test -n "$runpath_var" ||
1205912468 # directories.
1206012469 hardcode_action=unsupported
1206112470 fi
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12063 $as_echo "$hardcode_action" >&6; }
12471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12472 printf "%s\n" "$hardcode_action" >&6; }
1206412473
1206512474 if test relink = "$hardcode_action" ||
1206612475 test yes = "$inherit_rpath"; then
1210412513
1210512514 darwin*)
1210612515 # if libdl is installed we need to link against it
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12108 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12109 if ${ac_cv_lib_dl_dlopen+:} false; then :
12110 $as_echo_n "(cached) " >&6
12111 else
12516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12517 printf %s "checking for dlopen in -ldl... " >&6; }
12518 if test ${ac_cv_lib_dl_dlopen+y}
12519 then :
12520 printf %s "(cached) " >&6
12521 else $as_nop
1211212522 ac_check_lib_save_LIBS=$LIBS
1211312523 LIBS="-ldl $LIBS"
1211412524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1211712527 /* Override any GCC internal prototype to avoid an error.
1211812528 Use char because int might match the return type of a GCC
1211912529 builtin and then its argument prototype would still apply. */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
1212312530 char dlopen ();
1212412531 int
12125 main ()
12532 main (void)
1212612533 {
1212712534 return dlopen ();
1212812535 ;
1212912536 return 0;
1213012537 }
1213112538 _ACEOF
12132 if ac_fn_c_try_link "$LINENO"; then :
12539 if ac_fn_c_try_link "$LINENO"
12540 then :
1213312541 ac_cv_lib_dl_dlopen=yes
12134 else
12542 else $as_nop
1213512543 ac_cv_lib_dl_dlopen=no
1213612544 fi
12137 rm -f core conftest.err conftest.$ac_objext \
12545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1213812546 conftest$ac_exeext conftest.$ac_ext
1213912547 LIBS=$ac_check_lib_save_LIBS
1214012548 fi
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12142 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12143 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12550 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12551 if test "x$ac_cv_lib_dl_dlopen" = xyes
12552 then :
1214412553 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12145 else
12554 else $as_nop
1214612555
1214712556 lt_cv_dlopen=dyld
1214812557 lt_cv_dlopen_libs=
1216212571
1216312572 *)
1216412573 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12165 if test "x$ac_cv_func_shl_load" = xyes; then :
12574 if test "x$ac_cv_func_shl_load" = xyes
12575 then :
1216612576 lt_cv_dlopen=shl_load
12167 else
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12169 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12170 if ${ac_cv_lib_dld_shl_load+:} false; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12577 else $as_nop
12578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12579 printf %s "checking for shl_load in -ldld... " >&6; }
12580 if test ${ac_cv_lib_dld_shl_load+y}
12581 then :
12582 printf %s "(cached) " >&6
12583 else $as_nop
1217312584 ac_check_lib_save_LIBS=$LIBS
1217412585 LIBS="-ldld $LIBS"
1217512586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1217812589 /* Override any GCC internal prototype to avoid an error.
1217912590 Use char because int might match the return type of a GCC
1218012591 builtin and then its argument prototype would still apply. */
12181 #ifdef __cplusplus
12182 extern "C"
12183 #endif
1218412592 char shl_load ();
1218512593 int
12186 main ()
12594 main (void)
1218712595 {
1218812596 return shl_load ();
1218912597 ;
1219012598 return 0;
1219112599 }
1219212600 _ACEOF
12193 if ac_fn_c_try_link "$LINENO"; then :
12601 if ac_fn_c_try_link "$LINENO"
12602 then :
1219412603 ac_cv_lib_dld_shl_load=yes
12195 else
12604 else $as_nop
1219612605 ac_cv_lib_dld_shl_load=no
1219712606 fi
12198 rm -f core conftest.err conftest.$ac_objext \
12607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1219912608 conftest$ac_exeext conftest.$ac_ext
1220012609 LIBS=$ac_check_lib_save_LIBS
1220112610 fi
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12203 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12204 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12612 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12613 if test "x$ac_cv_lib_dld_shl_load" = xyes
12614 then :
1220512615 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12206 else
12616 else $as_nop
1220712617 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12208 if test "x$ac_cv_func_dlopen" = xyes; then :
12618 if test "x$ac_cv_func_dlopen" = xyes
12619 then :
1220912620 lt_cv_dlopen=dlopen
12210 else
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12212 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12213 if ${ac_cv_lib_dl_dlopen+:} false; then :
12214 $as_echo_n "(cached) " >&6
12215 else
12621 else $as_nop
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12623 printf %s "checking for dlopen in -ldl... " >&6; }
12624 if test ${ac_cv_lib_dl_dlopen+y}
12625 then :
12626 printf %s "(cached) " >&6
12627 else $as_nop
1221612628 ac_check_lib_save_LIBS=$LIBS
1221712629 LIBS="-ldl $LIBS"
1221812630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1222112633 /* Override any GCC internal prototype to avoid an error.
1222212634 Use char because int might match the return type of a GCC
1222312635 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
1222712636 char dlopen ();
1222812637 int
12229 main ()
12638 main (void)
1223012639 {
1223112640 return dlopen ();
1223212641 ;
1223312642 return 0;
1223412643 }
1223512644 _ACEOF
12236 if ac_fn_c_try_link "$LINENO"; then :
12645 if ac_fn_c_try_link "$LINENO"
12646 then :
1223712647 ac_cv_lib_dl_dlopen=yes
12238 else
12648 else $as_nop
1223912649 ac_cv_lib_dl_dlopen=no
1224012650 fi
12241 rm -f core conftest.err conftest.$ac_objext \
12651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1224212652 conftest$ac_exeext conftest.$ac_ext
1224312653 LIBS=$ac_check_lib_save_LIBS
1224412654 fi
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12246 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12247 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12656 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12657 if test "x$ac_cv_lib_dl_dlopen" = xyes
12658 then :
1224812659 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12249 else
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12251 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12252 if ${ac_cv_lib_svld_dlopen+:} false; then :
12253 $as_echo_n "(cached) " >&6
12254 else
12660 else $as_nop
12661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12662 printf %s "checking for dlopen in -lsvld... " >&6; }
12663 if test ${ac_cv_lib_svld_dlopen+y}
12664 then :
12665 printf %s "(cached) " >&6
12666 else $as_nop
1225512667 ac_check_lib_save_LIBS=$LIBS
1225612668 LIBS="-lsvld $LIBS"
1225712669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1226012672 /* Override any GCC internal prototype to avoid an error.
1226112673 Use char because int might match the return type of a GCC
1226212674 builtin and then its argument prototype would still apply. */
12263 #ifdef __cplusplus
12264 extern "C"
12265 #endif
1226612675 char dlopen ();
1226712676 int
12268 main ()
12677 main (void)
1226912678 {
1227012679 return dlopen ();
1227112680 ;
1227212681 return 0;
1227312682 }
1227412683 _ACEOF
12275 if ac_fn_c_try_link "$LINENO"; then :
12684 if ac_fn_c_try_link "$LINENO"
12685 then :
1227612686 ac_cv_lib_svld_dlopen=yes
12277 else
12687 else $as_nop
1227812688 ac_cv_lib_svld_dlopen=no
1227912689 fi
12280 rm -f core conftest.err conftest.$ac_objext \
12690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1228112691 conftest$ac_exeext conftest.$ac_ext
1228212692 LIBS=$ac_check_lib_save_LIBS
1228312693 fi
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12285 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12286 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12695 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12696 if test "x$ac_cv_lib_svld_dlopen" = xyes
12697 then :
1228712698 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12288 else
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12290 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12291 if ${ac_cv_lib_dld_dld_link+:} false; then :
12292 $as_echo_n "(cached) " >&6
12293 else
12699 else $as_nop
12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12701 printf %s "checking for dld_link in -ldld... " >&6; }
12702 if test ${ac_cv_lib_dld_dld_link+y}
12703 then :
12704 printf %s "(cached) " >&6
12705 else $as_nop
1229412706 ac_check_lib_save_LIBS=$LIBS
1229512707 LIBS="-ldld $LIBS"
1229612708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1229912711 /* Override any GCC internal prototype to avoid an error.
1230012712 Use char because int might match the return type of a GCC
1230112713 builtin and then its argument prototype would still apply. */
12302 #ifdef __cplusplus
12303 extern "C"
12304 #endif
1230512714 char dld_link ();
1230612715 int
12307 main ()
12716 main (void)
1230812717 {
1230912718 return dld_link ();
1231012719 ;
1231112720 return 0;
1231212721 }
1231312722 _ACEOF
12314 if ac_fn_c_try_link "$LINENO"; then :
12723 if ac_fn_c_try_link "$LINENO"
12724 then :
1231512725 ac_cv_lib_dld_dld_link=yes
12316 else
12726 else $as_nop
1231712727 ac_cv_lib_dld_dld_link=no
1231812728 fi
12319 rm -f core conftest.err conftest.$ac_objext \
12729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1232012730 conftest$ac_exeext conftest.$ac_ext
1232112731 LIBS=$ac_check_lib_save_LIBS
1232212732 fi
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12324 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12325 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12734 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12735 if test "x$ac_cv_lib_dld_dld_link" = xyes
12736 then :
1232612737 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1232712738 fi
1232812739
1236112772 save_LIBS=$LIBS
1236212773 LIBS="$lt_cv_dlopen_libs $LIBS"
1236312774
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12365 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12366 if ${lt_cv_dlopen_self+:} false; then :
12367 $as_echo_n "(cached) " >&6
12368 else
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12776 printf %s "checking whether a program can dlopen itself... " >&6; }
12777 if test ${lt_cv_dlopen_self+y}
12778 then :
12779 printf %s "(cached) " >&6
12780 else $as_nop
1236912781 if test yes = "$cross_compiling"; then :
1237012782 lt_cv_dlopen_self=cross
1237112783 else
1244412856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1244512857 (eval $ac_link) 2>&5
1244612858 ac_status=$?
12447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1244812860 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1244912861 (./conftest; exit; ) >&5 2>/dev/null
1245012862 lt_status=$?
1246212874
1246312875
1246412876 fi
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12466 $as_echo "$lt_cv_dlopen_self" >&6; }
12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12878 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1246712879
1246812880 if test yes = "$lt_cv_dlopen_self"; then
1246912881 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12471 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12472 if ${lt_cv_dlopen_self_static+:} false; then :
12473 $as_echo_n "(cached) " >&6
12474 else
12882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12883 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12884 if test ${lt_cv_dlopen_self_static+y}
12885 then :
12886 printf %s "(cached) " >&6
12887 else $as_nop
1247512888 if test yes = "$cross_compiling"; then :
1247612889 lt_cv_dlopen_self_static=cross
1247712890 else
1255012963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1255112964 (eval $ac_link) 2>&5
1255212965 ac_status=$?
12553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1255412967 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1255512968 (./conftest; exit; ) >&5 2>/dev/null
1255612969 lt_status=$?
1256812981
1256912982
1257012983 fi
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12572 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12985 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1257312986 fi
1257412987
1257512988 CPPFLAGS=$save_CPPFLAGS
1260713020
1260813021 striplib=
1260913022 old_striplib=
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12611 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13024 printf %s "checking whether stripping libraries is possible... " >&6; }
1261213025 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
1261313026 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1261413027 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12616 $as_echo "yes" >&6; }
13028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13029 printf "%s\n" "yes" >&6; }
1261713030 else
1261813031 # FIXME - insert some real tests, host_os isn't really good enough
1261913032 case $host_os in
1262113034 if test -n "$STRIP"; then
1262213035 striplib="$STRIP -x"
1262313036 old_striplib="$STRIP -S"
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12625 $as_echo "yes" >&6; }
13037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13038 printf "%s\n" "yes" >&6; }
1262613039 else
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12628 $as_echo "no" >&6; }
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13041 printf "%s\n" "no" >&6; }
1262913042 fi
1263013043 ;;
1263113044 *)
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12633 $as_echo "no" >&6; }
13045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13046 printf "%s\n" "no" >&6; }
1263413047 ;;
1263513048 esac
1263613049 fi
1264713060
1264813061
1264913062 # Report what library types will actually be built
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12651 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12653 $as_echo "$can_build_shared" >&6; }
12654
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12656 $as_echo_n "checking whether to build shared libraries... " >&6; }
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13064 printf %s "checking if libtool supports shared libraries... " >&6; }
13065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13066 printf "%s\n" "$can_build_shared" >&6; }
13067
13068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13069 printf %s "checking whether to build shared libraries... " >&6; }
1265713070 test no = "$can_build_shared" && enable_shared=no
1265813071
1265913072 # On AIX, shared libraries and static libraries use the same namespace, and
1267713090 fi
1267813091 ;;
1267913092 esac
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12681 $as_echo "$enable_shared" >&6; }
12682
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12684 $as_echo_n "checking whether to build static libraries... " >&6; }
13093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13094 printf "%s\n" "$enable_shared" >&6; }
13095
13096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13097 printf %s "checking whether to build static libraries... " >&6; }
1268513098 # Make sure either enable_shared or enable_static is yes.
1268613099 test yes = "$enable_shared" || enable_static=yes
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12688 $as_echo "$enable_static" >&6; }
13100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13101 printf "%s\n" "$enable_static" >&6; }
1268913102
1269013103
1269113104
1273313146 if test -n "$ac_tool_prefix"; then
1273413147 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1273513148 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12737 $as_echo_n "checking for $ac_word... " >&6; }
12738 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12739 $as_echo_n "(cached) " >&6
12740 else
13149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13150 printf %s "checking for $ac_word... " >&6; }
13151 if test ${ac_cv_path_PKG_CONFIG+y}
13152 then :
13153 printf %s "(cached) " >&6
13154 else $as_nop
1274113155 case $PKG_CONFIG in
1274213156 [\\/]* | ?:[\\/]*)
1274313157 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
1274713161 for as_dir in $PATH
1274813162 do
1274913163 IFS=$as_save_IFS
12750 test -z "$as_dir" && as_dir=.
13164 case $as_dir in #(((
13165 '') as_dir=./ ;;
13166 */) ;;
13167 *) as_dir=$as_dir/ ;;
13168 esac
1275113169 for ac_exec_ext in '' $ac_executable_extensions; do
12752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12753 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13170 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13171 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1275513173 break 2
1275613174 fi
1275713175 done
1276313181 fi
1276413182 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1276513183 if test -n "$PKG_CONFIG"; then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12767 $as_echo "$PKG_CONFIG" >&6; }
13184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13185 printf "%s\n" "$PKG_CONFIG" >&6; }
1276813186 else
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12770 $as_echo "no" >&6; }
13187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13188 printf "%s\n" "no" >&6; }
1277113189 fi
1277213190
1277313191
1277613194 ac_pt_PKG_CONFIG=$PKG_CONFIG
1277713195 # Extract the first word of "pkg-config", so it can be a program name with args.
1277813196 set dummy pkg-config; ac_word=$2
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12780 $as_echo_n "checking for $ac_word... " >&6; }
12781 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12782 $as_echo_n "(cached) " >&6
12783 else
13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13198 printf %s "checking for $ac_word... " >&6; }
13199 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
13200 then :
13201 printf %s "(cached) " >&6
13202 else $as_nop
1278413203 case $ac_pt_PKG_CONFIG in
1278513204 [\\/]* | ?:[\\/]*)
1278613205 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
1279013209 for as_dir in $PATH
1279113210 do
1279213211 IFS=$as_save_IFS
12793 test -z "$as_dir" && as_dir=.
13212 case $as_dir in #(((
13213 '') as_dir=./ ;;
13214 */) ;;
13215 *) as_dir=$as_dir/ ;;
13216 esac
1279413217 for ac_exec_ext in '' $ac_executable_extensions; do
12795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12796 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13218 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
13219 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1279813221 break 2
1279913222 fi
1280013223 done
1280613229 fi
1280713230 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1280813231 if test -n "$ac_pt_PKG_CONFIG"; then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12810 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13233 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
1281113234 else
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12813 $as_echo "no" >&6; }
13235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13236 printf "%s\n" "no" >&6; }
1281413237 fi
1281513238
1281613239 if test "x$ac_pt_PKG_CONFIG" = x; then
1281813241 else
1281913242 case $cross_compiling:$ac_tool_warned in
1282013243 yes:)
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13245 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1282313246 ac_tool_warned=yes ;;
1282413247 esac
1282513248 PKG_CONFIG=$ac_pt_PKG_CONFIG
1283113254 fi
1283213255 if test -n "$PKG_CONFIG"; then
1283313256 _pkg_min_version=0.9.0
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12835 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13258 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
1283613259 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12838 $as_echo "yes" >&6; }
13260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13261 printf "%s\n" "yes" >&6; }
1283913262 else
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12841 $as_echo "no" >&6; }
13263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13264 printf "%s\n" "no" >&6; }
1284213265 PKG_CONFIG=""
1284313266 fi
1284413267 fi
1285113274
1285213275
1285313276 # $is_release = (.git directory does not exist)
12854 if test -d ${srcdir}/.git; then :
13277 if test -d ${srcdir}/.git || (test -f ${srcdir}/.git && grep \.git/worktrees ${srcdir}/.git)
13278 then :
1285513279 ax_is_release=no
12856 else
13280 else $as_nop
1285713281 ax_is_release=yes
1285813282 fi
1285913283
1287513299 ax_compiler_flags_is_release=$ax_is_release
1287613300
1287713301 # Check whether --enable-compile-warnings was given.
12878 if test "${enable_compile_warnings+set}" = set; then :
13302 if test ${enable_compile_warnings+y}
13303 then :
1287913304 enableval=$enable_compile_warnings;
12880 else
12881 if test "$ax_compiler_flags_is_release" = "yes"; then :
13305 else $as_nop
13306 if test "$ax_compiler_flags_is_release" = "yes"
13307 then :
1288213308 enable_compile_warnings="yes"
12883 else
13309 else $as_nop
1288413310 enable_compile_warnings="error"
1288513311 fi
1288613312 fi
1288713313
1288813314 # Check whether --enable-Werror was given.
12889 if test "${enable_Werror+set}" = set; then :
13315 if test ${enable_Werror+y}
13316 then :
1289013317 enableval=$enable_Werror;
12891 else
13318 else $as_nop
1289213319 enable_Werror=maybe
1289313320 fi
1289413321
1289513322
1289613323 # Return the user's chosen warning level
1289713324 if test "$enable_Werror" = "no" -a \
12898 "$enable_compile_warnings" = "error"; then :
13325 "$enable_compile_warnings" = "error"
13326 then :
1289913327
1290013328 enable_compile_warnings="yes"
1290113329
1292913357 #error "no C++"
1293013358 #endif
1293113359 int
12932 main ()
13360 main (void)
1293313361 {
1293413362
1293513363 ;
1293613364 return 0;
1293713365 }
1293813366 _ACEOF
12939 if ac_fn_c_try_compile "$LINENO"; then :
13367 if ac_fn_c_try_compile "$LINENO"
13368 then :
1294013369 ax_compiler_cxx=yes;
12941 else
13370 else $as_nop
1294213371 ax_compiler_cxx=no;
1294313372 fi
12944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1294513374
1294613375 # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
1294713376 # flags, otherwise they are always appended to the warn_cflags variable, and
1294813377 # Clang warns on them for every compilation unit.
1294913378 # If this is passed to GCC, it will explode, so the flag must be enabled
1295013379 # conditionally.
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
12952 $as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
12953 if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
12954 $as_echo_n "(cached) " >&6
12955 else
13380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
13381 printf %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
13382 if test ${ax_cv_check_cflags___Werror_unknown_warning_option+y}
13383 then :
13384 printf %s "(cached) " >&6
13385 else $as_nop
1295613386
1295713387 ax_check_save_flags=$CFLAGS
1295813388 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
1296013390 /* end confdefs.h. */
1296113391
1296213392 int
12963 main ()
13393 main (void)
1296413394 {
1296513395
1296613396 ;
1296713397 return 0;
1296813398 }
1296913399 _ACEOF
12970 if ac_fn_c_try_compile "$LINENO"; then :
13400 if ac_fn_c_try_compile "$LINENO"
13401 then :
1297113402 ax_cv_check_cflags___Werror_unknown_warning_option=yes
12972 else
13403 else $as_nop
1297313404 ax_cv_check_cflags___Werror_unknown_warning_option=no
1297413405 fi
12975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1297613407 CFLAGS=$ax_check_save_flags
1297713408 fi
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
12979 $as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
12980 if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
13409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
13410 printf "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
13411 if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes
13412 then :
1298113413
1298213414 ax_compiler_flags_test="-Werror=unknown-warning-option"
1298313415
12984 else
13416 else $as_nop
1298513417
1298613418 ax_compiler_flags_test=""
1298713419
1298913421
1299013422
1299113423 # Check that -Wno-suggest-attribute=format is supported
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-suggest-attribute=format" >&5
12993 $as_echo_n "checking whether C compiler accepts -Wno-suggest-attribute=format... " >&6; }
12994 if ${ax_cv_check_cflags___Wno_suggest_attribute_format+:} false; then :
12995 $as_echo_n "(cached) " >&6
12996 else
13424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-suggest-attribute=format" >&5
13425 printf %s "checking whether C compiler accepts -Wno-suggest-attribute=format... " >&6; }
13426 if test ${ax_cv_check_cflags___Wno_suggest_attribute_format+y}
13427 then :
13428 printf %s "(cached) " >&6
13429 else $as_nop
1299713430
1299813431 ax_check_save_flags=$CFLAGS
1299913432 CFLAGS="$CFLAGS -Wno-suggest-attribute=format"
1300113434 /* end confdefs.h. */
1300213435
1300313436 int
13004 main ()
13437 main (void)
1300513438 {
1300613439
1300713440 ;
1300813441 return 0;
1300913442 }
1301013443 _ACEOF
13011 if ac_fn_c_try_compile "$LINENO"; then :
13444 if ac_fn_c_try_compile "$LINENO"
13445 then :
1301213446 ax_cv_check_cflags___Wno_suggest_attribute_format=yes
13013 else
13447 else $as_nop
1301413448 ax_cv_check_cflags___Wno_suggest_attribute_format=no
1301513449 fi
13016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1301713451 CFLAGS=$ax_check_save_flags
1301813452 fi
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_suggest_attribute_format" >&5
13020 $as_echo "$ax_cv_check_cflags___Wno_suggest_attribute_format" >&6; }
13021 if test "x$ax_cv_check_cflags___Wno_suggest_attribute_format" = xyes; then :
13453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_suggest_attribute_format" >&5
13454 printf "%s\n" "$ax_cv_check_cflags___Wno_suggest_attribute_format" >&6; }
13455 if test "x$ax_cv_check_cflags___Wno_suggest_attribute_format" = xyes
13456 then :
1302213457
1302313458 ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format"
1302413459
13025 else
13460 else $as_nop
1302613461
1302713462 ax_compiler_no_suggest_attribute_flags=""
1302813463
1303513470
1303613471
1303713472 for flag in -fno-strict-aliasing ; do
13038 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13040 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13041 if eval \${$as_CACHEVAR+:} false; then :
13042 $as_echo_n "(cached) " >&6
13043 else
13473 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13475 printf %s "checking whether C compiler accepts $flag... " >&6; }
13476 if eval test \${$as_CACHEVAR+y}
13477 then :
13478 printf %s "(cached) " >&6
13479 else $as_nop
1304413480
1304513481 ax_check_save_flags=$CFLAGS
1304613482 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
1304813484 /* end confdefs.h. */
1304913485
1305013486 int
13051 main ()
13487 main (void)
1305213488 {
1305313489
1305413490 ;
1305513491 return 0;
1305613492 }
1305713493 _ACEOF
13058 if ac_fn_c_try_compile "$LINENO"; then :
13494 if ac_fn_c_try_compile "$LINENO"
13495 then :
1305913496 eval "$as_CACHEVAR=yes"
13060 else
13497 else $as_nop
1306113498 eval "$as_CACHEVAR=no"
1306213499 fi
13063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1306413501 CFLAGS=$ax_check_save_flags
1306513502 fi
1306613503 eval ac_res=\$$as_CACHEVAR
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13068 $as_echo "$ac_res" >&6; }
13069 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13070
13071 if ${WARN_CFLAGS+:} false; then :
13504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13505 printf "%s\n" "$ac_res" >&6; }
13506 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13507 then :
13508
13509 if test ${WARN_CFLAGS+y}
13510 then :
1307213511
1307313512 case " $WARN_CFLAGS " in #(
1307413513 *" $flag "*) :
13075 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
13514 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
1307613515 (: WARN_CFLAGS already contains $flag) 2>&5
1307713516 ac_status=$?
13078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1307913518 test $ac_status = 0; } ;; #(
1308013519 *) :
1308113520
1308213521 as_fn_append WARN_CFLAGS " $flag"
13083 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13522 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1308413523 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1308513524 ac_status=$?
13086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1308713526 test $ac_status = 0; }
1308813527 ;;
1308913528 esac
1309013529
13091 else
13530 else $as_nop
1309213531
1309313532 WARN_CFLAGS=$flag
13094 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13533 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1309513534 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1309613535 ac_status=$?
13097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1309813537 test $ac_status = 0; }
1309913538
1310013539 fi
1310113540
13102 else
13541 else $as_nop
1310313542 :
1310413543 fi
1310513544
1310613545 done
1310713546
1310813547
13109 if test "$ax_enable_compile_warnings" != "no"; then :
13548 if test "$ax_enable_compile_warnings" != "no"
13549 then :
1311013550
1311113551 if test "$ax_compiler_cxx" = "no" ; then
1311213552 # C-only flags. Warn in C++
1311513555
1311613556
1311713557 for flag in -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init ; do
13118 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13120 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13121 if eval \${$as_CACHEVAR+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13558 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13560 printf %s "checking whether C compiler accepts $flag... " >&6; }
13561 if eval test \${$as_CACHEVAR+y}
13562 then :
13563 printf %s "(cached) " >&6
13564 else $as_nop
1312413565
1312513566 ax_check_save_flags=$CFLAGS
1312613567 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
1312813569 /* end confdefs.h. */
1312913570
1313013571 int
13131 main ()
13572 main (void)
1313213573 {
1313313574
1313413575 ;
1313513576 return 0;
1313613577 }
1313713578 _ACEOF
13138 if ac_fn_c_try_compile "$LINENO"; then :
13579 if ac_fn_c_try_compile "$LINENO"
13580 then :
1313913581 eval "$as_CACHEVAR=yes"
13140 else
13582 else $as_nop
1314113583 eval "$as_CACHEVAR=no"
1314213584 fi
13143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1314413586 CFLAGS=$ax_check_save_flags
1314513587 fi
1314613588 eval ac_res=\$$as_CACHEVAR
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13148 $as_echo "$ac_res" >&6; }
13149 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13150
13151 if ${WARN_CFLAGS+:} false; then :
13589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13590 printf "%s\n" "$ac_res" >&6; }
13591 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13592 then :
13593
13594 if test ${WARN_CFLAGS+y}
13595 then :
1315213596
1315313597 case " $WARN_CFLAGS " in #(
1315413598 *" $flag "*) :
13155 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
13599 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
1315613600 (: WARN_CFLAGS already contains $flag) 2>&5
1315713601 ac_status=$?
13158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13602 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1315913603 test $ac_status = 0; } ;; #(
1316013604 *) :
1316113605
1316213606 as_fn_append WARN_CFLAGS " $flag"
13163 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13607 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1316413608 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1316513609 ac_status=$?
13166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1316713611 test $ac_status = 0; }
1316813612 ;;
1316913613 esac
1317013614
13171 else
13615 else $as_nop
1317213616
1317313617 WARN_CFLAGS=$flag
13174 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13618 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1317513619 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1317613620 ac_status=$?
13177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1317813622 test $ac_status = 0; }
1317913623
1318013624 fi
1318113625
13182 else
13626 else $as_nop
1318313627 :
1318413628 fi
1318513629
1319313637
1319413638
1319513639 for flag in -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers ; do
13196 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13198 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13199 if eval \${$as_CACHEVAR+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13640 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13642 printf %s "checking whether C compiler accepts $flag... " >&6; }
13643 if eval test \${$as_CACHEVAR+y}
13644 then :
13645 printf %s "(cached) " >&6
13646 else $as_nop
1320213647
1320313648 ax_check_save_flags=$CFLAGS
1320413649 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
1320613651 /* end confdefs.h. */
1320713652
1320813653 int
13209 main ()
13654 main (void)
1321013655 {
1321113656
1321213657 ;
1321313658 return 0;
1321413659 }
1321513660 _ACEOF
13216 if ac_fn_c_try_compile "$LINENO"; then :
13661 if ac_fn_c_try_compile "$LINENO"
13662 then :
1321713663 eval "$as_CACHEVAR=yes"
13218 else
13664 else $as_nop
1321913665 eval "$as_CACHEVAR=no"
1322013666 fi
13221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1322213668 CFLAGS=$ax_check_save_flags
1322313669 fi
1322413670 eval ac_res=\$$as_CACHEVAR
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13226 $as_echo "$ac_res" >&6; }
13227 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13228
13229 if ${WARN_CFLAGS+:} false; then :
13671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13672 printf "%s\n" "$ac_res" >&6; }
13673 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13674 then :
13675
13676 if test ${WARN_CFLAGS+y}
13677 then :
1323013678
1323113679 case " $WARN_CFLAGS " in #(
1323213680 *" $flag "*) :
13233 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
13681 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
1323413682 (: WARN_CFLAGS already contains $flag) 2>&5
1323513683 ac_status=$?
13236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13684 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1323713685 test $ac_status = 0; } ;; #(
1323813686 *) :
1323913687
1324013688 as_fn_append WARN_CFLAGS " $flag"
13241 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13689 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1324213690 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1324313691 ac_status=$?
13244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1324513693 test $ac_status = 0; }
1324613694 ;;
1324713695 esac
1324813696
13249 else
13697 else $as_nop
1325013698
1325113699 WARN_CFLAGS=$flag
13252 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13700 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1325313701 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1325413702 ac_status=$?
13255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1325613704 test $ac_status = 0; }
1325713705
1325813706 fi
1325913707
13260 else
13708 else $as_nop
1326113709 :
1326213710 fi
1326313711
1326513713
1326613714
1326713715 fi
13268 if test "$ax_enable_compile_warnings" = "error"; then :
13716 if test "$ax_enable_compile_warnings" = "error"
13717 then :
1326913718
1327013719 # "error" flags; -Werror has to be appended unconditionally because
1327113720 # it's not possible to test for
1327313722 # suggest-attribute=format is disabled because it gives too many false
1327413723 # positives
1327513724
13276 if ${WARN_CFLAGS+:} false; then :
13725 if test ${WARN_CFLAGS+y}
13726 then :
1327713727
1327813728 case " $WARN_CFLAGS " in #(
1327913729 *" -Werror "*) :
13280 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains -Werror"; } >&5
13730 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains -Werror"; } >&5
1328113731 (: WARN_CFLAGS already contains -Werror) 2>&5
1328213732 ac_status=$?
13283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1328413734 test $ac_status = 0; } ;; #(
1328513735 *) :
1328613736
1328713737 as_fn_append WARN_CFLAGS " -Werror"
13288 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13738 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1328913739 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1329013740 ac_status=$?
13291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1329213742 test $ac_status = 0; }
1329313743 ;;
1329413744 esac
1329513745
13296 else
13746 else $as_nop
1329713747
1329813748 WARN_CFLAGS=-Werror
13299 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13749 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1330013750 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1330113751 ac_status=$?
13302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1330313753 test $ac_status = 0; }
1330413754
1330513755 fi
1331013760
1331113761
1331213762 for flag in $ax_compiler_no_suggest_attribute_flags ; do
13313 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13315 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13316 if eval \${$as_CACHEVAR+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13763 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13765 printf %s "checking whether C compiler accepts $flag... " >&6; }
13766 if eval test \${$as_CACHEVAR+y}
13767 then :
13768 printf %s "(cached) " >&6
13769 else $as_nop
1331913770
1332013771 ax_check_save_flags=$CFLAGS
1332113772 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
1332313774 /* end confdefs.h. */
1332413775
1332513776 int
13326 main ()
13777 main (void)
1332713778 {
1332813779
1332913780 ;
1333013781 return 0;
1333113782 }
1333213783 _ACEOF
13333 if ac_fn_c_try_compile "$LINENO"; then :
13784 if ac_fn_c_try_compile "$LINENO"
13785 then :
1333413786 eval "$as_CACHEVAR=yes"
13335 else
13787 else $as_nop
1333613788 eval "$as_CACHEVAR=no"
1333713789 fi
13338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1333913791 CFLAGS=$ax_check_save_flags
1334013792 fi
1334113793 eval ac_res=\$$as_CACHEVAR
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13343 $as_echo "$ac_res" >&6; }
13344 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13345
13346 if ${WARN_CFLAGS+:} false; then :
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13795 printf "%s\n" "$ac_res" >&6; }
13796 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13797 then :
13798
13799 if test ${WARN_CFLAGS+y}
13800 then :
1334713801
1334813802 case " $WARN_CFLAGS " in #(
1334913803 *" $flag "*) :
13350 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
13804 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
1335113805 (: WARN_CFLAGS already contains $flag) 2>&5
1335213806 ac_status=$?
13353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1335413808 test $ac_status = 0; } ;; #(
1335513809 *) :
1335613810
1335713811 as_fn_append WARN_CFLAGS " $flag"
13358 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13812 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1335913813 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1336013814 ac_status=$?
13361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1336213816 test $ac_status = 0; }
1336313817 ;;
1336413818 esac
1336513819
13366 else
13820 else $as_nop
1336713821
1336813822 WARN_CFLAGS=$flag
13369 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13823 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1337013824 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1337113825 ac_status=$?
13372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1337313827 test $ac_status = 0; }
1337413828
1337513829 fi
1337613830
13377 else
13831 else $as_nop
1337813832 :
1337913833 fi
1338013834
1339713851
1339813852
1339913853
13400 for flag in -Wno-error=$($as_echo $flag | $SED 's/^-Wno-//'); do
13401 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13403 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13404 if eval \${$as_CACHEVAR+:} false; then :
13405 $as_echo_n "(cached) " >&6
13406 else
13854 for flag in -Wno-error=$(printf "%s\n" $flag | $SED 's/^-Wno-//'); do
13855 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13857 printf %s "checking whether C compiler accepts $flag... " >&6; }
13858 if eval test \${$as_CACHEVAR+y}
13859 then :
13860 printf %s "(cached) " >&6
13861 else $as_nop
1340713862
1340813863 ax_check_save_flags=$CFLAGS
1340913864 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
1341113866 /* end confdefs.h. */
1341213867
1341313868 int
13414 main ()
13869 main (void)
1341513870 {
1341613871
1341713872 ;
1341813873 return 0;
1341913874 }
1342013875 _ACEOF
13421 if ac_fn_c_try_compile "$LINENO"; then :
13876 if ac_fn_c_try_compile "$LINENO"
13877 then :
1342213878 eval "$as_CACHEVAR=yes"
13423 else
13879 else $as_nop
1342413880 eval "$as_CACHEVAR=no"
1342513881 fi
13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1342713883 CFLAGS=$ax_check_save_flags
1342813884 fi
1342913885 eval ac_res=\$$as_CACHEVAR
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13431 $as_echo "$ac_res" >&6; }
13432 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13433
13434 if ${WARN_CFLAGS+:} false; then :
13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13887 printf "%s\n" "$ac_res" >&6; }
13888 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13889 then :
13890
13891 if test ${WARN_CFLAGS+y}
13892 then :
1343513893
1343613894 case " $WARN_CFLAGS " in #(
1343713895 *" $flag "*) :
13438 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
13896 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
1343913897 (: WARN_CFLAGS already contains $flag) 2>&5
1344013898 ac_status=$?
13441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13899 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1344213900 test $ac_status = 0; } ;; #(
1344313901 *) :
1344413902
1344513903 as_fn_append WARN_CFLAGS " $flag"
13446 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13904 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1344713905 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1344813906 ac_status=$?
13449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1345013908 test $ac_status = 0; }
1345113909 ;;
1345213910 esac
1345313911
13454 else
13912 else $as_nop
1345513913
1345613914 WARN_CFLAGS=$flag
13457 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13915 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
1345813916 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
1345913917 ac_status=$?
13460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13918 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1346113919 test $ac_status = 0; }
1346213920
1346313921 fi
1346413922
13465 else
13923 else $as_nop
1346613924 :
1346713925 fi
1346813926
1350313961 # and Clang warns on them for every compilation unit.
1350413962 # If this is passed to GCC, it will explode, so the flag must be enabled
1350513963 # conditionally.
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
13507 $as_echo_n "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
13508 if ${ax_cv_check_cflags___Werror_unknown_warning_option+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
13965 printf %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
13966 if test ${ax_cv_check_cflags___Werror_unknown_warning_option+y}
13967 then :
13968 printf %s "(cached) " >&6
13969 else $as_nop
1351113970
1351213971 ax_check_save_flags=$CFLAGS
1351313972 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
1351513974 /* end confdefs.h. */
1351613975
1351713976 int
13518 main ()
13977 main (void)
1351913978 {
1352013979
1352113980 ;
1352213981 return 0;
1352313982 }
1352413983 _ACEOF
13525 if ac_fn_c_try_compile "$LINENO"; then :
13984 if ac_fn_c_try_compile "$LINENO"
13985 then :
1352613986 ax_cv_check_cflags___Werror_unknown_warning_option=yes
13527 else
13987 else $as_nop
1352813988 ax_cv_check_cflags___Werror_unknown_warning_option=no
1352913989 fi
13530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1353113991 CFLAGS=$ax_check_save_flags
1353213992 fi
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
13534 $as_echo "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
13535 if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes; then :
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
13994 printf "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
13995 if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes
13996 then :
1353613997
1353713998 ax_compiler_flags_test="-Werror=unknown-warning-option"
1353813999
13539 else
14000 else $as_nop
1354014001
1354114002 ax_compiler_flags_test=""
1354214003
1354314004 fi
1354414005
1354514006
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--as-needed" >&5
13547 $as_echo_n "checking whether the linker accepts -Wl,--as-needed... " >&6; }
13548 if ${ax_cv_check_ldflags___Wl___as_needed+:} false; then :
13549 $as_echo_n "(cached) " >&6
13550 else
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--as-needed" >&5
14008 printf %s "checking whether the linker accepts -Wl,--as-needed... " >&6; }
14009 if test ${ax_cv_check_ldflags___Wl___as_needed+y}
14010 then :
14011 printf %s "(cached) " >&6
14012 else $as_nop
1355114013
1355214014 ax_check_save_flags=$LDFLAGS
1355314015 LDFLAGS="$LDFLAGS -Wl,--as-needed"
1355514017 /* end confdefs.h. */
1355614018
1355714019 int
13558 main ()
14020 main (void)
1355914021 {
1356014022
1356114023 ;
1356214024 return 0;
1356314025 }
1356414026 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
14027 if ac_fn_c_try_link "$LINENO"
14028 then :
1356614029 ax_cv_check_ldflags___Wl___as_needed=yes
13567 else
14030 else $as_nop
1356814031 ax_cv_check_ldflags___Wl___as_needed=no
1356914032 fi
13570 rm -f core conftest.err conftest.$ac_objext \
14033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1357114034 conftest$ac_exeext conftest.$ac_ext
1357214035 LDFLAGS=$ax_check_save_flags
1357314036 fi
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___as_needed" >&5
13575 $as_echo "$ax_cv_check_ldflags___Wl___as_needed" >&6; }
13576 if test "x$ax_cv_check_ldflags___Wl___as_needed" = xyes; then :
14037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___as_needed" >&5
14038 printf "%s\n" "$ax_cv_check_ldflags___Wl___as_needed" >&6; }
14039 if test "x$ax_cv_check_ldflags___Wl___as_needed" = xyes
14040 then :
1357714041
1357814042
1357914043
1358014044
1358114045
1358214046 for flag in -Wl,--as-needed; do
13583 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
13585 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
13586 if eval \${$as_CACHEVAR+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
14047 as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14049 printf %s "checking whether the linker accepts $flag... " >&6; }
14050 if eval test \${$as_CACHEVAR+y}
14051 then :
14052 printf %s "(cached) " >&6
14053 else $as_nop
1358914054
1359014055 ax_check_save_flags=$LDFLAGS
1359114056 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
1359314058 /* end confdefs.h. */
1359414059
1359514060 int
13596 main ()
14061 main (void)
1359714062 {
1359814063
1359914064 ;
1360014065 return 0;
1360114066 }
1360214067 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
14068 if ac_fn_c_try_link "$LINENO"
14069 then :
1360414070 eval "$as_CACHEVAR=yes"
13605 else
14071 else $as_nop
1360614072 eval "$as_CACHEVAR=no"
1360714073 fi
13608 rm -f core conftest.err conftest.$ac_objext \
14074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1360914075 conftest$ac_exeext conftest.$ac_ext
1361014076 LDFLAGS=$ax_check_save_flags
1361114077 fi
1361214078 eval ac_res=\$$as_CACHEVAR
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13614 $as_echo "$ac_res" >&6; }
13615 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13616
13617 if ${AM_LDFLAGS+:} false; then :
14079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14080 printf "%s\n" "$ac_res" >&6; }
14081 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14082 then :
14083
14084 if test ${AM_LDFLAGS+y}
14085 then :
1361814086
1361914087 case " $AM_LDFLAGS " in #(
1362014088 *" $flag "*) :
13621 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
14089 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
1362214090 (: AM_LDFLAGS already contains $flag) 2>&5
1362314091 ac_status=$?
13624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1362514093 test $ac_status = 0; } ;; #(
1362614094 *) :
1362714095
1362814096 as_fn_append AM_LDFLAGS " $flag"
13629 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
14097 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
1363014098 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
1363114099 ac_status=$?
13632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1363314101 test $ac_status = 0; }
1363414102 ;;
1363514103 esac
1363614104
13637 else
14105 else $as_nop
1363814106
1363914107 AM_LDFLAGS=$flag
13640 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
14108 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
1364114109 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
1364214110 ac_status=$?
13643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1364414112 test $ac_status = 0; }
1364514113
1364614114 fi
1364714115
13648 else
14116 else $as_nop
1364914117 :
1365014118 fi
1365114119
1365214120 done
1365314121
1365414122
13655 else
14123 else $as_nop
1365614124 :
1365714125 fi
1365814126
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
13660 $as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
13661 if ${ax_cv_check_ldflags___Wl__z_relro+:} false; then :
13662 $as_echo_n "(cached) " >&6
13663 else
14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
14128 printf %s "checking whether the linker accepts -Wl,-z,relro... " >&6; }
14129 if test ${ax_cv_check_ldflags___Wl__z_relro+y}
14130 then :
14131 printf %s "(cached) " >&6
14132 else $as_nop
1366414133
1366514134 ax_check_save_flags=$LDFLAGS
1366614135 LDFLAGS="$LDFLAGS -Wl,-z,relro"
1366814137 /* end confdefs.h. */
1366914138
1367014139 int
13671 main ()
14140 main (void)
1367214141 {
1367314142
1367414143 ;
1367514144 return 0;
1367614145 }
1367714146 _ACEOF
13678 if ac_fn_c_try_link "$LINENO"; then :
14147 if ac_fn_c_try_link "$LINENO"
14148 then :
1367914149 ax_cv_check_ldflags___Wl__z_relro=yes
13680 else
14150 else $as_nop
1368114151 ax_cv_check_ldflags___Wl__z_relro=no
1368214152 fi
13683 rm -f core conftest.err conftest.$ac_objext \
14153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1368414154 conftest$ac_exeext conftest.$ac_ext
1368514155 LDFLAGS=$ax_check_save_flags
1368614156 fi
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
13688 $as_echo "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
13689 if test "x$ax_cv_check_ldflags___Wl__z_relro" = xyes; then :
14157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
14158 printf "%s\n" "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
14159 if test "x$ax_cv_check_ldflags___Wl__z_relro" = xyes
14160 then :
1369014161
1369114162
1369214163
1369314164
1369414165
1369514166 for flag in -Wl,-z,relro; do
13696 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
13698 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
13699 if eval \${$as_CACHEVAR+:} false; then :
13700 $as_echo_n "(cached) " >&6
13701 else
14167 as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14169 printf %s "checking whether the linker accepts $flag... " >&6; }
14170 if eval test \${$as_CACHEVAR+y}
14171 then :
14172 printf %s "(cached) " >&6
14173 else $as_nop
1370214174
1370314175 ax_check_save_flags=$LDFLAGS
1370414176 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
1370614178 /* end confdefs.h. */
1370714179
1370814180 int
13709 main ()
14181 main (void)
1371014182 {
1371114183
1371214184 ;
1371314185 return 0;
1371414186 }
1371514187 _ACEOF
13716 if ac_fn_c_try_link "$LINENO"; then :
14188 if ac_fn_c_try_link "$LINENO"
14189 then :
1371714190 eval "$as_CACHEVAR=yes"
13718 else
14191 else $as_nop
1371914192 eval "$as_CACHEVAR=no"
1372014193 fi
13721 rm -f core conftest.err conftest.$ac_objext \
14194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1372214195 conftest$ac_exeext conftest.$ac_ext
1372314196 LDFLAGS=$ax_check_save_flags
1372414197 fi
1372514198 eval ac_res=\$$as_CACHEVAR
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13727 $as_echo "$ac_res" >&6; }
13728 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13729
13730 if ${AM_LDFLAGS+:} false; then :
14199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14200 printf "%s\n" "$ac_res" >&6; }
14201 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14202 then :
14203
14204 if test ${AM_LDFLAGS+y}
14205 then :
1373114206
1373214207 case " $AM_LDFLAGS " in #(
1373314208 *" $flag "*) :
13734 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
14209 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
1373514210 (: AM_LDFLAGS already contains $flag) 2>&5
1373614211 ac_status=$?
13737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1373814213 test $ac_status = 0; } ;; #(
1373914214 *) :
1374014215
1374114216 as_fn_append AM_LDFLAGS " $flag"
13742 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
14217 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
1374314218 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
1374414219 ac_status=$?
13745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1374614221 test $ac_status = 0; }
1374714222 ;;
1374814223 esac
1374914224
13750 else
14225 else $as_nop
1375114226
1375214227 AM_LDFLAGS=$flag
13753 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
14228 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
1375414229 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
1375514230 ac_status=$?
13756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1375714232 test $ac_status = 0; }
1375814233
1375914234 fi
1376014235
13761 else
14236 else $as_nop
1376214237 :
1376314238 fi
1376414239
1376514240 done
1376614241
1376714242
13768 else
14243 else $as_nop
1376914244 :
1377014245 fi
1377114246
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
13773 $as_echo_n "checking whether the linker accepts -Wl,-z,now... " >&6; }
13774 if ${ax_cv_check_ldflags___Wl__z_now+:} false; then :
13775 $as_echo_n "(cached) " >&6
13776 else
14247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
14248 printf %s "checking whether the linker accepts -Wl,-z,now... " >&6; }
14249 if test ${ax_cv_check_ldflags___Wl__z_now+y}
14250 then :
14251 printf %s "(cached) " >&6
14252 else $as_nop
1377714253
1377814254 ax_check_save_flags=$LDFLAGS
1377914255 LDFLAGS="$LDFLAGS -Wl,-z,now"
1378114257 /* end confdefs.h. */
1378214258
1378314259 int
13784 main ()
14260 main (void)
1378514261 {
1378614262
1378714263 ;
1378814264 return 0;
1378914265 }
1379014266 _ACEOF
13791 if ac_fn_c_try_link "$LINENO"; then :
14267 if ac_fn_c_try_link "$LINENO"
14268 then :
1379214269 ax_cv_check_ldflags___Wl__z_now=yes
13793 else
14270 else $as_nop
1379414271 ax_cv_check_ldflags___Wl__z_now=no
1379514272 fi
13796 rm -f core conftest.err conftest.$ac_objext \
14273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1379714274 conftest$ac_exeext conftest.$ac_ext
1379814275 LDFLAGS=$ax_check_save_flags
1379914276 fi
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
13801 $as_echo "$ax_cv_check_ldflags___Wl__z_now" >&6; }
13802 if test "x$ax_cv_check_ldflags___Wl__z_now" = xyes; then :
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
14278 printf "%s\n" "$ax_cv_check_ldflags___Wl__z_now" >&6; }
14279 if test "x$ax_cv_check_ldflags___Wl__z_now" = xyes
14280 then :
1380314281
1380414282
1380514283
1380614284
1380714285
1380814286 for flag in -Wl,-z,now; do
13809 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
13811 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
13812 if eval \${$as_CACHEVAR+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
14287 as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14289 printf %s "checking whether the linker accepts $flag... " >&6; }
14290 if eval test \${$as_CACHEVAR+y}
14291 then :
14292 printf %s "(cached) " >&6
14293 else $as_nop
1381514294
1381614295 ax_check_save_flags=$LDFLAGS
1381714296 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
1381914298 /* end confdefs.h. */
1382014299
1382114300 int
13822 main ()
14301 main (void)
1382314302 {
1382414303
1382514304 ;
1382614305 return 0;
1382714306 }
1382814307 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"; then :
14308 if ac_fn_c_try_link "$LINENO"
14309 then :
1383014310 eval "$as_CACHEVAR=yes"
13831 else
14311 else $as_nop
1383214312 eval "$as_CACHEVAR=no"
1383314313 fi
13834 rm -f core conftest.err conftest.$ac_objext \
14314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1383514315 conftest$ac_exeext conftest.$ac_ext
1383614316 LDFLAGS=$ax_check_save_flags
1383714317 fi
1383814318 eval ac_res=\$$as_CACHEVAR
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13840 $as_echo "$ac_res" >&6; }
13841 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13842
13843 if ${AM_LDFLAGS+:} false; then :
14319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14320 printf "%s\n" "$ac_res" >&6; }
14321 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14322 then :
14323
14324 if test ${AM_LDFLAGS+y}
14325 then :
1384414326
1384514327 case " $AM_LDFLAGS " in #(
1384614328 *" $flag "*) :
13847 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
14329 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
1384814330 (: AM_LDFLAGS already contains $flag) 2>&5
1384914331 ac_status=$?
13850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1385114333 test $ac_status = 0; } ;; #(
1385214334 *) :
1385314335
1385414336 as_fn_append AM_LDFLAGS " $flag"
13855 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
14337 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
1385614338 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
1385714339 ac_status=$?
13858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1385914341 test $ac_status = 0; }
1386014342 ;;
1386114343 esac
1386214344
13863 else
14345 else $as_nop
1386414346
1386514347 AM_LDFLAGS=$flag
13866 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
14348 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
1386714349 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
1386814350 ac_status=$?
13869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1387014352 test $ac_status = 0; }
1387114353
1387214354 fi
1387314355
13874 else
14356 else $as_nop
1387514357 :
1387614358 fi
1387714359
1387814360 done
1387914361
1388014362
13881 else
14363 else $as_nop
1388214364 :
1388314365 fi
1388414366
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
13886 $as_echo_n "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
13887 if ${ax_cv_check_ldflags___Wl__z_noexecstack+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
14367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
14368 printf %s "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
14369 if test ${ax_cv_check_ldflags___Wl__z_noexecstack+y}
14370 then :
14371 printf %s "(cached) " >&6
14372 else $as_nop
1389014373
1389114374 ax_check_save_flags=$LDFLAGS
1389214375 LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
1389414377 /* end confdefs.h. */
1389514378
1389614379 int
13897 main ()
14380 main (void)
1389814381 {
1389914382
1390014383 ;
1390114384 return 0;
1390214385 }
1390314386 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"; then :
14387 if ac_fn_c_try_link "$LINENO"
14388 then :
1390514389 ax_cv_check_ldflags___Wl__z_noexecstack=yes
13906 else
14390 else $as_nop
1390714391 ax_cv_check_ldflags___Wl__z_noexecstack=no
1390814392 fi
13909 rm -f core conftest.err conftest.$ac_objext \
14393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1391014394 conftest$ac_exeext conftest.$ac_ext
1391114395 LDFLAGS=$ax_check_save_flags
1391214396 fi
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
13914 $as_echo "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
13915 if test "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes; then :
14397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
14398 printf "%s\n" "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
14399 if test "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes
14400 then :
1391614401
1391714402
1391814403
1391914404
1392014405
1392114406 for flag in -Wl,-z,noexecstack; do
13922 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
13924 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
13925 if eval \${$as_CACHEVAR+:} false; then :
13926 $as_echo_n "(cached) " >&6
13927 else
14407 as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14409 printf %s "checking whether the linker accepts $flag... " >&6; }
14410 if eval test \${$as_CACHEVAR+y}
14411 then :
14412 printf %s "(cached) " >&6
14413 else $as_nop
1392814414
1392914415 ax_check_save_flags=$LDFLAGS
1393014416 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
1393214418 /* end confdefs.h. */
1393314419
1393414420 int
13935 main ()
14421 main (void)
1393614422 {
1393714423
1393814424 ;
1393914425 return 0;
1394014426 }
1394114427 _ACEOF
13942 if ac_fn_c_try_link "$LINENO"; then :
14428 if ac_fn_c_try_link "$LINENO"
14429 then :
1394314430 eval "$as_CACHEVAR=yes"
13944 else
14431 else $as_nop
1394514432 eval "$as_CACHEVAR=no"
1394614433 fi
13947 rm -f core conftest.err conftest.$ac_objext \
14434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1394814435 conftest$ac_exeext conftest.$ac_ext
1394914436 LDFLAGS=$ax_check_save_flags
1395014437 fi
1395114438 eval ac_res=\$$as_CACHEVAR
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13953 $as_echo "$ac_res" >&6; }
13954 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13955
13956 if ${AM_LDFLAGS+:} false; then :
14439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14440 printf "%s\n" "$ac_res" >&6; }
14441 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14442 then :
14443
14444 if test ${AM_LDFLAGS+y}
14445 then :
1395714446
1395814447 case " $AM_LDFLAGS " in #(
1395914448 *" $flag "*) :
13960 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
14449 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
1396114450 (: AM_LDFLAGS already contains $flag) 2>&5
1396214451 ac_status=$?
13963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1396414453 test $ac_status = 0; } ;; #(
1396514454 *) :
1396614455
1396714456 as_fn_append AM_LDFLAGS " $flag"
13968 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
14457 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
1396914458 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
1397014459 ac_status=$?
13971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1397214461 test $ac_status = 0; }
1397314462 ;;
1397414463 esac
1397514464
13976 else
14465 else $as_nop
1397714466
1397814467 AM_LDFLAGS=$flag
13979 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
14468 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
1398014469 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
1398114470 ac_status=$?
13982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1398314472 test $ac_status = 0; }
1398414473
1398514474 fi
1398614475
13987 else
14476 else $as_nop
1398814477 :
1398914478 fi
1399014479
1399114480 done
1399214481
1399314482
13994 else
14483 else $as_nop
1399514484 :
1399614485 fi
1399714486
1399814487 # textonly, retpolineplt not yet
1399914488
1400014489 # macOS and cygwin linker do not have --as-needed
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5
14002 $as_echo_n "checking whether the linker accepts -Wl,--no-as-needed... " >&6; }
14003 if ${ax_cv_check_ldflags___Wl___no_as_needed+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5
14491 printf %s "checking whether the linker accepts -Wl,--no-as-needed... " >&6; }
14492 if test ${ax_cv_check_ldflags___Wl___no_as_needed+y}
14493 then :
14494 printf %s "(cached) " >&6
14495 else $as_nop
1400614496
1400714497 ax_check_save_flags=$LDFLAGS
1400814498 LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
1401014500 /* end confdefs.h. */
1401114501
1401214502 int
14013 main ()
14503 main (void)
1401414504 {
1401514505
1401614506 ;
1401714507 return 0;
1401814508 }
1401914509 _ACEOF
14020 if ac_fn_c_try_link "$LINENO"; then :
14510 if ac_fn_c_try_link "$LINENO"
14511 then :
1402114512 ax_cv_check_ldflags___Wl___no_as_needed=yes
14022 else
14513 else $as_nop
1402314514 ax_cv_check_ldflags___Wl___no_as_needed=no
1402414515 fi
14025 rm -f core conftest.err conftest.$ac_objext \
14516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1402614517 conftest$ac_exeext conftest.$ac_ext
1402714518 LDFLAGS=$ax_check_save_flags
1402814519 fi
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_as_needed" >&5
14030 $as_echo "$ax_cv_check_ldflags___Wl___no_as_needed" >&6; }
14031 if test "x$ax_cv_check_ldflags___Wl___no_as_needed" = xyes; then :
14520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_as_needed" >&5
14521 printf "%s\n" "$ax_cv_check_ldflags___Wl___no_as_needed" >&6; }
14522 if test "x$ax_cv_check_ldflags___Wl___no_as_needed" = xyes
14523 then :
1403214524
1403314525 ax_compiler_flags_as_needed_option="-Wl,--no-as-needed"
1403414526
14035 else
14527 else $as_nop
1403614528
1403714529 ax_compiler_flags_as_needed_option=""
1403814530
1404114533
1404214534 # macOS linker speaks with a different accent
1404314535 ax_compiler_flags_fatal_warnings_option=""
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--fatal-warnings" >&5
14045 $as_echo_n "checking whether the linker accepts -Wl,--fatal-warnings... " >&6; }
14046 if ${ax_cv_check_ldflags___Wl___fatal_warnings+:} false; then :
14047 $as_echo_n "(cached) " >&6
14048 else
14536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--fatal-warnings" >&5
14537 printf %s "checking whether the linker accepts -Wl,--fatal-warnings... " >&6; }
14538 if test ${ax_cv_check_ldflags___Wl___fatal_warnings+y}
14539 then :
14540 printf %s "(cached) " >&6
14541 else $as_nop
1404914542
1405014543 ax_check_save_flags=$LDFLAGS
1405114544 LDFLAGS="$LDFLAGS -Wl,--fatal-warnings"
1405314546 /* end confdefs.h. */
1405414547
1405514548 int
14056 main ()
14549 main (void)
1405714550 {
1405814551
1405914552 ;
1406014553 return 0;
1406114554 }
1406214555 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"; then :
14556 if ac_fn_c_try_link "$LINENO"
14557 then :
1406414558 ax_cv_check_ldflags___Wl___fatal_warnings=yes
14065 else
14559 else $as_nop
1406614560 ax_cv_check_ldflags___Wl___fatal_warnings=no
1406714561 fi
14068 rm -f core conftest.err conftest.$ac_objext \
14562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1406914563 conftest$ac_exeext conftest.$ac_ext
1407014564 LDFLAGS=$ax_check_save_flags
1407114565 fi
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___fatal_warnings" >&5
14073 $as_echo "$ax_cv_check_ldflags___Wl___fatal_warnings" >&6; }
14074 if test "x$ax_cv_check_ldflags___Wl___fatal_warnings" = xyes; then :
14566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___fatal_warnings" >&5
14567 printf "%s\n" "$ax_cv_check_ldflags___Wl___fatal_warnings" >&6; }
14568 if test "x$ax_cv_check_ldflags___Wl___fatal_warnings" = xyes
14569 then :
1407514570
1407614571 ax_compiler_flags_fatal_warnings_option="-Wl,--fatal-warnings"
1407714572
14078 else
14573 else $as_nop
1407914574 :
1408014575 fi
1408114576
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-fatal_warnings" >&5
14083 $as_echo_n "checking whether the linker accepts -Wl,-fatal_warnings... " >&6; }
14084 if ${ax_cv_check_ldflags___Wl__fatal_warnings+:} false; then :
14085 $as_echo_n "(cached) " >&6
14086 else
14577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-fatal_warnings" >&5
14578 printf %s "checking whether the linker accepts -Wl,-fatal_warnings... " >&6; }
14579 if test ${ax_cv_check_ldflags___Wl__fatal_warnings+y}
14580 then :
14581 printf %s "(cached) " >&6
14582 else $as_nop
1408714583
1408814584 ax_check_save_flags=$LDFLAGS
1408914585 LDFLAGS="$LDFLAGS -Wl,-fatal_warnings"
1409114587 /* end confdefs.h. */
1409214588
1409314589 int
14094 main ()
14590 main (void)
1409514591 {
1409614592
1409714593 ;
1409814594 return 0;
1409914595 }
1410014596 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14597 if ac_fn_c_try_link "$LINENO"
14598 then :
1410214599 ax_cv_check_ldflags___Wl__fatal_warnings=yes
14103 else
14600 else $as_nop
1410414601 ax_cv_check_ldflags___Wl__fatal_warnings=no
1410514602 fi
14106 rm -f core conftest.err conftest.$ac_objext \
14603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1410714604 conftest$ac_exeext conftest.$ac_ext
1410814605 LDFLAGS=$ax_check_save_flags
1410914606 fi
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__fatal_warnings" >&5
14111 $as_echo "$ax_cv_check_ldflags___Wl__fatal_warnings" >&6; }
14112 if test "x$ax_cv_check_ldflags___Wl__fatal_warnings" = xyes; then :
14607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__fatal_warnings" >&5
14608 printf "%s\n" "$ax_cv_check_ldflags___Wl__fatal_warnings" >&6; }
14609 if test "x$ax_cv_check_ldflags___Wl__fatal_warnings" = xyes
14610 then :
1411314611
1411414612 ax_compiler_flags_fatal_warnings_option="-Wl,-fatal_warnings"
1411514613
14116 else
14614 else $as_nop
1411714615 :
1411814616 fi
1411914617
1412414622
1412514623
1412614624 for flag in $ax_compiler_flags_as_needed_option ; do
14127 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14129 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
14130 if eval \${$as_CACHEVAR+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14625 as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14627 printf %s "checking whether the linker accepts $flag... " >&6; }
14628 if eval test \${$as_CACHEVAR+y}
14629 then :
14630 printf %s "(cached) " >&6
14631 else $as_nop
1413314632
1413414633 ax_check_save_flags=$LDFLAGS
1413514634 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
1413714636 /* end confdefs.h. */
1413814637
1413914638 int
14140 main ()
14639 main (void)
1414114640 {
1414214641
1414314642 ;
1414414643 return 0;
1414514644 }
1414614645 _ACEOF
14147 if ac_fn_c_try_link "$LINENO"; then :
14646 if ac_fn_c_try_link "$LINENO"
14647 then :
1414814648 eval "$as_CACHEVAR=yes"
14149 else
14649 else $as_nop
1415014650 eval "$as_CACHEVAR=no"
1415114651 fi
14152 rm -f core conftest.err conftest.$ac_objext \
14652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1415314653 conftest$ac_exeext conftest.$ac_ext
1415414654 LDFLAGS=$ax_check_save_flags
1415514655 fi
1415614656 eval ac_res=\$$as_CACHEVAR
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14158 $as_echo "$ac_res" >&6; }
14159 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14160
14161 if ${WARN_LDFLAGS+:} false; then :
14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14658 printf "%s\n" "$ac_res" >&6; }
14659 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14660 then :
14661
14662 if test ${WARN_LDFLAGS+y}
14663 then :
1416214664
1416314665 case " $WARN_LDFLAGS " in #(
1416414666 *" $flag "*) :
14165 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
14667 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
1416614668 (: WARN_LDFLAGS already contains $flag) 2>&5
1416714669 ac_status=$?
14168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1416914671 test $ac_status = 0; } ;; #(
1417014672 *) :
1417114673
1417214674 as_fn_append WARN_LDFLAGS " $flag"
14173 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
14675 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
1417414676 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
1417514677 ac_status=$?
14176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417714679 test $ac_status = 0; }
1417814680 ;;
1417914681 esac
1418014682
14181 else
14683 else $as_nop
1418214684
1418314685 WARN_LDFLAGS=$flag
14184 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
14686 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
1418514687 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
1418614688 ac_status=$?
14187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418814690 test $ac_status = 0; }
1418914691
1419014692 fi
1419114693
14192 else
14694 else $as_nop
1419314695 :
1419414696 fi
1419514697
1419614698 done
1419714699
1419814700
14199 if test "$ax_enable_compile_warnings" != "no"; then :
14701 if test "$ax_enable_compile_warnings" != "no"
14702 then :
1420014703
1420114704 # "yes" flags
1420214705
1420414707
1420514708
1420614709 for flag in ; do
14207 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14209 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
14210 if eval \${$as_CACHEVAR+:} false; then :
14211 $as_echo_n "(cached) " >&6
14212 else
14710 as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14712 printf %s "checking whether the linker accepts $flag... " >&6; }
14713 if eval test \${$as_CACHEVAR+y}
14714 then :
14715 printf %s "(cached) " >&6
14716 else $as_nop
1421314717
1421414718 ax_check_save_flags=$LDFLAGS
1421514719 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
1421714721 /* end confdefs.h. */
1421814722
1421914723 int
14220 main ()
14724 main (void)
1422114725 {
1422214726
1422314727 ;
1422414728 return 0;
1422514729 }
1422614730 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"; then :
14731 if ac_fn_c_try_link "$LINENO"
14732 then :
1422814733 eval "$as_CACHEVAR=yes"
14229 else
14734 else $as_nop
1423014735 eval "$as_CACHEVAR=no"
1423114736 fi
14232 rm -f core conftest.err conftest.$ac_objext \
14737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1423314738 conftest$ac_exeext conftest.$ac_ext
1423414739 LDFLAGS=$ax_check_save_flags
1423514740 fi
1423614741 eval ac_res=\$$as_CACHEVAR
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14238 $as_echo "$ac_res" >&6; }
14239 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14240
14241 if ${WARN_LDFLAGS+:} false; then :
14742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14743 printf "%s\n" "$ac_res" >&6; }
14744 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14745 then :
14746
14747 if test ${WARN_LDFLAGS+y}
14748 then :
1424214749
1424314750 case " $WARN_LDFLAGS " in #(
1424414751 *" $flag "*) :
14245 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
14752 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
1424614753 (: WARN_LDFLAGS already contains $flag) 2>&5
1424714754 ac_status=$?
14248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424914756 test $ac_status = 0; } ;; #(
1425014757 *) :
1425114758
1425214759 as_fn_append WARN_LDFLAGS " $flag"
14253 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
14760 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
1425414761 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
1425514762 ac_status=$?
14256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425714764 test $ac_status = 0; }
1425814765 ;;
1425914766 esac
1426014767
14261 else
14768 else $as_nop
1426214769
1426314770 WARN_LDFLAGS=$flag
14264 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
14771 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
1426514772 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
1426614773 ac_status=$?
14267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1426814775 test $ac_status = 0; }
1426914776
1427014777 fi
1427114778
14272 else
14779 else $as_nop
1427314780 :
1427414781 fi
1427514782
1427714784
1427814785
1427914786 fi
14280 if test "$ax_enable_compile_warnings" = "error"; then :
14787 if test "$ax_enable_compile_warnings" = "error"
14788 then :
1428114789
1428214790 # "error" flags; -Werror has to be appended unconditionally because
1428314791 # it's not possible to test for
1428914797
1429014798
1429114799 for flag in $ax_compiler_flags_fatal_warnings_option ; do
14292 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14294 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
14295 if eval \${$as_CACHEVAR+:} false; then :
14296 $as_echo_n "(cached) " >&6
14297 else
14800 as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
14801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
14802 printf %s "checking whether the linker accepts $flag... " >&6; }
14803 if eval test \${$as_CACHEVAR+y}
14804 then :
14805 printf %s "(cached) " >&6
14806 else $as_nop
1429814807
1429914808 ax_check_save_flags=$LDFLAGS
1430014809 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
1430214811 /* end confdefs.h. */
1430314812
1430414813 int
14305 main ()
14814 main (void)
1430614815 {
1430714816
1430814817 ;
1430914818 return 0;
1431014819 }
1431114820 _ACEOF
14312 if ac_fn_c_try_link "$LINENO"; then :
14821 if ac_fn_c_try_link "$LINENO"
14822 then :
1431314823 eval "$as_CACHEVAR=yes"
14314 else
14824 else $as_nop
1431514825 eval "$as_CACHEVAR=no"
1431614826 fi
14317 rm -f core conftest.err conftest.$ac_objext \
14827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1431814828 conftest$ac_exeext conftest.$ac_ext
1431914829 LDFLAGS=$ax_check_save_flags
1432014830 fi
1432114831 eval ac_res=\$$as_CACHEVAR
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14323 $as_echo "$ac_res" >&6; }
14324 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
14325
14326 if ${WARN_LDFLAGS+:} false; then :
14832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14833 printf "%s\n" "$ac_res" >&6; }
14834 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14835 then :
14836
14837 if test ${WARN_LDFLAGS+y}
14838 then :
1432714839
1432814840 case " $WARN_LDFLAGS " in #(
1432914841 *" $flag "*) :
14330 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
14842 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
1433114843 (: WARN_LDFLAGS already contains $flag) 2>&5
1433214844 ac_status=$?
14333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14845 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1433414846 test $ac_status = 0; } ;; #(
1433514847 *) :
1433614848
1433714849 as_fn_append WARN_LDFLAGS " $flag"
14338 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
14850 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
1433914851 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
1434014852 ac_status=$?
14341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14853 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1434214854 test $ac_status = 0; }
1434314855 ;;
1434414856 esac
1434514857
14346 else
14858 else $as_nop
1434714859
1434814860 WARN_LDFLAGS=$flag
14349 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
14861 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
1435014862 (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
1435114863 ac_status=$?
14352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1435314865 test $ac_status = 0; }
1435414866
1435514867 fi
1435614868
14357 else
14869 else $as_nop
1435814870 :
1435914871 fi
1436014872
1437514887
1437614888 # Base flags
1437714889
14378 if ${WARN_SCANNERFLAGS+:} false; then :
14890 if test ${WARN_SCANNERFLAGS+y}
14891 then :
1437914892
1438014893 case " $WARN_SCANNERFLAGS " in #(
1438114894 *" "*) :
14382 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains "; } >&5
14895 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains "; } >&5
1438314896 (: WARN_SCANNERFLAGS already contains ) 2>&5
1438414897 ac_status=$?
14385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1438614899 test $ac_status = 0; } ;; #(
1438714900 *) :
1438814901
1438914902 as_fn_append WARN_SCANNERFLAGS " "
14390 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
14903 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
1439114904 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
1439214905 ac_status=$?
14393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1439414907 test $ac_status = 0; }
1439514908 ;;
1439614909 esac
1439714910
14398 else
14911 else $as_nop
1439914912
1440014913 WARN_SCANNERFLAGS=
14401 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
14914 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
1440214915 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
1440314916 ac_status=$?
14404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14917 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1440514918 test $ac_status = 0; }
1440614919
1440714920 fi
1440814921
1440914922
14410 if test "$ax_enable_compile_warnings" != "no"; then :
14923 if test "$ax_enable_compile_warnings" != "no"
14924 then :
1441114925
1441214926 # "yes" flags
1441314927
14414 if ${WARN_SCANNERFLAGS+:} false; then :
14928 if test ${WARN_SCANNERFLAGS+y}
14929 then :
1441514930
1441614931 case " $WARN_SCANNERFLAGS " in #(
1441714932 *" --warn-all "*) :
14418 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-all "; } >&5
14933 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-all "; } >&5
1441914934 (: WARN_SCANNERFLAGS already contains --warn-all ) 2>&5
1442014935 ac_status=$?
14421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442214937 test $ac_status = 0; } ;; #(
1442314938 *) :
1442414939
1442514940 as_fn_append WARN_SCANNERFLAGS " --warn-all "
14426 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
14941 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
1442714942 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
1442814943 ac_status=$?
14429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443014945 test $ac_status = 0; }
1443114946 ;;
1443214947 esac
1443314948
14434 else
14949 else $as_nop
1443514950
1443614951 WARN_SCANNERFLAGS= --warn-all
14437 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
14952 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
1443814953 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
1443914954 ac_status=$?
14440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1444114956 test $ac_status = 0; }
1444214957
1444314958 fi
1444414959
1444514960
1444614961 fi
14447 if test "$ax_enable_compile_warnings" = "error"; then :
14962 if test "$ax_enable_compile_warnings" = "error"
14963 then :
1444814964
1444914965 # "error" flags
1445014966
14451 if ${WARN_SCANNERFLAGS+:} false; then :
14967 if test ${WARN_SCANNERFLAGS+y}
14968 then :
1445214969
1445314970 case " $WARN_SCANNERFLAGS " in #(
1445414971 *" --warn-error "*) :
14455 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-error "; } >&5
14972 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains --warn-error "; } >&5
1445614973 (: WARN_SCANNERFLAGS already contains --warn-error ) 2>&5
1445714974 ac_status=$?
14458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445914976 test $ac_status = 0; } ;; #(
1446014977 *) :
1446114978
1446214979 as_fn_append WARN_SCANNERFLAGS " --warn-error "
14463 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
14980 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
1446414981 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
1446514982 ac_status=$?
14466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1446714984 test $ac_status = 0; }
1446814985 ;;
1446914986 esac
1447014987
14471 else
14988 else $as_nop
1447214989
1447314990 WARN_SCANNERFLAGS= --warn-error
14474 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
14991 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
1447514992 (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
1447614993 ac_status=$?
14477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447814995 test $ac_status = 0; }
1447914996
1448014997 fi
1449615013
1449715014
1449815015 else
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&5
14500 $as_echo "$as_me: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&2;}
15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&5
15017 printf "%s\n" "$as_me: WARNING: compiler is not GCC or close compatible, not using ax_compiler_flags because of this (CC=$CC)" >&2;}
1450115018 fi
1450215019
1450315020 # Checks for libraries.
1450415021 save_LIBS=$LIBS
1450515022 LIBS=
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14507 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14508 if ${ac_cv_search_clock_gettime+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15024 printf %s "checking for library containing clock_gettime... " >&6; }
15025 if test ${ac_cv_search_clock_gettime+y}
15026 then :
15027 printf %s "(cached) " >&6
15028 else $as_nop
1451115029 ac_func_search_save_LIBS=$LIBS
1451215030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1451315031 /* end confdefs.h. */
1451515033 /* Override any GCC internal prototype to avoid an error.
1451615034 Use char because int might match the return type of a GCC
1451715035 builtin and then its argument prototype would still apply. */
14518 #ifdef __cplusplus
14519 extern "C"
14520 #endif
1452115036 char clock_gettime ();
1452215037 int
14523 main ()
15038 main (void)
1452415039 {
1452515040 return clock_gettime ();
1452615041 ;
1452715042 return 0;
1452815043 }
1452915044 _ACEOF
14530 for ac_lib in '' rt; do
15045 for ac_lib in '' rt
15046 do
1453115047 if test -z "$ac_lib"; then
1453215048 ac_res="none required"
1453315049 else
1453415050 ac_res=-l$ac_lib
1453515051 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
1453615052 fi
14537 if ac_fn_c_try_link "$LINENO"; then :
15053 if ac_fn_c_try_link "$LINENO"
15054 then :
1453815055 ac_cv_search_clock_gettime=$ac_res
1453915056 fi
14540 rm -f core conftest.err conftest.$ac_objext \
15057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1454115058 conftest$ac_exeext
14542 if ${ac_cv_search_clock_gettime+:} false; then :
15059 if test ${ac_cv_search_clock_gettime+y}
15060 then :
1454315061 break
1454415062 fi
1454515063 done
14546 if ${ac_cv_search_clock_gettime+:} false; then :
14547
14548 else
15064 if test ${ac_cv_search_clock_gettime+y}
15065 then :
15066
15067 else $as_nop
1454915068 ac_cv_search_clock_gettime=no
1455015069 fi
1455115070 rm conftest.$ac_ext
1455215071 LIBS=$ac_func_search_save_LIBS
1455315072 fi
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14555 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15074 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
1455615075 ac_res=$ac_cv_search_clock_gettime
14557 if test "$ac_res" != no; then :
15076 if test "$ac_res" != no
15077 then :
1455815078 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1455915079
1456015080 fi
1456515085
1456615086
1456715087 # Checks for header files.
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14569 $as_echo_n "checking for ANSI C header files... " >&6; }
14570 if ${ac_cv_header_stdc+:} false; then :
14571 $as_echo_n "(cached) " >&6
15088 # Autoupdate added the next two lines to ensure that your configure
15089 # script's behavior did not change. They are probably safe to remove.
15090
15091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
15092 printf %s "checking for egrep... " >&6; }
15093 if test ${ac_cv_path_EGREP+y}
15094 then :
15095 printf %s "(cached) " >&6
15096 else $as_nop
15097 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15098 then ac_cv_path_EGREP="$GREP -E"
15099 else
15100 if test -z "$EGREP"; then
15101 ac_path_EGREP_found=false
15102 # Loop through the user's path and test for each of PROGNAME-LIST
15103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15104 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15105 do
15106 IFS=$as_save_IFS
15107 case $as_dir in #(((
15108 '') as_dir=./ ;;
15109 */) ;;
15110 *) as_dir=$as_dir/ ;;
15111 esac
15112 for ac_prog in egrep
15113 do
15114 for ac_exec_ext in '' $ac_executable_extensions; do
15115 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
15116 as_fn_executable_p "$ac_path_EGREP" || continue
15117 # Check for GNU ac_path_EGREP and select it if it is found.
15118 # Check for GNU $ac_path_EGREP
15119 case `"$ac_path_EGREP" --version 2>&1` in
15120 *GNU*)
15121 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15122 *)
15123 ac_count=0
15124 printf %s 0123456789 >"conftest.in"
15125 while :
15126 do
15127 cat "conftest.in" "conftest.in" >"conftest.tmp"
15128 mv "conftest.tmp" "conftest.in"
15129 cp "conftest.in" "conftest.nl"
15130 printf "%s\n" 'EGREP' >> "conftest.nl"
15131 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15132 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15133 as_fn_arith $ac_count + 1 && ac_count=$as_val
15134 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15135 # Best one so far, save it but keep looking for a better one
15136 ac_cv_path_EGREP="$ac_path_EGREP"
15137 ac_path_EGREP_max=$ac_count
15138 fi
15139 # 10*(2^10) chars as input seems more than enough
15140 test $ac_count -gt 10 && break
15141 done
15142 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15143 esac
15144
15145 $ac_path_EGREP_found && break 3
15146 done
15147 done
15148 done
15149 IFS=$as_save_IFS
15150 if test -z "$ac_cv_path_EGREP"; then
15151 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
15152 fi
1457215153 else
15154 ac_cv_path_EGREP=$EGREP
15155 fi
15156
15157 fi
15158 fi
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
15160 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
15161 EGREP="$ac_cv_path_EGREP"
15162
15163
15164
15165 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
15166 if test "x$ac_cv_header_sys_epoll_h" = xyes
15167 then :
15168 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
15169
15170 fi
15171
15172
15173 # Checks for typedefs, structures, and compiler characteristics.
15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15175 printf %s "checking for an ANSI C-conforming const... " >&6; }
15176 if test ${ac_cv_c_const+y}
15177 then :
15178 printf %s "(cached) " >&6
15179 else $as_nop
1457315180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1457415181 /* end confdefs.h. */
14575 #include <stdlib.h>
14576 #include <stdarg.h>
14577 #include <string.h>
14578 #include <float.h>
1457915182
1458015183 int
14581 main ()
14582 {
14583
14584 ;
14585 return 0;
14586 }
14587 _ACEOF
14588 if ac_fn_c_try_compile "$LINENO"; then :
14589 ac_cv_header_stdc=yes
14590 else
14591 ac_cv_header_stdc=no
14592 fi
14593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14594
14595 if test $ac_cv_header_stdc = yes; then
14596 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 /* end confdefs.h. */
14599 #include <string.h>
14600
14601 _ACEOF
14602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14603 $EGREP "memchr" >/dev/null 2>&1; then :
14604
14605 else
14606 ac_cv_header_stdc=no
14607 fi
14608 rm -f conftest*
14609
14610 fi
14611
14612 if test $ac_cv_header_stdc = yes; then
14613 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 #include <stdlib.h>
14617
14618 _ACEOF
14619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14620 $EGREP "free" >/dev/null 2>&1; then :
14621
14622 else
14623 ac_cv_header_stdc=no
14624 fi
14625 rm -f conftest*
14626
14627 fi
14628
14629 if test $ac_cv_header_stdc = yes; then
14630 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14631 if test "$cross_compiling" = yes; then :
14632 :
14633 else
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 #include <ctype.h>
14637 #include <stdlib.h>
14638 #if ((' ' & 0x0FF) == 0x020)
14639 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14640 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14641 #else
14642 # define ISLOWER(c) \
14643 (('a' <= (c) && (c) <= 'i') \
14644 || ('j' <= (c) && (c) <= 'r') \
14645 || ('s' <= (c) && (c) <= 'z'))
14646 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14647 #endif
14648
14649 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14650 int
14651 main ()
14652 {
14653 int i;
14654 for (i = 0; i < 256; i++)
14655 if (XOR (islower (i), ISLOWER (i))
14656 || toupper (i) != TOUPPER (i))
14657 return 2;
14658 return 0;
14659 }
14660 _ACEOF
14661 if ac_fn_c_try_run "$LINENO"; then :
14662
14663 else
14664 ac_cv_header_stdc=no
14665 fi
14666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14667 conftest.$ac_objext conftest.beam conftest.$ac_ext
14668 fi
14669
14670 fi
14671 fi
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14673 $as_echo "$ac_cv_header_stdc" >&6; }
14674 if test $ac_cv_header_stdc = yes; then
14675
14676 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14677
14678 fi
14679
14680 for ac_header in sys/epoll.h
14681 do :
14682 ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
14683 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
14684 cat >>confdefs.h <<_ACEOF
14685 #define HAVE_SYS_EPOLL_H 1
14686 _ACEOF
14687
14688 fi
14689
14690 done
14691
14692
14693 # Checks for typedefs, structures, and compiler characteristics.
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14695 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14696 if ${ac_cv_c_const+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14701
14702 int
14703 main ()
15184 main (void)
1470415185 {
1470515186
1470615187 #ifndef __cplusplus
1471315194 /* NEC SVR4.0.2 mips cc rejects this. */
1471415195 struct point {int x, y;};
1471515196 static struct point const zero = {0,0};
14716 /* AIX XL C 1.02.0.0 rejects this.
15197 /* IBM XL C 1.02.0.0 rejects this.
1471715198 It does not let you subtract one const X* pointer from another in
1471815199 an arm of an if-expression whose if-part is not a constant
1471915200 expression */
1474115222 iptr p = 0;
1474215223 ++p;
1474315224 }
14744 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
15225 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
1474515226 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1474615227 struct s { int j; const int *ap[3]; } bx;
1474715228 struct s *b = &bx; b->j = 5;
1475715238 return 0;
1475815239 }
1475915240 _ACEOF
14760 if ac_fn_c_try_compile "$LINENO"; then :
15241 if ac_fn_c_try_compile "$LINENO"
15242 then :
1476115243 ac_cv_c_const=yes
14762 else
15244 else $as_nop
1476315245 ac_cv_c_const=no
1476415246 fi
14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14766 fi
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14768 $as_echo "$ac_cv_c_const" >&6; }
15247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15248 fi
15249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15250 printf "%s\n" "$ac_cv_c_const" >&6; }
1476915251 if test $ac_cv_c_const = no; then
1477015252
14771 $as_echo "#define const /**/" >>confdefs.h
15253 printf "%s\n" "#define const /**/" >>confdefs.h
1477215254
1477315255 fi
1477415256
1477515257 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14776 if test "x$ac_cv_type_size_t" = xyes; then :
14777
14778 else
14779
14780 cat >>confdefs.h <<_ACEOF
14781 #define size_t unsigned int
14782 _ACEOF
15258 if test "x$ac_cv_type_size_t" = xyes
15259 then :
15260
15261 else $as_nop
15262
15263 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
1478315264
1478415265 fi
1478515266
1478815269
1478915270 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "$sa_includes
1479015271 "
14791 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14792
14793 cat >>confdefs.h <<_ACEOF
14794 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14795 _ACEOF
15272 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
15273 then :
15274
15275 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_SA_LEN 1" >>confdefs.h
1479615276
1479715277
1479815278 fi
1479915279
1480015280
1480115281 # Checks for library functions.
14802 for ac_header in sys/select.h sys/socket.h
14803 do :
14804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14805 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14806 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14807 cat >>confdefs.h <<_ACEOF
14808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14809 _ACEOF
14810
14811 fi
14812
14813 done
14814
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
14816 $as_echo_n "checking types of arguments for select... " >&6; }
14817 if ${ac_cv_func_select_args+:} false; then :
14818 $as_echo_n "(cached) " >&6
14819 else
14820 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
15282
15283
15284
15285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
15286 printf %s "checking types of arguments for select... " >&6; }
15287 if test ${ac_cv_func_select_args+y}
15288 then :
15289 printf %s "(cached) " >&6
15290 else $as_nop
15291 ac_cv_func_select_args='int,int *,struct timeval *'
15292 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
1482115293 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
1482215294 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
1482315295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1483115303 #endif
1483215304
1483315305 int
14834 main ()
15306 main (void)
1483515307 {
1483615308 extern int select ($ac_arg1,
1483715309 $ac_arg234, $ac_arg234, $ac_arg234,
1484015312 return 0;
1484115313 }
1484215314 _ACEOF
14843 if ac_fn_c_try_compile "$LINENO"; then :
15315 if ac_fn_c_try_compile "$LINENO"
15316 then :
1484415317 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
1484515318 fi
14846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1484715320 done
1484815321 done
1484915322 done
14850 # Provide a safe default value.
14851 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
14852
14853 fi
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
14855 $as_echo "$ac_cv_func_select_args" >&6; }
15323
15324 fi
15325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
15326 printf "%s\n" "$ac_cv_func_select_args" >&6; }
1485615327 ac_save_IFS=$IFS; IFS=','
1485715328 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
1485815329 IFS=$ac_save_IFS
1485915330 shift
1486015331
14861 cat >>confdefs.h <<_ACEOF
14862 #define SELECT_TYPE_ARG1 $1
15332 printf "%s\n" "#define SELECT_TYPE_ARG1 $1" >>confdefs.h
15333
15334
15335 printf "%s\n" "#define SELECT_TYPE_ARG234 ($2)" >>confdefs.h
15336
15337
15338 printf "%s\n" "#define SELECT_TYPE_ARG5 ($3)" >>confdefs.h
15339
15340 rm -rf conftest*
15341
15342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
15343 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
15344 if test ${ac_cv_c_undeclared_builtin_options+y}
15345 then :
15346 printf %s "(cached) " >&6
15347 else $as_nop
15348 ac_save_CFLAGS=$CFLAGS
15349 ac_cv_c_undeclared_builtin_options='cannot detect'
15350 for ac_arg in '' -fno-builtin; do
15351 CFLAGS="$ac_save_CFLAGS $ac_arg"
15352 # This test program should *not* compile successfully.
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355
15356 int
15357 main (void)
15358 {
15359 (void) strchr;
15360 ;
15361 return 0;
15362 }
1486315363 _ACEOF
14864
14865
14866 cat >>confdefs.h <<_ACEOF
14867 #define SELECT_TYPE_ARG234 ($2)
15364 if ac_fn_c_try_compile "$LINENO"
15365 then :
15366
15367 else $as_nop
15368 # This test program should compile successfully.
15369 # No library function is consistently available on
15370 # freestanding implementations, so test against a dummy
15371 # declaration. Include always-available headers on the
15372 # off chance that they somehow elicit warnings.
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15375 #include <float.h>
15376 #include <limits.h>
15377 #include <stdarg.h>
15378 #include <stddef.h>
15379 extern void ac_decl (int, char *);
15380
15381 int
15382 main (void)
15383 {
15384 (void) ac_decl (0, (char *) 0);
15385 (void) ac_decl;
15386
15387 ;
15388 return 0;
15389 }
1486815390 _ACEOF
14869
14870
14871 cat >>confdefs.h <<_ACEOF
14872 #define SELECT_TYPE_ARG5 ($3)
14873 _ACEOF
14874
14875 rm -f conftest*
14876
14877 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
14878 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
15391 if ac_fn_c_try_compile "$LINENO"
15392 then :
15393 if test x"$ac_arg" = x
15394 then :
15395 ac_cv_c_undeclared_builtin_options='none needed'
15396 else $as_nop
15397 ac_cv_c_undeclared_builtin_options=$ac_arg
15398 fi
15399 break
15400 fi
15401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15402 fi
15403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15404 done
15405 CFLAGS=$ac_save_CFLAGS
15406
15407 fi
15408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
15409 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
15410 case $ac_cv_c_undeclared_builtin_options in #(
15411 'cannot detect') :
15412 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15413 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
15414 as_fn_error $? "cannot make $CC report undeclared builtins
15415 See \`config.log' for more details" "$LINENO" 5; } ;; #(
15416 'none needed') :
15417 ac_c_undeclared_builtin_options='' ;; #(
15418 *) :
15419 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
15420 esac
15421
15422 ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
15423 if test "x$ac_cv_have_decl_strerror_r" = xyes
15424 then :
1487915425 ac_have_decl=1
14880 else
15426 else $as_nop
1488115427 ac_have_decl=0
1488215428 fi
14883
14884 cat >>confdefs.h <<_ACEOF
14885 #define HAVE_DECL_STRERROR_R $ac_have_decl
14886 _ACEOF
14887
14888 for ac_func in strerror_r
14889 do :
14890 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
14891 if test "x$ac_cv_func_strerror_r" = xyes; then :
14892 cat >>confdefs.h <<_ACEOF
14893 #define HAVE_STRERROR_R 1
14894 _ACEOF
14895
14896 fi
14897 done
14898
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
14900 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
14901 if ${ac_cv_func_strerror_r_char_p+:} false; then :
14902 $as_echo_n "(cached) " >&6
14903 else
15429 printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h
15430
15431
15432 if test $ac_cv_have_decl_strerror_r = yes; then
15433 # For backward compatibility's sake, define HAVE_STRERROR_R.
15434 # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well
15435 # as AC_CHECK_DECLS_ONCE.)
15436
15437 printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h
15438
15439 fi
15440
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
15442 printf %s "checking whether strerror_r returns char *... " >&6; }
15443 if test ${ac_cv_func_strerror_r_char_p+y}
15444 then :
15445 printf %s "(cached) " >&6
15446 else $as_nop
1490415447
1490515448 ac_cv_func_strerror_r_char_p=no
1490615449 if test $ac_cv_have_decl_strerror_r = yes; then
1490715450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1490815451 /* end confdefs.h. */
14909 $ac_includes_default
15452 #include <string.h>
1491015453 int
14911 main ()
15454 main (void)
1491215455 {
1491315456
1491415457 char buf[100];
1492015463 return 0;
1492115464 }
1492215465 _ACEOF
14923 if ac_fn_c_try_compile "$LINENO"; then :
15466 if ac_fn_c_try_compile "$LINENO"
15467 then :
1492415468 ac_cv_func_strerror_r_char_p=yes
1492515469 fi
14926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14927 else
14928 # strerror_r is not declared. Choose between
14929 # systems that have relatively inaccessible declarations for the
14930 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
14931 # former has a strerror_r that returns char*, while the latter
14932 # has a strerror_r that returns `int'.
14933 # This test should segfault on the DEC system.
14934 if test "$cross_compiling" = yes; then :
14935 :
14936 else
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14939 $ac_includes_default
14940 extern char *strerror_r ();
14941 int
14942 main ()
14943 {
14944 char buf[100];
14945 char x = *strerror_r (0, buf, sizeof buf);
14946 return ! isalpha (x);
14947 ;
14948 return 0;
14949 }
14950 _ACEOF
14951 if ac_fn_c_try_run "$LINENO"; then :
14952 ac_cv_func_strerror_r_char_p=yes
14953 fi
14954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14955 conftest.$ac_objext conftest.beam conftest.$ac_ext
14956 fi
15470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1495715471
1495815472 fi
1495915473
1496015474 fi
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
14962 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
15475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
15476 printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; }
1496315477 if test $ac_cv_func_strerror_r_char_p = yes; then
1496415478
14965 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
14966
14967 fi
14968
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
14970 $as_echo_n "checking return type of signal handlers... " >&6; }
14971 if ${ac_cv_type_signal+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
15479 printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h
15480
15481 fi
15482
15483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
15484 printf %s "checking return type of signal handlers... " >&6; }
15485 if test ${ac_cv_type_signal+y}
15486 then :
15487 printf %s "(cached) " >&6
15488 else $as_nop
1497415489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1497515490 /* end confdefs.h. */
1497615491 #include <sys/types.h>
1497715492 #include <signal.h>
1497815493
1497915494 int
14980 main ()
15495 main (void)
1498115496 {
1498215497 return *(signal (0, 0)) (0) == 1;
1498315498 ;
1498415499 return 0;
1498515500 }
1498615501 _ACEOF
14987 if ac_fn_c_try_compile "$LINENO"; then :
15502 if ac_fn_c_try_compile "$LINENO"
15503 then :
1498815504 ac_cv_type_signal=int
14989 else
15505 else $as_nop
1499015506 ac_cv_type_signal=void
1499115507 fi
14992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14993 fi
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
14995 $as_echo "$ac_cv_type_signal" >&6; }
14996
14997 cat >>confdefs.h <<_ACEOF
14998 #define RETSIGTYPE $ac_cv_type_signal
14999 _ACEOF
15000
15001
15002 for ac_func in strerror_r strdup strndup epoll_create epoll_create1
15003 do :
15004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15006 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15007 cat >>confdefs.h <<_ACEOF
15008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15009 _ACEOF
15010
15011 fi
15012 done
15508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15509 fi
15510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
15511 printf "%s\n" "$ac_cv_type_signal" >&6; }
15512
15513 printf "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h
15514
15515
15516 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
15517 if test "x$ac_cv_func_strerror_r" = xyes
15518 then :
15519 printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h
15520
15521 fi
15522 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
15523 if test "x$ac_cv_func_strdup" = xyes
15524 then :
15525 printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
15526
15527 fi
15528 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
15529 if test "x$ac_cv_func_strndup" = xyes
15530 then :
15531 printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h
15532
15533 fi
15534 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
15535 if test "x$ac_cv_func_epoll_create" = xyes
15536 then :
15537 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
15538
15539 fi
15540 ac_fn_c_check_func "$LINENO" "epoll_create1" "ac_cv_func_epoll_create1"
15541 if test "x$ac_cv_func_epoll_create1" = xyes
15542 then :
15543 printf "%s\n" "#define HAVE_EPOLL_CREATE1 1" >>confdefs.h
15544
15545 fi
1501315546
1501415547
1501515548 # enable TLS (may not be possible on platforms with too-old GnuTLS)
1501615549 # Check whether --enable-tls was given.
15017 if test "${enable_tls+set}" = set; then :
15550 if test ${enable_tls+y}
15551 then :
1501815552 enableval=$enable_tls; case "${enableval}" in
1501915553 yes) enable_tls="yes" ;;
1502015554 no) enable_tls="no" ;;
1502115555 *) as_fn_error $? "bad value ${enableval} for --enable-tls" "$LINENO" 5 ;;
1502215556 esac
15023 else
15557 else $as_nop
1502415558 enable_tls="yes"
1502515559
1502615560 fi
1502715561
1502815562 # enable Openssl TLS
1502915563 # Check whether --enable-tls-openssl was given.
15030 if test "${enable_tls_openssl+set}" = set; then :
15564 if test ${enable_tls_openssl+y}
15565 then :
1503115566 enableval=$enable_tls_openssl; case "${enableval}" in
1503215567 yes) enable_tls_openssl="yes" ;;
1503315568 no) enable_tls_openssl="no" ;;
1503415569 *) as_fn_error $? "bad value ${enableval} for --enable-tls-openssl" "$LINENO" 5 ;;
1503515570 esac
15036 else
15571 else $as_nop
1503715572 enable_tls_openssl="yes"
1503815573
1503915574 fi
1504215577 if test "$enable_tls_openssl" = "yes"; then
1504315578
1504415579 pkg_failed=no
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
15046 $as_echo_n "checking for OPENSSL... " >&6; }
15580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
15581 printf %s "checking for openssl... " >&6; }
1504715582
1504815583 if test -n "$OPENSSL_CFLAGS"; then
1504915584 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
1505015585 elif test -n "$PKG_CONFIG"; then
1505115586 if test -n "$PKG_CONFIG" && \
15052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
15587 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
1505315588 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
1505415589 ac_status=$?
15055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505615591 test $ac_status = 0; }; then
1505715592 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
1505815593 test "x$?" != "x0" && pkg_failed=yes
1506615601 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
1506715602 elif test -n "$PKG_CONFIG"; then
1506815603 if test -n "$PKG_CONFIG" && \
15069 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
15604 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
1507015605 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
1507115606 ac_status=$?
15072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507315608 test $ac_status = 0; }; then
1507415609 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
1507515610 test "x$?" != "x0" && pkg_failed=yes
1508315618
1508415619
1508515620 if test $pkg_failed = yes; then
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15087 $as_echo "no" >&6; }
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15622 printf "%s\n" "no" >&6; }
1508815623
1508915624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1509015625 _pkg_short_errors_supported=yes
1511015645 and OPENSSL_LIBS to avoid the need to call pkg-config.
1511115646 See the pkg-config man page for more details." "$LINENO" 5
1511215647 elif test $pkg_failed = untried; then
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15114 $as_echo "no" >&6; }
15115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15649 printf "%s\n" "no" >&6; }
15650 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15651 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1511715652 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1511815653 is in your PATH or set the PKG_CONFIG environment variable to the full
1511915654 path to pkg-config.
1512715662 else
1512815663 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
1512915664 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15131 $as_echo "yes" >&6; }
15132
15133 fi
15134
15135 $as_echo "#define ENABLE_TLS_OPENSSL 1" >>confdefs.h
15665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15666 printf "%s\n" "yes" >&6; }
15667
15668 fi
15669
15670 printf "%s\n" "#define ENABLE_TLS_OPENSSL 1" >>confdefs.h
1513615671
1513715672 enable_tls_generic="yes"
1513815673 save_CFLAGS="$CFLAGS"
1515215687 if test "$enable_tls" = "yes"; then
1515315688
1515415689 pkg_failed=no
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
15156 $as_echo_n "checking for GNUTLS... " >&6; }
15690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 2.0.0" >&5
15691 printf %s "checking for gnutls >= 2.0.0... " >&6; }
1515715692
1515815693 if test -n "$GNUTLS_CFLAGS"; then
1515915694 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS"
1516015695 elif test -n "$PKG_CONFIG"; then
1516115696 if test -n "$PKG_CONFIG" && \
15162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\""; } >&5
15697 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\""; } >&5
1516315698 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.0.0") 2>&5
1516415699 ac_status=$?
15165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516615701 test $ac_status = 0; }; then
1516715702 pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.0.0" 2>/dev/null`
1516815703 test "x$?" != "x0" && pkg_failed=yes
1517615711 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS"
1517715712 elif test -n "$PKG_CONFIG"; then
1517815713 if test -n "$PKG_CONFIG" && \
15179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\""; } >&5
15714 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.0.0\""; } >&5
1518015715 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.0.0") 2>&5
1518115716 ac_status=$?
15182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15717 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518315718 test $ac_status = 0; }; then
1518415719 pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.0.0" 2>/dev/null`
1518515720 test "x$?" != "x0" && pkg_failed=yes
1519315728
1519415729
1519515730 if test $pkg_failed = yes; then
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15197 $as_echo "no" >&6; }
15731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15732 printf "%s\n" "no" >&6; }
1519815733
1519915734 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1520015735 _pkg_short_errors_supported=yes
1522015755 and GNUTLS_LIBS to avoid the need to call pkg-config.
1522115756 See the pkg-config man page for more details." "$LINENO" 5
1522215757 elif test $pkg_failed = untried; then
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15224 $as_echo "no" >&6; }
15225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15759 printf "%s\n" "no" >&6; }
15760 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15761 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1522715762 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1522815763 is in your PATH or set the PKG_CONFIG environment variable to the full
1522915764 path to pkg-config.
1523715772 else
1523815773 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS
1523915774 GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15241 $as_echo "yes" >&6; }
15242
15243 fi
15244
15245 $as_echo "#define ENABLE_TLS 1" >>confdefs.h
15775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15776 printf "%s\n" "yes" >&6; }
15777
15778 fi
15779
15780 printf "%s\n" "#define ENABLE_TLS 1" >>confdefs.h
1524615781
1524715782 enable_tls_generic="yes"
1524815783 # Check if we have support for proper cert validation
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have gnutls_certificate_set_verify_function" >&5
15250 $as_echo_n "checking if we have gnutls_certificate_set_verify_function... " >&6; }
15784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have gnutls_certificate_set_verify_function" >&5
15785 printf %s "checking if we have gnutls_certificate_set_verify_function... " >&6; }
1525115786 save_CFLAGS="$CFLAGS"
1525215787 CFLAGS="$CFLAGS $GNUTLS_CFLAGS"
1525315788 save_LIBS="$LIBS"
1525915794 #include <gnutls/x509.h>
1526015795
1526115796 int
15262 main ()
15797 main (void)
1526315798 {
1526415799
1526515800 gnutls_certificate_set_verify_function(NULL, NULL);
1526815803 return 0;
1526915804 }
1527015805 _ACEOF
15271 if ac_fn_c_try_link "$LINENO"; then :
15272
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15274 $as_echo "yes" >&6; }
15275
15276 $as_echo "#define HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION 1" >>confdefs.h
15806 if ac_fn_c_try_link "$LINENO"
15807 then :
15808
15809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15810 printf "%s\n" "yes" >&6; }
15811
15812 printf "%s\n" "#define HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION 1" >>confdefs.h
1527715813
1527815814 have_gnutls_certificate_set_verify_function=yes
1527915815
15280 else
15281
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; authentication disabled" >&5
15283 $as_echo "no; authentication disabled" >&6; }
15816 else $as_nop
15817
15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no; authentication disabled" >&5
15819 printf "%s\n" "no; authentication disabled" >&6; }
1528415820 have_gnutls_certificate_set_verify_function=no
1528515821
1528615822
1528715823 fi
15288 rm -f core conftest.err conftest.$ac_objext \
15824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1528915825 conftest$ac_exeext conftest.$ac_ext
1529015826 CFLAGS="$save_CFLAGS"
1529115827 LIBS="$save_LIBS"
1530915845
1531015846 if test "$enable_tls_generic" = "yes"; then
1531115847
15312 $as_echo "#define WITH_TLS 1" >>confdefs.h
15848 printf "%s\n" "#define WITH_TLS 1" >>confdefs.h
1531315849
1531415850 fi
1531515851
1531615852 # enable Openssl TLS
1531715853 # Check whether --enable-tls-openssl was given.
15318 if test "${enable_tls_openssl+set}" = set; then :
15854 if test ${enable_tls_openssl+y}
15855 then :
1531915856 enableval=$enable_tls_openssl; case "${enableval}" in
1532015857 yes) enable_tls_openssl="yes" ;;
1532115858 no) enable_tls_openssl="no" ;;
1532215859 *) as_fn_error $? "bad value ${enableval} for --enable-tls-openssl" "$LINENO" 5 ;;
1532315860 esac
15324 else
15861 else $as_nop
1532515862 enable_tls_openssl="no"
1532615863
1532715864 fi
1533015867 if test "$enable_tls_openssl" = "yes"; then
1533115868
1533215869 pkg_failed=no
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
15334 $as_echo_n "checking for OPENSSL... " >&6; }
15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
15871 printf %s "checking for openssl... " >&6; }
1533515872
1533615873 if test -n "$OPENSSL_CFLAGS"; then
1533715874 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
1533815875 elif test -n "$PKG_CONFIG"; then
1533915876 if test -n "$PKG_CONFIG" && \
15340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
15877 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
1534115878 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
1534215879 ac_status=$?
15343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15880 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534415881 test $ac_status = 0; }; then
1534515882 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
1534615883 test "x$?" != "x0" && pkg_failed=yes
1535415891 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
1535515892 elif test -n "$PKG_CONFIG"; then
1535615893 if test -n "$PKG_CONFIG" && \
15357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
15894 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
1535815895 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
1535915896 ac_status=$?
15360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536115898 test $ac_status = 0; }; then
1536215899 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
1536315900 test "x$?" != "x0" && pkg_failed=yes
1537115908
1537215909
1537315910 if test $pkg_failed = yes; then
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15375 $as_echo "no" >&6; }
15911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15912 printf "%s\n" "no" >&6; }
1537615913
1537715914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1537815915 _pkg_short_errors_supported=yes
1539815935 and OPENSSL_LIBS to avoid the need to call pkg-config.
1539915936 See the pkg-config man page for more details." "$LINENO" 5
1540015937 elif test $pkg_failed = untried; then
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15402 $as_echo "no" >&6; }
15403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15939 printf "%s\n" "no" >&6; }
15940 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15941 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1540515942 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1540615943 is in your PATH or set the PKG_CONFIG environment variable to the full
1540715944 path to pkg-config.
1541515952 else
1541615953 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
1541715954 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15419 $as_echo "yes" >&6; }
15420
15421 fi
15422
15423 $as_echo "#define ENABLE_TLS_OPENSSL 1" >>confdefs.h
15955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15956 printf "%s\n" "yes" >&6; }
15957
15958 fi
15959
15960 printf "%s\n" "#define ENABLE_TLS_OPENSSL 1" >>confdefs.h
1542415961
1542515962 save_CFLAGS="$CFLAGS"
1542615963 CFLAGS="$CFLAGS $OPENSSL_CFLAGS"
1543815975
1543915976 # debug mode settings
1544015977 # Check whether --enable-debug was given.
15441 if test "${enable_debug+set}" = set; then :
15978 if test ${enable_debug+y}
15979 then :
1544215980 enableval=$enable_debug; case "${enableval}" in
1544315981 yes) enable_debug="yes" ;;
1544415982 no) enable_debug="no" ;;
1544515983 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
1544615984 esac
15447 else
15985 else $as_nop
1544815986 enable_debug="no"
1544915987
1545015988 fi
1545115989
1545215990 if test "$enable_debug" = "yes"; then
1545315991
15454 $as_echo "#define DEBUG 1" >>confdefs.h
15992 printf "%s\n" "#define DEBUG 1" >>confdefs.h
1545515993
1545615994 fi
1545715995 if test "$enable_debug" = "no"; then
1545815996
15459 $as_echo "#define NDEBUG 1" >>confdefs.h
15997 printf "%s\n" "#define NDEBUG 1" >>confdefs.h
1546015998
1546115999 fi
1546216000
1546316001 # valgrind
1546416002 # Check whether --enable-valgrind was given.
15465 if test "${enable_valgrind+set}" = set; then :
16003 if test ${enable_valgrind+y}
16004 then :
1546616005 enableval=$enable_valgrind; case "${enableval}" in
1546716006 yes) enable_valgrind="yes" ;;
1546816007 no) enable_valgrind="no" ;;
1546916008 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
1547016009 esac
15471 else
16010 else $as_nop
1547216011 enable_valgrind="yes"
1547316012
1547416013 fi
1547616015 if test "$enable_valgrind" = "yes"; then
1547716016 # Extract the first word of "valgrind", so it can be a program name with args.
1547816017 set dummy valgrind; ac_word=$2
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15480 $as_echo_n "checking for $ac_word... " >&6; }
15481 if ${ac_cv_prog_VALGRIND+:} false; then :
15482 $as_echo_n "(cached) " >&6
15483 else
16018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16019 printf %s "checking for $ac_word... " >&6; }
16020 if test ${ac_cv_prog_VALGRIND+y}
16021 then :
16022 printf %s "(cached) " >&6
16023 else $as_nop
1548416024 if test -n "$VALGRIND"; then
1548516025 ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
1548616026 else
1548816028 for as_dir in $PATH
1548916029 do
1549016030 IFS=$as_save_IFS
15491 test -z "$as_dir" && as_dir=.
16031 case $as_dir in #(((
16032 '') as_dir=./ ;;
16033 */) ;;
16034 *) as_dir=$as_dir/ ;;
16035 esac
1549216036 for ac_exec_ext in '' $ac_executable_extensions; do
15493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16037 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1549416038 ac_cv_prog_VALGRIND="valgrind"
15495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1549616040 break 2
1549716041 fi
1549816042 done
1550416048 fi
1550516049 VALGRIND=$ac_cv_prog_VALGRIND
1550616050 if test -n "$VALGRIND"; then
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
15508 $as_echo "$VALGRIND" >&6; }
16051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
16052 printf "%s\n" "$VALGRIND" >&6; }
1550916053 else
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15511 $as_echo "no" >&6; }
16054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16055 printf "%s\n" "no" >&6; }
1551216056 fi
1551316057
1551416058
1555316097 case $ac_val in #(
1555416098 *${as_nl}*)
1555516099 case $ac_var in #(
15556 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15557 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16100 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16101 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1555816102 esac
1555916103 case $ac_var in #(
1556016104 _ | IFS | as_nl) ;; #(
1558416128 /^ac_cv_env_/b end
1558516129 t clear
1558616130 :clear
15587 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16131 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1558816132 t end
1558916133 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1559016134 :end' >>confcache
1559116135 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1559216136 if test -w "$cache_file"; then
1559316137 if test "x$cache_file" != "x/dev/null"; then
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15595 $as_echo "$as_me: updating cache $cache_file" >&6;}
16138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16139 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1559616140 if test ! -f "$cache_file" || test -h "$cache_file"; then
1559716141 cat confcache >"$cache_file"
1559816142 else
1560616150 fi
1560716151 fi
1560816152 else
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15610 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16154 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1561116155 fi
1561216156 fi
1561316157 rm -f confcache
1562416168 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1562516169 # 1. Remove the extension, and $U if already installed.
1562616170 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15627 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16171 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1562816172 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1562916173 # will be set to the directory where LIBOBJS objects are built.
1563016174 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1563516179 LTLIBOBJS=$ac_ltlibobjs
1563616180
1563716181
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15639 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16183 printf %s "checking that generated files are newer than configure... " >&6; }
1564016184 if test -n "$am_sleep_pid"; then
1564116185 # Hide warnings about reused PIDs.
1564216186 wait $am_sleep_pid 2>/dev/null
1564316187 fi
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15645 $as_echo "done" >&6; }
16188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
16189 printf "%s\n" "done" >&6; }
1564616190 if test -n "$EXEEXT"; then
1564716191 am__EXEEXT_TRUE=
1564816192 am__EXEEXT_FALSE='#'
1570416248 ac_write_fail=0
1570516249 ac_clean_files_save=$ac_clean_files
1570616250 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15708 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16252 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1570916253 as_write_fail=0
1571016254 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1571116255 #! $SHELL
1572816272
1572916273 # Be more Bourne compatible
1573016274 DUALCASE=1; export DUALCASE # for MKS sh
15731 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16275 as_nop=:
16276 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
16277 then :
1573216278 emulate sh
1573316279 NULLCMD=:
1573416280 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1573516281 # is contrary to our usage. Disable this feature.
1573616282 alias -g '${1+"$@"}'='"$@"'
1573716283 setopt NO_GLOB_SUBST
15738 else
16284 else $as_nop
1573916285 case `(set -o) 2>/dev/null` in #(
1574016286 *posix*) :
1574116287 set -o posix ;; #(
1574516291 fi
1574616292
1574716293
16294
16295 # Reset variables that may have inherited troublesome values from
16296 # the environment.
16297
16298 # IFS needs to be set, to space, tab, and newline, in precisely that order.
16299 # (If _AS_PATH_WALK were called with IFS unset, it would have the
16300 # side effect of setting IFS to empty, thus disabling word splitting.)
16301 # Quoting is to prevent editors from complaining about space-tab.
1574816302 as_nl='
1574916303 '
1575016304 export as_nl
15751 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15752 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15753 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15754 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15755 # Prefer a ksh shell builtin over an external printf program on Solaris,
15756 # but without wasting forks for bash or zsh.
15757 if test -z "$BASH_VERSION$ZSH_VERSION" \
15758 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15759 as_echo='print -r --'
15760 as_echo_n='print -rn --'
15761 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15762 as_echo='printf %s\n'
15763 as_echo_n='printf %s'
15764 else
15765 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15766 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15767 as_echo_n='/usr/ucb/echo -n'
15768 else
15769 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15770 as_echo_n_body='eval
15771 arg=$1;
15772 case $arg in #(
15773 *"$as_nl"*)
15774 expr "X$arg" : "X\\(.*\\)$as_nl";
15775 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15776 esac;
15777 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15778 '
15779 export as_echo_n_body
15780 as_echo_n='sh -c $as_echo_n_body as_echo'
15781 fi
15782 export as_echo_body
15783 as_echo='sh -c $as_echo_body as_echo'
15784 fi
16305 IFS=" "" $as_nl"
16306
16307 PS1='$ '
16308 PS2='> '
16309 PS4='+ '
16310
16311 # Ensure predictable behavior from utilities with locale-dependent output.
16312 LC_ALL=C
16313 export LC_ALL
16314 LANGUAGE=C
16315 export LANGUAGE
16316
16317 # We cannot yet rely on "unset" to work, but we need these variables
16318 # to be unset--not just set to an empty or harmless value--now, to
16319 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
16320 # also avoids known problems related to "unset" and subshell syntax
16321 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
16322 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
16323 do eval test \${$as_var+y} \
16324 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16325 done
16326
16327 # Ensure that fds 0, 1, and 2 are open.
16328 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
16329 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
16330 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
1578516331
1578616332 # The user is always right.
15787 if test "${PATH_SEPARATOR+set}" != set; then
16333 if ${PATH_SEPARATOR+false} :; then
1578816334 PATH_SEPARATOR=:
1578916335 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
1579016336 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
1579216338 }
1579316339 fi
1579416340
15795
15796 # IFS
15797 # We need space, tab and new line, in precisely that order. Quoting is
15798 # there to prevent editors from complaining about space-tab.
15799 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15800 # splitting by setting IFS to empty value.)
15801 IFS=" "" $as_nl"
1580216341
1580316342 # Find who we are. Look in the path if we contain no directory separator.
1580416343 as_myself=
1580816347 for as_dir in $PATH
1580916348 do
1581016349 IFS=$as_save_IFS
15811 test -z "$as_dir" && as_dir=.
15812 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16350 case $as_dir in #(((
16351 '') as_dir=./ ;;
16352 */) ;;
16353 *) as_dir=$as_dir/ ;;
16354 esac
16355 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1581316356 done
1581416357 IFS=$as_save_IFS
1581516358
1582116364 as_myself=$0
1582216365 fi
1582316366 if test ! -f "$as_myself"; then
15824 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16367 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1582516368 exit 1
1582616369 fi
1582716370
15828 # Unset variables that we do not need and which cause bugs (e.g. in
15829 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15830 # suppresses any "Segmentation fault" message there. '((' could
15831 # trigger a bug in pdksh 5.2.14.
15832 for as_var in BASH_ENV ENV MAIL MAILPATH
15833 do eval test x\${$as_var+set} = xset \
15834 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15835 done
15836 PS1='$ '
15837 PS2='> '
15838 PS4='+ '
15839
15840 # NLS nuisances.
15841 LC_ALL=C
15842 export LC_ALL
15843 LANGUAGE=C
15844 export LANGUAGE
15845
15846 # CDPATH.
15847 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1584816371
1584916372
1585016373 # as_fn_error STATUS ERROR [LINENO LOG_FD]
1585716380 as_status=$1; test $as_status -eq 0 && as_status=1
1585816381 if test "$4"; then
1585916382 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15860 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1586116384 fi
15862 $as_echo "$as_me: error: $2" >&2
16385 printf "%s\n" "$as_me: error: $2" >&2
1586316386 as_fn_exit $as_status
1586416387 } # as_fn_error
16388
1586516389
1586616390
1586716391 # as_fn_set_status STATUS
1589016414 { eval $1=; unset $1;}
1589116415 }
1589216416 as_unset=as_fn_unset
16417
1589316418 # as_fn_append VAR VALUE
1589416419 # ----------------------
1589516420 # Append the text in VALUE to the end of the definition contained in VAR. Take
1589616421 # advantage of any shell optimizations that allow amortized linear growth over
1589716422 # repeated appends, instead of the typical quadratic growth present in naive
1589816423 # implementations.
15899 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16424 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
16425 then :
1590016426 eval 'as_fn_append ()
1590116427 {
1590216428 eval $1+=\$2
1590316429 }'
15904 else
16430 else $as_nop
1590516431 as_fn_append ()
1590616432 {
1590716433 eval $1=\$$1\$2
1591316439 # Perform arithmetic evaluation on the ARGs, and store the result in the
1591416440 # global $as_val. Take advantage of shells that can avoid forks. The arguments
1591516441 # must be portable across $(()) and expr.
15916 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16442 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
16443 then :
1591716444 eval 'as_fn_arith ()
1591816445 {
1591916446 as_val=$(( $* ))
1592016447 }'
15921 else
16448 else $as_nop
1592216449 as_fn_arith ()
1592316450 {
1592416451 as_val=`expr "$@" || test $? -eq 1`
1594916476 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1595016477 X"$0" : 'X\(//\)$' \| \
1595116478 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15952 $as_echo X/"$0" |
16479 printf "%s\n" X/"$0" |
1595316480 sed '/^.*\/\([^/][^/]*\)\/*$/{
1595416481 s//\1/
1595516482 q
1597116498 as_cr_digits='0123456789'
1597216499 as_cr_alnum=$as_cr_Letters$as_cr_digits
1597316500
16501
16502 # Determine whether it's possible to make 'echo' print without a newline.
16503 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16504 # for compatibility with existing Makefiles.
1597416505 ECHO_C= ECHO_N= ECHO_T=
1597516506 case `echo -n x` in #(((((
1597616507 -n*)
1598316514 *)
1598416515 ECHO_N='-n';;
1598516516 esac
16517
16518 # For backward compatibility with old third-party macros, we provide
16519 # the shell variables $as_echo and $as_echo_n. New code should use
16520 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16521 as_echo='printf %s\n'
16522 as_echo_n='printf %s'
1598616523
1598716524 rm -f conf$$ conf$$.exe conf$$.file
1598816525 if test -d conf$$.dir; then
1602516562 as_dirs=
1602616563 while :; do
1602716564 case $as_dir in #(
16028 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16565 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1602916566 *) as_qdir=$as_dir;;
1603016567 esac
1603116568 as_dirs="'$as_qdir' $as_dirs"
1603416571 X"$as_dir" : 'X\(//\)[^/]' \| \
1603516572 X"$as_dir" : 'X\(//\)$' \| \
1603616573 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16037 $as_echo X"$as_dir" |
16574 printf "%s\n" X"$as_dir" |
1603816575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1603916576 s//\1/
1604016577 q
1609716634 # values after options handling.
1609816635 ac_log="
1609916636 This file was extended by librelp $as_me 1.10.0, which was
16100 generated by GNU Autoconf 2.69. Invocation command line was
16637 generated by GNU Autoconf 2.71. Invocation command line was
1610116638
1610216639 CONFIG_FILES = $CONFIG_FILES
1610316640 CONFIG_HEADERS = $CONFIG_HEADERS
1615916696 Report bugs to <rgerhards@adiscon.com>."
1616016697
1616116698 _ACEOF
16699 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
16700 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1616216701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16163 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16702 ac_cs_config='$ac_cs_config_escaped'
1616416703 ac_cs_version="\\
1616516704 librelp config.status 1.10.0
16166 configured by $0, generated by GNU Autoconf 2.69,
16705 configured by $0, generated by GNU Autoconf 2.71,
1616716706 with options \\"\$ac_cs_config\\"
1616816707
16169 Copyright (C) 2012 Free Software Foundation, Inc.
16708 Copyright (C) 2021 Free Software Foundation, Inc.
1617016709 This config.status script is free software; the Free Software Foundation
1617116710 gives unlimited permission to copy, distribute and modify it."
1617216711
1620616745 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1620716746 ac_cs_recheck=: ;;
1620816747 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16209 $as_echo "$ac_cs_version"; exit ;;
16748 printf "%s\n" "$ac_cs_version"; exit ;;
1621016749 --config | --confi | --conf | --con | --co | --c )
16211 $as_echo "$ac_cs_config"; exit ;;
16750 printf "%s\n" "$ac_cs_config"; exit ;;
1621216751 --debug | --debu | --deb | --de | --d | -d )
1621316752 debug=: ;;
1621416753 --file | --fil | --fi | --f )
1621516754 $ac_shift
1621616755 case $ac_optarg in
16217 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16756 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1621816757 '') as_fn_error $? "missing file argument" ;;
1621916758 esac
1622016759 as_fn_append CONFIG_FILES " '$ac_optarg'"
1622216761 --header | --heade | --head | --hea )
1622316762 $ac_shift
1622416763 case $ac_optarg in
16225 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16764 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1622616765 esac
1622716766 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1622816767 ac_need_defaults=false;;
1623116770 as_fn_error $? "ambiguous option: \`$1'
1623216771 Try \`$0 --help' for more information.";;
1623316772 --help | --hel | -h )
16234 $as_echo "$ac_cs_usage"; exit ;;
16773 printf "%s\n" "$ac_cs_usage"; exit ;;
1623516774 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1623616775 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1623716776 ac_cs_silent=: ;;
1625916798 if \$ac_cs_recheck; then
1626016799 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1626116800 shift
16262 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16801 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1626316802 CONFIG_SHELL='$SHELL'
1626416803 export CONFIG_SHELL
1626516804 exec "\$@"
1627316812 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1627416813 ## Running $as_me. ##
1627516814 _ASBOX
16276 $as_echo "$ac_log"
16815 printf "%s\n" "$ac_log"
1627716816 } >&5
1627816817
1627916818 _ACEOF
1659417133 # We use the long form for the default assignment because of an extremely
1659517134 # bizarre bug on SunOS 4.1.3.
1659617135 if $ac_need_defaults; then
16597 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16598 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16599 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17136 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
17137 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
17138 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1660017139 fi
1660117140
1660217141 # Have a temporary directory for convenience. Make it in the build tree
1693217471 esac ||
1693317472 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1693417473 esac
16935 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17474 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1693617475 as_fn_append ac_file_inputs " '$ac_f'"
1693717476 done
1693817477
1694017479 # use $as_me), people would be surprised to read:
1694117480 # /* config.h. Generated by config.status. */
1694217481 configure_input='Generated from '`
16943 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17482 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1694417483 `' by configure.'
1694517484 if test x"$ac_file" != x-; then
1694617485 configure_input="$ac_file. $configure_input"
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16948 $as_echo "$as_me: creating $ac_file" >&6;}
17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17487 printf "%s\n" "$as_me: creating $ac_file" >&6;}
1694917488 fi
1695017489 # Neutralize special characters interpreted by sed in replacement strings.
1695117490 case $configure_input in #(
1695217491 *\&* | *\|* | *\\* )
16953 ac_sed_conf_input=`$as_echo "$configure_input" |
17492 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1695417493 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1695517494 *) ac_sed_conf_input=$configure_input;;
1695617495 esac
1696717506 X"$ac_file" : 'X\(//\)[^/]' \| \
1696817507 X"$ac_file" : 'X\(//\)$' \| \
1696917508 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16970 $as_echo X"$ac_file" |
17509 printf "%s\n" X"$ac_file" |
1697117510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1697217511 s//\1/
1697317512 q
1699117530 case "$ac_dir" in
1699217531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1699317532 *)
16994 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17533 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1699517534 # A ".." for each directory in $ac_dir_suffix.
16996 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17535 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1699717536 case $ac_top_builddir_sub in
1699817537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1699917538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1705517594 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1705617595 *datarootdir*) ac_datarootdir_seen=yes;;
1705717596 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17059 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17598 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1706017599 _ACEOF
1706117600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1706217601 ac_datarootdir_hack='
1710017639 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1710117640 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1710217641 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1710417643 which seems to be undefined. Please make sure it is defined" >&5
17105 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17644 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1710617645 which seems to be undefined. Please make sure it is defined" >&2;}
1710717646
1710817647 rm -f "$ac_tmp/stdin"
1711817657 #
1711917658 if test x"$ac_file" != x-; then
1712017659 {
17121 $as_echo "/* $configure_input */" \
17660 printf "%s\n" "/* $configure_input */" >&1 \
1712217661 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1712317662 } >"$ac_tmp/config.h" \
1712417663 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1712517664 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17127 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17666 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1712817667 else
1712917668 rm -f "$ac_file"
1713017669 mv "$ac_tmp/config.h" "$ac_file" \
1713117670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1713217671 fi
1713317672 else
17134 $as_echo "/* $configure_input */" \
17673 printf "%s\n" "/* $configure_input */" >&1 \
1713517674 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1713617675 || as_fn_error $? "could not create -" "$LINENO" 5
1713717676 fi
1715117690 X"$_am_arg" : 'X\(//\)[^/]' \| \
1715217691 X"$_am_arg" : 'X\(//\)$' \| \
1715317692 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17154 $as_echo X"$_am_arg" |
17693 printf "%s\n" X"$_am_arg" |
1715517694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1715617695 s//\1/
1715717696 q
1717117710 s/.*/./; q'`/stamp-h$_am_stamp_count
1717217711 ;;
1717317712
17174 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17175 $as_echo "$as_me: executing $ac_file commands" >&6;}
17713 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17714 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1717617715 ;;
1717717716 esac
1717817717
1719817737 for am_mf
1719917738 do
1720017739 # Strip MF so we end up with the name of the file.
17201 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17740 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1720217741 # Check whether this is an Automake generated Makefile which includes
1720317742 # dependency-tracking related rules and includes.
1720417743 # Grep'ing the whole file directly is not great: AIX grep has a line
1721017749 X"$am_mf" : 'X\(//\)[^/]' \| \
1721117750 X"$am_mf" : 'X\(//\)$' \| \
1721217751 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17213 $as_echo X"$am_mf" |
17752 printf "%s\n" X"$am_mf" |
1721417753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1721517754 s//\1/
1721617755 q
1723217771 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
1723317772 X"$am_mf" : 'X\(//\)$' \| \
1723417773 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17235 $as_echo X/"$am_mf" |
17774 printf "%s\n" X/"$am_mf" |
1723617775 sed '/^.*\/\([^/][^/]*\)\/*$/{
1723717776 s//\1/
1723817777 q
1725717796 (exit $ac_status); } || am_rc=$?
1725817797 done
1725917798 if test $am_rc -ne 0; then
17260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17799 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17800 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1726217801 as_fn_error $? "Something went wrong bootstrapping makefile fragments
17263 for automatic dependency tracking. Try re-running configure with the
17802 for automatic dependency tracking. If GNU make was not used, consider
17803 re-running the configure script with MAKE=\"gmake\" (or whatever is
17804 necessary). You can also try re-running configure with the
1726417805 '--disable-dependency-tracking' option to at least be able to build
1726517806 the package (albeit without support for automatic dependency tracking).
1726617807 See \`config.log' for more details" "$LINENO" 5; }
1779918340 esac
1780018341
1780118342
18343
1780218344 ltmain=$ac_aux_dir/ltmain.sh
1780318345
1780418346
1784818390 $ac_cs_success || as_fn_exit 1
1784918391 fi
1785018392 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17852 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18394 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1785318395 fi
1785418396
1785518397
1786418406 echo "OPENSSL enabled: $enable_tls_openssl"
1786518407 echo "generic TLS tests enabled: $enable_tls_generic"
1786618408
18409
0 librelp (1.10.0+git20210916.1.e3cb0b9-1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Debian Janitor <janitor@jelmer.uk> Tue, 05 Oct 2021 08:25:26 -0000
5
06 librelp (1.10.0-1) unstable; urgency=medium
17
28 * New upstream version 1.10.0
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.4 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
132132 CC = @CC@
133133 CCDEPMODE = @CCDEPMODE@
134134 CFLAGS = @CFLAGS@
135 CPP = @CPP@
136135 CPPFLAGS = @CPPFLAGS@
136 CSCOPE = @CSCOPE@
137 CTAGS = @CTAGS@
137138 CYGPATH_W = @CYGPATH_W@
138139 DEFS = @DEFS@
139140 DEPDIR = @DEPDIR@
144145 ECHO_N = @ECHO_N@
145146 ECHO_T = @ECHO_T@
146147 EGREP = @EGREP@
148 ETAGS = @ETAGS@
147149 EXEEXT = @EXEEXT@
148150 FGREP = @FGREP@
149151 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
304306
305307 cscope cscopelist:
306308
307
308309 distdir: $(BUILT_SOURCES)
309310 $(MAKE) $(AM_MAKEFLAGS) distdir-am
310311
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2018-03-11.20; # UTC
3 scriptversion=2020-11-14.01; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
6868 # Desired mode of installed file.
6969 mode=0755
7070
71 # Create dirs (including intermediate dirs) using mode 755.
72 # This is like GNU 'install' as of coreutils 8.32 (2020).
73 mkdir_umask=22
74
75 backupsuffix=
7176 chgrpcmd=
7277 chmodcmd=$chmodprog
7378 chowncmd=
98103 --version display version info and exit.
99104
100105 -c (ignored)
101 -C install only if different (preserve the last data modification time)
106 -C install only if different (preserve data modification time)
102107 -d create directories instead of installing files.
103108 -g GROUP $chgrpprog installed files to GROUP.
104109 -m MODE $chmodprog installed files to MODE.
105110 -o USER $chownprog installed files to USER.
111 -p pass -p to $cpprog.
106112 -s $stripprog installed files.
113 -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
107114 -t DIRECTORY install into DIRECTORY.
108115 -T report an error if DSTFILE is a directory.
109116
110117 Environment variables override the default commands:
111118 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
112119 RMPROG STRIPPROG
120
121 By default, rm is invoked with -f; when overridden with RMPROG,
122 it's up to you to specify -f if you want it.
123
124 If -S is not specified, no backups are attempted.
125
126 Email bug reports to bug-automake@gnu.org.
127 Automake home page: https://www.gnu.org/software/automake/
113128 "
114129
115130 while test $# -ne 0; do
136151 -o) chowncmd="$chownprog $2"
137152 shift;;
138153
154 -p) cpprog="$cpprog -p";;
155
139156 -s) stripcmd=$stripprog;;
157
158 -S) backupsuffix="$2"
159 shift;;
140160
141161 -t)
142162 is_target_a_directory=always
254274 dstdir=$dst
255275 test -d "$dstdir"
256276 dstdir_status=$?
277 # Don't chown directories that already exist.
278 if test $dstdir_status = 0; then
279 chowncmd=""
280 fi
257281 else
258282
259283 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
300324 if test $dstdir_status != 0; then
301325 case $posix_mkdir in
302326 '')
303 # Create intermediate dirs using mode 755 as modified by the umask.
304 # This is like FreeBSD 'install' as of 1997-10-28.
305 umask=`umask`
306 case $stripcmd.$umask in
307 # Optimize common cases.
308 *[2367][2367]) mkdir_umask=$umask;;
309 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
310
311 *[0-7])
312 mkdir_umask=`expr $umask + 22 \
313 - $umask % 100 % 40 + $umask % 20 \
314 - $umask % 10 % 4 + $umask % 2
315 `;;
316 *) mkdir_umask=$umask,go-w;;
317 esac
318
319327 # With -d, create the new directory with the user-specified mode.
320328 # Otherwise, rely on $mkdir_umask.
321329 if test -n "$dir_arg"; then
325333 fi
326334
327335 posix_mkdir=false
328 case $umask in
329 *[123567][0-7][0-7])
330 # POSIX mkdir -p sets u+wx bits regardless of umask, which
331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
332 ;;
333 *)
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
336 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
337
338 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
339
340 # Because "mkdir -p" follows existing symlinks and we likely work
341 # directly in world-writeable /tmp, make sure that the '$tmpdir'
342 # directory is successfully created first before we actually test
343 # 'mkdir -p' feature.
344 if (umask $mkdir_umask &&
345 $mkdirprog $mkdir_mode "$tmpdir" &&
346 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
347 then
348 if test -z "$dir_arg" || {
349 # Check for POSIX incompatibilities with -m.
350 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
351 # other-writable bit of parent directory when it shouldn't.
352 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
353 test_tmpdir="$tmpdir/a"
354 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
355 case $ls_ld_tmpdir in
356 d????-?r-*) different_mode=700;;
357 d????-?--*) different_mode=755;;
358 *) false;;
359 esac &&
360 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
361 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
362 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
363 }
364 }
365 then posix_mkdir=:
366 fi
367 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
368 else
369 # Remove any dirs left behind by ancient mkdir implementations.
370 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
371 fi
372 trap '' 0;;
373 esac;;
336 # The $RANDOM variable is not portable (e.g., dash). Use it
337 # here however when possible just to lower collision chance.
338 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
339
340 trap '
341 ret=$?
342 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
343 exit $ret
344 ' 0
345
346 # Because "mkdir -p" follows existing symlinks and we likely work
347 # directly in world-writeable /tmp, make sure that the '$tmpdir'
348 # directory is successfully created first before we actually test
349 # 'mkdir -p'.
350 if (umask $mkdir_umask &&
351 $mkdirprog $mkdir_mode "$tmpdir" &&
352 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
353 then
354 if test -z "$dir_arg" || {
355 # Check for POSIX incompatibilities with -m.
356 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357 # other-writable bit of parent directory when it shouldn't.
358 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 test_tmpdir="$tmpdir/a"
360 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 case $ls_ld_tmpdir in
362 d????-?r-*) different_mode=700;;
363 d????-?--*) different_mode=755;;
364 *) false;;
365 esac &&
366 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
367 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
368 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
369 }
370 }
371 then posix_mkdir=:
372 fi
373 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
374 else
375 # Remove any dirs left behind by ancient mkdir implementations.
376 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
377 fi
378 trap '' 0;;
374379 esac
375380
376381 if
381386 then :
382387 else
383388
384 # The umask is ridiculous, or mkdir does not conform to POSIX,
389 # mkdir does not conform to POSIX,
385390 # or it failed possibly due to a race condition. Create the
386391 # directory the slow way, step by step, checking for races as we go.
387392
410415 prefixes=
411416 else
412417 if $posix_mkdir; then
413 (umask=$mkdir_umask &&
418 (umask $mkdir_umask &&
414419 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
415420 # Don't fail if two instances are running concurrently.
416421 test -d "$prefix" || exit 1
450455 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
451456
452457 # Copy the file name to the temp name.
453 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
458 (umask $cp_umask &&
459 { test -z "$stripcmd" || {
460 # Create $dsttmp read-write so that cp doesn't create it read-only,
461 # which would cause strip to fail.
462 if test -z "$doit"; then
463 : >"$dsttmp" # No need to fork-exec 'touch'.
464 else
465 $doit touch "$dsttmp"
466 fi
467 }
468 } &&
469 $doit_exec $cpprog "$src" "$dsttmp") &&
454470
455471 # and set any options; do chmod last to preserve setuid bits.
456472 #
476492 then
477493 rm -f "$dsttmp"
478494 else
495 # If $backupsuffix is set, and the file being installed
496 # already exists, attempt a backup. Don't worry if it fails,
497 # e.g., if mv doesn't support -f.
498 if test -n "$backupsuffix" && test -f "$dst"; then
499 $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
500 fi
501
479502 # Rename the file to the real destination.
480503 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
481504
490513 # file should still install successfully.
491514 {
492515 test ! -f "$dst" ||
493 $doit $rmcmd -f "$dst" 2>/dev/null ||
516 $doit $rmcmd "$dst" 2>/dev/null ||
494517 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
495 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
518 { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
496519 } ||
497520 { echo "$0: cannot unlink or rename $dst" >&2
498521 (exit 1); exit 1
3030
3131 PROGRAM=libtool
3232 PACKAGE=libtool
33 VERSION="2.4.6 Debian-2.4.6-14"
33 VERSION="2.4.6 Debian-2.4.6-15"
3434 package_revision=2.4.6
3535
3636
21402140 compiler: $LTCC
21412141 compiler flags: $LTCFLAGS
21422142 linker: $LD (gnu? $with_gnu_ld)
2143 version: $progname $scriptversion Debian-2.4.6-14
2143 version: $progname $scriptversion Debian-2.4.6-15
21442144 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
21452145 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
21462146
10701070 # to the OS version, if on x86, and 10.4, the deployment
10711071 # target defaults to 10.4. Don't you love it?
10721072 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1073 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1073 10.0,*86*-darwin8*|10.0,*-darwin[[912]]*)
10741074 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10751075 10.[[012]][[,.]]*)
10761076 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1077 10.*)
1077 10.*|11.*)
10781078 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10791079 esac
10801080 ;;
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.4 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
224224 unique=`for i in $$list; do \
225225 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
226226 done | $(am__uniquify_input)`
227 ETAGS = etags
228 CTAGS = ctags
229227 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp
230228 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
231229 ACLOCAL = @ACLOCAL@
239237 CC = @CC@
240238 CCDEPMODE = @CCDEPMODE@
241239 CFLAGS = @CFLAGS@
242 CPP = @CPP@
243240 CPPFLAGS = @CPPFLAGS@
241 CSCOPE = @CSCOPE@
242 CTAGS = @CTAGS@
244243 CYGPATH_W = @CYGPATH_W@
245244 DEFS = @DEFS@
246245 DEPDIR = @DEPDIR@
251250 ECHO_N = @ECHO_N@
252251 ECHO_T = @ECHO_T@
253252 EGREP = @EGREP@
253 ETAGS = @ETAGS@
254254 EXEEXT = @EXEEXT@
255255 FGREP = @FGREP@
256256 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
725725
726726 distclean-tags:
727727 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
728
729728 distdir: $(BUILT_SOURCES)
730729 $(MAKE) $(AM_MAKEFLAGS) distdir-am
731730
166166 static int called_openssl_global_init = 0;
167167 /* Main OpenSSL CTX pointer */
168168 static SSL_CTX *ctx = NULL;
169 static pthread_mutex_t mutSsl;
170
169171 /*--------------------------------------MT OpenSSL helpers ------------------------------------------*/
170172 static MUTEX_TYPE *mutex_buf = NULL;
171173
14041406 pThis->pEngine->dbgprint((char*)"relpTcpInitTLS: Successfully initialized default "
14051407 "CA certificate storage\n");
14061408 }
1407
1408 called_openssl_global_init = 1;
14091409 finalize_it:
14101410 LEAVE_RELPFUNC;
14111411 }
18271827 ABORT_FINALIZE(RELP_RET_IO_ERR);
18281828 }
18291829
1830 if(!called_openssl_global_init) {
1830 if(called_openssl_global_init == 0) {
1831 MUTEX_SETUP(mutSsl);
1832 MUTEX_LOCK(mutSsl);
18311833 /* Init OpenSSL lib */
18321834 CHKRet(relpTcpInitTLS(pThis));
1835 called_openssl_global_init = 1;
1836 MUTEX_UNLOCK(mutSsl);
1837 } else {
1838 MUTEX_LOCK(mutSsl);
1839 /*Increment OpenSSL Usage by 1*/
1840 called_openssl_global_init++;
1841 MUTEX_UNLOCK(mutSsl);
18331842 }
18341843
18351844 /*if we reach this point we are in tls mode */
19101919 ENTER_RELPFUNC;
19111920 RELPOBJ_assert(pThis, Tcp);
19121921
1913 if(!called_openssl_global_init) {
1922 if(called_openssl_global_init == 0) {
1923 MUTEX_SETUP(mutSsl);
1924 MUTEX_LOCK(mutSsl);
1925 /* Init OpenSSL lib */
19141926 CHKRet(relpTcpInitTLS(pThis));
1927 called_openssl_global_init = 1;
1928 MUTEX_UNLOCK(mutSsl);
1929 } else {
1930 MUTEX_LOCK(mutSsl);
1931 /*Increment OpenSSL Usage by 1*/
1932 called_openssl_global_init++;
1933 MUTEX_UNLOCK(mutSsl);
19151934 }
19161935
19171936 /* Set TLS Options if configured */
19271946 relpTcpExitTLS_ossl(void)
19281947 {
19291948 if(called_openssl_global_init == 1) {
1930 if (ctx != NULL)
1949 MUTEX_LOCK(mutSsl);
1950 if (ctx != NULL) {
19311951 SSL_CTX_free(ctx);
1952 ctx = NULL;
1953 }
19321954 ENGINE_cleanup();
19331955 ERR_free_strings();
19341956 EVP_cleanup();
19351957 CRYPTO_cleanup_all_ex_data();
1958 /* Reset global init state*/
1959 called_openssl_global_init = 0;
1960
1961 MUTEX_UNLOCK(mutSsl);
1962 pthread_mutex_destroy(&mutSsl);
1963 } else if (called_openssl_global_init > 0) {
1964 MUTEX_LOCK(mutSsl);
1965 /* OpenSSL library still in use */
1966 called_openssl_global_init--;
1967 MUTEX_UNLOCK(mutSsl);
19361968 }
19371969 }
19381970
30433075 RELPOBJ_assert(pThis, Tcp);
30443076
30453077 lenRcvd = gnutls_record_recv(pThis->session, pRcvBuf, *pLenBuf);
3046 if(lenRcvd == GNUTLS_E_INTERRUPTED || lenRcvd == GNUTLS_E_AGAIN) {
3047 pThis->pEngine->dbgprint((char*)"librelp: gnutls_record_recv must be retried %d\n", lenRcvd);
3048 pThis->rtryOp = relpTCP_RETRY_recv;
3049 } else {
3050 pThis->rtryOp = relpTCP_RETRY_none;
3051 if(lenRcvd < 0) {
3078 if(lenRcvd > 0) {
3079 *pLenBuf = lenRcvd;
3080 pThis->pEngine->dbgprint((char*)"relpTcpRcv_gtls: gnutls_record_recv SUCCESS len %d\n", lenRcvd);
3081 } else {
3082 *pLenBuf = -1;
3083 if(lenRcvd == GNUTLS_E_INTERRUPTED || lenRcvd == GNUTLS_E_AGAIN) {
3084 pThis->pEngine->dbgprint((char*)"relpTcpRcv_gtls: gnutls_record_recv must be retried %d\n", lenRcvd);
3085 pThis->rtryOp = relpTCP_RETRY_recv;
3086 } else {
3087 pThis->rtryOp = relpTCP_RETRY_none;
30523088 chkGnutlsCode(pThis, "TLS record reception failed", RELP_RET_IO_ERR, lenRcvd);
3053 exit(1);
3054 }
3055 }
3056 *pLenBuf = (lenRcvd < 0) ? -1 : lenRcvd;
3057
3089 ABORT_FINALIZE(RELP_RET_IO_ERR);
3090 }
3091 }
3092
3093 finalize_it:
30583094 LEAVE_RELPFUNC;
30593095 }
30603096 #else
30753111
30763112 lenRcvd = SSL_read(pThis->ssl, pRcvBuf, *pLenBuf);
30773113 if(lenRcvd > 0) {
3078 pThis->pEngine->dbgprint((char*)"relpTcpRcv_ossl: SSL_read SUCCESS\n");
3114 pThis->pEngine->dbgprint((char*)"relpTcpRcv_ossl: SSL_read SUCCESS len %d\n", lenRcvd);
30793115 *pLenBuf = lenRcvd;
30803116 } else {
30813117 *pLenBuf = -1;
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
4141 {
4242 cat <<END
4343 Usage:
44 test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
45 [--expect-failure={yes|no}] [--color-tests={yes|no}]
46 [--enable-hard-errors={yes|no}] [--]
44 test-driver --test-name NAME --log-file PATH --trs-file PATH
45 [--expect-failure {yes|no}] [--color-tests {yes|no}]
46 [--enable-hard-errors {yes|no}] [--]
4747 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
48
4849 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
50 See the GNU Automake documentation for information.
4951 END
5052 }
5153
102104 trap "st=141; $do_exit" 13
103105 trap "st=143; $do_exit" 15
104106
105 # Test script is run here.
106 "$@" >$log_file 2>&1
107 # Test script is run here. We create the file first, then append to it,
108 # to ameliorate tests themselves also writing to the log file. Our tests
109 # don't, but others can (automake bug#35762).
110 : >"$log_file"
111 "$@" >>"$log_file" 2>&1
107112 estatus=$?
108113
109114 if test $enable_hard_errors = no && test $estatus -eq 99; then
125130 # know whether the test passed or failed simply by looking at the '.log'
126131 # file, without the need of also peaking into the corresponding '.trs'
127132 # file (automake bug#11814).
128 echo "$res $test_name (exit status: $estatus)" >>$log_file
133 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
129134
130135 # Report outcome to console.
131136 echo "${col}${res}${std}: $test_name"
00 TEST_EXTENSIONS=.sh
1 check_PROGRAMS=receive send chkseq have_tlslib
1 check_PROGRAMS=receive send chkseq have_tlslib msleep
22
33 receive_SOURCES=receive.c
44 receive_LDADD=../src/.libs/librelp.la
77 send_SOURCES=send.c
88 send_LDADD=../src/.libs/librelp.la
99 send_CFLAGS=$(AM_CFLAGS) -I${top_srcdir}/src $(WARN_CFLAGS)
10
11 msleep_SOURCES = msleep.c
1012
1113 chkseq_SOURCES=chkseq.c
1214 have_tlslib_SOURCES=have_tlslib.c
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.4 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
8787 build_triplet = @build@
8888 host_triplet = @host@
8989 check_PROGRAMS = receive$(EXEEXT) send$(EXEEXT) chkseq$(EXEEXT) \
90 have_tlslib$(EXEEXT)
90 have_tlslib$(EXEEXT) msleep$(EXEEXT)
9191 @ENABLE_TLS_GENERIC_TRUE@am__append_1 = $(TLS_TESTS)
9292 @ENABLE_TLS_OPENSSL_TRUE@am__append_2 = $(OSSL_TESTS)
9393 @HAVE_VALGRIND_TRUE@am__append_3 = $(VALGRIND_TESTS)
115115 am_have_tlslib_OBJECTS = have_tlslib.$(OBJEXT)
116116 have_tlslib_OBJECTS = $(am_have_tlslib_OBJECTS)
117117 have_tlslib_LDADD = $(LDADD)
118 am_msleep_OBJECTS = msleep.$(OBJEXT)
119 msleep_OBJECTS = $(am_msleep_OBJECTS)
120 msleep_LDADD = $(LDADD)
118121 am_receive_OBJECTS = receive-receive.$(OBJEXT)
119122 receive_OBJECTS = $(am_receive_OBJECTS)
120123 receive_DEPENDENCIES = ../src/.libs/librelp.la
143146 depcomp = $(SHELL) $(top_srcdir)/depcomp
144147 am__maybe_remake_depfiles = depfiles
145148 am__depfiles_remade = ./$(DEPDIR)/chkseq.Po ./$(DEPDIR)/have_tlslib.Po \
146 ./$(DEPDIR)/receive-receive.Po ./$(DEPDIR)/send-send.Po
149 ./$(DEPDIR)/msleep.Po ./$(DEPDIR)/receive-receive.Po \
150 ./$(DEPDIR)/send-send.Po
147151 am__mv = mv -f
148152 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
149153 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
163167 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
164168 am__v_CCLD_0 = @echo " CCLD " $@;
165169 am__v_CCLD_1 =
166 SOURCES = $(chkseq_SOURCES) $(have_tlslib_SOURCES) $(receive_SOURCES) \
167 $(send_SOURCES)
170 SOURCES = $(chkseq_SOURCES) $(have_tlslib_SOURCES) $(msleep_SOURCES) \
171 $(receive_SOURCES) $(send_SOURCES)
168172 DIST_SOURCES = $(chkseq_SOURCES) $(have_tlslib_SOURCES) \
169 $(receive_SOURCES) $(send_SOURCES)
173 $(msleep_SOURCES) $(receive_SOURCES) $(send_SOURCES)
170174 am__can_run_installinfo = \
171175 case $$AM_UPDATE_INFO_DIR in \
172176 n|no|NO) false;; \
189193 unique=`for i in $$list; do \
190194 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
191195 done | $(am__uniquify_input)`
192 ETAGS = etags
193 CTAGS = ctags
194196 am__tty_colors_dummy = \
195197 mgn= red= grn= lgn= blu= brg= std=; \
196198 am__color_tests=no
373375 bases='$(TEST_LOGS)'; \
374376 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
375377 bases=`echo $$bases`
378 AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
376379 RECHECK_LOGS = $(TEST_LOGS)
377380 AM_RECURSIVE_TARGETS = check recheck
378381 TEST_SUITE_LOG = test-suite.log
405408 CC = @CC@
406409 CCDEPMODE = @CCDEPMODE@
407410 CFLAGS = @CFLAGS@
408 CPP = @CPP@
409411 CPPFLAGS = @CPPFLAGS@
412 CSCOPE = @CSCOPE@
413 CTAGS = @CTAGS@
410414 CYGPATH_W = @CYGPATH_W@
411415 DEFS = @DEFS@
412416 DEPDIR = @DEPDIR@
417421 ECHO_N = @ECHO_N@
418422 ECHO_T = @ECHO_T@
419423 EGREP = @EGREP@
424 ETAGS = @ETAGS@
420425 EXEEXT = @EXEEXT@
421426 FGREP = @FGREP@
422427 GNUTLS_CFLAGS = @GNUTLS_CFLAGS@
539544 send_SOURCES = send.c
540545 send_LDADD = ../src/.libs/librelp.la
541546 send_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/src $(WARN_CFLAGS)
547 msleep_SOURCES = msleep.c
542548 chkseq_SOURCES = chkseq.c
543549 have_tlslib_SOURCES = have_tlslib.c
544550 VALGRIND_TESTS = \
659665 @rm -f have_tlslib$(EXEEXT)
660666 $(AM_V_CCLD)$(LINK) $(have_tlslib_OBJECTS) $(have_tlslib_LDADD) $(LIBS)
661667
668 msleep$(EXEEXT): $(msleep_OBJECTS) $(msleep_DEPENDENCIES) $(EXTRA_msleep_DEPENDENCIES)
669 @rm -f msleep$(EXEEXT)
670 $(AM_V_CCLD)$(LINK) $(msleep_OBJECTS) $(msleep_LDADD) $(LIBS)
671
662672 receive$(EXEEXT): $(receive_OBJECTS) $(receive_DEPENDENCIES) $(EXTRA_receive_DEPENDENCIES)
663673 @rm -f receive$(EXEEXT)
664674 $(AM_V_CCLD)$(receive_LINK) $(receive_OBJECTS) $(receive_LDADD) $(LIBS)
675685
676686 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chkseq.Po@am__quote@ # am--include-marker
677687 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/have_tlslib.Po@am__quote@ # am--include-marker
688 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msleep.Po@am__quote@ # am--include-marker
678689 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/receive-receive.Po@am__quote@ # am--include-marker
679690 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/send-send.Po@am__quote@ # am--include-marker
680691
901912 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
902913 fi; \
903914 echo "$${col}$$br$${std}"; \
904 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
915 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
905916 echo "$${col}$$br$${std}"; \
906917 create_testsuite_report --maybe-color; \
907918 echo "$$col$$br$$std"; \
949960 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
950961 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \
951962 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
952
953963 distdir: $(BUILT_SOURCES)
954964 $(MAKE) $(AM_MAKEFLAGS) distdir-am
955965
10301040 distclean: distclean-am
10311041 -rm -f ./$(DEPDIR)/chkseq.Po
10321042 -rm -f ./$(DEPDIR)/have_tlslib.Po
1043 -rm -f ./$(DEPDIR)/msleep.Po
10331044 -rm -f ./$(DEPDIR)/receive-receive.Po
10341045 -rm -f ./$(DEPDIR)/send-send.Po
10351046 -rm -f Makefile
10791090 maintainer-clean: maintainer-clean-am
10801091 -rm -f ./$(DEPDIR)/chkseq.Po
10811092 -rm -f ./$(DEPDIR)/have_tlslib.Po
1093 -rm -f ./$(DEPDIR)/msleep.Po
10821094 -rm -f ./$(DEPDIR)/receive-receive.Po
10831095 -rm -f ./$(DEPDIR)/send-send.Po
10841096 -rm -f Makefile
00 #!/bin/bash
11 . ${srcdir:=$(pwd)}/test-framework.sh
2 check_command_available valgrind
3
24 if [ "$VALGRIND" == "NO" ] ; then
35 echo "valgrind tests are not permitted by environment config"
46 exit 77
1517 export NUMLOOPS=2
1618
1719 #export valgrind="valgrind --malloc-fill=ff --free-fill=fe --log-fd=1"
18 export valgrind="valgrind --malloc-fill=ff --free-fill=fe --leak-check=full --log-fd=1 --error-exitcode=10 --gen-suppressions=all"
20 export valgrind="valgrind --malloc-fill=ff --free-fill=fe --leak-check=full --log-fd=1 --error-exitcode=10 --gen-suppressions=all --suppressions=$srcdir/known_issues.supp"
1921
20 startup_receiver_valgrind --no-exit-on-error -e error.out.log --outfile $OUTFILE
22 startup_receiver_valgrind -N -e error.out.log -O $OUTFILE
2123
2224 echo 'Send Message(s)...'
2325 for i in $(seq 1 $NUMLOOPS); do
2426 # How many times tcpflood runs in each threads
25 libtool --mode=execute ./send --no-exit-on-error -t 127.0.0.1 -p $TESTPORT -m "testmessage" -n $NUMMESSAGES $OPT_VERBOSE &
27 libtool --mode=execute ./send -N -t 127.0.0.1 -p $TESTPORT -m "testmessage" -n $NUMMESSAGES $OPT_VERBOSE &
2628 send_pid=$!
2729
2830 echo "started send instance $i (PID $send_pid)"
4547
4648 # check_output "testmessage"
4749
48 terminate
50 terminate
88 EOF
99 exit 77
1010 . ${srcdir:=$(pwd)}/test-framework.sh
11 check_command_available valgrind
12
1113 if [ "$VALGRIND" == "NO" ] ; then
1214 echo "valgrind tests are not permitted by environment config"
1315 exit 77
0 /* sleeps for the specified number of MILLIseconds.
1 * Primarily meant as a portable tool available everywhere for the
2 * testbench (sleep 0.1 does not work on all platforms).
3 *
4 * Part of the testbench for rsyslog.
5 *
6 * Copyright 2010 Rainer Gerhards and Adiscon GmbH.
7 *
8 * This file is part of rsyslog.
9 *
10 * Rsyslog is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
14 *
15 * Rsyslog is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with Rsyslog. If not, see <http://www.gnu.org/licenses/>.
22 *
23 * A copy of the GPL can be found in the file "COPYING" in this distribution.
24 */
25 #include "config.h"
26 #include <stdio.h>
27 #include <stdlib.h>
28 #if defined(__FreeBSD__)
29 #include <sys/time.h>
30 #else
31 #include <time.h>
32 #endif
33 #if defined(HAVE_SYS_SELECT_H)
34 #include <sys/select.h>
35 #endif
36
37 int main(int argc, char *argv[])
38 {
39 struct timeval tvSelectTimeout;
40 long sleepTime;
41
42 if(argc != 2) {
43 fprintf(stderr, "usage: msleep <milliseconds>\n");
44 exit(1);
45 }
46
47 sleepTime = atoi(argv[1]);
48 tvSelectTimeout.tv_sec = sleepTime / 1000;
49 tvSelectTimeout.tv_usec = (sleepTime % 1000) * 1000; /* micro seconds */
50 if(select(0, NULL, NULL, NULL, &tvSelectTimeout) == -1) {
51 perror("select");
52 exit(1);
53 }
54
55 return 0;
56 }
57
44 # written 2018-11-20 by Rainer Gerhards, released under ASL 2.0
55 . ${srcdir:=$(pwd)}/test-framework.sh
66 export errorlog="error.$LIBRELP_DYN.log"
7 check_command_available timeout
78
8 startup_receiver --errorfile $TESTDIR/$errorlog
9 startup_receiver -e $TESTDIR/$errorlog
910 timeout 10s $PYTHON ${srcdir}/dummyclient.py
1011 sleep 1
1112 stop_receiver
2323 #include <stdlib.h>
2424 #include <stdarg.h>
2525 #include <unistd.h>
26 #include <getopt.h>
26 #if defined(_AIX)
27 # include <unistd.h>
28 #else
29 # include <getopt.h>
30 #endif
2731 #include <string.h>
2832 #include <limits.h>
2933 #include <errno.h>
238242 const char *tlslib = NULL;
239243 const char* outfile_name = NULL;
240244
245 #if defined(_AIX)
246 while((c = getopt(argc, argv, "a:c:Ae:F:l:m:No:O:P:p:TvW:x:y:z:")) != EOF) {
247 #else
241248 static struct option long_options[] =
242249 {
243250 {"ca", required_argument, 0, 'x'},
256263 {0, 0, 0, 0}
257264 };
258265
259
260 while((c = getopt_long(argc, argv, "a:c:Ae:F:l:m:o:O:P:p:TvW:x:y:z:",
261 long_options, &option_index)) != -1) {
266 while((c = getopt_long(argc, argv, "a:c:Ae:F:l:m:No:O:P:p:TvW:x:y:z:", long_options, &option_index)) != -1) {
267 #endif
262268 switch(c) {
263269 case 'a':
264270 authMode = optarg;
88 check_command_available timeout
99
1010 startup_receiver -e ${TESTDIR}/${errorlog}
11 ./send -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES --no-exit-on-error --kill-on-msg 20000 --kill-pid $RECEIVE_PID $OPT_VERBOSE &
11 ./send -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES -N -K 20000 -I $RECEIVE_PID $OPT_VERBOSE &
1212 SENDER_PID=$!
1313
1414 for i in {1..3}; do
11 # written 2018-11-28 by Rainer Gerhards, released under ASL 2.0
22 . ${srcdir:=$(pwd)}/test-framework.sh
33 printf 'starting receive, waiting for watchdog timeout to occur\n'
4 ./receive --watchdog-timeout 2 -p $TESTPORT &> $OUTFILE
4 ./receive -W 2 -p $TESTPORT &> $OUTFILE
55 cat $OUTFILE
66 check_output "watchdog timer expired"
77 terminate
2323 #include <stddef.h>
2424 #include <stdarg.h>
2525 #include <unistd.h>
26 #include <getopt.h>
26 #if defined(_AIX)
27 # include <unistd.h>
28 #else
29 # include <getopt.h>
30 #endif
2731 #include <string.h>
2832 #include <sys/types.h>
2933 #include <signal.h>
254258 under_ci = getenv("UNDER_CI");
255259 dbgFile = stdout;
256260
257 #define KILL_ON_MSG 256
258 #define KILL_SIGNAL 257
259 #define KILL_PID 258
260 #define DBGFILE 259
261 #define CONNECT_RETRIES 260
261 #define KILL_ON_MSG 'K'
262 #define KILL_SIGNAL 'S'
263 #define KILL_PID 'I'
264 #define DBGFILE 'D'
265 #define CONNECT_RETRIES 'R'
266 #if defined(_AIX)
267 while((c = getopt(argc, argv, "a:c:e:d:D:I:K:l:m:n:NP:p:R:S:Tt:vx:y:z:")) != EOF) {
268 #else
262269 static struct option long_options[] =
263270 {
264271 {"ca", required_argument, 0, 'x'},
279286 {0, 0, 0, 0}
280287 };
281288
282 while((c = getopt_long(argc, argv, "a:c:e:d:l:m:n:P:p:Tt:vx:y:z:", long_options, &option_index)) != -1) {
289 while((c = getopt_long(argc, argv, "a:c:e:d:D:I:K:l:m:n:NP:p:R:S:Tt:vx:y:z:", long_options, &option_index)) != -1) {
290 #endif
283291 switch(c) {
284292 case 'a':
285293 authMode = optarg;
4848 wait_process_startup_via_pidfile() {
4949 i=0
5050 while test ! -f $1 ; do
51 sleep .100
51 ./msleep 100
5252 (( i++ ))
5353 if test $i -gt $TB_TIMEOUT_STARTUP
5454 then
6767 exit 77
6868 fi
6969 printf 'Starting Receiver...\n'
70 libtool --mode=execute $valgrind ./receive $TLSLIB -p $TESTPORT --outfile $OUTFILE.2 -F $RECEIVE_PIDFILE $OPT_VERBOSE $* &
70 libtool --mode=execute $valgrind ./receive $TLSLIB -p $TESTPORT -O $OUTFILE.2 -F $RECEIVE_PIDFILE $OPT_VERBOSE $* &
7171 export RECEIVE_PID=$!
7272 printf "got $RECEIVE_PID $RECEIVE_PIDFILE\n"
7373 wait_process_startup_via_pidfile $RECEIVE_PIDFILE
7777 # start receiver, add receiver command line parameters after function name
7878 startup_receiver() {
7979 printf 'Starting Receiver...\n'
80 ./receive $TLSLIB -p $TESTPORT -F $RECEIVE_PIDFILE --outfile $OUTFILE $OPT_VERBOSE $* &
80 ./receive $TLSLIB -p $TESTPORT -F $RECEIVE_PIDFILE -O $OUTFILE $OPT_VERBOSE $* &
8181 export RECEIVE_PID=$!
8282 printf "got $RECEIVE_PID $RECEIVE_PIDFILE\n"
8383 wait_process_startup_via_pidfile $RECEIVE_PIDFILE
152152 if ! netstat -tp | grep -q $TESTPORT; then
153153 break
154154 fi
155 sleep 1
155 ./msleep 1000
156156 done
157157 }
158158
11 . ${srcdir:=$(pwd)}/test-framework.sh
22
33 function actual_test() {
4 startup_receiver --tls-lib $TEST_TLS_LIB -T -e error.out.log
4 startup_receiver -l $TEST_TLS_LIB -T -e error.out.log
55
66 echo 'Send Message...'
7 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T $OPT_VERBOSE 1>>${OUTFILE} 2>&1
7 ./send -l $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T $OPT_VERBOSE 1>>${OUTFILE} 2>&1
88
99 # "relpTcpLastSSLErrorMsg: Errorstack: error:1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher"
1010 stop_receiver
00 #!/bin/bash
11 . ${srcdir:=$(pwd)}/test-framework.sh
22 function actual_test() {
3 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "certvalid" -y ${srcdir}/tls-certs/ossl-server-certchain.pem -z ${srcdir}/tls-certs/ossl-server-key.pem -e error.out.log
3 startup_receiver -l $TEST_TLS_LIB -T -a "certvalid" -y ${srcdir}/tls-certs/ossl-server-certchain.pem -z ${srcdir}/tls-certs/ossl-server-key.pem -e error.out.log
44
55 echo 'Send Message...'
6 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "certvalid" -y ${srcdir}/tls-certs/ossl-client-certchain.pem -z ${srcdir}/tls-certs/ossl-client-key.pem $OPT_VERBOSE 1>>${OUTFILE} 2>&1
6 ./send -l $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "certvalid" -y ${srcdir}/tls-certs/ossl-client-certchain.pem -z ${srcdir}/tls-certs/ossl-client-key.pem $OPT_VERBOSE 1>>${OUTFILE} 2>&1
77
88 stop_receiver
99 check_output "testmessage"
1111 exit;
1212 fi
1313
14 startup_receiver --tls-lib openssl -T -a "certvalid" -e "${TESTDIR}/${errorlog}" \
14 startup_receiver -l openssl -T -a "certvalid" -e "${TESTDIR}/${errorlog}" \
1515 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem
1616
1717 echo 'Send Message...'
18 ./send --tls-lib gnutls -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "certvalid" -e "${TESTDIR}/${errorlog}" \
18 ./send -l gnutls -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "certvalid" -e "${TESTDIR}/${errorlog}" \
1919 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem $OPT_VERBOSE 1>>${OUTFILE} 2>&1
2020
2121 stop_receiver
22 export errorlog="error.$LIBRELP_DYN.log"
33
44 function actual_test() {
5 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "certvalid" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem --errorfile "${TESTDIR}/${errorlog}"
5 startup_receiver -l $TEST_TLS_LIB -T -a "certvalid" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -e "${TESTDIR}/${errorlog}"
66
77 echo 'Send Message...'
8 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "certvalid" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem $OPT_VERBOSE 1>>${OUTFILE} 2>&1
8 ./send -l $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "certvalid" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem $OPT_VERBOSE 1>>${OUTFILE} 2>&1
99
1010 stop_receiver
1111 check_output "testmessage"
11 . ${srcdir:=$(pwd)}/test-framework.sh
22
33 function actual_test() {
4 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "fingerprint" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P 'SHA1:5C:C6:62:D5:9D:25:9F:BC:F3:CB:61:FA:D2:B3:8B:61:88:D7:06:C3' -e error.out.log
4 startup_receiver -l $TEST_TLS_LIB -T -a "fingerprint" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P 'SHA1:5C:C6:62:D5:9D:25:9F:BC:F3:CB:61:FA:D2:B3:8B:61:88:D7:06:C3' -e error.out.log
55
66 echo 'Send Message...'
7 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "fingerprint" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P 'SHA1:5C:C6:62:D5:9D:25:9F:BC:F3:CB:61:FA:D2:B3:8B:61:88:D7:06:C3' $OPT_VERBOSE 1>>${OUTFILE} 2>&1
7 ./send -l $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "fingerprint" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P 'SHA1:5C:C6:62:D5:9D:25:9F:BC:F3:CB:61:FA:D2:B3:8B:61:88:D7:06:C3' $OPT_VERBOSE 1>>${OUTFILE} 2>&1
88
99 stop_receiver
1010 check_output "testmessage"
55 NUMMESSAGES=50000
66
77 function actual_test() {
8 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
8 startup_receiver -l $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
99 -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem \
1010 -P 'testbench.rsyslog.com' -e error.out.log
11 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES -T -a "name" \
11 ./send -l $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES -T -a "name" \
1212 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
1313 -z ${srcdir}/tls-certs/key.pem -P 'testbench.rsyslog.com' $OPT_VERBOSE
14 ./msleep 1000
1415 stop_receiver
1516 check_msg_count
1617 printf 'END SUBTEST lib %s SUCCESS\n' $TEST_TLS_LIB
88 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
99 -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem \
1010 -P 'testbench.rsyslog.com' \
11 --errorfile $TESTDIR/$errorlog \
11 -e $TESTDIR/$errorlog \
1212 -c "Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.1;CipherString=ECDHE-RSA-AES256-GCM-SHA384;MinProtocol=TLSv1.2;MaxProtocol=TLSv1.2;Ciphersuites=TLS_AES_256_GCM_SHA384"
1313
1414 echo 'Send Message...'
1616 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
1717 -z ${srcdir}/tls-certs/key.pem -P 'testbench.rsyslog.com' \
1818 -c "CipherString=ECDHE-RSA-AES128-GCM-SHA256;Ciphersuites=TLS_AES_128_GCM_SHA256" \
19 --errorfile $TESTDIR/$errorlog \
19 -e $TESTDIR/$errorlog \
2020 $OPT_VERBOSE
2121
2222 stop_receiver
88 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
99 -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem \
1010 -P 'testbench.rsyslog.com' \
11 --errorfile $TESTDIR/$errorlog \
11 -e $TESTDIR/$errorlog \
1212 -c "Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.2;CipherString=ECDHE-RSA-AES256-GCM-SHA384;Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.2,-TLSv1.3;MinProtocol=TLSv1.2;MaxProtocol=TLSv1.2"
1313
1414 echo 'Send Message...'
1616 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
1717 -z ${srcdir}/tls-certs/key.pem -P 'testbench.rsyslog.com' \
1818 -c "Protocol=ALL,-SSLv2,-SSLv3,-TLSv1.1,-TLSv1.2;CipherString=DHE-RSA-AES256-SHA;Protocol=ALL,-SSLv2,-SSLv3,-TLSv1.1,-TLSv1.2,-TLSv1.3;MinProtocol=TLSv1.1;MaxProtocol=TLSv1.1" \
19 --errorfile $TESTDIR/$errorlog \
19 -e $TESTDIR/$errorlog \
2020 $OPT_VERBOSE
2121
2222 stop_receiver
00 #!/bin/bash
11 . ${srcdir:=$(pwd)}/test-framework.sh
2 check_command_available valgrind
23 if [ "$VALGRIND" == "NO" ] ; then
34 echo "valgrind tests are not permitted by environment config"
45 exit 77
1314 fi
1415
1516 function actual_test() {
16 startup_receiver_valgrind --tls-lib $TEST_TLS_LIB -T -a "name" -e error.out.log --outfile $OUTFILE \
17 startup_receiver_valgrind -l $TEST_TLS_LIB -T -a "name" -e error.out.log -O $OUTFILE \
1718 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
1819 -z ${srcdir}/tls-certs/key.pem -P "rsyslog-client"
1920
2021 echo 'Send Message...'
2122 libtool --mode=execute $valgrind \
22 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T \
23 ./send -l $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T \
2324 -a "name" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
2425 -z ${srcdir}/tls-certs/key.pem -P "rsyslog-client" $OPT_VERBOSE
2526
11 . ${srcdir:=$(pwd)}/test-framework.sh
22
33 function actual_test() {
4 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P '*.rsyslog.com' -e error.out.log
4 startup_receiver -l $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P '*.rsyslog.com' -e error.out.log
55
66 echo 'Send Message...'
7 ./send -t 127.0.0.1 --tls-lib $TEST_TLS_LIB -p $TESTPORT -m "testmessage" -T -a "name" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P '*.rsyslog.com' $OPT_VERBOSE
7 ./send -t 127.0.0.1 -l $TEST_TLS_LIB -p $TESTPORT -m "testmessage" -T -a "name" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P '*.rsyslog.com' $OPT_VERBOSE
88
99 stop_receiver
1010 check_output "testmessage"
11 . ${srcdir:=$(pwd)}/test-framework.sh
22
33 function actual_test() {
4 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
4 startup_receiver -l $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
55 -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem \
66 -P 'testbench.rsyslog.com' -e error.out.log
77
8 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "name" \
8 ./send -l $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "name" \
99 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
1010 -z ${srcdir}/tls-certs/key.pem -P 'testbench.rsyslog.com' $OPT_VERBOSE
1111
44
55 function actual_test() {
66 # NOT USING startup_receiver!
7 ./receive --tls-lib $TEST_TLS_LIB -p $TESTPORT -T -a "name" \
7 ./receive -l $TEST_TLS_LIB -p $TESTPORT -T -a "name" \
88 -y ${srcdir}/tls-certs/cert.pem -P "rsyslog" \
99 2> $OUTFILE
1010
77
88 actual_test() {
99 startup_receiver
10 ./send -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES --no-exit-on-error \
11 --kill-on-msg 20000 --kill-pid $RECEIVE_PID $OPT_VERBOSE &
10 ./send -t 127.0.0.1 -p $TESTPORT -n$NUMMESSAGES -N \
11 -K 20000 -I$RECEIVE_PID $OPT_VERBOSE &
1212 SENDER_PID=$!
1313
1414 for i in {1..3}; do
88 echo 'Send Message...'
99 ./send $TLSLIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "name" \
1010 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
11 -z ${srcdir}/tls-certs/key.pem -P "wrong name" --errorfile $TESTDIR/$errorlog $OPT_VERBOSE
11 -z ${srcdir}/tls-certs/key.pem -P "wrong name" -e $TESTDIR/$errorlog $OPT_VERBOSE
1212
1313 stop_receiver
1414 check_output "authentication error.*no permited name found.*testbench.rsyslog.com" $TESTDIR/$errorlog
44 startup_receiver -T -a "name" -x ${srcdir}/tls-certs/ossl-ca.pem -y ${srcdir}/tls-certs/ossl-server-cert.pem -z ${srcdir}/tls-certs/ossl-server-key.pem -P 'client.testbench.rsyslog.com' -e $TESTDIR/$errorlog
55
66 echo 'Send Message...'
7 ./send $TLSLIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "name" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P 'server.testbench.rsyslog.com' --errorfile $TESTDIR/$errorlog $OPT_VERBOSE
7 ./send $TLSLIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "name" -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem -P 'server.testbench.rsyslog.com' -e $TESTDIR/$errorlog $OPT_VERBOSE
88
99 stop_receiver
1010 # Perform multiline GREP with -z