From c10532448c0cd7ad4a10f0828863118403f42b8a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 28 2022 02:10:19 +0000 Subject: import pcp-5.3.7-15.el8 --- diff --git a/SOURCES/redhat-bugzilla-1981886-pmdasockets-backporting.patch b/SOURCES/redhat-bugzilla-1981886-pmdasockets-backporting.patch index bdcc5d4..90cae8c 100644 --- a/SOURCES/redhat-bugzilla-1981886-pmdasockets-backporting.patch +++ b/SOURCES/redhat-bugzilla-1981886-pmdasockets-backporting.patch @@ -372,88 +372,3 @@ index 183db5afa..009a00cd9 100644 __int32_t v6only; char skmem_str[64]; __int32_t skmem_rmem_alloc; -commit 77ba20d5e76ada83283a262dd2083b2fc284b5f8 -Author: Nathan Scott -Date: Thu May 5 09:33:46 2022 +1000 - - selinux: policy updates needed for the pmdasockets metrics - - Thanks to Jan Kurík and Miloš Malík we have the additional - selinux policy requirements - without these we see QE test - failures for this agent with pcp-ss(1) on RHEL. - - Related to Red Hat BZ #1981886. - -diff --git a/qa/917.out.in b/qa/917.out.in -index 3bd1dc15e..6a4356a12 100644 ---- a/qa/917.out.in -+++ b/qa/917.out.in -@@ -154,9 +154,9 @@ Checking policies. - # -- end logging_watch_journal_dirs(pcp_domain) expansion - allow [pcp_pmcd_t] [cluster_tmpfs_t] : [file] { write }; - allow [pcp_pmcd_t] [drbd_exec_t] : [file] { execute execute_no_trans }; -- allow [pcp_pmcd_t] self : [netlink_generic_socket] { bind create getattr setopt write read }; -- allow [pcp_pmcd_t] [sbd_exec_t] : [file] { execute execute_no_trans }; -- allow [pcp_pmcd_t] self : [netlink_tcpdiag_socket] { bind create getattr nlmsg_read setopt }; -+! allow [pcp_pmcd_t] self : [netlink_generic_socket] { bind create getattr setopt write read }; -+! allow [pcp_pmcd_t] [sbd_exec_t] : [file] { execute execute_no_trans }; -+! allow [pcp_pmcd_t] self : [netlink_tcpdiag_socket] { append bind connect create getattr getopt ioctl lock read setattr setopt shutdown write }; - allow [syslogd_t] [pcp_log_t] : [fifo_file] { open read write }; - allow [pcp_pmcd_t] [etc_t] : [dir] { open read search getattr lock ioctl }; - allow [pcp_pmcd_t] [shadow_t] : [file] { getattr ioctl lock open read }; -diff --git a/src/selinux/GNUlocaldefs b/src/selinux/GNUlocaldefs -index 1a1b1428c..1462c5ccb 100644 ---- a/src/selinux/GNUlocaldefs -+++ b/src/selinux/GNUlocaldefs -@@ -138,8 +138,8 @@ PCP_NETLINK_GENERIC_SOCKET_RULE="allow pcp_pmcd_t self:netlink_generic_socket { - endif - - ifeq "$(PCP_SELINUX_NETLINK_TCPDIAG_SOCKET_CLASS)" "true" --PCP_NETLINK_TCPDIAG_SOCKET_CLASS="class netlink_tcpdiag_socket { bind create getattr nlmsg_read setopt };" --PCP_NETLINK_TCPDIAG_SOCKET_RULE="allow pcp_pmcd_t self:netlink_tcpdiag_socket { bind create getattr nlmsg_read setopt };" -+PCP_NETLINK_TCPDIAG_SOCKET_CLASS="class netlink_tcpdiag_socket { append bind connect create getattr getopt ioctl lock read setattr setopt shutdown write };" -+PCP_NETLINK_TCPDIAG_SOCKET_RULE="allow pcp_pmcd_t self:netlink_tcpdiag_socket { append bind connect create getattr getopt ioctl lock read setattr setopt shutdown write };" - endif - - ifeq "$(PCP_SELINUX_LOCKDOWN_CLASS)" "true" -commit a6222992fe5f97f94bdddd928ce9557be1918bfd -Author: Jan Kurik -Date: Fri May 6 08:04:46 2022 +1000 - - selinux: fine-tune netlink_tcpdiag_socket policy for all platforms - - Previous policy set did not apply correctly on ppc64le and aarch64 - architectures. After some tweaking the following set of permissions - was found to work on all the supported architectures and fixes the - behavior of the sockets PMDA. - - Related to Red Hat BZ #1981886. - -diff --git a/qa/917.out.in b/qa/917.out.in -index 6a4356a12..723193aa2 100644 ---- a/qa/917.out.in -+++ b/qa/917.out.in -@@ -156,7 +156,7 @@ Checking policies. - allow [pcp_pmcd_t] [drbd_exec_t] : [file] { execute execute_no_trans }; - ! allow [pcp_pmcd_t] self : [netlink_generic_socket] { bind create getattr setopt write read }; - ! allow [pcp_pmcd_t] [sbd_exec_t] : [file] { execute execute_no_trans }; --! allow [pcp_pmcd_t] self : [netlink_tcpdiag_socket] { append bind connect create getattr getopt ioctl lock read setattr setopt shutdown write }; -+! allow [pcp_pmcd_t] self : [netlink_tcpdiag_socket] { append bind connect create getattr getopt ioctl lock nlmsg_read nlmsg_write read setattr setopt shutdown write }; - allow [syslogd_t] [pcp_log_t] : [fifo_file] { open read write }; - allow [pcp_pmcd_t] [etc_t] : [dir] { open read search getattr lock ioctl }; - allow [pcp_pmcd_t] [shadow_t] : [file] { getattr ioctl lock open read }; -diff --git a/src/selinux/GNUlocaldefs b/src/selinux/GNUlocaldefs -index 1462c5ccb..9733aead9 100644 ---- a/src/selinux/GNUlocaldefs -+++ b/src/selinux/GNUlocaldefs -@@ -138,8 +138,8 @@ PCP_NETLINK_GENERIC_SOCKET_RULE="allow pcp_pmcd_t self:netlink_generic_socket { - endif - - ifeq "$(PCP_SELINUX_NETLINK_TCPDIAG_SOCKET_CLASS)" "true" --PCP_NETLINK_TCPDIAG_SOCKET_CLASS="class netlink_tcpdiag_socket { append bind connect create getattr getopt ioctl lock read setattr setopt shutdown write };" --PCP_NETLINK_TCPDIAG_SOCKET_RULE="allow pcp_pmcd_t self:netlink_tcpdiag_socket { append bind connect create getattr getopt ioctl lock read setattr setopt shutdown write };" -+PCP_NETLINK_TCPDIAG_SOCKET_CLASS="class netlink_tcpdiag_socket { append bind connect create getattr getopt ioctl lock nlmsg_read nlmsg_write read setattr setopt shutdown write };" -+PCP_NETLINK_TCPDIAG_SOCKET_RULE="allow pcp_pmcd_t self:netlink_tcpdiag_socket { append bind connect create getattr getopt ioctl lock nlmsg_read nlmsg_write read setattr setopt shutdown write };" - endif - - ifeq "$(PCP_SELINUX_LOCKDOWN_CLASS)" "true" diff --git a/SOURCES/redhat-bugzilla-2050094-bcc-selinux.patch b/SOURCES/redhat-bugzilla-2050094-bcc-selinux.patch deleted file mode 100644 index 3b032f2..0000000 --- a/SOURCES/redhat-bugzilla-2050094-bcc-selinux.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 04ac47e570c47cb1f953cf9d5f8cac2a656238e6 Mon Sep 17 00:00:00 2001 -From: Andreas Gerstmayr -Date: Fri, 13 May 2022 13:47:50 +0200 -Subject: [PATCH] selinux: allow bcc PMDA to execute its private memfd: objects - created by ctypes/libffi (#1593) - -Resolves the following AVC: - - type=AVC msg=audit(YYY.787): avc: denied { execute } for pid=216047 comm="python3" path=2F6D656D66643A6C6962666669202864656C6574656429 dev="tmpfs" ino=919210 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmpfs_t:s0 tclass=file permissive=0 - -Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2050094 ---- - qa/1622 | 1 + - qa/917.out.in | 1 + - src/selinux/pcpupstream.te.in | 7 +++++++ - 3 files changed, 9 insertions(+) - -diff --git a/qa/1622 b/qa/1622 -index be7987e225..03ecc4eb42 100755 ---- a/qa/1622 -+++ b/qa/1622 -@@ -78,6 +78,7 @@ type=AVC msg=audit(YYY.24): avc: denied { execute } for pid=8656 comm="sh" na - type=AVC msg=audit(YYY.25): avc: denied { read } for pid=8656 comm="sh" name="hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 - type=AVC msg=audit(YYY.26): avc: denied { open } for pid=8657 comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 - type=AVC msg=audit(YYY.27): avc: denied { execute_no_trans } for pid=8657 comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 -+type=AVC msg=audit(YYY.787): avc: denied { execute } for pid=216047 comm="python3" path=2F6D656D66643A6C6962666669202864656C6574656429 dev="tmpfs" ino=919210 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmpfs_t:s0 tclass=file permissive=0 - type=AVC msg=audit(YYY.28): avc: denied { mount } for pid=22090 comm="pmdaperfevent" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=filesystem permissive=0 - # matching allow rule removed from pcpupstream.te.in by commit 276eb0fe 2019-02-22 - #type=AVC msg=audit(YYY.29): avc: denied { search } for pid=22090 comm="pmdaperfevent" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 -diff --git a/qa/917.out.in b/qa/917.out.in -index 3bd1dc15e0..8b92c0c5ff 100644 ---- a/qa/917.out.in -+++ b/qa/917.out.in -@@ -40,6 +40,7 @@ Checking policies. - allow [pcp_pmcd_t] [websm_port_t] : [tcp_socket] { name_connect }; - ! allow [pcp_pmcd_t] [pcp_tmp_t] : [file] { execute execute_no_trans map }; - allow [pcp_pmcd_t] [hostname_exec_t] : [file] { execute execute_no_trans getattr open read }; -+ allow [pcp_pmcd_t] [pcp_tmpfs_t] : [file] { execute execute_no_trans getattr ioctl lock map open read }; - ! allow [pcp_pmcd_t] [tracefs_t] : [filesystem] { mount }; - ! allow [pcp_pmcd_t] [tracefs_t] : [file] { append getattr open read write }; - ! allow [pcp_pmcd_t] [tracefs_t] : [dir] { open read search }; -diff --git a/src/selinux/pcpupstream.te.in b/src/selinux/pcpupstream.te.in -index 673b178413..2c15c61ba3 100644 ---- a/src/selinux/pcpupstream.te.in -+++ b/src/selinux/pcpupstream.te.in -@@ -39,6 +39,7 @@ require { - type pcp_pmlogger_t; - type pcp_pmproxy_t; - type pcp_tmp_t; -+ type pcp_tmpfs_t; - type pcp_var_lib_t; - type ping_exec_t; # pmda.netcheck - type postgresql_var_run_t; -@@ -199,6 +200,12 @@ allow pcp_pmcd_t pcp_tmp_t:file { execute execute_no_trans @PCP_TMP_MAP@ }; - #type=AVC msg=audit(YYY.27): avc: denied { execute_no_trans } for pid=8657 comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 - allow pcp_pmcd_t hostname_exec_t:file { getattr execute read open execute_no_trans }; - -+# https://bugzilla.redhat.com/show_bug.cgi?id=2050094 -+#type=AVC msg=audit(YYY.787): avc: denied { execute } for pid=216047 comm="python3" path=2F6D656D66643A6C6962666669202864656C6574656429 dev="tmpfs" ino=919210 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmpfs_t:s0 tclass=file permissive=0 -+# libffi (used by Python/ctypes) wants to execute from memfd:libffi (a memory mapped file) -+# similar to selinux-policy PR: https://github.com/fedora-selinux/selinux-policy/pull/1019 -+can_exec(pcp_pmcd_t, pcp_tmpfs_t) -+ - # pmda.perfevent - #type=AVC msg=audit(YYY.28): avc: denied { mount } for pid=22090 comm="pmdaperfevent" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=filesystem permissive=0 - #type=AVC msg=audit(YYY.29): avc: denied { search } for pid=22090 comm="pmdaperfevent" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 diff --git a/SOURCES/redhat-bugzilla-2083897-dstat-missed-ticks.patch b/SOURCES/redhat-bugzilla-2083897-dstat-missed-ticks.patch new file mode 100644 index 0000000..02f8cde --- /dev/null +++ b/SOURCES/redhat-bugzilla-2083897-dstat-missed-ticks.patch @@ -0,0 +1,74 @@ +diff -Naurp pcp-5.3.7.orig/src/pcp/dstat/pcp-dstat.1 pcp-5.3.7/src/pcp/dstat/pcp-dstat.1 +--- pcp-5.3.7.orig/src/pcp/dstat/pcp-dstat.1 2021-05-26 17:43:26.000000000 +1000 ++++ pcp-5.3.7/src/pcp/dstat/pcp-dstat.1 2022-10-20 08:57:02.176922290 +1100 +@@ -1,6 +1,6 @@ + '\"macro stdmacro + .\" +-.\" Copyright (c) 2018-2020 Red Hat. ++.\" Copyright (c) 2018-2022 Red Hat. + .\" + .\" This program is free software; you can redistribute it and/or modify it + .\" under the terms of the GNU General Public License as published by the +@@ -34,6 +34,7 @@ + [\f3\-\-integer\f1] + [\f3\-\-nocolor\f1] + [\f3\-\-noheaders\f1] ++[\f3\-\-nomissed\f1] + [\f3\-\-noupdate\f1] + [\f3\-\-list\f1] + [\f3\-\-pidfile\f1 \f2pid-file\f1] +@@ -404,6 +405,9 @@ disable colors + \fB\-\-noheaders\fR + disable repetitive headers + .TP ++\fB\-\-nomissed\fR ++disable missed ticks warnings for intermediate samples. ++.TP + \fB\-\-noupdate\fR + disable intermediate updates when \fIdelay\fR greater than 1. + .TP +diff -Naurp pcp-5.3.7.orig/src/pcp/dstat/pcp-dstat.py pcp-5.3.7/src/pcp/dstat/pcp-dstat.py +--- pcp-5.3.7.orig/src/pcp/dstat/pcp-dstat.py 2022-04-05 09:05:43.000000000 +1000 ++++ pcp-5.3.7/src/pcp/dstat/pcp-dstat.py 2022-10-20 08:57:02.176922290 +1100 +@@ -455,6 +455,7 @@ class DstatTool(object): + + # Internal + self.missed = 0 ++ self.nomissed = False # report missed ticks by default + self.runtime = -1 + self.plugins = [] # list of requested plugin names + self.allplugins = [] # list of all known plugin names +@@ -783,7 +784,8 @@ class DstatTool(object): + opts.pmSetLongOption('color', 0, '', '', 'force colors') + opts.pmSetLongOption('nocolor', 0, '', '', 'disable colors') + opts.pmSetLongOption('noheaders', 0, '', '', 'disable repetitive headers') +- opts.pmSetLongOption('noupdate', 0, '', '', 'disable intermediate headers') ++ opts.pmSetLongOption('noupdate', 0, '', '', 'disable intermediate updates') ++ opts.pmSetLongOption('nomissed', 0, '', '', 'disable missed ticks warnings') + opts.pmSetLongOption('output', 1, 'o', 'file', 'write CSV output to file') + opts.pmSetLongOption('version', 0, 'V', '', '') + opts.pmSetLongOption('debug', 1, None, '', '') +@@ -920,6 +922,8 @@ class DstatTool(object): + self.header = False + elif opt in ['noupdate']: + self.update = False ++ elif opt in ['nomissed']: ++ self.nomissed = True + elif opt in ['o', 'output']: + self.output = arg + elif opt in ['pidfile']: +@@ -1773,12 +1777,12 @@ class DstatTool(object): + outputfile = open(self.output, omode) + outputfile.write(oline) + +- if self.missed > 0: ++ if self.missed > 0 and self.nomissed is False: + line = 'missed ' + str(self.missed + 1) + ' ticks' + sys.stdout.write(' ' + THEME['error'] + line + THEME['input']) + if self.output and step == self.delay: + outputfile.write(',"' + line + '"') +- self.missed = 0 ++ self.missed = 0 + # Finish the line + if not op.update and self.novalues is False: + sys.stdout.write('\n') diff --git a/SOURCES/redhat-bugzilla-2111742-selinux-policy.patch b/SOURCES/redhat-bugzilla-2111742-selinux-policy.patch new file mode 100644 index 0000000..5874dda --- /dev/null +++ b/SOURCES/redhat-bugzilla-2111742-selinux-policy.patch @@ -0,0 +1,63742 @@ +diff -Naurp pcp-5.3.7.orig/autom4te.cache/output.0 pcp-5.3.7/autom4te.cache/output.0 +--- pcp-5.3.7.orig/autom4te.cache/output.0 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/autom4te.cache/output.0 2022-10-26 16:45:21.272094155 +1100 +@@ -0,0 +1,19493 @@ ++@%:@! /bin/sh ++@%:@ Guess values for system-dependent variables and create Makefiles. ++@%:@ Generated by GNU Autoconf 2.71. ++@%:@ ++@%:@ ++@%:@ Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, ++@%:@ Inc. ++@%:@ ++@%:@ ++@%:@ This configure script is free software; the Free Software Foundation ++@%:@ gives unlimited permission to copy, distribute and modify it. ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++as_nop=: ++if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 ++then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else $as_nop ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++ ++# Reset variables that may have inherited troublesome values from ++# the environment. ++ ++# IFS needs to be set, to space, tab, and newline, in precisely that order. ++# (If _AS_PATH_WALK were called with IFS unset, it would have the ++# side effect of setting IFS to empty, thus disabling word splitting.) ++# Quoting is to prevent editors from complaining about space-tab. ++as_nl=' ++' ++export as_nl ++IFS=" "" $as_nl" ++ ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# Ensure predictable behavior from utilities with locale-dependent output. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# We cannot yet rely on "unset" to work, but we need these variables ++# to be unset--not just set to an empty or harmless value--now, to ++# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct ++# also avoids known problems related to "unset" and subshell syntax ++# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). ++for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH ++do eval test \${$as_var+y} \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++ ++# Ensure that fds 0, 1, and 2 are open. ++if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi ++if (exec 3>&2) ; then :; else exec 2>/dev/null; fi ++ ++# The user is always right. ++if ${PATH_SEPARATOR+false} :; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ test -r "$as_dir$0" && as_myself=$as_dir$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++ ++# Use a proper internal environment variable to ensure we don't fall ++ # into an infinite loop, continuously re-executing ourselves. ++ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then ++ _as_can_reexec=no; export _as_can_reexec; ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in @%:@ (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 ++exit 255 ++ fi ++ # We don't want this to propagate to other subprocesses. ++ { _as_can_reexec=; unset _as_can_reexec;} ++if test "x$CONFIG_SHELL" = x; then ++ as_bourne_compatible="as_nop=: ++if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 ++then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '\${1+\"\$@\"}'='\"\$@\"' ++ setopt NO_GLOB_SUBST ++else \$as_nop ++ case \`(set -o) 2>/dev/null\` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++" ++ as_required="as_fn_return () { (exit \$1); } ++as_fn_success () { as_fn_return 0; } ++as_fn_failure () { as_fn_return 1; } ++as_fn_ret_success () { return 0; } ++as_fn_ret_failure () { return 1; } ++ ++exitcode=0 ++as_fn_success || { exitcode=1; echo as_fn_success failed.; } ++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ++if ( set x; as_fn_ret_success y && test x = \"\$1\" ) ++then : ++ ++else \$as_nop ++ exitcode=1; echo positional parameters were not saved. ++fi ++test x\$exitcode = x0 || exit 1 ++blah=\$(echo \$(echo blah)) ++test x\"\$blah\" = xblah || exit 1 ++test -x / || exit 1" ++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ++test \$(( 1 + 1 )) = 2 || exit 1" ++ if (eval "$as_required") 2>/dev/null ++then : ++ as_have_required=yes ++else $as_nop ++ as_have_required=no ++fi ++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null ++then : ++ ++else $as_nop ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false ++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ as_found=: ++ case $as_dir in @%:@( ++ /*) ++ for as_base in sh bash ksh sh5; do ++ # Try only shells that exist, to save several forks. ++ as_shell=$as_dir$as_base ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null ++then : ++ CONFIG_SHELL=$as_shell as_have_required=yes ++ if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null ++then : ++ break 2 ++fi ++fi ++ done;; ++ esac ++ as_found=false ++done ++IFS=$as_save_IFS ++if $as_found ++then : ++ ++else $as_nop ++ if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ++ as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null ++then : ++ CONFIG_SHELL=$SHELL as_have_required=yes ++fi ++fi ++ ++ ++ if test "x$CONFIG_SHELL" != x ++then : ++ export CONFIG_SHELL ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in @%:@ (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 ++exit 255 ++fi ++ ++ if test x$as_have_required = xno ++then : ++ printf "%s\n" "$0: This script requires a shell more modern than all" ++ printf "%s\n" "$0: the shells that I found on your system." ++ if test ${ZSH_VERSION+y} ; then ++ printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" ++ printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." ++ else ++ printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, ++$0: including any error possibly output before this ++$0: message. Then install a modern shell, or manually run ++$0: the script under such a shell if you do have one." ++ fi ++ exit 1 ++fi ++fi ++fi ++SHELL=${CONFIG_SHELL-/bin/sh} ++export SHELL ++# Unset more variables known to interfere with behavior of common tools. ++CLICOLOR_FORCE= GREP_OPTIONS= ++unset CLICOLOR_FORCE GREP_OPTIONS ++ ++## --------------------- ## ++## M4sh Shell Functions. ## ++## --------------------- ## ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set @S|@? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++@%:@ as_fn_nop ++@%:@ --------- ++@%:@ Do nothing but, unlike ":", preserve the value of @S|@?. ++as_fn_nop () ++{ ++ return $? ++} ++as_nop=as_fn_nop ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++ ++@%:@ as_fn_executable_p FILE ++@%:@ ----------------------- ++@%:@ Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} @%:@ as_fn_executable_p ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null ++then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else $as_nop ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across @S|@(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null ++then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else $as_nop ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++@%:@ as_fn_nop ++@%:@ --------- ++@%:@ Do nothing but, unlike ":", preserve the value of @S|@?. ++as_fn_nop () ++{ ++ return $? ++} ++as_nop=as_fn_nop ++@%:@ as_fn_nop ++@%:@ --------- ++@%:@ Do nothing but, unlike ":", preserve the value of @S|@?. ++as_fn_nop () ++{ ++ return $? ++} ++as_nop=as_fn_nop ++ ++@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] ++@%:@ ---------------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ printf "%s\n" "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ ++ as_lineno_1=$LINENO as_lineno_1a=$LINENO ++ as_lineno_2=$LINENO as_lineno_2a=$LINENO ++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ++ sed -n ' ++ p ++ /[$]LINENO/= ++ ' <$as_myself | ++ sed ' ++ s/[$]LINENO.*/&-/ ++ t lineno ++ b ++ :lineno ++ N ++ :loop ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ++ t loop ++ s/-\n.*// ++ ' >$as_me.lineno && ++ chmod +x "$as_me.lineno" || ++ { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ++ ++ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have ++ # already done that, so ensure we don't try to do so again and fall ++ # in an infinite loop. This has already happened in practice. ++ _as_can_reexec=no; export _as_can_reexec ++ # Don't try to exec as it changes $[0], causing all sort of problems ++ # (the dirname of $[0] is not the place where we might find the ++ # original and so on. Autoconf is especially sensitive to this). ++ . "./$as_me.lineno" ++ # Exit status is that of the last command. ++ exit ++} ++ ++ ++# Determine whether it's possible to make 'echo' print without a newline. ++# These variables are no longer used directly by Autoconf, but are AC_SUBSTed ++# for compatibility with existing Makefiles. ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++# For backward compatibility with old third-party macros, we provide ++# the shell variables $as_echo and $as_echo_n. New code should use ++# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. ++as_@&t@echo='printf %s\n' ++as_@&t@echo_n='printf %s' ++ ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++test -n "$DJDIR" || exec 7<&0 &1 ++ ++# Name of the host. ++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, ++# so uname gets run too. ++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ++ ++# ++# Initializations. ++# ++ac_default_prefix=/usr/local ++ac_clean_files= ++ac_config_libobj_dir=. ++LIB@&t@OBJS= ++cross_compiling=no ++subdirs= ++MFLAGS= ++MAKEFLAGS= ++ ++# Identity of this package. ++PACKAGE_NAME='' ++PACKAGE_TARNAME='' ++PACKAGE_VERSION='' ++PACKAGE_STRING='' ++PACKAGE_BUGREPORT='' ++PACKAGE_URL='' ++ ++ac_unique_file="src/include/pcp/pmapi.h" ++# Factoring default headers for most tests. ++ac_includes_default="\ ++#include ++#ifdef HAVE_STDIO_H ++# include ++#endif ++#ifdef HAVE_STDLIB_H ++# include ++#endif ++#ifdef HAVE_STRING_H ++# include ++#endif ++#ifdef HAVE_INTTYPES_H ++# include ++#endif ++#ifdef HAVE_STDINT_H ++# include ++#endif ++#ifdef HAVE_STRINGS_H ++# include ++#endif ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_SYS_STAT_H ++# include ++#endif ++#ifdef HAVE_UNISTD_H ++# include ++#endif" ++ ++ac_header_c_list= ++ac_func_c_list= ++ac_subst_vars='PACKAGE_CONFIGURE ++pcp_prefix ++HAVE_CMOCKA ++cmocka_LIBS ++cmocka_CFLAGS ++HAVE_ZLIB ++zlib_LIBS ++zlib_CFLAGS ++lib_for_curses ++lib_for_readline ++pcp_mpi_dirs ++enable_lzma ++enable_decompression ++lib_for_lzma ++lzma_LIBS ++lzma_CFLAGS ++lib_for_atomic ++enable_secure ++lib_for_nspr ++lib_for_nss ++lib_for_ssl ++lib_for_sasl ++SASLCFLAGS ++NSPRCFLAGS ++NSSCFLAGS ++ac_xconfirm_prog ++pcp_demos_dir ++pcp_doc_dir ++pcp_tmp_dir ++pcp_tmpfile_dir ++pcp_run_dir ++pcp_pacct_system_path ++pcp_sa_dir ++pcp_archive_dir ++pcp_log_dir ++pcp_sysconfig_dir ++pcp_rc_dir ++pcp_desktop_dir ++have_hicolor_icons ++inkscape ++INKSCAPE ++pcp_icons_dir ++pcp_html_dir ++pcp_inc_dir ++pcp_sbin_dir ++pcp_bin_dir ++need_old_tbl_header ++have_xzed_manpages ++have_lzmaed_manpages ++have_bzip2ed_manpages ++have_gzipped_manpages ++have_manpages ++pcp_man_dir ++pcp_x11_pre ++pcp_x11_extra ++pcp_x11_libflags ++pcp_x11_incflags ++X_EXTRA_LIBS ++X_LIBS ++X_PRE_LIBS ++X_CFLAGS ++XMKMF ++python_prefix ++perl_install_base ++perl_installdirs ++pcp_lib32_dir ++pcp_lib_dir ++pcp_pmdasadm_dir ++pcp_pmdas_dir ++pcp_pmnsadm_dir ++pcp_pmns_dir ++pcp_var_dir ++pcp_libadm_dir ++pcp_binadm_dir ++pcp_bashshare_dir ++pcp_selinux_dir ++pcp_share_dir ++pcp_pmloggercontrol_path ++pcp_pmsnapcontrol_path ++pcp_pmiecontrol_path ++pcp_pmproxyoptions_path ++pcp_pmcdrclocal_path ++pcp_pmcdoptions_path ++pcp_pmcdconf_path ++pcp_sysconf_dir ++pcp_saslconf_dir ++pcp_etc_dir ++lib_for_math ++lib_for_dlopen ++lib_for_rt ++lib_for_basename ++fmt_pthread ++lib_for_pthreads ++fmt_uint64 ++fmt_int64 ++fmt_pid ++rdynamic_flag ++enable_selinux ++PMDA_POSTFIX ++QSHAPE ++PMDA_PODMAN ++PMDA_STATSD ++lib_for_chan ++lib_for_hdr_histogram ++PMDA_PERFEVENT ++PFM_LIBS ++PMDA_INFINIBAND ++IB_LIBS ++PMDA_SYSTEMD ++SYSTEMD_LIBS ++SYSTEMD_CFLAGS ++HAVE_DEVMAPPER ++DEVMAPPER_LIBS ++DEVMAPPER_CFLAGS ++HAVE_NCURSESW ++ncursesw_LIBS ++ncursesw_CFLAGS ++HAVE_NCURSES ++ncurses_LIBS ++ncurses_CFLAGS ++HAVE_LIBUV ++libuv_LIBS ++libuv_CFLAGS ++HAVE_OPENSSL ++openssl_LIBS ++openssl_CFLAGS ++lib_for_regex ++grep ++pcp_syslog_prog ++pcp_ps_prog ++LN_S ++makepkg ++MAKEPKG ++dpkg ++DPKG ++md5sum ++MD5SUM ++makedepend ++MAKEDEPEND ++TRUEPROG ++pod2man ++POD2MAN ++rpmprog ++rpm ++RPM ++rpmbuild ++RPMBUILD ++dlltool ++DLLTOOL ++pkgmk ++PKGMK ++mkinstallp ++MKINSTALLP ++hdiutil ++HDIUTIL ++xz ++XZ ++lzma ++LZMA ++bzip2 ++BZIP2 ++gzip ++ZIP ++tar ++TAR ++pcp_group_install ++pcp_user_install ++ld ++LD ++cpp ++CPP ++make ++MAKE ++enable_qt3d ++qmake ++enable_qt ++qt_version ++qt_release ++QMAKE ++QTCHOOSER ++PMDA_LIBVIRT ++PMDA_OPENMETRICS ++PMDA_LIO ++PMDA_NUTCRACKER ++PMDA_BIND2 ++PMDA_ACTIVEMQ ++PMDA_NGINX ++PMDA_ELASTICSEARCH ++PMDA_ORACLE ++PMDA_POSTGRESQL ++PMDA_MYSQL ++PMDA_SNMP ++have_perl ++enable_perl ++pcp_perl_prog ++PERL ++PMDA_BPFTRACE ++PMDA_BPF ++pmdabpf_bpftool ++PMDABPF_BPFTOOL ++pmdabpf_llvm_strip ++PMDABPF_LLVM_STRIP ++pmdabpf_clang ++PMDABPF_CLANG ++HAVE_LIBELF ++libelf_LIBS ++libelf_CFLAGS ++HAVE_LIBBPF ++libbpf_LIBS ++libbpf_CFLAGS ++CLANG_MAJOR_VERSION ++PMDA_BCC ++PMDA_JSON ++have_python_influxdb ++have_python_six ++have_python_libvirt ++have_python_requests ++have_python_setuptools ++have_python_openpyxl ++have_python_jsonpointer ++have_python_OrderedDict ++have_python_BPF ++enable_dstat ++pcp_python_prog ++have_python ++enable_python3 ++enable_python2 ++PYTHON3 ++PYTHON ++PYLINT ++GIT ++LTLIBOBJS ++LIB@&t@OBJS ++pm_version_current ++PACKAGE_DISTRIBUTION ++PACKAGE_BUILD_DATE ++PACKAGE_BUILD ++PACKAGE_REVISION ++PACKAGE_MINOR ++PACKAGE_MAJOR ++sd_service_type ++enable_systemd ++pcp_systemdunit_dir ++SYSTEMD_SYSTEMUNITDIR ++pcp_systemdtmpfiles_dir ++SYSTEMD_TMPFILESDIR ++enable_avahi ++enable_discovery ++lib_for_avahi ++avahi_LIBS ++avahi_CFLAGS ++sanitizer ++gperftools_LIBS ++gperftools_CFLAGS ++enable_probes ++DTRACE ++EGREP ++GREP ++echo_c ++echo_n ++sort ++RAGEL ++yacc ++YFLAGS ++YACC ++lex ++LEXLIB ++LEX_OUTPUT_ROOT ++LEX ++ar ++AR ++which ++WHICH ++find ++FIND ++echo ++ECHO ++sed ++SED ++awk ++AWK ++enable_shared ++cxx ++ac_ct_CXX ++CXXFLAGS ++CXX ++C99_CFLAGS ++INVISIBILITY ++PIECFLAGS ++PIELDFLAGS ++PLDFLAGS ++PCFLAGS ++cflags_abi ++cc_is_gcc ++cc ++CCPATH ++OBJEXT ++EXEEXT ++ac_ct_CC ++CPPFLAGS ++LDFLAGS ++CFLAGS ++CC ++PKG_CONFIG_LIBDIR ++PKG_CONFIG_PATH ++PKG_CONFIG ++optimization ++pcp_ps_all_flags ++pcp_platform_paths ++cross_compiling ++target_os ++target_vendor ++target_cpu ++target ++host_os ++host_vendor ++host_cpu ++host ++build_os ++build_vendor ++build_cpu ++build ++pcp_group ++pcp_user ++target_alias ++host_alias ++build_alias ++LIBS ++ECHO_T ++ECHO_N ++ECHO_C ++DEFS ++mandir ++localedir ++libdir ++psdir ++pdfdir ++dvidir ++htmldir ++infodir ++docdir ++oldincludedir ++includedir ++runstatedir ++localstatedir ++sharedstatedir ++sysconfdir ++datadir ++datarootdir ++libexecdir ++sbindir ++bindir ++program_transform_name ++prefix ++exec_prefix ++PACKAGE_URL ++PACKAGE_BUGREPORT ++PACKAGE_STRING ++PACKAGE_VERSION ++PACKAGE_TARNAME ++PACKAGE_NAME ++PATH_SEPARATOR ++SHELL' ++ac_subst_files='' ++ac_user_opts=' ++enable_option_checking ++with_64bit ++with_optimization ++with_gperftools ++with_sanitizer ++with_threads ++with_secure_sockets ++with_static_probes ++with_infiniband ++with_user ++with_group ++with_discovery ++with_systemd ++with_qt ++with_qt3d ++with_perl ++with_python ++with_python3 ++with_dstat_symlink ++with_perfevent ++with_pmdastatsd ++with_pmdapodman ++with_pmdabcc ++with_pmdabpf ++with_pmdabpf_clang ++with_pmdabpf_llvm_strip ++with_pmdabpf_bpftool ++with_pmdabpftrace ++with_pmdajson ++with_pmdanutcracker ++with_pmdasnmp ++with_make ++with_tar ++with_zip ++with_transparent_decompression ++enable_ssp ++enable_pie ++enable_visibility ++enable_shared ++with_perl_installdirs ++with_perl_install_base ++with_python_prefix ++with_x ++with_rcdir ++with_sysconfigdir ++with_logdir ++with_rundir ++with_tmpdir ++with_docdir ++with_demosdir ++' ++ ac_precious_vars='build_alias ++host_alias ++target_alias ++PKG_CONFIG ++PKG_CONFIG_PATH ++PKG_CONFIG_LIBDIR ++CC ++CFLAGS ++LDFLAGS ++LIBS ++CPPFLAGS ++CXX ++CXXFLAGS ++CCC ++YACC ++YFLAGS ++gperftools_CFLAGS ++gperftools_LIBS ++avahi_CFLAGS ++avahi_LIBS ++SYSTEMD_TMPFILESDIR ++SYSTEMD_SYSTEMUNITDIR ++libbpf_CFLAGS ++libbpf_LIBS ++libelf_CFLAGS ++libelf_LIBS ++CPP ++openssl_CFLAGS ++openssl_LIBS ++libuv_CFLAGS ++libuv_LIBS ++ncurses_CFLAGS ++ncurses_LIBS ++ncursesw_CFLAGS ++ncursesw_LIBS ++DEVMAPPER_CFLAGS ++DEVMAPPER_LIBS ++SYSTEMD_CFLAGS ++SYSTEMD_LIBS ++XMKMF ++lzma_CFLAGS ++lzma_LIBS ++zlib_CFLAGS ++zlib_LIBS ++cmocka_CFLAGS ++cmocka_LIBS' ++ ++ ++# Initialize some variables set by options. ++ac_init_help= ++ac_init_version=false ++ac_unrecognized_opts= ++ac_unrecognized_sep= ++# The variables have the same names as the options, with ++# dashes changed to underlines. ++cache_file=/dev/null ++exec_prefix=NONE ++no_create= ++no_recursion= ++prefix=NONE ++program_prefix=NONE ++program_suffix=NONE ++program_transform_name=s,x,x, ++silent= ++site= ++srcdir= ++verbose= ++x_includes=NONE ++x_libraries=NONE ++ ++# Installation directory options. ++# These are left unexpanded so users can "make install exec_prefix=/foo" ++# and all the variables that are supposed to be based on exec_prefix ++# by default will actually change. ++# Use braces instead of parens because sh, perl, etc. also accept them. ++# (The list follows the same order as the GNU Coding Standards.) ++bindir='${exec_prefix}/bin' ++sbindir='${exec_prefix}/sbin' ++libexecdir='${exec_prefix}/libexec' ++datarootdir='${prefix}/share' ++datadir='${datarootdir}' ++sysconfdir='${prefix}/etc' ++sharedstatedir='${prefix}/com' ++localstatedir='${prefix}/var' ++runstatedir='${localstatedir}/run' ++includedir='${prefix}/include' ++oldincludedir='/usr/include' ++docdir='${datarootdir}/doc/${PACKAGE}' ++infodir='${datarootdir}/info' ++htmldir='${docdir}' ++dvidir='${docdir}' ++pdfdir='${docdir}' ++psdir='${docdir}' ++libdir='${exec_prefix}/lib' ++localedir='${datarootdir}/locale' ++mandir='${datarootdir}/man' ++ ++ac_prev= ++ac_dashdash= ++for ac_option ++do ++ # If the previous option needs an argument, assign it. ++ if test -n "$ac_prev"; then ++ eval $ac_prev=\$ac_option ++ ac_prev= ++ continue ++ fi ++ ++ case $ac_option in ++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ++ *=) ac_optarg= ;; ++ *) ac_optarg=yes ;; ++ esac ++ ++ case $ac_dashdash$ac_option in ++ --) ++ ac_dashdash=yes ;; ++ ++ -bindir | --bindir | --bindi | --bind | --bin | --bi) ++ ac_prev=bindir ;; ++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ++ bindir=$ac_optarg ;; ++ ++ -build | --build | --buil | --bui | --bu) ++ ac_prev=build_alias ;; ++ -build=* | --build=* | --buil=* | --bui=* | --bu=*) ++ build_alias=$ac_optarg ;; ++ ++ -cache-file | --cache-file | --cache-fil | --cache-fi \ ++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ++ ac_prev=cache_file ;; ++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ++ cache_file=$ac_optarg ;; ++ ++ --config-cache | -C) ++ cache_file=config.cache ;; ++ ++ -datadir | --datadir | --datadi | --datad) ++ ac_prev=datadir ;; ++ -datadir=* | --datadir=* | --datadi=* | --datad=*) ++ datadir=$ac_optarg ;; ++ ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ ++ | --dataroo | --dataro | --datar) ++ ac_prev=datarootdir ;; ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) ++ datarootdir=$ac_optarg ;; ++ ++ -disable-* | --disable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid feature name: \`$ac_useropt'" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=no ;; ++ ++ -docdir | --docdir | --docdi | --doc | --do) ++ ac_prev=docdir ;; ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) ++ docdir=$ac_optarg ;; ++ ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ++ ac_prev=dvidir ;; ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) ++ dvidir=$ac_optarg ;; ++ ++ -enable-* | --enable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid feature name: \`$ac_useropt'" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=\$ac_optarg ;; ++ ++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ++ | --exec | --exe | --ex) ++ ac_prev=exec_prefix ;; ++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ++ | --exec=* | --exe=* | --ex=*) ++ exec_prefix=$ac_optarg ;; ++ ++ -gas | --gas | --ga | --g) ++ # Obsolete; use --with-gas. ++ with_gas=yes ;; ++ ++ -help | --help | --hel | --he | -h) ++ ac_init_help=long ;; ++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ++ ac_init_help=recursive ;; ++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ++ ac_init_help=short ;; ++ ++ -host | --host | --hos | --ho) ++ ac_prev=host_alias ;; ++ -host=* | --host=* | --hos=* | --ho=*) ++ host_alias=$ac_optarg ;; ++ ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ++ ac_prev=htmldir ;; ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ ++ | --ht=*) ++ htmldir=$ac_optarg ;; ++ ++ -includedir | --includedir | --includedi | --included | --include \ ++ | --includ | --inclu | --incl | --inc) ++ ac_prev=includedir ;; ++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ++ | --includ=* | --inclu=* | --incl=* | --inc=*) ++ includedir=$ac_optarg ;; ++ ++ -infodir | --infodir | --infodi | --infod | --info | --inf) ++ ac_prev=infodir ;; ++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ++ infodir=$ac_optarg ;; ++ ++ -libdir | --libdir | --libdi | --libd) ++ ac_prev=libdir ;; ++ -libdir=* | --libdir=* | --libdi=* | --libd=*) ++ libdir=$ac_optarg ;; ++ ++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ++ | --libexe | --libex | --libe) ++ ac_prev=libexecdir ;; ++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ++ | --libexe=* | --libex=* | --libe=*) ++ libexecdir=$ac_optarg ;; ++ ++ -localedir | --localedir | --localedi | --localed | --locale) ++ ac_prev=localedir ;; ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) ++ localedir=$ac_optarg ;; ++ ++ -localstatedir | --localstatedir | --localstatedi | --localstated \ ++ | --localstate | --localstat | --localsta | --localst | --locals) ++ ac_prev=localstatedir ;; ++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) ++ localstatedir=$ac_optarg ;; ++ ++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ++ ac_prev=mandir ;; ++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ++ mandir=$ac_optarg ;; ++ ++ -nfp | --nfp | --nf) ++ # Obsolete; use --without-fp. ++ with_fp=no ;; ++ ++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ ++ | --no-cr | --no-c | -n) ++ no_create=yes ;; ++ ++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ ++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ++ no_recursion=yes ;; ++ ++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ ++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ ++ | --oldin | --oldi | --old | --ol | --o) ++ ac_prev=oldincludedir ;; ++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ ++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ ++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) ++ oldincludedir=$ac_optarg ;; ++ ++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ++ ac_prev=prefix ;; ++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ++ prefix=$ac_optarg ;; ++ ++ -program-prefix | --program-prefix | --program-prefi | --program-pref \ ++ | --program-pre | --program-pr | --program-p) ++ ac_prev=program_prefix ;; ++ -program-prefix=* | --program-prefix=* | --program-prefi=* \ ++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) ++ program_prefix=$ac_optarg ;; ++ ++ -program-suffix | --program-suffix | --program-suffi | --program-suff \ ++ | --program-suf | --program-su | --program-s) ++ ac_prev=program_suffix ;; ++ -program-suffix=* | --program-suffix=* | --program-suffi=* \ ++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) ++ program_suffix=$ac_optarg ;; ++ ++ -program-transform-name | --program-transform-name \ ++ | --program-transform-nam | --program-transform-na \ ++ | --program-transform-n | --program-transform- \ ++ | --program-transform | --program-transfor \ ++ | --program-transfo | --program-transf \ ++ | --program-trans | --program-tran \ ++ | --progr-tra | --program-tr | --program-t) ++ ac_prev=program_transform_name ;; ++ -program-transform-name=* | --program-transform-name=* \ ++ | --program-transform-nam=* | --program-transform-na=* \ ++ | --program-transform-n=* | --program-transform-=* \ ++ | --program-transform=* | --program-transfor=* \ ++ | --program-transfo=* | --program-transf=* \ ++ | --program-trans=* | --program-tran=* \ ++ | --progr-tra=* | --program-tr=* | --program-t=*) ++ program_transform_name=$ac_optarg ;; ++ ++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ++ ac_prev=pdfdir ;; ++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) ++ pdfdir=$ac_optarg ;; ++ ++ -psdir | --psdir | --psdi | --psd | --ps) ++ ac_prev=psdir ;; ++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) ++ psdir=$ac_optarg ;; ++ ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ silent=yes ;; ++ ++ -runstatedir | --runstatedir | --runstatedi | --runstated \ ++ | --runstate | --runstat | --runsta | --runst | --runs \ ++ | --run | --ru | --r) ++ ac_prev=runstatedir ;; ++ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ ++ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ ++ | --run=* | --ru=* | --r=*) ++ runstatedir=$ac_optarg ;; ++ ++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ++ ac_prev=sbindir ;; ++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ++ | --sbi=* | --sb=*) ++ sbindir=$ac_optarg ;; ++ ++ -sharedstatedir | --sharedstatedir | --sharedstatedi \ ++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ ++ | --sharedst | --shareds | --shared | --share | --shar \ ++ | --sha | --sh) ++ ac_prev=sharedstatedir ;; ++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ ++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ ++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ ++ | --sha=* | --sh=*) ++ sharedstatedir=$ac_optarg ;; ++ ++ -site | --site | --sit) ++ ac_prev=site ;; ++ -site=* | --site=* | --sit=*) ++ site=$ac_optarg ;; ++ ++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ++ ac_prev=srcdir ;; ++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ++ srcdir=$ac_optarg ;; ++ ++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ ++ | --syscon | --sysco | --sysc | --sys | --sy) ++ ac_prev=sysconfdir ;; ++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ ++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) ++ sysconfdir=$ac_optarg ;; ++ ++ -target | --target | --targe | --targ | --tar | --ta | --t) ++ ac_prev=target_alias ;; ++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) ++ target_alias=$ac_optarg ;; ++ ++ -v | -verbose | --verbose | --verbos | --verbo | --verb) ++ verbose=yes ;; ++ ++ -version | --version | --versio | --versi | --vers | -V) ++ ac_init_version=: ;; ++ ++ -with-* | --with-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid package name: \`$ac_useropt'" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=\$ac_optarg ;; ++ ++ -without-* | --without-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid package name: \`$ac_useropt'" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=no ;; ++ ++ --x) ++ # Obsolete; use --with-x. ++ with_x=yes ;; ++ ++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ ++ | --x-incl | --x-inc | --x-in | --x-i) ++ ac_prev=x_includes ;; ++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ ++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) ++ x_includes=$ac_optarg ;; ++ ++ -x-libraries | --x-libraries | --x-librarie | --x-librari \ ++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ++ ac_prev=x_libraries ;; ++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ ++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) ++ x_libraries=$ac_optarg ;; ++ ++ -*) as_fn_error $? "unrecognized option: \`$ac_option' ++Try \`$0 --help' for more information" ++ ;; ++ ++ *=*) ++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ++ # Reject names that are not valid shell variable names. ++ case $ac_envvar in #( ++ '' | [0-9]* | *[!_$as_cr_alnum]* ) ++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; ++ esac ++ eval $ac_envvar=\$ac_optarg ++ export $ac_envvar ;; ++ ++ *) ++ # FIXME: should be removed in autoconf 3.0. ++ printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 ++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && ++ printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 ++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ++ ;; ++ ++ esac ++done ++ ++if test -n "$ac_prev"; then ++ ac_option=--`echo $ac_prev | sed 's/_/-/g'` ++ as_fn_error $? "missing argument to $ac_option" ++fi ++ ++if test -n "$ac_unrecognized_opts"; then ++ case $enable_option_checking in ++ no) ;; ++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; ++ *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; ++ esac ++fi ++ ++# Check all directory arguments for consistency. ++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ ++ datadir sysconfdir sharedstatedir localstatedir includedir \ ++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ ++ libdir localedir mandir runstatedir ++do ++ eval ac_val=\$$ac_var ++ # Remove trailing slashes. ++ case $ac_val in ++ */ ) ++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` ++ eval $ac_var=\$ac_val;; ++ esac ++ # Be sure to have absolute directory names. ++ case $ac_val in ++ [\\/$]* | ?:[\\/]* ) continue;; ++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; ++ esac ++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" ++done ++ ++# There might be people who depend on the old broken behavior: `$host' ++# used to hold the argument of --host etc. ++# FIXME: To remove some day. ++build=$build_alias ++host=$host_alias ++target=$target_alias ++ ++# FIXME: To remove some day. ++if test "x$host_alias" != x; then ++ if test "x$build_alias" = x; then ++ cross_compiling=maybe ++ elif test "x$build_alias" != "x$host_alias"; then ++ cross_compiling=yes ++ fi ++fi ++ ++ac_tool_prefix= ++test -n "$host_alias" && ac_tool_prefix=$host_alias- ++ ++test "$silent" = yes && exec 6>/dev/null ++ ++ ++ac_pwd=`pwd` && test -n "$ac_pwd" && ++ac_ls_di=`ls -di .` && ++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ++ as_fn_error $? "working directory cannot be determined" ++test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ++ as_fn_error $? "pwd does not report name of working directory" ++ ++ ++# Find the source files, if location was not specified. ++if test -z "$srcdir"; then ++ ac_srcdir_defaulted=yes ++ # Try the directory containing this script, then the parent directory. ++ ac_confdir=`$as_dirname -- "$as_myself" || ++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_myself" : 'X\(//\)[^/]' \| \ ++ X"$as_myself" : 'X\(//\)$' \| \ ++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X"$as_myself" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ srcdir=$ac_confdir ++ if test ! -r "$srcdir/$ac_unique_file"; then ++ srcdir=.. ++ fi ++else ++ ac_srcdir_defaulted=no ++fi ++if test ! -r "$srcdir/$ac_unique_file"; then ++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" ++fi ++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ++ac_abs_confdir=`( ++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" ++ pwd)` ++# When building in place, set srcdir=. ++if test "$ac_abs_confdir" = "$ac_pwd"; then ++ srcdir=. ++fi ++# Remove unnecessary trailing slashes from srcdir. ++# Double slashes in file names in object file debugging info ++# mess up M-x gdb in Emacs. ++case $srcdir in ++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; ++esac ++for ac_var in $ac_precious_vars; do ++ eval ac_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_env_${ac_var}_value=\$${ac_var} ++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_cv_env_${ac_var}_value=\$${ac_var} ++done ++ ++# ++# Report the --help message. ++# ++if test "$ac_init_help" = "long"; then ++ # Omit some internal or obsolete options to make the list less imposing. ++ # This message is too long to be a string in the A/UX 3.1 sh. ++ cat <<_ACEOF ++\`configure' configures this package to adapt to many kinds of systems. ++ ++Usage: $0 [OPTION]... [VAR=VALUE]... ++ ++To assign environment variables (e.g., CC, CFLAGS...), specify them as ++VAR=VALUE. See below for descriptions of some of the useful variables. ++ ++Defaults for the options are specified in brackets. ++ ++Configuration: ++ -h, --help display this help and exit ++ --help=short display options specific to this package ++ --help=recursive display the short help of all the included packages ++ -V, --version display version information and exit ++ -q, --quiet, --silent do not print \`checking ...' messages ++ --cache-file=FILE cache test results in FILE [disabled] ++ -C, --config-cache alias for \`--cache-file=config.cache' ++ -n, --no-create do not create output files ++ --srcdir=DIR find the sources in DIR [configure dir or \`..'] ++ ++Installation directories: ++ --prefix=PREFIX install architecture-independent files in PREFIX ++ @<:@@S|@ac_default_prefix@:>@ ++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX ++ @<:@PREFIX@:>@ ++ ++By default, \`make install' will install all the files in ++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ++an installation prefix other than \`$ac_default_prefix' using \`--prefix', ++for instance \`--prefix=\$HOME'. ++ ++For better control, use the options below. ++ ++Fine tuning of the installation directories: ++ --bindir=DIR user executables [EPREFIX/bin] ++ --sbindir=DIR system admin executables [EPREFIX/sbin] ++ --libexecdir=DIR program executables [EPREFIX/libexec] ++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] ++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] ++ --localstatedir=DIR modifiable single-machine data [PREFIX/var] ++ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] ++ --libdir=DIR object code libraries [EPREFIX/lib] ++ --includedir=DIR C header files [PREFIX/include] ++ --oldincludedir=DIR C header files for non-gcc [/usr/include] ++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] ++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] ++ --infodir=DIR info documentation [DATAROOTDIR/info] ++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] ++ --mandir=DIR man documentation [DATAROOTDIR/man] ++ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ ++ --htmldir=DIR html documentation [DOCDIR] ++ --dvidir=DIR dvi documentation [DOCDIR] ++ --pdfdir=DIR pdf documentation [DOCDIR] ++ --psdir=DIR ps documentation [DOCDIR] ++_ACEOF ++ ++ cat <<\_ACEOF ++ ++X features: ++ --x-includes=DIR X include files are in DIR ++ --x-libraries=DIR X library files are in DIR ++ ++System types: ++ --build=BUILD configure for building on BUILD [guessed] ++ --host=HOST cross-compile to build programs to run on HOST [BUILD] ++ --target=TARGET configure for building compilers for TARGET [HOST] ++_ACEOF ++fi ++ ++if test -n "$ac_init_help"; then ++ ++ cat <<\_ACEOF ++ ++Optional Features: ++ --disable-option-checking ignore unrecognized --enable/--with options ++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) ++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] ++ --disable-ssp disable gcc stack-protector ++ --disable-pie disable position-independent-executable ++ --disable-visibility disable gcc symbol visibility ++ --disable-shared disable core shared libary generation ++ ++Optional Packages: ++ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ++ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) ++ --with-64bit turn on 64 bit compilation mode (default is platform ++ dependent) ++ --with-optimization enable optimization for C/C++ code (default is yes) ++ --with-gperftools enable gperftools for CPU and heap profiling ++ (default is no) ++ --with-sanitizer enable sanitizers (default is no, common values are ++ 'address', 'thread' or 'leak') ++ --with-threads enable support for multiple threads (default is on) ++ --with-secure-sockets enable support for secure sockets (default is on) ++ --with-static-probes enable support for static probes (default is on) ++ --with-infiniband enable support for Infiniband metrics (default is ++ on) ++ --with-user user account under which daemons run (default is ++ pcp) ++ --with-group user group under which daemons run (default is pcp) ++ --with-discovery enable support for service discovery (default is on) ++ --with-systemd enable support for systemd services (default is on) ++ --with-qt enable support for tools requiring Qt (default is ++ on) ++ --with-qt3d enable support for 3D scene graph API (default is ++ on) ++ --with-perl enable support for tools requiring Perl (default is ++ on) ++ --with-python enable support for tools requiring Python (default ++ is on) ++ --with-python3 enable support for tools requiring Python3 (default ++ is on) ++ --with-dstat-symlink enable support for /usr/bin/dstat symlink (default ++ is on) ++ --with-perfevent enable perfevent pmda (default is on) ++ --with-pmdastatsd enable statds pmda (default is on) ++ --with-pmdapodman enable podman pmda (default is on) ++ --with-pmdabcc enable BCC pmda (default is on) ++ --with-pmdabpf enable BPF pmda (default is on) ++ --with-pmdabpf-clang path to clang 10+ (default is empty for auto ++ discovery) ++ --with-pmdabpf-llvm-strip ++ path to llvm-strip 10+ (default is empty for auto ++ discovery) ++ --with-pmdabpf-bpftool path to bpftool (default is empty for auto ++ discovery) ++ --with-pmdabpftrace enable bpftrace pmda (default is on) ++ --with-pmdajson enable JSON pmda (default is on) ++ --with-pmdanutcracker enable nutcracker pmda (default is on) ++ --with-pmdasnmp enable SNMP pmda (default is on) ++ --with-make path to GNU compatible make(1) (default is empty for ++ auto discovery) ++ --with-tar path to GNU compatible tar(1) (default is empty for ++ auto discovery) ++ --with-zip path to GNU compatible zip(1) (default is empty for ++ auto discovery) ++ --with-transparent-decompression ++ enable support for transparent decompression of ++ archives (default is on) ++ --with-perl_installdirs perl installdirs @<:@vendor@:>@ ++ --with-perl_install_base ++ perl install_base @<:@PREFIX@:>@ ++ --with-python_prefix python setup.py prefix @<:@PREFIX@:>@ ++ --with-x use the X Window System ++ --with-rcdir rc directory @<:@SYSCONFDIR/rc.d@:>@ ++ --with-sysconfigdir sysconfig directory @<:@SYSCONFDIR/sysconfig@:>@ ++ --with-logdir log directory @<:@LOCALSTATEDIR/log/pcp@:>@ ++ --with-rundir run directory @<:@LOCALSTATEDIR/run/pcp@:>@ ++ --with-tmpdir tmp directory @<:@LOCALSTATEDIR/tmp@:>@ ++ --with-docdir docs directory @<:@DOCDIR/pcp-VERSION@:>@ ++ --with-demosdir run directory @<:@DATADIR/pcp/demos@:>@ ++ ++Some influential environment variables: ++ PKG_CONFIG path to pkg-config utility ++ PKG_CONFIG_PATH ++ directories to add to pkg-config's search path ++ PKG_CONFIG_LIBDIR ++ path overriding pkg-config's built-in search path ++ CC C compiler command ++ CFLAGS C compiler flags ++ LDFLAGS linker flags, e.g. -L if you have libraries in a ++ nonstandard directory ++ LIBS libraries to pass to the linker, e.g. -l ++ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if ++ you have headers in a nonstandard directory ++ CXX C++ compiler command ++ CXXFLAGS C++ compiler flags ++ YACC The `Yet Another Compiler Compiler' implementation to use. ++ Defaults to the first program found out of: `bison -y', `byacc', ++ `yacc'. ++ YFLAGS The list of arguments that will be passed by default to @S|@YACC. ++ This script will default YFLAGS to the empty string to avoid a ++ default value of `-d' given by some make applications. ++ gperftools_CFLAGS ++ C compiler flags for gperftools, overriding pkg-config ++ gperftools_LIBS ++ linker flags for gperftools, overriding pkg-config ++ avahi_CFLAGS ++ C compiler flags for avahi, overriding pkg-config ++ avahi_LIBS linker flags for avahi, overriding pkg-config ++ SYSTEMD_TMPFILESDIR ++ value of tmpfilesdir for systemd, overriding pkg-config ++ SYSTEMD_SYSTEMUNITDIR ++ value of systemdsystemunitdir for systemd, overriding pkg-config ++ libbpf_CFLAGS ++ C compiler flags for libbpf, overriding pkg-config ++ libbpf_LIBS linker flags for libbpf, overriding pkg-config ++ libelf_CFLAGS ++ C compiler flags for libelf, overriding pkg-config ++ libelf_LIBS linker flags for libelf, overriding pkg-config ++ CPP C preprocessor ++ openssl_CFLAGS ++ C compiler flags for openssl, overriding pkg-config ++ openssl_LIBS ++ linker flags for openssl, overriding pkg-config ++ libuv_CFLAGS ++ C compiler flags for libuv, overriding pkg-config ++ libuv_LIBS linker flags for libuv, overriding pkg-config ++ ncurses_CFLAGS ++ C compiler flags for ncurses, overriding pkg-config ++ ncurses_LIBS ++ linker flags for ncurses, overriding pkg-config ++ ncursesw_CFLAGS ++ C compiler flags for ncursesw, overriding pkg-config ++ ncursesw_LIBS ++ linker flags for ncursesw, overriding pkg-config ++ DEVMAPPER_CFLAGS ++ C compiler flags for DEVMAPPER, overriding pkg-config ++ DEVMAPPER_LIBS ++ linker flags for DEVMAPPER, overriding pkg-config ++ SYSTEMD_CFLAGS ++ C compiler flags for SYSTEMD, overriding pkg-config ++ SYSTEMD_LIBS ++ linker flags for SYSTEMD, overriding pkg-config ++ XMKMF Path to xmkmf, Makefile generator for X Window System ++ lzma_CFLAGS C compiler flags for lzma, overriding pkg-config ++ lzma_LIBS linker flags for lzma, overriding pkg-config ++ zlib_CFLAGS C compiler flags for zlib, overriding pkg-config ++ zlib_LIBS linker flags for zlib, overriding pkg-config ++ cmocka_CFLAGS ++ C compiler flags for cmocka, overriding pkg-config ++ cmocka_LIBS linker flags for cmocka, overriding pkg-config ++ ++Use these variables to override the choices made by `configure' or to help ++it to find libraries and programs with nonstandard names/locations. ++ ++Report bugs to the package provider. ++_ACEOF ++ac_status=$? ++fi ++ ++if test "$ac_init_help" = "recursive"; then ++ # If there are subdirs, report their specific --help. ++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue ++ test -d "$ac_dir" || ++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || ++ continue ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ cd "$ac_dir" || { ac_status=$?; continue; } ++ # Check for configure.gnu first; this name is used for a wrapper for ++ # Metaconfig's "Configure" on case-insensitive file systems. ++ if test -f "$ac_srcdir/configure.gnu"; then ++ echo && ++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive ++ elif test -f "$ac_srcdir/configure"; then ++ echo && ++ $SHELL "$ac_srcdir/configure" --help=recursive ++ else ++ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ++ fi || ac_status=$? ++ cd "$ac_pwd" || { ac_status=$?; break; } ++ done ++fi ++ ++test -n "$ac_init_help" && exit $ac_status ++if $ac_init_version; then ++ cat <<\_ACEOF ++configure ++generated by GNU Autoconf 2.71 ++ ++Copyright (C) 2021 Free Software Foundation, Inc. ++This configure script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it. ++_ACEOF ++ exit ++fi ++ ++## ------------------------ ## ++## Autoconf initialization. ## ++## ------------------------ ## ++ ++@%:@ ac_fn_c_try_compile LINENO ++@%:@ -------------------------- ++@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest.beam ++ if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext ++then : ++ ac_retval=0 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_compile ++ ++@%:@ ac_fn_c_try_link LINENO ++@%:@ ----------------------- ++@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_link () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ test -x conftest$ac_exeext ++ } ++then : ++ ac_retval=0 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ++ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ++ # interfere with the next link command; also delete a directory that is ++ # left behind by Apple's compiler. We do this before executing the actions. ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_link ++ ++@%:@ ac_fn_cxx_try_compile LINENO ++@%:@ ---------------------------- ++@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_cxx_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest.beam ++ if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext ++then : ++ ac_retval=0 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_cxx_try_compile ++ ++@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ++@%:@ ------------------------------------------------------- ++@%:@ Tests whether HEADER exists and can be compiled using the include files in ++@%:@ INCLUDES, setting the cache variable VAR accordingly. ++ac_fn_c_check_header_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++printf %s "checking for $2... " >&6; } ++if eval test \${$3+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++@%:@include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ eval "$3=yes" ++else $as_nop ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++printf "%s\n" "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_header_compile ++ ++@%:@ ac_fn_c_try_cpp LINENO ++@%:@ ---------------------- ++@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. ++ac_fn_c_try_cpp () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } > conftest.i && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } ++then : ++ ac_retval=0 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_cpp ++ ++@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++@%:@ ------------------------------------------- ++@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache ++@%:@ variable VAR accordingly. ++ac_fn_c_check_type () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++printf %s "checking for $2... " >&6; } ++if eval test \${$3+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main (void) ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main (void) ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++else $as_nop ++ eval "$3=yes" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++printf "%s\n" "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_type ++ ++@%:@ ac_fn_c_try_run LINENO ++@%:@ ---------------------- ++@%:@ Try to run conftest.@S|@ac_ext, and return whether this succeeded. Assumes that ++@%:@ executables *can* be run. ++ac_fn_c_try_run () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; } ++then : ++ ac_retval=0 ++else $as_nop ++ printf "%s\n" "$as_me: program exited with status $ac_status" >&5 ++ printf "%s\n" "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=$ac_status ++fi ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} @%:@ ac_fn_c_try_run ++ ++@%:@ ac_fn_c_check_func LINENO FUNC VAR ++@%:@ ---------------------------------- ++@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly ++ac_fn_c_check_func () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++printf %s "checking for $2... " >&6; } ++if eval test \${$3+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Define $2 to an innocuous variant, in case declares $2. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $2 innocuous_$2 ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $2 (); below. */ ++ ++#include ++#undef $2 ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char $2 (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$2 || defined __stub___$2 ++choke me ++#endif ++ ++int ++main (void) ++{ ++return $2 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ eval "$3=yes" ++else $as_nop ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++printf "%s\n" "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} @%:@ ac_fn_c_check_func ++ac_configure_args_raw= ++for ac_arg ++do ++ case $ac_arg in ++ *\'*) ++ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append ac_configure_args_raw " '$ac_arg'" ++done ++ ++case $ac_configure_args_raw in ++ *$as_nl*) ++ ac_safe_unquote= ;; ++ *) ++ ac_unsafe_z='|&;<>()$`\\"*?@<:@ '' ' # This string ends in space, tab. ++ ac_unsafe_a="$ac_unsafe_z#~" ++ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" ++ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; ++esac ++ ++cat >config.log <<_ACEOF ++This file contains any messages produced by compilers while ++running configure, to aid debugging if configure makes a mistake. ++ ++It was created by $as_me, which was ++generated by GNU Autoconf 2.71. Invocation command line was ++ ++ $ $0$ac_configure_args_raw ++ ++_ACEOF ++exec 5>>config.log ++{ ++cat <<_ASUNAME ++## --------- ## ++## Platform. ## ++## --------- ## ++ ++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ++uname -m = `(uname -m) 2>/dev/null || echo unknown` ++uname -r = `(uname -r) 2>/dev/null || echo unknown` ++uname -s = `(uname -s) 2>/dev/null || echo unknown` ++uname -v = `(uname -v) 2>/dev/null || echo unknown` ++ ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ++ ++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ++ ++_ASUNAME ++ ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ printf "%s\n" "PATH: $as_dir" ++ done ++IFS=$as_save_IFS ++ ++} >&5 ++ ++cat >&5 <<_ACEOF ++ ++ ++## ----------- ## ++## Core tests. ## ++## ----------- ## ++ ++_ACEOF ++ ++ ++# Keep a trace of the command line. ++# Strip out --no-create and --no-recursion so they do not pile up. ++# Strip out --silent because we don't want to record it for future runs. ++# Also quote any args containing shell meta-characters. ++# Make two passes to allow for proper duplicate-argument suppression. ++ac_configure_args= ++ac_configure_args0= ++ac_configure_args1= ++ac_must_keep_next=false ++for ac_pass in 1 2 ++do ++ for ac_arg ++ do ++ case $ac_arg in ++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ continue ;; ++ *\'*) ++ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ case $ac_pass in ++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ++ 2) ++ as_fn_append ac_configure_args1 " '$ac_arg'" ++ if test $ac_must_keep_next = true; then ++ ac_must_keep_next=false # Got value, back to normal. ++ else ++ case $ac_arg in ++ *=* | --config-cache | -C | -disable-* | --disable-* \ ++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ++ | -with-* | --with-* | -without-* | --without-* | --x) ++ case "$ac_configure_args0 " in ++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ++ esac ++ ;; ++ -* ) ac_must_keep_next=true ;; ++ esac ++ fi ++ as_fn_append ac_configure_args " '$ac_arg'" ++ ;; ++ esac ++ done ++done ++{ ac_configure_args0=; unset ac_configure_args0;} ++{ ac_configure_args1=; unset ac_configure_args1;} ++ ++# When interrupted or exit'd, cleanup temporary files, and complete ++# config.log. We remove comments because anyway the quotes in there ++# would cause problems or look ugly. ++# WARNING: Use '\'' to represent an apostrophe within the trap. ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ++trap 'exit_status=$? ++ # Sanitize IFS. ++ IFS=" "" $as_nl" ++ # Save into config.log some information that might help in debugging. ++ { ++ echo ++ ++ printf "%s\n" "## ---------------- ## ++## Cache variables. ## ++## ---------------- ##" ++ echo ++ # The following way of writing the cache mishandles newlines in values, ++( ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ (set) 2>&1 | ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ sed -n \ ++ "s/'\''/'\''\\\\'\'''\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ++ ;; #( ++ *) ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) ++ echo ++ ++ printf "%s\n" "## ----------------- ## ++## Output variables. ## ++## ----------------- ##" ++ echo ++ for ac_var in $ac_subst_vars ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ printf "%s\n" "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ ++ if test -n "$ac_subst_files"; then ++ printf "%s\n" "## ------------------- ## ++## File substitutions. ## ++## ------------------- ##" ++ echo ++ for ac_var in $ac_subst_files ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ printf "%s\n" "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ fi ++ ++ if test -s confdefs.h; then ++ printf "%s\n" "## ----------- ## ++## confdefs.h. ## ++## ----------- ##" ++ echo ++ cat confdefs.h ++ echo ++ fi ++ test "$ac_signal" != 0 && ++ printf "%s\n" "$as_me: caught signal $ac_signal" ++ printf "%s\n" "$as_me: exit $exit_status" ++ } >&5 ++ rm -f core *.core core.conftest.* && ++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ++ exit $exit_status ++' 0 ++for ac_signal in 1 2 13 15; do ++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal ++done ++ac_signal=0 ++ ++# confdefs.h avoids OS command line length limits that DEFS can exceed. ++rm -f -r conftest* confdefs.h ++ ++printf "%s\n" "/* confdefs.h */" > confdefs.h ++ ++# Predefined preprocessor variables. ++ ++printf "%s\n" "@%:@define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h ++ ++printf "%s\n" "@%:@define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h ++ ++printf "%s\n" "@%:@define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h ++ ++printf "%s\n" "@%:@define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h ++ ++printf "%s\n" "@%:@define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h ++ ++printf "%s\n" "@%:@define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h ++ ++ ++# Let the site file select an alternate cache file if it wants to. ++# Prefer an explicitly selected file to automatically selected ones. ++if test -n "$CONFIG_SITE"; then ++ ac_site_files="$CONFIG_SITE" ++elif test "x$prefix" != xNONE; then ++ ac_site_files="$prefix/share/config.site $prefix/etc/config.site" ++else ++ ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" ++fi ++ ++for ac_site_file in $ac_site_files ++do ++ case $ac_site_file in @%:@( ++ */*) : ++ ;; @%:@( ++ *) : ++ ac_site_file=./$ac_site_file ;; ++esac ++ if test -f "$ac_site_file" && test -r "$ac_site_file"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ++printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} ++ sed 's/^/| /' "$ac_site_file" >&5 ++ . "$ac_site_file" \ ++ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "failed to load site script $ac_site_file ++See \`config.log' for more details" "$LINENO" 5; } ++ fi ++done ++ ++if test -r "$cache_file"; then ++ # Some versions of bash will fail to source /dev/null (special files ++ # actually), so we avoid doing that. DJGPP emulates it as a regular file. ++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ++printf "%s\n" "$as_me: loading cache $cache_file" >&6;} ++ case $cache_file in ++ [\\/]* | ?:[\\/]* ) . "$cache_file";; ++ *) . "./$cache_file";; ++ esac ++ fi ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ++printf "%s\n" "$as_me: creating cache $cache_file" >&6;} ++ >$cache_file ++fi ++ ++# Test code for whether the C compiler supports C89 (global declarations) ++ac_c_conftest_c89_globals=' ++/* Does the compiler advertise C89 conformance? ++ Do not test the value of __STDC__, because some compilers set it to 0 ++ while being otherwise adequately conformant. */ ++#if !defined __STDC__ ++# error "Compiler does not advertise C89 conformance" ++#endif ++ ++#include ++#include ++struct stat; ++/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ ++struct buf { int x; }; ++struct buf * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not \xHH hex character constants. ++ These do not provoke an error unfortunately, instead are silently treated ++ as an "x". The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously \x00 != x always comes out true, for an ++ array size at least. It is necessary to write \x00 == 0 to get something ++ that is true only with -std. */ ++int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) '\''x'\'' ++int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), ++ int, int);' ++ ++# Test code for whether the C compiler supports C89 (body of main). ++ac_c_conftest_c89_main=' ++ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); ++' ++ ++# Test code for whether the C compiler supports C99 (global declarations) ++ac_c_conftest_c99_globals=' ++// Does the compiler advertise C99 conformance? ++#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L ++# error "Compiler does not advertise C99 conformance" ++#endif ++ ++#include ++extern int puts (const char *); ++extern int printf (const char *, ...); ++extern int dprintf (int, const char *, ...); ++extern void *malloc (size_t); ++ ++// Check varargs macros. These examples are taken from C99 6.10.3.5. ++// dprintf is used instead of fprintf to avoid needing to declare ++// FILE and stderr. ++#define debug(...) dprintf (2, __VA_ARGS__) ++#define showlist(...) puts (#__VA_ARGS__) ++#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) ++static void ++test_varargs_macros (void) ++{ ++ int x = 1234; ++ int y = 5678; ++ debug ("Flag"); ++ debug ("X = %d\n", x); ++ showlist (The first, second, and third items.); ++ report (x>y, "x is %d but y is %d", x, y); ++} ++ ++// Check long long types. ++#define BIG64 18446744073709551615ull ++#define BIG32 4294967295ul ++#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) ++#if !BIG_OK ++ #error "your preprocessor is broken" ++#endif ++#if BIG_OK ++#else ++ #error "your preprocessor is broken" ++#endif ++static long long int bignum = -9223372036854775807LL; ++static unsigned long long int ubignum = BIG64; ++ ++struct incomplete_array ++{ ++ int datasize; ++ double data[]; ++}; ++ ++struct named_init { ++ int number; ++ const wchar_t *name; ++ double average; ++}; ++ ++typedef const char *ccp; ++ ++static inline int ++test_restrict (ccp restrict text) ++{ ++ // See if C++-style comments work. ++ // Iterate through items via the restricted pointer. ++ // Also check for declarations in for loops. ++ for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) ++ continue; ++ return 0; ++} ++ ++// Check varargs and va_copy. ++static bool ++test_varargs (const char *format, ...) ++{ ++ va_list args; ++ va_start (args, format); ++ va_list args_copy; ++ va_copy (args_copy, args); ++ ++ const char *str = ""; ++ int number = 0; ++ float fnumber = 0; ++ ++ while (*format) ++ { ++ switch (*format++) ++ { ++ case '\''s'\'': // string ++ str = va_arg (args_copy, const char *); ++ break; ++ case '\''d'\'': // int ++ number = va_arg (args_copy, int); ++ break; ++ case '\''f'\'': // float ++ fnumber = va_arg (args_copy, double); ++ break; ++ default: ++ break; ++ } ++ } ++ va_end (args_copy); ++ va_end (args); ++ ++ return *str && number && fnumber; ++} ++' ++ ++# Test code for whether the C compiler supports C99 (body of main). ++ac_c_conftest_c99_main=' ++ // Check bool. ++ _Bool success = false; ++ success |= (argc != 0); ++ ++ // Check restrict. ++ if (test_restrict ("String literal") == 0) ++ success = true; ++ char *restrict newvar = "Another string"; ++ ++ // Check varargs. ++ success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); ++ test_varargs_macros (); ++ ++ // Check flexible array members. ++ struct incomplete_array *ia = ++ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ++ ia->datasize = 10; ++ for (int i = 0; i < ia->datasize; ++i) ++ ia->data[i] = i * 1.234; ++ ++ // Check named initializers. ++ struct named_init ni = { ++ .number = 34, ++ .name = L"Test wide string", ++ .average = 543.34343, ++ }; ++ ++ ni.number = 58; ++ ++ int dynamic_array[ni.number]; ++ dynamic_array[0] = argv[0][0]; ++ dynamic_array[ni.number - 1] = 543; ++ ++ // work around unused variable warnings ++ ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' ++ || dynamic_array[ni.number - 1] != 543); ++' ++ ++# Test code for whether the C compiler supports C11 (global declarations) ++ac_c_conftest_c11_globals=' ++// Does the compiler advertise C11 conformance? ++#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L ++# error "Compiler does not advertise C11 conformance" ++#endif ++ ++// Check _Alignas. ++char _Alignas (double) aligned_as_double; ++char _Alignas (0) no_special_alignment; ++extern char aligned_as_int; ++char _Alignas (0) _Alignas (int) aligned_as_int; ++ ++// Check _Alignof. ++enum ++{ ++ int_alignment = _Alignof (int), ++ int_array_alignment = _Alignof (int[100]), ++ char_alignment = _Alignof (char) ++}; ++_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); ++ ++// Check _Noreturn. ++int _Noreturn does_not_return (void) { for (;;) continue; } ++ ++// Check _Static_assert. ++struct test_static_assert ++{ ++ int x; ++ _Static_assert (sizeof (int) <= sizeof (long int), ++ "_Static_assert does not work in struct"); ++ long int y; ++}; ++ ++// Check UTF-8 literals. ++#define u8 syntax error! ++char const utf8_literal[] = u8"happens to be ASCII" "another string"; ++ ++// Check duplicate typedefs. ++typedef long *long_ptr; ++typedef long int *long_ptr; ++typedef long_ptr long_ptr; ++ ++// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. ++struct anonymous ++{ ++ union { ++ struct { int i; int j; }; ++ struct { int k; long int l; } w; ++ }; ++ int m; ++} v1; ++' ++ ++# Test code for whether the C compiler supports C11 (body of main). ++ac_c_conftest_c11_main=' ++ _Static_assert ((offsetof (struct anonymous, i) ++ == offsetof (struct anonymous, w.k)), ++ "Anonymous union alignment botch"); ++ v1.i = 2; ++ v1.w.k = 5; ++ ok |= v1.i != 5; ++' ++ ++# Test code for whether the C compiler supports C11 (complete). ++ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} ++${ac_c_conftest_c99_globals} ++${ac_c_conftest_c11_globals} ++ ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_c_conftest_c89_main} ++ ${ac_c_conftest_c99_main} ++ ${ac_c_conftest_c11_main} ++ return ok; ++} ++" ++ ++# Test code for whether the C compiler supports C99 (complete). ++ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} ++${ac_c_conftest_c99_globals} ++ ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_c_conftest_c89_main} ++ ${ac_c_conftest_c99_main} ++ return ok; ++} ++" ++ ++# Test code for whether the C compiler supports C89 (complete). ++ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} ++ ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_c_conftest_c89_main} ++ return ok; ++} ++" ++ ++# Test code for whether the C++ compiler supports C++98 (global declarations) ++ac_cxx_conftest_cxx98_globals=' ++// Does the compiler advertise C++98 conformance? ++#if !defined __cplusplus || __cplusplus < 199711L ++# error "Compiler does not advertise C++98 conformance" ++#endif ++ ++// These inclusions are to reject old compilers that ++// lack the unsuffixed header files. ++#include ++#include ++ ++// and are *not* freestanding headers in C++98. ++extern void assert (int); ++namespace std { ++ extern int strcmp (const char *, const char *); ++} ++ ++// Namespaces, exceptions, and templates were all added after "C++ 2.0". ++using std::exception; ++using std::strcmp; ++ ++namespace { ++ ++void test_exception_syntax() ++{ ++ try { ++ throw "test"; ++ } catch (const char *s) { ++ // Extra parentheses suppress a warning when building autoconf itself, ++ // due to lint rules shared with more typical C programs. ++ assert (!(strcmp) (s, "test")); ++ } ++} ++ ++template struct test_template ++{ ++ T const val; ++ explicit test_template(T t) : val(t) {} ++ template T add(U u) { return static_cast(u) + val; } ++}; ++ ++} // anonymous namespace ++' ++ ++# Test code for whether the C++ compiler supports C++98 (body of main) ++ac_cxx_conftest_cxx98_main=' ++ assert (argc); ++ assert (! argv[0]); ++{ ++ test_exception_syntax (); ++ test_template tt (2.0); ++ assert (tt.add (4) == 6.0); ++ assert (true && !false); ++} ++' ++ ++# Test code for whether the C++ compiler supports C++11 (global declarations) ++ac_cxx_conftest_cxx11_globals=' ++// Does the compiler advertise C++ 2011 conformance? ++#if !defined __cplusplus || __cplusplus < 201103L ++# error "Compiler does not advertise C++11 conformance" ++#endif ++ ++namespace cxx11test ++{ ++ constexpr int get_val() { return 20; } ++ ++ struct testinit ++ { ++ int i; ++ double d; ++ }; ++ ++ class delegate ++ { ++ public: ++ delegate(int n) : n(n) {} ++ delegate(): delegate(2354) {} ++ ++ virtual int getval() { return this->n; }; ++ protected: ++ int n; ++ }; ++ ++ class overridden : public delegate ++ { ++ public: ++ overridden(int n): delegate(n) {} ++ virtual int getval() override final { return this->n * 2; } ++ }; ++ ++ class nocopy ++ { ++ public: ++ nocopy(int i): i(i) {} ++ nocopy() = default; ++ nocopy(const nocopy&) = delete; ++ nocopy & operator=(const nocopy&) = delete; ++ private: ++ int i; ++ }; ++ ++ // for testing lambda expressions ++ template Ret eval(Fn f, Ret v) ++ { ++ return f(v); ++ } ++ ++ // for testing variadic templates and trailing return types ++ template auto sum(V first) -> V ++ { ++ return first; ++ } ++ template auto sum(V first, Args... rest) -> V ++ { ++ return first + sum(rest...); ++ } ++} ++' ++ ++# Test code for whether the C++ compiler supports C++11 (body of main) ++ac_cxx_conftest_cxx11_main=' ++{ ++ // Test auto and decltype ++ auto a1 = 6538; ++ auto a2 = 48573953.4; ++ auto a3 = "String literal"; ++ ++ int total = 0; ++ for (auto i = a3; *i; ++i) { total += *i; } ++ ++ decltype(a2) a4 = 34895.034; ++} ++{ ++ // Test constexpr ++ short sa[cxx11test::get_val()] = { 0 }; ++} ++{ ++ // Test initializer lists ++ cxx11test::testinit il = { 4323, 435234.23544 }; ++} ++{ ++ // Test range-based for ++ int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, ++ 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; ++ for (auto &x : array) { x += 23; } ++} ++{ ++ // Test lambda expressions ++ using cxx11test::eval; ++ assert (eval ([](int x) { return x*2; }, 21) == 42); ++ double d = 2.0; ++ assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); ++ assert (d == 5.0); ++ assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); ++ assert (d == 5.0); ++} ++{ ++ // Test use of variadic templates ++ using cxx11test::sum; ++ auto a = sum(1); ++ auto b = sum(1, 2); ++ auto c = sum(1.0, 2.0, 3.0); ++} ++{ ++ // Test constructor delegation ++ cxx11test::delegate d1; ++ cxx11test::delegate d2(); ++ cxx11test::delegate d3(45); ++} ++{ ++ // Test override and final ++ cxx11test::overridden o1(55464); ++} ++{ ++ // Test nullptr ++ char *c = nullptr; ++} ++{ ++ // Test template brackets ++ test_template<::test_template> v(test_template(12)); ++} ++{ ++ // Unicode literals ++ char const *utf8 = u8"UTF-8 string \u2500"; ++ char16_t const *utf16 = u"UTF-8 string \u2500"; ++ char32_t const *utf32 = U"UTF-32 string \u2500"; ++} ++' ++ ++# Test code for whether the C compiler supports C++11 (complete). ++ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} ++${ac_cxx_conftest_cxx11_globals} ++ ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_cxx_conftest_cxx98_main} ++ ${ac_cxx_conftest_cxx11_main} ++ return ok; ++} ++" ++ ++# Test code for whether the C compiler supports C++98 (complete). ++ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_cxx_conftest_cxx98_main} ++ return ok; ++} ++" ++ ++as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" ++as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" ++as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" ++as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" ++as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" ++as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" ++as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" ++as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" ++as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" ++as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" ++as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF" ++ ++# Auxiliary files required by this configure script. ++ac_aux_files="config.guess config.sub" ++ ++# Locations in which to look for auxiliary files. ++ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." ++ ++# Search for a directory containing all of the required auxiliary files, ++# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. ++# If we don't find one directory that contains all the files we need, ++# we report the set of missing files from the *first* directory in ++# $ac_aux_dir_candidates and give up. ++ac_missing_aux_files="" ++ac_first_candidate=: ++printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false ++for as_dir in $ac_aux_dir_candidates ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ as_found=: ++ ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 ++ ac_aux_dir_found=yes ++ ac_install_sh= ++ for ac_aux in $ac_aux_files ++ do ++ # As a special case, if "install-sh" is required, that requirement ++ # can be satisfied by any of "install-sh", "install.sh", or "shtool", ++ # and $ac_install_sh is set appropriately for whichever one is found. ++ if test x"$ac_aux" = x"install-sh" ++ then ++ if test -f "${as_dir}install-sh"; then ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 ++ ac_install_sh="${as_dir}install-sh -c" ++ elif test -f "${as_dir}install.sh"; then ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 ++ ac_install_sh="${as_dir}install.sh -c" ++ elif test -f "${as_dir}shtool"; then ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 ++ ac_install_sh="${as_dir}shtool install -c" ++ else ++ ac_aux_dir_found=no ++ if $ac_first_candidate; then ++ ac_missing_aux_files="${ac_missing_aux_files} install-sh" ++ else ++ break ++ fi ++ fi ++ else ++ if test -f "${as_dir}${ac_aux}"; then ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 ++ else ++ ac_aux_dir_found=no ++ if $ac_first_candidate; then ++ ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" ++ else ++ break ++ fi ++ fi ++ fi ++ done ++ if test "$ac_aux_dir_found" = yes; then ++ ac_aux_dir="$as_dir" ++ break ++ fi ++ ac_first_candidate=false ++ ++ as_found=false ++done ++IFS=$as_save_IFS ++if $as_found ++then : ++ ++else $as_nop ++ as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ++fi ++ ++ ++# These three variables are undocumented and unsupported, ++# and are intended to be withdrawn in a future Autoconf release. ++# They can cause serious problems if a builder's source tree is in a directory ++# whose full name contains unusual characters. ++if test -f "${ac_aux_dir}config.guess"; then ++ ac_@&t@config_guess="$SHELL ${ac_aux_dir}config.guess" ++fi ++if test -f "${ac_aux_dir}config.sub"; then ++ ac_@&t@config_sub="$SHELL ${ac_aux_dir}config.sub" ++fi ++if test -f "$ac_aux_dir/configure"; then ++ ac_@&t@configure="$SHELL ${ac_aux_dir}configure" ++fi ++ ++# Check that the precious variables saved in the cache have kept the same ++# value. ++ac_cache_corrupted=false ++for ac_var in $ac_precious_vars; do ++ eval ac_old_set=\$ac_cv_env_${ac_var}_set ++ eval ac_new_set=\$ac_env_${ac_var}_set ++ eval ac_old_val=\$ac_cv_env_${ac_var}_value ++ eval ac_new_val=\$ac_env_${ac_var}_value ++ case $ac_old_set,$ac_new_set in ++ set,) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,set) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ++printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,);; ++ *) ++ if test "x$ac_old_val" != "x$ac_new_val"; then ++ # differences in whitespace do not lead to failure. ++ ac_old_val_w=`echo x $ac_old_val` ++ ac_new_val_w=`echo x $ac_new_val` ++ if test "$ac_old_val_w" != "$ac_new_val_w"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ++printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ++ ac_cache_corrupted=: ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} ++ eval $ac_var=\$ac_old_val ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ++printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ++printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} ++ fi;; ++ esac ++ # Pass precious variables to config.status. ++ if test "$ac_new_set" = set; then ++ case $ac_new_val in ++ *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *) ac_arg=$ac_var=$ac_new_val ;; ++ esac ++ case " $ac_configure_args " in ++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ++ *) as_fn_append ac_configure_args " '$ac_arg'" ;; ++ esac ++ fi ++done ++if $ac_cache_corrupted; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ++printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} ++ as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' ++ and start over" "$LINENO" 5 ++fi ++## -------------------- ## ++## Main body of script. ## ++## -------------------- ## ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++ ++ ++ ++@%:@ Check whether --with-64bit was given. ++if test ${with_64bit+y} ++then : ++ withval=$with_64bit; use_64bit=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-64bit=$withval" ++fi ++ ++ ++ ++@%:@ Check whether --with-optimization was given. ++if test ${with_optimization+y} ++then : ++ withval=$with_optimization; use_optimization=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-optimization=$withval" ++else $as_nop ++ use_optimizaton=yes ++fi ++ ++ ++ ++@%:@ Check whether --with-gperftools was given. ++if test ${with_gperftools+y} ++then : ++ withval=$with_gperftools; use_gperftools=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-gperftools=$withval" ++else $as_nop ++ use_gperftools=no ++fi ++ ++ ++ ++@%:@ Check whether --with-sanitizer was given. ++if test ${with_sanitizer+y} ++then : ++ withval=$with_sanitizer; use_sanitizer=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-sanitizer=$withval" ++else $as_nop ++ use_sanitizer=no ++fi ++ ++ ++ ++@%:@ Check whether --with-threads was given. ++if test ${with_threads+y} ++then : ++ withval=$with_threads; do_threads=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-threads=$withval" ++else $as_nop ++ do_threads=check ++fi ++ ++ ++ ++@%:@ Check whether --with-secure-sockets was given. ++if test ${with_secure_sockets+y} ++then : ++ withval=$with_secure_sockets; do_secure=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-secure-sockets=$withval" ++else $as_nop ++ do_secure=check ++fi ++ ++ ++ ++@%:@ Check whether --with-static-probes was given. ++if test ${with_static_probes+y} ++then : ++ withval=$with_static_probes; do_probes=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-static-probes=$withval" ++else $as_nop ++ do_probes=check ++fi ++ ++ ++ ++@%:@ Check whether --with-infiniband was given. ++if test ${with_infiniband+y} ++then : ++ withval=$with_infiniband; do_infiniband=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-infiniband=$withval" ++else $as_nop ++ do_infiniband=check ++fi ++ ++ ++ ++@%:@ Check whether --with-user was given. ++if test ${with_user+y} ++then : ++ withval=$with_user; pcp_user=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-user-account=$withval" ++else $as_nop ++ pcp_user=pcp ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-group was given. ++if test ${with_group+y} ++then : ++ withval=$with_group; pcp_group=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-group-account=$withval" ++else $as_nop ++ pcp_group=pcp ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-discovery was given. ++if test ${with_discovery+y} ++then : ++ withval=$with_discovery; do_discovery=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-discovery=$withval" ++else $as_nop ++ do_discovery=check ++fi ++ ++ ++ ++@%:@ Check whether --with-systemd was given. ++if test ${with_systemd+y} ++then : ++ withval=$with_systemd; do_systemd=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-systemd=$withval" ++else $as_nop ++ do_systemd=check ++fi ++ ++ ++ ++@%:@ Check whether --with-qt was given. ++if test ${with_qt+y} ++then : ++ withval=$with_qt; do_qt=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-qt=$withval" ++else $as_nop ++ do_qt=check ++fi ++ ++ ++ ++@%:@ Check whether --with-qt3d was given. ++if test ${with_qt3d+y} ++then : ++ withval=$with_qt3d; do_qt3d=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-qt3d=$withval" ++else $as_nop ++ do_qt3d=check ++fi ++ ++ ++ ++@%:@ Check whether --with-perl was given. ++if test ${with_perl+y} ++then : ++ withval=$with_perl; do_perl=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-perl=$withval" ++else $as_nop ++ do_perl=check ++fi ++ ++ ++ ++@%:@ Check whether --with-python was given. ++if test ${with_python+y} ++then : ++ withval=$with_python; do_python=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-python=$withval" ++else $as_nop ++ do_python=check ++fi ++ ++ ++ ++@%:@ Check whether --with-python3 was given. ++if test ${with_python3+y} ++then : ++ withval=$with_python3; do_python3=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-python3=$withval" ++else $as_nop ++ do_python3=check ++fi ++ ++ ++ ++@%:@ Check whether --with-dstat-symlink was given. ++if test ${with_dstat_symlink+y} ++then : ++ withval=$with_dstat_symlink; do_dstat_symlink=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-dstat-symlink=$withval" ++else $as_nop ++ do_dstat_symlink=check ++fi ++ ++ ++ ++@%:@ Check whether --with-perfevent was given. ++if test ${with_perfevent+y} ++then : ++ withval=$with_perfevent; do_perfevent=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-perfevent=$withval" ++else $as_nop ++ do_perfevent=check ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdastatsd was given. ++if test ${with_pmdastatsd+y} ++then : ++ withval=$with_pmdastatsd; do_pmdastatsd=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdastatsd=$withval" ++else $as_nop ++ do_pmdastatsd=check ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdapodman was given. ++if test ${with_pmdapodman+y} ++then : ++ withval=$with_pmdapodman; do_pmdapodman=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdapodman=$withval" ++else $as_nop ++ do_pmdapodman=check ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdabcc was given. ++if test ${with_pmdabcc+y} ++then : ++ withval=$with_pmdabcc; do_pmdabcc=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabcc=$withval" ++else $as_nop ++ do_pmdabcc=check ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdabpf was given. ++if test ${with_pmdabpf+y} ++then : ++ withval=$with_pmdabpf; do_pmdabpf=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf=$withval" ++else $as_nop ++ do_pmdabpf=check ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdabpf-clang was given. ++if test ${with_pmdabpf_clang+y} ++then : ++ withval=$with_pmdabpf_clang; PMDABPF_CLANG=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-clang=$withval" ++else $as_nop ++ PMDABPF_CLANG='' ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdabpf-llvm-strip was given. ++if test ${with_pmdabpf_llvm_strip+y} ++then : ++ withval=$with_pmdabpf_llvm_strip; PMDABPF_LLVM_STRIP=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-llvm-strip=$withval" ++else $as_nop ++ PMDABPF_LLVM_STRIP='' ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdabpf-bpftool was given. ++if test ${with_pmdabpf_bpftool+y} ++then : ++ withval=$with_pmdabpf_bpftool; PMDABPF_BPFTOOL=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-bpftool=$withval" ++else $as_nop ++ PMDABPF_BPFTOOL='' ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdabpftrace was given. ++if test ${with_pmdabpftrace+y} ++then : ++ withval=$with_pmdabpftrace; do_pmdabpftrace=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpftrace=$withval" ++else $as_nop ++ do_pmdabpftrace=check ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdajson was given. ++if test ${with_pmdajson+y} ++then : ++ withval=$with_pmdajson; do_pmdajson=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdajson=$withval" ++else $as_nop ++ do_pmdajson=check ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdanutcracker was given. ++if test ${with_pmdanutcracker+y} ++then : ++ withval=$with_pmdanutcracker; do_pmdanutcracker=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdanutcracker=$withval" ++else $as_nop ++ do_pmdanutcracker=check ++fi ++ ++ ++ ++@%:@ Check whether --with-pmdasnmp was given. ++if test ${with_pmdasnmp+y} ++then : ++ withval=$with_pmdasnmp; do_pmdasnmp=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdasnmp=$withval" ++else $as_nop ++ do_pmdasnmp=check ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-make was given. ++if test ${with_make+y} ++then : ++ withval=$with_make; MAKE=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-make=$withval" ++else $as_nop ++ MAKE='' ++fi ++ ++ ++ ++@%:@ Check whether --with-tar was given. ++if test ${with_tar+y} ++then : ++ withval=$with_tar; TAR=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-tar=$withval" ++else $as_nop ++ TAR='' ++fi ++ ++ ++ ++@%:@ Check whether --with-zip was given. ++if test ${with_zip+y} ++then : ++ withval=$with_zip; ZIP=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-zip=$withval" ++else $as_nop ++ ZIP='' ++fi ++ ++ ++ ++@%:@ Check whether --with-transparent-decompression was given. ++if test ${with_transparent_decompression+y} ++then : ++ withval=$with_transparent_decompression; do_decompression=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-transparent-decompression=$withval" ++else $as_nop ++ do_decompression=check ++fi ++ ++ ++ ++ ++ ++ ++ ++ # Make sure we can run config.sub. ++$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || ++ as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 ++printf %s "checking build system type... " >&6; } ++if test ${ac_cv_build+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_build_alias=$build_alias ++test "x$ac_build_alias" = x && ++ ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` ++test "x$ac_build_alias" = x && ++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ++ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || ++ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 ++printf "%s\n" "$ac_cv_build" >&6; } ++case $ac_cv_build in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ++esac ++build=$ac_cv_build ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_build ++shift ++build_cpu=$1 ++build_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++build_os=$* ++IFS=$ac_save_IFS ++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 ++printf %s "checking host system type... " >&6; } ++if test ${ac_cv_host+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test "x$host_alias" = x; then ++ ac_cv_host=$ac_cv_build ++else ++ ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || ++ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 ++fi ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 ++printf "%s\n" "$ac_cv_host" >&6; } ++case $ac_cv_host in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ++esac ++host=$ac_cv_host ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_host ++shift ++host_cpu=$1 ++host_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++host_os=$* ++IFS=$ac_save_IFS ++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 ++printf %s "checking target system type... " >&6; } ++if test ${ac_cv_target+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test "x$target_alias" = x; then ++ ac_cv_target=$ac_cv_host ++else ++ ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` || ++ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5 ++fi ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 ++printf "%s\n" "$ac_cv_target" >&6; } ++case $ac_cv_target in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; ++esac ++target=$ac_cv_target ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_target ++shift ++target_cpu=$1 ++target_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++target_os=$* ++IFS=$ac_save_IFS ++case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac ++ ++ ++# The aliases save the names the user supplied, while $host etc. ++# will get canonicalized. ++test -n "$target_alias" && ++ test "$program_prefix$program_suffix$program_transform_name" = \ ++ NONENONEs,x,x, && ++ program_prefix=${target_alias}- ++ ++if test -z "$target" ++then ++ echo ' ++FATAL ERROR: Cannot guess your target, try explicit specification ++ using --target or mailto: pcp@groups.io to ask.' ++ rm -rf conftest conftest.* ++ exit 1 ++else ++ target=`echo $target | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ++ target_os=`echo $target_os | sed 's/solaris2\..*/solaris/'` ++ target_os=`echo $target_os | sed 's/^\([^-][^-]*\)-.*$/\1/' | sed 's/[\.0-9]*//g'` ++ ++ build=`echo $build | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ++ build_os=`echo $build_os | sed 's/solaris2\..*/solaris/'` ++ build_os=`echo $build_os | sed 's/^\([^-][^-]*\)-.*$/\1/'` ++fi ++ ++echo Building on $build for $target ++echo "Build: os=$build_os cpu=$build_cpu" ++echo "Target: os=$target_os cpu=$target_cpu" ++ ++if test "$cross_compiling" = "yes"; then ++ if test -f ./config.$target_os; then ++ . ./config.$target_os ++ else ++ echo ++ echo " ++FATAL ERROR: Cannot perform cross-compilation without a file to source ++ configuration information from (config.$target_os is missing)" ++ rm -rf conftest conftest.* ++ exit 1 ++ fi ++fi ++ ++ ++ ++gcc_debug=true ++target_distro=$target_os ++if test $target_os = linux ++then ++ ++printf "%s\n" "@%:@define IS_LINUX 1" >>confdefs.h ++ ++ test -f /etc/SuSE-release && target_distro=suse ++ target_distro_variant='' ++ if test -f /etc/os-release ++ then ++ grep -q 'ID_LIKE="suse"' /etc/os-release 2>/dev/null && target_distro=suse ++ grep -qi 'opensuse"' /etc/os-release 2>/dev/null && target_distro_variant=opensuse ++ fi ++ test -f /etc/fedora-release && target_distro=fedora ++ test -f /etc/redhat-release && target_distro=redhat ++ test -f /etc/debian_version && target_distro=debian ++ test -f /etc/slackware-version && target_distro=slackware ++ test -f /etc/gentoo-release && target_distro=gentoo ++ test -f /etc/mandriva-release && target_distro=mandriva ++ test -f /etc/arch-release && target_distro=arch ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" ++ pcp_platform_paths='/usr/bin/X11:/usr/local/bin' ++ pcp_ps_all_flags=-efw ++elif test $target_os = darwin ++then ++ ++printf "%s\n" "@%:@define IS_DARWIN 1" >>confdefs.h ++ ++ target_distro=macosx ++ version=`sw_vers -productVersion` ++ CFLAGS="-fPIC -no-cpp-precomp -fno-strict-aliasing" ++ case "$version" ++ in ++ 10.0-5.*) ++ ;; ++ 10.6-9.*|10.10-3.*) ++ target_distro=cocoa ++ CFLAGS="$CFLAGS -arch i386 -arch x86_64" ++ ;; ++ *) ++ target_distro=cocoa ++ CFLAGS="$CFLAGS -arch x86_64" ++ ;; ++ esac ++ export CFLAGS ++ pcp_platform_paths='/usr/local/bin' ++ pcp_ps_all_flags="-axw -o user,pid,ppid,cpu,stime,tty,time,command" ++elif test $target_os = mingw ++then ++ ++printf "%s\n" "@%:@define IS_MINGW 1" >>confdefs.h ++ ++ CFLAGS="-fno-strict-aliasing" ++ pcp_platform_paths='' ++ pcp_ps_all_flags=-efW ++elif test $target_os = solaris ++then ++ ++printf "%s\n" "@%:@define IS_SOLARIS 1" >>confdefs.h ++ ++ export CFLAGS_IF_GCC="-fPIC -fno-strict-aliasing -D_XPG4_2 -D__EXTENSIONS__" ++ export CFLAGS_IF_SUNCC="-fPIC -xalias_level=any -D_XPG4_2 -D__EXTENSIONS__" ++ pcp_platform_paths='/usr/bin/X11:/usr/local/bin:/opt/sfw/bin:/opt/csw/bin' ++ pcp_ps_all_flags=-ef ++elif test $target_os = aix ++then ++ ++printf "%s\n" "@%:@define IS_AIX 1" >>confdefs.h ++ ++ export CFLAGS="-qcpluscmt" ++ pcp_platform_paths='/usr/bin/X11:/usr/local/bin' ++ pcp_ps_all_flags=-ef ++elif test $target_os = freebsd || test $target_os = kfreebsd ++then ++ ++printf "%s\n" "@%:@define IS_FREEBSD 1" >>confdefs.h ++ ++ test -f /etc/debian_version && target_distro=debian ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" ++ if test $target_os = kfreebsd ++ then ++ pcp_ps_all_flags=-efw ++ else ++ pcp_ps_all_flags=auxww ++ fi ++ pcp_platform_paths='/usr/bin/X11' ++ test -d /usr/local/bin && pcp_platform_paths="$pcp_platform_paths:/usr/local/bin" ++ test -d /usr/bsd && pcp_platform_paths="$pcp_platform_paths:/usr/bsd" ++elif test $target_os = gnu ++then ++ ++printf "%s\n" "@%:@define IS_GNU 1" >>confdefs.h ++ ++ test -f /etc/debian_version && target_distro=debian ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" ++ pcp_platform_paths='/usr/bin/X11:/usr/local/bin' ++ pcp_ps_all_flags=-efw ++elif test $target_os = netbsdelf -o $target_os = netbsd ++then ++ target_os=netbsd ++ ++printf "%s\n" "@%:@define IS_NETBSD 1" >>confdefs.h ++ ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE -D_NETBSD_SOURCE" ++ pcp_platform_paths='/usr/pkg/bin' ++ pcp_ps_all_flags=auxww ++elif test $target_os = openbsd ++then ++ target_os=openbsd ++ ++printf "%s\n" "@%:@define IS_OPENBSD 1" >>confdefs.h ++ ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" ++ pcp_platform_paths='/usr/local/bin' ++ pcp_ps_all_flags="-axw -o user,pid,ppid,%cpu,start,tty,time,args" ++ if test "$target_cpu" = "i386" -a "$host_os" = "openbsd6.8" ++ then ++ gcc_debug=false ++ fi ++else ++ echo ++ echo "FATAL ERROR: need platform-specific customization for \"$target_os\"" ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++ ++ ++ ++if test "$use_optimization" = no ++then ++ optimization="-O0" ++ $gcc_debug && optimization="$optimization -g" ++else ++ optimization="-O2" ++ $gcc_debug && optimization="$optimization -g" ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKG_CONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKG_CONFIG=$ac_cv_path_PKG_CONFIG ++if test -n "$PKG_CONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 ++printf "%s\n" "$PKG_CONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKG_CONFIG"; then ++ ac_pt_PKG_CONFIG=$PKG_CONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_pt_PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG ++if test -n "$ac_pt_PKG_CONFIG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 ++printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKG_CONFIG" = x; then ++ PKG_CONFIG="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKG_CONFIG=$ac_pt_PKG_CONFIG ++ fi ++else ++ PKG_CONFIG="$ac_cv_path_PKG_CONFIG" ++fi ++ ++fi ++if test -n "$PKG_CONFIG"; then ++ _pkg_min_version=0.9.0 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 ++printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } ++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ PKG_CONFIG="" ++ fi ++fi ++if test -z "$PKG_CONFIG"; then ++ as_fn_error $? "cannot find a 'pkg-config' command" "$LINENO" 5 ++fi ++ ++cflags_abi= ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++if test -n "$ac_tool_prefix"; then ++ for ac_prog in suncc egcc gcc cc clang ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_CC+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++printf "%s\n" "$CC" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$CC" && break ++ done ++fi ++if test -z "$CC"; then ++ ac_ct_CC=$CC ++ for ac_prog in suncc egcc gcc cc clang ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_ac_ct_CC+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CC="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++printf "%s\n" "$ac_ct_CC" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CC" && break ++done ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++fi ++ ++ ++test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "no acceptable C compiler found in \$PATH ++See \`config.log' for more details" "$LINENO" 5; } ++ ++# Provide some information about the compiler. ++printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion -version; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ fi ++ rm -f conftest.er1 conftest.err ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" ++# Try to create an executable without -o first, disregard a.out. ++# It will help us diagnose broken compilers, and finding out an intuition ++# of exeext. ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 ++printf %s "checking whether the C compiler works... " >&6; } ++ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ++ ++# The possible output files: ++ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ++ ++ac_rmfiles= ++for ac_file in $ac_files ++do ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ * ) ac_rmfiles="$ac_rmfiles $ac_file";; ++ esac ++done ++rm -f $ac_rmfiles ++ ++if { { ac_try="$ac_link_default" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_link_default") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++then : ++ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. ++# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' ++# in a Makefile. We should not override ac_cv_exeext if it was cached, ++# so that the user can short-circuit this test for compilers unknown to ++# Autoconf. ++for ac_file in $ac_files '' ++do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ++ ;; ++ [ab].out ) ++ # We found the default executable, but exeext='' is most ++ # certainly right. ++ break;; ++ *.* ) ++ if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; ++ then :; else ++ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ fi ++ # We set ac_cv_exeext here because the later test for it is not ++ # safe: cross compilers may not add the suffix if given an `-o' ++ # argument, so we may need to know it at that point already. ++ # Even if this section looks crufty: it has the advantage of ++ # actually working. ++ break;; ++ * ) ++ break;; ++ esac ++done ++test "$ac_cv_exeext" = no && ac_cv_exeext= ++ ++else $as_nop ++ ac_file='' ++fi ++if test -z "$ac_file" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++printf "%s\n" "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error 77 "C compiler cannot create executables ++See \`config.log' for more details" "$LINENO" 5; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 ++printf %s "checking for C compiler default output file name... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ++printf "%s\n" "$ac_file" >&6; } ++ac_exeext=$ac_cv_exeext ++ ++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ++ac_clean_files=$ac_clean_files_save ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ++printf %s "checking for suffix of executables... " >&6; } ++if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++then : ++ # If both `conftest.exe' and `conftest' are `present' (well, observable) ++# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ++# work properly (i.e., refer to `conftest.exe'), while it won't with ++# `rm'. ++for ac_file in conftest.exe conftest conftest.*; do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ break;; ++ * ) break;; ++ esac ++done ++else $as_nop ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++rm -f conftest conftest$ac_cv_exeext ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ++printf "%s\n" "$ac_cv_exeext" >&6; } ++ ++rm -f conftest.$ac_ext ++EXEEXT=$ac_cv_exeext ++ac_exeext=$EXEEXT ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main (void) ++{ ++FILE *f = fopen ("conftest.out", "w"); ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files="$ac_clean_files conftest.out" ++# Check that the compiler produces executables we can run. If not, either ++# the compiler is broken, or we cross compile. ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ++printf %s "checking whether we are cross compiling... " >&6; } ++if test "$cross_compiling" != yes; then ++ { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++ if { ac_try='./conftest$ac_cv_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ cross_compiling=no ++ else ++ if test "$cross_compiling" = maybe; then ++ cross_compiling=yes ++ else ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error 77 "cannot run C compiled programs. ++If you meant to cross compile, use \`--host'. ++See \`config.log' for more details" "$LINENO" 5; } ++ fi ++ fi ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ++printf "%s\n" "$cross_compiling" >&6; } ++ ++rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ++ac_clean_files=$ac_clean_files_save ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ++printf %s "checking for suffix of object files... " >&6; } ++if test ${ac_cv_objext+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.o conftest.obj ++if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++then : ++ for ac_file in conftest.o conftest.obj conftest.*; do ++ test -f "$ac_file" || continue; ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; ++ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` ++ break;; ++ esac ++done ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot compute suffix of object files: cannot compile ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++rm -f conftest.$ac_cv_objext conftest.$ac_ext ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ++printf "%s\n" "$ac_cv_objext" >&6; } ++OBJEXT=$ac_cv_objext ++ac_objext=$OBJEXT ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 ++printf %s "checking whether the compiler supports GNU C... " >&6; } ++if test ${ac_cv_c_compiler_gnu+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_compiler_gnu=yes ++else $as_nop ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ac_cv_c_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++if test $ac_compiler_gnu = yes; then ++ GCC=yes ++else ++ GCC= ++fi ++ac_test_CFLAGS=${CFLAGS+y} ++ac_save_CFLAGS=$CFLAGS ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++printf %s "checking whether $CC accepts -g... " >&6; } ++if test ${ac_cv_prog_cc_g+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_save_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ ac_cv_prog_cc_g=no ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_prog_cc_g=yes ++else $as_nop ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++else $as_nop ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_prog_cc_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ac_c_werror_flag=$ac_save_c_werror_flag ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++printf "%s\n" "$ac_cv_prog_cc_g" >&6; } ++if test $ac_test_CFLAGS; then ++ CFLAGS=$ac_save_CFLAGS ++elif test $ac_cv_prog_cc_g = yes; then ++ if test "$GCC" = yes; then ++ CFLAGS="-g -O2" ++ else ++ CFLAGS="-g" ++ fi ++else ++ if test "$GCC" = yes; then ++ CFLAGS="-O2" ++ else ++ CFLAGS= ++ fi ++fi ++ac_prog_cc_stdc=no ++if test x$ac_prog_cc_stdc = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 ++printf %s "checking for $CC option to enable C11 features... " >&6; } ++if test ${ac_cv_prog_cc_c11+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cc_c11=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_c_conftest_c11_program ++_ACEOF ++for ac_arg in '' -std=gnu11 ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_prog_cc_c11=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cc_c11" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++fi ++ ++if test "x$ac_cv_prog_cc_c11" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cc_c11" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 ++printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } ++ CC="$CC $ac_cv_prog_cc_c11" ++fi ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 ++ ac_prog_cc_stdc=c11 ++fi ++fi ++if test x$ac_prog_cc_stdc = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 ++printf %s "checking for $CC option to enable C99 features... " >&6; } ++if test ${ac_cv_prog_cc_c99+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cc_c99=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_c_conftest_c99_program ++_ACEOF ++for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_prog_cc_c99=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cc_c99" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++fi ++ ++if test "x$ac_cv_prog_cc_c99" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cc_c99" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 ++printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } ++ CC="$CC $ac_cv_prog_cc_c99" ++fi ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 ++ ac_prog_cc_stdc=c99 ++fi ++fi ++if test x$ac_prog_cc_stdc = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 ++printf %s "checking for $CC option to enable C89 features... " >&6; } ++if test ${ac_cv_prog_cc_c89+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_c_conftest_c89_program ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++fi ++ ++if test "x$ac_cv_prog_cc_c89" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cc_c89" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } ++ CC="$CC $ac_cv_prog_cc_c89" ++fi ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 ++ ac_prog_cc_stdc=c89 ++fi ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++if test $target_os = solaris ++then ++ # Extract the first word of "$CC", so it can be a program name with args. ++set dummy $CC; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_CCPATH+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $CCPATH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_CCPATH="$CCPATH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_CCPATH="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_CCPATH" && ac_cv_path_CCPATH="$CC" ++ ;; ++esac ++fi ++CCPATH=$ac_cv_path_CCPATH ++if test -n "$CCPATH"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CCPATH" >&5 ++printf "%s\n" "$CCPATH" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ cc=$CCPATH ++ if test "$GCC" = "yes" ++ then ++ CFLAGS="$CFLAGS $CFLAGS_IF_GCC" ++ else ++ CFLAGS="$CFLAGS $CFLAGS_IF_SUNCC" ++ fi ++ if test "$use_64bit" = "no" ++ then ++ : ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64 bit Solaris host" >&5 ++printf %s "checking for 64 bit Solaris host... " >&6; } ++ case `isainfo -k` ++ in ++ amd64|sparcv9) ++ cflags_abi=-m64 ++ CFLAGS="$CFLAGS -m64" ++ LDFLAGS="$LDFLAGS -m64" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ;; ++ *) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ;; ++ esac ++ fi ++else ++ cc=$CC ++fi ++ ++cc_is_gcc=$GCC ++ ++ ++PCFLAGS="$CFLAGS" ++PLDFLAGS=$LDFLAGS ++ ++if echo "$CFLAGS" | grep 'D_FORTIFY_SOURCE' >/dev/null ++then ++ CFLAGS="-O $PCFLAGS" ++fi ++ ++ ++if echo "$CFLAGS" | grep stack-protector >/dev/null ++then ++ : ++else ++ @%:@ Check whether --enable-ssp was given. ++if test ${enable_ssp+y} ++then : ++ enableval=$enable_ssp; ++fi ++ ++ ++if test "x$cc_is_gcc" = xyes -a "x$enable_ssp" != xno -a "x$use_optimization" = xyes ++then : ++ ++ save_CFLAGS="$CFLAGS" ++ CFLAGS="$CFLAGS -O -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++int something (); ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5 ++printf "%s\n" "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;} ++ PCFLAGS="$PCFLAGS -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5 ++printf "%s\n" "$as_me: Compiler does not support -fstack-protector-all et al." >&6;} ++ CFLAGS="$save_CFLAGS" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++fi ++fi ++if ! echo "$CFLAGS" | grep -- -Wshadow >/dev/null ++then ++ if test "x$cc_is_gcc" = xyes ++then : ++ PCFLAGS="$PCFLAGS -Wshadow" ++fi ++fi ++ ++ ++ ++@%:@ Check whether --enable-pie was given. ++if test ${enable_pie+y} ++then : ++ enableval=$enable_pie; ++fi ++ ++if test "x$cc_is_gcc" = xyes -a "x$enable_pie" != xno ++then : ++ ++ PIECFLAGS='-fPIE' ++ PIELDFLAGS='-pie -Wl,-z,relro -Wl,-z,now' ++ save_CFLAGS="$CFLAGS" ++ save_LDFLAGS="$LDFLAGS" ++ CFLAGS="$CFLAGS $PIECFLAGS" ++ LDFLAGS="$LDFLAGS $PIELDFLAGS" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++void main () {} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5 ++printf "%s\n" "$as_me: Compiling with gcc pie et al." >&6;} ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5 ++printf "%s\n" "$as_me: Compiler does not support -pie et al." >&6;} ++ PIECFLAGS="" ++ PIELDFLAGS="" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ CFLAGS="$save_CFLAGS" ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++ ++ ++ ++@%:@ Check whether --enable-visibility was given. ++if test ${enable_visibility+y} ++then : ++ enableval=$enable_visibility; ++fi ++ ++if test "x$cc_is_gcc" = xyes -a "$enable_visibility" != no ++then : ++ ++ INVISIBILITY="-fvisibility=hidden" ++ save_CFLAGS="$CFLAGS" ++ CFLAGS="$CFLAGS -c $INVISIBILITY" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++int visible () { return 0; } ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&5 ++printf "%s\n" "$as_me: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&6;} ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiler does not support -fvisibility." >&5 ++printf "%s\n" "$as_me: Compiler does not support -fvisibility." >&6;} ++ INVISIBILITY="" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ CFLAGS="$save_CFLAGS" ++ ++fi ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --std=c99 support" >&5 ++printf %s "checking for --std=c99 support... " >&6; } ++if test "x$cc_is_gcc" = xyes ++then : ++ ++ C99_CFLAGS="--std=c99" ++ save_CFLAGS="$CFLAGS" ++ CFLAGS="$CFLAGS $C99_CFLAGS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++for (int i=0; i<1; i++) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ C99_CFLAGS="" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ CFLAGS="$save_CFLAGS" ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ac_ext=cpp ++ac_cpp='$CXXCPP $CPPFLAGS' ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++if test -z "$CXX"; then ++ if test -n "$CCC"; then ++ CXX=$CCC ++ else ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in eg++ g++ c++ clang++ ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_CXX+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$CXX"; then ++ ac_cv_prog_CXX="$CXX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CXX=$ac_cv_prog_CXX ++if test -n "$CXX"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ++printf "%s\n" "$CXX" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$CXX" && break ++ done ++fi ++if test -z "$CXX"; then ++ ac_ct_CXX=$CXX ++ for ac_prog in eg++ g++ c++ clang++ ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_ac_ct_CXX+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$ac_ct_CXX"; then ++ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CXX="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX ++if test -n "$ac_ct_CXX"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ++printf "%s\n" "$ac_ct_CXX" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CXX" && break ++done ++ ++ if test "x$ac_ct_CXX" = x; then ++ CXX="g++" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CXX=$ac_ct_CXX ++ fi ++fi ++ ++ fi ++fi ++# Provide some information about the compiler. ++printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ fi ++ rm -f conftest.er1 conftest.err ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 ++printf %s "checking whether the compiler supports GNU C++... " >&6; } ++if test ${ac_cv_cxx_compiler_gnu+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO" ++then : ++ ac_compiler_gnu=yes ++else $as_nop ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ac_cv_cxx_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 ++printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++ ++if test $ac_compiler_gnu = yes; then ++ GXX=yes ++else ++ GXX= ++fi ++ac_test_CXXFLAGS=${CXXFLAGS+y} ++ac_save_CXXFLAGS=$CXXFLAGS ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 ++printf %s "checking whether $CXX accepts -g... " >&6; } ++if test ${ac_cv_prog_cxx_g+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_save_cxx_werror_flag=$ac_cxx_werror_flag ++ ac_cxx_werror_flag=yes ++ ac_cv_prog_cxx_g=no ++ CXXFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO" ++then : ++ ac_cv_prog_cxx_g=yes ++else $as_nop ++ CXXFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO" ++then : ++ ++else $as_nop ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag ++ CXXFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO" ++then : ++ ac_cv_prog_cxx_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 ++printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } ++if test $ac_test_CXXFLAGS; then ++ CXXFLAGS=$ac_save_CXXFLAGS ++elif test $ac_cv_prog_cxx_g = yes; then ++ if test "$GXX" = yes; then ++ CXXFLAGS="-g -O2" ++ else ++ CXXFLAGS="-g" ++ fi ++else ++ if test "$GXX" = yes; then ++ CXXFLAGS="-O2" ++ else ++ CXXFLAGS= ++ fi ++fi ++ac_prog_cxx_stdcxx=no ++if test x$ac_prog_cxx_stdcxx = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 ++printf %s "checking for $CXX option to enable C++11 features... " >&6; } ++if test ${ac_cv_prog_cxx_11+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cxx_11=no ++ac_save_CXX=$CXX ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_cxx_conftest_cxx11_program ++_ACEOF ++for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA ++do ++ CXX="$ac_save_CXX $ac_arg" ++ if ac_fn_cxx_try_compile "$LINENO" ++then : ++ ac_cv_prog_cxx_cxx11=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cxx_cxx11" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CXX=$ac_save_CXX ++fi ++ ++if test "x$ac_cv_prog_cxx_cxx11" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cxx_cxx11" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 ++printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } ++ CXX="$CXX $ac_cv_prog_cxx_cxx11" ++fi ++ ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 ++ ac_prog_cxx_stdcxx=cxx11 ++fi ++fi ++if test x$ac_prog_cxx_stdcxx = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 ++printf %s "checking for $CXX option to enable C++98 features... " >&6; } ++if test ${ac_cv_prog_cxx_98+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cxx_98=no ++ac_save_CXX=$CXX ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_cxx_conftest_cxx98_program ++_ACEOF ++for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA ++do ++ CXX="$ac_save_CXX $ac_arg" ++ if ac_fn_cxx_try_compile "$LINENO" ++then : ++ ac_cv_prog_cxx_cxx98=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cxx_cxx98" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CXX=$ac_save_CXX ++fi ++ ++if test "x$ac_cv_prog_cxx_cxx98" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cxx_cxx98" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 ++printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } ++ CXX="$CXX $ac_cv_prog_cxx_cxx98" ++fi ++ ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 ++ ac_prog_cxx_stdcxx=cxx98 ++fi ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++cxx=$CXX ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working C++ compiler" >&5 ++printf %s "checking for working C++ compiler... " >&6; } ++ac_ext=cpp ++ac_cpp='$CXXCPP $CPPFLAGS' ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++ ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++const char gday[] = "G'day, world\n"; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ cxx="" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++@%:@ Check whether --enable-shared was given. ++if test ${enable_shared+y} ++then : ++ enableval=$enable_shared; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --disable-shared=$withval" ++else $as_nop ++ enable_shared=false ++fi ++ ++ ++ ++ ++test -z "$AWK" && for ac_prog in gawk awk ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_AWK+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $AWK in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_AWK="$AWK" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_AWK="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++AWK=$ac_cv_path_AWK ++if test -n "$AWK"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 ++printf "%s\n" "$AWK" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$AWK" && break ++done ++test -n "$AWK" || AWK="/usr/bin/awk" ++ ++case "$AWK" ++in ++ gawk|*/gawk) ++ awk="$AWK --posix" ++ ;; ++ *) ++ awk=$AWK ++ ;; ++esac ++ ++ ++if test -z "$SED"; then ++ # Extract the first word of "sed", so it can be a program name with args. ++set dummy sed; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_SED+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $SED in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_SED="$SED" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_SED="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_SED" && ac_cv_path_SED="/bin/sed" ++ ;; ++esac ++fi ++SED=$ac_cv_path_SED ++if test -n "$SED"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 ++printf "%s\n" "$SED" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test ! -x "$SED"; then ++ as_fn_error $? "cannot find a valid 'sed' command." "$LINENO" 5 ++fi ++sed=$SED ++ ++ ++if test -z "$ECHO"; then ++ # Extract the first word of "echo", so it can be a program name with args. ++set dummy echo; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ECHO+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ECHO in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ECHO="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="/bin/echo" ++ ;; ++esac ++fi ++ECHO=$ac_cv_path_ECHO ++if test -n "$ECHO"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5 ++printf "%s\n" "$ECHO" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test ! -x "$ECHO"; then ++ as_fn_error $? "cannot find a valid 'echo' command." "$LINENO" 5 ++fi ++echo=$ECHO ++ ++ ++if test -z "$FIND"; then ++ # Extract the first word of "find", so it can be a program name with args. ++set dummy find; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_FIND+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $FIND in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_FIND="$FIND" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_FIND="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="/usr/bin/find" ++ ;; ++esac ++fi ++FIND=$ac_cv_path_FIND ++if test -n "$FIND"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5 ++printf "%s\n" "$FIND" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test ! -x "$FIND"; then ++ as_fn_error $? "cannot find a valid 'find' command." "$LINENO" 5 ++fi ++find=$FIND ++ ++ ++if test -z "$WHICH"; then ++ # Extract the first word of "which", so it can be a program name with args. ++set dummy which; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_WHICH+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $WHICH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_WHICH="$WHICH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_WHICH="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_WHICH" && ac_cv_path_WHICH="/usr/bin/which" ++ ;; ++esac ++fi ++WHICH=$ac_cv_path_WHICH ++if test -n "$WHICH"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WHICH" >&5 ++printf "%s\n" "$WHICH" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++if test ! -x "$WHICH"; then ++ as_fn_error $? "cannot find a valid 'which' command." "$LINENO" 5 ++fi ++which=$WHICH ++ ++ ++if test -z "$AR"; then ++ for ac_prog in gcc-ar ar ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_AR+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $AR in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_AR="$AR" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_AR="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++AR=$ac_cv_path_AR ++if test -n "$AR"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 ++printf "%s\n" "$AR" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$AR" && break ++done ++test -n "$AR" || AR="/usr/bin/ar" ++ ++fi ++if test ! -x "$AR"; then ++ as_fn_error $? "cannot find a valid 'ar' command." "$LINENO" 5 ++fi ++ar=$AR ++ ++ ++for ac_prog in flex lex ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_LEX+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$LEX"; then ++ ac_cv_prog_LEX="$LEX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_LEX="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++LEX=$ac_cv_prog_LEX ++if test -n "$LEX"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 ++printf "%s\n" "$LEX" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$LEX" && break ++done ++test -n "$LEX" || LEX=":" ++ ++ if test "x$LEX" != "x:"; then ++ cat >conftest.l <<_ACEOF ++%{ ++#ifdef __cplusplus ++extern "C" ++#endif ++int yywrap(void); ++%} ++%% ++a { ECHO; } ++b { REJECT; } ++c { yymore (); } ++d { yyless (1); } ++e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ ++#ifdef __cplusplus ++ yyless ((yyinput () != 0)); ++#else ++ yyless ((input () != 0)); ++#endif ++ } ++f { unput (yytext[0]); } ++. { BEGIN INITIAL; } ++%% ++#ifdef YYTEXT_POINTER ++extern char *yytext; ++#endif ++int ++yywrap (void) ++{ ++ return 1; ++} ++int ++main (void) ++{ ++ return ! yylex (); ++} ++_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5 ++printf %s "checking for lex output file root... " >&6; } ++if test ${ac_cv_prog_lex_root+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ac_cv_prog_lex_root=unknown ++{ { ac_try="$LEX conftest.l" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++printf "%s\n" "$ac_try_echo"; } >&5 ++ (eval "$LEX conftest.l") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && ++if test -f lex.yy.c; then ++ ac_cv_prog_lex_root=lex.yy ++elif test -f lexyy.c; then ++ ac_cv_prog_lex_root=lexyy ++fi ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 ++printf "%s\n" "$ac_cv_prog_lex_root" >&6; } ++if test "$ac_cv_prog_lex_root" = unknown ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5 ++printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;} ++ LEX=: LEXLIB= ++fi ++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root ++ ++if test ${LEXLIB+y} ++then : ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5 ++printf %s "checking for lex library... " >&6; } ++if test ${ac_cv_lib_lex+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ ac_save_LIBS="$LIBS" ++ ac_found=false ++ for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do ++ case $ac_cv_lib_lex in @%:@( ++ 'none needed') : ++ ;; @%:@( ++ 'not found') : ++ break ;; @%:@( ++ *) : ++ LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; @%:@( ++ *) : ++ ;; ++esac ++ ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++`cat $LEX_OUTPUT_ROOT.c` ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_found=: ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ if $ac_found; then ++ break ++ fi ++ done ++ LIBS="$ac_save_LIBS" ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 ++printf "%s\n" "$ac_cv_lib_lex" >&6; } ++ if test "$ac_cv_lib_lex" = 'not found' ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5 ++printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;} ++ LEX=: LEXLIB= ++elif test "$ac_cv_lib_lex" = 'none needed' ++then : ++ LEXLIB='' ++else $as_nop ++ LEXLIB=$ac_cv_lib_lex ++fi ++ ac_save_LIBS="$LIBS" ++ LIBS= ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing yywrap" >&5 ++printf %s "checking for library containing yywrap... " >&6; } ++if test ${ac_cv_search_yywrap+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char yywrap (); ++int ++main (void) ++{ ++return yywrap (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' fl l ++do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_search_yywrap=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext ++ if test ${ac_cv_search_yywrap+y} ++then : ++ break ++fi ++done ++if test ${ac_cv_search_yywrap+y} ++then : ++ ++else $as_nop ++ ac_cv_search_yywrap=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yywrap" >&5 ++printf "%s\n" "$ac_cv_search_yywrap" >&6; } ++ac_res=$ac_cv_search_yywrap ++if test "$ac_res" != no ++then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ LEXLIB="$LIBS" ++fi ++ ++ LIBS="$ac_save_LIBS" ++fi ++ ++ ++if test "$LEX" != : ++then : ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 ++printf %s "checking whether yytext is a pointer... " >&6; } ++if test ${ac_cv_prog_lex_yytext_pointer+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ # POSIX says lex can declare yytext either as a pointer or an array; the ++# default is implementation-dependent. Figure out which it is, since ++# not all implementations provide the %pointer and %array declarations. ++ac_cv_prog_lex_yytext_pointer=no ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #define YYTEXT_POINTER 1 ++`cat $LEX_OUTPUT_ROOT.c` ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_prog_lex_yytext_pointer=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 ++printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; } ++if test $ac_cv_prog_lex_yytext_pointer = yes; then ++ ++printf "%s\n" "@%:@define YYTEXT_POINTER 1" >>confdefs.h ++ ++fi ++ ++fi ++rm -f conftest.l $LEX_OUTPUT_ROOT.c ++ ++fi ++lex=`$echo $LEX | awk '{print $1}'` ++lex=`$which "$lex"` ++if test ! -x "$lex"; then ++ as_fn_error $? "cannot find a valid 'lex'/'flex' command." "$LINENO" 5 ++fi ++lex=$LEX ++ ++ ++for ac_prog in 'bison -y' byacc ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_YACC+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$YACC"; then ++ ac_cv_prog_YACC="$YACC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_YACC="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++YACC=$ac_cv_prog_YACC ++if test -n "$YACC"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 ++printf "%s\n" "$YACC" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$YACC" && break ++done ++test -n "$YACC" || YACC="yacc" ++ ++yacc=`$echo $YACC | awk '{print $1}'` ++yacc=`$which "$yacc"` ++if test ! -x "$yacc"; then ++ as_fn_error $? "cannot find a valid 'yacc'/'bison' command." "$LINENO" 5 ++fi ++yacc=`echo $YACC | sed -e '/^bison /{ ++s/$/ / ++s/ -y / / ++s/ $// ++}'` ++ ++ ++for ac_prog in ragel ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_RAGEL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$RAGEL"; then ++ ac_cv_prog_RAGEL="$RAGEL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_RAGEL="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++RAGEL=$ac_cv_prog_RAGEL ++if test -n "$RAGEL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAGEL" >&5 ++printf "%s\n" "$RAGEL" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$RAGEL" && break ++done ++ ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where unix-like sort(1) lives" >&5 ++printf %s "checking where unix-like sort(1) lives... " >&6; } ++if test $target_os = mingw; then ++ for d in /bin /usr/bin /mingw/bin /mingw/usr/bin ++ do ++ if test -x $d/sort; then ++ sort=$d/sort ++ break ++ fi ++ done ++else ++ sort=`$which sort` ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $sort" >&5 ++printf "%s\n" "$sort" >&6; } ++$sort -n &5 ++printf %s "checking if echo uses -n or backslash-c to suppress newlines... " >&6; } ++if ( $echo "testing\c"; $echo 1,2,3 ) | grep c >/dev/null ++then ++ if ( $echo -n testing; $echo 1,2,3 ) | sed s/-n/xn/ | grep xn >/dev/null ++ then ++ echo_n= echo_c= ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither?" >&5 ++printf "%s\n" "neither?" >&6; } ++ else ++ echo_n=-n echo_c= ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: -n" >&5 ++printf "%s\n" " -n" >&6; } ++ fi ++else ++ echo_n= echo_c='\\c' ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: backslash-c" >&5 ++printf "%s\n" "backslash-c" >&6; } ++fi ++ ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ++printf %s "checking for grep that handles long lines and -e... " >&6; } ++if test ${ac_cv_path_GREP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -z "$GREP"; then ++ ac_path_GREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_prog in grep ggrep ++ do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_GREP" || continue ++# Check for GNU ac_path_GREP and select it if it is found. ++ # Check for GNU $ac_path_GREP ++case `"$ac_path_GREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ++*) ++ ac_count=0 ++ printf %s 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ printf "%s\n" 'GREP' >> "conftest.nl" ++ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_GREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_GREP="$ac_path_GREP" ++ ac_path_GREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_GREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_GREP"; then ++ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_GREP=$GREP ++fi ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ++printf "%s\n" "$ac_cv_path_GREP" >&6; } ++ GREP="$ac_cv_path_GREP" ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++printf %s "checking for egrep... " >&6; } ++if test ${ac_cv_path_EGREP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ++ then ac_cv_path_EGREP="$GREP -E" ++ else ++ if test -z "$EGREP"; then ++ ac_path_EGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_prog in egrep ++ do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_EGREP" || continue ++# Check for GNU ac_path_EGREP and select it if it is found. ++ # Check for GNU $ac_path_EGREP ++case `"$ac_path_EGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ++*) ++ ac_count=0 ++ printf %s 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ printf "%s\n" 'EGREP' >> "conftest.nl" ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_EGREP="$ac_path_EGREP" ++ ac_path_EGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_EGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_EGREP"; then ++ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_EGREP=$EGREP ++fi ++ ++ fi ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++printf "%s\n" "$ac_cv_path_EGREP" >&6; } ++ EGREP="$ac_cv_path_EGREP" ++ ++ ++ ++if test "$do_probes" = "check" -o "$do_probes" = "yes" ++then ++ enable_probes=true ++ for ac_prog in dtrace ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_DTRACE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$DTRACE"; then ++ ac_cv_prog_DTRACE="$DTRACE" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_DTRACE="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++DTRACE=$ac_cv_prog_DTRACE ++if test -n "$DTRACE"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5 ++printf "%s\n" "$DTRACE" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$DTRACE" && break ++done ++ ++ if test -z "$DTRACE" ++ then ++ if test "$do_probes" = "yes" ++ then ++ as_fn_error $? "cannot enable static probes - no dtrace executable" "$LINENO" 5 ++ fi ++ enable_probes=false ++ fi ++ ac_header= ac_cache= ++for ac_item in $ac_header_c_list ++do ++ if test $ac_cache; then ++ ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" ++ if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then ++ printf "%s\n" "#define $ac_item 1" >> confdefs.h ++ fi ++ ac_header= ac_cache= ++ elif test $ac_header; then ++ ac_cache=$ac_item ++ else ++ ac_header=$ac_item ++ fi ++done ++ ++ ++ ++ ++ ++ ++ ++ ++if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes ++then : ++ ++printf "%s\n" "@%:@define STDC_HEADERS 1" >>confdefs.h ++ ++fi ++ for ac_header in sys/sdt.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_sdt_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_SDT_H 1" >>confdefs.h ++ ++ if $enable_probes = true ++ then ++ if test $target_os = kfreebsd ++ then ++ enable_probes=false ++ elif test $target_os = freebsd ++ then ++ rm -f conftest.d conftest.h ++ cat <conftest.d ++provider eek { ++probe urk(int); ++}; ++End-of-File ++ if dtrace -s conftest.d -h >/dev/null 2>&1 ++ then ++ if test ! -f conftest.h ++ then ++ enable_probes=false ++ if test "$do_probes" = "yes" ++ then ++ as_fn_error $? "cannot enable static probes - no .h from dtrace -h" "$LINENO" 5 ++ fi ++ fi ++ else ++ enable_probes=false ++ if test "$do_probes" = "yes" ++ then ++ as_fn_error $? "cannot enable static probes - dtrace failed" "$LINENO" 5 ++ fi ++ fi ++ fi ++ fi ++ ++else $as_nop ++ ++ enable_probes=false ++ if test "$do_probes" = "yes" ++ then ++ as_fn_error $? "cannot enable static probes - no SDT header" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++ if test "$enable_probes" = "true" ++ then ++ ++printf "%s\n" "@%:@define HAVE_STATIC_PROBES 1" >>confdefs.h ++ ++ fi ++ ++ ++fi ++ ++if test "x$use_gperftools" != "xno" ++then : ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gperftools" >&5 ++printf %s "checking for gperftools... " >&6; } ++ ++if test -n "$gperftools_CFLAGS"; then ++ pkg_cv_gperftools_CFLAGS="$gperftools_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprofiler, libtcmalloc\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libprofiler, libtcmalloc") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_gperftools_CFLAGS=`$PKG_CONFIG --cflags "libprofiler, libtcmalloc" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$gperftools_LIBS"; then ++ pkg_cv_gperftools_LIBS="$gperftools_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprofiler, libtcmalloc\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libprofiler, libtcmalloc") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_gperftools_LIBS=`$PKG_CONFIG --libs "libprofiler, libtcmalloc" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ gperftools_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libprofiler, libtcmalloc" 2>&1` ++ else ++ gperftools_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libprofiler, libtcmalloc" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$gperftools_PKG_ERRORS" >&5 ++ ++ as_fn_error $? "Package requirements (libprofiler, libtcmalloc) were not met: ++ ++$gperftools_PKG_ERRORS ++ ++Consider adjusting the PKG_CONFIG_PATH environment variable if you ++installed software in a non-standard prefix. ++ ++Alternatively, you may set the environment variables gperftools_CFLAGS ++and gperftools_LIBS to avoid the need to call pkg-config. ++See the pkg-config man page for more details." "$LINENO" 5 ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it ++is in your PATH or set the PKG_CONFIG environment variable to the full ++path to pkg-config. ++ ++Alternatively, you may set the environment variables gperftools_CFLAGS ++and gperftools_LIBS to avoid the need to call pkg-config. ++See the pkg-config man page for more details. ++ ++To get pkg-config, see . ++See \`config.log' for more details" "$LINENO" 5; } ++else ++ gperftools_CFLAGS=$pkg_cv_gperftools_CFLAGS ++ gperftools_LIBS=$pkg_cv_gperftools_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ++fi ++ ++fi ++ ++sanitizer="" ++if test "x$use_sanitizer" != "xno"; then ++ sanitizer="-fsanitize=$use_sanitizer" ++fi ++ ++ ++if test "x$do_discovery" != "xno" ++then : ++ ++ # on Mac OS X, dns_sd.h ++ ++ # on Linux, aloha Avahi ++ enable_avahi=true ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5 ++printf %s "checking for avahi... " >&6; } ++ ++if test -n "$avahi_CFLAGS"; then ++ pkg_cv_avahi_CFLAGS="$avahi_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_avahi_CFLAGS=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$avahi_LIBS"; then ++ pkg_cv_avahi_LIBS="$avahi_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_avahi_LIBS=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ avahi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1` ++ else ++ avahi_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$avahi_PKG_ERRORS" >&5 ++ ++ enable_avahi=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ enable_avahi=false ++else ++ avahi_CFLAGS=$pkg_cv_avahi_CFLAGS ++ avahi_LIBS=$pkg_cv_avahi_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5 ++printf %s "checking for avahi_client_new in -lavahi-client... " >&6; } ++if test ${ac_cv_lib_avahi_client_avahi_client_new+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lavahi-client $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char avahi_client_new (); ++int ++main (void) ++{ ++return avahi_client_new (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_avahi_client_avahi_client_new=yes ++else $as_nop ++ ac_cv_lib_avahi_client_avahi_client_new=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5 ++printf "%s\n" "$ac_cv_lib_avahi_client_avahi_client_new" >&6; } ++if test "x$ac_cv_lib_avahi_client_avahi_client_new" = xyes ++then : ++ lib_for_avahi="-lavahi-common -lavahi-client" ++else $as_nop ++ enable_avahi=false ++fi ++ ++ ++fi ++ for ac_header in avahi-client/publish.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "avahi-client/publish.h" "ac_cv_header_avahi_client_publish_h" "$ac_includes_default" ++if test "x$ac_cv_header_avahi_client_publish_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_AVAHI_CLIENT_PUBLISH_H 1" >>confdefs.h ++ ++else $as_nop ++ enable_avahi=false ++fi ++ ++done ++ for ac_header in avahi-common/alternative.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "avahi-common/alternative.h" "ac_cv_header_avahi_common_alternative_h" "$ac_includes_default" ++if test "x$ac_cv_header_avahi_common_alternative_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_AVAHI_COMMON_ALTERNATIVE_H 1" >>confdefs.h ++ ++else $as_nop ++ enable_avahi=false ++fi ++ ++done ++ ++ if test "$enable_avahi" = "true" ++ then ++ ++ ++ ++printf "%s\n" "@%:@define HAVE_AVAHI 1" >>confdefs.h ++ ++ enable_discovery=true ++ fi ++ ++ if test "$do_discovery" != "check" -a "$enable_discovery" != "true" ++ then ++ as_fn_error $? "cannot enable service discovery - no supported mechanisms" "$LINENO" 5 ++ fi ++ if test "$enable_discovery" = "true" ++ then ++ ++printf "%s\n" "@%:@define HAVE_SERVICE_DISCOVERY 1" >>confdefs.h ++ ++ fi ++ ++fi ++ ++ ++ ++enable_systemd=false ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if systemd should be used" >&5 ++printf %s "checking if systemd should be used... " >&6; } ++if test "x$do_systemd" != "xno" ++then : ++ ++ enable_systemd=true ++ ++ ++if test -n "$SYSTEMD_TMPFILESDIR"; then ++ pkg_cv_SYSTEMD_TMPFILESDIR="$SYSTEMD_TMPFILESDIR" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_TMPFILESDIR=`$PKG_CONFIG --variable="tmpfilesdir" "systemd" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++SYSTEMD_TMPFILESDIR=$pkg_cv_SYSTEMD_TMPFILESDIR ++ ++if test "x$SYSTEMD_TMPFILESDIR" = x"" ++then : ++ pcp_systemdtmpfiles_dir=$pcp_lib32_dir/tmpfiles.d ++else $as_nop ++ pcp_systemdtmpfiles_dir=$SYSTEMD_TMPFILESDIR ++fi ++ ++ ++if test -n "$SYSTEMD_SYSTEMUNITDIR"; then ++ pkg_cv_SYSTEMD_SYSTEMUNITDIR="$SYSTEMD_SYSTEMUNITDIR" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_SYSTEMUNITDIR=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++SYSTEMD_SYSTEMUNITDIR=$pkg_cv_SYSTEMD_SYSTEMUNITDIR ++ ++if test "x$SYSTEMD_SYSTEMUNITDIR" = x"" ++then : ++ enable_systemd=false ++else $as_nop ++ pcp_systemdunit_dir=$SYSTEMD_SYSTEMUNITDIR ++fi ++ ++ if test -z "$pcp_systemdunit_dir" ++ then ++ if test "$do_systemd" = "yes" ++ then ++ as_fn_error $? "cannot enable systemd support - no systemunitdir path" "$LINENO" 5 ++ fi ++ enable_systemd=false ++ fi ++ ++fi ++if $enable_systemd ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++if $enable_systemd ++then ++ for ac_header in systemd/sd-daemon.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default" ++if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYSTEMD_SD_DAEMON_H 1" >>confdefs.h ++ have_sd_daemon=true ++else $as_nop ++ have_sd_daemon=false ++fi ++ ++done ++ $have_sd_daemon || echo WARNING: using systemd, but header systemd/sd-daemon.h not installed ++ ++fi ++ ++sd_service_type="simple" ++if $enable_systemd ++then ++ systemd_version=`systemd-analyze --version | $AWK '/^systemd/ {print $2}'` ++ if test "$systemd_version" -ge 239 ++ then ++ sd_service_type="exec" ++ fi ++fi ++ ++ ++ ++. ./VERSION.pcp ++PACKAGE_VERSION=${PACKAGE_MAJOR}.${PACKAGE_MINOR}.${PACKAGE_REVISION} ++ ++ ++ ++ ++ ++ ++if test -z "$PACKAGE_BUILD_DATE" ; then ++ # use SOURCE_DATE_EPOCH for a deterministic builddate (reproducible builds) ++ PACKAGE_BUILD_DATE=`TZ=UTC date -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d 2>/dev/null` ++ test $? -eq 0 || PACKAGE_BUILD_DATE=`date +%Y-%m-%d` ++fi ++ ++ ++if test -z "$PACKAGE_DISTRIBUTION" ; then ++ PACKAGE_DISTRIBUTION=$target_distro ++fi ++ ++ ++pm_version_current=`awk confcache <<\_ACEOF ++# This file is a shell script that caches the results of configure ++# tests run on this system so they can be shared between configure ++# scripts and configure runs, see configure's option --config-cache. ++# It is not useful on other systems. If it contains results you don't ++# want to keep, you may remove or edit it. ++# ++# config.status only pays attention to the cache file if you give it ++# the --recheck option to rerun configure. ++# ++# `ac_cv_env_foo' variables (set or unset) will be overridden when ++# loading this file, other *unset* `ac_cv_foo' will be assigned the ++# following values. ++ ++_ACEOF ++ ++# The following way of writing the cache mishandles newlines in values, ++# but we know of no workaround that is simple, portable, and efficient. ++# So, we kill variables containing newlines. ++# Ultrix sh set writes to stderr and can't be redirected directly, ++# and sets the high bit in the cache file unless we assign to the vars. ++( ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ ++ (set) 2>&1 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. ++ sed -n \ ++ "s/'/'\\\\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ++ ;; #( ++ *) ++ # `set' quotes correctly as required by POSIX, so do not add quotes. ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) | ++ sed ' ++ /^ac_cv_env_/b end ++ t clear ++ :clear ++ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ ++ t end ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ++ :end' >>confcache ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ++ if test -w "$cache_file"; then ++ if test "x$cache_file" != "x/dev/null"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++printf "%s\n" "$as_me: updating cache $cache_file" >&6;} ++ if test ! -f "$cache_file" || test -h "$cache_file"; then ++ cat confcache >"$cache_file" ++ else ++ case $cache_file in #( ++ */* | ?:*) ++ mv -f confcache "$cache_file"$$ && ++ mv -f "$cache_file"$$ "$cache_file" ;; #( ++ *) ++ mv -f confcache "$cache_file" ;; ++ esac ++ fi ++ fi ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} ++ fi ++fi ++rm -f confcache ++ ++test "x$prefix" = xNONE && prefix=$ac_default_prefix ++# Let make expand exec_prefix. ++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ++ ++DEFS=-DHAVE_CONFIG_H ++ ++ac_libobjs= ++ac_ltlibobjs= ++U= ++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue ++ # 1. Remove the extension, and $U if already installed. ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ++ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ++ # will be set to the directory where LIBOBJS objects are built. ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ++done ++LIB@&t@OBJS=$ac_libobjs ++ ++LTLIBOBJS=$ac_ltlibobjs ++ ++ ++ ++: "${CONFIG_STATUS=./config.status}" ++ac_write_fail=0 ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files $CONFIG_STATUS" ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate the current configuration. ++# Compiler output produced by configure, useful for debugging ++# configure, is in config.log if it exists. ++ ++debug=false ++ac_cs_recheck=false ++ac_cs_silent=false ++ ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++as_nop=: ++if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 ++then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else $as_nop ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++ ++# Reset variables that may have inherited troublesome values from ++# the environment. ++ ++# IFS needs to be set, to space, tab, and newline, in precisely that order. ++# (If _AS_PATH_WALK were called with IFS unset, it would have the ++# side effect of setting IFS to empty, thus disabling word splitting.) ++# Quoting is to prevent editors from complaining about space-tab. ++as_nl=' ++' ++export as_nl ++IFS=" "" $as_nl" ++ ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# Ensure predictable behavior from utilities with locale-dependent output. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# We cannot yet rely on "unset" to work, but we need these variables ++# to be unset--not just set to an empty or harmless value--now, to ++# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct ++# also avoids known problems related to "unset" and subshell syntax ++# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). ++for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH ++do eval test \${$as_var+y} \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++ ++# Ensure that fds 0, 1, and 2 are open. ++if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi ++if (exec 3>&2) ; then :; else exec 2>/dev/null; fi ++ ++# The user is always right. ++if ${PATH_SEPARATOR+false} :; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ test -r "$as_dir$0" && as_myself=$as_dir$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++ ++ ++@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] ++@%:@ ---------------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ printf "%s\n" "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++ ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set @S|@? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null ++then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else $as_nop ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across @S|@(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null ++then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else $as_nop ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ ++# Determine whether it's possible to make 'echo' print without a newline. ++# These variables are no longer used directly by Autoconf, but are AC_SUBSTed ++# for compatibility with existing Makefiles. ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++# For backward compatibility with old third-party macros, we provide ++# the shell variables $as_echo and $as_echo_n. New code should use ++# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. ++as_@&t@echo='printf %s\n' ++as_@&t@echo_n='printf %s' ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++ ++@%:@ as_fn_executable_p FILE ++@%:@ ----------------------- ++@%:@ Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} @%:@ as_fn_executable_p ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to ++# report actual input values of CONFIG_FILES etc. instead of their ++# values after options handling. ++ac_log=" ++This file was extended by $as_me, which was ++generated by GNU Autoconf 2.71. Invocation command line was ++ ++ CONFIG_FILES = $CONFIG_FILES ++ CONFIG_HEADERS = $CONFIG_HEADERS ++ CONFIG_LINKS = $CONFIG_LINKS ++ CONFIG_COMMANDS = $CONFIG_COMMANDS ++ $ $0 $@ ++ ++on `(hostname || uname -n) 2>/dev/null | sed 1q` ++" ++ ++_ACEOF ++ ++case $ac_config_files in *" ++"*) set x $ac_config_files; shift; ac_config_files=$*;; ++esac ++ ++case $ac_config_headers in *" ++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; ++esac ++ ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# Files that config.status was made for. ++config_files="$ac_config_files" ++config_headers="$ac_config_headers" ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ac_cs_usage="\ ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. ++ ++Usage: $0 [OPTION]... [TAG]... ++ ++ -h, --help print this help, then exit ++ -V, --version print version number and configuration settings, then exit ++ --config print configuration, then exit ++ -q, --quiet, --silent ++ do not print progress messages ++ -d, --debug don't remove temporary files ++ --recheck update $as_me by reconfiguring in the same conditions ++ --file=FILE[:TEMPLATE] ++ instantiate the configuration file FILE ++ --header=FILE[:TEMPLATE] ++ instantiate the configuration header FILE ++ ++Configuration files: ++$config_files ++ ++Configuration headers: ++$config_headers ++ ++Report bugs to the package provider." ++ ++_ACEOF ++ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ++ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_cs_config='$ac_cs_config_escaped' ++ac_cs_version="\\ ++config.status ++configured by $0, generated by GNU Autoconf 2.71, ++ with options \\"\$ac_cs_config\\" ++ ++Copyright (C) 2021 Free Software Foundation, Inc. ++This config.status script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it." ++ ++ac_pwd='$ac_pwd' ++srcdir='$srcdir' ++test -n "\$AWK" || AWK=awk ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# The default lists apply if the user does not specify any file. ++ac_need_defaults=: ++while test $# != 0 ++do ++ case $1 in ++ --*=?*) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ++ ac_shift=: ++ ;; ++ --*=) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg= ++ ac_shift=: ++ ;; ++ *) ++ ac_option=$1 ++ ac_optarg=$2 ++ ac_shift=shift ++ ;; ++ esac ++ ++ case $ac_option in ++ # Handling of the options. ++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ++ ac_cs_recheck=: ;; ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ++ printf "%s\n" "$ac_cs_version"; exit ;; ++ --config | --confi | --conf | --con | --co | --c ) ++ printf "%s\n" "$ac_cs_config"; exit ;; ++ --debug | --debu | --deb | --de | --d | -d ) ++ debug=: ;; ++ --file | --fil | --fi | --f ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ '') as_fn_error $? "missing file argument" ;; ++ esac ++ as_fn_append CONFIG_FILES " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --header | --heade | --head | --hea ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --he | --h) ++ # Conflict between --help and --header ++ as_fn_error $? "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; ++ --help | --hel | -h ) ++ printf "%s\n" "$ac_cs_usage"; exit ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil | --si | --s) ++ ac_cs_silent=: ;; ++ ++ # This is an error. ++ -*) as_fn_error $? "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; ++ ++ *) as_fn_append ac_config_targets " $1" ++ ac_need_defaults=false ;; ++ ++ esac ++ shift ++done ++ ++ac_configure_extra_args= ++ ++if $ac_cs_silent; then ++ exec 6>/dev/null ++ ac_configure_extra_args="$ac_configure_extra_args --silent" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++if \$ac_cs_recheck; then ++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ shift ++ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 ++ CONFIG_SHELL='$SHELL' ++ export CONFIG_SHELL ++ exec "\$@" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++exec 5>>config.log ++{ ++ echo ++ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX ++@%:@@%:@ Running $as_me. @%:@@%:@ ++_ASBOX ++ printf "%s\n" "$ac_log" ++} >&5 ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ ++# Handling of arguments. ++for ac_config_target in $ac_config_targets ++do ++ case $ac_config_target in ++ "src/include/pcp/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pcp/config.h" ;; ++ "src/include/pcp/configsz.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pcp/configsz.h" ;; ++ "src/include/pcp/platform_defs.h") CONFIG_FILES="$CONFIG_FILES src/include/pcp/platform_defs.h" ;; ++ "src/include/pcp/platformsz.h") CONFIG_FILES="$CONFIG_FILES src/include/pcp/platformsz.h" ;; ++ ++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ++ esac ++done ++ ++ ++# If the user did not use the arguments to specify the items to instantiate, ++# then the envvar interface is used. Set only those that are not. ++# We use the long form for the default assignment because of an extremely ++# bizarre bug on SunOS 4.1.3. ++if $ac_need_defaults; then ++ test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files ++ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers ++fi ++ ++# Have a temporary directory for convenience. Make it in the build tree ++# simply because there is no reason against having it here, and in addition, ++# creating and moving files from /tmp can sometimes cause problems. ++# Hook for its removal unless debugging. ++# Note that there is a small window in which the directory will not be cleaned: ++# after its creation but before its name has been assigned to `$tmp'. ++$debug || ++{ ++ tmp= ac_tmp= ++ trap 'exit_status=$? ++ : "${ac_tmp:=$tmp}" ++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ++' 0 ++ trap 'as_fn_exit 1' 1 2 13 15 ++} ++# Create a (secure) tmp directory for tmp files. ++ ++{ ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ++ test -d "$tmp" ++} || ++{ ++ tmp=./conf$$-$RANDOM ++ (umask 077 && mkdir "$tmp") ++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ++ac_tmp=$tmp ++ ++# Set up the scripts for CONFIG_FILES section. ++# No need to generate them if there are no CONFIG_FILES. ++# This happens for instance with `./config.status config.h'. ++if test -n "$CONFIG_FILES"; then ++ ++ ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi ++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` ++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ++ ac_cs_awk_cr='\\r' ++else ++ ac_cs_awk_cr=$ac_cr ++fi ++ ++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && ++_ACEOF ++ ++ ++{ ++ echo "cat >conf$$subs.awk <<_ACEOF" && ++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ++ echo "_ACEOF" ++} >conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ++ac_delim='%!_!# ' ++for ac_last_try in false false false false false :; do ++ . ./conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ ++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ++ if test $ac_delim_n = $ac_delim_num; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++rm -f conf$$subs.sh ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && ++_ACEOF ++sed -n ' ++h ++s/^/S["/; s/!.*/"]=/ ++p ++g ++s/^[^!]*!// ++:repl ++t repl ++s/'"$ac_delim"'$// ++t delim ++:nl ++h ++s/\(.\{148\}\)..*/\1/ ++t more1 ++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ++p ++n ++b repl ++:more1 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t nl ++:delim ++h ++s/\(.\{148\}\)..*/\1/ ++t more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"/ ++p ++b ++:more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t delim ++' >$CONFIG_STATUS || ac_write_fail=1 ++rm -f conf$$subs.awk ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACAWK ++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && ++ for (key in S) S_is_set[key] = 1 ++ FS = "" ++ ++} ++{ ++ line = $ 0 ++ nfields = split(line, field, "@") ++ substed = 0 ++ len = length(field[1]) ++ for (i = 2; i < nfields; i++) { ++ key = field[i] ++ keylen = length(key) ++ if (S_is_set[key]) { ++ value = S[key] ++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ++ len += length(value) + length(field[++i]) ++ substed = 1 ++ } else ++ len += 1 + keylen ++ } ++ ++ print line ++} ++ ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ++else ++ cat ++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ ++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 ++_ACEOF ++ ++# VPATH may cause trouble with some makes, so we remove sole $(srcdir), ++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and ++# trailing colons and then remove the whole line if VPATH becomes empty ++# (actually we leave an empty line to preserve line numbers). ++if test "x$srcdir" = x.; then ++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ ++h ++s/// ++s/^/:/ ++s/[ ]*$/:/ ++s/:\$(srcdir):/:/g ++s/:\${srcdir}:/:/g ++s/:@srcdir@:/:/g ++s/^:*// ++s/:*$// ++x ++s/\(=[ ]*\).*/\1/ ++G ++s/\n// ++s/^[^=]*=[ ]*$// ++}' ++fi ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++fi # test -n "$CONFIG_FILES" ++ ++# Set up the scripts for CONFIG_HEADERS section. ++# No need to generate them if there are no CONFIG_HEADERS. ++# This happens for instance with `./config.status Makefile'. ++if test -n "$CONFIG_HEADERS"; then ++cat >"$ac_tmp/defines.awk" <<\_ACAWK || ++BEGIN { ++_ACEOF ++ ++# Transform confdefs.h into an awk script `defines.awk', embedded as ++# here-document in config.status, that substitutes the proper values into ++# config.h.in to produce config.h. ++ ++# Create a delimiter string that does not exist in confdefs.h, to ease ++# handling of long lines. ++ac_delim='%!_!# ' ++for ac_last_try in false false :; do ++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_tt"; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++ ++# For the awk script, D is an array of macro values keyed by name, ++# likewise P contains macro parameters if any. Preserve backslash ++# newline sequences. ++ ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ++sed -n ' ++s/.\{148\}/&'"$ac_delim"'/g ++t rset ++:rset ++s/^[ ]*#[ ]*define[ ][ ]*/ / ++t def ++d ++:def ++s/\\$// ++t bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3"/p ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ++d ++:bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3\\\\\\n"\\/p ++t cont ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ++t cont ++d ++:cont ++n ++s/.\{148\}/&'"$ac_delim"'/g ++t clear ++:clear ++s/\\$// ++t bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/"/p ++d ++:bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ++b cont ++' >$CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ for (key in D) D_is_set[key] = 1 ++ FS = "" ++} ++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ++ line = \$ 0 ++ split(line, arg, " ") ++ if (arg[1] == "#") { ++ defundef = arg[2] ++ mac1 = arg[3] ++ } else { ++ defundef = substr(arg[1], 2) ++ mac1 = arg[2] ++ } ++ split(mac1, mac2, "(") #) ++ macro = mac2[1] ++ prefix = substr(line, 1, index(line, defundef) - 1) ++ if (D_is_set[macro]) { ++ # Preserve the white space surrounding the "#". ++ print prefix "define", macro P[macro] D[macro] ++ next ++ } else { ++ # Replace #undef with comments. This is necessary, for example, ++ # in the case of _POSIX_SOURCE, which is predefined and required ++ # on some systems where configure will not decide to define it. ++ if (defundef == "undef") { ++ print "/*", prefix defundef, macro, "*/" ++ next ++ } ++ } ++} ++{ print } ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 ++fi # test -n "$CONFIG_HEADERS" ++ ++ ++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " ++shift ++for ac_tag ++do ++ case $ac_tag in ++ :[FHLC]) ac_mode=$ac_tag; continue;; ++ esac ++ case $ac_mode$ac_tag in ++ :[FHL]*:*);; ++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; ++ :[FH]-) ac_tag=-:-;; ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ++ esac ++ ac_save_IFS=$IFS ++ IFS=: ++ set x $ac_tag ++ IFS=$ac_save_IFS ++ shift ++ ac_file=$1 ++ shift ++ ++ case $ac_mode in ++ :L) ac_source=$1;; ++ :[FH]) ++ ac_file_inputs= ++ for ac_f ++ do ++ case $ac_f in ++ -) ac_f="$ac_tmp/stdin";; ++ *) # Look for the file first in the build tree, then in the source tree ++ # (if the path is not absolute). The absolute path cannot be DOS-style, ++ # because $ac_f cannot contain `:'. ++ test -f "$ac_f" || ++ case $ac_f in ++ [\\/$]*) false;; ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ++ esac || ++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; ++ esac ++ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ as_fn_append ac_file_inputs " '$ac_f'" ++ done ++ ++ # Let's still pretend it is `configure' which instantiates (i.e., don't ++ # use $as_me), people would be surprised to read: ++ # /* config.h. Generated by config.status. */ ++ configure_input='Generated from '` ++ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ `' by configure.' ++ if test x"$ac_file" != x-; then ++ configure_input="$ac_file. $configure_input" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++printf "%s\n" "$as_me: creating $ac_file" >&6;} ++ fi ++ # Neutralize special characters interpreted by sed in replacement strings. ++ case $configure_input in #( ++ *\&* | *\|* | *\\* ) ++ ac_sed_conf_input=`printf "%s\n" "$configure_input" | ++ sed 's/[\\\\&|]/\\\\&/g'`;; #( ++ *) ac_sed_conf_input=$configure_input;; ++ esac ++ ++ case $ac_tag in ++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; ++ esac ++ ;; ++ esac ++ ++ ac_dir=`$as_dirname -- "$ac_file" || ++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$ac_file" : 'X\(//\)[^/]' \| \ ++ X"$ac_file" : 'X\(//\)$' \| \ ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X"$ac_file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir="$ac_dir"; as_fn_mkdir_p ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ ++ case $ac_mode in ++ :F) ++ # ++ # CONFIG_FILE ++ # ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# If the template does not know about datarootdir, expand it. ++# FIXME: This hack should be removed a few years after 2.60. ++ac_datarootdir_hack=; ac_datarootdir_seen= ++ac_sed_dataroot=' ++/datarootdir/ { ++ p ++ q ++} ++/@datadir@/p ++/@docdir@/p ++/@infodir@/p ++/@localedir@/p ++/@mandir@/p' ++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ++*datarootdir*) ac_datarootdir_seen=yes;; ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ ac_datarootdir_hack=' ++ s&@datadir@&$datadir&g ++ s&@docdir@&$docdir&g ++ s&@infodir@&$infodir&g ++ s&@localedir@&$localedir&g ++ s&@mandir@&$mandir&g ++ s&\\\${datarootdir}&$datarootdir&g' ;; ++esac ++_ACEOF ++ ++# Neutralize VPATH when `$srcdir' = `.'. ++# Shell code in configure.ac might set extrasub. ++# FIXME: do we really want to maintain this feature? ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_sed_extra="$ac_vpsub ++$extrasub ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++:t ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++s|@configure_input@|$ac_sed_conf_input|;t t ++s&@top_builddir@&$ac_top_builddir_sub&;t t ++s&@top_build_prefix@&$ac_top_build_prefix&;t t ++s&@srcdir@&$ac_srcdir&;t t ++s&@abs_srcdir@&$ac_abs_srcdir&;t t ++s&@top_srcdir@&$ac_top_srcdir&;t t ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ++s&@builddir@&$ac_builddir&;t t ++s&@abs_builddir@&$ac_abs_builddir&;t t ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ++$ac_datarootdir_hack ++" ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ ++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ++ "$ac_tmp/out"`; test -z "$ac_out"; } && ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&5 ++printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&2;} ++ ++ rm -f "$ac_tmp/stdin" ++ case $ac_file in ++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; ++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; ++ esac \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ;; ++ :H) ++ # ++ # CONFIG_HEADER ++ # ++ if test x"$ac_file" != x-; then ++ { ++ printf "%s\n" "/* $configure_input */" >&1 \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" ++ } >"$ac_tmp/config.h" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} ++ else ++ rm -f "$ac_file" ++ mv "$ac_tmp/config.h" "$ac_file" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ fi ++ else ++ printf "%s\n" "/* $configure_input */" >&1 \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ ++ || as_fn_error $? "could not create -" "$LINENO" 5 ++ fi ++ ;; ++ ++ ++ esac ++ ++done # for ac_tag ++ ++ ++as_fn_exit 0 ++_ACEOF ++ac_clean_files=$ac_clean_files_save ++ ++test $ac_write_fail = 0 || ++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 ++ ++ ++# configure is writing to config.log, and then calls config.status. ++# config.status does its own redirection, appending to config.log. ++# Unfortunately, on DOS this fails, as config.log is still kept open ++# by configure, so config.status won't be able to write to it; its ++# output is simply discarded. So we exec the FD to /dev/null, ++# effectively closing config.log, so it can be properly (re)opened and ++# appended to by config.status. When coming back to configure, we ++# need to make the FD available again. ++if test "$no_create" != yes; then ++ ac_cs_success=: ++ ac_config_status_args= ++ test "$silent" = yes && ++ ac_config_status_args="$ac_config_status_args --quiet" ++ exec 5>/dev/null ++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ++ exec 5>>config.log ++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which ++ # would make configure fail if this is the last instruction. ++ $ac_cs_success || as_fn_exit 1 ++fi ++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++fi ++ ++ ++for ac_prog in git ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_GIT+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$GIT"; then ++ ac_cv_prog_GIT="$GIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_GIT="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++GIT=$ac_cv_prog_GIT ++if test -n "$GIT"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5 ++printf "%s\n" "$GIT" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$GIT" && break ++done ++ ++ ++ ++for ac_prog in pylint ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_PYLINT+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$PYLINT"; then ++ ac_cv_prog_PYLINT="$PYLINT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_PYLINT="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++PYLINT=$ac_cv_prog_PYLINT ++if test -n "$PYLINT"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYLINT" >&5 ++printf "%s\n" "$PYLINT" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$PYLINT" && break ++done ++test -n "$PYLINT" || PYLINT="/bin/true" ++ ++ ++ ++for ac_prog in python2 python2.7 python ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_PYTHON+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$PYTHON"; then ++ ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_PYTHON="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++PYTHON=$ac_cv_prog_PYTHON ++if test -n "$PYTHON"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 ++printf "%s\n" "$PYTHON" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$PYTHON" && break ++done ++ ++ ++ ++for ac_prog in python3 python3.7 python3.6 python3.4 ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_PYTHON3+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$PYTHON3"; then ++ ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_PYTHON3="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++PYTHON3=$ac_cv_prog_PYTHON3 ++if test -n "$PYTHON3"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 ++printf "%s\n" "$PYTHON3" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$PYTHON3" && break ++done ++ ++ ++ ++ ++ ++enable_python2=false ++if test "x$do_python" != "xno" ++then : ++ ++ enable_python2=true ++ ++ if test "$do_python" = "check" -a -f /etc/os-release ++ then ++ ( ++ . /etc/os-release ++ case "$ID" ++ in ++ debian) ++ if test -z "$VERSION_ID" -o "$VERSION_ID" -ge 11; then ++ touch config.python2_eol ++ fi ++ ;; ++ ubuntu) ++ VERSION_NO=`echo "$VERSION_ID" | sed 's/[^0-9]//'` ++ if test "$VERSION_NO" -ge 2004; then ++ touch config.python2_eol ++ fi ++ ;; ++ fedora) ++ if test -z "$VERSION_ID" -o "$VERSION_ID" -ge 35; then ++ touch config.python2_eol ++ fi ++ ;; ++ esac ++ ) ++ fi ++ ++ if test -f config.python2_eol ++ then ++ rm config.python2_eol ++ echo "WARNING: Python 2 is not supported anymore (EOL since 2020), please use Python 3 instead." ++ enable_python2=false ++ fi ++ ++ if test "$enable_python2" = "true" -a -z "$PYTHON" ++ then ++ enable_python2=false ++ fi ++ ++ if $enable_python2 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Python2 version" >&5 ++printf %s "checking Python2 version... " >&6; } ++ eval `$PYTHON -V 2>&1 | awk '/^Python/ { ver=2; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export PY_MAJOR=%d PY_MINOR=%d PY_POINT=%d\n",$major,$minor,$point }'` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5 ++printf "%s\n" "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; } ++ if test "$PY_MAJOR" -lt 2; then ++ echo WARNING: Python version 2.7 or later does not seem to be installed. ++ enable_python2=false ++ else ++ if test "$PY_MAJOR" -eq 2 -a "$PY_MINOR" -lt 7 ; then ++ echo WARNING: Python version 2.$PY_MINOR is too old. ++ echo Python version 2.7 or later is required for Python builds. ++ enable_python2=false ++ else ++ PY_MAJOR="$PY_MAJOR" ++ PY_MINOR="$PY_MINOR" ++ PY_VERSION="python$PY_MAJOR.$PY_MINOR" ++ PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION}" ++ saved_CFLAGS="$CFLAGS" ++ saved_CPPFLAGS="$CPPFLAGS" ++ CFLAGS="$CFLAGS $PY_INCLUDE_DIRS" ++ CPPFLAGS="$CPPFLAGS $PY_INCLUDE_DIRS" ++ ++ for ac_header in Python.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" ++if test "x$ac_cv_header_Python_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_PYTHON_H 1" >>confdefs.h ++ ++else $as_nop ++ ++ echo WARNING: Python version $PY_MAJOR.$PY_MINOR header file may be missing. ++ echo Proceeding with the Python $PY_MAJOR installation found, regardless. ++fi ++ ++done ++ ++ CPPFLAGS="$saved_CPPFLAGS" ++ CFLAGS="$saved_CFLAGS" ++ ++ fi ++ fi ++ fi ++ ++ if test "$do_python" != "check" -a "$enable_python2" != "true" ++ then ++ as_fn_error $? "cannot enable Python - no supported version found" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++enable_python3=false ++if test "x$do_python3" != "xno" ++then : ++ ++ enable_python3=true ++ if test -z "$PYTHON3" ++ then ++ enable_python3=false ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Python3 version" >&5 ++printf %s "checking Python3 version... " >&6; } ++ eval `$PYTHON3 -V 2>&1 | awk '/^Python/ { ver=2; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export PY_MAJOR=%d PY_MINOR=%d PY_POINT=%d\n",$major,$minor,$point }'` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5 ++printf "%s\n" "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; } ++ if test "$PY_MAJOR" -lt 3; then ++ echo WARNING: Python version 3.3 or later does not seem to be installed. ++ enable_python3=false ++ else ++ if test "$PY_MAJOR" -eq 3 -a "$PY_MINOR" -lt 3 ; then ++ echo WARNING: Python version 3.$PY_MINOR is too old. ++ echo Python version 3.3 or later is required for Python builds. ++ enable_python3=false ++ else ++ PY_MAJOR="$PY_MAJOR" ++ PY_MINOR="$PY_MINOR" ++ PY_VERSION="python$PY_MAJOR.$PY_MINOR" ++ PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION}" ++ saved_CFLAGS="$CFLAGS" ++ saved_CPPFLAGS="$CPPFLAGS" ++ CFLAGS="$CFLAGS $PY_INCLUDE_DIRS" ++ CPPFLAGS="$CPPFLAGS $PY_INCLUDE_DIRS" ++ ++ for ac_header in Python.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" ++if test "x$ac_cv_header_Python_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_PYTHON_H 1" >>confdefs.h ++ ++else $as_nop ++ ++ echo WARNING: Python version $PY_MAJOR.$PY_MINOR header file may be missing. ++ echo Proceeding with the Python $PY_MAJOR installation found, regardless. ++fi ++ ++done ++ ++ CPPFLAGS="$saved_CPPFLAGS" ++ CFLAGS="$saved_CFLAGS" ++ ++ fi ++ fi ++ fi ++ ++ if test "$do_python3" != "check" -a "$enable_python3" != "true" ++ then ++ as_fn_error $? "cannot enable Python3 - no supported version found" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for any python version" >&5 ++printf %s "checking for any python version... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$have_python ++ echo "cross-compile -> \"$ans\"" >&5 ++elif test "$enable_python2" = "true" -o "$enable_python3" = "true" ++then ++ have_python=true ++else ++ have_python=false ++fi ++ ++if $have_python; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++if test "$enable_python3" = "true" ++then ++ pcp_python_prog=$PYTHON3 ++elif test "$enable_python2" = "true" ++then ++ pcp_python_prog=$PYTHON ++else ++ pcp_python_prog="" ++fi ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dstat symlink" >&5 ++printf %s "checking for dstat symlink... " >&6; } ++enable_dstat=false ++if test "$do_dstat_symlink" = "check" -o "$do_dstat_symlink" = "yes" ++then ++ if test "$have_python" = "false" -a "$do_dstat_symlink" = "yes" ++ then ++ as_fn_error $? "cannot enable dstat symlink - no python found" "$LINENO" 5 ++ else ++ enable_dstat=true ++ fi ++fi ++ ++if $enable_dstat; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module BPF" >&5 ++printf %s "checking for Python module BPF... " >&6; } ++ if test -n "from bcc import BPF" ++ then ++ txt="from bcc import BPF" ++ else ++ txt="import BPF" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ eval have_python_BPF=true ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ eval have_python_BPF=false ++ fi ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module OrderedDict" >&5 ++printf %s "checking for Python module OrderedDict... " >&6; } ++ if test -n "from collections import OrderedDict" ++ then ++ txt="from collections import OrderedDict" ++ else ++ txt="import OrderedDict" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ eval have_python_OrderedDict=true ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ eval have_python_OrderedDict=false ++ fi ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module jsonpointer" >&5 ++printf %s "checking for Python module jsonpointer... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import jsonpointer" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ eval have_python_jsonpointer=true ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ eval have_python_jsonpointer=false ++ fi ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module openpyxl" >&5 ++printf %s "checking for Python module openpyxl... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import openpyxl" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ eval have_python_openpyxl=true ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ eval have_python_openpyxl=false ++ fi ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module setuptools" >&5 ++printf %s "checking for Python module setuptools... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import setuptools" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ eval have_python_setuptools=true ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ eval have_python_setuptools=false ++ fi ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module requests" >&5 ++printf %s "checking for Python module requests... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import requests" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ eval have_python_requests=true ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ eval have_python_requests=false ++ fi ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module libvirt" >&5 ++printf %s "checking for Python module libvirt... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import libvirt" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ eval have_python_libvirt=true ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ eval have_python_libvirt=false ++ fi ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module six" >&5 ++printf %s "checking for Python module six... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import six" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ eval have_python_six=true ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ eval have_python_six=false ++ fi ++ ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the python InfluxDB support should be included" >&5 ++printf %s "checking if the python InfluxDB support should be included... " >&6; } ++have_python_influxdb=false ++if test "$have_python" = true ++then ++ $have_python_requests && $have_python_OrderedDict && have_python_influxdb=true ++fi ++ ++if $have_python_influxdb; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the json PMDA should be included" >&5 ++printf %s "checking if the json PMDA should be included... " >&6; } ++pmda_json=false ++if test "x$do_pmdajson" = "xyes" ++then : ++ pmda_json=true ++fi ++if test "x$do_pmdajson" = "xcheck" ++then : ++ ++ $have_python_jsonpointer && $have_python_six && \ ++ $have_python_OrderedDict && pmda_json=true ++ ++fi ++PMDA_JSON=$pmda_json ++ ++if $pmda_json; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the bcc PMDA should be included" >&5 ++printf %s "checking if the bcc PMDA should be included... " >&6; } ++pmda_bcc=false ++if test "x$do_pmdabcc" = "xyes" ++then : ++ pmda_bcc=true ++fi ++if test "x$do_pmdabcc" = "xcheck" ++then : ++ ++ $enable_python3 && $have_python_BPF && \ ++ $have_python_OrderedDict && pmda_bcc=true ++ ++fi ++PMDA_BCC=$pmda_bcc ++ ++if $pmda_bcc; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking clang major version installed" >&5 ++printf %s "checking clang major version installed... " >&6; } ++if which llvm-config >/dev/null 2>&1 ++then ++ clang_major_version=`llvm-config --version | cut -f1 -d.` ++else ++ clang_major_version=0 ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $clang_major_version" >&5 ++printf "%s\n" "$clang_major_version" >&6; } ++CLANG_MAJOR_VERSION=$clang_major_version ++ ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libbpf" >&5 ++printf %s "checking for libbpf... " >&6; } ++ ++if test -n "$libbpf_CFLAGS"; then ++ pkg_cv_libbpf_CFLAGS="$libbpf_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbpf >= 0.4.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libbpf >= 0.4.0") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libbpf_CFLAGS=`$PKG_CONFIG --cflags "libbpf >= 0.4.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$libbpf_LIBS"; then ++ pkg_cv_libbpf_LIBS="$libbpf_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbpf >= 0.4.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libbpf >= 0.4.0") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libbpf_LIBS=`$PKG_CONFIG --libs "libbpf >= 0.4.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ libbpf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbpf >= 0.4.0" 2>&1` ++ else ++ libbpf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbpf >= 0.4.0" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$libbpf_PKG_ERRORS" >&5 ++ ++ have_libbpf=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_libbpf=false ++else ++ libbpf_CFLAGS=$pkg_cv_libbpf_CFLAGS ++ libbpf_LIBS=$pkg_cv_libbpf_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_libbpf=true ++fi ++HAVE_LIBBPF=$have_libbpf ++ ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libelf" >&5 ++printf %s "checking for libelf... " >&6; } ++ ++if test -n "$libelf_CFLAGS"; then ++ pkg_cv_libelf_CFLAGS="$libelf_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libelf") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libelf_CFLAGS=`$PKG_CONFIG --cflags "libelf" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$libelf_LIBS"; then ++ pkg_cv_libelf_LIBS="$libelf_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libelf") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libelf_LIBS=`$PKG_CONFIG --libs "libelf" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ libelf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libelf" 2>&1` ++ else ++ libelf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libelf" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$libelf_PKG_ERRORS" >&5 ++ ++ have_libelf=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_libelf=false ++else ++ libelf_CFLAGS=$pkg_cv_libelf_CFLAGS ++ libelf_LIBS=$pkg_cv_libelf_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_libelf=true ++fi ++HAVE_LIBELF=$have_libelf ++ ++ ++if test -z "$PMDABPF_CLANG"; then ++ # Extract the first word of "clang", so it can be a program name with args. ++set dummy clang; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PMDABPF_CLANG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PMDABPF_CLANG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PMDABPF_CLANG="$PMDABPF_CLANG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_CLANG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PMDABPF_CLANG=$ac_cv_path_PMDABPF_CLANG ++if test -n "$PMDABPF_CLANG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_CLANG" >&5 ++printf "%s\n" "$PMDABPF_CLANG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++pmdabpf_clang=$PMDABPF_CLANG ++ ++ ++if test -z "$PMDABPF_LLVM_STRIP"; then ++ # Extract the first word of "llvm-strip", so it can be a program name with args. ++set dummy llvm-strip; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PMDABPF_LLVM_STRIP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PMDABPF_LLVM_STRIP in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PMDABPF_LLVM_STRIP="$PMDABPF_LLVM_STRIP" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_LLVM_STRIP="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PMDABPF_LLVM_STRIP=$ac_cv_path_PMDABPF_LLVM_STRIP ++if test -n "$PMDABPF_LLVM_STRIP"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_LLVM_STRIP" >&5 ++printf "%s\n" "$PMDABPF_LLVM_STRIP" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++pmdabpf_llvm_strip=$PMDABPF_LLVM_STRIP ++ ++ ++if test -z "$PMDABPF_BPFTOOL"; then ++ # Extract the first word of "bpftool", so it can be a program name with args. ++set dummy bpftool; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PMDABPF_BPFTOOL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PMDABPF_BPFTOOL in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PMDABPF_BPFTOOL="$PMDABPF_BPFTOOL" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_BPFTOOL="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PMDABPF_BPFTOOL=$ac_cv_path_PMDABPF_BPFTOOL ++if test -n "$PMDABPF_BPFTOOL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_BPFTOOL" >&5 ++printf "%s\n" "$PMDABPF_BPFTOOL" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++pmdabpf_bpftool=$PMDABPF_BPFTOOL ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the bpf PMDA should be included" >&5 ++printf %s "checking if the bpf PMDA should be included... " >&6; } ++pmda_bpf=false ++if test "x$do_pmdabpf" = "xyes" ++then : ++ pmda_bpf=true ++fi ++if test "x$do_pmdabpf" = "xcheck" ++then : ++ ++ if test $clang_major_version -ge 10; then ++ $have_libbpf && $have_libelf && test -n "$pmdabpf_bpftool" && pmda_bpf=true ++ else ++ pmda_bpf=false ++ fi ++ ++fi ++PMDA_BPF=$pmda_bpf ++ ++if $pmda_bpf; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the bpftrace PMDA should be included" >&5 ++printf %s "checking if the bpftrace PMDA should be included... " >&6; } ++pmda_bpftrace=false ++if test "x$do_pmdabpftrace" = "xyes" ++then : ++ pmda_bpftrace=true ++fi ++if test "x$do_pmdabpftrace" = "xcheck" ++then : ++ ++ have_bpftrace=false ++ if which bpftrace >/dev/null 2>&1 ++ then ++ if bpftrace --help 2>&1 | grep '\-f.*json' > /dev/null; then ++ have_bpftrace=true ++ fi ++ fi ++ $enable_python3 && test "$PY_MAJOR" -eq 3 -a "$PY_MINOR" -ge 6 && \ ++ $have_bpftrace && pmda_bpftrace=true ++ ++fi ++PMDA_BPFTRACE=$pmda_bpftrace ++ ++if $pmda_bpftrace; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++for ac_prog in perl ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_PERL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$PERL"; then ++ ac_cv_prog_PERL="$PERL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_PERL="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++PERL=$ac_cv_prog_PERL ++if test -n "$PERL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 ++printf "%s\n" "$PERL" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$PERL" && break ++done ++ ++ ++ ++enable_perl=false ++if test "x$do_perl" != "xno" ++then : ++ ++ enable_perl=true ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for any perl version" >&5 ++printf %s "checking for any perl version... " >&6; } ++ if test "$cross_compiling" = "yes"; then ++ ans=$have_perl ++ echo "cross-compile -> \"$ans\"" >&5 ++ elif test -n "$PERL" ++ then ++ pcp_perl_prog=$PERL ++ have_perl=true ++ else ++ pcp_perl_prog="" ++ have_perl=false ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pcp_perl_prog" >&5 ++printf "%s\n" "$pcp_perl_prog" >&6; } ++ ++else $as_nop ++ have_perl=false ++fi ++ ++ ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the SNMP PMDA should be included" >&5 ++printf %s "checking if the SNMP PMDA should be included... " >&6; } ++pmda_snmp=false ++if test "x$do_pmdasnmp" = "xyes" ++then : ++ pmda_snmp=true ++fi ++if test "x$do_pmdasnmp" = "xcheck" ++then : ++ ++ if test "$have_perl" = true ++ then ++ if $pcp_perl_prog -e "use Net::SNMP" >/dev/null 2>&1 ++ then ++ pmda_snmp=true ++ fi ++ fi ++ ++fi ++PMDA_SNMP=$pmda_snmp ++ ++if $pmda_snmp; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the mysql PMDA should be included" >&5 ++printf %s "checking if the mysql PMDA should be included... " >&6; } ++pmda_mysql=false ++if test "$have_perl" = true ++then ++ if $pcp_perl_prog -e "use DBI" >/dev/null 2>&1 ++ then ++ if $pcp_perl_prog -e "use DBD::mysql" >/dev/null 2>&1 ++ then ++ pmda_mysql=true ++ fi ++ fi ++fi ++PMDA_MYSQL=$pmda_mysql ++ ++if $pmda_mysql; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the postgresql PMDA should be included" >&5 ++printf %s "checking if the postgresql PMDA should be included... " >&6; } ++pmda_postgresql=false ++if test "$have_python" = true ++then ++ if $pcp_python_prog -c "import psycopg2" >/dev/null 2>&1 ++ then ++ pmda_postgresql=true ++ fi ++fi ++PMDA_POSTGRESQL=$pmda_postgresql ++ ++if $pmda_postgresql; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the oracle PMDA should be included" >&5 ++printf %s "checking if the oracle PMDA should be included... " >&6; } ++pmda_oracle=false ++if test "$have_perl" = true ++then ++ if $pcp_perl_prog -e "use DBI" >/dev/null 2>&1 ++ then ++ pmda_oracle=true ++ fi ++fi ++PMDA_ORACLE=$pmda_oracle ++ ++if $pmda_oracle; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the elasticsearch PMDA should be included" >&5 ++printf %s "checking if the elasticsearch PMDA should be included... " >&6; } ++pmda_elasticsearch=false ++if test "$have_python" = true ++then ++ if $pcp_python_prog -c "import urllib" >/dev/null 2>&1 ++ then ++ pmda_elasticsearch=true ++ fi ++ if $pcp_python_prog -c "import urllib2" >/dev/null 2>&1 ++ then ++ pmda_elasticsearch=true ++ fi ++ ++fi ++PMDA_ELASTICSEARCH=$pmda_elasticsearch ++ ++if $pmda_elasticsearch; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the nginx PMDA should be included" >&5 ++printf %s "checking if the nginx PMDA should be included... " >&6; } ++pmda_nginx=false ++if test "$have_perl" = true ++then ++ if $pcp_perl_prog -e "use LWP::UserAgent" >/dev/null 2>&1 ++ then ++ pmda_nginx=true ++ fi ++fi ++PMDA_NGINX=$pmda_nginx ++ ++if $pmda_nginx; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the activemq PMDA should be included" >&5 ++printf %s "checking if the activemq PMDA should be included... " >&6; } ++pmda_activemq=false ++if test "$have_perl" = true ++then ++ pmda_activemq=true ++ for module in 'LWP::UserAgent' JSON ++ do ++ if $pcp_perl_prog -e "use $module" >/dev/null 2>&1 ++ then ++ : ++ else ++ pmda_activemq=false ++ break ++ fi ++ done ++fi ++PMDA_ACTIVEMQ=$pmda_activemq ++ ++if $pmda_activemq; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the bind2 PMDA should be included" >&5 ++printf %s "checking if the bind2 PMDA should be included... " >&6; } ++pmda_bind2=false ++if test "$have_perl" = true ++then ++ if $pcp_perl_prog -e "use LWP::UserAgent" >/dev/null 2>&1 ++ then ++ if $pcp_perl_prog -e "use XML::LibXML" >/dev/null 2>&1 ++ then ++ if $pcp_perl_prog -e "use File::Slurp" >/dev/null 2>&1 ++ then ++ pmda_bind2=true ++ fi ++ fi ++ fi ++fi ++PMDA_BIND2=$pmda_bind2 ++ ++if $pmda_bind2; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the nutcracker PMDA should be included" >&5 ++printf %s "checking if the nutcracker PMDA should be included... " >&6; } ++pmda_nutcracker=false ++if test "x$do_pmdanutcracker" = "xyes" ++then : ++ pmda_nutcracker=true ++fi ++if test "x$do_pmdanutcracker" = "xcheck" ++then : ++ ++ if test "$have_perl" = true ++ then ++ if $pcp_perl_prog -e "use YAML::XS" >/dev/null 2>&1 ++ then ++ if $pcp_perl_prog -e "use JSON" >/dev/null 2>&1 ++ then ++ pmda_nutcracker=true ++ fi ++ fi ++ fi ++ ++fi ++PMDA_NUTCRACKER=$pmda_nutcracker ++ ++if $pmda_nutcracker; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the LIO PMDA should be included" >&5 ++printf %s "checking if the LIO PMDA should be included... " >&6; } ++pmda_lio=false ++if test "$have_python" = true ++then ++ if $pcp_python_prog -c "import rtslib" >/dev/null 2>&1 ++ then ++ pmda_lio=true ++ fi ++fi ++PMDA_LIO=$pmda_lio ++ ++if $pmda_lio; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the OpenMetrics PMDA should be included" >&5 ++printf %s "checking if the OpenMetrics PMDA should be included... " >&6; } ++pmda_openmetrics=false ++if test "$have_python" = true ++then ++ $have_python_requests && $have_python_OrderedDict && pmda_openmetrics=true ++fi ++PMDA_OPENMETRICS=$pmda_openmetrics ++ ++if $pmda_openmetrics; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the libvirt PMDA should be included" >&5 ++printf %s "checking if the libvirt PMDA should be included... " >&6; } ++pmda_libvirt=false ++if test "$have_python" = true ++then ++ if test "$have_python_libvirt" = true ++ then ++ if $pcp_python_prog -c "import lxml" >/dev/null 2>&1 ++ then ++ pmda_libvirt=true ++ fi ++ fi ++fi ++PMDA_LIBVIRT=$pmda_libvirt ++ ++if $pmda_libvirt; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++qmake=$QMAKE ++enable_qt=false ++qt_release=release ++qt_version=0 ++if test "x$do_qt" != "xno" ++then : ++ ++ enable_qt=true ++ ++ # Allow specifying the QT directory using --with-qt=/the/qt/dir ++ case "$do_qt" in ++ /*) export QTDIR="$do_qt" ; do_qt="check" ;; ++ esac ++ ++ if test -z "$QMAKE" ++ then ++ for ac_prog in qtchooser ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_QTCHOOSER+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $QTCHOOSER in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_QTCHOOSER="$QTCHOOSER" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$QTDIR/bin:/usr/lib/qtchooser:/usr/bin:/usr/lib64/qt5/bin:/usr/lib/qt5/bin:/usr/lib64/qt4/bin:/usr/lib/qt4/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_QTCHOOSER="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++QTCHOOSER=$ac_cv_path_QTCHOOSER ++if test -n "$QTCHOOSER"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QTCHOOSER" >&5 ++printf "%s\n" "$QTCHOOSER" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$QTCHOOSER" && break ++done ++ ++ for ac_prog in qmake qmake-qt5 qmake-qt4 ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_QMAKE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $QMAKE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_QMAKE="$QMAKE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$QTDIR/bin:/usr/lib/qtchooser:/usr/bin:/usr/lib64/qt5/bin:/usr/lib/qt5/bin:/usr/lib64/qt4/bin:/usr/lib/qt4/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_QMAKE="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++QMAKE=$ac_cv_path_QMAKE ++if test -n "$QMAKE"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 ++printf "%s\n" "$QMAKE" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$QMAKE" && break ++done ++ ++ test "x$cc_is_gcc" = xyes -a $target_os = solaris && QMAKE="$QMAKE -spec solaris-g++" ++ fi ++ qmake=$QMAKE ++ if test -z "$QMAKE" ++ then ++ enable_qt=false ++ else ++ if test -n "$QT_SELECT" ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Qt version, QT_SELECT=$QT_SELECT" >&5 ++printf %s "checking Qt version, QT_SELECT=$QT_SELECT... " >&6; } ++ export QT_SELECT ++ $qmake --version 2>&1 >/dev/null ++ if test $? -eq 1; then ++ export QT_SELECT=4 ++ fi ++ else ++ if test -n "$QTCHOOSER" ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Qt version, using qtchooser" >&5 ++printf %s "checking Qt version, using qtchooser... " >&6; } ++ if $QTCHOOSER -l | grep '^5$' >/dev/null ++ then ++ export QT_SELECT=5 ++ else ++ export QT_SELECT=4 ++ fi ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Qt version" >&5 ++printf %s "checking Qt version... " >&6; } ++ unset QT_SELECT ++ fi ++ fi ++ eval `$qmake --version 2>&1 | awk '/Using Qt version/ { ver=4; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export QT_MAJOR=%d QT_MINOR=%d QT_POINT=%d\n",$major,$minor,$point }'` ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QT_MAJOR.$QT_MINOR.$QT_POINT" >&5 ++printf "%s\n" "$QT_MAJOR.$QT_MINOR.$QT_POINT" >&6; } ++ if test -z "$QT_MAJOR" -o -z "$QT_MINOR"; then ++ echo WARNING: cannot extract Qt version number from ... ++ $qmake --version ++ echo Cannot include the Qt components in the build. ++ enable_qt=false ++ qt_version=0 ++ elif test "$QT_MAJOR" -lt 4; then ++ echo WARNING: Qt version 4.4 or later does not seem to be installed. ++ echo Cannot proceed with the Qt $QT_MAJOR installation found. ++ enable_qt=false ++ qt_version=0 ++ elif test "$QT_MAJOR" -eq 4 -a "$QT_MINOR" -lt 4 ; then ++ echo WARNING: Qt version 4.$QT_MINOR is too old. ++ echo Qt version 4.4 or later is required for Qt builds. ++ enable_qt=false ++ qt_version=0 ++ else ++ qt_version=$QT_MAJOR ++ fi ++ fi ++ ++ if test "$do_qt" != "check" -a "$enable_qt" != "true" ++ then ++ as_fn_error $? "cannot enable Qt - no supported Qt installation found" "$LINENO" 5 ++ elif test "$enable_qt" = "true" -a "x$cxx" = "x" ++ then ++ enable_qt=false ++ test "$do_qt" != "check" && \ ++ as_fn_error $? "C++ compiler unavailable, cannot build Qt components" "$LINENO" 5 ++ elif test "$do_qt" = "debug" ++ then ++ qt_release=debug ++ enable_qt=true ++ fi ++ ++fi ++ ++ ++ ++ ++ ++enable_qt3d=false ++if test "x$do_qt3d" != "xno" ++then : ++ ++ if test -f /usr/include/Coin3/Inventor/Qt/SoQt.h -o -f /usr/include/Inventor/Qt/SoQt.h ++ then ++ enable_qt3d=$enable_qt ++ elif test x"$do_qt3d" = x"yes" ++ then ++ as_fn_error $? "cannot enable support for 3D scene graph API" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++if test -z "$MAKE" ++then ++ # Extract the first word of "gmake", so it can be a program name with args. ++set dummy gmake; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MAKE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $MAKE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKE="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++MAKE=$ac_cv_path_MAKE ++if test -n "$MAKE"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 ++printf "%s\n" "$MAKE" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ if test -z "$MAKE" ++ then ++ # look elsewhere ... ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU make elsewhere" >&5 ++printf %s "checking for GNU make elsewhere... " >&6; } ++ for f in /usr/local/bin/gmake /usr/freeware/bin/gmake /usr/local/bin/make /opt/sfw/bin/gmake nowhere ++ do ++ if test -x $f ++ then ++ MAKE=$f ++ break ++ fi ++ done ++ if test $f = nowhere ++ then ++ # Check if /usr/bin/make is any good ++ mver=`/usr/bin/make --version 2>/dev/null | sed -n -e1p | cut -c1-8` ++ if test "$mver" != "GNU Make" ++ then ++ echo ++ echo "FATAL ERROR: could not find GNU make anywhere" ++ echo "You need to set \$MAKE as the full path to GNU make " ++ echo "in the environment." ++ rm -rf conftest conftest.* ++ exit 1 ++ else ++ MAKE=/usr/bin/make ++ fi ++ fi ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 ++printf "%s\n" "$MAKE" >&6; } ++ fi ++fi ++make=$MAKE ++ ++ ++if test -z "$CPP"; then ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++printf %s "checking how to run the C preprocessor... " >&6; } ++# On Suns, sometimes $CPP names a directory. ++if test -n "$CPP" && test -d "$CPP"; then ++ CPP= ++fi ++if test -z "$CPP"; then ++ if test ${ac_cv_prog_CPP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ # Double quotes because $CC needs to be expanded ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp ++ do ++ ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO" ++then : ++ ++else $as_nop ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO" ++then : ++ # Broken: success on invalid input. ++continue ++else $as_nop ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok ++then : ++ break ++fi ++ ++ done ++ ac_cv_prog_CPP=$CPP ++ ++fi ++ CPP=$ac_cv_prog_CPP ++else ++ ac_cv_prog_CPP=$CPP ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++printf "%s\n" "$CPP" >&6; } ++ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO" ++then : ++ ++else $as_nop ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO" ++then : ++ # Broken: success on invalid input. ++continue ++else $as_nop ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok ++then : ++ ++else $as_nop ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++fi ++cpp=$CPP ++ ++ ++if test -z "$LD"; then ++ # Extract the first word of "ld", so it can be a program name with args. ++set dummy ld; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_LD+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $LD in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LD="$LD" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_LD="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_LD" && ac_cv_path_LD="/usr/bin/ld" ++ ;; ++esac ++fi ++LD=$ac_cv_path_LD ++if test -n "$LD"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++printf "%s\n" "$LD" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++ld=$LD ++ ++ ++if test -z "$PCP_USER_INSTALL" ; then ++ pcp_user_install=root ++else ++ pcp_user_install="$PCP_USER_INSTALL" ++fi ++ ++if test -z "$PCP_GROUP_INSTALL" ; then ++ case "$target_os" ++ in ++ darwin|freebsd|netbsd|openbsd) ++ pcp_group_install=wheel ++ ;; ++ *) ++ pcp_group_install=root ++ ;; ++ esac ++else ++ pcp_group_install="$PCP_GROUP_INSTALL" ++fi ++ ++ ++if test -z "$TAR"; then ++ for ac_prog in gtar tar ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_TAR+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $TAR in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_TAR="$TAR" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_TAR="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++TAR=$ac_cv_path_TAR ++if test -n "$TAR"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 ++printf "%s\n" "$TAR" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$TAR" && break ++done ++test -n "$TAR" || TAR="tar" ++ ++fi ++if test $target_os = darwin -a -x /usr/bin/gnutar ++then ++ TAR=/usr/bin/gnutar ++fi ++tar=$TAR ++ ++ ++if test -z "$ZIP"; then ++ # Extract the first word of "gzip", so it can be a program name with args. ++set dummy gzip; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ZIP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ZIP in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ZIP="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="/bin/gzip" ++ ;; ++esac ++fi ++ZIP=$ac_cv_path_ZIP ++if test -n "$ZIP"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5 ++printf "%s\n" "$ZIP" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++test ! -x "$ZIP" && ZIP=/usr/local/bin/gzip ++test ! -x "$ZIP" && ZIP=/usr/freeware/bin/gzip ++test ! -x "$ZIP" && ZIP=/usr/bin/gzip ++gzip=$ZIP ++test -z "$gzip" && gzip=no-gzip ++ ++ ++if test -z "$BZIP2"; then ++ # Extract the first word of "bzip2", so it can be a program name with args. ++set dummy bzip2; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_BZIP2+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $BZIP2 in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_BZIP2="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2="/bin/bzip2" ++ ;; ++esac ++fi ++BZIP2=$ac_cv_path_BZIP2 ++if test -n "$BZIP2"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5 ++printf "%s\n" "$BZIP2" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++test ! -x "$BZIP2" && BZIP2=/usr/bin/bzip2 ++test ! -x "$BZIP2" && BZIP2=/usr/local/bin/bzip2 ++test ! -x "$BZIP2" && BZIP2=/usr/freeware/bin/bzip2 ++bzip2=$BZIP2 ++test -z "$bzip2" && bzip2=no-bzip2 ++ ++ ++if test -z "$LZMA"; then ++ # Extract the first word of "lzma", so it can be a program name with args. ++set dummy lzma; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_LZMA+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $LZMA in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LZMA="$LZMA" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_LZMA="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_LZMA" && ac_cv_path_LZMA="/bin/lzma" ++ ;; ++esac ++fi ++LZMA=$ac_cv_path_LZMA ++if test -n "$LZMA"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5 ++printf "%s\n" "$LZMA" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++test ! -x "$LZMA" && LZMA=/usr/bin/lzma ++test ! -x "$LZMA" && LZMA=/usr/local/bin/lzma ++test ! -x "$LZMA" && LZMA=/usr/freeware/bin/lzma ++lzma=$LZMA ++test -z "$lzma" && lzma=no-lzma ++ ++ ++if test -z "$XZ"; then ++ # Extract the first word of "xz", so it can be a program name with args. ++set dummy xz; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_XZ+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $XZ in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XZ="$XZ" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_XZ="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_XZ" && ac_cv_path_XZ="/bin/xz" ++ ;; ++esac ++fi ++XZ=$ac_cv_path_XZ ++if test -n "$XZ"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5 ++printf "%s\n" "$XZ" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++test ! -x "$XZ" && XZ=/usr/bin/xz ++test ! -x "$XZ" && XZ=/usr/local/bin/xz ++test ! -x "$XZ" && XZ=/usr/freeware/bin/xz ++xz=$XZ ++test -z "$xz" && xz=no-xz ++ ++ ++if test -z "$HDIUTIL"; then ++ # Extract the first word of "hdiutil", so it can be a program name with args. ++set dummy hdiutil; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_HDIUTIL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $HDIUTIL in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_HDIUTIL="$HDIUTIL" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_HDIUTIL="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++HDIUTIL=$ac_cv_path_HDIUTIL ++if test -n "$HDIUTIL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HDIUTIL" >&5 ++printf "%s\n" "$HDIUTIL" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++hdiutil=$HDIUTIL ++ ++ ++if test -z "$MKINSTALLP"; then ++ # Extract the first word of "mkinstallp", so it can be a program name with args. ++set dummy mkinstallp; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MKINSTALLP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $MKINSTALLP in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MKINSTALLP="$MKINSTALLP" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MKINSTALLP="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++MKINSTALLP=$ac_cv_path_MKINSTALLP ++if test -n "$MKINSTALLP"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKINSTALLP" >&5 ++printf "%s\n" "$MKINSTALLP" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++mkinstallp=$MKINSTALLP ++ ++ ++if test -z "$PKGMK"; then ++ # Extract the first word of "pkgmk", so it can be a program name with args. ++set dummy pkgmk; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGMK+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $PKGMK in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGMK="$PKGMK" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGMK="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGMK=$ac_cv_path_PKGMK ++if test -n "$PKGMK"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGMK" >&5 ++printf "%s\n" "$PKGMK" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++pkgmk=$PKGMK ++ ++ ++if test -z "$DLLTOOL"; then ++ # Extract the first word of "dlltool", so it can be a program name with args. ++set dummy dlltool; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_DLLTOOL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $DLLTOOL in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_DLLTOOL="$DLLTOOL" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_DLLTOOL="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++DLLTOOL=$ac_cv_path_DLLTOOL ++if test -n "$DLLTOOL"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 ++printf "%s\n" "$DLLTOOL" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++dlltool=$DLLTOOL ++ ++ ++if test -z "$RPMBUILD"; then ++ # Extract the first word of "rpmbuild", so it can be a program name with args. ++set dummy rpmbuild; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_RPMBUILD+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $RPMBUILD in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_RPMBUILD="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++RPMBUILD=$ac_cv_path_RPMBUILD ++if test -n "$RPMBUILD"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5 ++printf "%s\n" "$RPMBUILD" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++test $target_distro = slackware && RPMBUILD='' ++rpmbuild=$RPMBUILD ++ ++ ++if test -z "$RPM"; then ++ # Extract the first word of "rpm", so it can be a program name with args. ++set dummy rpm; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_RPM+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $RPM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_RPM="$RPM" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_RPM="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++RPM=$ac_cv_path_RPM ++if test -n "$RPM"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5 ++printf "%s\n" "$RPM" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++test $target_distro = slackware && RPM='' ++rpm=$RPM ++ ++ ++if test -n "$RPMBUILD" -a -x "$RPMBUILD" ++then ++ rpmprog=$RPMBUILD ++else ++ rpmprog=$RPM ++fi ++ ++ ++if test -z "$POD2MAN"; then ++ # Extract the first word of "pod2man", so it can be a program name with args. ++set dummy pod2man; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_POD2MAN+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $POD2MAN in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_POD2MAN="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++POD2MAN=$ac_cv_path_POD2MAN ++if test -n "$POD2MAN"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 ++printf "%s\n" "$POD2MAN" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++pod2man=$POD2MAN ++ ++ ++if test "$enable_perl" != "false" ++then : ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ExtUtils::MakeMaker is installed" >&5 ++printf %s "checking if ExtUtils::MakeMaker is installed... " >&6; } ++ perl -e "use ExtUtils::MakeMaker" 2>/dev/null ++ if test $? -eq 0 ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" " yes" >&6; } ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" " no" >&6; } ++ echo ++ echo "FATAL ERROR: Perl ExtUtils::MakeMaker module missing." ++ echo "You can either install this from your distribution, or" ++ echo "download from CPAN (Comprehensive Perl Archive Network)." ++ rm -rf conftest conftest.* ++ exit 1 ++ fi ++ ++fi ++ ++# Extract the first word of "true", so it can be a program name with args. ++set dummy true; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_TRUEPROG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $TRUEPROG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_TRUEPROG="$TRUEPROG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_TRUEPROG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++TRUEPROG=$ac_cv_path_TRUEPROG ++if test -n "$TRUEPROG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TRUEPROG" >&5 ++printf "%s\n" "$TRUEPROG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ ++if test -z "$MAKEDEPEND"; then ++ # Extract the first word of "makedepend", so it can be a program name with args. ++set dummy makedepend; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MAKEDEPEND+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $MAKEDEPEND in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKEDEPEND="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_MAKEDEPEND" && ac_cv_path_MAKEDEPEND="$TRUEPROG" ++ ;; ++esac ++fi ++MAKEDEPEND=$ac_cv_path_MAKEDEPEND ++if test -n "$MAKEDEPEND"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5 ++printf "%s\n" "$MAKEDEPEND" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++makedepend=$MAKEDEPEND ++ ++ ++if test -z "$MD5SUM"; then ++ # Extract the first word of "md5sum", so it can be a program name with args. ++set dummy md5sum; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MD5SUM+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $MD5SUM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MD5SUM="$MD5SUM" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MD5SUM="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_MD5SUM" && ac_cv_path_MD5SUM="$TRUEPROG" ++ ;; ++esac ++fi ++MD5SUM=$ac_cv_path_MD5SUM ++if test -n "$MD5SUM"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5 ++printf "%s\n" "$MD5SUM" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++md5sum=$MD5SUM ++ ++ ++if test -z "$DPKG"; then ++ # Extract the first word of "dpkg", so it can be a program name with args. ++set dummy dpkg; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_DPKG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $DPKG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_DPKG="$DPKG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_DPKG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++DPKG=$ac_cv_path_DPKG ++if test -n "$DPKG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DPKG" >&5 ++printf "%s\n" "$DPKG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++dpkg=$DPKG ++ ++ ++if test -z "$MAKEPKG"; then ++ # Extract the first word of "makepkg", so it can be a program name with args. ++set dummy makepkg; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MAKEPKG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $MAKEPKG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MAKEPKG="$MAKEPKG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKEPKG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++MAKEPKG=$ac_cv_path_MAKEPKG ++if test -n "$MAKEPKG"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKEPKG" >&5 ++printf "%s\n" "$MAKEPKG" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++fi ++makepkg=$MAKEPKG ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 ++printf %s "checking whether ln -s works... " >&6; } ++LN_S=$as_ln_s ++if test "$LN_S" = "ln -s"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 ++printf "%s\n" "no, using $LN_S" >&6; } ++fi ++ ++if test $target_os = mingw; then ++ as_ln_s=/bin/true ++fi ++ ++if test -d /proc ++then ++ test -f /proc/stat || mount /proc >/dev/null 2>&1 ++fi ++ ++if test -n "$PROCPS" ++then ++ pcp_ps_prog="$PROCPS" ++else ++ pcp_ps_prog=ps ++fi ++ ++ ++if test $target_os = mingw ++then ++ pcp_syslog_prog=pcp-eventlog ++else ++ pcp_syslog_prog=logger ++fi ++ ++ ++grep=grep ++if test $target_os = solaris ++then ++ test -f /usr/xpg4/bin/grep && grep=/usr/xpg4/bin/grep ++fi ++ ++ ++ac_header_dirent=no ++for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do ++ as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 ++printf %s "checking for $ac_hdr that defines DIR... " >&6; } ++if eval test \${$as_ac_Header+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include <$ac_hdr> ++ ++int ++main (void) ++{ ++if ((DIR *) 0) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ eval "$as_ac_Header=yes" ++else $as_nop ++ eval "$as_ac_Header=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++eval ac_res=\$$as_ac_Header ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++printf "%s\n" "$ac_res" >&6; } ++if eval test \"x\$"$as_ac_Header"\" = x"yes" ++then : ++ cat >>confdefs.h <<_ACEOF ++@%:@define `printf "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1 ++_ACEOF ++ ++ac_header_dirent=$ac_hdr; break ++fi ++ ++done ++# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. ++if test $ac_header_dirent = dirent.h; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 ++printf %s "checking for library containing opendir... " >&6; } ++if test ${ac_cv_search_opendir+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char opendir (); ++int ++main (void) ++{ ++return opendir (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' dir ++do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_search_opendir=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext ++ if test ${ac_cv_search_opendir+y} ++then : ++ break ++fi ++done ++if test ${ac_cv_search_opendir+y} ++then : ++ ++else $as_nop ++ ac_cv_search_opendir=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 ++printf "%s\n" "$ac_cv_search_opendir" >&6; } ++ac_res=$ac_cv_search_opendir ++if test "$ac_res" != no ++then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++fi ++ ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 ++printf %s "checking for library containing opendir... " >&6; } ++if test ${ac_cv_search_opendir+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char opendir (); ++int ++main (void) ++{ ++return opendir (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' x ++do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_search_opendir=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext ++ if test ${ac_cv_search_opendir+y} ++then : ++ break ++fi ++done ++if test ${ac_cv_search_opendir+y} ++then : ++ ++else $as_nop ++ ac_cv_search_opendir=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 ++printf "%s\n" "$ac_cv_search_opendir" >&6; } ++ac_res=$ac_cv_search_opendir ++if test "$ac_res" != no ++then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++fi ++ ++fi ++ ++# Autoupdate added the next two lines to ensure that your configure ++# script's behavior did not change. They are probably safe to remove. ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++printf %s "checking for egrep... " >&6; } ++if test ${ac_cv_path_EGREP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ++ then ac_cv_path_EGREP="$GREP -E" ++ else ++ if test -z "$EGREP"; then ++ ac_path_EGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_prog in egrep ++ do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_EGREP" || continue ++# Check for GNU ac_path_EGREP and select it if it is found. ++ # Check for GNU $ac_path_EGREP ++case `"$ac_path_EGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ++*) ++ ac_count=0 ++ printf %s 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ printf "%s\n" 'EGREP' >> "conftest.nl" ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_EGREP="$ac_path_EGREP" ++ ac_path_EGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_EGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_EGREP"; then ++ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_EGREP=$EGREP ++fi ++ ++ fi ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++printf "%s\n" "$ac_cv_path_EGREP" >&6; } ++ EGREP="$ac_cv_path_EGREP" ++ ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 ++printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } ++if test ${ac_cv_header_sys_wait_h+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#ifndef WEXITSTATUS ++# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) ++#endif ++#ifndef WIFEXITED ++# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) ++#endif ++ ++int ++main (void) ++{ ++ int s; ++ wait (&s); ++ s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_header_sys_wait_h=yes ++else $as_nop ++ ac_cv_header_sys_wait_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 ++printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; } ++if test $ac_cv_header_sys_wait_h = yes; then ++ ++printf "%s\n" "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" ++if test "x$ac_cv_header_fcntl_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_FCNTL_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" ++if test "x$ac_cv_header_limits_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIMITS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" ++if test "x$ac_cv_header_malloc_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_MALLOC_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" ++if test "x$ac_cv_header_strings_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STRINGS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" ++if test "x$ac_cv_header_syslog_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYSLOG_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" ++if test "x$ac_cv_header_stddef_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STDDEF_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default" ++if test "x$ac_cv_header_sched_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SCHED_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" ++if test "x$ac_cv_header_dlfcn_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_DLFCN_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default" ++if test "x$ac_cv_header_dl_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_DL_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_times_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_TIMES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_resource_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_RESOURCE_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_prctl_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_PRCTL_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_sysinfo_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_SYSINFO_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/systeminfo.h" "ac_cv_header_sys_systeminfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_systeminfo_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_SYSTEMINFO_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default" ++if test "x$ac_cv_header_endian_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_ENDIAN_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "standards.h" "ac_cv_header_standards_h" "$ac_includes_default" ++if test "x$ac_cv_header_standards_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STANDARDS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/byteorder.h" "ac_cv_header_sys_byteorder_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_byteorder_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_BYTEORDER_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default" ++if test "x$ac_cv_header_libgen_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBGEN_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_mman_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_MMAN_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_un_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_UN_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default" ++if test "x$ac_cv_header_values_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_VALUES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STDINT_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default" ++if test "x$ac_cv_header_ieeefp_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_IEEEFP_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" ++if test "x$ac_cv_header_math_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_MATH_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" ++if test "x$ac_cv_header_pwd_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_PWD_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "grp.h" "ac_cv_header_grp_h" "$ac_includes_default" ++if test "x$ac_cv_header_grp_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GRP_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" ++if test "x$ac_cv_header_regex_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_REGEX_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_wait_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default" ++if test "x$ac_cv_header_termio_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_TERMIO_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default" ++if test "x$ac_cv_header_termios_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_TERMIOS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/termios.h" "ac_cv_header_sys_termios_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_termios_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_TERMIOS_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_ioctl_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_IOCTL_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_select_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_SELECT_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_socket_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_SOCKET_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" ++if test "x$ac_cv_header_netdb_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NETDB_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" ++if test "x$ac_cv_header_poll_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_POLL_H 1" >>confdefs.h ++ ++fi ++ ++if test $target_os = darwin -o $target_os = openbsd ++then ++ ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include ++#include ++" ++if test "x$ac_cv_header_net_if_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NET_IF_H 1" >>confdefs.h ++ ++fi ++ ++else ++ ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default" ++if test "x$ac_cv_header_net_if_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NET_IF_H 1" >>confdefs.h ++ ++fi ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" ++if test "x$ac_cv_header_netinet_in_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NETINET_IN_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" ++if test "x$ac_cv_header_netinet_tcp_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NETINET_TCP_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" ++if test "x$ac_cv_header_arpa_inet_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_ARPA_INET_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" ++if test "x$ac_cv_header_windows_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_WINDOWS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_WINSOCK2_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ++if test "x$ac_cv_header_ws2tcpip_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_WS2TCPIP_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_execinfo_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_EXECINFO_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "bits/wordsize.h" "ac_cv_header_bits_wordsize_h" "$ac_includes_default" ++if test "x$ac_cv_header_bits_wordsize_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_BITS_WORDSIZE_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "iptypes.h" "ac_cv_header_iptypes_h" "#include ++" ++if test "x$ac_cv_header_iptypes_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_IPTYPES_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h" "#include ++" ++if test "x$ac_cv_header_iphlpapi_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_IPHLPAPI_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "netioapi.h" "ac_cv_header_netioapi_h" "#include ++" ++if test "x$ac_cv_header_netioapi_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NETIOAPI_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "fts.h" "ac_cv_header_fts_h" "$ac_includes_default" ++if test "x$ac_cv_header_fts_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_FTS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "libzfs.h" "ac_cv_header_libzfs_h" "$ac_includes_default" ++if test "x$ac_cv_header_libzfs_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBZFS_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_statvfs_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_STATVFS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_statfs_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_STATFS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_mount_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYS_MOUNT_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default" ++if test "x$ac_cv_header_curses_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_CURSES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncurses_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NCURSES_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncurses_curses_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NCURSES_CURSES_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "ncurses/ncurses.h" "ac_cv_header_ncurses_ncurses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncurses_ncurses_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NCURSES_NCURSES_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "ncursesw/curses.h" "ac_cv_header_ncursesw_curses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncursesw_curses_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NCURSESW_CURSES_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "linux/perf_event.h" "ac_cv_header_linux_perf_event_h" "$ac_includes_default" ++if test "x$ac_cv_header_linux_perf_event_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LINUX_PERF_EVENT_H 1" >>confdefs.h ++ ++fi ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h " >&5 ++printf %s "checking for sys/endian.h ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SYS_ENDIAN_H 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for machine/endian.h " >&5 ++printf %s "checking for machine/endian.h ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h (IRIX variant) " >&5 ++printf %s "checking for sys/endian.h (IRIX variant) ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ ++int ++main (void) ++{ ++ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SYS_ENDIAN_H 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 ++printf %s "checking for an ANSI C-conforming const... " >&6; } ++if test ${ac_cv_c_const+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++#ifndef __cplusplus ++ /* Ultrix mips cc rejects this sort of thing. */ ++ typedef int charset[2]; ++ const charset cs = { 0, 0 }; ++ /* SunOS 4.1.1 cc rejects this. */ ++ char const *const *pcpcc; ++ char **ppc; ++ /* NEC SVR4.0.2 mips cc rejects this. */ ++ struct point {int x, y;}; ++ static struct point const zero = {0,0}; ++ /* IBM XL C 1.02.0.0 rejects this. ++ It does not let you subtract one const X* pointer from another in ++ an arm of an if-expression whose if-part is not a constant ++ expression */ ++ const char *g = "string"; ++ pcpcc = &g + (g ? g-g : 0); ++ /* HPUX 7.0 cc rejects these. */ ++ ++pcpcc; ++ ppc = (char**) pcpcc; ++ pcpcc = (char const *const *) ppc; ++ { /* SCO 3.2v4 cc rejects this sort of thing. */ ++ char tx; ++ char *t = &tx; ++ char const *s = 0 ? (char *) 0 : (char const *) 0; ++ ++ *t++ = 0; ++ if (s) return 0; ++ } ++ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ ++ int x[] = {25, 17}; ++ const int *foo = &x[0]; ++ ++foo; ++ } ++ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ ++ typedef const int *iptr; ++ iptr p = 0; ++ ++p; ++ } ++ { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying ++ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ ++ struct s { int j; const int *ap[3]; } bx; ++ struct s *b = &bx; b->j = 5; ++ } ++ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ ++ const int foo = 10; ++ if (!foo) return 0; ++ } ++ return !cs[0] && !zero.x; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_c_const=yes ++else $as_nop ++ ac_cv_c_const=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 ++printf "%s\n" "$ac_cv_c_const" >&6; } ++if test $ac_cv_c_const = no; then ++ ++printf "%s\n" "@%:@define const /**/" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" ++if test "x$ac_cv_type_off_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define off_t long int" >>confdefs.h ++ ++fi ++ ++ ++ ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default ++" ++if test "x$ac_cv_type_pid_t" = xyes ++then : ++ ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #if defined _WIN64 && !defined __CYGWIN__ ++ LLP64 ++ #endif ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_pid_type='int' ++else $as_nop ++ ac_pid_type='__int64' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++printf "%s\n" "@%:@define pid_t $ac_pid_type" >>confdefs.h ++ ++ ++fi ++ ++ ++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ++if test "x$ac_cv_type_size_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define size_t unsigned int" >>confdefs.h ++ ++fi ++ ++ ++ ++# Obsolete code to be removed. ++if test $ac_cv_header_sys_time_h = yes; then ++ ++printf "%s\n" "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h ++ ++fi ++# End of obsolete code. ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 ++printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; } ++if test ${ac_cv_struct_tm+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++ ++int ++main (void) ++{ ++struct tm tm; ++ int *p = &tm.tm_sec; ++ return !p; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_struct_tm=time.h ++else $as_nop ++ ac_cv_struct_tm=sys/time.h ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 ++printf "%s\n" "$ac_cv_struct_tm" >&6; } ++if test $ac_cv_struct_tm = sys/time.h; then ++ ++printf "%s\n" "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h ++ ++fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 ++printf %s "checking for inline... " >&6; } ++if test ${ac_cv_c_inline+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_c_inline=no ++for ac_kw in inline __inline__ __inline; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __cplusplus ++typedef int foo_t; ++static $ac_kw foo_t static_foo (void) {return 0; } ++$ac_kw foo_t foo (void) {return 0; } ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_c_inline=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ test "$ac_cv_c_inline" != no && break ++done ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 ++printf "%s\n" "$ac_cv_c_inline" >&6; } ++ ++case $ac_cv_c_inline in ++ inline | yes) ;; ++ *) ++ case $ac_cv_c_inline in ++ no) ac_val=;; ++ *) ac_val=$ac_cv_c_inline;; ++ esac ++ cat >>confdefs.h <<_ACEOF ++#ifndef __cplusplus ++#define inline $ac_val ++#endif ++_ACEOF ++ ;; ++esac ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5 ++printf %s "checking for regcomp in -lregex... " >&6; } ++if test ${ac_cv_lib_regex_regcomp+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lregex $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char regcomp (); ++int ++main (void) ++{ ++return regcomp (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_regex_regcomp=yes ++else $as_nop ++ ac_cv_lib_regex_regcomp=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5 ++printf "%s\n" "$ac_cv_lib_regex_regcomp" >&6; } ++if test "x$ac_cv_lib_regex_regcomp" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBREGEX 1" >>confdefs.h ++ ++ LIBS="-lregex $LIBS" ++ ++fi ++ ++lib_for_regex="" ++if test $ac_cv_lib_regex_regcomp = yes ++then ++ lib_for_regex="-lregex" ++fi ++ ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5 ++printf %s "checking for openssl... " >&6; } ++ ++if test -n "$openssl_CFLAGS"; then ++ pkg_cv_openssl_CFLAGS="$openssl_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.1.1" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$openssl_LIBS"; then ++ pkg_cv_openssl_LIBS="$openssl_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.1.1" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.1.1" 2>&1` ++ else ++ openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.1.1" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$openssl_PKG_ERRORS" >&5 ++ ++ have_openssl=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_openssl=false ++else ++ openssl_CFLAGS=$pkg_cv_openssl_CFLAGS ++ openssl_LIBS=$pkg_cv_openssl_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_openssl=true ++fi ++if $have_openssl ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_read_ex" >&5 ++printf %s "checking for SSL_read_ex... " >&6; } ++ savedLIBS=$LIBS ++ LIBS="$openssl_LIBS" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char SSL_read_ex (); ++int ++main (void) ++{ ++return SSL_read_ex (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ have_openssl=true ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ have_openssl=false ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS=$savedLIBS ++fi ++HAVE_OPENSSL=$have_openssl ++ ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libuv" >&5 ++printf %s "checking for libuv... " >&6; } ++ ++if test -n "$libuv_CFLAGS"; then ++ pkg_cv_libuv_CFLAGS="$libuv_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libuv >= 1.0") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libuv_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$libuv_LIBS"; then ++ pkg_cv_libuv_LIBS="$libuv_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libuv >= 1.0") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libuv_LIBS=`$PKG_CONFIG --libs "libuv >= 1.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ libuv_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuv >= 1.0" 2>&1` ++ else ++ libuv_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuv >= 1.0" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$libuv_PKG_ERRORS" >&5 ++ ++ have_libuv=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_libuv=false ++else ++ libuv_CFLAGS=$pkg_cv_libuv_CFLAGS ++ libuv_LIBS=$pkg_cv_libuv_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_libuv=true ++fi ++HAVE_LIBUV=$have_libuv ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uv_pipe_chmod in -luv" >&5 ++printf %s "checking for uv_pipe_chmod in -luv... " >&6; } ++if test ${ac_cv_lib_uv_uv_pipe_chmod+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-luv $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char uv_pipe_chmod (); ++int ++main (void) ++{ ++return uv_pipe_chmod (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_uv_uv_pipe_chmod=yes ++else $as_nop ++ ac_cv_lib_uv_uv_pipe_chmod=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uv_uv_pipe_chmod" >&5 ++printf "%s\n" "$ac_cv_lib_uv_uv_pipe_chmod" >&6; } ++if test "x$ac_cv_lib_uv_uv_pipe_chmod" = xyes ++then : ++ ++printf "%s\n" "@%:@define HAVE_UV_PIPE_CHMOD 1" >>confdefs.h ++ ++ have_uv_pipe_chmod=true ++else $as_nop ++ have_uv_pipe_chmod=false ++fi ++ ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5 ++printf %s "checking for ncurses... " >&6; } ++ ++if test -n "$ncurses_CFLAGS"; then ++ pkg_cv_ncurses_CFLAGS="$ncurses_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_ncurses_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$ncurses_LIBS"; then ++ pkg_cv_ncurses_LIBS="$ncurses_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_ncurses_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ ncurses_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1` ++ else ++ ncurses_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$ncurses_PKG_ERRORS" >&5 ++ ++ have_ncurses=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_ncurses=false ++else ++ ncurses_CFLAGS=$pkg_cv_ncurses_CFLAGS ++ ncurses_LIBS=$pkg_cv_ncurses_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_ncurses=true ++fi ++HAVE_NCURSES=$have_ncurses ++ ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncursesw" >&5 ++printf %s "checking for ncursesw... " >&6; } ++ ++if test -n "$ncursesw_CFLAGS"; then ++ pkg_cv_ncursesw_CFLAGS="$ncursesw_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_ncursesw_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$ncursesw_LIBS"; then ++ pkg_cv_ncursesw_LIBS="$ncursesw_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_ncursesw_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ ncursesw_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncursesw" 2>&1` ++ else ++ ncursesw_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncursesw" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$ncursesw_PKG_ERRORS" >&5 ++ ++ have_ncursesw=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_ncursesw=false ++else ++ ncursesw_CFLAGS=$pkg_cv_ncursesw_CFLAGS ++ ncursesw_LIBS=$pkg_cv_ncursesw_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_ncursesw=true ++fi ++HAVE_NCURSESW=$have_ncursesw ++ ++if $have_ncursesw ++then ++ ++printf "%s\n" "@%:@define HAVE_GETMOUSE 1" >>confdefs.h ++ ++ ++printf "%s\n" "@%:@define HAVE_SET_ESCDELAY 1" >>confdefs.h ++ ++fi ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DEVMAPPER" >&5 ++printf %s "checking for DEVMAPPER... " >&6; } ++ ++if test -n "$DEVMAPPER_CFLAGS"; then ++ pkg_cv_DEVMAPPER_CFLAGS="$DEVMAPPER_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devmapper\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "devmapper") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_DEVMAPPER_CFLAGS=`$PKG_CONFIG --cflags "devmapper" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$DEVMAPPER_LIBS"; then ++ pkg_cv_DEVMAPPER_LIBS="$DEVMAPPER_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devmapper\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "devmapper") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_DEVMAPPER_LIBS=`$PKG_CONFIG --libs "devmapper" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ DEVMAPPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "devmapper" 2>&1` ++ else ++ DEVMAPPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "devmapper" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$DEVMAPPER_PKG_ERRORS" >&5 ++ ++ have_devmapper=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_devmapper=false ++else ++ DEVMAPPER_CFLAGS=$pkg_cv_DEVMAPPER_CFLAGS ++ DEVMAPPER_LIBS=$pkg_cv_DEVMAPPER_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_devmapper=true ++fi ++if $have_devmapper ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dm_stats_counter_t " >&5 ++printf %s "checking for dm_stats_counter_t ... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ dm_stats_counter_t ctr; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ have_devmapper=true ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ have_devmapper=false ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++HAVE_DEVMAPPER=$have_devmapper ++ ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 ++printf %s "checking for SYSTEMD... " >&6; } ++ ++if test -n "$SYSTEMD_CFLAGS"; then ++ pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$SYSTEMD_LIBS"; then ++ pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` ++ else ++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$SYSTEMD_PKG_ERRORS" >&5 ++ ++ pmda_systemd=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ pmda_systemd=false ++else ++ SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS ++ SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ pmda_systemd=true ++fi ++if $pmda_systemd ++then ++ : ++else ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 ++printf %s "checking for SYSTEMD... " >&6; } ++ ++if test -n "$SYSTEMD_CFLAGS"; then ++ pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$SYSTEMD_LIBS"; then ++ pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1` ++ else ++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$SYSTEMD_PKG_ERRORS" >&5 ++ ++ pmda_systemd=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ pmda_systemd=false ++else ++ SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS ++ SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ pmda_systemd=true ++fi ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the systemd PMDA should be included" >&5 ++printf %s "checking if the systemd PMDA should be included... " >&6; } ++PMDA_SYSTEMD=$pmda_systemd ++ ++if $pmda_systemd; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++pmda_infiniband=false ++if test "x$do_infiniband" != "xno" ++then : ++ ++ for ac_header in infiniband/umad.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "infiniband/umad.h" "ac_cv_header_infiniband_umad_h" "$ac_includes_default" ++if test "x$ac_cv_header_infiniband_umad_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_INFINIBAND_UMAD_H 1" >>confdefs.h ++ ++ for ac_header in infiniband/mad.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "infiniband/mad.h" "ac_cv_header_infiniband_mad_h" "$ac_includes_default" ++if test "x$ac_cv_header_infiniband_mad_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_INFINIBAND_MAD_H 1" >>confdefs.h ++ pmda_infiniband=true ++fi ++ ++done ++ ++fi ++ ++done ++ savedLIBS=$LIBS ++ IB_LIBS="" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for madrpc_init in -libmad" >&5 ++printf %s "checking for madrpc_init in -libmad... " >&6; } ++if test ${ac_cv_lib_ibmad_madrpc_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-libmad $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char madrpc_init (); ++int ++main (void) ++{ ++return madrpc_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ibmad_madrpc_init=yes ++else $as_nop ++ ac_cv_lib_ibmad_madrpc_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_madrpc_init" >&5 ++printf "%s\n" "$ac_cv_lib_ibmad_madrpc_init" >&6; } ++if test "x$ac_cv_lib_ibmad_madrpc_init" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBIBMAD 1" >>confdefs.h ++ ++ LIBS="-libmad $LIBS" ++ ++fi ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umad_init in -libumad" >&5 ++printf %s "checking for umad_init in -libumad... " >&6; } ++if test ${ac_cv_lib_ibumad_umad_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-libumad $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char umad_init (); ++int ++main (void) ++{ ++return umad_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ibumad_umad_init=yes ++else $as_nop ++ ac_cv_lib_ibumad_umad_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibumad_umad_init" >&5 ++printf "%s\n" "$ac_cv_lib_ibumad_umad_init" >&6; } ++if test "x$ac_cv_lib_ibumad_umad_init" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBIBUMAD 1" >>confdefs.h ++ ++ LIBS="-libumad $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_ibmad_madrpc_init = yes -a $ac_cv_lib_ibumad_umad_init = yes ++ then ++ IB_LIBS="-libmad -libumad" ++ LIBS="$IB_LIBS" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for port_performance_query_via" >&5 ++printf %s "checking for port_performance_query_via... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char port_performance_query_via (); ++int ++main (void) ++{ ++return port_performance_query_via (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_PORT_PERFORMANCE_QUERY_VIA 1" >>confdefs.h ++ ++ have_port_performance_query_via=true ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ have_port_performance_query_via=false ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pma_query_via" >&5 ++printf %s "checking for pma_query_via... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char pma_query_via (); ++int ++main (void) ++{ ++return pma_query_via (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_PMA_QUERY_VIA 1" >>confdefs.h ++ ++ have_pma_query_via=true ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ have_pma_query_via=false ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS=$savedLIBS ++ if test $have_pma_query_via -o $have_port_performance_query_via ++ then ++ : ++ else ++ pmda_infiniband=false ++ fi ++ else ++ pmda_infiniband=false ++ fi ++ LIBS=$savedLIBS ++ ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the infiniband PMDA should be included" >&5 ++printf %s "checking if the infiniband PMDA should be included... " >&6; } ++PMDA_INFINIBAND=$pmda_infiniband ++ ++if $pmda_infiniband; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++pmda_perfevent=false ++if test "x$do_perfevent" = "xyes" ++then : ++ ++ pmda_perfevent=true ++ pfm_libs="-lpfm" ++ PFM_LIBS=$pfm_libs ++ ++ ++elif test "x$do_perfevent" != "xno" ++then : ++ ++ enable_perfevent=true ++ ++ savedLIBS=$LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pfm_get_os_event_encoding in -lpfm" >&5 ++printf %s "checking for pfm_get_os_event_encoding in -lpfm... " >&6; } ++if test ${ac_cv_lib_pfm_pfm_get_os_event_encoding+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpfm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char pfm_get_os_event_encoding (); ++int ++main (void) ++{ ++return pfm_get_os_event_encoding (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_pfm_pfm_get_os_event_encoding=yes ++else $as_nop ++ ac_cv_lib_pfm_pfm_get_os_event_encoding=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pfm_pfm_get_os_event_encoding" >&5 ++printf "%s\n" "$ac_cv_lib_pfm_pfm_get_os_event_encoding" >&6; } ++if test "x$ac_cv_lib_pfm_pfm_get_os_event_encoding" = xyes ++then : ++ pfm_libs="-lpfm" ++else $as_nop ++ enable_perfevent=false ++fi ++ ++ for ac_header in perfmon/pfmlib_perf_event.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "perfmon/pfmlib_perf_event.h" "ac_cv_header_perfmon_pfmlib_perf_event_h" "$ac_includes_default" ++if test "x$ac_cv_header_perfmon_pfmlib_perf_event_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_PERFMON_PFMLIB_PERF_EVENT_H 1" >>confdefs.h ++ ++else $as_nop ++ enable_perfevent=false ++fi ++ ++done ++ if test "$do_perfevent" != "check" -a "$enable_perfevent" != "true" ++ then ++ as_fn_error $? "libpfm is not installed, cannot enable the perfevent PMDA" "$LINENO" 5 ++ else ++ pmda_perfevent=$enable_perfevent ++ fi ++ LIBS=$savedLIBS ++ PFM_LIBS=$pfm_libs ++ ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the perfevent PMDA should be included" >&5 ++printf %s "checking if the perfevent PMDA should be included... " >&6; } ++PMDA_PERFEVENT=$pmda_perfevent ++ ++if $pmda_perfevent; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hdr_init in -lhdr_histogram" >&5 ++printf %s "checking for hdr_init in -lhdr_histogram... " >&6; } ++if test ${ac_cv_lib_hdr_histogram_hdr_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lhdr_histogram $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char hdr_init (); ++int ++main (void) ++{ ++return hdr_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_hdr_histogram_hdr_init=yes ++else $as_nop ++ ac_cv_lib_hdr_histogram_hdr_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdr_histogram_hdr_init" >&5 ++printf "%s\n" "$ac_cv_lib_hdr_histogram_hdr_init" >&6; } ++if test "x$ac_cv_lib_hdr_histogram_hdr_init" = xyes ++then : ++ lib_for_hdr_histogram="-lz -lhdr_histogram" ++fi ++ ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chan_init in -lchan" >&5 ++printf %s "checking for chan_init in -lchan... " >&6; } ++if test ${ac_cv_lib_chan_chan_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lchan $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char chan_init (); ++int ++main (void) ++{ ++return chan_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_chan_chan_init=yes ++else $as_nop ++ ac_cv_lib_chan_chan_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_chan_chan_init" >&5 ++printf "%s\n" "$ac_cv_lib_chan_chan_init" >&6; } ++if test "x$ac_cv_lib_chan_chan_init" = xyes ++then : ++ lib_for_chan="-lchan" ++fi ++ ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the statsd PMDA should be included" >&5 ++printf %s "checking if the statsd PMDA should be included... " >&6; } ++pmda_statsd=false ++if test "x$do_pmdastatsd" = "xyes" ++then : ++ pmda_statsd=true ++fi ++if test "x$do_pmdastatsd" = "xcheck" ++then : ++ ++ if test "x$lib_for_hdr_histogram" != "x" -a "x$lib_for_chan" != "x"; then ++ pmda_statsd=true ++ fi ++fi ++PMDA_STATSD=$pmda_statsd ++ ++if $pmda_statsd; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the podman PMDA should be included" >&5 ++printf %s "checking if the podman PMDA should be included... " >&6; } ++pmda_podman=true ++if test "x$do_pmdapodman" = "xno" ++then : ++ pmda_podman=false ++fi ++PMDA_PODMAN=$pmda_podman ++ ++if $pmda_podman; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++pmda_postfix=false ++for ac_prog in qshape ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_QSHAPE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test -n "$QSHAPE"; then ++ ac_cv_prog_QSHAPE="$QSHAPE" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="path=$PATH:/usr/sbin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_prog_QSHAPE="$ac_prog" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++QSHAPE=$ac_cv_prog_QSHAPE ++if test -n "$QSHAPE"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QSHAPE" >&5 ++printf "%s\n" "$QSHAPE" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++ test -n "$QSHAPE" && break ++done ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the postfix PMDA should be included" >&5 ++printf %s "checking if the postfix PMDA should be included... " >&6; } ++if test -n "$QSHAPE" ++then ++ pmda_postfix=true ++else ++ for script in /usr/share/doc/packages/postfix-doc/auxiliary/qshape/qshape.pl ++ do ++ if test -f "$script" ++ then ++ pmda_postfix=true ++ break ++ fi ++ done ++fi ++PMDA_POSTFIX=$pmda_postfix ++ ++if $pmda_postfix; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if selinux policy should be included" >&5 ++printf %s "checking if selinux policy should be included... " >&6; } ++enable_selinux=false ++if test "xdo_selinux" != "xno" ++then : ++ ++ if test -f /usr/share/selinux/devel/Makefile ++ then ++ enable_selinux=true ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ fi ++ ++fi ++test "$enable_selinux" = "false" && { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 ++printf %s "checking return type of signal handlers... " >&6; } ++if test ${ac_cv_type_signal+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++ ++int ++main (void) ++{ ++return *(signal (0, 0)) (0) == 1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_type_signal=int ++else $as_nop ++ ac_cv_type_signal=void ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 ++printf "%s\n" "$ac_cv_type_signal" >&6; } ++ ++printf "%s\n" "@%:@define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5 ++printf %s "checking for wait3 that fills in rusage... " >&6; } ++if test ${ac_cv_func_wait3_rusage+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test "$cross_compiling" = yes ++then : ++ ac_cv_func_wait3_rusage=no ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++#include ++#include ++/* HP-UX has wait3 but does not fill in rusage at all. */ ++int ++main (void) ++{ ++ struct rusage r; ++ int i; ++ /* Use a field that we can force nonzero -- ++ voluntary context switches. ++ For systems like NeXT and OSF/1 that don't set it, ++ also use the system CPU time. And page faults (I/O) for Linux. */ ++ r.ru_nvcsw = 0; ++ r.ru_stime.tv_sec = 0; ++ r.ru_stime.tv_usec = 0; ++ r.ru_majflt = r.ru_minflt = 0; ++ switch (fork ()) ++ { ++ case 0: /* Child. */ ++ sleep(1); /* Give up the CPU. */ ++ _exit(0); ++ break; ++ case -1: /* What can we do? */ ++ _exit(0); ++ break; ++ default: /* Parent. */ ++ wait3(&i, 0, &r); ++ /* Avoid "text file busy" from rm on fast HP-UX machines. */ ++ sleep(2); ++ return (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0 ++ && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0); ++ } ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO" ++then : ++ ac_cv_func_wait3_rusage=yes ++else $as_nop ++ ac_cv_func_wait3_rusage=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5 ++printf "%s\n" "$ac_cv_func_wait3_rusage" >&6; } ++if test $ac_cv_func_wait3_rusage = yes; then ++ ++printf "%s\n" "@%:@define HAVE_WAIT3 1" >>confdefs.h ++ ++fi ++ ++ac_func= ++for ac_item in $ac_func_c_list ++do ++ if test $ac_func; then ++ ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func ++ if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then ++ echo "#define $ac_item 1" >> confdefs.h ++ fi ++ ac_func= ++ else ++ ac_func=$ac_item ++ fi ++done ++ ++if test "x$ac_cv_func_vprintf" = xno ++then : ++ ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" ++if test "x$ac_cv_func__doprnt" = xyes ++then : ++ ++printf "%s\n" "@%:@define HAVE_DOPRNT 1" >>confdefs.h ++ ++fi ++ ++fi ++ac_fn_c_check_func "$LINENO" "mktime" "ac_cv_func_mktime" ++if test "x$ac_cv_func_mktime" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_MKTIME 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" ++if test "x$ac_cv_func_nanosleep" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NANOSLEEP 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep" ++if test "x$ac_cv_func_usleep" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_USLEEP 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" ++if test "x$ac_cv_func_unsetenv" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_UNSETENV 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" ++if test "x$ac_cv_func_select" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SELECT 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" ++if test "x$ac_cv_func_socket" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SOCKET 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog" ++if test "x$ac_cv_func_syslog" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYSLOG 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "sendmsg" "ac_cv_func_sendmsg" ++if test "x$ac_cv_func_sendmsg" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SENDMSG 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "recvmsg" "ac_cv_func_recvmsg" ++if test "x$ac_cv_func_recvmsg" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_RECVMSG 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "setns" "ac_cv_func_setns" ++if test "x$ac_cv_func_setns" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SETNS 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "getuid" "ac_cv_func_getuid" ++if test "x$ac_cv_func_getuid" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETUID 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgid" "ac_cv_func_getgid" ++if test "x$ac_cv_func_getgid" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETGID 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpeerucred" "ac_cv_func_getpeerucred" ++if test "x$ac_cv_func_getpeerucred" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETPEERUCRED 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpeereid" "ac_cv_func_getpeereid" ++if test "x$ac_cv_func_getpeereid" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETPEEREID 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" ++if test "x$ac_cv_func_uname" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_UNAME 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" ++if test "x$ac_cv_func_gethostname" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETHOSTNAME 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getdomainname" "ac_cv_func_getdomainname" ++if test "x$ac_cv_func_getdomainname" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETDOMAINNAME 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getmachineid" "ac_cv_func_getmachineid" ++if test "x$ac_cv_func_getmachineid" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETMACHINEID 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "__clone" "ac_cv_func___clone" ++if test "x$ac_cv_func___clone" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE___CLONE 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2" ++if test "x$ac_cv_func_pipe2" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_PIPE2 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl" ++if test "x$ac_cv_func_fcntl" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_FCNTL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "ioctl" "ac_cv_func_ioctl" ++if test "x$ac_cv_func_ioctl" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_IOCTL 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl" ++if test "x$ac_cv_func_prctl" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_PRCTL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "setlinebuf" "ac_cv_func_setlinebuf" ++if test "x$ac_cv_func_setlinebuf" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SETLINEBUF 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "waitpid" "ac_cv_func_waitpid" ++if test "x$ac_cv_func_waitpid" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_WAITPID 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit" ++if test "x$ac_cv_func_atexit" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_ATEXIT 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "kill" "ac_cv_func_kill" ++if test "x$ac_cv_func_kill" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_KILL 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "chown" "ac_cv_func_chown" ++if test "x$ac_cv_func_chown" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_CHOWN 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "fchmod" "ac_cv_func_fchmod" ++if test "x$ac_cv_func_fchmod" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_FCHMOD 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd" ++if test "x$ac_cv_func_getcwd" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETCWD 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "scandir" "ac_cv_func_scandir" ++if test "x$ac_cv_func_scandir" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SCANDIR 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" ++if test "x$ac_cv_func_mkstemp" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_MKSTEMP 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "brk" "ac_cv_func_brk" ++if test "x$ac_cv_func_brk" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_BRK 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "sbrk" "ac_cv_func_sbrk" ++if test "x$ac_cv_func_sbrk" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SBRK 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign" ++if test "x$ac_cv_func_posix_memalign" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_POSIX_MEMALIGN 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "memalign" "ac_cv_func_memalign" ++if test "x$ac_cv_func_memalign" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_MEMALIGN 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" ++if test "x$ac_cv_func_valloc" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_VALLOC 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "signal" "ac_cv_func_signal" ++if test "x$ac_cv_func_signal" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SIGNAL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "sighold" "ac_cv_func_sighold" ++if test "x$ac_cv_func_sighold" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SIGHOLD 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "sigrelse" "ac_cv_func_sigrelse" ++if test "x$ac_cv_func_sigrelse" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SIGRELSE 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "tcgetattr" "ac_cv_func_tcgetattr" ++if test "x$ac_cv_func_tcgetattr" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_TCGETATTR 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "regex" "ac_cv_func_regex" ++if test "x$ac_cv_func_regex" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_REGEX 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "regcmp" "ac_cv_func_regcmp" ++if test "x$ac_cv_func_regcmp" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_REGCMP 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec" ++if test "x$ac_cv_func_regexec" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_REGEXEC 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "regcomp" "ac_cv_func_regcomp" ++if test "x$ac_cv_func_regcomp" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_REGCOMP 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "strtod" "ac_cv_func_strtod" ++if test "x$ac_cv_func_strtod" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STRTOD 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" ++if test "x$ac_cv_func_strtol" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STRTOL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" ++if test "x$ac_cv_func_strtoll" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STRTOLL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" ++if test "x$ac_cv_func_strtoull" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STRTOULL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" ++if test "x$ac_cv_func_strndup" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STRNDUP 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul" ++if test "x$ac_cv_func_strchrnul" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_STRCHRNUL 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "getgrent" "ac_cv_func_getgrent" ++if test "x$ac_cv_func_getgrent" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETGRENT 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrent_r" "ac_cv_func_getgrent_r" ++if test "x$ac_cv_func_getgrent_r" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETGRENT_R 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrnam" "ac_cv_func_getgrnam" ++if test "x$ac_cv_func_getgrnam" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETGRNAM 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrnam_r" "ac_cv_func_getgrnam_r" ++if test "x$ac_cv_func_getgrnam_r" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETGRNAM_R 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrgid" "ac_cv_func_getgrgid" ++if test "x$ac_cv_func_getgrgid" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETGRGID 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrgid_r" "ac_cv_func_getgrgid_r" ++if test "x$ac_cv_func_getgrgid_r" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETGRGID_R 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "getpwent" "ac_cv_func_getpwent" ++if test "x$ac_cv_func_getpwent" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETPWENT 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwent_r" "ac_cv_func_getpwent_r" ++if test "x$ac_cv_func_getpwent_r" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETPWENT_R 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwnam" "ac_cv_func_getpwnam" ++if test "x$ac_cv_func_getpwnam" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETPWNAM 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwnam_r" "ac_cv_func_getpwnam_r" ++if test "x$ac_cv_func_getpwnam_r" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETPWNAM_R 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwuid" "ac_cv_func_getpwuid" ++if test "x$ac_cv_func_getpwuid" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETPWUID 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwuid_r" "ac_cv_func_getpwuid_r" ++if test "x$ac_cv_func_getpwuid_r" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_GETPWUID_R 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" ++if test "x$ac_cv_func_sysinfo" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SYSINFO 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "trace_back_stack" "ac_cv_func_trace_back_stack" ++if test "x$ac_cv_func_trace_back_stack" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_TRACE_BACK_STACK 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" ++if test "x$ac_cv_func_backtrace" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_BACKTRACE 1" >>confdefs.h ++ ++fi ++ ++ ++if test $target_os = solaris ++then ++ ac_fn_c_check_type "$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default" ++if test "x$ac_cv_type___int32_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define __int32_t int32_t" >>confdefs.h ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default" ++if test "x$ac_cv_type___uint32_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define __uint32_t uint32_t" >>confdefs.h ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default" ++if test "x$ac_cv_type___int64_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define __int64_t int64_t" >>confdefs.h ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default" ++if test "x$ac_cv_type___uint64_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define __uint64_t uint64_t" >>confdefs.h ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default" ++if test "x$ac_cv_type_uint_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define uint_t u_int32_t" >>confdefs.h ++ ++fi ++ ++else ++ ac_fn_c_check_type "$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default" ++if test "x$ac_cv_type___int32_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define __int32_t int" >>confdefs.h ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default" ++if test "x$ac_cv_type___uint32_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define __uint32_t unsigned int" >>confdefs.h ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default" ++if test "x$ac_cv_type___int64_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define __int64_t long long" >>confdefs.h ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default" ++if test "x$ac_cv_type___uint64_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define __uint64_t unsigned long long" >>confdefs.h ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default" ++if test "x$ac_cv_type_uint_t" = xyes ++then : ++ ++else $as_nop ++ ++printf "%s\n" "@%:@define uint_t unsigned int" >>confdefs.h ++ ++fi ++ ++fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __psint_t " >&5 ++printf %s "checking for __psint_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ #include ++ ++int ++main (void) ++{ ++ __psint_t psint; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE___PSINT_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t " >&5 ++printf %s "checking for ptrdiff_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_MALLOC_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ ptrdiff_t ptrdiff; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_PTRDIFF_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t " >&5 ++printf %s "checking for uid_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_PWD_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ uid_t uid; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_UID_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gid_t " >&5 ++printf %s "checking for gid_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_GRP_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ gid_t gid; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_GID_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SID " >&5 ++printf %s "checking for SID ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #ifdef HAVE_WINDOWS_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ SID sid; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SID 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t " >&5 ++printf %s "checking for socklen_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_SYS_SOCKET_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ socklen_t len; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SOCKLEN_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ long long x = 0LL; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_CONST_LONGLONG 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ ++int ++main (void) ++{ ++ char **x = _environ; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_UNDERBAR_ENVIRON 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PR_TERMCHILD constant in sys/prctl.h" >&5 ++printf %s "checking for PR_TERMCHILD constant in sys/prctl.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #ifdef HAVE_SYS_PRCTL_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ int i = PR_TERMCHILD; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_PR_TERMCHILD 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PR_SET_PDEATHSIG constant in sys/prctl.h" >&5 ++printf %s "checking for PR_SET_PDEATHSIG constant in sys/prctl.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #ifdef HAVE_SYS_PRCTL_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ int i = PR_SET_PDEATHSIG; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_PR_SET_PDEATHSIG 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5 ++printf %s "checking whether termios.h defines TIOCGWINSZ... " >&6; } ++if test ${ac_cv_sys_tiocgwinsz_in_termios_h+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#ifdef TIOCGWINSZ ++ yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1 ++then : ++ ac_cv_sys_tiocgwinsz_in_termios_h=yes ++else $as_nop ++ ac_cv_sys_tiocgwinsz_in_termios_h=no ++fi ++rm -rf conftest* ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 ++printf "%s\n" "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; } ++ ++if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 ++printf %s "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; } ++if test ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#ifdef TIOCGWINSZ ++ yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1 ++then : ++ ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes ++else $as_nop ++ ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no ++fi ++rm -rf conftest* ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 ++printf "%s\n" "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; } ++ ++ if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then ++ ++printf "%s\n" "@%:@define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h ++ ++ fi ++fi ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linker supports -rdynamic" >&5 ++printf %s "checking if linker supports -rdynamic... " >&6; } ++save_CFLAGS="$CFLAGS" ++CFLAGS="-rdynamic" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ rdynamic_flag=-rdynamic ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ rdynamic_flag= ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++CFLAGS="$save_CFLAGS" ++ ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether const arg for scandir() select method" >&5 ++printf %s "checking whether const arg for scandir() select method... " >&6; } ++cat <conftest.c ++#include ++#include ++#include ++static int ++my_select(const struct dirent *foo) { return 0; } ++int main() { struct dirent **list; return scandir(".", &list, my_select, NULL); } ++End-of-File ++(eval $ac_compile) 2>conftest.out ++cat conftest.out >&5 ++if test -s conftest.out ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++else ++ ++printf "%s\n" "@%:@define HAVE_CONST_DIRENT 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++fi ++rm -f conftest.* ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct dirent has a d_off field" >&5 ++printf %s "checking whether struct dirent has a d_off field... " >&6; } ++cat <conftest.c ++#include ++#include ++#include ++int main() { struct dirent d; d.d_off = 0; } ++End-of-File ++(eval $ac_compile) 2>conftest.out ++cat conftest.out >&5 ++if test -s conftest.out ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++else ++ ++printf "%s\n" "@%:@define HAVE_DIRENT_D_OFF 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++fi ++rm -f conftest.* ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if printf %p produces 0x prefix" >&5 ++printf %s "checking if printf %p produces 0x prefix... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$printf_p_prefix ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++int main(int argc, char **argv) { printf("%p", argv); return(0); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++case "$ans" ++in ++ 0x*) ++ ++printf "%s\n" "@%:@define HAVE_PRINTF_P_PFX 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ;; ++ *) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ;; ++esac ++rm -rf conftest conftest.* ++ ++_do_type() ++{ ++ # need to deal with this sort of cpp output ... ++ # typedef long pid_t; ++ # typedef unsigned int pid_t; ++ # typedef unsigned int pid_t __attribute__ ((__mode__ (__SI__))); ++ # __extension__ typedef int pid_t; ++ # typedef foo_t ++ # pid_t; ++ # typedef struct { ++ # .... ++ # } pid_t; ++ # typedef ... *pid; ++ # and chaining of the form ++ # typedef long __pid_t; ++ # typedef __pid_t pid_t; ++ # ++ if test $target_os = darwin ++ then ++ # Need to strip -arch foo args for gcc -E ++ _myflags=`echo "$CPPFLAGS" "$CFLAGS" | sed -e 's/-arch [^ ]*//g'` ++ else ++ _myflags="$CPPFLAGS $CFLAGS" ++ fi ++ _raw=`$CPP $_myflags conftest.c \ ++ | $SED \ ++ -e 's/[ ]__attribute__ ((.*));/;/' \ ++ -e 's/__extension__[ ][ ]*//' \ ++ | $AWK ' ++/bozo/ { print; next } ++$1 == "typedef" { printf "%s",$0 ++ if ($NF ~ /;$/) { ++ print "" ++ next ++ } ++ wantsemi = 1 ++ if ($0 ~ /{/) depth = 1 ++ next ++ } ++wantsemi == 1 { printf " %s",$0 ++ if ($0 ~ /{/) depth++ ++ if (depth) { ++ if ($0 ~ /}/) depth-- ++ if (depth > 0) next ++ } ++ if ($NF ~ /;$/) { ++ print "" ++ wantsemi = 0 ++ next ++ } ++ }' \ ++ | $SED \ ++ -e 's/\*/* /g' \ ++ -e 's/^[ ]*//' \ ++ -e 's/;[ ]*$//' \ ++ | $AWK ' ++$1 == "typedef" { map[$NF] = "" ++ for (i = 2; i < NF; i++) { ++ if (i == 2) ++ map[$NF] = $i ++ else ++ map[$NF] = map[$NF] " " $i ++ } ++ print $NF " -> " map[$NF] >"conftest.debug" ++ next ++ } ++$2 == "bozo" { t = $1 ++ printf "best guess: %s",t >"conftest.debug" ++ while (map[t] != "") { ++ t = map[t] ++ printf " -> %s",t >"conftest.debug" ++ } ++ print "" >"conftest.debug" ++ print t ++ exit ++ }'` ++ case "$_raw" ++ in ++ int) ++ _fmt='d' ++ ;; ++ unsigned|'unsigned int') ++ _fmt='u' ++ ;; ++ long|'long int') ++ _fmt='ld' ++ ;; ++ 'long long'|'long long int') ++ if test $target_os = mingw; then ++ _fmt='I64d' ++ else ++ _fmt='lld' ++ fi ++ ;; ++ 'unsigned long'|'unsigned long int'|'long unsigned int') ++ _fmt='lu' ++ ;; ++ 'unsigned long long'|'unsigned long long int') ++ if test $target_os = mingw; then ++ _fmt='I64u' ++ else ++ _fmt='llu' ++ fi ++ ;; ++ *\*) # pointer to a something ++ _fmt='p' ++ ;; ++ struct\ *) # not much can be done here ... ++ _fmt='p' ++ ;; ++ *) ++ echo ++ echo "FATAL ERROR: don't know what to do with type \"$_raw\"" ++ echo "... typedef mapping ..." ++ cat conftest.debug ++ rm -rf conftest conftest.* ++ exit 1 ++ ;; ++ esac ++} ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking printf type for pid_t" >&5 ++printf %s "checking printf type for pid_t... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$printf_fmt_pid ++ echo "cross-compile -> \"$ans\"" >&5 ++ fmt_pid=$ans ++else ++ cat <conftest.c ++#include ++#include ++#if defined pid_t /* for NetBSD 8.0 */ ++#undef pid_t ++#endif ++pid_t bozo; ++End-of-File ++ _do_type ++ fmt_pid=$_fmt ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fmt_pid" >&5 ++printf "%s\n" "$fmt_pid" >&6; } ++ ++rm -rf conftest.c conftest.debug ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking printf type for int64_t " >&5 ++printf %s "checking printf type for int64_t ... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$printf_fmt_int64 ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++#include ++#include ++int main() ++{ ++#if defined(__PRI64_PREFIX) ++ /* most of the civilized universe */ ++ printf("%s\n", __PRI64_PREFIX "d"); ++#elif defined(__PRI_64_LENGTH_MODIFIER__) ++ /* Darwin */ ++ printf("%s\n", __PRI_64_LENGTH_MODIFIER__ "d"); ++#else ++ bozo! /* fall through to the second approach below */ ++#endif ++ return(0); ++} ++End-of-File ++ ans='' ++ (eval $ac_link) 2>&5 ++ if test -x ./conftest ++ then ++ ans=`./conftest` ++ echo "./conftest (first approach) -> \"$ans\"" >&5 ++ fi ++ if test -z "$ans" ++ then ++ cat <conftest.c ++#include ++#include ++#include ++int main() ++{ ++#ifdef __WORDSIZE ++/* logic copied from */ ++#if __WORDSIZE == 64 ++ printf("ld\n"); ++#else ++ printf("lld\n"); ++#endif ++#else ++/* ++ * on NetBSD and OpenBSD, for example, there is no __WORDSIZE ++ * so fall through to the third approach below ... ++ */ ++#endif ++ return(0); ++} ++End-of-File ++ (eval $ac_link) 2>&5 ++ if test -x ./conftest ++ then ++ ans=`./conftest` ++ if test $target_os = mingw -a "$ans" = "lld"; then ++ ans='I64d' ++ fi ++ echo "./conftest (second approach) -> \"$ans\"" >&5 ++ fi ++ fi ++ if test -z "$ans" -a "$GCC" = "yes" ++ then ++ rm -f conftest.ans ++ for fmt in lld ld d ++ do ++ cat <conftest.$ac_ext ++#include ++#include ++int main(void) ++{ ++ int64_t x = -1; ++ printf("%$fmt\n", x); ++ return 0; ++} ++End-of-File ++ $CC -Wall $CFLAGS $CPPFLAGS -c conftest.$ac_ext 2>conftest.err ++ if test -s conftest.err >/dev/null ++ then ++ echo "-- not $fmt for fmt_64" >&5 ++ cat conftest.err >&5 ++ else ++ echo "$fmt" >conftest.ans ++ echo "no warnings (third approach) -> \"$fmt\"" >&5 ++ break ++ fi ++ done ++ test -s conftest.ans && ans=`cat conftest.ans` ++ rm -f conftest.ans conftest.err ++ fi ++fi ++if test -z "$ans" ++then ++ echo 'FATAL ERROR: Cannot determine printf format for int64_t type' ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++fmt_int64=$ans ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fmt_int64" >&5 ++printf "%s\n" "$fmt_int64" >&6; } ++ ++fmt_uint64=`echo $fmt_int64 | sed -e 's/d$/u/'` ++ ++rm -rf conftest.* conftest ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking strtol or strtoll for int64_t" >&5 ++printf %s "checking strtol or strtoll for int64_t... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans="$strtoint64" ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++#include ++main() ++{ ++ long long int value = -1; ++ value = strtol("1234567812345678", NULL, 16); ++ if (value == 0x1234567812345678LL) { ++ printf("strotol\n"); ++ exit(0); ++ } ++ value = strtoll("1234567812345678", NULL, 16); ++ if (value == 0x1234567812345678LL) { ++ printf("strtoll\n"); ++ exit(0); ++ } ++ exit(1); ++} ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++case "$ans" ++in ++ strtol) ++ ++printf "%s\n" "@%:@define strtoint64 strtol" >>confdefs.h ++ ++ ++printf "%s\n" "@%:@define strtouint64 strtoul" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: strtol" >&5 ++printf "%s\n" "strtol" >&6; } ++ ;; ++ strtoll) ++ ++printf "%s\n" "@%:@define strtoint64 strtoll" >>confdefs.h ++ ++ ++printf "%s\n" "@%:@define strtouint64 strtoull" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: strtoll" >&5 ++printf "%s\n" "strtoll" >&6; } ++ ;; ++ *) ++ ++printf "%s\n" "@%:@define strtoint64 strtoll" >>confdefs.h ++ ++ ++printf "%s\n" "@%:@define strtouint64 strtoull" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: assuming strtoll" >&5 ++printf "%s\n" "assuming strtoll" >&6; } ++ ;; ++esac ++rm -rf conftest conftest.* ++ ++if test "$do_threads" = "check" -o "$do_threads" = "yes" ++then ++ for ac_header in pthread.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" ++if test "x$ac_cv_header_pthread_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_PTHREAD_H 1" >>confdefs.h ++ ++else $as_nop ++ ++ if test "$do_threads" = "yes" ++ then ++ as_fn_error $? "cannot enable multi-threaded mode - no pthread.h" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_t in pthread.h" >&5 ++printf %s "checking for pthread_mutex_t in pthread.h... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++pthread_mutex_t mymutex; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_PTHREAD_MUTEX_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ ++ if test "$do_threads" = "yes" ++ then ++ as_fn_error $? "cannot enable multi-threaded mode - no mutexes" "$LINENO" 5 ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ fi ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where pthread_create() is defined" >&5 ++printf %s "checking where pthread_create() is defined... " >&6; } ++ for cand in "" pthreads pthread ; do ++ savedLIBS=$LIBS ++ if test -n "$cand" ++ then ++ LIBS=`echo $LIBS -l$cand` ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ ++ pthread_create(NULL, NULL, NULL, NULL); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: lib${cand:-c}" >&5 ++printf "%s\n" "lib${cand:-c}" >&6; } ++ if test -z "$cand" ++ then ++ lib_for_pthreads="$cand" ++ else ++ lib_for_pthreads="-l$cand" ++ fi ++ LIBS=$savedLIBS ++ break ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS=$savedLIBS ++ done ++ ++ ++ if test "$ac_cv_header_pthread_h" = "yes" ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking printf type for pthread_t" >&5 ++printf %s "checking printf type for pthread_t... " >&6; } ++ cat <conftest.c ++#include ++pthread_t bozo; ++End-of-File ++ _do_type ++ fmt_pthread=$_fmt ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fmt_pthread" >&5 ++printf "%s\n" "$fmt_pthread" >&6; } ++ ++ rm -rf conftest.c conftest.debug ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports __thread" >&5 ++printf %s "checking if compiler supports __thread... " >&6; } ++ if test $target_os = netbsd ++ then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 5 ) ++broken! ++#else ++__thread int x; ++#endif ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE___THREAD 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++__thread int x; ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE___THREAD 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ fi ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_barrier_t in pthread.h" >&5 ++printf %s "checking for pthread_barrier_t in pthread.h... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++pthread_barrier_t mybarrier; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_PTHREAD_BARRIER_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ fi ++fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof suseconds_t" >&5 ++printf %s "checking sizeof suseconds_t... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_suseconds_t ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(suseconds_t)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++ rm -rf conftest conftest.* ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } ++if test -n "$ans"; then ++ ++printf "%s\n" "@%:@define PM_SIZEOF_SUSECONDS_T $ans" >>confdefs.h ++ ++fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof time_t" >&5 ++printf %s "checking sizeof time_t... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_time_t ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(time_t)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++ rm -rf conftest conftest.* ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } ++if test -n "$ans"; then ++ ++printf "%s\n" "@%:@define PM_SIZEOF_TIME_T $ans" >>confdefs.h ++ ++fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof long" >&5 ++printf %s "checking sizeof long... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_long ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(long)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } ++if test "$ans" = 4; then ++ ++printf "%s\n" "@%:@define HAVE_32BIT_LONG 1" >>confdefs.h ++ ++elif test "$ans" = 8; then ++ ++printf "%s\n" "@%:@define HAVE_64BIT_LONG 1" >>confdefs.h ++ ++else ++ echo ++ echo "FATAL ERROR: size of long is not 32 or 64 bits, cannot proceed." ++ echo "sizeof(char *) -> $ans" ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++rm -rf conftest conftest.* ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof pointer" >&5 ++printf %s "checking sizeof pointer... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_pointer ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(char *)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } ++if test "$ans" = 4; then ++ ++printf "%s\n" "@%:@define HAVE_32BIT_PTR 1" >>confdefs.h ++ ++ PCP_PTR_SIZE=32 ++elif test "$ans" = 8; then ++ ++printf "%s\n" "@%:@define HAVE_64BIT_PTR 1" >>confdefs.h ++ ++ PCP_PTR_SIZE=64 ++else ++ echo ++ echo "FATAL ERROR: size of pointer is not 32 or 64 bits, cannot proceed." ++ echo "sizeof(char *) -> $ans" ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++rm -rf conftest conftest.* ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof int" >&5 ++printf %s "checking sizeof int... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_int ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(int)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } ++if test "$ans" != 4 ++then ++ echo ++ echo "FATAL ERROR: sizeof(int) is not 32 bits, cannot proceed." ++ echo "Note: 32-bit ints are assumed in the PCP external file formats and" ++ echo " the over-the-wire PDU formats" ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++rm -rf conftest conftest.* ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if bit fields allocated left-to-right" >&5 ++printf %s "checking if bit fields allocated left-to-right... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$bit_field_scheme ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++union { struct { unsigned int b:4; unsigned int c:4; } a; int p; } u; ++main() { u.a.b = 1; u.a.c = 2; printf("%0*x", 2*sizeof(int), u.p); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++case "$ans" ++in ++ 1200*|*0012) ++ # left-to-right starting from MSB (SGI cc on MIPS), or ++ # left-to-right ending at LSB ++ ++printf "%s\n" "@%:@define HAVE_BITFIELDS_LTOR 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ ;; ++ 2100*|*0021) ++ # right-to-left ending at MSB, or ++ # right-to-left starting from LSB (gcc in Intel) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ;; ++ *) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 ++printf "%s\n" "unknown" >&6; } ++ echo "FATAL ERROR: could not fathom your compiler's bit field allocation scheme" ++ rm -f conftest conftest.* ++ exit 1 ++ ;; ++esac ++rm -rf conftest conftest.* ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ ++int ++main (void) ++{ ++ ++ __uint64_t x = 0; ++ double y = (double)x; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_CAST_U64_DOUBLE 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++ac_fn_c_check_func "$LINENO" "basename" "ac_cv_func_basename" ++if test "x$ac_cv_func_basename" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_BASENAME 1" >>confdefs.h ++ ++fi ++ ++if test $ac_cv_func_basename = yes ++then ++ ++printf "%s\n" "@%:@define HAVE_BASENAME 1" >>confdefs.h ++ ++ ++printf "%s\n" "@%:@define HAVE_DIRNAME 1" >>confdefs.h ++ ++ lib_for_basename="" ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for basename in -lgen" >&5 ++printf %s "checking for basename in -lgen... " >&6; } ++if test ${ac_cv_lib_gen_basename+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lgen $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char basename (); ++int ++main (void) ++{ ++return basename (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_gen_basename=yes ++else $as_nop ++ ac_cv_lib_gen_basename=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_basename" >&5 ++printf "%s\n" "$ac_cv_lib_gen_basename" >&6; } ++if test "x$ac_cv_lib_gen_basename" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBGEN 1" >>confdefs.h ++ ++ LIBS="-lgen $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_gen_basename = yes ++ then ++ ++printf "%s\n" "@%:@define HAVE_BASENAME 1" >>confdefs.h ++ ++ ++printf "%s\n" "@%:@define HAVE_DIRNAME 1" >>confdefs.h ++ ++ lib_for_basename="-lgen" ++ else ++ lib_for_basename="-lpcp" ++ fi ++fi ++ ++ ++lib_for_clock_gettime= ++ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" ++if test "x$ac_cv_func_clock_gettime" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_CLOCK_GETTIME 1" >>confdefs.h ++ ++fi ++ ++if test $ac_cv_func_clock_gettime = no ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 ++printf %s "checking for clock_gettime in -lrt... " >&6; } ++if test ${ac_cv_lib_rt_clock_gettime+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lrt $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char clock_gettime (); ++int ++main (void) ++{ ++return clock_gettime (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_rt_clock_gettime=yes ++else $as_nop ++ ac_cv_lib_rt_clock_gettime=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 ++printf "%s\n" "$ac_cv_lib_rt_clock_gettime" >&6; } ++if test "x$ac_cv_lib_rt_clock_gettime" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBRT 1" >>confdefs.h ++ ++ LIBS="-lrt $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_rt_clock_gettime = yes ++ then ++ ++printf "%s\n" "@%:@define HAVE_CLOCK_GETTIME 1" >>confdefs.h ++ ++ lib_for_rt=-lrt ++ fi ++fi ++ ++ ++lib_for_dlopen= ++ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" ++if test "x$ac_cv_func_dlopen" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_DLOPEN 1" >>confdefs.h ++ ++fi ++ ++if test $ac_cv_func_dlopen = no ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++printf %s "checking for dlopen in -ldl... " >&6; } ++if test ${ac_cv_lib_dl_dlopen+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char dlopen (); ++int ++main (void) ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_dl_dlopen=yes ++else $as_nop ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBDL 1" >>confdefs.h ++ ++ LIBS="-ldl $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_dl_dlopen = yes ++ then ++ ++printf "%s\n" "@%:@define HAVE_DLOPEN 1" >>confdefs.h ++ ++ lib_for_dlopen=-ldl ++ fi ++fi ++ ++ ++lib_for_math= ++ac_fn_c_check_func "$LINENO" "flog10" "ac_cv_func_flog10" ++if test "x$ac_cv_func_flog10" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_FLOG10 1" >>confdefs.h ++ ++fi ++ ++if test $ac_cv_func_flog10 = no ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flog10 in -lm" >&5 ++printf %s "checking for flog10 in -lm... " >&6; } ++if test ${ac_cv_lib_m_flog10+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char flog10 (); ++int ++main (void) ++{ ++return flog10 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_m_flog10=yes ++else $as_nop ++ ac_cv_lib_m_flog10=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_flog10" >&5 ++printf "%s\n" "$ac_cv_lib_m_flog10" >&6; } ++if test "x$ac_cv_lib_m_flog10" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBM 1" >>confdefs.h ++ ++ LIBS="-lm $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_m_flog10 = yes ++ then ++ ++printf "%s\n" "@%:@define HAVE_FLOG10 1" >>confdefs.h ++ ++ lib_for_math=-lm ++ fi ++else ++ ++printf "%s\n" "@%:@define HAVE_FLOG10 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" ++if test "x$ac_cv_func_pow" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_POW 1" >>confdefs.h ++ ++fi ++ ++if test $ac_cv_func_pow = no ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 ++printf %s "checking for pow in -lm... " >&6; } ++if test ${ac_cv_lib_m_pow+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char pow (); ++int ++main (void) ++{ ++return pow (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_m_pow=yes ++else $as_nop ++ ac_cv_lib_m_pow=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 ++printf "%s\n" "$ac_cv_lib_m_pow" >&6; } ++if test "x$ac_cv_lib_m_pow" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBM 1" >>confdefs.h ++ ++ LIBS="-lm $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_m_pow = yes ++ then ++ ++printf "%s\n" "@%:@define HAVE_POW 1" >>confdefs.h ++ ++ lib_for_math=-lm ++ fi ++else ++ ++printf "%s\n" "@%:@define HAVE_POW 1" >>confdefs.h ++ ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fpclassify()" >&5 ++printf %s "checking for fpclassify()... " >&6; } ++ac_cv_func_fpclassify=no ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ ++ double x = 123.456; ++ if (fpclassify(x) == FP_NAN) exit(1); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_func_fpclassify=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5 ++printf "%s\n" "$ac_cv_func_fpclassify" >&6; } ++if test $ac_cv_func_fpclassify = no ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fpclassify() with -lm" >&5 ++printf %s "checking for fpclassify() with -lm... " >&6; } ++ savedLIBS=$LIBS ++ LIBS=-lm ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ ++ double x = 123.456; ++ if (fpclassify(x) == FP_NAN) exit(1); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_func_fpclassify=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5 ++printf "%s\n" "$ac_cv_func_fpclassify" >&6; } ++ if test $ac_cv_func_fpclassify = yes ++ then ++ lib_for_math=-lm ++ fi ++ LIBS=$savedLIBS ++fi ++if test $ac_cv_func_fpclassify = yes ++then ++ ++printf "%s\n" "@%:@define HAVE_FPCLASSIFY 1" >>confdefs.h ++ ++else ++ ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" ++if test "x$ac_cv_func_isnan" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_ISNAN 1" >>confdefs.h ++ ++fi ++ ++ if test $ac_cv_func_isnan = no ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 ++printf %s "checking for isnan in -lm... " >&6; } ++if test ${ac_cv_lib_m_isnan+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char isnan (); ++int ++main (void) ++{ ++return isnan (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_m_isnan=yes ++else $as_nop ++ ac_cv_lib_m_isnan=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 ++printf "%s\n" "$ac_cv_lib_m_isnan" >&6; } ++if test "x$ac_cv_lib_m_isnan" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBM 1" >>confdefs.h ++ ++ LIBS="-lm $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_m_isnan = yes ++ then ++ ++printf "%s\n" "@%:@define HAVE_ISNAN 1" >>confdefs.h ++ ++ lib_for_math=-lm ++ fi ++ fi ++ ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" ++if test "x$ac_cv_func_isnanf" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_ISNANF 1" >>confdefs.h ++ ++fi ++ ++ if test $ac_cv_func_isnanf = no ++ then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnanf in -lm" >&5 ++printf %s "checking for isnanf in -lm... " >&6; } ++if test ${ac_cv_lib_m_isnanf+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char isnanf (); ++int ++main (void) ++{ ++return isnanf (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_m_isnanf=yes ++else $as_nop ++ ac_cv_lib_m_isnanf=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnanf" >&5 ++printf "%s\n" "$ac_cv_lib_m_isnanf" >&6; } ++if test "x$ac_cv_lib_m_isnanf" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBM 1" >>confdefs.h ++ ++ LIBS="-lm $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_m_isnanf = yes ++ then ++ ++printf "%s\n" "@%:@define HAVE_ISNANF 1" >>confdefs.h ++ ++ lib_for_math=-lm ++ fi ++ fi ++fi ++ ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++SIG_PF x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SIGPF 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++int x = SA_SIGINFO; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SA_SIGINFO 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++int x = SIGPIPE; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SIGPIPE 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++int x = SIGHUP; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SIGHUP 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++int x = SIGBUS; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_SIGBUS 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++ typedef void (*SIGRET)(int); ++ SIGRET x = SIG_IGN; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_WAIT_INCLUDES_SIGNAL 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++have_stat_type=false ++have_stat_name=false ++if test $have_stat_name = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "[ ]st_mtimespec" >/dev/null 2>&1 ++then : ++ have_stat_name=true; ++ ++printf "%s\n" "@%:@define HAVE_ST_MTIME_WITH_SPEC 1" >>confdefs.h ++ ++fi ++rm -rf conftest* ++ ++fi ++if test $have_stat_name = false -a $target_os != darwin -a $target_os != linux -a $target_os != kfreebsd -a $target_os != netbsd ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "[ ]st_mtime" >/dev/null 2>&1 ++then : ++ have_stat_name=true; ++ ++printf "%s\n" "@%:@define HAVE_ST_MTIME_WITH_E 1" >>confdefs.h ++ ++fi ++rm -rf conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "timestruc_t[ ][ ]*st_mtim" >/dev/null 2>&1 ++then : ++ have_stat_type=true; ++ ++printf "%s\n" "@%:@define HAVE_STAT_TIMESTRUC 1" >>confdefs.h ++ ++fi ++rm -rf conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "timespec_t[ ][ ]*st_mtim" >/dev/null 2>&1 ++then : ++ have_stat_type=true; ++ ++printf "%s\n" "@%:@define HAVE_STAT_TIMESPEC_T 1" >>confdefs.h ++ ++fi ++rm -rf conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "timespec[ ][ ]*st_mtim" >/dev/null 2>&1 ++then : ++ have_stat_type=true; ++ ++printf "%s\n" "@%:@define HAVE_STAT_TIMESPEC 1" >>confdefs.h ++ ++fi ++rm -rf conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "time_t[ ][ ]*st_mtim" >/dev/null 2>&1 ++then : ++ have_stat_type=true; ++ ++printf "%s\n" "@%:@define HAVE_STAT_TIME_T 1" >>confdefs.h ++ ++fi ++rm -rf conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ echo 'FATAL ERROR: Cannot determine struct stat time types.' ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++ ++ ++pcp_etc_dir=`eval echo $sysconfdir` ++pcp_etc_dir=`eval echo $pcp_etc_dir` ++ ++pcp_saslconf_dir=`eval echo $sysconfdir/sasl2` ++pcp_saslconf_dir=`eval echo $pcp_saslconf_dir` ++ ++pcp_sysconf_dir=`eval echo $sysconfdir/pcp` ++pcp_sysconf_dir=`eval echo $pcp_sysconf_dir` ++ ++pcp_pmcdconf_path=$pcp_sysconf_dir/pmcd/pmcd.conf ++pcp_pmcdrclocal_path=$pcp_sysconf_dir/pmcd/rc.local ++pcp_pmcdoptions_path=$pcp_sysconf_dir/pmcd/pmcd.options ++pcp_pmproxyoptions_path=$pcp_sysconf_dir/pmproxy/pmproxy.options ++pcp_pmiecontrol_path=$pcp_sysconf_dir/pmie/control ++pcp_pmsnapcontrol_path=$pcp_sysconf_dir/pmsnap/control ++pcp_pmloggercontrol_path=$pcp_sysconf_dir/pmlogger/control ++ ++ ++ ++ ++ ++ ++ ++ ++pcp_share_dir=`eval echo $datarootdir/pcp` ++pcp_share_dir=`eval echo $pcp_share_dir` ++ ++ ++pcp_selinux_dir=`eval echo $datarootdir/selinux` ++pcp_selinux_dir=`eval echo $pcp_selinux_dir` ++ ++ ++pcp_bashshare_dir=`eval echo $datarootdir/bash-completion` ++pcp_bashshare_dir=`eval echo $pcp_bashshare_dir` ++ ++ ++pcp_binadm_dir=`eval echo $libexecdir/pcp/bin` ++pcp_binadm_dir=`eval echo $pcp_binadm_dir` ++ ++ ++pcp_libadm_dir=`eval echo $libexecdir/pcp/lib` ++pcp_libadm_dir=`eval echo $pcp_libadm_dir` ++ ++ ++pcp_var_dir=`eval echo $localstatedir/lib/pcp` ++pcp_var_dir=`eval echo $pcp_var_dir` ++ ++ ++pcp_pmns_dir=$pcp_var_dir/pmns ++ ++pcp_pmnsadm_dir=`eval echo $libexecdir/pcp/pmns` ++pcp_pmnsadm_dir=`eval echo $pcp_pmnsadm_dir` ++ ++ ++pcp_pmdas_dir=$pcp_var_dir/pmdas ++ ++pcp_pmdasadm_dir=`eval echo $libexecdir/pcp/pmdas` ++pcp_pmdasadm_dir=`eval echo $pcp_pmdasadm_dir` ++ ++ ++pcp_lib_dir=`eval echo $libdir` ++pcp_lib_dir=`eval echo $pcp_lib_dir` ++pcp_lib32_dir=`echo $pcp_lib_dir | sed -e s,64,, -e s,//,/,` ++ ++ ++ ++ ++@%:@ Check whether --with-perl_installdirs was given. ++if test ${with_perl_installdirs+y} ++then : ++ withval=$with_perl_installdirs; perl_installdirs=$withval ++else $as_nop ++ perl_installdirs=vendor ++fi ++ ++perl_installdirs=`eval echo $perl_installdirs` ++perl_installdirs=`eval echo $perl_installdirs` ++ ++ ++@%:@ Check whether --with-perl_install_base was given. ++if test ${with_perl_install_base+y} ++then : ++ withval=$with_perl_install_base; perl_install_base=$withval ++else $as_nop ++ perl_install_base=$prefix ++fi ++ ++perl_install_base=`eval echo $perl_install_base` ++perl_install_base=`eval echo $perl_install_base` ++ ++ ++ ++@%:@ Check whether --with-python_prefix was given. ++if test ${with_python_prefix+y} ++then : ++ withval=$with_python_prefix; python_prefix=$withval ++else $as_nop ++ python_prefix=$prefix ++fi ++ ++python_prefix=`eval echo $python_prefix` ++python_prefix=`eval echo $python_prefix` ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5 ++printf %s "checking for X... " >&6; } ++ ++ ++@%:@ Check whether --with-x was given. ++if test ${with_x+y} ++then : ++ withval=$with_x; ++fi ++ ++# $have_x is `yes', `no', `disabled', or empty when we do not yet know. ++if test "x$with_x" = xno; then ++ # The user explicitly disabled X. ++ have_x=disabled ++else ++ case $x_includes,$x_libraries in #( ++ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( ++ *,NONE | NONE,*) if test ${ac_cv_have_x+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ # One or both of the vars are not set, and there is no cached value. ++ac_x_includes=no ++ac_x_libraries=no ++# Do we need to do anything special at all? ++ac_save_LIBS=$LIBS ++LIBS="-lX11 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main (void) ++{ ++XrmInitialize () ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ # We can compile and link X programs with no special options. ++ ac_x_includes= ++ ac_x_libraries= ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS="$ac_save_LIBS" ++# If that didn't work, only try xmkmf and file system searches ++# for native compilation. ++if test x"$ac_x_includes" = xno && test "$cross_compiling" = no ++then : ++ rm -f -r conftest.dir ++if mkdir conftest.dir; then ++ cd conftest.dir ++ cat >Imakefile <<'_ACEOF' ++incroot: ++ @echo incroot='${INCROOT}' ++usrlibdir: ++ @echo usrlibdir='${USRLIBDIR}' ++libdir: ++ @echo libdir='${LIBDIR}' ++_ACEOF ++ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then ++ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. ++ for ac_var in incroot usrlibdir libdir; do ++ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" ++ done ++ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. ++ for ac_extension in a so sl dylib la dll; do ++ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && ++ test -f "$ac_im_libdir/libX11.$ac_extension"; then ++ ac_im_usrlibdir=$ac_im_libdir; break ++ fi ++ done ++ # Screen out bogus values from the imake configuration. They are ++ # bogus both because they are the default anyway, and because ++ # using them would break gcc on systems where it needs fixed includes. ++ case $ac_im_incroot in ++ /usr/include) ac_x_includes= ;; ++ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; ++ esac ++ case $ac_im_usrlibdir in ++ /usr/lib | /usr/lib64 | /lib | /lib64) ;; ++ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; ++ esac ++ fi ++ cd .. ++ rm -f -r conftest.dir ++fi ++ ++ # Standard set of common directories for X headers. ++# Check X11 before X11Rn because it is often a symlink to the current release. ++ac_x_header_dirs=' ++/usr/X11/include ++/usr/X11R7/include ++/usr/X11R6/include ++/usr/X11R5/include ++/usr/X11R4/include ++ ++/usr/include/X11 ++/usr/include/X11R7 ++/usr/include/X11R6 ++/usr/include/X11R5 ++/usr/include/X11R4 ++ ++/usr/local/X11/include ++/usr/local/X11R7/include ++/usr/local/X11R6/include ++/usr/local/X11R5/include ++/usr/local/X11R4/include ++ ++/usr/local/include/X11 ++/usr/local/include/X11R7 ++/usr/local/include/X11R6 ++/usr/local/include/X11R5 ++/usr/local/include/X11R4 ++ ++/opt/X11/include ++ ++/usr/X386/include ++/usr/x386/include ++/usr/XFree86/include/X11 ++ ++/usr/include ++/usr/local/include ++/usr/unsupported/include ++/usr/athena/include ++/usr/local/x11r5/include ++/usr/lpp/Xamples/include ++ ++/usr/openwin/include ++/usr/openwin/share/include' ++ ++if test "$ac_x_includes" = no; then ++ # Guess where to find include files, by looking for Xlib.h. ++ # First, try using that file with no special directory specified. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO" ++then : ++ # We can compile using X headers with no special include directory. ++ac_x_includes= ++else $as_nop ++ for ac_dir in $ac_x_header_dirs; do ++ if test -r "$ac_dir/X11/Xlib.h"; then ++ ac_x_includes=$ac_dir ++ break ++ fi ++done ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++fi # $ac_x_includes = no ++ ++if test "$ac_x_libraries" = no; then ++ # Check for the libraries. ++ # See if we find them without any special options. ++ # Don't add to $LIBS permanently. ++ ac_save_LIBS=$LIBS ++ LIBS="-lX11 $LIBS" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++@%:@include ++int ++main (void) ++{ ++XrmInitialize () ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ LIBS=$ac_save_LIBS ++# We can link X programs with no special library path. ++ac_x_libraries= ++else $as_nop ++ LIBS=$ac_save_LIBS ++for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` ++do ++ # Don't even attempt the hair of trying to link an X program! ++ for ac_extension in a so sl dylib la dll; do ++ if test -r "$ac_dir/libX11.$ac_extension"; then ++ ac_x_libraries=$ac_dir ++ break 2 ++ fi ++ done ++done ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++fi # $ac_x_libraries = no ++ ++fi ++# Record the results. ++case $ac_x_includes,$ac_x_libraries in @%:@( ++ no,* | *,no | *\'*) : ++ # Didn't find X, or a directory has "'" in its name. ++ ac_cv_have_x="have_x=no" ;; @%:@( ++ *) : ++ # Record where we found X for the cache. ++ ac_cv_have_x="have_x=yes\ ++ ac_x_includes='$ac_x_includes'\ ++ ac_x_libraries='$ac_x_libraries'" ;; ++esac ++fi ++;; #( ++ *) have_x=yes;; ++ esac ++ eval "$ac_cv_have_x" ++fi # $with_x != no ++ ++if test "$have_x" != yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 ++printf "%s\n" "$have_x" >&6; } ++ no_x=yes ++else ++ # If each of the values was on the command line, it overrides each guess. ++ test "x$x_includes" = xNONE && x_includes=$ac_x_includes ++ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries ++ # Update the cache value to reflect the command line values. ++ ac_cv_have_x="have_x=yes\ ++ ac_x_includes='$x_includes'\ ++ ac_x_libraries='$x_libraries'" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 ++printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; } ++fi ++ ++if test "$no_x" = yes; then ++ # Not all programs may use this symbol, but it does not hurt to define it. ++ ++printf "%s\n" "@%:@define X_DISPLAY_MISSING 1" >>confdefs.h ++ ++ X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= ++else ++ if test -n "$x_includes"; then ++ X_CFLAGS="$X_CFLAGS -I$x_includes" ++ fi ++ ++ # It would also be nice to do this for all -L options, not just this one. ++ if test -n "$x_libraries"; then ++ X_LIBS="$X_LIBS -L$x_libraries" ++ # For Solaris; some versions of Sun CC require a space after -R and ++ # others require no space. Words are not sufficient . . . . ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 ++printf %s "checking whether -R must be followed by a space... " >&6; } ++ ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" ++ ac_xsave_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ X_LIBS="$X_LIBS -R$x_libraries" ++else $as_nop ++ LIBS="$ac_xsave_LIBS -R $x_libraries" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ X_LIBS="$X_LIBS -R $x_libraries" ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 ++printf "%s\n" "neither works" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ ac_c_werror_flag=$ac_xsave_c_werror_flag ++ LIBS=$ac_xsave_LIBS ++ fi ++ ++ # Check for system-dependent libraries X programs must link with. ++ # Do this before checking for the system-independent R6 libraries ++ # (-lICE), since we may need -lsocket or whatever for X linking. ++ ++ if test "$ISC" = yes; then ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" ++ else ++ # Martyn Johnson says this is needed for Ultrix, if the X ++ # libraries were built with DECnet support. And Karl Berry says ++ # the Alpha needs dnet_stub (dnet does not exist). ++ ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char XOpenDisplay (); ++int ++main (void) ++{ ++return XOpenDisplay (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 ++printf %s "checking for dnet_ntoa in -ldnet... " >&6; } ++if test ${ac_cv_lib_dnet_dnet_ntoa+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldnet $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char dnet_ntoa (); ++int ++main (void) ++{ ++return dnet_ntoa (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_dnet_dnet_ntoa=yes ++else $as_nop ++ ac_cv_lib_dnet_dnet_ntoa=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 ++printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; } ++if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes ++then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" ++fi ++ ++ if test $ac_cv_lib_dnet_dnet_ntoa = no; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 ++printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; } ++if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldnet_stub $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char dnet_ntoa (); ++int ++main (void) ++{ ++return dnet_ntoa (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_dnet_stub_dnet_ntoa=yes ++else $as_nop ++ ac_cv_lib_dnet_stub_dnet_ntoa=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 ++printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } ++if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes ++then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" ++fi ++ ++ fi ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$ac_xsave_LIBS" ++ ++ # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, ++ # to get the SysV transport functions. ++ # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) ++ # needs -lnsl. ++ # The nsl library prevents programs from opening the X display ++ # on Irix 5.2, according to T.E. Dickey. ++ # The functions gethostbyname, getservbyname, and inet_addr are ++ # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. ++ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" ++if test "x$ac_cv_func_gethostbyname" = xyes ++then : ++ ++fi ++ ++ if test $ac_cv_func_gethostbyname = no; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 ++printf %s "checking for gethostbyname in -lnsl... " >&6; } ++if test ${ac_cv_lib_nsl_gethostbyname+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnsl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char gethostbyname (); ++int ++main (void) ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_nsl_gethostbyname=yes ++else $as_nop ++ ac_cv_lib_nsl_gethostbyname=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 ++printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } ++if test "x$ac_cv_lib_nsl_gethostbyname" = xyes ++then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" ++fi ++ ++ if test $ac_cv_lib_nsl_gethostbyname = no; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 ++printf %s "checking for gethostbyname in -lbsd... " >&6; } ++if test ${ac_cv_lib_bsd_gethostbyname+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lbsd $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char gethostbyname (); ++int ++main (void) ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_bsd_gethostbyname=yes ++else $as_nop ++ ac_cv_lib_bsd_gethostbyname=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 ++printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; } ++if test "x$ac_cv_lib_bsd_gethostbyname" = xyes ++then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" ++fi ++ ++ fi ++ fi ++ ++ # lieder@skyler.mavd.honeywell.com says without -lsocket, ++ # socket/setsockopt and other routines are undefined under SCO ODT ++ # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary ++ # on later versions), says Simon Leinen: it contains gethostby* ++ # variants that don't use the name server (or something). -lsocket ++ # must be given before -lnsl if both are needed. We assume that ++ # if connect needs -lnsl, so does gethostbyname. ++ ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" ++if test "x$ac_cv_func_connect" = xyes ++then : ++ ++fi ++ ++ if test $ac_cv_func_connect = no; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 ++printf %s "checking for connect in -lsocket... " >&6; } ++if test ${ac_cv_lib_socket_connect+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsocket $X_EXTRA_LIBS $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char connect (); ++int ++main (void) ++{ ++return connect (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_socket_connect=yes ++else $as_nop ++ ac_cv_lib_socket_connect=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 ++printf "%s\n" "$ac_cv_lib_socket_connect" >&6; } ++if test "x$ac_cv_lib_socket_connect" = xyes ++then : ++ X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" ++fi ++ ++ fi ++ ++ # Guillermo Gomez says -lposix is necessary on A/UX. ++ ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" ++if test "x$ac_cv_func_remove" = xyes ++then : ++ ++fi ++ ++ if test $ac_cv_func_remove = no; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 ++printf %s "checking for remove in -lposix... " >&6; } ++if test ${ac_cv_lib_posix_remove+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lposix $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char remove (); ++int ++main (void) ++{ ++return remove (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_posix_remove=yes ++else $as_nop ++ ac_cv_lib_posix_remove=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 ++printf "%s\n" "$ac_cv_lib_posix_remove" >&6; } ++if test "x$ac_cv_lib_posix_remove" = xyes ++then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" ++fi ++ ++ fi ++ ++ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. ++ ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" ++if test "x$ac_cv_func_shmat" = xyes ++then : ++ ++fi ++ ++ if test $ac_cv_func_shmat = no; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 ++printf %s "checking for shmat in -lipc... " >&6; } ++if test ${ac_cv_lib_ipc_shmat+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lipc $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char shmat (); ++int ++main (void) ++{ ++return shmat (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ipc_shmat=yes ++else $as_nop ++ ac_cv_lib_ipc_shmat=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 ++printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; } ++if test "x$ac_cv_lib_ipc_shmat" = xyes ++then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" ++fi ++ ++ fi ++ fi ++ ++ # Check for libraries that X11R6 Xt/Xaw programs need. ++ ac_save_LDFLAGS=$LDFLAGS ++ test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" ++ # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to ++ # check for ICE first), but we must link in the order -lSM -lICE or ++ # we get undefined symbols. So assume we have SM if we have ICE. ++ # These have to be linked with before -lX11, unlike the other ++ # libraries we check for below, so use a different variable. ++ # John Interrante, Karl Berry ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 ++printf %s "checking for IceConnectionNumber in -lICE... " >&6; } ++if test ${ac_cv_lib_ICE_IceConnectionNumber+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lICE $X_EXTRA_LIBS $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char IceConnectionNumber (); ++int ++main (void) ++{ ++return IceConnectionNumber (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ICE_IceConnectionNumber=yes ++else $as_nop ++ ac_cv_lib_ICE_IceConnectionNumber=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 ++printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } ++if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes ++then : ++ X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" ++fi ++ ++ LDFLAGS=$ac_save_LDFLAGS ++ ++fi ++ ++pcp_x11_incflags=$X_CFLAGS ++ ++pcp_x11_libflags=$X_LIBS ++ ++pcp_x11_extra=$X_EXTRA_LIBS ++ ++pcp_x11_pre=$X_PRE_LIBS ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if man pages should packaged" >&5 ++printf %s "checking if man pages should packaged... " >&6; } ++have_manpages=false ++have_gzipped_manpages=false ++have_bzip2ed_manpages=false ++have_lzmaed_manpages=false ++have_xzed_manpages=false ++need_old_tbl_header=false ++man_header= ++pcp_man_dir=`eval echo $mandir` ++pcp_man_dir=`eval echo $pcp_man_dir` ++ ++for d in /usr/man /usr/share/man $pcp_man_dir ++do ++ for sd in man1 sman1 ++ do ++ ls $d/$sd 2>/dev/null >conftest ++ test -s conftest || continue ++ try=`grep '\.1\.gz$' conftest | head -1` ++ if test -n "$try" ++ then ++ have_gzipped_manpages=true ++ have_manpages=true ++ man_header=`$ZIP -d < "$d/$sd/$try" | head -1` ++ break ++ fi ++ try=`grep '\.1\.bz2$' conftest | head -1` ++ if test -n "$try" ++ then ++ have_bzip2ed_manpages=true ++ have_manpages=true ++ man_header=`$BZIP2 -d < "$d/$sd/$try" | head -1` ++ break ++ fi ++ try=`grep '\.1\.lzma$' conftest | head -1` ++ if test -n "$try" ++ then ++ have_lzmaed_manpages=true ++ have_manpages=true ++ man_header=`$LZMA -d < "$d/$sd/$try" | head -1` ++ break ++ fi ++ try=`grep '\.1\.xz$' conftest | head -1` ++ if test -n "$try" ++ then ++ have_xzed_manpages=true ++ have_manpages=true ++ man_header=`$XZ -d < "$d/$sd/$try" | head -1` ++ break ++ fi ++ try=`grep '\.1$' conftest | head -1` ++ if test -n "$try" ++ then ++ man_header=`head -1 $d/$sd/$try` ++ have_manpages=true ++ break ++ fi ++ done ++ $have_manpages && break ++done ++rm -f conftest ++if test x"$man_header" = "x'\\\" t" -o x"$man_header" = "x'\\\" te" ; then ++ need_old_tbl_header=true ++fi ++ ++if $have_manpages ++then ++ : ++else ++ if test $target_distro = debian ++ then ++ have_manpages=true ++ have_gzipped_manpages=true ++ need_old_tbl_header=true ++ fi ++fi ++ ++if $have_manpages; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++pcp_bin_dir=`eval echo $bindir` ++pcp_bin_dir=`eval echo $pcp_bin_dir` ++ ++ ++pcp_sbin_dir=`eval echo $sbindir` ++pcp_sbin_dir=`eval echo $pcp_sbin_dir` ++ ++ ++pcp_inc_dir=`eval echo $includedir/pcp` ++pcp_inc_dir=`eval echo $pcp_inc_dir` ++ ++ ++if test $target_os = linux; then ++ pcp_html_dir=`eval echo $datarootdir/doc/pcp-doc/html` ++else ++ pcp_html_dir=`eval echo $datarootdir/doc/pcp/html` ++fi ++pcp_html_dir=`eval echo $pcp_html_dir` ++ ++ ++if test $target_os = linux; then ++ pcp_icons_dir=`eval echo $datarootdir/pcp-gui/pixmaps` ++else ++ pcp_icons_dir=`eval echo $datarootdir/pcp/pixmaps` ++fi ++pcp_icons_dir=`eval echo $pcp_icons_dir` ++ ++ ++test -z "$INKSCAPE" && # Extract the first word of "inkscape", so it can be a program name with args. ++set dummy inkscape; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_INKSCAPE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $INKSCAPE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_INKSCAPE="$INKSCAPE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_INKSCAPE="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++INKSCAPE=$ac_cv_path_INKSCAPE ++if test -n "$INKSCAPE"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INKSCAPE" >&5 ++printf "%s\n" "$INKSCAPE" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++inkscape=$INKSCAPE ++ ++ ++have_hicolor_icons=false ++if test -d /usr/share/icons/hicolor -a -n "$INKSCAPE" ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: adding hicolor desktop icons to the build" >&5 ++printf "%s\n" "$as_me: adding hicolor desktop icons to the build" >&6;} ++ have_hicolor_icons=true ++fi ++ ++ ++pcp_desktop_dir=`eval echo $datarootdir/applications` ++pcp_desktop_dir=`eval echo $pcp_desktop_dir` ++ ++ ++ ++@%:@ Check whether --with-rcdir was given. ++if test ${with_rcdir+y} ++then : ++ withval=$with_rcdir; pcp_rc_dir=$withval ++else $as_nop ++ ++if $enable_systemd ++then ++ pcp_rc_dir="$pcp_libadm_dir" ++elif test $target_os = freebsd ++then ++ pcp_rc_dir="/usr/local/etc/rc.d" ++elif test $target_os = netbsd -o $target_os = openbsd ++then ++ pcp_rc_dir="/etc/rc.d" ++else ++ pcp_rc_dir="$pcp_etc_dir/init.d" ++fi ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-sysconfigdir was given. ++if test ${with_sysconfigdir+y} ++then : ++ withval=$with_sysconfigdir; pcp_sysconfig_dir=$withval ++else $as_nop ++ pcp_sysconfig_dir=$pcp_etc_dir/sysconfig ++fi ++ ++ ++ ++ ++@%:@ Check whether --with-logdir was given. ++if test ${with_logdir+y} ++then : ++ withval=$with_logdir; pcp_log_dir=$withval ++else $as_nop ++ pcp_log_dir=$localstatedir/log/pcp ++fi ++ ++pcp_log_dir=`eval echo $pcp_log_dir` ++pcp_log_dir=`eval echo $pcp_log_dir` ++ ++ ++pcp_archive_dir=$pcp_log_dir/pmlogger ++ ++ ++pcp_sa_dir=$pcp_log_dir/sa ++ ++ ++pcp_pacct_system_path="$localstatedir/account/pacct" ++ ++ ++ ++@%:@ Check whether --with-rundir was given. ++if test ${with_rundir+y} ++then : ++ withval=$with_rundir; pcp_run_dir=$withval ++else $as_nop ++ ++if test -d /run ++then ++ pcp_run_dir="/run/pcp" ++else ++ pcp_run_dir="$localstatedir/run/pcp" ++fi ++fi ++ ++pcp_run_dir=`eval echo $pcp_run_dir` ++pcp_run_dir=`eval echo $pcp_run_dir` ++ ++ ++ ++@%:@ Check whether --with-tmpdir was given. ++if test ${with_tmpdir+y} ++then : ++ withval=$with_tmpdir; pcp_tmpfile_dir=$withval ++else $as_nop ++ pcp_tmpfile_dir=$localstatedir/tmp ++fi ++ ++pcp_tmpfile_dir=`eval echo $pcp_tmpfile_dir` ++pcp_tmpfile_dir=`eval echo $pcp_tmpfile_dir` ++ ++ ++pcp_tmp_dir=`eval echo $pcp_var_dir/tmp` ++ ++ ++ ++@%:@ Check whether --with-docdir was given. ++if test ${with_docdir+y} ++then : ++ withval=$with_docdir; pcp_doc_dir=$withval ++else $as_nop ++ PACKAGE=pcp-${PACKAGE_VERSION}; pcp_doc_dir=$docdir ++fi ++ ++pcp_doc_dir=`eval echo $pcp_doc_dir` ++pcp_doc_dir=`eval echo $pcp_doc_dir` ++ ++ ++ ++@%:@ Check whether --with-demosdir was given. ++if test ${with_demosdir+y} ++then : ++ withval=$with_demosdir; pcp_demos_dir=$withval ++else $as_nop ++ pcp_demos_dir=$pcp_share_dir/demos ++fi ++ ++ ++ ++if test -z "$XCONFIRM" ++then ++ # Extract the first word of "xconfirm", so it can be a program name with args. ++set dummy xconfirm; ac_word=$2 ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_xconfirm_prog+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ case $ac_xconfirm_prog in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_xconfirm_prog="$ac_xconfirm_prog" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_xconfirm_prog="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_ac_xconfirm_prog" && ac_cv_path_ac_xconfirm_prog="$pcp_bin_dir/pmconfirm" ++ ;; ++esac ++fi ++ac_xconfirm_prog=$ac_cv_path_ac_xconfirm_prog ++if test -n "$ac_xconfirm_prog"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_xconfirm_prog" >&5 ++printf "%s\n" "$ac_xconfirm_prog" >&6; } ++else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++ ++ ++else ++ ac_xconfirm_prog=$XCONFIRM ++fi ++ ++ ++if test "$ac_cv_header_fcntl_h" = "yes" ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FNDELAY in fcntl.h" >&5 ++printf %s "checking for FNDELAY in fcntl.h... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++ int i = FNDELAY; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_FNDELAY 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++if test "$ac_cv_header_libzfs_h" = "yes" ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 5-argument style zpool_vdev_name" >&5 ++printf %s "checking for 5-argument style zpool_vdev_name... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++ libzfs_handle_t *zh; ++ zpool_handle_t *zp; ++ nvlist_t *np; ++ (void) zpool_vdev_name(zh, zp, np, B_FALSE, B_FALSE); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_ZPOOL_VDEV_NAME_5ARG 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zpool_vdev_name" >&5 ++printf %s "checking for 4-argument style zpool_vdev_name... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++ libzfs_handle_t *zh; ++ zpool_handle_t *zp; ++ nvlist_t *np; ++ (void) zpool_vdev_name(zh, zp, np, B_FALSE); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_ZPOOL_VDEV_NAME_4ARG 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++if test "$ac_cv_header_libzfs_h" = "yes" ++then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zfs_iter_snapshots" >&5 ++printf %s "checking for 4-argument style zfs_iter_snapshots... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++ zfs_handle_t *zh; ++ zfs_iter_f callback; ++ (void)zfs_iter_snapshots(zh, B_FALSE, callback, NULL); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_ZFS_ITER_SNAPSHOTS_4ARG 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 3-argument style zfs_iter_snapshots" >&5 ++printf %s "checking for 3-argument style zfs_iter_snapshots... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++ zfs_handle_t *zh; ++ zfs_iter_f callback; ++ (void)zfs_iter_snapshots(zh, callback, NULL); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_ZFS_ITER_SNAPSHOTS_3ARG 1" >>confdefs.h ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++if test "$do_secure" = "check" -o "$do_secure" = "yes" ++then ++ enable_secure=true ++ ++ saved_CFLAGS="$CFLAGS" ++ saved_CPPFLAGS="$CPPFLAGS" ++ NSS_INC_DIRS="-I/usr/include/nss -I/usr/include/nss3" ++ NSPR_INC_DIRS="-I/usr/include/nspr -I/usr/include/nspr4" ++ CFLAGS="$CFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS" ++ CPPFLAGS="$CPPFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS" ++ ++ for ac_header in nss/nss.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "nss/nss.h" "ac_cv_header_nss_nss_h" "$ac_includes_default" ++if test "x$ac_cv_header_nss_nss_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NSS_NSS_H 1" >>confdefs.h ++ NSSCFLAGS=-I/usr/include/nss ++else $as_nop ++ ++ for ac_header in nss3/nss.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "nss3/nss.h" "ac_cv_header_nss3_nss_h" "$ac_includes_default" ++if test "x$ac_cv_header_nss3_nss_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NSS3_NSS_H 1" >>confdefs.h ++ NSSCFLAGS=-I/usr/include/nss3 ++else $as_nop ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no NSS header" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++fi ++ ++done ++ ++ ++ for ac_header in nspr/nspr.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "nspr/nspr.h" "ac_cv_header_nspr_nspr_h" "$ac_includes_default" ++if test "x$ac_cv_header_nspr_nspr_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NSPR_NSPR_H 1" >>confdefs.h ++ NSPRCFLAGS=-I/usr/include/nspr ++else $as_nop ++ ++ for ac_header in nspr4/nspr.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "nspr4/nspr.h" "ac_cv_header_nspr4_nspr_h" "$ac_includes_default" ++if test "x$ac_cv_header_nspr4_nspr_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_NSPR4_NSPR_H 1" >>confdefs.h ++ NSPRCFLAGS=-I/usr/include/nspr4 ++else $as_nop ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no NSPR header" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++fi ++ ++done ++ ++ ++ for ac_header in sasl/sasl.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sasl_sasl_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_SASL_SASL_H 1" >>confdefs.h ++ SASLCFLAGS=-I/usr/include/sasl ++else $as_nop ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no SASL header" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sasl_server_init in -lsasl2" >&5 ++printf %s "checking for sasl_server_init in -lsasl2... " >&6; } ++if test ${ac_cv_lib_sasl2_sasl_server_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsasl2 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char sasl_server_init (); ++int ++main (void) ++{ ++return sasl_server_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_sasl2_sasl_server_init=yes ++else $as_nop ++ ac_cv_lib_sasl2_sasl_server_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_server_init" >&5 ++printf "%s\n" "$ac_cv_lib_sasl2_sasl_server_init" >&6; } ++if test "x$ac_cv_lib_sasl2_sasl_server_init" = xyes ++then : ++ lib_for_sasl="-lsasl2" ++else $as_nop ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no SASL library" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl" >&5 ++printf %s "checking for SSL_ImportFD in -lssl... " >&6; } ++if test ${ac_cv_lib_ssl_SSL_ImportFD+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lssl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char SSL_ImportFD (); ++int ++main (void) ++{ ++return SSL_ImportFD (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ssl_SSL_ImportFD=yes ++else $as_nop ++ ac_cv_lib_ssl_SSL_ImportFD=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ImportFD" >&5 ++printf "%s\n" "$ac_cv_lib_ssl_SSL_ImportFD" >&6; } ++if test "x$ac_cv_lib_ssl_SSL_ImportFD" = xyes ++then : ++ lib_for_ssl="-lssl" ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl3" >&5 ++printf %s "checking for SSL_ImportFD in -lssl3... " >&6; } ++if test ${ac_cv_lib_ssl3_SSL_ImportFD+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lssl3 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char SSL_ImportFD (); ++int ++main (void) ++{ ++return SSL_ImportFD (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_ssl3_SSL_ImportFD=yes ++else $as_nop ++ ac_cv_lib_ssl3_SSL_ImportFD=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl3_SSL_ImportFD" >&5 ++printf "%s\n" "$ac_cv_lib_ssl3_SSL_ImportFD" >&6; } ++if test "x$ac_cv_lib_ssl3_SSL_ImportFD" = xyes ++then : ++ lib_for_ssl="-lssl3" ++else $as_nop ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no SSL library" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++fi ++ ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss" >&5 ++printf %s "checking for NSS_Init in -lnss... " >&6; } ++if test ${ac_cv_lib_nss_NSS_Init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnss $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char NSS_Init (); ++int ++main (void) ++{ ++return NSS_Init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_nss_NSS_Init=yes ++else $as_nop ++ ac_cv_lib_nss_NSS_Init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss_NSS_Init" >&5 ++printf "%s\n" "$ac_cv_lib_nss_NSS_Init" >&6; } ++if test "x$ac_cv_lib_nss_NSS_Init" = xyes ++then : ++ lib_for_nss="-lnss" ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss3" >&5 ++printf %s "checking for NSS_Init in -lnss3... " >&6; } ++if test ${ac_cv_lib_nss3_NSS_Init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnss3 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char NSS_Init (); ++int ++main (void) ++{ ++return NSS_Init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_nss3_NSS_Init=yes ++else $as_nop ++ ac_cv_lib_nss3_NSS_Init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Init" >&5 ++printf "%s\n" "$ac_cv_lib_nss3_NSS_Init" >&6; } ++if test "x$ac_cv_lib_nss3_NSS_Init" = xyes ++then : ++ lib_for_nss="-lnss3" ++else $as_nop ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no NSS library" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++fi ++ ++ ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr" >&5 ++printf %s "checking for PR_Init in -lnspr... " >&6; } ++if test ${ac_cv_lib_nspr_PR_Init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnspr $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char PR_Init (); ++int ++main (void) ++{ ++return PR_Init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_nspr_PR_Init=yes ++else $as_nop ++ ac_cv_lib_nspr_PR_Init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr_PR_Init" >&5 ++printf "%s\n" "$ac_cv_lib_nspr_PR_Init" >&6; } ++if test "x$ac_cv_lib_nspr_PR_Init" = xyes ++then : ++ lib_for_nspr="-lnspr" ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr4" >&5 ++printf %s "checking for PR_Init in -lnspr4... " >&6; } ++if test ${ac_cv_lib_nspr4_PR_Init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnspr4 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char PR_Init (); ++int ++main (void) ++{ ++return PR_Init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_nspr4_PR_Init=yes ++else $as_nop ++ ac_cv_lib_nspr4_PR_Init=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr4_PR_Init" >&5 ++printf "%s\n" "$ac_cv_lib_nspr4_PR_Init" >&6; } ++if test "x$ac_cv_lib_nspr4_PR_Init" = xyes ++then : ++ lib_for_nspr="-lnspr4" ++else $as_nop ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no NSPR library" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++fi ++ ++ ++ ++ if test "$enable_secure" = "true" ++ then ++ ++printf "%s\n" "@%:@define HAVE_SECURE_SOCKETS 1" >>confdefs.h ++ ++ fi ++ ++ ++ CPPFLAGS="$saved_CPPFLAGS" ++ CFLAGS="$saved_CFLAGS" ++fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add_4 in -latomic" >&5 ++printf %s "checking for __atomic_fetch_add_4 in -latomic... " >&6; } ++if test ${ac_cv_lib_atomic___atomic_fetch_add_4+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-latomic $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char __atomic_fetch_add_4 (); ++int ++main (void) ++{ ++return __atomic_fetch_add_4 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_atomic___atomic_fetch_add_4=yes ++else $as_nop ++ ac_cv_lib_atomic___atomic_fetch_add_4=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_fetch_add_4" >&5 ++printf "%s\n" "$ac_cv_lib_atomic___atomic_fetch_add_4" >&6; } ++if test "x$ac_cv_lib_atomic___atomic_fetch_add_4" = xyes ++then : ++ lib_for_atomic="-latomic" ++fi ++ ++ ++ ++enable_lzma=false ++enable_decompression=false ++if test "x$do_decompression" != "xno" ++then : ++ ++ # Check for -llzma ++ enable_lzma=true ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma" >&5 ++printf %s "checking for lzma... " >&6; } ++ ++if test -n "$lzma_CFLAGS"; then ++ pkg_cv_lzma_CFLAGS="$lzma_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_lzma_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$lzma_LIBS"; then ++ pkg_cv_lzma_LIBS="$lzma_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_lzma_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ lzma_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblzma" 2>&1` ++ else ++ lzma_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblzma" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$lzma_PKG_ERRORS" >&5 ++ ++ enable_lzma=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ enable_lzma=false ++else ++ lzma_CFLAGS=$pkg_cv_lzma_CFLAGS ++ lzma_LIBS=$pkg_cv_lzma_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_index_stream_flags in -llzma" >&5 ++printf %s "checking for lzma_index_stream_flags in -llzma... " >&6; } ++if test ${ac_cv_lib_lzma_lzma_index_stream_flags+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-llzma $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char lzma_index_stream_flags (); ++int ++main (void) ++{ ++return lzma_index_stream_flags (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_lzma_lzma_index_stream_flags=yes ++else $as_nop ++ ac_cv_lib_lzma_lzma_index_stream_flags=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_index_stream_flags" >&5 ++printf "%s\n" "$ac_cv_lib_lzma_lzma_index_stream_flags" >&6; } ++if test "x$ac_cv_lib_lzma_lzma_index_stream_flags" = xyes ++then : ++ lib_for_lzma="-llzma" ++else $as_nop ++ enable_lzma=false ++fi ++ ++ ++fi ++ ++ for ac_header in lzma.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" ++if test "x$ac_cv_header_lzma_h" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LZMA_H 1" >>confdefs.h ++ ++else $as_nop ++ enable_lzma=false ++fi ++ ++done ++ ++ if test "$enable_lzma" = "true" ++ then ++ ++ ++ ++printf "%s\n" "@%:@define HAVE_LZMA_DECOMPRESSION 1" >>confdefs.h ++ ++ enable_decompression=true ++ fi ++ ++ if test "$do_decompression" != "check" -a "$enable_decompression" != "true" ++ then ++ as_fn_error $? "cannot enable transparent decompression - no supported compression formats" "$LINENO" 5 ++ fi ++ ++ if test "$enable_decompression" = "true" ++ then ++ ++printf "%s\n" "@%:@define HAVE_TRANSPARENT_DECOMPRESSION 1" >>confdefs.h ++ ++ fi ++ ++fi ++ ++ ++ ++if test -f /usr/include/sn/arsess.h ++then ++ pcp_mpi_dirs=libpcp_mpi\ libpcp_mpiread ++else ++ pcp_mpi_dirs= ++fi ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_un in sys/un.h" >&5 ++printf %s "checking for struct sockaddr_un in sys/un.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_SYS_SOCKET_H ++ #include ++ #endif ++ #ifdef HAVE_SYS_UN_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ struct sockaddr_un sa; sa.sun_family = AF_UNIX; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_STRUCT_SOCKADDR_UN 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct ucred in sys/socket.h" >&5 ++printf %s "checking for struct ucred in sys/socket.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_SYS_SOCKET_H ++ #include ++ #endif ++ #ifdef HAVE_SYS_UN_H ++ #include ++ #endif ++ ++int ++main (void) ++{ ++ struct ucred ucred; ucred.uid = 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_STRUCT_UCRED 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in time.h" >&5 ++printf %s "checking for struct timespec in time.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ struct timespec foo; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for altzone in time.h" >&5 ++printf %s "checking for altzone in time.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main (void) ++{ ++ time_t az = altzone; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_ALTZONE 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strftime knows about %z" >&5 ++printf %s "checking if strftime knows about %z... " >&6; } ++if test "$cross_compiling" = yes ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++int main () { ++ char b[32]=""; ++ time_t t = time(NULL); ++ struct tm * t1 = localtime (&t); ++ if (strftime (b, 32, "%z", t1) < 3) ++ return (1); ++ if (strcmp(b, "%z") == 0) ++ return(1); ++ return (0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_STRFTIME_z 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r returns char *" >&5 ++printf %s "checking if strerror_r returns char *... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++strerror_r(0, NULL, 0)[0]; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_STRERROR_R_PTR 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++savedLIBS=$LIBS ++LIBS= ++lib_for_curses= ++lib_for_readline= ++ac_fn_c_check_func "$LINENO" "readline" "ac_cv_func_readline" ++if test "x$ac_cv_func_readline" = xyes ++then : ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 ++printf %s "checking for readline in -lreadline... " >&6; } ++if test ${ac_cv_lib_readline_readline+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lreadline $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char readline (); ++int ++main (void) ++{ ++return readline (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_readline_readline=yes ++else $as_nop ++ ac_cv_lib_readline_readline=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 ++printf "%s\n" "$ac_cv_lib_readline_readline" >&6; } ++if test "x$ac_cv_lib_readline_readline" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBREADLINE 1" >>confdefs.h ++ ++ LIBS="-lreadline $LIBS" ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5 ++printf %s "checking for add_history in -lreadline... " >&6; } ++if test ${ac_cv_lib_readline_add_history+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lreadline -lcurses $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char add_history (); ++int ++main (void) ++{ ++return add_history (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_lib_readline_add_history=yes ++else $as_nop ++ ac_cv_lib_readline_add_history=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5 ++printf "%s\n" "$ac_cv_lib_readline_add_history" >&6; } ++if test "x$ac_cv_lib_readline_add_history" = xyes ++then : ++ printf "%s\n" "@%:@define HAVE_LIBREADLINE 1" >>confdefs.h ++ ++ LIBS="-lreadline $LIBS" ++ ++fi ++ ++ ++fi ++ ++ ++fi ++ ++if test $ac_cv_func_readline = yes ++then ++ ++printf "%s\n" "@%:@define HAVE_READLINE 1" >>confdefs.h ++ ++elif test $ac_cv_lib_readline_readline = yes ++then ++ ++printf "%s\n" "@%:@define HAVE_READLINE 1" >>confdefs.h ++ ++ lib_for_readline=-lreadline ++elif test $ac_cv_lib_readline_add_history = yes ++then ++ ++printf "%s\n" "@%:@define HAVE_READLINE 1" >>confdefs.h ++ ++ lib_for_curses=-lcurses ++ lib_for_readline=-lreadline ++fi ++ ++ ++LIBS=$savedLIBS ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 ++printf %s "checking for zlib... " >&6; } ++ ++if test -n "$zlib_CFLAGS"; then ++ pkg_cv_zlib_CFLAGS="$zlib_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.0.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$zlib_LIBS"; then ++ pkg_cv_zlib_LIBS="$zlib_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib >= 1.0.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1` ++ else ++ zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$zlib_PKG_ERRORS" >&5 ++ ++ have_zlib=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_zlib=false ++else ++ zlib_CFLAGS=$pkg_cv_zlib_CFLAGS ++ zlib_LIBS=$pkg_cv_zlib_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_zlib=true ++fi ++HAVE_ZLIB=$have_zlib ++ ++ ++ ++pkg_failed=no ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmocka" >&5 ++printf %s "checking for cmocka... " >&6; } ++ ++if test -n "$cmocka_CFLAGS"; then ++ pkg_cv_cmocka_CFLAGS="$cmocka_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "cmocka") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_cmocka_CFLAGS=`$PKG_CONFIG --cflags "cmocka" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$cmocka_LIBS"; then ++ pkg_cv_cmocka_LIBS="$cmocka_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "cmocka") 2>&5 ++ ac_status=$? ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_cmocka_LIBS=`$PKG_CONFIG --libs "cmocka" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ cmocka_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cmocka" 2>&1` ++ else ++ cmocka_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cmocka" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$cmocka_PKG_ERRORS" >&5 ++ ++ have_cmocka=false ++elif test $pkg_failed = untried; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ have_cmocka=false ++else ++ cmocka_CFLAGS=$pkg_cv_cmocka_CFLAGS ++ cmocka_LIBS=$pkg_cv_cmocka_LIBS ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ have_cmocka=true ++fi ++HAVE_CMOCKA=$have_cmocka ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AI_ADDRCONFIG" >&5 ++printf %s "checking for AI_ADDRCONFIG... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ int test = AI_ADDRCONFIG; ++ ++int ++main (void) ++{ ++ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ++printf "%s\n" "@%:@define HAVE_AI_ADDRCONFIG 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++pcp_prefix=`eval echo $prefix` ++ ++ ++ ++ ++ac_config_files="$ac_config_files src/include/builddefs src/include/pcp.conf pcp.lsm debian/pcp.preinst.head debian/pcp.postinst.head build/tar/preinstall.head build/tar/postinstall.head build/GNUlocaldefs build/mac/uninstall-pcp" ++ ++cat >confcache <<\_ACEOF ++# This file is a shell script that caches the results of configure ++# tests run on this system so they can be shared between configure ++# scripts and configure runs, see configure's option --config-cache. ++# It is not useful on other systems. If it contains results you don't ++# want to keep, you may remove or edit it. ++# ++# config.status only pays attention to the cache file if you give it ++# the --recheck option to rerun configure. ++# ++# `ac_cv_env_foo' variables (set or unset) will be overridden when ++# loading this file, other *unset* `ac_cv_foo' will be assigned the ++# following values. ++ ++_ACEOF ++ ++# The following way of writing the cache mishandles newlines in values, ++# but we know of no workaround that is simple, portable, and efficient. ++# So, we kill variables containing newlines. ++# Ultrix sh set writes to stderr and can't be redirected directly, ++# and sets the high bit in the cache file unless we assign to the vars. ++( ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ ++ (set) 2>&1 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. ++ sed -n \ ++ "s/'/'\\\\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ++ ;; #( ++ *) ++ # `set' quotes correctly as required by POSIX, so do not add quotes. ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) | ++ sed ' ++ /^ac_cv_env_/b end ++ t clear ++ :clear ++ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ ++ t end ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ++ :end' >>confcache ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ++ if test -w "$cache_file"; then ++ if test "x$cache_file" != "x/dev/null"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++printf "%s\n" "$as_me: updating cache $cache_file" >&6;} ++ if test ! -f "$cache_file" || test -h "$cache_file"; then ++ cat confcache >"$cache_file" ++ else ++ case $cache_file in #( ++ */* | ?:*) ++ mv -f confcache "$cache_file"$$ && ++ mv -f "$cache_file"$$ "$cache_file" ;; #( ++ *) ++ mv -f confcache "$cache_file" ;; ++ esac ++ fi ++ fi ++ else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} ++ fi ++fi ++rm -f confcache ++ ++test "x$prefix" = xNONE && prefix=$ac_default_prefix ++# Let make expand exec_prefix. ++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ++ ++DEFS=-DHAVE_CONFIG_H ++ ++ac_libobjs= ++ac_ltlibobjs= ++U= ++for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue ++ # 1. Remove the extension, and $U if already installed. ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ++ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ++ # will be set to the directory where LIBOBJS objects are built. ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ++done ++LIB@&t@OBJS=$ac_libobjs ++ ++LTLIBOBJS=$ac_ltlibobjs ++ ++ ++ ++: "${CONFIG_STATUS=./config.status}" ++ac_write_fail=0 ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files $CONFIG_STATUS" ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate the current configuration. ++# Compiler output produced by configure, useful for debugging ++# configure, is in config.log if it exists. ++ ++debug=false ++ac_cs_recheck=false ++ac_cs_silent=false ++ ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++as_nop=: ++if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 ++then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else $as_nop ++ case `(set -o) 2>/dev/null` in @%:@( ++ *posix*) : ++ set -o posix ;; @%:@( ++ *) : ++ ;; ++esac ++fi ++ ++ ++ ++# Reset variables that may have inherited troublesome values from ++# the environment. ++ ++# IFS needs to be set, to space, tab, and newline, in precisely that order. ++# (If _AS_PATH_WALK were called with IFS unset, it would have the ++# side effect of setting IFS to empty, thus disabling word splitting.) ++# Quoting is to prevent editors from complaining about space-tab. ++as_nl=' ++' ++export as_nl ++IFS=" "" $as_nl" ++ ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# Ensure predictable behavior from utilities with locale-dependent output. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# We cannot yet rely on "unset" to work, but we need these variables ++# to be unset--not just set to an empty or harmless value--now, to ++# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct ++# also avoids known problems related to "unset" and subshell syntax ++# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). ++for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH ++do eval test \${$as_var+y} \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++ ++# Ensure that fds 0, 1, and 2 are open. ++if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi ++if (exec 3>&2) ; then :; else exec 2>/dev/null; fi ++ ++# The user is always right. ++if ${PATH_SEPARATOR+false} :; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in @%:@(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ test -r "$as_dir$0" && as_myself=$as_dir$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++ ++ ++@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] ++@%:@ ---------------------------------------- ++@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++@%:@ script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ printf "%s\n" "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} @%:@ as_fn_error ++ ++ ++ ++@%:@ as_fn_set_status STATUS ++@%:@ ----------------------- ++@%:@ Set @S|@? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} @%:@ as_fn_set_status ++ ++@%:@ as_fn_exit STATUS ++@%:@ ----------------- ++@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} @%:@ as_fn_exit ++ ++@%:@ as_fn_unset VAR ++@%:@ --------------- ++@%:@ Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++@%:@ as_fn_append VAR VALUE ++@%:@ ---------------------- ++@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take ++@%:@ advantage of any shell optimizations that allow amortized linear growth over ++@%:@ repeated appends, instead of the typical quadratic growth present in naive ++@%:@ implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null ++then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else $as_nop ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++@%:@ as_fn_arith ARG... ++@%:@ ------------------ ++@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the ++@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments ++@%:@ must be portable across @S|@(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null ++then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else $as_nop ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ ++# Determine whether it's possible to make 'echo' print without a newline. ++# These variables are no longer used directly by Autoconf, but are AC_SUBSTed ++# for compatibility with existing Makefiles. ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in @%:@((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++# For backward compatibility with old third-party macros, we provide ++# the shell variables $as_echo and $as_echo_n. New code should use ++# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. ++as_@&t@echo='printf %s\n' ++as_@&t@echo_n='printf %s' ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++ ++@%:@ as_fn_mkdir_p ++@%:@ ------------- ++@%:@ Create "@S|@as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} @%:@ as_fn_mkdir_p ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++ ++@%:@ as_fn_executable_p FILE ++@%:@ ----------------------- ++@%:@ Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} @%:@ as_fn_executable_p ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to ++# report actual input values of CONFIG_FILES etc. instead of their ++# values after options handling. ++ac_log=" ++This file was extended by $as_me, which was ++generated by GNU Autoconf 2.71. Invocation command line was ++ ++ CONFIG_FILES = $CONFIG_FILES ++ CONFIG_HEADERS = $CONFIG_HEADERS ++ CONFIG_LINKS = $CONFIG_LINKS ++ CONFIG_COMMANDS = $CONFIG_COMMANDS ++ $ $0 $@ ++ ++on `(hostname || uname -n) 2>/dev/null | sed 1q` ++" ++ ++_ACEOF ++ ++case $ac_config_files in *" ++"*) set x $ac_config_files; shift; ac_config_files=$*;; ++esac ++ ++case $ac_config_headers in *" ++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; ++esac ++ ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# Files that config.status was made for. ++config_files="$ac_config_files" ++config_headers="$ac_config_headers" ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ac_cs_usage="\ ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. ++ ++Usage: $0 [OPTION]... [TAG]... ++ ++ -h, --help print this help, then exit ++ -V, --version print version number and configuration settings, then exit ++ --config print configuration, then exit ++ -q, --quiet, --silent ++ do not print progress messages ++ -d, --debug don't remove temporary files ++ --recheck update $as_me by reconfiguring in the same conditions ++ --file=FILE[:TEMPLATE] ++ instantiate the configuration file FILE ++ --header=FILE[:TEMPLATE] ++ instantiate the configuration header FILE ++ ++Configuration files: ++$config_files ++ ++Configuration headers: ++$config_headers ++ ++Report bugs to the package provider." ++ ++_ACEOF ++ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ++ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_cs_config='$ac_cs_config_escaped' ++ac_cs_version="\\ ++config.status ++configured by $0, generated by GNU Autoconf 2.71, ++ with options \\"\$ac_cs_config\\" ++ ++Copyright (C) 2021 Free Software Foundation, Inc. ++This config.status script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it." ++ ++ac_pwd='$ac_pwd' ++srcdir='$srcdir' ++test -n "\$AWK" || AWK=awk ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# The default lists apply if the user does not specify any file. ++ac_need_defaults=: ++while test $# != 0 ++do ++ case $1 in ++ --*=?*) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ++ ac_shift=: ++ ;; ++ --*=) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg= ++ ac_shift=: ++ ;; ++ *) ++ ac_option=$1 ++ ac_optarg=$2 ++ ac_shift=shift ++ ;; ++ esac ++ ++ case $ac_option in ++ # Handling of the options. ++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ++ ac_cs_recheck=: ;; ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ++ printf "%s\n" "$ac_cs_version"; exit ;; ++ --config | --confi | --conf | --con | --co | --c ) ++ printf "%s\n" "$ac_cs_config"; exit ;; ++ --debug | --debu | --deb | --de | --d | -d ) ++ debug=: ;; ++ --file | --fil | --fi | --f ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ '') as_fn_error $? "missing file argument" ;; ++ esac ++ as_fn_append CONFIG_FILES " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --header | --heade | --head | --hea ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --he | --h) ++ # Conflict between --help and --header ++ as_fn_error $? "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; ++ --help | --hel | -h ) ++ printf "%s\n" "$ac_cs_usage"; exit ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil | --si | --s) ++ ac_cs_silent=: ;; ++ ++ # This is an error. ++ -*) as_fn_error $? "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; ++ ++ *) as_fn_append ac_config_targets " $1" ++ ac_need_defaults=false ;; ++ ++ esac ++ shift ++done ++ ++ac_configure_extra_args= ++ ++if $ac_cs_silent; then ++ exec 6>/dev/null ++ ac_configure_extra_args="$ac_configure_extra_args --silent" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++if \$ac_cs_recheck; then ++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ shift ++ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 ++ CONFIG_SHELL='$SHELL' ++ export CONFIG_SHELL ++ exec "\$@" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++exec 5>>config.log ++{ ++ echo ++ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX ++@%:@@%:@ Running $as_me. @%:@@%:@ ++_ASBOX ++ printf "%s\n" "$ac_log" ++} >&5 ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ ++# Handling of arguments. ++for ac_config_target in $ac_config_targets ++do ++ case $ac_config_target in ++ "src/include/pcp/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pcp/config.h" ;; ++ "src/include/pcp/configsz.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pcp/configsz.h" ;; ++ "src/include/pcp/platform_defs.h") CONFIG_FILES="$CONFIG_FILES src/include/pcp/platform_defs.h" ;; ++ "src/include/pcp/platformsz.h") CONFIG_FILES="$CONFIG_FILES src/include/pcp/platformsz.h" ;; ++ "src/include/builddefs") CONFIG_FILES="$CONFIG_FILES src/include/builddefs" ;; ++ "src/include/pcp.conf") CONFIG_FILES="$CONFIG_FILES src/include/pcp.conf" ;; ++ "pcp.lsm") CONFIG_FILES="$CONFIG_FILES pcp.lsm" ;; ++ "debian/pcp.preinst.head") CONFIG_FILES="$CONFIG_FILES debian/pcp.preinst.head" ;; ++ "debian/pcp.postinst.head") CONFIG_FILES="$CONFIG_FILES debian/pcp.postinst.head" ;; ++ "build/tar/preinstall.head") CONFIG_FILES="$CONFIG_FILES build/tar/preinstall.head" ;; ++ "build/tar/postinstall.head") CONFIG_FILES="$CONFIG_FILES build/tar/postinstall.head" ;; ++ "build/GNUlocaldefs") CONFIG_FILES="$CONFIG_FILES build/GNUlocaldefs" ;; ++ "build/mac/uninstall-pcp") CONFIG_FILES="$CONFIG_FILES build/mac/uninstall-pcp" ;; ++ ++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ++ esac ++done ++ ++ ++# If the user did not use the arguments to specify the items to instantiate, ++# then the envvar interface is used. Set only those that are not. ++# We use the long form for the default assignment because of an extremely ++# bizarre bug on SunOS 4.1.3. ++if $ac_need_defaults; then ++ test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files ++ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers ++fi ++ ++# Have a temporary directory for convenience. Make it in the build tree ++# simply because there is no reason against having it here, and in addition, ++# creating and moving files from /tmp can sometimes cause problems. ++# Hook for its removal unless debugging. ++# Note that there is a small window in which the directory will not be cleaned: ++# after its creation but before its name has been assigned to `$tmp'. ++$debug || ++{ ++ tmp= ac_tmp= ++ trap 'exit_status=$? ++ : "${ac_tmp:=$tmp}" ++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ++' 0 ++ trap 'as_fn_exit 1' 1 2 13 15 ++} ++# Create a (secure) tmp directory for tmp files. ++ ++{ ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ++ test -d "$tmp" ++} || ++{ ++ tmp=./conf$$-$RANDOM ++ (umask 077 && mkdir "$tmp") ++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ++ac_tmp=$tmp ++ ++# Set up the scripts for CONFIG_FILES section. ++# No need to generate them if there are no CONFIG_FILES. ++# This happens for instance with `./config.status config.h'. ++if test -n "$CONFIG_FILES"; then ++ ++ ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi ++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` ++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ++ ac_cs_awk_cr='\\r' ++else ++ ac_cs_awk_cr=$ac_cr ++fi ++ ++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && ++_ACEOF ++ ++ ++{ ++ echo "cat >conf$$subs.awk <<_ACEOF" && ++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ++ echo "_ACEOF" ++} >conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ++ac_delim='%!_!# ' ++for ac_last_try in false false false false false :; do ++ . ./conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ ++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ++ if test $ac_delim_n = $ac_delim_num; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++rm -f conf$$subs.sh ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && ++_ACEOF ++sed -n ' ++h ++s/^/S["/; s/!.*/"]=/ ++p ++g ++s/^[^!]*!// ++:repl ++t repl ++s/'"$ac_delim"'$// ++t delim ++:nl ++h ++s/\(.\{148\}\)..*/\1/ ++t more1 ++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ++p ++n ++b repl ++:more1 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t nl ++:delim ++h ++s/\(.\{148\}\)..*/\1/ ++t more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"/ ++p ++b ++:more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t delim ++' >$CONFIG_STATUS || ac_write_fail=1 ++rm -f conf$$subs.awk ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACAWK ++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && ++ for (key in S) S_is_set[key] = 1 ++ FS = "" ++ ++} ++{ ++ line = $ 0 ++ nfields = split(line, field, "@") ++ substed = 0 ++ len = length(field[1]) ++ for (i = 2; i < nfields; i++) { ++ key = field[i] ++ keylen = length(key) ++ if (S_is_set[key]) { ++ value = S[key] ++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ++ len += length(value) + length(field[++i]) ++ substed = 1 ++ } else ++ len += 1 + keylen ++ } ++ ++ print line ++} ++ ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ++else ++ cat ++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ ++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 ++_ACEOF ++ ++# VPATH may cause trouble with some makes, so we remove sole $(srcdir), ++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and ++# trailing colons and then remove the whole line if VPATH becomes empty ++# (actually we leave an empty line to preserve line numbers). ++if test "x$srcdir" = x.; then ++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ ++h ++s/// ++s/^/:/ ++s/[ ]*$/:/ ++s/:\$(srcdir):/:/g ++s/:\${srcdir}:/:/g ++s/:@srcdir@:/:/g ++s/^:*// ++s/:*$// ++x ++s/\(=[ ]*\).*/\1/ ++G ++s/\n// ++s/^[^=]*=[ ]*$// ++}' ++fi ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++fi # test -n "$CONFIG_FILES" ++ ++# Set up the scripts for CONFIG_HEADERS section. ++# No need to generate them if there are no CONFIG_HEADERS. ++# This happens for instance with `./config.status Makefile'. ++if test -n "$CONFIG_HEADERS"; then ++cat >"$ac_tmp/defines.awk" <<\_ACAWK || ++BEGIN { ++_ACEOF ++ ++# Transform confdefs.h into an awk script `defines.awk', embedded as ++# here-document in config.status, that substitutes the proper values into ++# config.h.in to produce config.h. ++ ++# Create a delimiter string that does not exist in confdefs.h, to ease ++# handling of long lines. ++ac_delim='%!_!# ' ++for ac_last_try in false false :; do ++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_tt"; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++ ++# For the awk script, D is an array of macro values keyed by name, ++# likewise P contains macro parameters if any. Preserve backslash ++# newline sequences. ++ ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ++sed -n ' ++s/.\{148\}/&'"$ac_delim"'/g ++t rset ++:rset ++s/^[ ]*#[ ]*define[ ][ ]*/ / ++t def ++d ++:def ++s/\\$// ++t bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3"/p ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ++d ++:bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3\\\\\\n"\\/p ++t cont ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ++t cont ++d ++:cont ++n ++s/.\{148\}/&'"$ac_delim"'/g ++t clear ++:clear ++s/\\$// ++t bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/"/p ++d ++:bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ++b cont ++' >$CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ for (key in D) D_is_set[key] = 1 ++ FS = "" ++} ++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ++ line = \$ 0 ++ split(line, arg, " ") ++ if (arg[1] == "#") { ++ defundef = arg[2] ++ mac1 = arg[3] ++ } else { ++ defundef = substr(arg[1], 2) ++ mac1 = arg[2] ++ } ++ split(mac1, mac2, "(") #) ++ macro = mac2[1] ++ prefix = substr(line, 1, index(line, defundef) - 1) ++ if (D_is_set[macro]) { ++ # Preserve the white space surrounding the "#". ++ print prefix "define", macro P[macro] D[macro] ++ next ++ } else { ++ # Replace #undef with comments. This is necessary, for example, ++ # in the case of _POSIX_SOURCE, which is predefined and required ++ # on some systems where configure will not decide to define it. ++ if (defundef == "undef") { ++ print "/*", prefix defundef, macro, "*/" ++ next ++ } ++ } ++} ++{ print } ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 ++fi # test -n "$CONFIG_HEADERS" ++ ++ ++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " ++shift ++for ac_tag ++do ++ case $ac_tag in ++ :[FHLC]) ac_mode=$ac_tag; continue;; ++ esac ++ case $ac_mode$ac_tag in ++ :[FHL]*:*);; ++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; ++ :[FH]-) ac_tag=-:-;; ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ++ esac ++ ac_save_IFS=$IFS ++ IFS=: ++ set x $ac_tag ++ IFS=$ac_save_IFS ++ shift ++ ac_file=$1 ++ shift ++ ++ case $ac_mode in ++ :L) ac_source=$1;; ++ :[FH]) ++ ac_file_inputs= ++ for ac_f ++ do ++ case $ac_f in ++ -) ac_f="$ac_tmp/stdin";; ++ *) # Look for the file first in the build tree, then in the source tree ++ # (if the path is not absolute). The absolute path cannot be DOS-style, ++ # because $ac_f cannot contain `:'. ++ test -f "$ac_f" || ++ case $ac_f in ++ [\\/$]*) false;; ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ++ esac || ++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; ++ esac ++ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ as_fn_append ac_file_inputs " '$ac_f'" ++ done ++ ++ # Let's still pretend it is `configure' which instantiates (i.e., don't ++ # use $as_me), people would be surprised to read: ++ # /* config.h. Generated by config.status. */ ++ configure_input='Generated from '` ++ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ `' by configure.' ++ if test x"$ac_file" != x-; then ++ configure_input="$ac_file. $configure_input" ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++printf "%s\n" "$as_me: creating $ac_file" >&6;} ++ fi ++ # Neutralize special characters interpreted by sed in replacement strings. ++ case $configure_input in #( ++ *\&* | *\|* | *\\* ) ++ ac_sed_conf_input=`printf "%s\n" "$configure_input" | ++ sed 's/[\\\\&|]/\\\\&/g'`;; #( ++ *) ac_sed_conf_input=$configure_input;; ++ esac ++ ++ case $ac_tag in ++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; ++ esac ++ ;; ++ esac ++ ++ ac_dir=`$as_dirname -- "$ac_file" || ++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$ac_file" : 'X\(//\)[^/]' \| \ ++ X"$ac_file" : 'X\(//\)$' \| \ ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ++printf "%s\n" X"$ac_file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir="$ac_dir"; as_fn_mkdir_p ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ ++ case $ac_mode in ++ :F) ++ # ++ # CONFIG_FILE ++ # ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# If the template does not know about datarootdir, expand it. ++# FIXME: This hack should be removed a few years after 2.60. ++ac_datarootdir_hack=; ac_datarootdir_seen= ++ac_sed_dataroot=' ++/datarootdir/ { ++ p ++ q ++} ++/@datadir@/p ++/@docdir@/p ++/@infodir@/p ++/@localedir@/p ++/@mandir@/p' ++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ++*datarootdir*) ac_datarootdir_seen=yes;; ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ ac_datarootdir_hack=' ++ s&@datadir@&$datadir&g ++ s&@docdir@&$docdir&g ++ s&@infodir@&$infodir&g ++ s&@localedir@&$localedir&g ++ s&@mandir@&$mandir&g ++ s&\\\${datarootdir}&$datarootdir&g' ;; ++esac ++_ACEOF ++ ++# Neutralize VPATH when `$srcdir' = `.'. ++# Shell code in configure.ac might set extrasub. ++# FIXME: do we really want to maintain this feature? ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_sed_extra="$ac_vpsub ++$extrasub ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++:t ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++s|@configure_input@|$ac_sed_conf_input|;t t ++s&@top_builddir@&$ac_top_builddir_sub&;t t ++s&@top_build_prefix@&$ac_top_build_prefix&;t t ++s&@srcdir@&$ac_srcdir&;t t ++s&@abs_srcdir@&$ac_abs_srcdir&;t t ++s&@top_srcdir@&$ac_top_srcdir&;t t ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ++s&@builddir@&$ac_builddir&;t t ++s&@abs_builddir@&$ac_abs_builddir&;t t ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ++$ac_datarootdir_hack ++" ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ ++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ++ "$ac_tmp/out"`; test -z "$ac_out"; } && ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&5 ++printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&2;} ++ ++ rm -f "$ac_tmp/stdin" ++ case $ac_file in ++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; ++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; ++ esac \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ;; ++ :H) ++ # ++ # CONFIG_HEADER ++ # ++ if test x"$ac_file" != x-; then ++ { ++ printf "%s\n" "/* $configure_input */" >&1 \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" ++ } >"$ac_tmp/config.h" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} ++ else ++ rm -f "$ac_file" ++ mv "$ac_tmp/config.h" "$ac_file" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ fi ++ else ++ printf "%s\n" "/* $configure_input */" >&1 \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ ++ || as_fn_error $? "could not create -" "$LINENO" 5 ++ fi ++ ;; ++ ++ ++ esac ++ ++done # for ac_tag ++ ++ ++as_fn_exit 0 ++_ACEOF ++ac_clean_files=$ac_clean_files_save ++ ++test $ac_write_fail = 0 || ++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 ++ ++ ++# configure is writing to config.log, and then calls config.status. ++# config.status does its own redirection, appending to config.log. ++# Unfortunately, on DOS this fails, as config.log is still kept open ++# by configure, so config.status won't be able to write to it; its ++# output is simply discarded. So we exec the FD to /dev/null, ++# effectively closing config.log, so it can be properly (re)opened and ++# appended to by config.status. When coming back to configure, we ++# need to make the FD available again. ++if test "$no_create" != yes; then ++ ac_cs_success=: ++ ac_config_status_args= ++ test "$silent" = yes && ++ ac_config_status_args="$ac_config_status_args --quiet" ++ exec 5>/dev/null ++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ++ exec 5>>config.log ++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which ++ # would make configure fail if this is the last instruction. ++ $ac_cs_success || as_fn_exit 1 ++fi ++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++fi ++ ++ ++ +\ No newline at end of file +diff -Naurp pcp-5.3.7.orig/autom4te.cache/requests pcp-5.3.7/autom4te.cache/requests +--- pcp-5.3.7.orig/autom4te.cache/requests 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/autom4te.cache/requests 2022-10-26 16:45:21.272094155 +1100 +@@ -0,0 +1,85 @@ ++# This file was generated by Autom4te 2.71. ++# It contains the lists of macros which have been traced. ++# It can be safely removed. ++ ++@request = ( ++ bless( [ ++ '0', ++ 1, ++ [ ++ '/usr/share/autoconf' ++ ], ++ [ ++ '/usr/share/autoconf/autoconf/autoconf.m4f', ++ 'aclocal.m4', ++ '/usr/share/autoconf/autoconf/trailer.m4', ++ 'configure.ac' ++ ], ++ { ++ 'AM_XGETTEXT_OPTION' => 1, ++ 'm4_sinclude' => 1, ++ 'include' => 1, ++ 'm4_pattern_allow' => 1, ++ 'm4_include' => 1, ++ 'sinclude' => 1, ++ 'AM_MAINTAINER_MODE' => 1, ++ 'AC_FC_PP_SRCEXT' => 1, ++ 'LT_SUPPORTED_TAG' => 1, ++ 'AC_CONFIG_MACRO_DIR_TRACE' => 1, ++ '_AM_COND_IF' => 1, ++ 'AC_CONFIG_LINKS' => 1, ++ 'AM_MAKEFILE_INCLUDE' => 1, ++ 'AM_EXTRA_RECURSIVE_TARGETS' => 1, ++ 'AH_OUTPUT' => 1, ++ 'AM_PROG_AR' => 1, ++ 'AM_PROG_CC_C_O' => 1, ++ 'AM_PATH_GUILE' => 1, ++ '_LT_AC_TAGCONFIG' => 1, ++ '_AM_MAKEFILE_INCLUDE' => 1, ++ 'AC_CONFIG_FILES' => 1, ++ 'AC_CONFIG_SUBDIRS' => 1, ++ 'AC_DEFINE_TRACE_LITERAL' => 1, ++ '_m4_warn' => 1, ++ 'GTK_DOC_CHECK' => 1, ++ 'AM_PROG_F77_C_O' => 1, ++ 'AM_INIT_AUTOMAKE' => 1, ++ 'AC_CANONICAL_HOST' => 1, ++ 'AM_PROG_CXX_C_O' => 1, ++ 'AC_CONFIG_HEADERS' => 1, ++ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, ++ 'AC_FC_FREEFORM' => 1, ++ 'AC_REQUIRE_AUX_FILE' => 1, ++ 'AM_GNU_GETTEXT' => 1, ++ 'AM_PROG_LIBTOOL' => 1, ++ '_AM_SUBST_NOTMAKE' => 1, ++ 'AC_CANONICAL_BUILD' => 1, ++ 'AC_LIBSOURCE' => 1, ++ '_AM_COND_ENDIF' => 1, ++ 'AM_PROG_MKDIR_P' => 1, ++ 'AC_CANONICAL_TARGET' => 1, ++ 'LT_INIT' => 1, ++ 'AC_CONFIG_AUX_DIR' => 1, ++ 'AC_INIT' => 1, ++ 'AM_PROG_FC_C_O' => 1, ++ 'AC_SUBST' => 1, ++ 'AM_PROG_MOC' => 1, ++ 'AM_ENABLE_MULTILIB' => 1, ++ '_AM_COND_ELSE' => 1, ++ 'AM_POT_TOOLS' => 1, ++ 'AC_CONFIG_LIBOBJ_DIR' => 1, ++ 'AM_CONDITIONAL' => 1, ++ 'IT_PROG_INTLTOOL' => 1, ++ 'AM_SILENT_RULES' => 1, ++ 'AC_FC_PP_DEFINE' => 1, ++ 'AM_NLS' => 1, ++ 'AC_SUBST_TRACE' => 1, ++ 'AC_CANONICAL_SYSTEM' => 1, ++ 'LT_CONFIG_LTDL_DIR' => 1, ++ 'AC_FC_SRCEXT' => 1, ++ 'AC_PROG_LIBTOOL' => 1, ++ 'm4_pattern_forbid' => 1, ++ 'AM_AUTOMAKE_VERSION' => 1 ++ } ++ ], 'Autom4te::Request' ) ++ ); ++ +diff -Naurp pcp-5.3.7.orig/autom4te.cache/traces.0 pcp-5.3.7/autom4te.cache/traces.0 +--- pcp-5.3.7.orig/autom4te.cache/traces.0 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/autom4te.cache/traces.0 2022-10-26 16:45:21.273094142 +1100 +@@ -0,0 +1,2696 @@ ++m4trace:configure.ac:18: -1- AC_INIT([src/include/pcp/pmapi.h]) ++m4trace:configure.ac:18: -1- m4_pattern_forbid([^_?A[CHUM]_]) ++m4trace:configure.ac:18: -1- m4_pattern_forbid([_AC_]) ++m4trace:configure.ac:18: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^AS_FLAGS$]) ++m4trace:configure.ac:18: -1- m4_pattern_forbid([^_?m4_]) ++m4trace:configure.ac:18: -1- m4_pattern_forbid([^dnl$]) ++m4trace:configure.ac:18: -1- m4_pattern_forbid([^_?AS_]) ++m4trace:configure.ac:18: -1- AC_SUBST([SHELL]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([SHELL]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^SHELL$]) ++m4trace:configure.ac:18: -1- AC_SUBST([PATH_SEPARATOR]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PATH_SEPARATOR$]) ++m4trace:configure.ac:18: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([PACKAGE_NAME]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.ac:18: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.ac:18: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.ac:18: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([PACKAGE_STRING]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.ac:18: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.ac:18: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([PACKAGE_URL]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.ac:18: -1- AC_SUBST([exec_prefix], [NONE]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([exec_prefix]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^exec_prefix$]) ++m4trace:configure.ac:18: -1- AC_SUBST([prefix], [NONE]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([prefix]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^prefix$]) ++m4trace:configure.ac:18: -1- AC_SUBST([program_transform_name], [s,x,x,]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([program_transform_name]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^program_transform_name$]) ++m4trace:configure.ac:18: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([bindir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^bindir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([sbindir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^sbindir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([libexecdir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^libexecdir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([datarootdir], ['${prefix}/share']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([datarootdir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^datarootdir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([datadir], ['${datarootdir}']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([datadir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^datadir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([sysconfdir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^sysconfdir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([sharedstatedir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^sharedstatedir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([localstatedir], ['${prefix}/var']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([localstatedir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^localstatedir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([runstatedir], ['${localstatedir}/run']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([runstatedir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^runstatedir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([includedir], ['${prefix}/include']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([includedir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^includedir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([oldincludedir], ['/usr/include']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([oldincludedir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^oldincludedir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], ++ ['${datarootdir}/doc/${PACKAGE_TARNAME}'], ++ ['${datarootdir}/doc/${PACKAGE}'])]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([docdir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^docdir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([infodir], ['${datarootdir}/info']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([infodir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^infodir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([htmldir], ['${docdir}']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([htmldir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^htmldir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([dvidir], ['${docdir}']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([dvidir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^dvidir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([pdfdir], ['${docdir}']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([pdfdir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^pdfdir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([psdir], ['${docdir}']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([psdir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^psdir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([libdir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^libdir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([localedir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^localedir$]) ++m4trace:configure.ac:18: -1- AC_SUBST([mandir], ['${datarootdir}/man']) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([mandir]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^mandir$]) ++m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_NAME$]) ++m4trace:configure.ac:18: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ ++@%:@undef PACKAGE_NAME]) ++m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) ++m4trace:configure.ac:18: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ ++@%:@undef PACKAGE_TARNAME]) ++m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.ac:18: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ ++@%:@undef PACKAGE_VERSION]) ++m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_STRING$]) ++m4trace:configure.ac:18: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ ++@%:@undef PACKAGE_STRING]) ++m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) ++m4trace:configure.ac:18: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ ++@%:@undef PACKAGE_BUGREPORT]) ++m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^PACKAGE_URL$]) ++m4trace:configure.ac:18: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ ++@%:@undef PACKAGE_URL]) ++m4trace:configure.ac:18: -1- AC_SUBST([DEFS]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([DEFS]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^DEFS$]) ++m4trace:configure.ac:18: -1- AC_SUBST([ECHO_C]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([ECHO_C]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^ECHO_C$]) ++m4trace:configure.ac:18: -1- AC_SUBST([ECHO_N]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([ECHO_N]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^ECHO_N$]) ++m4trace:configure.ac:18: -1- AC_SUBST([ECHO_T]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([ECHO_T]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^ECHO_T$]) ++m4trace:configure.ac:18: -1- AC_SUBST([LIBS]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([LIBS]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.ac:18: -1- AC_SUBST([build_alias]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([build_alias]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^build_alias$]) ++m4trace:configure.ac:18: -1- AC_SUBST([host_alias]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([host_alias]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^host_alias$]) ++m4trace:configure.ac:18: -1- AC_SUBST([target_alias]) ++m4trace:configure.ac:18: -1- AC_SUBST_TRACE([target_alias]) ++m4trace:configure.ac:18: -1- m4_pattern_allow([^target_alias$]) ++m4trace:configure.ac:46: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:46: the top level]) ++m4trace:configure.ac:52: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:52: the top level]) ++m4trace:configure.ac:58: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:58: the top level]) ++m4trace:configure.ac:64: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:64: the top level]) ++m4trace:configure.ac:75: -1- AC_SUBST([pcp_user]) ++m4trace:configure.ac:75: -1- AC_SUBST_TRACE([pcp_user]) ++m4trace:configure.ac:75: -1- m4_pattern_allow([^pcp_user$]) ++m4trace:configure.ac:82: -1- AC_SUBST([pcp_group]) ++m4trace:configure.ac:82: -1- AC_SUBST_TRACE([pcp_group]) ++m4trace:configure.ac:82: -1- m4_pattern_allow([^pcp_group$]) ++m4trace:configure.ac:84: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:84: the top level]) ++m4trace:configure.ac:90: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:90: the top level]) ++m4trace:configure.ac:96: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:96: the top level]) ++m4trace:configure.ac:102: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:102: the top level]) ++m4trace:configure.ac:108: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:108: the top level]) ++m4trace:configure.ac:114: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:114: the top level]) ++m4trace:configure.ac:120: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:120: the top level]) ++m4trace:configure.ac:126: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:126: the top level]) ++m4trace:configure.ac:132: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:132: the top level]) ++m4trace:configure.ac:138: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:138: the top level]) ++m4trace:configure.ac:144: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:144: the top level]) ++m4trace:configure.ac:150: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:150: the top level]) ++m4trace:configure.ac:156: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:156: the top level]) ++m4trace:configure.ac:162: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:162: the top level]) ++m4trace:configure.ac:168: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:168: the top level]) ++m4trace:configure.ac:174: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:174: the top level]) ++m4trace:configure.ac:180: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:180: the top level]) ++m4trace:configure.ac:186: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:186: the top level]) ++m4trace:configure.ac:192: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:192: the top level]) ++m4trace:configure.ac:198: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:198: the top level]) ++m4trace:configure.ac:208: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:208: the top level]) ++m4trace:configure.ac:214: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:214: the top level]) ++m4trace:configure.ac:220: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:220: the top level]) ++m4trace:configure.ac:226: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:226: the top level]) ++m4trace:configure.ac:240: -1- AC_CANONICAL_SYSTEM ++m4trace:configure.ac:240: -1- _m4_warn([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... ++configure.ac:240: the top level]) ++m4trace:configure.ac:240: -1- AC_CANONICAL_TARGET ++m4trace:configure.ac:240: -1- AC_CANONICAL_HOST ++m4trace:configure.ac:240: -1- AC_CANONICAL_BUILD ++m4trace:configure.ac:240: -1- AC_REQUIRE_AUX_FILE([config.sub]) ++m4trace:configure.ac:240: -1- AC_REQUIRE_AUX_FILE([config.guess]) ++m4trace:configure.ac:240: -1- AC_SUBST([build], [$ac_cv_build]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([build]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^build$]) ++m4trace:configure.ac:240: -1- AC_SUBST([build_cpu], [$[1]]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([build_cpu]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^build_cpu$]) ++m4trace:configure.ac:240: -1- AC_SUBST([build_vendor], [$[2]]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([build_vendor]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^build_vendor$]) ++m4trace:configure.ac:240: -1- AC_SUBST([build_os]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([build_os]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^build_os$]) ++m4trace:configure.ac:240: -1- AC_SUBST([host], [$ac_cv_host]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([host]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^host$]) ++m4trace:configure.ac:240: -1- AC_SUBST([host_cpu], [$[1]]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([host_cpu]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^host_cpu$]) ++m4trace:configure.ac:240: -1- AC_SUBST([host_vendor], [$[2]]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([host_vendor]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^host_vendor$]) ++m4trace:configure.ac:240: -1- AC_SUBST([host_os]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([host_os]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^host_os$]) ++m4trace:configure.ac:240: -1- AC_SUBST([target], [$ac_cv_target]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([target]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^target$]) ++m4trace:configure.ac:240: -1- AC_SUBST([target_cpu], [$[1]]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([target_cpu]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^target_cpu$]) ++m4trace:configure.ac:240: -1- AC_SUBST([target_vendor], [$[2]]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([target_vendor]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^target_vendor$]) ++m4trace:configure.ac:240: -1- AC_SUBST([target_os]) ++m4trace:configure.ac:240: -1- AC_SUBST_TRACE([target_os]) ++m4trace:configure.ac:240: -1- m4_pattern_allow([^target_os$]) ++m4trace:configure.ac:276: -1- AC_SUBST([cross_compiling]) ++m4trace:configure.ac:276: -1- AC_SUBST_TRACE([cross_compiling]) ++m4trace:configure.ac:276: -1- m4_pattern_allow([^cross_compiling$]) ++m4trace:configure.ac:285: -1- AC_DEFINE_TRACE_LITERAL([IS_LINUX]) ++m4trace:configure.ac:285: -1- m4_pattern_allow([^IS_LINUX$]) ++m4trace:configure.ac:285: -1- AH_OUTPUT([IS_LINUX], [/* Platform is Linux */ ++@%:@undef IS_LINUX]) ++m4trace:configure.ac:305: -1- AC_DEFINE_TRACE_LITERAL([IS_DARWIN]) ++m4trace:configure.ac:305: -1- m4_pattern_allow([^IS_DARWIN$]) ++m4trace:configure.ac:305: -1- AH_OUTPUT([IS_DARWIN], [/* Platform is Darwin (Mac OS X) */ ++@%:@undef IS_DARWIN]) ++m4trace:configure.ac:329: -1- AC_DEFINE_TRACE_LITERAL([IS_MINGW]) ++m4trace:configure.ac:329: -1- m4_pattern_allow([^IS_MINGW$]) ++m4trace:configure.ac:329: -1- AH_OUTPUT([IS_MINGW], [/* Platform is MinGW (Windows) */ ++@%:@undef IS_MINGW]) ++m4trace:configure.ac:335: -1- AC_DEFINE_TRACE_LITERAL([IS_SOLARIS]) ++m4trace:configure.ac:335: -1- m4_pattern_allow([^IS_SOLARIS$]) ++m4trace:configure.ac:335: -1- AH_OUTPUT([IS_SOLARIS], [/* Platform is Solaris */ ++@%:@undef IS_SOLARIS]) ++m4trace:configure.ac:342: -1- AC_DEFINE_TRACE_LITERAL([IS_AIX]) ++m4trace:configure.ac:342: -1- m4_pattern_allow([^IS_AIX$]) ++m4trace:configure.ac:342: -1- AH_OUTPUT([IS_AIX], [/* Platform is AIX */ ++@%:@undef IS_AIX]) ++m4trace:configure.ac:348: -1- AC_DEFINE_TRACE_LITERAL([IS_FREEBSD]) ++m4trace:configure.ac:348: -1- m4_pattern_allow([^IS_FREEBSD$]) ++m4trace:configure.ac:348: -1- AH_OUTPUT([IS_FREEBSD], [/* Platform is FreeBSD */ ++@%:@undef IS_FREEBSD]) ++m4trace:configure.ac:362: -1- AC_DEFINE_TRACE_LITERAL([IS_GNU]) ++m4trace:configure.ac:362: -1- m4_pattern_allow([^IS_GNU$]) ++m4trace:configure.ac:362: -1- AH_OUTPUT([IS_GNU], [/* Platform is GNU Hurd */ ++@%:@undef IS_GNU]) ++m4trace:configure.ac:370: -1- AC_DEFINE_TRACE_LITERAL([IS_NETBSD]) ++m4trace:configure.ac:370: -1- m4_pattern_allow([^IS_NETBSD$]) ++m4trace:configure.ac:370: -1- AH_OUTPUT([IS_NETBSD], [/* Platform is NetBSD */ ++@%:@undef IS_NETBSD]) ++m4trace:configure.ac:377: -1- AC_DEFINE_TRACE_LITERAL([IS_OPENBSD]) ++m4trace:configure.ac:377: -1- m4_pattern_allow([^IS_OPENBSD$]) ++m4trace:configure.ac:377: -1- AH_OUTPUT([IS_OPENBSD], [/* Platform is OpenBSD */ ++@%:@undef IS_OPENBSD]) ++m4trace:configure.ac:392: -1- AC_SUBST([pcp_platform_paths]) ++m4trace:configure.ac:392: -1- AC_SUBST_TRACE([pcp_platform_paths]) ++m4trace:configure.ac:392: -1- m4_pattern_allow([^pcp_platform_paths$]) ++m4trace:configure.ac:393: -1- AC_SUBST([pcp_ps_all_flags]) ++m4trace:configure.ac:393: -1- AC_SUBST_TRACE([pcp_ps_all_flags]) ++m4trace:configure.ac:393: -1- m4_pattern_allow([^pcp_ps_all_flags$]) ++m4trace:configure.ac:404: -1- AC_SUBST([optimization]) ++m4trace:configure.ac:404: -1- AC_SUBST_TRACE([optimization]) ++m4trace:configure.ac:404: -1- m4_pattern_allow([^optimization$]) ++m4trace:configure.ac:406: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) ++m4trace:configure.ac:406: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) ++m4trace:configure.ac:406: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) ++m4trace:configure.ac:406: -1- AC_SUBST([PKG_CONFIG]) ++m4trace:configure.ac:406: -1- AC_SUBST_TRACE([PKG_CONFIG]) ++m4trace:configure.ac:406: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.ac:406: -1- AC_SUBST([PKG_CONFIG_PATH]) ++m4trace:configure.ac:406: -1- AC_SUBST_TRACE([PKG_CONFIG_PATH]) ++m4trace:configure.ac:406: -1- m4_pattern_allow([^PKG_CONFIG_PATH$]) ++m4trace:configure.ac:406: -1- AC_SUBST([PKG_CONFIG_LIBDIR]) ++m4trace:configure.ac:406: -1- AC_SUBST_TRACE([PKG_CONFIG_LIBDIR]) ++m4trace:configure.ac:406: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) ++m4trace:configure.ac:406: -1- AC_SUBST([PKG_CONFIG]) ++m4trace:configure.ac:406: -1- AC_SUBST_TRACE([PKG_CONFIG]) ++m4trace:configure.ac:406: -1- m4_pattern_allow([^PKG_CONFIG$]) ++m4trace:configure.ac:413: -1- AC_SUBST([CC]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:413: -1- AC_SUBST([CFLAGS]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([CFLAGS]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^CFLAGS$]) ++m4trace:configure.ac:413: -1- AC_SUBST([LDFLAGS]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([LDFLAGS]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^LDFLAGS$]) ++m4trace:configure.ac:413: -1- AC_SUBST([LIBS]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([LIBS]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.ac:413: -1- AC_SUBST([CPPFLAGS]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([CPPFLAGS]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.ac:413: -1- AC_SUBST([CC]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([CC]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^CC$]) ++m4trace:configure.ac:413: -1- AC_SUBST([ac_ct_CC]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([ac_ct_CC]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^ac_ct_CC$]) ++m4trace:configure.ac:413: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([EXEEXT]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^EXEEXT$]) ++m4trace:configure.ac:413: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) ++m4trace:configure.ac:413: -1- AC_SUBST_TRACE([OBJEXT]) ++m4trace:configure.ac:413: -1- m4_pattern_allow([^OBJEXT$]) ++m4trace:configure.ac:416: -1- AC_SUBST([CCPATH]) ++m4trace:configure.ac:416: -1- AC_SUBST_TRACE([CCPATH]) ++m4trace:configure.ac:416: -1- m4_pattern_allow([^CCPATH$]) ++m4trace:configure.ac:445: -1- AC_SUBST([cc]) ++m4trace:configure.ac:445: -1- AC_SUBST_TRACE([cc]) ++m4trace:configure.ac:445: -1- m4_pattern_allow([^cc$]) ++m4trace:configure.ac:447: -1- AC_SUBST([cc_is_gcc]) ++m4trace:configure.ac:447: -1- AC_SUBST_TRACE([cc_is_gcc]) ++m4trace:configure.ac:447: -1- m4_pattern_allow([^cc_is_gcc$]) ++m4trace:configure.ac:448: -1- AC_SUBST([cflags_abi]) ++m4trace:configure.ac:448: -1- AC_SUBST_TRACE([cflags_abi]) ++m4trace:configure.ac:448: -1- m4_pattern_allow([^cflags_abi$]) ++m4trace:configure.ac:490: -1- AC_SUBST([PCFLAGS]) ++m4trace:configure.ac:490: -1- AC_SUBST_TRACE([PCFLAGS]) ++m4trace:configure.ac:490: -1- m4_pattern_allow([^PCFLAGS$]) ++m4trace:configure.ac:491: -1- AC_SUBST([PLDFLAGS]) ++m4trace:configure.ac:491: -1- AC_SUBST_TRACE([PLDFLAGS]) ++m4trace:configure.ac:491: -1- m4_pattern_allow([^PLDFLAGS$]) ++m4trace:configure.ac:513: -1- AC_SUBST([PIELDFLAGS]) ++m4trace:configure.ac:513: -1- AC_SUBST_TRACE([PIELDFLAGS]) ++m4trace:configure.ac:513: -1- m4_pattern_allow([^PIELDFLAGS$]) ++m4trace:configure.ac:514: -1- AC_SUBST([PIECFLAGS]) ++m4trace:configure.ac:514: -1- AC_SUBST_TRACE([PIECFLAGS]) ++m4trace:configure.ac:514: -1- m4_pattern_allow([^PIECFLAGS$]) ++m4trace:configure.ac:531: -1- AC_SUBST([INVISIBILITY]) ++m4trace:configure.ac:531: -1- AC_SUBST_TRACE([INVISIBILITY]) ++m4trace:configure.ac:531: -1- m4_pattern_allow([^INVISIBILITY$]) ++m4trace:configure.ac:547: -1- AC_SUBST([C99_CFLAGS]) ++m4trace:configure.ac:547: -1- AC_SUBST_TRACE([C99_CFLAGS]) ++m4trace:configure.ac:547: -1- m4_pattern_allow([^C99_CFLAGS$]) ++m4trace:configure.ac:550: -1- AC_SUBST([CXX]) ++m4trace:configure.ac:550: -1- AC_SUBST_TRACE([CXX]) ++m4trace:configure.ac:550: -1- m4_pattern_allow([^CXX$]) ++m4trace:configure.ac:550: -1- AC_SUBST([CXXFLAGS]) ++m4trace:configure.ac:550: -1- AC_SUBST_TRACE([CXXFLAGS]) ++m4trace:configure.ac:550: -1- m4_pattern_allow([^CXXFLAGS$]) ++m4trace:configure.ac:550: -1- AC_SUBST([LDFLAGS]) ++m4trace:configure.ac:550: -1- AC_SUBST_TRACE([LDFLAGS]) ++m4trace:configure.ac:550: -1- m4_pattern_allow([^LDFLAGS$]) ++m4trace:configure.ac:550: -1- AC_SUBST([LIBS]) ++m4trace:configure.ac:550: -1- AC_SUBST_TRACE([LIBS]) ++m4trace:configure.ac:550: -1- m4_pattern_allow([^LIBS$]) ++m4trace:configure.ac:550: -1- AC_SUBST([CPPFLAGS]) ++m4trace:configure.ac:550: -1- AC_SUBST_TRACE([CPPFLAGS]) ++m4trace:configure.ac:550: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.ac:550: -1- AC_SUBST([CXX]) ++m4trace:configure.ac:550: -1- AC_SUBST_TRACE([CXX]) ++m4trace:configure.ac:550: -1- m4_pattern_allow([^CXX$]) ++m4trace:configure.ac:550: -1- AC_SUBST([ac_ct_CXX]) ++m4trace:configure.ac:550: -1- AC_SUBST_TRACE([ac_ct_CXX]) ++m4trace:configure.ac:550: -1- m4_pattern_allow([^ac_ct_CXX$]) ++m4trace:configure.ac:552: -1- AC_SUBST([cxx]) ++m4trace:configure.ac:552: -1- AC_SUBST_TRACE([cxx]) ++m4trace:configure.ac:552: -1- m4_pattern_allow([^cxx$]) ++m4trace:configure.ac:568: -1- AC_SUBST([enable_shared]) ++m4trace:configure.ac:568: -1- AC_SUBST_TRACE([enable_shared]) ++m4trace:configure.ac:568: -1- m4_pattern_allow([^enable_shared$]) ++m4trace:configure.ac:573: -1- AC_SUBST([AWK]) ++m4trace:configure.ac:573: -1- AC_SUBST_TRACE([AWK]) ++m4trace:configure.ac:573: -1- m4_pattern_allow([^AWK$]) ++m4trace:configure.ac:583: -1- AC_SUBST([awk]) ++m4trace:configure.ac:583: -1- AC_SUBST_TRACE([awk]) ++m4trace:configure.ac:583: -1- m4_pattern_allow([^awk$]) ++m4trace:configure.ac:586: -1- AC_SUBST([SED]) ++m4trace:configure.ac:586: -1- AC_SUBST_TRACE([SED]) ++m4trace:configure.ac:586: -1- m4_pattern_allow([^SED$]) ++m4trace:configure.ac:592: -1- AC_SUBST([sed]) ++m4trace:configure.ac:592: -1- AC_SUBST_TRACE([sed]) ++m4trace:configure.ac:592: -1- m4_pattern_allow([^sed$]) ++m4trace:configure.ac:595: -1- AC_SUBST([ECHO]) ++m4trace:configure.ac:595: -1- AC_SUBST_TRACE([ECHO]) ++m4trace:configure.ac:595: -1- m4_pattern_allow([^ECHO$]) ++m4trace:configure.ac:601: -1- AC_SUBST([echo]) ++m4trace:configure.ac:601: -1- AC_SUBST_TRACE([echo]) ++m4trace:configure.ac:601: -1- m4_pattern_allow([^echo$]) ++m4trace:configure.ac:604: -1- AC_SUBST([FIND]) ++m4trace:configure.ac:604: -1- AC_SUBST_TRACE([FIND]) ++m4trace:configure.ac:604: -1- m4_pattern_allow([^FIND$]) ++m4trace:configure.ac:610: -1- AC_SUBST([find]) ++m4trace:configure.ac:610: -1- AC_SUBST_TRACE([find]) ++m4trace:configure.ac:610: -1- m4_pattern_allow([^find$]) ++m4trace:configure.ac:613: -1- AC_SUBST([WHICH]) ++m4trace:configure.ac:613: -1- AC_SUBST_TRACE([WHICH]) ++m4trace:configure.ac:613: -1- m4_pattern_allow([^WHICH$]) ++m4trace:configure.ac:619: -1- AC_SUBST([which]) ++m4trace:configure.ac:619: -1- AC_SUBST_TRACE([which]) ++m4trace:configure.ac:619: -1- m4_pattern_allow([^which$]) ++m4trace:configure.ac:622: -1- AC_SUBST([AR]) ++m4trace:configure.ac:622: -1- AC_SUBST_TRACE([AR]) ++m4trace:configure.ac:622: -1- m4_pattern_allow([^AR$]) ++m4trace:configure.ac:628: -1- AC_SUBST([ar]) ++m4trace:configure.ac:628: -1- AC_SUBST_TRACE([ar]) ++m4trace:configure.ac:628: -1- m4_pattern_allow([^ar$]) ++m4trace:configure.ac:630: -1- _m4_warn([obsolete], [AC_PROG_LEX without either yywrap or noyywrap is obsolete], [./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ++./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... ++configure.ac:630: the top level]) ++m4trace:configure.ac:630: -1- AC_SUBST([LEX]) ++m4trace:configure.ac:630: -1- AC_SUBST_TRACE([LEX]) ++m4trace:configure.ac:630: -1- m4_pattern_allow([^LEX$]) ++m4trace:configure.ac:630: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root]) ++m4trace:configure.ac:630: -1- AC_SUBST_TRACE([LEX_OUTPUT_ROOT]) ++m4trace:configure.ac:630: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$]) ++m4trace:configure.ac:630: -1- AC_SUBST([LEXLIB]) ++m4trace:configure.ac:630: -1- AC_SUBST_TRACE([LEXLIB]) ++m4trace:configure.ac:630: -1- m4_pattern_allow([^LEXLIB$]) ++m4trace:configure.ac:630: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER]) ++m4trace:configure.ac:630: -1- m4_pattern_allow([^YYTEXT_POINTER$]) ++m4trace:configure.ac:630: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a ++ `char@<:@@:>@\'. */ ++@%:@undef YYTEXT_POINTER]) ++m4trace:configure.ac:637: -1- AC_SUBST([lex]) ++m4trace:configure.ac:637: -1- AC_SUBST_TRACE([lex]) ++m4trace:configure.ac:637: -1- m4_pattern_allow([^lex$]) ++m4trace:configure.ac:639: -1- AC_SUBST([YACC]) ++m4trace:configure.ac:639: -1- AC_SUBST_TRACE([YACC]) ++m4trace:configure.ac:639: -1- m4_pattern_allow([^YACC$]) ++m4trace:configure.ac:639: -1- AC_SUBST([YACC]) ++m4trace:configure.ac:639: -1- AC_SUBST_TRACE([YACC]) ++m4trace:configure.ac:639: -1- m4_pattern_allow([^YACC$]) ++m4trace:configure.ac:639: -1- AC_SUBST([YFLAGS]) ++m4trace:configure.ac:639: -1- AC_SUBST_TRACE([YFLAGS]) ++m4trace:configure.ac:639: -1- m4_pattern_allow([^YFLAGS$]) ++m4trace:configure.ac:651: -1- AC_SUBST([yacc]) ++m4trace:configure.ac:651: -1- AC_SUBST_TRACE([yacc]) ++m4trace:configure.ac:651: -1- m4_pattern_allow([^yacc$]) ++m4trace:configure.ac:653: -1- AC_SUBST([RAGEL]) ++m4trace:configure.ac:653: -1- AC_SUBST_TRACE([RAGEL]) ++m4trace:configure.ac:653: -1- m4_pattern_allow([^RAGEL$]) ++m4trace:configure.ac:654: -1- AC_SUBST([RAGEL]) ++m4trace:configure.ac:654: -1- AC_SUBST_TRACE([RAGEL]) ++m4trace:configure.ac:654: -1- m4_pattern_allow([^RAGEL$]) ++m4trace:configure.ac:678: -1- AC_SUBST([sort]) ++m4trace:configure.ac:678: -1- AC_SUBST_TRACE([sort]) ++m4trace:configure.ac:678: -1- m4_pattern_allow([^sort$]) ++m4trace:configure.ac:697: -1- AC_SUBST([echo_n]) ++m4trace:configure.ac:697: -1- AC_SUBST_TRACE([echo_n]) ++m4trace:configure.ac:697: -1- m4_pattern_allow([^echo_n$]) ++m4trace:configure.ac:698: -1- AC_SUBST([echo_c]) ++m4trace:configure.ac:698: -1- AC_SUBST_TRACE([echo_c]) ++m4trace:configure.ac:698: -1- m4_pattern_allow([^echo_c$]) ++m4trace:configure.ac:701: -1- AC_SUBST([GREP]) ++m4trace:configure.ac:701: -1- AC_SUBST_TRACE([GREP]) ++m4trace:configure.ac:701: -1- m4_pattern_allow([^GREP$]) ++m4trace:configure.ac:701: -1- AC_SUBST([EGREP]) ++m4trace:configure.ac:701: -1- AC_SUBST_TRACE([EGREP]) ++m4trace:configure.ac:701: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.ac:707: -1- AC_SUBST([DTRACE]) ++m4trace:configure.ac:707: -1- AC_SUBST_TRACE([DTRACE]) ++m4trace:configure.ac:707: -1- m4_pattern_allow([^DTRACE$]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_SYS_SDT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SDT_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDIO_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDLIB_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRING_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_INTTYPES_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRINGS_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_STAT_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TYPES_H]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_UNISTD_H]) ++m4trace:configure.ac:716: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) ++m4trace:configure.ac:716: -1- m4_pattern_allow([^STDC_HEADERS$]) ++m4trace:configure.ac:716: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if all of the C90 standard headers exist (not just the ones ++ required in a freestanding environment). This macro is provided for ++ backward compatibility; new code need not use it. */ ++@%:@undef STDC_HEADERS]) ++m4trace:configure.ac:716: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SDT_H]) ++m4trace:configure.ac:716: -1- m4_pattern_allow([^HAVE_SYS_SDT_H$]) ++m4trace:configure.ac:760: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STATIC_PROBES]) ++m4trace:configure.ac:760: -1- m4_pattern_allow([^HAVE_STATIC_PROBES$]) ++m4trace:configure.ac:760: -1- AH_OUTPUT([HAVE_STATIC_PROBES], [/* Static probes (dtrace, systemtap) */ ++@%:@undef HAVE_STATIC_PROBES]) ++m4trace:configure.ac:762: -1- AC_SUBST([enable_probes]) ++m4trace:configure.ac:762: -1- AC_SUBST_TRACE([enable_probes]) ++m4trace:configure.ac:762: -1- m4_pattern_allow([^enable_probes$]) ++m4trace:configure.ac:763: -1- AC_SUBST([DTRACE]) ++m4trace:configure.ac:763: -1- AC_SUBST_TRACE([DTRACE]) ++m4trace:configure.ac:763: -1- m4_pattern_allow([^DTRACE$]) ++m4trace:configure.ac:767: -1- AC_SUBST([gperftools_CFLAGS]) ++m4trace:configure.ac:767: -1- AC_SUBST_TRACE([gperftools_CFLAGS]) ++m4trace:configure.ac:767: -1- m4_pattern_allow([^gperftools_CFLAGS$]) ++m4trace:configure.ac:767: -1- AC_SUBST([gperftools_LIBS]) ++m4trace:configure.ac:767: -1- AC_SUBST_TRACE([gperftools_LIBS]) ++m4trace:configure.ac:767: -1- m4_pattern_allow([^gperftools_LIBS$]) ++m4trace:configure.ac:776: -1- AC_SUBST([sanitizer]) ++m4trace:configure.ac:776: -1- AC_SUBST_TRACE([sanitizer]) ++m4trace:configure.ac:776: -1- m4_pattern_allow([^sanitizer$]) ++m4trace:configure.ac:779: -1- AC_SUBST([avahi_CFLAGS]) ++m4trace:configure.ac:779: -1- AC_SUBST_TRACE([avahi_CFLAGS]) ++m4trace:configure.ac:779: -1- m4_pattern_allow([^avahi_CFLAGS$]) ++m4trace:configure.ac:779: -1- AC_SUBST([avahi_LIBS]) ++m4trace:configure.ac:779: -1- AC_SUBST_TRACE([avahi_LIBS]) ++m4trace:configure.ac:779: -1- m4_pattern_allow([^avahi_LIBS$]) ++m4trace:configure.ac:779: -1- AH_OUTPUT([HAVE_AVAHI_CLIENT_PUBLISH_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_AVAHI_CLIENT_PUBLISH_H]) ++m4trace:configure.ac:779: -1- AC_DEFINE_TRACE_LITERAL([HAVE_AVAHI_CLIENT_PUBLISH_H]) ++m4trace:configure.ac:779: -1- m4_pattern_allow([^HAVE_AVAHI_CLIENT_PUBLISH_H$]) ++m4trace:configure.ac:779: -1- AH_OUTPUT([HAVE_AVAHI_COMMON_ALTERNATIVE_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_AVAHI_COMMON_ALTERNATIVE_H]) ++m4trace:configure.ac:779: -1- AC_DEFINE_TRACE_LITERAL([HAVE_AVAHI_COMMON_ALTERNATIVE_H]) ++m4trace:configure.ac:779: -1- m4_pattern_allow([^HAVE_AVAHI_COMMON_ALTERNATIVE_H$]) ++m4trace:configure.ac:779: -1- AC_SUBST([lib_for_avahi]) ++m4trace:configure.ac:779: -1- AC_SUBST_TRACE([lib_for_avahi]) ++m4trace:configure.ac:779: -1- m4_pattern_allow([^lib_for_avahi$]) ++m4trace:configure.ac:779: -1- AC_SUBST([avahi_CFLAGS]) ++m4trace:configure.ac:779: -1- AC_SUBST_TRACE([avahi_CFLAGS]) ++m4trace:configure.ac:779: -1- m4_pattern_allow([^avahi_CFLAGS$]) ++m4trace:configure.ac:779: -1- AC_DEFINE_TRACE_LITERAL([HAVE_AVAHI]) ++m4trace:configure.ac:779: -1- m4_pattern_allow([^HAVE_AVAHI$]) ++m4trace:configure.ac:779: -1- AH_OUTPUT([HAVE_AVAHI], [/* Service discovery via Avahi */ ++@%:@undef HAVE_AVAHI]) ++m4trace:configure.ac:779: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SERVICE_DISCOVERY]) ++m4trace:configure.ac:779: -1- m4_pattern_allow([^HAVE_SERVICE_DISCOVERY$]) ++m4trace:configure.ac:779: -1- AH_OUTPUT([HAVE_SERVICE_DISCOVERY], [/* Service discovery mechanisms */ ++@%:@undef HAVE_SERVICE_DISCOVERY]) ++m4trace:configure.ac:809: -1- AC_SUBST([enable_discovery]) ++m4trace:configure.ac:809: -1- AC_SUBST_TRACE([enable_discovery]) ++m4trace:configure.ac:809: -1- m4_pattern_allow([^enable_discovery$]) ++m4trace:configure.ac:810: -1- AC_SUBST([enable_avahi]) ++m4trace:configure.ac:810: -1- AC_SUBST_TRACE([enable_avahi]) ++m4trace:configure.ac:810: -1- m4_pattern_allow([^enable_avahi$]) ++m4trace:configure.ac:815: -1- AC_SUBST([SYSTEMD_TMPFILESDIR]) ++m4trace:configure.ac:815: -1- AC_SUBST_TRACE([SYSTEMD_TMPFILESDIR]) ++m4trace:configure.ac:815: -1- m4_pattern_allow([^SYSTEMD_TMPFILESDIR$]) ++m4trace:configure.ac:815: -1- AC_SUBST([pcp_systemdtmpfiles_dir]) ++m4trace:configure.ac:815: -1- AC_SUBST_TRACE([pcp_systemdtmpfiles_dir]) ++m4trace:configure.ac:815: -1- m4_pattern_allow([^pcp_systemdtmpfiles_dir$]) ++m4trace:configure.ac:815: -1- AC_SUBST([SYSTEMD_SYSTEMUNITDIR]) ++m4trace:configure.ac:815: -1- AC_SUBST_TRACE([SYSTEMD_SYSTEMUNITDIR]) ++m4trace:configure.ac:815: -1- m4_pattern_allow([^SYSTEMD_SYSTEMUNITDIR$]) ++m4trace:configure.ac:815: -1- AC_SUBST([pcp_systemdunit_dir]) ++m4trace:configure.ac:815: -1- AC_SUBST_TRACE([pcp_systemdunit_dir]) ++m4trace:configure.ac:815: -1- m4_pattern_allow([^pcp_systemdunit_dir$]) ++m4trace:configure.ac:840: -1- AC_SUBST([enable_systemd]) ++m4trace:configure.ac:840: -1- AC_SUBST_TRACE([enable_systemd]) ++m4trace:configure.ac:840: -1- m4_pattern_allow([^enable_systemd$]) ++m4trace:configure.ac:846: -1- AH_OUTPUT([HAVE_SYSTEMD_SD_DAEMON_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYSTEMD_SD_DAEMON_H]) ++m4trace:configure.ac:846: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSTEMD_SD_DAEMON_H]) ++m4trace:configure.ac:846: -1- m4_pattern_allow([^HAVE_SYSTEMD_SD_DAEMON_H$]) ++m4trace:configure.ac:862: -1- AC_SUBST([sd_service_type]) ++m4trace:configure.ac:862: -1- AC_SUBST_TRACE([sd_service_type]) ++m4trace:configure.ac:862: -1- m4_pattern_allow([^sd_service_type$]) ++m4trace:configure.ac:870: -1- AC_SUBST([PACKAGE_VERSION]) ++m4trace:configure.ac:870: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) ++m4trace:configure.ac:870: -1- m4_pattern_allow([^PACKAGE_VERSION$]) ++m4trace:configure.ac:871: -1- AC_SUBST([PACKAGE_MAJOR]) ++m4trace:configure.ac:871: -1- AC_SUBST_TRACE([PACKAGE_MAJOR]) ++m4trace:configure.ac:871: -1- m4_pattern_allow([^PACKAGE_MAJOR$]) ++m4trace:configure.ac:872: -1- AC_SUBST([PACKAGE_MINOR]) ++m4trace:configure.ac:872: -1- AC_SUBST_TRACE([PACKAGE_MINOR]) ++m4trace:configure.ac:872: -1- m4_pattern_allow([^PACKAGE_MINOR$]) ++m4trace:configure.ac:873: -1- AC_SUBST([PACKAGE_REVISION]) ++m4trace:configure.ac:873: -1- AC_SUBST_TRACE([PACKAGE_REVISION]) ++m4trace:configure.ac:873: -1- m4_pattern_allow([^PACKAGE_REVISION$]) ++m4trace:configure.ac:874: -1- AC_SUBST([PACKAGE_BUILD]) ++m4trace:configure.ac:874: -1- AC_SUBST_TRACE([PACKAGE_BUILD]) ++m4trace:configure.ac:874: -1- m4_pattern_allow([^PACKAGE_BUILD$]) ++m4trace:configure.ac:881: -1- AC_SUBST([PACKAGE_BUILD_DATE]) ++m4trace:configure.ac:881: -1- AC_SUBST_TRACE([PACKAGE_BUILD_DATE]) ++m4trace:configure.ac:881: -1- m4_pattern_allow([^PACKAGE_BUILD_DATE$]) ++m4trace:configure.ac:886: -1- AC_SUBST([PACKAGE_DISTRIBUTION]) ++m4trace:configure.ac:886: -1- AC_SUBST_TRACE([PACKAGE_DISTRIBUTION]) ++m4trace:configure.ac:886: -1- m4_pattern_allow([^PACKAGE_DISTRIBUTION$]) ++m4trace:configure.ac:890: -1- AC_SUBST([pm_version_current]) ++m4trace:configure.ac:890: -1- AC_SUBST_TRACE([pm_version_current]) ++m4trace:configure.ac:890: -1- m4_pattern_allow([^pm_version_current$]) ++m4trace:configure.ac:893: -1- AC_CONFIG_HEADERS([src/include/pcp/config.h src/include/pcp/configsz.h]) ++m4trace:configure.ac:894: -1- AC_CONFIG_FILES([src/include/pcp/platform_defs.h src/include/pcp/platformsz.h]) ++m4trace:configure.ac:894: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. ++You should run autoupdate.], []) ++m4trace:configure.ac:894: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) ++m4trace:configure.ac:894: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.ac:894: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([LTLIBOBJS]) ++m4trace:configure.ac:894: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([top_builddir]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([top_build_prefix]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([srcdir]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([abs_srcdir]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([top_srcdir]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([abs_top_srcdir]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([builddir]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([abs_builddir]) ++m4trace:configure.ac:894: -1- AC_SUBST_TRACE([abs_top_builddir]) ++m4trace:configure.ac:896: -1- AC_SUBST([GIT]) ++m4trace:configure.ac:896: -1- AC_SUBST_TRACE([GIT]) ++m4trace:configure.ac:896: -1- m4_pattern_allow([^GIT$]) ++m4trace:configure.ac:897: -1- AC_SUBST([GIT]) ++m4trace:configure.ac:897: -1- AC_SUBST_TRACE([GIT]) ++m4trace:configure.ac:897: -1- m4_pattern_allow([^GIT$]) ++m4trace:configure.ac:899: -1- AC_SUBST([PYLINT]) ++m4trace:configure.ac:899: -1- AC_SUBST_TRACE([PYLINT]) ++m4trace:configure.ac:899: -1- m4_pattern_allow([^PYLINT$]) ++m4trace:configure.ac:900: -1- AC_SUBST([PYLINT]) ++m4trace:configure.ac:900: -1- AC_SUBST_TRACE([PYLINT]) ++m4trace:configure.ac:900: -1- m4_pattern_allow([^PYLINT$]) ++m4trace:configure.ac:903: -1- AC_SUBST([PYTHON]) ++m4trace:configure.ac:903: -1- AC_SUBST_TRACE([PYTHON]) ++m4trace:configure.ac:903: -1- m4_pattern_allow([^PYTHON$]) ++m4trace:configure.ac:904: -1- AC_SUBST([PYTHON]) ++m4trace:configure.ac:904: -1- AC_SUBST_TRACE([PYTHON]) ++m4trace:configure.ac:904: -1- m4_pattern_allow([^PYTHON$]) ++m4trace:configure.ac:907: -1- AC_SUBST([PYTHON3]) ++m4trace:configure.ac:907: -1- AC_SUBST_TRACE([PYTHON3]) ++m4trace:configure.ac:907: -1- m4_pattern_allow([^PYTHON3$]) ++m4trace:configure.ac:908: -1- AC_SUBST([PYTHON3]) ++m4trace:configure.ac:908: -1- AC_SUBST_TRACE([PYTHON3]) ++m4trace:configure.ac:908: -1- m4_pattern_allow([^PYTHON3$]) ++m4trace:configure.ac:933: -1- AH_OUTPUT([HAVE_PYTHON_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_PYTHON_H]) ++m4trace:configure.ac:933: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PYTHON_H]) ++m4trace:configure.ac:933: -1- m4_pattern_allow([^HAVE_PYTHON_H$]) ++m4trace:configure.ac:998: -1- AC_SUBST([enable_python2]) ++m4trace:configure.ac:998: -1- AC_SUBST_TRACE([enable_python2]) ++m4trace:configure.ac:998: -1- m4_pattern_allow([^enable_python2$]) ++m4trace:configure.ac:1002: -1- AH_OUTPUT([HAVE_PYTHON_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_PYTHON_H]) ++m4trace:configure.ac:1002: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PYTHON_H]) ++m4trace:configure.ac:1002: -1- m4_pattern_allow([^HAVE_PYTHON_H$]) ++m4trace:configure.ac:1030: -1- AC_SUBST([enable_python3]) ++m4trace:configure.ac:1030: -1- AC_SUBST_TRACE([enable_python3]) ++m4trace:configure.ac:1030: -1- m4_pattern_allow([^enable_python3$]) ++m4trace:configure.ac:1043: -1- AC_SUBST([have_python]) ++m4trace:configure.ac:1043: -1- AC_SUBST_TRACE([have_python]) ++m4trace:configure.ac:1043: -1- m4_pattern_allow([^have_python$]) ++m4trace:configure.ac:1056: -1- AC_SUBST([pcp_python_prog]) ++m4trace:configure.ac:1056: -1- AC_SUBST_TRACE([pcp_python_prog]) ++m4trace:configure.ac:1056: -1- m4_pattern_allow([^pcp_python_prog$]) ++m4trace:configure.ac:1070: -1- AC_SUBST([enable_dstat]) ++m4trace:configure.ac:1070: -1- AC_SUBST_TRACE([enable_dstat]) ++m4trace:configure.ac:1070: -1- m4_pattern_allow([^enable_dstat$]) ++m4trace:configure.ac:1100: -1- AC_SUBST([have_python_BPF]) ++m4trace:configure.ac:1100: -1- AC_SUBST_TRACE([have_python_BPF]) ++m4trace:configure.ac:1100: -1- m4_pattern_allow([^have_python_BPF$]) ++m4trace:configure.ac:1102: -1- AC_SUBST([have_python_OrderedDict]) ++m4trace:configure.ac:1102: -1- AC_SUBST_TRACE([have_python_OrderedDict]) ++m4trace:configure.ac:1102: -1- m4_pattern_allow([^have_python_OrderedDict$]) ++m4trace:configure.ac:1104: -1- AC_SUBST([have_python_jsonpointer]) ++m4trace:configure.ac:1104: -1- AC_SUBST_TRACE([have_python_jsonpointer]) ++m4trace:configure.ac:1104: -1- m4_pattern_allow([^have_python_jsonpointer$]) ++m4trace:configure.ac:1106: -1- AC_SUBST([have_python_openpyxl]) ++m4trace:configure.ac:1106: -1- AC_SUBST_TRACE([have_python_openpyxl]) ++m4trace:configure.ac:1106: -1- m4_pattern_allow([^have_python_openpyxl$]) ++m4trace:configure.ac:1108: -1- AC_SUBST([have_python_setuptools]) ++m4trace:configure.ac:1108: -1- AC_SUBST_TRACE([have_python_setuptools]) ++m4trace:configure.ac:1108: -1- m4_pattern_allow([^have_python_setuptools$]) ++m4trace:configure.ac:1110: -1- AC_SUBST([have_python_requests]) ++m4trace:configure.ac:1110: -1- AC_SUBST_TRACE([have_python_requests]) ++m4trace:configure.ac:1110: -1- m4_pattern_allow([^have_python_requests$]) ++m4trace:configure.ac:1112: -1- AC_SUBST([have_python_libvirt]) ++m4trace:configure.ac:1112: -1- AC_SUBST_TRACE([have_python_libvirt]) ++m4trace:configure.ac:1112: -1- m4_pattern_allow([^have_python_libvirt$]) ++m4trace:configure.ac:1114: -1- AC_SUBST([have_python_six]) ++m4trace:configure.ac:1114: -1- AC_SUBST_TRACE([have_python_six]) ++m4trace:configure.ac:1114: -1- m4_pattern_allow([^have_python_six$]) ++m4trace:configure.ac:1122: -1- AC_SUBST([have_python_influxdb]) ++m4trace:configure.ac:1122: -1- AC_SUBST_TRACE([have_python_influxdb]) ++m4trace:configure.ac:1122: -1- m4_pattern_allow([^have_python_influxdb$]) ++m4trace:configure.ac:1133: -1- AC_SUBST([PMDA_JSON], [$pmda_json]) ++m4trace:configure.ac:1133: -1- AC_SUBST_TRACE([PMDA_JSON]) ++m4trace:configure.ac:1133: -1- m4_pattern_allow([^PMDA_JSON$]) ++m4trace:configure.ac:1144: -1- AC_SUBST([PMDA_BCC], [$pmda_bcc]) ++m4trace:configure.ac:1144: -1- AC_SUBST_TRACE([PMDA_BCC]) ++m4trace:configure.ac:1144: -1- m4_pattern_allow([^PMDA_BCC$]) ++m4trace:configure.ac:1156: -1- AC_SUBST([CLANG_MAJOR_VERSION], [$clang_major_version]) ++m4trace:configure.ac:1156: -1- AC_SUBST_TRACE([CLANG_MAJOR_VERSION]) ++m4trace:configure.ac:1156: -1- m4_pattern_allow([^CLANG_MAJOR_VERSION$]) ++m4trace:configure.ac:1158: -1- AC_SUBST([libbpf_CFLAGS]) ++m4trace:configure.ac:1158: -1- AC_SUBST_TRACE([libbpf_CFLAGS]) ++m4trace:configure.ac:1158: -1- m4_pattern_allow([^libbpf_CFLAGS$]) ++m4trace:configure.ac:1158: -1- AC_SUBST([libbpf_LIBS]) ++m4trace:configure.ac:1158: -1- AC_SUBST_TRACE([libbpf_LIBS]) ++m4trace:configure.ac:1158: -1- m4_pattern_allow([^libbpf_LIBS$]) ++m4trace:configure.ac:1159: -1- AC_SUBST([HAVE_LIBBPF], [$have_libbpf]) ++m4trace:configure.ac:1159: -1- AC_SUBST_TRACE([HAVE_LIBBPF]) ++m4trace:configure.ac:1159: -1- m4_pattern_allow([^HAVE_LIBBPF$]) ++m4trace:configure.ac:1161: -1- AC_SUBST([libelf_CFLAGS]) ++m4trace:configure.ac:1161: -1- AC_SUBST_TRACE([libelf_CFLAGS]) ++m4trace:configure.ac:1161: -1- m4_pattern_allow([^libelf_CFLAGS$]) ++m4trace:configure.ac:1161: -1- AC_SUBST([libelf_LIBS]) ++m4trace:configure.ac:1161: -1- AC_SUBST_TRACE([libelf_LIBS]) ++m4trace:configure.ac:1161: -1- m4_pattern_allow([^libelf_LIBS$]) ++m4trace:configure.ac:1162: -1- AC_SUBST([HAVE_LIBELF], [$have_libelf]) ++m4trace:configure.ac:1162: -1- AC_SUBST_TRACE([HAVE_LIBELF]) ++m4trace:configure.ac:1162: -1- m4_pattern_allow([^HAVE_LIBELF$]) ++m4trace:configure.ac:1166: -1- AC_SUBST([PMDABPF_CLANG]) ++m4trace:configure.ac:1166: -1- AC_SUBST_TRACE([PMDABPF_CLANG]) ++m4trace:configure.ac:1166: -1- m4_pattern_allow([^PMDABPF_CLANG$]) ++m4trace:configure.ac:1169: -1- AC_SUBST([pmdabpf_clang]) ++m4trace:configure.ac:1169: -1- AC_SUBST_TRACE([pmdabpf_clang]) ++m4trace:configure.ac:1169: -1- m4_pattern_allow([^pmdabpf_clang$]) ++m4trace:configure.ac:1172: -1- AC_SUBST([PMDABPF_LLVM_STRIP]) ++m4trace:configure.ac:1172: -1- AC_SUBST_TRACE([PMDABPF_LLVM_STRIP]) ++m4trace:configure.ac:1172: -1- m4_pattern_allow([^PMDABPF_LLVM_STRIP$]) ++m4trace:configure.ac:1175: -1- AC_SUBST([pmdabpf_llvm_strip]) ++m4trace:configure.ac:1175: -1- AC_SUBST_TRACE([pmdabpf_llvm_strip]) ++m4trace:configure.ac:1175: -1- m4_pattern_allow([^pmdabpf_llvm_strip$]) ++m4trace:configure.ac:1178: -1- AC_SUBST([PMDABPF_BPFTOOL]) ++m4trace:configure.ac:1178: -1- AC_SUBST_TRACE([PMDABPF_BPFTOOL]) ++m4trace:configure.ac:1178: -1- m4_pattern_allow([^PMDABPF_BPFTOOL$]) ++m4trace:configure.ac:1181: -1- AC_SUBST([pmdabpf_bpftool]) ++m4trace:configure.ac:1181: -1- AC_SUBST_TRACE([pmdabpf_bpftool]) ++m4trace:configure.ac:1181: -1- m4_pattern_allow([^pmdabpf_bpftool$]) ++m4trace:configure.ac:1194: -1- AC_SUBST([PMDA_BPF], [$pmda_bpf]) ++m4trace:configure.ac:1194: -1- AC_SUBST_TRACE([PMDA_BPF]) ++m4trace:configure.ac:1194: -1- m4_pattern_allow([^PMDA_BPF$]) ++m4trace:configure.ac:1213: -1- AC_SUBST([PMDA_BPFTRACE], [$pmda_bpftrace]) ++m4trace:configure.ac:1213: -1- AC_SUBST_TRACE([PMDA_BPFTRACE]) ++m4trace:configure.ac:1213: -1- m4_pattern_allow([^PMDA_BPFTRACE$]) ++m4trace:configure.ac:1217: -1- AC_SUBST([PERL]) ++m4trace:configure.ac:1217: -1- AC_SUBST_TRACE([PERL]) ++m4trace:configure.ac:1217: -1- m4_pattern_allow([^PERL$]) ++m4trace:configure.ac:1218: -1- AC_SUBST([PERL]) ++m4trace:configure.ac:1218: -1- AC_SUBST_TRACE([PERL]) ++m4trace:configure.ac:1218: -1- m4_pattern_allow([^PERL$]) ++m4trace:configure.ac:1237: -1- AC_SUBST([pcp_perl_prog]) ++m4trace:configure.ac:1237: -1- AC_SUBST_TRACE([pcp_perl_prog]) ++m4trace:configure.ac:1237: -1- m4_pattern_allow([^pcp_perl_prog$]) ++m4trace:configure.ac:1238: -1- AC_SUBST([enable_perl]) ++m4trace:configure.ac:1238: -1- AC_SUBST_TRACE([enable_perl]) ++m4trace:configure.ac:1238: -1- m4_pattern_allow([^enable_perl$]) ++m4trace:configure.ac:1239: -1- AC_SUBST([have_perl]) ++m4trace:configure.ac:1239: -1- AC_SUBST_TRACE([have_perl]) ++m4trace:configure.ac:1239: -1- m4_pattern_allow([^have_perl$]) ++m4trace:configure.ac:1254: -1- AC_SUBST([PMDA_SNMP], [$pmda_snmp]) ++m4trace:configure.ac:1254: -1- AC_SUBST_TRACE([PMDA_SNMP]) ++m4trace:configure.ac:1254: -1- m4_pattern_allow([^PMDA_SNMP$]) ++m4trace:configure.ac:1270: -1- AC_SUBST([PMDA_MYSQL], [$pmda_mysql]) ++m4trace:configure.ac:1270: -1- AC_SUBST_TRACE([PMDA_MYSQL]) ++m4trace:configure.ac:1270: -1- m4_pattern_allow([^PMDA_MYSQL$]) ++m4trace:configure.ac:1283: -1- AC_SUBST([PMDA_POSTGRESQL], [$pmda_postgresql]) ++m4trace:configure.ac:1283: -1- AC_SUBST_TRACE([PMDA_POSTGRESQL]) ++m4trace:configure.ac:1283: -1- m4_pattern_allow([^PMDA_POSTGRESQL$]) ++m4trace:configure.ac:1296: -1- AC_SUBST([PMDA_ORACLE], [$pmda_oracle]) ++m4trace:configure.ac:1296: -1- AC_SUBST_TRACE([PMDA_ORACLE]) ++m4trace:configure.ac:1296: -1- m4_pattern_allow([^PMDA_ORACLE$]) ++m4trace:configure.ac:1314: -1- AC_SUBST([PMDA_ELASTICSEARCH], [$pmda_elasticsearch]) ++m4trace:configure.ac:1314: -1- AC_SUBST_TRACE([PMDA_ELASTICSEARCH]) ++m4trace:configure.ac:1314: -1- m4_pattern_allow([^PMDA_ELASTICSEARCH$]) ++m4trace:configure.ac:1327: -1- AC_SUBST([PMDA_NGINX], [$pmda_nginx]) ++m4trace:configure.ac:1327: -1- AC_SUBST_TRACE([PMDA_NGINX]) ++m4trace:configure.ac:1327: -1- m4_pattern_allow([^PMDA_NGINX$]) ++m4trace:configure.ac:1348: -1- AC_SUBST([PMDA_ACTIVEMQ], [$pmda_activemq]) ++m4trace:configure.ac:1348: -1- AC_SUBST_TRACE([PMDA_ACTIVEMQ]) ++m4trace:configure.ac:1348: -1- m4_pattern_allow([^PMDA_ACTIVEMQ$]) ++m4trace:configure.ac:1367: -1- AC_SUBST([PMDA_BIND2], [$pmda_bind2]) ++m4trace:configure.ac:1367: -1- AC_SUBST_TRACE([PMDA_BIND2]) ++m4trace:configure.ac:1367: -1- m4_pattern_allow([^PMDA_BIND2$]) ++m4trace:configure.ac:1386: -1- AC_SUBST([PMDA_NUTCRACKER], [$pmda_nutcracker]) ++m4trace:configure.ac:1386: -1- AC_SUBST_TRACE([PMDA_NUTCRACKER]) ++m4trace:configure.ac:1386: -1- m4_pattern_allow([^PMDA_NUTCRACKER$]) ++m4trace:configure.ac:1399: -1- AC_SUBST([PMDA_LIO], [$pmda_lio]) ++m4trace:configure.ac:1399: -1- AC_SUBST_TRACE([PMDA_LIO]) ++m4trace:configure.ac:1399: -1- m4_pattern_allow([^PMDA_LIO$]) ++m4trace:configure.ac:1408: -1- AC_SUBST([PMDA_OPENMETRICS], [$pmda_openmetrics]) ++m4trace:configure.ac:1408: -1- AC_SUBST_TRACE([PMDA_OPENMETRICS]) ++m4trace:configure.ac:1408: -1- m4_pattern_allow([^PMDA_OPENMETRICS$]) ++m4trace:configure.ac:1424: -1- AC_SUBST([PMDA_LIBVIRT], [$pmda_libvirt]) ++m4trace:configure.ac:1424: -1- AC_SUBST_TRACE([PMDA_LIBVIRT]) ++m4trace:configure.ac:1424: -1- m4_pattern_allow([^PMDA_LIBVIRT$]) ++m4trace:configure.ac:1431: -1- AC_SUBST([QTCHOOSER]) ++m4trace:configure.ac:1431: -1- AC_SUBST_TRACE([QTCHOOSER]) ++m4trace:configure.ac:1431: -1- m4_pattern_allow([^QTCHOOSER$]) ++m4trace:configure.ac:1431: -1- AC_SUBST([QMAKE]) ++m4trace:configure.ac:1431: -1- AC_SUBST_TRACE([QMAKE]) ++m4trace:configure.ac:1431: -1- m4_pattern_allow([^QMAKE$]) ++m4trace:configure.ac:1521: -1- AC_SUBST([qt_release]) ++m4trace:configure.ac:1521: -1- AC_SUBST_TRACE([qt_release]) ++m4trace:configure.ac:1521: -1- m4_pattern_allow([^qt_release$]) ++m4trace:configure.ac:1522: -1- AC_SUBST([qt_version]) ++m4trace:configure.ac:1522: -1- AC_SUBST_TRACE([qt_version]) ++m4trace:configure.ac:1522: -1- m4_pattern_allow([^qt_version$]) ++m4trace:configure.ac:1523: -1- AC_SUBST([enable_qt]) ++m4trace:configure.ac:1523: -1- AC_SUBST_TRACE([enable_qt]) ++m4trace:configure.ac:1523: -1- m4_pattern_allow([^enable_qt$]) ++m4trace:configure.ac:1524: -1- AC_SUBST([qmake]) ++m4trace:configure.ac:1524: -1- AC_SUBST_TRACE([qmake]) ++m4trace:configure.ac:1524: -1- m4_pattern_allow([^qmake$]) ++m4trace:configure.ac:1536: -1- AC_SUBST([enable_qt3d]) ++m4trace:configure.ac:1536: -1- AC_SUBST_TRACE([enable_qt3d]) ++m4trace:configure.ac:1536: -1- m4_pattern_allow([^enable_qt3d$]) ++m4trace:configure.ac:1542: -1- AC_SUBST([MAKE]) ++m4trace:configure.ac:1542: -1- AC_SUBST_TRACE([MAKE]) ++m4trace:configure.ac:1542: -1- m4_pattern_allow([^MAKE$]) ++m4trace:configure.ac:1575: -1- AC_SUBST([make]) ++m4trace:configure.ac:1575: -1- AC_SUBST_TRACE([make]) ++m4trace:configure.ac:1575: -1- m4_pattern_allow([^make$]) ++m4trace:configure.ac:1579: -1- AC_SUBST([CPP]) ++m4trace:configure.ac:1579: -1- AC_SUBST_TRACE([CPP]) ++m4trace:configure.ac:1579: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.ac:1579: -1- AC_SUBST([CPPFLAGS]) ++m4trace:configure.ac:1579: -1- AC_SUBST_TRACE([CPPFLAGS]) ++m4trace:configure.ac:1579: -1- m4_pattern_allow([^CPPFLAGS$]) ++m4trace:configure.ac:1579: -1- AC_SUBST([CPP]) ++m4trace:configure.ac:1579: -1- AC_SUBST_TRACE([CPP]) ++m4trace:configure.ac:1579: -1- m4_pattern_allow([^CPP$]) ++m4trace:configure.ac:1582: -1- AC_SUBST([cpp]) ++m4trace:configure.ac:1582: -1- AC_SUBST_TRACE([cpp]) ++m4trace:configure.ac:1582: -1- m4_pattern_allow([^cpp$]) ++m4trace:configure.ac:1586: -1- AC_SUBST([LD]) ++m4trace:configure.ac:1586: -1- AC_SUBST_TRACE([LD]) ++m4trace:configure.ac:1586: -1- m4_pattern_allow([^LD$]) ++m4trace:configure.ac:1589: -1- AC_SUBST([ld]) ++m4trace:configure.ac:1589: -1- AC_SUBST_TRACE([ld]) ++m4trace:configure.ac:1589: -1- m4_pattern_allow([^ld$]) ++m4trace:configure.ac:1597: -1- AC_SUBST([pcp_user_install]) ++m4trace:configure.ac:1597: -1- AC_SUBST_TRACE([pcp_user_install]) ++m4trace:configure.ac:1597: -1- m4_pattern_allow([^pcp_user_install$]) ++m4trace:configure.ac:1611: -1- AC_SUBST([pcp_group_install]) ++m4trace:configure.ac:1611: -1- AC_SUBST_TRACE([pcp_group_install]) ++m4trace:configure.ac:1611: -1- m4_pattern_allow([^pcp_group_install$]) ++m4trace:configure.ac:1615: -1- AC_SUBST([TAR]) ++m4trace:configure.ac:1615: -1- AC_SUBST_TRACE([TAR]) ++m4trace:configure.ac:1615: -1- m4_pattern_allow([^TAR$]) ++m4trace:configure.ac:1622: -1- AC_SUBST([tar]) ++m4trace:configure.ac:1622: -1- AC_SUBST_TRACE([tar]) ++m4trace:configure.ac:1622: -1- m4_pattern_allow([^tar$]) ++m4trace:configure.ac:1627: -1- AC_SUBST([ZIP]) ++m4trace:configure.ac:1627: -1- AC_SUBST_TRACE([ZIP]) ++m4trace:configure.ac:1627: -1- m4_pattern_allow([^ZIP$]) ++m4trace:configure.ac:1634: -1- AC_SUBST([gzip]) ++m4trace:configure.ac:1634: -1- AC_SUBST_TRACE([gzip]) ++m4trace:configure.ac:1634: -1- m4_pattern_allow([^gzip$]) ++m4trace:configure.ac:1639: -1- AC_SUBST([BZIP2]) ++m4trace:configure.ac:1639: -1- AC_SUBST_TRACE([BZIP2]) ++m4trace:configure.ac:1639: -1- m4_pattern_allow([^BZIP2$]) ++m4trace:configure.ac:1646: -1- AC_SUBST([bzip2]) ++m4trace:configure.ac:1646: -1- AC_SUBST_TRACE([bzip2]) ++m4trace:configure.ac:1646: -1- m4_pattern_allow([^bzip2$]) ++m4trace:configure.ac:1651: -1- AC_SUBST([LZMA]) ++m4trace:configure.ac:1651: -1- AC_SUBST_TRACE([LZMA]) ++m4trace:configure.ac:1651: -1- m4_pattern_allow([^LZMA$]) ++m4trace:configure.ac:1658: -1- AC_SUBST([lzma]) ++m4trace:configure.ac:1658: -1- AC_SUBST_TRACE([lzma]) ++m4trace:configure.ac:1658: -1- m4_pattern_allow([^lzma$]) ++m4trace:configure.ac:1663: -1- AC_SUBST([XZ]) ++m4trace:configure.ac:1663: -1- AC_SUBST_TRACE([XZ]) ++m4trace:configure.ac:1663: -1- m4_pattern_allow([^XZ$]) ++m4trace:configure.ac:1670: -1- AC_SUBST([xz]) ++m4trace:configure.ac:1670: -1- AC_SUBST_TRACE([xz]) ++m4trace:configure.ac:1670: -1- m4_pattern_allow([^xz$]) ++m4trace:configure.ac:1674: -1- AC_SUBST([HDIUTIL]) ++m4trace:configure.ac:1674: -1- AC_SUBST_TRACE([HDIUTIL]) ++m4trace:configure.ac:1674: -1- m4_pattern_allow([^HDIUTIL$]) ++m4trace:configure.ac:1677: -1- AC_SUBST([hdiutil]) ++m4trace:configure.ac:1677: -1- AC_SUBST_TRACE([hdiutil]) ++m4trace:configure.ac:1677: -1- m4_pattern_allow([^hdiutil$]) ++m4trace:configure.ac:1681: -1- AC_SUBST([MKINSTALLP]) ++m4trace:configure.ac:1681: -1- AC_SUBST_TRACE([MKINSTALLP]) ++m4trace:configure.ac:1681: -1- m4_pattern_allow([^MKINSTALLP$]) ++m4trace:configure.ac:1684: -1- AC_SUBST([mkinstallp]) ++m4trace:configure.ac:1684: -1- AC_SUBST_TRACE([mkinstallp]) ++m4trace:configure.ac:1684: -1- m4_pattern_allow([^mkinstallp$]) ++m4trace:configure.ac:1688: -1- AC_SUBST([PKGMK]) ++m4trace:configure.ac:1688: -1- AC_SUBST_TRACE([PKGMK]) ++m4trace:configure.ac:1688: -1- m4_pattern_allow([^PKGMK$]) ++m4trace:configure.ac:1691: -1- AC_SUBST([pkgmk]) ++m4trace:configure.ac:1691: -1- AC_SUBST_TRACE([pkgmk]) ++m4trace:configure.ac:1691: -1- m4_pattern_allow([^pkgmk$]) ++m4trace:configure.ac:1695: -1- AC_SUBST([DLLTOOL]) ++m4trace:configure.ac:1695: -1- AC_SUBST_TRACE([DLLTOOL]) ++m4trace:configure.ac:1695: -1- m4_pattern_allow([^DLLTOOL$]) ++m4trace:configure.ac:1698: -1- AC_SUBST([dlltool]) ++m4trace:configure.ac:1698: -1- AC_SUBST_TRACE([dlltool]) ++m4trace:configure.ac:1698: -1- m4_pattern_allow([^dlltool$]) ++m4trace:configure.ac:1702: -1- AC_SUBST([RPMBUILD]) ++m4trace:configure.ac:1702: -1- AC_SUBST_TRACE([RPMBUILD]) ++m4trace:configure.ac:1702: -1- m4_pattern_allow([^RPMBUILD$]) ++m4trace:configure.ac:1706: -1- AC_SUBST([rpmbuild]) ++m4trace:configure.ac:1706: -1- AC_SUBST_TRACE([rpmbuild]) ++m4trace:configure.ac:1706: -1- m4_pattern_allow([^rpmbuild$]) ++m4trace:configure.ac:1710: -1- AC_SUBST([RPM]) ++m4trace:configure.ac:1710: -1- AC_SUBST_TRACE([RPM]) ++m4trace:configure.ac:1710: -1- m4_pattern_allow([^RPM$]) ++m4trace:configure.ac:1714: -1- AC_SUBST([rpm]) ++m4trace:configure.ac:1714: -1- AC_SUBST_TRACE([rpm]) ++m4trace:configure.ac:1714: -1- m4_pattern_allow([^rpm$]) ++m4trace:configure.ac:1723: -1- AC_SUBST([rpmprog]) ++m4trace:configure.ac:1723: -1- AC_SUBST_TRACE([rpmprog]) ++m4trace:configure.ac:1723: -1- m4_pattern_allow([^rpmprog$]) ++m4trace:configure.ac:1727: -1- AC_SUBST([POD2MAN]) ++m4trace:configure.ac:1727: -1- AC_SUBST_TRACE([POD2MAN]) ++m4trace:configure.ac:1727: -1- m4_pattern_allow([^POD2MAN$]) ++m4trace:configure.ac:1730: -1- AC_SUBST([pod2man]) ++m4trace:configure.ac:1730: -1- AC_SUBST_TRACE([pod2man]) ++m4trace:configure.ac:1730: -1- m4_pattern_allow([^pod2man$]) ++m4trace:configure.ac:1750: -1- AC_SUBST([TRUEPROG]) ++m4trace:configure.ac:1750: -1- AC_SUBST_TRACE([TRUEPROG]) ++m4trace:configure.ac:1750: -1- m4_pattern_allow([^TRUEPROG$]) ++m4trace:configure.ac:1754: -1- AC_SUBST([MAKEDEPEND]) ++m4trace:configure.ac:1754: -1- AC_SUBST_TRACE([MAKEDEPEND]) ++m4trace:configure.ac:1754: -1- m4_pattern_allow([^MAKEDEPEND$]) ++m4trace:configure.ac:1757: -1- AC_SUBST([makedepend]) ++m4trace:configure.ac:1757: -1- AC_SUBST_TRACE([makedepend]) ++m4trace:configure.ac:1757: -1- m4_pattern_allow([^makedepend$]) ++m4trace:configure.ac:1761: -1- AC_SUBST([MD5SUM]) ++m4trace:configure.ac:1761: -1- AC_SUBST_TRACE([MD5SUM]) ++m4trace:configure.ac:1761: -1- m4_pattern_allow([^MD5SUM$]) ++m4trace:configure.ac:1764: -1- AC_SUBST([md5sum]) ++m4trace:configure.ac:1764: -1- AC_SUBST_TRACE([md5sum]) ++m4trace:configure.ac:1764: -1- m4_pattern_allow([^md5sum$]) ++m4trace:configure.ac:1768: -1- AC_SUBST([DPKG]) ++m4trace:configure.ac:1768: -1- AC_SUBST_TRACE([DPKG]) ++m4trace:configure.ac:1768: -1- m4_pattern_allow([^DPKG$]) ++m4trace:configure.ac:1771: -1- AC_SUBST([dpkg]) ++m4trace:configure.ac:1771: -1- AC_SUBST_TRACE([dpkg]) ++m4trace:configure.ac:1771: -1- m4_pattern_allow([^dpkg$]) ++m4trace:configure.ac:1775: -1- AC_SUBST([MAKEPKG]) ++m4trace:configure.ac:1775: -1- AC_SUBST_TRACE([MAKEPKG]) ++m4trace:configure.ac:1775: -1- m4_pattern_allow([^MAKEPKG$]) ++m4trace:configure.ac:1778: -1- AC_SUBST([makepkg]) ++m4trace:configure.ac:1778: -1- AC_SUBST_TRACE([makepkg]) ++m4trace:configure.ac:1778: -1- m4_pattern_allow([^makepkg$]) ++m4trace:configure.ac:1781: -1- AC_SUBST([LN_S], [$as_ln_s]) ++m4trace:configure.ac:1781: -1- AC_SUBST_TRACE([LN_S]) ++m4trace:configure.ac:1781: -1- m4_pattern_allow([^LN_S$]) ++m4trace:configure.ac:1800: -1- AC_SUBST([pcp_ps_prog]) ++m4trace:configure.ac:1800: -1- AC_SUBST_TRACE([pcp_ps_prog]) ++m4trace:configure.ac:1800: -1- m4_pattern_allow([^pcp_ps_prog$]) ++m4trace:configure.ac:1809: -1- AC_SUBST([pcp_syslog_prog]) ++m4trace:configure.ac:1809: -1- AC_SUBST_TRACE([pcp_syslog_prog]) ++m4trace:configure.ac:1809: -1- m4_pattern_allow([^pcp_syslog_prog$]) ++m4trace:configure.ac:1816: -1- AC_SUBST([grep]) ++m4trace:configure.ac:1816: -1- AC_SUBST_TRACE([grep]) ++m4trace:configure.ac:1816: -1- m4_pattern_allow([^grep$]) ++m4trace:configure.ac:1819: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the header file, and it defines `DIR\'. ++ */ ++@%:@undef HAVE_DIRENT_H]) ++m4trace:configure.ac:1819: -1- AH_OUTPUT([HAVE_SYS_NDIR_H], [/* Define to 1 if you have the header file, and it defines `DIR\'. ++ */ ++@%:@undef HAVE_SYS_NDIR_H]) ++m4trace:configure.ac:1819: -1- AH_OUTPUT([HAVE_SYS_DIR_H], [/* Define to 1 if you have the header file, and it defines `DIR\'. ++ */ ++@%:@undef HAVE_SYS_DIR_H]) ++m4trace:configure.ac:1819: -1- AH_OUTPUT([HAVE_NDIR_H], [/* Define to 1 if you have the header file, and it defines `DIR\'. */ ++@%:@undef HAVE_NDIR_H]) ++m4trace:configure.ac:1820: -1- _m4_warn([obsolete], [The macro `AC_HEADER_STDC' is obsolete. ++You should run autoupdate.], [./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... ++configure.ac:1820: the top level]) ++m4trace:configure.ac:1820: -1- AC_SUBST([EGREP]) ++m4trace:configure.ac:1820: -1- AC_SUBST_TRACE([EGREP]) ++m4trace:configure.ac:1820: -1- m4_pattern_allow([^EGREP$]) ++m4trace:configure.ac:1821: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_WAIT_H]) ++m4trace:configure.ac:1821: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) ++m4trace:configure.ac:1821: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have that is POSIX.1 compatible. */ ++@%:@undef HAVE_SYS_WAIT_H]) ++m4trace:configure.ac:1822: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_FCNTL_H]) ++m4trace:configure.ac:1822: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL_H]) ++m4trace:configure.ac:1822: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) ++m4trace:configure.ac:1822: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LIMITS_H]) ++m4trace:configure.ac:1822: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIMITS_H]) ++m4trace:configure.ac:1822: -1- m4_pattern_allow([^HAVE_LIMITS_H$]) ++m4trace:configure.ac:1822: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_MALLOC_H]) ++m4trace:configure.ac:1822: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_H]) ++m4trace:configure.ac:1822: -1- m4_pattern_allow([^HAVE_MALLOC_H$]) ++m4trace:configure.ac:1822: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STRINGS_H]) ++m4trace:configure.ac:1822: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRINGS_H]) ++m4trace:configure.ac:1822: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) ++m4trace:configure.ac:1822: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYSLOG_H]) ++m4trace:configure.ac:1822: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSLOG_H]) ++m4trace:configure.ac:1822: -1- m4_pattern_allow([^HAVE_SYSLOG_H$]) ++m4trace:configure.ac:1823: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDDEF_H]) ++m4trace:configure.ac:1823: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDDEF_H]) ++m4trace:configure.ac:1823: -1- m4_pattern_allow([^HAVE_STDDEF_H$]) ++m4trace:configure.ac:1823: -1- AH_OUTPUT([HAVE_SCHED_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SCHED_H]) ++m4trace:configure.ac:1823: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SCHED_H]) ++m4trace:configure.ac:1823: -1- m4_pattern_allow([^HAVE_SCHED_H$]) ++m4trace:configure.ac:1823: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_DLFCN_H]) ++m4trace:configure.ac:1823: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H]) ++m4trace:configure.ac:1823: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) ++m4trace:configure.ac:1823: -1- AH_OUTPUT([HAVE_DL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_DL_H]) ++m4trace:configure.ac:1823: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DL_H]) ++m4trace:configure.ac:1823: -1- m4_pattern_allow([^HAVE_DL_H$]) ++m4trace:configure.ac:1824: -1- AH_OUTPUT([HAVE_SYS_TIMES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIMES_H]) ++m4trace:configure.ac:1824: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMES_H]) ++m4trace:configure.ac:1824: -1- m4_pattern_allow([^HAVE_SYS_TIMES_H$]) ++m4trace:configure.ac:1824: -1- AH_OUTPUT([HAVE_SYS_RESOURCE_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_RESOURCE_H]) ++m4trace:configure.ac:1824: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_RESOURCE_H]) ++m4trace:configure.ac:1824: -1- m4_pattern_allow([^HAVE_SYS_RESOURCE_H$]) ++m4trace:configure.ac:1824: -1- AH_OUTPUT([HAVE_SYS_PRCTL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_PRCTL_H]) ++m4trace:configure.ac:1824: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PRCTL_H]) ++m4trace:configure.ac:1824: -1- m4_pattern_allow([^HAVE_SYS_PRCTL_H$]) ++m4trace:configure.ac:1825: -1- AH_OUTPUT([HAVE_SYS_SYSINFO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SYSINFO_H]) ++m4trace:configure.ac:1825: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SYSINFO_H]) ++m4trace:configure.ac:1825: -1- m4_pattern_allow([^HAVE_SYS_SYSINFO_H$]) ++m4trace:configure.ac:1825: -1- AH_OUTPUT([HAVE_SYS_SYSTEMINFO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SYSTEMINFO_H]) ++m4trace:configure.ac:1825: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SYSTEMINFO_H]) ++m4trace:configure.ac:1825: -1- m4_pattern_allow([^HAVE_SYS_SYSTEMINFO_H$]) ++m4trace:configure.ac:1826: -1- AH_OUTPUT([HAVE_ENDIAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_ENDIAN_H]) ++m4trace:configure.ac:1826: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENDIAN_H]) ++m4trace:configure.ac:1826: -1- m4_pattern_allow([^HAVE_ENDIAN_H$]) ++m4trace:configure.ac:1826: -1- AH_OUTPUT([HAVE_STANDARDS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STANDARDS_H]) ++m4trace:configure.ac:1826: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STANDARDS_H]) ++m4trace:configure.ac:1826: -1- m4_pattern_allow([^HAVE_STANDARDS_H$]) ++m4trace:configure.ac:1826: -1- AH_OUTPUT([HAVE_SYS_BYTEORDER_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_BYTEORDER_H]) ++m4trace:configure.ac:1826: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_BYTEORDER_H]) ++m4trace:configure.ac:1826: -1- m4_pattern_allow([^HAVE_SYS_BYTEORDER_H$]) ++m4trace:configure.ac:1827: -1- AH_OUTPUT([HAVE_LIBGEN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LIBGEN_H]) ++m4trace:configure.ac:1827: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN_H]) ++m4trace:configure.ac:1827: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) ++m4trace:configure.ac:1827: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MMAN_H]) ++m4trace:configure.ac:1827: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_MMAN_H]) ++m4trace:configure.ac:1827: -1- m4_pattern_allow([^HAVE_SYS_MMAN_H$]) ++m4trace:configure.ac:1827: -1- AH_OUTPUT([HAVE_SYS_UN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_UN_H]) ++m4trace:configure.ac:1827: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_UN_H]) ++m4trace:configure.ac:1827: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_VALUES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_VALUES_H]) ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VALUES_H]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_VALUES_H$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_STDINT_H]) ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_STDINT_H$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_IEEEFP_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_IEEEFP_H]) ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IEEEFP_H]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_IEEEFP_H$]) ++m4trace:configure.ac:1828: -1- AH_OUTPUT([HAVE_MATH_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_MATH_H]) ++m4trace:configure.ac:1828: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MATH_H]) ++m4trace:configure.ac:1828: -1- m4_pattern_allow([^HAVE_MATH_H$]) ++m4trace:configure.ac:1829: -1- AH_OUTPUT([HAVE_PWD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_PWD_H]) ++m4trace:configure.ac:1829: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PWD_H]) ++m4trace:configure.ac:1829: -1- m4_pattern_allow([^HAVE_PWD_H$]) ++m4trace:configure.ac:1829: -1- AH_OUTPUT([HAVE_GRP_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_GRP_H]) ++m4trace:configure.ac:1829: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GRP_H]) ++m4trace:configure.ac:1829: -1- m4_pattern_allow([^HAVE_GRP_H$]) ++m4trace:configure.ac:1829: -1- AH_OUTPUT([HAVE_REGEX_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_REGEX_H]) ++m4trace:configure.ac:1829: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REGEX_H]) ++m4trace:configure.ac:1829: -1- m4_pattern_allow([^HAVE_REGEX_H$]) ++m4trace:configure.ac:1829: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_WAIT_H]) ++m4trace:configure.ac:1829: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_WAIT_H]) ++m4trace:configure.ac:1829: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) ++m4trace:configure.ac:1830: -1- AH_OUTPUT([HAVE_TERMIO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_TERMIO_H]) ++m4trace:configure.ac:1830: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIO_H]) ++m4trace:configure.ac:1830: -1- m4_pattern_allow([^HAVE_TERMIO_H$]) ++m4trace:configure.ac:1830: -1- AH_OUTPUT([HAVE_TERMIOS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_TERMIOS_H]) ++m4trace:configure.ac:1830: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TERMIOS_H]) ++m4trace:configure.ac:1830: -1- m4_pattern_allow([^HAVE_TERMIOS_H$]) ++m4trace:configure.ac:1830: -1- AH_OUTPUT([HAVE_SYS_TERMIOS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TERMIOS_H]) ++m4trace:configure.ac:1830: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TERMIOS_H]) ++m4trace:configure.ac:1830: -1- m4_pattern_allow([^HAVE_SYS_TERMIOS_H$]) ++m4trace:configure.ac:1831: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_IOCTL_H]) ++m4trace:configure.ac:1831: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_IOCTL_H]) ++m4trace:configure.ac:1831: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) ++m4trace:configure.ac:1831: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SELECT_H]) ++m4trace:configure.ac:1831: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SELECT_H]) ++m4trace:configure.ac:1831: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) ++m4trace:configure.ac:1831: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:1831: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_SOCKET_H]) ++m4trace:configure.ac:1831: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) ++m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NETDB_H]) ++m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETDB_H]) ++m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_NETDB_H$]) ++m4trace:configure.ac:1832: -1- AH_OUTPUT([HAVE_POLL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_POLL_H]) ++m4trace:configure.ac:1832: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POLL_H]) ++m4trace:configure.ac:1832: -1- m4_pattern_allow([^HAVE_POLL_H$]) ++m4trace:configure.ac:1835: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NET_IF_H]) ++m4trace:configure.ac:1835: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) ++m4trace:configure.ac:1835: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) ++m4trace:configure.ac:1838: -1- AH_OUTPUT([HAVE_NET_IF_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NET_IF_H]) ++m4trace:configure.ac:1838: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NET_IF_H]) ++m4trace:configure.ac:1838: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) ++m4trace:configure.ac:1840: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NETINET_IN_H]) ++m4trace:configure.ac:1840: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_IN_H]) ++m4trace:configure.ac:1840: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) ++m4trace:configure.ac:1840: -1- AH_OUTPUT([HAVE_NETINET_TCP_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NETINET_TCP_H]) ++m4trace:configure.ac:1840: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETINET_TCP_H]) ++m4trace:configure.ac:1840: -1- m4_pattern_allow([^HAVE_NETINET_TCP_H$]) ++m4trace:configure.ac:1840: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_ARPA_INET_H]) ++m4trace:configure.ac:1840: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ARPA_INET_H]) ++m4trace:configure.ac:1840: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) ++m4trace:configure.ac:1841: -1- AH_OUTPUT([HAVE_WINDOWS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINDOWS_H]) ++m4trace:configure.ac:1841: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINDOWS_H]) ++m4trace:configure.ac:1841: -1- m4_pattern_allow([^HAVE_WINDOWS_H$]) ++m4trace:configure.ac:1841: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WINSOCK2_H]) ++m4trace:configure.ac:1841: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H]) ++m4trace:configure.ac:1841: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$]) ++m4trace:configure.ac:1841: -1- AH_OUTPUT([HAVE_WS2TCPIP_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_WS2TCPIP_H]) ++m4trace:configure.ac:1841: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WS2TCPIP_H]) ++m4trace:configure.ac:1841: -1- m4_pattern_allow([^HAVE_WS2TCPIP_H$]) ++m4trace:configure.ac:1842: -1- AH_OUTPUT([HAVE_EXECINFO_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_EXECINFO_H]) ++m4trace:configure.ac:1842: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EXECINFO_H]) ++m4trace:configure.ac:1842: -1- m4_pattern_allow([^HAVE_EXECINFO_H$]) ++m4trace:configure.ac:1842: -1- AH_OUTPUT([HAVE_BITS_WORDSIZE_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_BITS_WORDSIZE_H]) ++m4trace:configure.ac:1842: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BITS_WORDSIZE_H]) ++m4trace:configure.ac:1842: -1- m4_pattern_allow([^HAVE_BITS_WORDSIZE_H$]) ++m4trace:configure.ac:1843: -1- AH_OUTPUT([HAVE_IPTYPES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_IPTYPES_H]) ++m4trace:configure.ac:1843: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPTYPES_H]) ++m4trace:configure.ac:1843: -1- m4_pattern_allow([^HAVE_IPTYPES_H$]) ++m4trace:configure.ac:1844: -1- AH_OUTPUT([HAVE_IPHLPAPI_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_IPHLPAPI_H]) ++m4trace:configure.ac:1844: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IPHLPAPI_H]) ++m4trace:configure.ac:1844: -1- m4_pattern_allow([^HAVE_IPHLPAPI_H$]) ++m4trace:configure.ac:1845: -1- AH_OUTPUT([HAVE_NETIOAPI_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NETIOAPI_H]) ++m4trace:configure.ac:1845: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NETIOAPI_H]) ++m4trace:configure.ac:1845: -1- m4_pattern_allow([^HAVE_NETIOAPI_H$]) ++m4trace:configure.ac:1846: -1- AH_OUTPUT([HAVE_FTS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_FTS_H]) ++m4trace:configure.ac:1846: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FTS_H]) ++m4trace:configure.ac:1846: -1- m4_pattern_allow([^HAVE_FTS_H$]) ++m4trace:configure.ac:1846: -1- AH_OUTPUT([HAVE_LIBZFS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LIBZFS_H]) ++m4trace:configure.ac:1846: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBZFS_H]) ++m4trace:configure.ac:1846: -1- m4_pattern_allow([^HAVE_LIBZFS_H$]) ++m4trace:configure.ac:1847: -1- AH_OUTPUT([HAVE_SYS_STATVFS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_STATVFS_H]) ++m4trace:configure.ac:1847: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_STATVFS_H]) ++m4trace:configure.ac:1847: -1- m4_pattern_allow([^HAVE_SYS_STATVFS_H$]) ++m4trace:configure.ac:1847: -1- AH_OUTPUT([HAVE_SYS_STATFS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_STATFS_H]) ++m4trace:configure.ac:1847: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_STATFS_H]) ++m4trace:configure.ac:1847: -1- m4_pattern_allow([^HAVE_SYS_STATFS_H$]) ++m4trace:configure.ac:1847: -1- AH_OUTPUT([HAVE_SYS_MOUNT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_MOUNT_H]) ++m4trace:configure.ac:1847: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_MOUNT_H]) ++m4trace:configure.ac:1847: -1- m4_pattern_allow([^HAVE_SYS_MOUNT_H$]) ++m4trace:configure.ac:1848: -1- AH_OUTPUT([HAVE_CURSES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_CURSES_H]) ++m4trace:configure.ac:1848: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CURSES_H]) ++m4trace:configure.ac:1848: -1- m4_pattern_allow([^HAVE_CURSES_H$]) ++m4trace:configure.ac:1848: -1- AH_OUTPUT([HAVE_NCURSES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NCURSES_H]) ++m4trace:configure.ac:1848: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NCURSES_H]) ++m4trace:configure.ac:1848: -1- m4_pattern_allow([^HAVE_NCURSES_H$]) ++m4trace:configure.ac:1849: -1- AH_OUTPUT([HAVE_NCURSES_CURSES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NCURSES_CURSES_H]) ++m4trace:configure.ac:1849: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NCURSES_CURSES_H]) ++m4trace:configure.ac:1849: -1- m4_pattern_allow([^HAVE_NCURSES_CURSES_H$]) ++m4trace:configure.ac:1849: -1- AH_OUTPUT([HAVE_NCURSES_NCURSES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NCURSES_NCURSES_H]) ++m4trace:configure.ac:1849: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NCURSES_NCURSES_H]) ++m4trace:configure.ac:1849: -1- m4_pattern_allow([^HAVE_NCURSES_NCURSES_H$]) ++m4trace:configure.ac:1850: -1- AH_OUTPUT([HAVE_NCURSESW_CURSES_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NCURSESW_CURSES_H]) ++m4trace:configure.ac:1850: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NCURSESW_CURSES_H]) ++m4trace:configure.ac:1850: -1- m4_pattern_allow([^HAVE_NCURSESW_CURSES_H$]) ++m4trace:configure.ac:1851: -1- AH_OUTPUT([HAVE_LINUX_PERF_EVENT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LINUX_PERF_EVENT_H]) ++m4trace:configure.ac:1851: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LINUX_PERF_EVENT_H]) ++m4trace:configure.ac:1851: -1- m4_pattern_allow([^HAVE_LINUX_PERF_EVENT_H$]) ++m4trace:configure.ac:1860: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_ENDIAN_H]) ++m4trace:configure.ac:1860: -2- m4_pattern_allow([^HAVE_SYS_ENDIAN_H$]) ++m4trace:configure.ac:1860: -2- AH_OUTPUT([HAVE_SYS_ENDIAN_H], [/* sys/endian.h */ ++@%:@undef HAVE_SYS_ENDIAN_H]) ++m4trace:configure.ac:1855: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:1855: the top level]) ++m4trace:configure.ac:1869: -2- AC_DEFINE_TRACE_LITERAL([HAVE_MACHINE_ENDIAN_H]) ++m4trace:configure.ac:1869: -2- m4_pattern_allow([^HAVE_MACHINE_ENDIAN_H$]) ++m4trace:configure.ac:1869: -2- AH_OUTPUT([HAVE_MACHINE_ENDIAN_H], [/* machine/endian.h */ ++@%:@undef HAVE_MACHINE_ENDIAN_H]) ++m4trace:configure.ac:1864: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:1864: the top level]) ++m4trace:configure.ac:1879: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_ENDIAN_H]) ++m4trace:configure.ac:1879: -2- m4_pattern_allow([^HAVE_SYS_ENDIAN_H$]) ++m4trace:configure.ac:1879: -2- AH_OUTPUT([HAVE_SYS_ENDIAN_H], [/* IRIX sys/endian.h */ ++@%:@undef HAVE_SYS_ENDIAN_H]) ++m4trace:configure.ac:1873: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:1873: the top level]) ++m4trace:configure.ac:1882: -1- AC_DEFINE_TRACE_LITERAL([const]) ++m4trace:configure.ac:1882: -1- m4_pattern_allow([^const$]) ++m4trace:configure.ac:1882: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ ++@%:@undef const]) ++m4trace:configure.ac:1883: -1- AC_DEFINE_TRACE_LITERAL([off_t]) ++m4trace:configure.ac:1883: -1- m4_pattern_allow([^off_t$]) ++m4trace:configure.ac:1883: -1- AH_OUTPUT([off_t], [/* Define to `long int\' if does not define. */ ++@%:@undef off_t]) ++m4trace:configure.ac:1884: -1- AC_DEFINE_TRACE_LITERAL([pid_t]) ++m4trace:configure.ac:1884: -1- m4_pattern_allow([^pid_t$]) ++m4trace:configure.ac:1884: -1- AH_OUTPUT([pid_t], [/* Define as a signed integer type capable of holding a process identifier. */ ++@%:@undef pid_t]) ++m4trace:configure.ac:1885: -1- AC_DEFINE_TRACE_LITERAL([size_t]) ++m4trace:configure.ac:1885: -1- m4_pattern_allow([^size_t$]) ++m4trace:configure.ac:1885: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */ ++@%:@undef size_t]) ++m4trace:configure.ac:1886: -1- _m4_warn([obsolete], [The macro `AC_HEADER_TIME' is obsolete. ++You should run autoupdate.], [./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... ++configure.ac:1886: the top level]) ++m4trace:configure.ac:1886: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SYS_TIME_H]) ++m4trace:configure.ac:1886: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME]) ++m4trace:configure.ac:1886: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$]) ++m4trace:configure.ac:1886: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both and . This ++ macro is obsolete. */ ++@%:@undef TIME_WITH_SYS_TIME]) ++m4trace:configure.ac:1887: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME]) ++m4trace:configure.ac:1887: -1- m4_pattern_allow([^TM_IN_SYS_TIME$]) ++m4trace:configure.ac:1887: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your declares `struct tm\'. */ ++@%:@undef TM_IN_SYS_TIME]) ++m4trace:configure.ac:1888: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler ++ calls it, or to nothing if \'inline\' is not supported under any name. */ ++#ifndef __cplusplus ++#undef inline ++#endif]) ++m4trace:configure.ac:1891: -1- AH_OUTPUT([HAVE_LIBREGEX], [/* Define to 1 if you have the `regex\' library (-lregex). */ ++@%:@undef HAVE_LIBREGEX]) ++m4trace:configure.ac:1891: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBREGEX]) ++m4trace:configure.ac:1891: -1- m4_pattern_allow([^HAVE_LIBREGEX$]) ++m4trace:configure.ac:1897: -1- AC_SUBST([lib_for_regex]) ++m4trace:configure.ac:1897: -1- AC_SUBST_TRACE([lib_for_regex]) ++m4trace:configure.ac:1897: -1- m4_pattern_allow([^lib_for_regex$]) ++m4trace:configure.ac:1899: -1- AC_SUBST([openssl_CFLAGS]) ++m4trace:configure.ac:1899: -1- AC_SUBST_TRACE([openssl_CFLAGS]) ++m4trace:configure.ac:1899: -1- m4_pattern_allow([^openssl_CFLAGS$]) ++m4trace:configure.ac:1899: -1- AC_SUBST([openssl_LIBS]) ++m4trace:configure.ac:1899: -1- AC_SUBST_TRACE([openssl_LIBS]) ++m4trace:configure.ac:1899: -1- m4_pattern_allow([^openssl_LIBS$]) ++m4trace:configure.ac:1912: -1- AC_SUBST([HAVE_OPENSSL], [$have_openssl]) ++m4trace:configure.ac:1912: -1- AC_SUBST_TRACE([HAVE_OPENSSL]) ++m4trace:configure.ac:1912: -1- m4_pattern_allow([^HAVE_OPENSSL$]) ++m4trace:configure.ac:1914: -1- AC_SUBST([libuv_CFLAGS]) ++m4trace:configure.ac:1914: -1- AC_SUBST_TRACE([libuv_CFLAGS]) ++m4trace:configure.ac:1914: -1- m4_pattern_allow([^libuv_CFLAGS$]) ++m4trace:configure.ac:1914: -1- AC_SUBST([libuv_LIBS]) ++m4trace:configure.ac:1914: -1- AC_SUBST_TRACE([libuv_LIBS]) ++m4trace:configure.ac:1914: -1- m4_pattern_allow([^libuv_LIBS$]) ++m4trace:configure.ac:1915: -1- AC_SUBST([HAVE_LIBUV], [$have_libuv]) ++m4trace:configure.ac:1915: -1- AC_SUBST_TRACE([HAVE_LIBUV]) ++m4trace:configure.ac:1915: -1- m4_pattern_allow([^HAVE_LIBUV$]) ++m4trace:configure.ac:1917: -2- AC_DEFINE_TRACE_LITERAL([HAVE_UV_PIPE_CHMOD]) ++m4trace:configure.ac:1917: -2- m4_pattern_allow([^HAVE_UV_PIPE_CHMOD$]) ++m4trace:configure.ac:1917: -2- AH_OUTPUT([HAVE_UV_PIPE_CHMOD], [/* uv_pipe_chmod API. */ ++@%:@undef HAVE_UV_PIPE_CHMOD]) ++m4trace:configure.ac:1921: -1- AC_SUBST([ncurses_CFLAGS]) ++m4trace:configure.ac:1921: -1- AC_SUBST_TRACE([ncurses_CFLAGS]) ++m4trace:configure.ac:1921: -1- m4_pattern_allow([^ncurses_CFLAGS$]) ++m4trace:configure.ac:1921: -1- AC_SUBST([ncurses_LIBS]) ++m4trace:configure.ac:1921: -1- AC_SUBST_TRACE([ncurses_LIBS]) ++m4trace:configure.ac:1921: -1- m4_pattern_allow([^ncurses_LIBS$]) ++m4trace:configure.ac:1922: -1- AC_SUBST([HAVE_NCURSES], [$have_ncurses]) ++m4trace:configure.ac:1922: -1- AC_SUBST_TRACE([HAVE_NCURSES]) ++m4trace:configure.ac:1922: -1- m4_pattern_allow([^HAVE_NCURSES$]) ++m4trace:configure.ac:1924: -1- AC_SUBST([ncursesw_CFLAGS]) ++m4trace:configure.ac:1924: -1- AC_SUBST_TRACE([ncursesw_CFLAGS]) ++m4trace:configure.ac:1924: -1- m4_pattern_allow([^ncursesw_CFLAGS$]) ++m4trace:configure.ac:1924: -1- AC_SUBST([ncursesw_LIBS]) ++m4trace:configure.ac:1924: -1- AC_SUBST_TRACE([ncursesw_LIBS]) ++m4trace:configure.ac:1924: -1- m4_pattern_allow([^ncursesw_LIBS$]) ++m4trace:configure.ac:1925: -1- AC_SUBST([HAVE_NCURSESW], [$have_ncursesw]) ++m4trace:configure.ac:1925: -1- AC_SUBST_TRACE([HAVE_NCURSESW]) ++m4trace:configure.ac:1925: -1- m4_pattern_allow([^HAVE_NCURSESW$]) ++m4trace:configure.ac:1928: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETMOUSE]) ++m4trace:configure.ac:1928: -1- m4_pattern_allow([^HAVE_GETMOUSE$]) ++m4trace:configure.ac:1928: -1- AH_OUTPUT([HAVE_GETMOUSE], [/* ncursesw getmouse */ ++@%:@undef HAVE_GETMOUSE]) ++m4trace:configure.ac:1929: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SET_ESCDELAY]) ++m4trace:configure.ac:1929: -1- m4_pattern_allow([^HAVE_SET_ESCDELAY$]) ++m4trace:configure.ac:1929: -1- AH_OUTPUT([HAVE_SET_ESCDELAY], [/* ncursesw set_escdelay */ ++@%:@undef HAVE_SET_ESCDELAY]) ++m4trace:configure.ac:1932: -1- AC_SUBST([DEVMAPPER_CFLAGS]) ++m4trace:configure.ac:1932: -1- AC_SUBST_TRACE([DEVMAPPER_CFLAGS]) ++m4trace:configure.ac:1932: -1- m4_pattern_allow([^DEVMAPPER_CFLAGS$]) ++m4trace:configure.ac:1932: -1- AC_SUBST([DEVMAPPER_LIBS]) ++m4trace:configure.ac:1932: -1- AC_SUBST_TRACE([DEVMAPPER_LIBS]) ++m4trace:configure.ac:1932: -1- m4_pattern_allow([^DEVMAPPER_LIBS$]) ++m4trace:configure.ac:1936: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:1936: the top level]) ++m4trace:configure.ac:1945: -1- AC_SUBST([HAVE_DEVMAPPER], [$have_devmapper]) ++m4trace:configure.ac:1945: -1- AC_SUBST_TRACE([HAVE_DEVMAPPER]) ++m4trace:configure.ac:1945: -1- m4_pattern_allow([^HAVE_DEVMAPPER$]) ++m4trace:configure.ac:1947: -1- AC_SUBST([SYSTEMD_CFLAGS]) ++m4trace:configure.ac:1947: -1- AC_SUBST_TRACE([SYSTEMD_CFLAGS]) ++m4trace:configure.ac:1947: -1- m4_pattern_allow([^SYSTEMD_CFLAGS$]) ++m4trace:configure.ac:1947: -1- AC_SUBST([SYSTEMD_LIBS]) ++m4trace:configure.ac:1947: -1- AC_SUBST_TRACE([SYSTEMD_LIBS]) ++m4trace:configure.ac:1947: -1- m4_pattern_allow([^SYSTEMD_LIBS$]) ++m4trace:configure.ac:1953: -1- AC_SUBST([SYSTEMD_CFLAGS]) ++m4trace:configure.ac:1953: -1- AC_SUBST_TRACE([SYSTEMD_CFLAGS]) ++m4trace:configure.ac:1953: -1- m4_pattern_allow([^SYSTEMD_CFLAGS$]) ++m4trace:configure.ac:1953: -1- AC_SUBST([SYSTEMD_LIBS]) ++m4trace:configure.ac:1953: -1- AC_SUBST_TRACE([SYSTEMD_LIBS]) ++m4trace:configure.ac:1953: -1- m4_pattern_allow([^SYSTEMD_LIBS$]) ++m4trace:configure.ac:1957: -1- AC_SUBST([PMDA_SYSTEMD], [$pmda_systemd]) ++m4trace:configure.ac:1957: -1- AC_SUBST_TRACE([PMDA_SYSTEMD]) ++m4trace:configure.ac:1957: -1- m4_pattern_allow([^PMDA_SYSTEMD$]) ++m4trace:configure.ac:1961: -1- AH_OUTPUT([HAVE_INFINIBAND_UMAD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_INFINIBAND_UMAD_H]) ++m4trace:configure.ac:1961: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INFINIBAND_UMAD_H]) ++m4trace:configure.ac:1961: -1- m4_pattern_allow([^HAVE_INFINIBAND_UMAD_H$]) ++m4trace:configure.ac:1961: -1- AH_OUTPUT([HAVE_INFINIBAND_MAD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_INFINIBAND_MAD_H]) ++m4trace:configure.ac:1961: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INFINIBAND_MAD_H]) ++m4trace:configure.ac:1961: -1- m4_pattern_allow([^HAVE_INFINIBAND_MAD_H$]) ++m4trace:configure.ac:1961: -1- AH_OUTPUT([HAVE_LIBIBMAD], [/* Define to 1 if you have the `ibmad\' library (-libmad). */ ++@%:@undef HAVE_LIBIBMAD]) ++m4trace:configure.ac:1961: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBIBMAD]) ++m4trace:configure.ac:1961: -1- m4_pattern_allow([^HAVE_LIBIBMAD$]) ++m4trace:configure.ac:1961: -1- AH_OUTPUT([HAVE_LIBIBUMAD], [/* Define to 1 if you have the `ibumad\' library (-libumad). */ ++@%:@undef HAVE_LIBIBUMAD]) ++m4trace:configure.ac:1961: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBIBUMAD]) ++m4trace:configure.ac:1961: -1- m4_pattern_allow([^HAVE_LIBIBUMAD$]) ++m4trace:configure.ac:1961: -2- AC_DEFINE_TRACE_LITERAL([HAVE_PORT_PERFORMANCE_QUERY_VIA]) ++m4trace:configure.ac:1961: -2- m4_pattern_allow([^HAVE_PORT_PERFORMANCE_QUERY_VIA$]) ++m4trace:configure.ac:1961: -2- AH_OUTPUT([HAVE_PORT_PERFORMANCE_QUERY_VIA], [/* port_performance_query_via API */ ++@%:@undef HAVE_PORT_PERFORMANCE_QUERY_VIA]) ++m4trace:configure.ac:1961: -2- AC_DEFINE_TRACE_LITERAL([HAVE_PMA_QUERY_VIA]) ++m4trace:configure.ac:1961: -2- m4_pattern_allow([^HAVE_PMA_QUERY_VIA$]) ++m4trace:configure.ac:1961: -2- AH_OUTPUT([HAVE_PMA_QUERY_VIA], [/* pma_query_via API */ ++@%:@undef HAVE_PMA_QUERY_VIA]) ++m4trace:configure.ac:1961: -1- AC_SUBST([IB_LIBS]) ++m4trace:configure.ac:1961: -1- AC_SUBST_TRACE([IB_LIBS]) ++m4trace:configure.ac:1961: -1- m4_pattern_allow([^IB_LIBS$]) ++m4trace:configure.ac:2001: -1- AC_SUBST([PMDA_INFINIBAND], [$pmda_infiniband]) ++m4trace:configure.ac:2001: -1- AC_SUBST_TRACE([PMDA_INFINIBAND]) ++m4trace:configure.ac:2001: -1- m4_pattern_allow([^PMDA_INFINIBAND$]) ++m4trace:configure.ac:2005: -1- AC_SUBST([PFM_LIBS], [$pfm_libs]) ++m4trace:configure.ac:2005: -1- AC_SUBST_TRACE([PFM_LIBS]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^PFM_LIBS$]) ++m4trace:configure.ac:2005: -1- AH_OUTPUT([HAVE_PERFMON_PFMLIB_PERF_EVENT_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_PERFMON_PFMLIB_PERF_EVENT_H]) ++m4trace:configure.ac:2005: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PERFMON_PFMLIB_PERF_EVENT_H]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^HAVE_PERFMON_PFMLIB_PERF_EVENT_H$]) ++m4trace:configure.ac:2005: -1- AC_SUBST([PFM_LIBS], [$pfm_libs]) ++m4trace:configure.ac:2005: -1- AC_SUBST_TRACE([PFM_LIBS]) ++m4trace:configure.ac:2005: -1- m4_pattern_allow([^PFM_LIBS$]) ++m4trace:configure.ac:2027: -1- AC_SUBST([PMDA_PERFEVENT], [$pmda_perfevent]) ++m4trace:configure.ac:2027: -1- AC_SUBST_TRACE([PMDA_PERFEVENT]) ++m4trace:configure.ac:2027: -1- m4_pattern_allow([^PMDA_PERFEVENT$]) ++m4trace:configure.ac:2031: -1- AC_SUBST([lib_for_hdr_histogram]) ++m4trace:configure.ac:2031: -1- AC_SUBST_TRACE([lib_for_hdr_histogram]) ++m4trace:configure.ac:2031: -1- m4_pattern_allow([^lib_for_hdr_histogram$]) ++m4trace:configure.ac:2034: -1- AC_SUBST([lib_for_chan]) ++m4trace:configure.ac:2034: -1- AC_SUBST_TRACE([lib_for_chan]) ++m4trace:configure.ac:2034: -1- m4_pattern_allow([^lib_for_chan$]) ++m4trace:configure.ac:2044: -1- AC_SUBST([PMDA_STATSD], [$pmda_statsd]) ++m4trace:configure.ac:2044: -1- AC_SUBST_TRACE([PMDA_STATSD]) ++m4trace:configure.ac:2044: -1- m4_pattern_allow([^PMDA_STATSD$]) ++m4trace:configure.ac:2050: -1- AC_SUBST([PMDA_PODMAN], [$pmda_podman]) ++m4trace:configure.ac:2050: -1- AC_SUBST_TRACE([PMDA_PODMAN]) ++m4trace:configure.ac:2050: -1- m4_pattern_allow([^PMDA_PODMAN$]) ++m4trace:configure.ac:2056: -1- AC_SUBST([QSHAPE]) ++m4trace:configure.ac:2056: -1- AC_SUBST_TRACE([QSHAPE]) ++m4trace:configure.ac:2056: -1- m4_pattern_allow([^QSHAPE$]) ++m4trace:configure.ac:2071: -1- AC_SUBST([PMDA_POSTFIX], [$pmda_postfix]) ++m4trace:configure.ac:2071: -1- AC_SUBST_TRACE([PMDA_POSTFIX]) ++m4trace:configure.ac:2071: -1- m4_pattern_allow([^PMDA_POSTFIX$]) ++m4trace:configure.ac:2084: -1- AC_SUBST([enable_selinux]) ++m4trace:configure.ac:2084: -1- AC_SUBST_TRACE([enable_selinux]) ++m4trace:configure.ac:2084: -1- m4_pattern_allow([^enable_selinux$]) ++m4trace:configure.ac:2087: -1- _m4_warn([obsolete], [The macro `AC_TYPE_SIGNAL' is obsolete. ++You should run autoupdate.], [./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... ++configure.ac:2087: the top level]) ++m4trace:configure.ac:2087: -1- AC_DEFINE_TRACE_LITERAL([RETSIGTYPE]) ++m4trace:configure.ac:2087: -1- m4_pattern_allow([^RETSIGTYPE$]) ++m4trace:configure.ac:2087: -1- AH_OUTPUT([RETSIGTYPE], [/* Define as the return type of signal handlers (`int\' or `void\'). */ ++@%:@undef RETSIGTYPE]) ++m4trace:configure.ac:2088: -1- _m4_warn([obsolete], [AC_FUNC_WAIT3: `wait3' has been removed from POSIX. ++Remove this `AC_FUNC_WAIT3' and adjust your code to use `waitpid' instead.], [./lib/autoconf/functions.m4:2053: AC_FUNC_WAIT3 is expanded from... ++configure.ac:2088: the top level]) ++m4trace:configure.ac:2088: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WAIT3]) ++m4trace:configure.ac:2088: -1- m4_pattern_allow([^HAVE_WAIT3$]) ++m4trace:configure.ac:2088: -1- AH_OUTPUT([HAVE_WAIT3], [/* Define to 1 if you have the `wait3\' system call. Deprecated, you should no ++ longer depend upon `wait3\'. */ ++@%:@undef HAVE_WAIT3]) ++m4trace:configure.ac:2089: -1- AH_OUTPUT([HAVE_VPRINTF], [/* Define to 1 if you have the `vprintf\' function. */ ++@%:@undef HAVE_VPRINTF]) ++m4trace:configure.ac:2089: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DOPRNT]) ++m4trace:configure.ac:2089: -1- m4_pattern_allow([^HAVE_DOPRNT$]) ++m4trace:configure.ac:2089: -1- AH_OUTPUT([HAVE_DOPRNT], [/* Define to 1 if you don\'t have `vprintf\' but do have `_doprnt.\' */ ++@%:@undef HAVE_DOPRNT]) ++m4trace:configure.ac:2090: -1- AH_OUTPUT([HAVE_MKTIME], [/* Define to 1 if you have the `mktime\' function. */ ++@%:@undef HAVE_MKTIME]) ++m4trace:configure.ac:2090: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MKTIME]) ++m4trace:configure.ac:2090: -1- m4_pattern_allow([^HAVE_MKTIME$]) ++m4trace:configure.ac:2090: -1- AH_OUTPUT([HAVE_NANOSLEEP], [/* Define to 1 if you have the `nanosleep\' function. */ ++@%:@undef HAVE_NANOSLEEP]) ++m4trace:configure.ac:2090: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NANOSLEEP]) ++m4trace:configure.ac:2090: -1- m4_pattern_allow([^HAVE_NANOSLEEP$]) ++m4trace:configure.ac:2090: -1- AH_OUTPUT([HAVE_USLEEP], [/* Define to 1 if you have the `usleep\' function. */ ++@%:@undef HAVE_USLEEP]) ++m4trace:configure.ac:2090: -1- AC_DEFINE_TRACE_LITERAL([HAVE_USLEEP]) ++m4trace:configure.ac:2090: -1- m4_pattern_allow([^HAVE_USLEEP$]) ++m4trace:configure.ac:2090: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define to 1 if you have the `unsetenv\' function. */ ++@%:@undef HAVE_UNSETENV]) ++m4trace:configure.ac:2090: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSETENV]) ++m4trace:configure.ac:2090: -1- m4_pattern_allow([^HAVE_UNSETENV$]) ++m4trace:configure.ac:2091: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */ ++@%:@undef HAVE_SELECT]) ++m4trace:configure.ac:2091: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SELECT]) ++m4trace:configure.ac:2091: -1- m4_pattern_allow([^HAVE_SELECT$]) ++m4trace:configure.ac:2091: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */ ++@%:@undef HAVE_SOCKET]) ++m4trace:configure.ac:2091: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKET]) ++m4trace:configure.ac:2091: -1- m4_pattern_allow([^HAVE_SOCKET$]) ++m4trace:configure.ac:2091: -1- AH_OUTPUT([HAVE_SYSLOG], [/* Define to 1 if you have the `syslog\' function. */ ++@%:@undef HAVE_SYSLOG]) ++m4trace:configure.ac:2091: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSLOG]) ++m4trace:configure.ac:2091: -1- m4_pattern_allow([^HAVE_SYSLOG$]) ++m4trace:configure.ac:2091: -1- AH_OUTPUT([HAVE_SENDMSG], [/* Define to 1 if you have the `sendmsg\' function. */ ++@%:@undef HAVE_SENDMSG]) ++m4trace:configure.ac:2091: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SENDMSG]) ++m4trace:configure.ac:2091: -1- m4_pattern_allow([^HAVE_SENDMSG$]) ++m4trace:configure.ac:2091: -1- AH_OUTPUT([HAVE_RECVMSG], [/* Define to 1 if you have the `recvmsg\' function. */ ++@%:@undef HAVE_RECVMSG]) ++m4trace:configure.ac:2091: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RECVMSG]) ++m4trace:configure.ac:2091: -1- m4_pattern_allow([^HAVE_RECVMSG$]) ++m4trace:configure.ac:2091: -1- AH_OUTPUT([HAVE_SETNS], [/* Define to 1 if you have the `setns\' function. */ ++@%:@undef HAVE_SETNS]) ++m4trace:configure.ac:2091: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETNS]) ++m4trace:configure.ac:2091: -1- m4_pattern_allow([^HAVE_SETNS$]) ++m4trace:configure.ac:2092: -1- AH_OUTPUT([HAVE_GETUID], [/* Define to 1 if you have the `getuid\' function. */ ++@%:@undef HAVE_GETUID]) ++m4trace:configure.ac:2092: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETUID]) ++m4trace:configure.ac:2092: -1- m4_pattern_allow([^HAVE_GETUID$]) ++m4trace:configure.ac:2092: -1- AH_OUTPUT([HAVE_GETGID], [/* Define to 1 if you have the `getgid\' function. */ ++@%:@undef HAVE_GETGID]) ++m4trace:configure.ac:2092: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGID]) ++m4trace:configure.ac:2092: -1- m4_pattern_allow([^HAVE_GETGID$]) ++m4trace:configure.ac:2092: -1- AH_OUTPUT([HAVE_GETPEERUCRED], [/* Define to 1 if you have the `getpeerucred\' function. */ ++@%:@undef HAVE_GETPEERUCRED]) ++m4trace:configure.ac:2092: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPEERUCRED]) ++m4trace:configure.ac:2092: -1- m4_pattern_allow([^HAVE_GETPEERUCRED$]) ++m4trace:configure.ac:2092: -1- AH_OUTPUT([HAVE_GETPEEREID], [/* Define to 1 if you have the `getpeereid\' function. */ ++@%:@undef HAVE_GETPEEREID]) ++m4trace:configure.ac:2092: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPEEREID]) ++m4trace:configure.ac:2092: -1- m4_pattern_allow([^HAVE_GETPEEREID$]) ++m4trace:configure.ac:2093: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */ ++@%:@undef HAVE_UNAME]) ++m4trace:configure.ac:2093: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNAME]) ++m4trace:configure.ac:2093: -1- m4_pattern_allow([^HAVE_UNAME$]) ++m4trace:configure.ac:2093: -1- AH_OUTPUT([HAVE_GETHOSTNAME], [/* Define to 1 if you have the `gethostname\' function. */ ++@%:@undef HAVE_GETHOSTNAME]) ++m4trace:configure.ac:2093: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETHOSTNAME]) ++m4trace:configure.ac:2093: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) ++m4trace:configure.ac:2093: -1- AH_OUTPUT([HAVE_GETDOMAINNAME], [/* Define to 1 if you have the `getdomainname\' function. */ ++@%:@undef HAVE_GETDOMAINNAME]) ++m4trace:configure.ac:2093: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETDOMAINNAME]) ++m4trace:configure.ac:2093: -1- m4_pattern_allow([^HAVE_GETDOMAINNAME$]) ++m4trace:configure.ac:2093: -1- AH_OUTPUT([HAVE_GETMACHINEID], [/* Define to 1 if you have the `getmachineid\' function. */ ++@%:@undef HAVE_GETMACHINEID]) ++m4trace:configure.ac:2093: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETMACHINEID]) ++m4trace:configure.ac:2093: -1- m4_pattern_allow([^HAVE_GETMACHINEID$]) ++m4trace:configure.ac:2094: -1- AH_OUTPUT([HAVE___CLONE], [/* Define to 1 if you have the `__clone\' function. */ ++@%:@undef HAVE___CLONE]) ++m4trace:configure.ac:2094: -1- AC_DEFINE_TRACE_LITERAL([HAVE___CLONE]) ++m4trace:configure.ac:2094: -1- m4_pattern_allow([^HAVE___CLONE$]) ++m4trace:configure.ac:2094: -1- AH_OUTPUT([HAVE_PIPE2], [/* Define to 1 if you have the `pipe2\' function. */ ++@%:@undef HAVE_PIPE2]) ++m4trace:configure.ac:2094: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PIPE2]) ++m4trace:configure.ac:2094: -1- m4_pattern_allow([^HAVE_PIPE2$]) ++m4trace:configure.ac:2094: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */ ++@%:@undef HAVE_FCNTL]) ++m4trace:configure.ac:2094: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCNTL]) ++m4trace:configure.ac:2094: -1- m4_pattern_allow([^HAVE_FCNTL$]) ++m4trace:configure.ac:2094: -1- AH_OUTPUT([HAVE_IOCTL], [/* Define to 1 if you have the `ioctl\' function. */ ++@%:@undef HAVE_IOCTL]) ++m4trace:configure.ac:2094: -1- AC_DEFINE_TRACE_LITERAL([HAVE_IOCTL]) ++m4trace:configure.ac:2094: -1- m4_pattern_allow([^HAVE_IOCTL$]) ++m4trace:configure.ac:2095: -1- AH_OUTPUT([HAVE_PRCTL], [/* Define to 1 if you have the `prctl\' function. */ ++@%:@undef HAVE_PRCTL]) ++m4trace:configure.ac:2095: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PRCTL]) ++m4trace:configure.ac:2095: -1- m4_pattern_allow([^HAVE_PRCTL$]) ++m4trace:configure.ac:2095: -1- AH_OUTPUT([HAVE_SETLINEBUF], [/* Define to 1 if you have the `setlinebuf\' function. */ ++@%:@undef HAVE_SETLINEBUF]) ++m4trace:configure.ac:2095: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SETLINEBUF]) ++m4trace:configure.ac:2095: -1- m4_pattern_allow([^HAVE_SETLINEBUF$]) ++m4trace:configure.ac:2095: -1- AH_OUTPUT([HAVE_WAITPID], [/* Define to 1 if you have the `waitpid\' function. */ ++@%:@undef HAVE_WAITPID]) ++m4trace:configure.ac:2095: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WAITPID]) ++m4trace:configure.ac:2095: -1- m4_pattern_allow([^HAVE_WAITPID$]) ++m4trace:configure.ac:2095: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */ ++@%:@undef HAVE_ATEXIT]) ++m4trace:configure.ac:2095: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ATEXIT]) ++m4trace:configure.ac:2095: -1- m4_pattern_allow([^HAVE_ATEXIT$]) ++m4trace:configure.ac:2095: -1- AH_OUTPUT([HAVE_KILL], [/* Define to 1 if you have the `kill\' function. */ ++@%:@undef HAVE_KILL]) ++m4trace:configure.ac:2095: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KILL]) ++m4trace:configure.ac:2095: -1- m4_pattern_allow([^HAVE_KILL$]) ++m4trace:configure.ac:2096: -1- AH_OUTPUT([HAVE_CHOWN], [/* Define to 1 if you have the `chown\' function. */ ++@%:@undef HAVE_CHOWN]) ++m4trace:configure.ac:2096: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CHOWN]) ++m4trace:configure.ac:2096: -1- m4_pattern_allow([^HAVE_CHOWN$]) ++m4trace:configure.ac:2096: -1- AH_OUTPUT([HAVE_FCHMOD], [/* Define to 1 if you have the `fchmod\' function. */ ++@%:@undef HAVE_FCHMOD]) ++m4trace:configure.ac:2096: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FCHMOD]) ++m4trace:configure.ac:2096: -1- m4_pattern_allow([^HAVE_FCHMOD$]) ++m4trace:configure.ac:2096: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the `getcwd\' function. */ ++@%:@undef HAVE_GETCWD]) ++m4trace:configure.ac:2096: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETCWD]) ++m4trace:configure.ac:2096: -1- m4_pattern_allow([^HAVE_GETCWD$]) ++m4trace:configure.ac:2096: -1- AH_OUTPUT([HAVE_SCANDIR], [/* Define to 1 if you have the `scandir\' function. */ ++@%:@undef HAVE_SCANDIR]) ++m4trace:configure.ac:2096: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SCANDIR]) ++m4trace:configure.ac:2096: -1- m4_pattern_allow([^HAVE_SCANDIR$]) ++m4trace:configure.ac:2096: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define to 1 if you have the `mkstemp\' function. */ ++@%:@undef HAVE_MKSTEMP]) ++m4trace:configure.ac:2096: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MKSTEMP]) ++m4trace:configure.ac:2096: -1- m4_pattern_allow([^HAVE_MKSTEMP$]) ++m4trace:configure.ac:2097: -1- AH_OUTPUT([HAVE_BRK], [/* Define to 1 if you have the `brk\' function. */ ++@%:@undef HAVE_BRK]) ++m4trace:configure.ac:2097: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BRK]) ++m4trace:configure.ac:2097: -1- m4_pattern_allow([^HAVE_BRK$]) ++m4trace:configure.ac:2097: -1- AH_OUTPUT([HAVE_SBRK], [/* Define to 1 if you have the `sbrk\' function. */ ++@%:@undef HAVE_SBRK]) ++m4trace:configure.ac:2097: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SBRK]) ++m4trace:configure.ac:2097: -1- m4_pattern_allow([^HAVE_SBRK$]) ++m4trace:configure.ac:2097: -1- AH_OUTPUT([HAVE_POSIX_MEMALIGN], [/* Define to 1 if you have the `posix_memalign\' function. */ ++@%:@undef HAVE_POSIX_MEMALIGN]) ++m4trace:configure.ac:2097: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_MEMALIGN]) ++m4trace:configure.ac:2097: -1- m4_pattern_allow([^HAVE_POSIX_MEMALIGN$]) ++m4trace:configure.ac:2097: -1- AH_OUTPUT([HAVE_MEMALIGN], [/* Define to 1 if you have the `memalign\' function. */ ++@%:@undef HAVE_MEMALIGN]) ++m4trace:configure.ac:2097: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MEMALIGN]) ++m4trace:configure.ac:2097: -1- m4_pattern_allow([^HAVE_MEMALIGN$]) ++m4trace:configure.ac:2097: -1- AH_OUTPUT([HAVE_VALLOC], [/* Define to 1 if you have the `valloc\' function. */ ++@%:@undef HAVE_VALLOC]) ++m4trace:configure.ac:2097: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VALLOC]) ++m4trace:configure.ac:2097: -1- m4_pattern_allow([^HAVE_VALLOC$]) ++m4trace:configure.ac:2098: -1- AH_OUTPUT([HAVE_SIGNAL], [/* Define to 1 if you have the `signal\' function. */ ++@%:@undef HAVE_SIGNAL]) ++m4trace:configure.ac:2098: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGNAL]) ++m4trace:configure.ac:2098: -1- m4_pattern_allow([^HAVE_SIGNAL$]) ++m4trace:configure.ac:2098: -1- AH_OUTPUT([HAVE_SIGHOLD], [/* Define to 1 if you have the `sighold\' function. */ ++@%:@undef HAVE_SIGHOLD]) ++m4trace:configure.ac:2098: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGHOLD]) ++m4trace:configure.ac:2098: -1- m4_pattern_allow([^HAVE_SIGHOLD$]) ++m4trace:configure.ac:2098: -1- AH_OUTPUT([HAVE_SIGRELSE], [/* Define to 1 if you have the `sigrelse\' function. */ ++@%:@undef HAVE_SIGRELSE]) ++m4trace:configure.ac:2098: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGRELSE]) ++m4trace:configure.ac:2098: -1- m4_pattern_allow([^HAVE_SIGRELSE$]) ++m4trace:configure.ac:2098: -1- AH_OUTPUT([HAVE_TCGETATTR], [/* Define to 1 if you have the `tcgetattr\' function. */ ++@%:@undef HAVE_TCGETATTR]) ++m4trace:configure.ac:2098: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TCGETATTR]) ++m4trace:configure.ac:2098: -1- m4_pattern_allow([^HAVE_TCGETATTR$]) ++m4trace:configure.ac:2099: -1- AH_OUTPUT([HAVE_REGEX], [/* Define to 1 if you have the `regex\' function. */ ++@%:@undef HAVE_REGEX]) ++m4trace:configure.ac:2099: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REGEX]) ++m4trace:configure.ac:2099: -1- m4_pattern_allow([^HAVE_REGEX$]) ++m4trace:configure.ac:2099: -1- AH_OUTPUT([HAVE_REGCMP], [/* Define to 1 if you have the `regcmp\' function. */ ++@%:@undef HAVE_REGCMP]) ++m4trace:configure.ac:2099: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REGCMP]) ++m4trace:configure.ac:2099: -1- m4_pattern_allow([^HAVE_REGCMP$]) ++m4trace:configure.ac:2099: -1- AH_OUTPUT([HAVE_REGEXEC], [/* Define to 1 if you have the `regexec\' function. */ ++@%:@undef HAVE_REGEXEC]) ++m4trace:configure.ac:2099: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REGEXEC]) ++m4trace:configure.ac:2099: -1- m4_pattern_allow([^HAVE_REGEXEC$]) ++m4trace:configure.ac:2099: -1- AH_OUTPUT([HAVE_REGCOMP], [/* Define to 1 if you have the `regcomp\' function. */ ++@%:@undef HAVE_REGCOMP]) ++m4trace:configure.ac:2099: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REGCOMP]) ++m4trace:configure.ac:2099: -1- m4_pattern_allow([^HAVE_REGCOMP$]) ++m4trace:configure.ac:2100: -1- AH_OUTPUT([HAVE_STRTOD], [/* Define to 1 if you have the `strtod\' function. */ ++@%:@undef HAVE_STRTOD]) ++m4trace:configure.ac:2100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOD]) ++m4trace:configure.ac:2100: -1- m4_pattern_allow([^HAVE_STRTOD$]) ++m4trace:configure.ac:2100: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */ ++@%:@undef HAVE_STRTOL]) ++m4trace:configure.ac:2100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOL]) ++m4trace:configure.ac:2100: -1- m4_pattern_allow([^HAVE_STRTOL$]) ++m4trace:configure.ac:2100: -1- AH_OUTPUT([HAVE_STRTOLL], [/* Define to 1 if you have the `strtoll\' function. */ ++@%:@undef HAVE_STRTOLL]) ++m4trace:configure.ac:2100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOLL]) ++m4trace:configure.ac:2100: -1- m4_pattern_allow([^HAVE_STRTOLL$]) ++m4trace:configure.ac:2100: -1- AH_OUTPUT([HAVE_STRTOULL], [/* Define to 1 if you have the `strtoull\' function. */ ++@%:@undef HAVE_STRTOULL]) ++m4trace:configure.ac:2100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOULL]) ++m4trace:configure.ac:2100: -1- m4_pattern_allow([^HAVE_STRTOULL$]) ++m4trace:configure.ac:2100: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */ ++@%:@undef HAVE_STRNDUP]) ++m4trace:configure.ac:2100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRNDUP]) ++m4trace:configure.ac:2100: -1- m4_pattern_allow([^HAVE_STRNDUP$]) ++m4trace:configure.ac:2100: -1- AH_OUTPUT([HAVE_STRCHRNUL], [/* Define to 1 if you have the `strchrnul\' function. */ ++@%:@undef HAVE_STRCHRNUL]) ++m4trace:configure.ac:2100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCHRNUL]) ++m4trace:configure.ac:2100: -1- m4_pattern_allow([^HAVE_STRCHRNUL$]) ++m4trace:configure.ac:2101: -1- AH_OUTPUT([HAVE_GETGRENT], [/* Define to 1 if you have the `getgrent\' function. */ ++@%:@undef HAVE_GETGRENT]) ++m4trace:configure.ac:2101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGRENT]) ++m4trace:configure.ac:2101: -1- m4_pattern_allow([^HAVE_GETGRENT$]) ++m4trace:configure.ac:2101: -1- AH_OUTPUT([HAVE_GETGRENT_R], [/* Define to 1 if you have the `getgrent_r\' function. */ ++@%:@undef HAVE_GETGRENT_R]) ++m4trace:configure.ac:2101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGRENT_R]) ++m4trace:configure.ac:2101: -1- m4_pattern_allow([^HAVE_GETGRENT_R$]) ++m4trace:configure.ac:2101: -1- AH_OUTPUT([HAVE_GETGRNAM], [/* Define to 1 if you have the `getgrnam\' function. */ ++@%:@undef HAVE_GETGRNAM]) ++m4trace:configure.ac:2101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGRNAM]) ++m4trace:configure.ac:2101: -1- m4_pattern_allow([^HAVE_GETGRNAM$]) ++m4trace:configure.ac:2101: -1- AH_OUTPUT([HAVE_GETGRNAM_R], [/* Define to 1 if you have the `getgrnam_r\' function. */ ++@%:@undef HAVE_GETGRNAM_R]) ++m4trace:configure.ac:2101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGRNAM_R]) ++m4trace:configure.ac:2101: -1- m4_pattern_allow([^HAVE_GETGRNAM_R$]) ++m4trace:configure.ac:2101: -1- AH_OUTPUT([HAVE_GETGRGID], [/* Define to 1 if you have the `getgrgid\' function. */ ++@%:@undef HAVE_GETGRGID]) ++m4trace:configure.ac:2101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGRGID]) ++m4trace:configure.ac:2101: -1- m4_pattern_allow([^HAVE_GETGRGID$]) ++m4trace:configure.ac:2101: -1- AH_OUTPUT([HAVE_GETGRGID_R], [/* Define to 1 if you have the `getgrgid_r\' function. */ ++@%:@undef HAVE_GETGRGID_R]) ++m4trace:configure.ac:2101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETGRGID_R]) ++m4trace:configure.ac:2101: -1- m4_pattern_allow([^HAVE_GETGRGID_R$]) ++m4trace:configure.ac:2102: -1- AH_OUTPUT([HAVE_GETPWENT], [/* Define to 1 if you have the `getpwent\' function. */ ++@%:@undef HAVE_GETPWENT]) ++m4trace:configure.ac:2102: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPWENT]) ++m4trace:configure.ac:2102: -1- m4_pattern_allow([^HAVE_GETPWENT$]) ++m4trace:configure.ac:2102: -1- AH_OUTPUT([HAVE_GETPWENT_R], [/* Define to 1 if you have the `getpwent_r\' function. */ ++@%:@undef HAVE_GETPWENT_R]) ++m4trace:configure.ac:2102: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPWENT_R]) ++m4trace:configure.ac:2102: -1- m4_pattern_allow([^HAVE_GETPWENT_R$]) ++m4trace:configure.ac:2102: -1- AH_OUTPUT([HAVE_GETPWNAM], [/* Define to 1 if you have the `getpwnam\' function. */ ++@%:@undef HAVE_GETPWNAM]) ++m4trace:configure.ac:2102: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPWNAM]) ++m4trace:configure.ac:2102: -1- m4_pattern_allow([^HAVE_GETPWNAM$]) ++m4trace:configure.ac:2102: -1- AH_OUTPUT([HAVE_GETPWNAM_R], [/* Define to 1 if you have the `getpwnam_r\' function. */ ++@%:@undef HAVE_GETPWNAM_R]) ++m4trace:configure.ac:2102: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPWNAM_R]) ++m4trace:configure.ac:2102: -1- m4_pattern_allow([^HAVE_GETPWNAM_R$]) ++m4trace:configure.ac:2102: -1- AH_OUTPUT([HAVE_GETPWUID], [/* Define to 1 if you have the `getpwuid\' function. */ ++@%:@undef HAVE_GETPWUID]) ++m4trace:configure.ac:2102: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPWUID]) ++m4trace:configure.ac:2102: -1- m4_pattern_allow([^HAVE_GETPWUID$]) ++m4trace:configure.ac:2102: -1- AH_OUTPUT([HAVE_GETPWUID_R], [/* Define to 1 if you have the `getpwuid_r\' function. */ ++@%:@undef HAVE_GETPWUID_R]) ++m4trace:configure.ac:2102: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPWUID_R]) ++m4trace:configure.ac:2102: -1- m4_pattern_allow([^HAVE_GETPWUID_R$]) ++m4trace:configure.ac:2103: -1- AH_OUTPUT([HAVE_SYSINFO], [/* Define to 1 if you have the `sysinfo\' function. */ ++@%:@undef HAVE_SYSINFO]) ++m4trace:configure.ac:2103: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYSINFO]) ++m4trace:configure.ac:2103: -1- m4_pattern_allow([^HAVE_SYSINFO$]) ++m4trace:configure.ac:2103: -1- AH_OUTPUT([HAVE_TRACE_BACK_STACK], [/* Define to 1 if you have the `trace_back_stack\' function. */ ++@%:@undef HAVE_TRACE_BACK_STACK]) ++m4trace:configure.ac:2103: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TRACE_BACK_STACK]) ++m4trace:configure.ac:2103: -1- m4_pattern_allow([^HAVE_TRACE_BACK_STACK$]) ++m4trace:configure.ac:2103: -1- AH_OUTPUT([HAVE_BACKTRACE], [/* Define to 1 if you have the `backtrace\' function. */ ++@%:@undef HAVE_BACKTRACE]) ++m4trace:configure.ac:2103: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BACKTRACE]) ++m4trace:configure.ac:2103: -1- m4_pattern_allow([^HAVE_BACKTRACE$]) ++m4trace:configure.ac:2108: -1- AC_DEFINE_TRACE_LITERAL([__int32_t]) ++m4trace:configure.ac:2108: -1- m4_pattern_allow([^__int32_t$]) ++m4trace:configure.ac:2108: -1- AH_OUTPUT([__int32_t], [/* Define to `int32_t\' if does not define. */ ++@%:@undef __int32_t]) ++m4trace:configure.ac:2109: -1- AC_DEFINE_TRACE_LITERAL([__uint32_t]) ++m4trace:configure.ac:2109: -1- m4_pattern_allow([^__uint32_t$]) ++m4trace:configure.ac:2109: -1- AH_OUTPUT([__uint32_t], [/* Define to `uint32_t\' if does not define. */ ++@%:@undef __uint32_t]) ++m4trace:configure.ac:2110: -1- AC_DEFINE_TRACE_LITERAL([__int64_t]) ++m4trace:configure.ac:2110: -1- m4_pattern_allow([^__int64_t$]) ++m4trace:configure.ac:2110: -1- AH_OUTPUT([__int64_t], [/* Define to `int64_t\' if does not define. */ ++@%:@undef __int64_t]) ++m4trace:configure.ac:2111: -1- AC_DEFINE_TRACE_LITERAL([__uint64_t]) ++m4trace:configure.ac:2111: -1- m4_pattern_allow([^__uint64_t$]) ++m4trace:configure.ac:2111: -1- AH_OUTPUT([__uint64_t], [/* Define to `uint64_t\' if does not define. */ ++@%:@undef __uint64_t]) ++m4trace:configure.ac:2112: -1- AC_DEFINE_TRACE_LITERAL([uint_t]) ++m4trace:configure.ac:2112: -1- m4_pattern_allow([^uint_t$]) ++m4trace:configure.ac:2112: -1- AH_OUTPUT([uint_t], [/* Define to `u_int32_t\' if does not define. */ ++@%:@undef uint_t]) ++m4trace:configure.ac:2114: -1- AC_DEFINE_TRACE_LITERAL([__int32_t]) ++m4trace:configure.ac:2114: -1- m4_pattern_allow([^__int32_t$]) ++m4trace:configure.ac:2114: -1- AH_OUTPUT([__int32_t], [/* Define to `int\' if does not define. */ ++@%:@undef __int32_t]) ++m4trace:configure.ac:2115: -1- AC_DEFINE_TRACE_LITERAL([__uint32_t]) ++m4trace:configure.ac:2115: -1- m4_pattern_allow([^__uint32_t$]) ++m4trace:configure.ac:2115: -1- AH_OUTPUT([__uint32_t], [/* Define to `unsigned int\' if does not define. */ ++@%:@undef __uint32_t]) ++m4trace:configure.ac:2116: -1- AC_DEFINE_TRACE_LITERAL([__int64_t]) ++m4trace:configure.ac:2116: -1- m4_pattern_allow([^__int64_t$]) ++m4trace:configure.ac:2116: -1- AH_OUTPUT([__int64_t], [/* Define to `long long\' if does not define. */ ++@%:@undef __int64_t]) ++m4trace:configure.ac:2117: -1- AC_DEFINE_TRACE_LITERAL([__uint64_t]) ++m4trace:configure.ac:2117: -1- m4_pattern_allow([^__uint64_t$]) ++m4trace:configure.ac:2117: -1- AH_OUTPUT([__uint64_t], [/* Define to `unsigned long long\' if does not define. */ ++@%:@undef __uint64_t]) ++m4trace:configure.ac:2118: -1- AC_DEFINE_TRACE_LITERAL([uint_t]) ++m4trace:configure.ac:2118: -1- m4_pattern_allow([^uint_t$]) ++m4trace:configure.ac:2118: -1- AH_OUTPUT([uint_t], [/* Define to `unsigned int\' if does not define. */ ++@%:@undef uint_t]) ++m4trace:configure.ac:2129: -2- AC_DEFINE_TRACE_LITERAL([HAVE___PSINT_T]) ++m4trace:configure.ac:2129: -2- m4_pattern_allow([^HAVE___PSINT_T$]) ++m4trace:configure.ac:2129: -2- AH_OUTPUT([HAVE___PSINT_T], [/* __psint_t type */ ++@%:@undef HAVE___PSINT_T]) ++m4trace:configure.ac:2123: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2123: the top level]) ++m4trace:configure.ac:2139: -2- AC_DEFINE_TRACE_LITERAL([HAVE_PTRDIFF_T]) ++m4trace:configure.ac:2139: -2- m4_pattern_allow([^HAVE_PTRDIFF_T$]) ++m4trace:configure.ac:2139: -2- AH_OUTPUT([HAVE_PTRDIFF_T], [/* ptrdiff_t type */ ++@%:@undef HAVE_PTRDIFF_T]) ++m4trace:configure.ac:2133: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2133: the top level]) ++m4trace:configure.ac:2149: -2- AC_DEFINE_TRACE_LITERAL([HAVE_UID_T]) ++m4trace:configure.ac:2149: -2- m4_pattern_allow([^HAVE_UID_T$]) ++m4trace:configure.ac:2149: -2- AH_OUTPUT([HAVE_UID_T], [/* uid_t type */ ++@%:@undef HAVE_UID_T]) ++m4trace:configure.ac:2143: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2143: the top level]) ++m4trace:configure.ac:2157: -2- AC_DEFINE_TRACE_LITERAL([HAVE_GID_T]) ++m4trace:configure.ac:2157: -2- m4_pattern_allow([^HAVE_GID_T$]) ++m4trace:configure.ac:2157: -2- AH_OUTPUT([HAVE_GID_T], [/* gid_t type */ ++@%:@undef HAVE_GID_T]) ++m4trace:configure.ac:2151: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2151: the top level]) ++m4trace:configure.ac:2164: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SID]) ++m4trace:configure.ac:2164: -2- m4_pattern_allow([^HAVE_SID$]) ++m4trace:configure.ac:2164: -2- AH_OUTPUT([HAVE_SID], [/* sid type */ ++@%:@undef HAVE_SID]) ++m4trace:configure.ac:2159: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2159: the top level]) ++m4trace:configure.ac:2174: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKLEN_T]) ++m4trace:configure.ac:2174: -2- m4_pattern_allow([^HAVE_SOCKLEN_T$]) ++m4trace:configure.ac:2174: -2- AH_OUTPUT([HAVE_SOCKLEN_T], [/* socklen_t type */ ++@%:@undef HAVE_SOCKLEN_T]) ++m4trace:configure.ac:2168: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2168: the top level]) ++m4trace:configure.ac:2180: -2- AC_DEFINE_TRACE_LITERAL([HAVE_CONST_LONGLONG]) ++m4trace:configure.ac:2180: -2- m4_pattern_allow([^HAVE_CONST_LONGLONG$]) ++m4trace:configure.ac:2180: -2- AH_OUTPUT([HAVE_CONST_LONGLONG], [/* LL suffix on constants */ ++@%:@undef HAVE_CONST_LONGLONG]) ++m4trace:configure.ac:2177: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2177: the top level]) ++m4trace:configure.ac:2187: -2- AC_DEFINE_TRACE_LITERAL([HAVE_UNDERBAR_ENVIRON]) ++m4trace:configure.ac:2187: -2- m4_pattern_allow([^HAVE_UNDERBAR_ENVIRON$]) ++m4trace:configure.ac:2187: -2- AH_OUTPUT([HAVE_UNDERBAR_ENVIRON], [/* _environ declared globally */ ++@%:@undef HAVE_UNDERBAR_ENVIRON]) ++m4trace:configure.ac:2183: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:2183: the top level]) ++m4trace:configure.ac:2196: -2- AC_DEFINE_TRACE_LITERAL([HAVE_PR_TERMCHILD]) ++m4trace:configure.ac:2196: -2- m4_pattern_allow([^HAVE_PR_TERMCHILD$]) ++m4trace:configure.ac:2196: -2- AH_OUTPUT([HAVE_PR_TERMCHILD], [/* PR_TERMCHILD constant */ ++@%:@undef HAVE_PR_TERMCHILD]) ++m4trace:configure.ac:2191: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2191: the top level]) ++m4trace:configure.ac:2204: -2- AC_DEFINE_TRACE_LITERAL([HAVE_PR_SET_PDEATHSIG]) ++m4trace:configure.ac:2204: -2- m4_pattern_allow([^HAVE_PR_SET_PDEATHSIG$]) ++m4trace:configure.ac:2204: -2- AH_OUTPUT([HAVE_PR_SET_PDEATHSIG], [/* PR_SET_PDEATHSIG constant */ ++@%:@undef HAVE_PR_SET_PDEATHSIG]) ++m4trace:configure.ac:2199: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2199: the top level]) ++m4trace:configure.ac:2206: -1- AC_DEFINE_TRACE_LITERAL([GWINSZ_IN_SYS_IOCTL]) ++m4trace:configure.ac:2206: -1- m4_pattern_allow([^GWINSZ_IN_SYS_IOCTL$]) ++m4trace:configure.ac:2206: -1- AH_OUTPUT([GWINSZ_IN_SYS_IOCTL], [/* Define to 1 if `TIOCGWINSZ\' requires . */ ++@%:@undef GWINSZ_IN_SYS_IOCTL]) ++m4trace:configure.ac:2221: -1- AC_SUBST([rdynamic_flag]) ++m4trace:configure.ac:2221: -1- AC_SUBST_TRACE([rdynamic_flag]) ++m4trace:configure.ac:2221: -1- m4_pattern_allow([^rdynamic_flag$]) ++m4trace:configure.ac:2240: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CONST_DIRENT]) ++m4trace:configure.ac:2240: -1- m4_pattern_allow([^HAVE_CONST_DIRENT$]) ++m4trace:configure.ac:2240: -1- AH_OUTPUT([HAVE_CONST_DIRENT], [/* const arg for scandir() select method */ ++@%:@undef HAVE_CONST_DIRENT]) ++m4trace:configure.ac:2259: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRENT_D_OFF]) ++m4trace:configure.ac:2259: -1- m4_pattern_allow([^HAVE_DIRENT_D_OFF$]) ++m4trace:configure.ac:2259: -1- AH_OUTPUT([HAVE_DIRENT_D_OFF], [/* struct dirent d_off field */ ++@%:@undef HAVE_DIRENT_D_OFF]) ++m4trace:configure.ac:2282: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PRINTF_P_PFX]) ++m4trace:configure.ac:2282: -1- m4_pattern_allow([^HAVE_PRINTF_P_PFX$]) ++m4trace:configure.ac:2282: -1- AH_OUTPUT([HAVE_PRINTF_P_PFX], [/* printf %p produces 0x */ ++@%:@undef HAVE_PRINTF_P_PFX]) ++m4trace:configure.ac:2431: -1- AC_SUBST([fmt_pid]) ++m4trace:configure.ac:2431: -1- AC_SUBST_TRACE([fmt_pid]) ++m4trace:configure.ac:2431: -1- m4_pattern_allow([^fmt_pid$]) ++m4trace:configure.ac:2541: -1- AC_SUBST([fmt_int64]) ++m4trace:configure.ac:2541: -1- AC_SUBST_TRACE([fmt_int64]) ++m4trace:configure.ac:2541: -1- m4_pattern_allow([^fmt_int64$]) ++m4trace:configure.ac:2544: -1- AC_SUBST([fmt_uint64]) ++m4trace:configure.ac:2544: -1- AC_SUBST_TRACE([fmt_uint64]) ++m4trace:configure.ac:2544: -1- m4_pattern_allow([^fmt_uint64$]) ++m4trace:configure.ac:2579: -1- AC_DEFINE_TRACE_LITERAL([strtoint64]) ++m4trace:configure.ac:2579: -1- m4_pattern_allow([^strtoint64$]) ++m4trace:configure.ac:2579: -1- AH_OUTPUT([strtoint64], [/* Define strtoint64 as strtol */ ++@%:@undef strtoint64]) ++m4trace:configure.ac:2580: -1- AC_DEFINE_TRACE_LITERAL([strtouint64]) ++m4trace:configure.ac:2580: -1- m4_pattern_allow([^strtouint64$]) ++m4trace:configure.ac:2580: -1- AH_OUTPUT([strtouint64], [/* Define strtoint64 as strtoul */ ++@%:@undef strtouint64]) ++m4trace:configure.ac:2584: -1- AC_DEFINE_TRACE_LITERAL([strtoint64]) ++m4trace:configure.ac:2584: -1- m4_pattern_allow([^strtoint64$]) ++m4trace:configure.ac:2584: -1- AH_OUTPUT([strtoint64], [/* Define strtoint64 as strtoll */ ++@%:@undef strtoint64]) ++m4trace:configure.ac:2585: -1- AC_DEFINE_TRACE_LITERAL([strtouint64]) ++m4trace:configure.ac:2585: -1- m4_pattern_allow([^strtouint64$]) ++m4trace:configure.ac:2585: -1- AH_OUTPUT([strtouint64], [/* Define strtoint64 as strtoull */ ++@%:@undef strtouint64]) ++m4trace:configure.ac:2589: -1- AC_DEFINE_TRACE_LITERAL([strtoint64]) ++m4trace:configure.ac:2589: -1- m4_pattern_allow([^strtoint64$]) ++m4trace:configure.ac:2589: -1- AH_OUTPUT([strtoint64], [/* Default strtoint64 to strtoll */ ++@%:@undef strtoint64]) ++m4trace:configure.ac:2590: -1- AC_DEFINE_TRACE_LITERAL([strtouint64]) ++m4trace:configure.ac:2590: -1- m4_pattern_allow([^strtouint64$]) ++m4trace:configure.ac:2590: -1- AH_OUTPUT([strtouint64], [/* Default strtouint64 to strtoull */ ++@%:@undef strtouint64]) ++m4trace:configure.ac:2598: -1- AH_OUTPUT([HAVE_PTHREAD_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_PTHREAD_H]) ++m4trace:configure.ac:2598: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_H]) ++m4trace:configure.ac:2598: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) ++m4trace:configure.ac:2615: -2- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_MUTEX_T]) ++m4trace:configure.ac:2615: -2- m4_pattern_allow([^HAVE_PTHREAD_MUTEX_T$]) ++m4trace:configure.ac:2615: -2- AH_OUTPUT([HAVE_PTHREAD_MUTEX_T], [/* pthread_mutex_t type */ ++@%:@undef HAVE_PTHREAD_MUTEX_T]) ++m4trace:configure.ac:2613: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2613: the top level]) ++m4trace:configure.ac:2633: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:2633: the top level]) ++m4trace:configure.ac:2650: -1- AC_SUBST([lib_for_pthreads]) ++m4trace:configure.ac:2650: -1- AC_SUBST_TRACE([lib_for_pthreads]) ++m4trace:configure.ac:2650: -1- m4_pattern_allow([^lib_for_pthreads$]) ++m4trace:configure.ac:2663: -1- AC_SUBST([fmt_pthread]) ++m4trace:configure.ac:2663: -1- AC_SUBST_TRACE([fmt_pthread]) ++m4trace:configure.ac:2663: -1- m4_pattern_allow([^fmt_pthread$]) ++m4trace:configure.ac:2677: -2- AC_DEFINE_TRACE_LITERAL([HAVE___THREAD]) ++m4trace:configure.ac:2677: -2- m4_pattern_allow([^HAVE___THREAD$]) ++m4trace:configure.ac:2677: -2- AH_OUTPUT([HAVE___THREAD], [/* __thread private data */ ++@%:@undef HAVE___THREAD]) ++m4trace:configure.ac:2671: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2671: the top level]) ++m4trace:configure.ac:2681: -2- AC_DEFINE_TRACE_LITERAL([HAVE___THREAD]) ++m4trace:configure.ac:2681: -2- m4_pattern_allow([^HAVE___THREAD$]) ++m4trace:configure.ac:2681: -2- AH_OUTPUT([HAVE___THREAD], [/* __thread private data */ ++@%:@undef HAVE___THREAD]) ++m4trace:configure.ac:2679: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2679: the top level]) ++m4trace:configure.ac:2687: -2- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_BARRIER_T]) ++m4trace:configure.ac:2687: -2- m4_pattern_allow([^HAVE_PTHREAD_BARRIER_T$]) ++m4trace:configure.ac:2687: -2- AH_OUTPUT([HAVE_PTHREAD_BARRIER_T], [/* pthread_barrier_t type */ ++@%:@undef HAVE_PTHREAD_BARRIER_T]) ++m4trace:configure.ac:2686: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:2686: the top level]) ++m4trace:configure.ac:2709: -1- AC_DEFINE_TRACE_LITERAL([PM_SIZEOF_SUSECONDS_T]) ++m4trace:configure.ac:2709: -1- m4_pattern_allow([^PM_SIZEOF_SUSECONDS_T$]) ++m4trace:configure.ac:2709: -1- AH_OUTPUT([PM_SIZEOF_SUSECONDS_T], [/* sizeof suseconds_t */ ++@%:@undef PM_SIZEOF_SUSECONDS_T]) ++m4trace:configure.ac:2729: -1- AC_DEFINE_TRACE_LITERAL([PM_SIZEOF_TIME_T]) ++m4trace:configure.ac:2729: -1- m4_pattern_allow([^PM_SIZEOF_TIME_T$]) ++m4trace:configure.ac:2729: -1- AH_OUTPUT([PM_SIZEOF_TIME_T], [/* sizeof time_t */ ++@%:@undef PM_SIZEOF_TIME_T]) ++m4trace:configure.ac:2749: -1- AC_DEFINE_TRACE_LITERAL([HAVE_32BIT_LONG]) ++m4trace:configure.ac:2749: -1- m4_pattern_allow([^HAVE_32BIT_LONG$]) ++m4trace:configure.ac:2749: -1- AH_OUTPUT([HAVE_32BIT_LONG], [/* sizeof long */ ++@%:@undef HAVE_32BIT_LONG]) ++m4trace:configure.ac:2751: -1- AC_DEFINE_TRACE_LITERAL([HAVE_64BIT_LONG]) ++m4trace:configure.ac:2751: -1- m4_pattern_allow([^HAVE_64BIT_LONG$]) ++m4trace:configure.ac:2751: -1- AH_OUTPUT([HAVE_64BIT_LONG], [/* sizeof long */ ++@%:@undef HAVE_64BIT_LONG]) ++m4trace:configure.ac:2778: -1- AC_DEFINE_TRACE_LITERAL([HAVE_32BIT_PTR]) ++m4trace:configure.ac:2778: -1- m4_pattern_allow([^HAVE_32BIT_PTR$]) ++m4trace:configure.ac:2778: -1- AH_OUTPUT([HAVE_32BIT_PTR], [/* pointer size */ ++@%:@undef HAVE_32BIT_PTR]) ++m4trace:configure.ac:2781: -1- AC_DEFINE_TRACE_LITERAL([HAVE_64BIT_PTR]) ++m4trace:configure.ac:2781: -1- m4_pattern_allow([^HAVE_64BIT_PTR$]) ++m4trace:configure.ac:2781: -1- AH_OUTPUT([HAVE_64BIT_PTR], [/* pointer size */ ++@%:@undef HAVE_64BIT_PTR]) ++m4trace:configure.ac:2839: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BITFIELDS_LTOR]) ++m4trace:configure.ac:2839: -1- m4_pattern_allow([^HAVE_BITFIELDS_LTOR$]) ++m4trace:configure.ac:2839: -1- AH_OUTPUT([HAVE_BITFIELDS_LTOR], [/* left-to-right bitfield ordering */ ++@%:@undef HAVE_BITFIELDS_LTOR]) ++m4trace:configure.ac:2865: -2- AC_DEFINE_TRACE_LITERAL([HAVE_CAST_U64_DOUBLE]) ++m4trace:configure.ac:2865: -2- m4_pattern_allow([^HAVE_CAST_U64_DOUBLE$]) ++m4trace:configure.ac:2865: -2- AH_OUTPUT([HAVE_CAST_U64_DOUBLE], [/* compiler casts u64 to double */ ++@%:@undef HAVE_CAST_U64_DOUBLE]) ++m4trace:configure.ac:2857: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:2857: the top level]) ++m4trace:configure.ac:2869: -1- AH_OUTPUT([HAVE_BASENAME], [/* Define to 1 if you have the `basename\' function. */ ++@%:@undef HAVE_BASENAME]) ++m4trace:configure.ac:2869: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME]) ++m4trace:configure.ac:2869: -1- m4_pattern_allow([^HAVE_BASENAME$]) ++m4trace:configure.ac:2872: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME]) ++m4trace:configure.ac:2872: -1- m4_pattern_allow([^HAVE_BASENAME$]) ++m4trace:configure.ac:2872: -1- AH_OUTPUT([HAVE_BASENAME], [/* basename API */ ++@%:@undef HAVE_BASENAME]) ++m4trace:configure.ac:2873: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRNAME]) ++m4trace:configure.ac:2873: -1- m4_pattern_allow([^HAVE_DIRNAME$]) ++m4trace:configure.ac:2873: -1- AH_OUTPUT([HAVE_DIRNAME], [/* dirname API */ ++@%:@undef HAVE_DIRNAME]) ++m4trace:configure.ac:2876: -1- AH_OUTPUT([HAVE_LIBGEN], [/* Define to 1 if you have the `gen\' library (-lgen). */ ++@%:@undef HAVE_LIBGEN]) ++m4trace:configure.ac:2876: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGEN]) ++m4trace:configure.ac:2876: -1- m4_pattern_allow([^HAVE_LIBGEN$]) ++m4trace:configure.ac:2879: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BASENAME]) ++m4trace:configure.ac:2879: -1- m4_pattern_allow([^HAVE_BASENAME$]) ++m4trace:configure.ac:2879: -1- AH_OUTPUT([HAVE_BASENAME], [/* basename API */ ++@%:@undef HAVE_BASENAME]) ++m4trace:configure.ac:2880: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRNAME]) ++m4trace:configure.ac:2880: -1- m4_pattern_allow([^HAVE_DIRNAME$]) ++m4trace:configure.ac:2880: -1- AH_OUTPUT([HAVE_DIRNAME], [/* dirname API */ ++@%:@undef HAVE_DIRNAME]) ++m4trace:configure.ac:2886: -1- AC_SUBST([lib_for_basename]) ++m4trace:configure.ac:2886: -1- AC_SUBST_TRACE([lib_for_basename]) ++m4trace:configure.ac:2886: -1- m4_pattern_allow([^lib_for_basename$]) ++m4trace:configure.ac:2890: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME], [/* Define to 1 if you have the `clock_gettime\' function. */ ++@%:@undef HAVE_CLOCK_GETTIME]) ++m4trace:configure.ac:2890: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME]) ++m4trace:configure.ac:2890: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$]) ++m4trace:configure.ac:2893: -1- AH_OUTPUT([HAVE_LIBRT], [/* Define to 1 if you have the `rt\' library (-lrt). */ ++@%:@undef HAVE_LIBRT]) ++m4trace:configure.ac:2893: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRT]) ++m4trace:configure.ac:2893: -1- m4_pattern_allow([^HAVE_LIBRT$]) ++m4trace:configure.ac:2896: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME]) ++m4trace:configure.ac:2896: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$]) ++m4trace:configure.ac:2896: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME], [/* clock_gettime API */ ++@%:@undef HAVE_CLOCK_GETTIME]) ++m4trace:configure.ac:2900: -1- AC_SUBST([lib_for_rt]) ++m4trace:configure.ac:2900: -1- AC_SUBST_TRACE([lib_for_rt]) ++m4trace:configure.ac:2900: -1- m4_pattern_allow([^lib_for_rt$]) ++m4trace:configure.ac:2904: -1- AH_OUTPUT([HAVE_DLOPEN], [/* Define to 1 if you have the `dlopen\' function. */ ++@%:@undef HAVE_DLOPEN]) ++m4trace:configure.ac:2904: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLOPEN]) ++m4trace:configure.ac:2904: -1- m4_pattern_allow([^HAVE_DLOPEN$]) ++m4trace:configure.ac:2907: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */ ++@%:@undef HAVE_LIBDL]) ++m4trace:configure.ac:2907: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL]) ++m4trace:configure.ac:2907: -1- m4_pattern_allow([^HAVE_LIBDL$]) ++m4trace:configure.ac:2910: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLOPEN]) ++m4trace:configure.ac:2910: -1- m4_pattern_allow([^HAVE_DLOPEN$]) ++m4trace:configure.ac:2910: -1- AH_OUTPUT([HAVE_DLOPEN], [/* dlopen API */ ++@%:@undef HAVE_DLOPEN]) ++m4trace:configure.ac:2914: -1- AC_SUBST([lib_for_dlopen]) ++m4trace:configure.ac:2914: -1- AC_SUBST_TRACE([lib_for_dlopen]) ++m4trace:configure.ac:2914: -1- m4_pattern_allow([^lib_for_dlopen$]) ++m4trace:configure.ac:2919: -1- AH_OUTPUT([HAVE_FLOG10], [/* Define to 1 if you have the `flog10\' function. */ ++@%:@undef HAVE_FLOG10]) ++m4trace:configure.ac:2919: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOG10]) ++m4trace:configure.ac:2919: -1- m4_pattern_allow([^HAVE_FLOG10$]) ++m4trace:configure.ac:2922: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */ ++@%:@undef HAVE_LIBM]) ++m4trace:configure.ac:2922: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM]) ++m4trace:configure.ac:2922: -1- m4_pattern_allow([^HAVE_LIBM$]) ++m4trace:configure.ac:2925: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOG10]) ++m4trace:configure.ac:2925: -1- m4_pattern_allow([^HAVE_FLOG10$]) ++m4trace:configure.ac:2925: -1- AH_OUTPUT([HAVE_FLOG10], [/* flog10 math API */ ++@%:@undef HAVE_FLOG10]) ++m4trace:configure.ac:2929: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FLOG10]) ++m4trace:configure.ac:2929: -1- m4_pattern_allow([^HAVE_FLOG10$]) ++m4trace:configure.ac:2929: -1- AH_OUTPUT([HAVE_FLOG10], [/* flog10 math API */ ++@%:@undef HAVE_FLOG10]) ++m4trace:configure.ac:2931: -1- AH_OUTPUT([HAVE_POW], [/* Define to 1 if you have the `pow\' function. */ ++@%:@undef HAVE_POW]) ++m4trace:configure.ac:2931: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POW]) ++m4trace:configure.ac:2931: -1- m4_pattern_allow([^HAVE_POW$]) ++m4trace:configure.ac:2934: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */ ++@%:@undef HAVE_LIBM]) ++m4trace:configure.ac:2934: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM]) ++m4trace:configure.ac:2934: -1- m4_pattern_allow([^HAVE_LIBM$]) ++m4trace:configure.ac:2937: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POW]) ++m4trace:configure.ac:2937: -1- m4_pattern_allow([^HAVE_POW$]) ++m4trace:configure.ac:2937: -1- AH_OUTPUT([HAVE_POW], [/* pow math API */ ++@%:@undef HAVE_POW]) ++m4trace:configure.ac:2941: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POW]) ++m4trace:configure.ac:2941: -1- m4_pattern_allow([^HAVE_POW$]) ++m4trace:configure.ac:2941: -1- AH_OUTPUT([HAVE_POW], [/* pow math API */ ++@%:@undef HAVE_POW]) ++m4trace:configure.ac:2945: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:2945: the top level]) ++m4trace:configure.ac:2960: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:2960: the top level]) ++m4trace:configure.ac:2977: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FPCLASSIFY]) ++m4trace:configure.ac:2977: -1- m4_pattern_allow([^HAVE_FPCLASSIFY$]) ++m4trace:configure.ac:2977: -1- AH_OUTPUT([HAVE_FPCLASSIFY], [/* fpclassify math API */ ++@%:@undef HAVE_FPCLASSIFY]) ++m4trace:configure.ac:2981: -1- AH_OUTPUT([HAVE_ISNAN], [/* Define to 1 if you have the `isnan\' function. */ ++@%:@undef HAVE_ISNAN]) ++m4trace:configure.ac:2981: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNAN]) ++m4trace:configure.ac:2981: -1- m4_pattern_allow([^HAVE_ISNAN$]) ++m4trace:configure.ac:2984: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */ ++@%:@undef HAVE_LIBM]) ++m4trace:configure.ac:2984: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM]) ++m4trace:configure.ac:2984: -1- m4_pattern_allow([^HAVE_LIBM$]) ++m4trace:configure.ac:2987: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNAN]) ++m4trace:configure.ac:2987: -1- m4_pattern_allow([^HAVE_ISNAN$]) ++m4trace:configure.ac:2987: -1- AH_OUTPUT([HAVE_ISNAN], [/* isnan math API */ ++@%:@undef HAVE_ISNAN]) ++m4trace:configure.ac:2991: -1- AH_OUTPUT([HAVE_ISNANF], [/* Define to 1 if you have the `isnanf\' function. */ ++@%:@undef HAVE_ISNANF]) ++m4trace:configure.ac:2991: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNANF]) ++m4trace:configure.ac:2991: -1- m4_pattern_allow([^HAVE_ISNANF$]) ++m4trace:configure.ac:2994: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */ ++@%:@undef HAVE_LIBM]) ++m4trace:configure.ac:2994: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM]) ++m4trace:configure.ac:2994: -1- m4_pattern_allow([^HAVE_LIBM$]) ++m4trace:configure.ac:2997: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNANF]) ++m4trace:configure.ac:2997: -1- m4_pattern_allow([^HAVE_ISNANF$]) ++m4trace:configure.ac:2997: -1- AH_OUTPUT([HAVE_ISNANF], [/* isnanf math API */ ++@%:@undef HAVE_ISNANF]) ++m4trace:configure.ac:3002: -1- AC_SUBST([lib_for_math]) ++m4trace:configure.ac:3002: -1- AC_SUBST_TRACE([lib_for_math]) ++m4trace:configure.ac:3002: -1- m4_pattern_allow([^lib_for_math$]) ++m4trace:configure.ac:3006: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SIGPF]) ++m4trace:configure.ac:3006: -2- m4_pattern_allow([^HAVE_SIGPF$]) ++m4trace:configure.ac:3006: -2- AH_OUTPUT([HAVE_SIGPF], [/* SIG_PF typedef */ ++@%:@undef HAVE_SIGPF]) ++m4trace:configure.ac:3005: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:3005: the top level]) ++m4trace:configure.ac:3010: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SA_SIGINFO]) ++m4trace:configure.ac:3010: -2- m4_pattern_allow([^HAVE_SA_SIGINFO$]) ++m4trace:configure.ac:3010: -2- AH_OUTPUT([HAVE_SA_SIGINFO], [/* SA_SIGINFO macro */ ++@%:@undef HAVE_SA_SIGINFO]) ++m4trace:configure.ac:3009: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:3009: the top level]) ++m4trace:configure.ac:3014: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SIGPIPE]) ++m4trace:configure.ac:3014: -2- m4_pattern_allow([^HAVE_SIGPIPE$]) ++m4trace:configure.ac:3014: -2- AH_OUTPUT([HAVE_SIGPIPE], [/* SIGPIPE signal */ ++@%:@undef HAVE_SIGPIPE]) ++m4trace:configure.ac:3013: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:3013: the top level]) ++m4trace:configure.ac:3018: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SIGHUP]) ++m4trace:configure.ac:3018: -2- m4_pattern_allow([^HAVE_SIGHUP$]) ++m4trace:configure.ac:3018: -2- AH_OUTPUT([HAVE_SIGHUP], [/* SIGHUP signal */ ++@%:@undef HAVE_SIGHUP]) ++m4trace:configure.ac:3017: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:3017: the top level]) ++m4trace:configure.ac:3022: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SIGBUS]) ++m4trace:configure.ac:3022: -2- m4_pattern_allow([^HAVE_SIGBUS$]) ++m4trace:configure.ac:3022: -2- AH_OUTPUT([HAVE_SIGBUS], [/* SIGBUS signal */ ++@%:@undef HAVE_SIGBUS]) ++m4trace:configure.ac:3021: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:3021: the top level]) ++m4trace:configure.ac:3028: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WAIT_INCLUDES_SIGNAL]) ++m4trace:configure.ac:3028: -2- m4_pattern_allow([^HAVE_WAIT_INCLUDES_SIGNAL$]) ++m4trace:configure.ac:3028: -2- AH_OUTPUT([HAVE_WAIT_INCLUDES_SIGNAL], [/* indirect signal.h */ ++@%:@undef HAVE_WAIT_INCLUDES_SIGNAL]) ++m4trace:configure.ac:3025: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... ++configure.ac:3025: the top level]) ++m4trace:configure.ac:3045: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ST_MTIME_WITH_SPEC]) ++m4trace:configure.ac:3045: -1- m4_pattern_allow([^HAVE_ST_MTIME_WITH_SPEC$]) ++m4trace:configure.ac:3045: -1- AH_OUTPUT([HAVE_ST_MTIME_WITH_SPEC], [/* st_mtimespec stat field */ ++@%:@undef HAVE_ST_MTIME_WITH_SPEC]) ++m4trace:configure.ac:3052: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ST_MTIME_WITH_E]) ++m4trace:configure.ac:3052: -1- m4_pattern_allow([^HAVE_ST_MTIME_WITH_E$]) ++m4trace:configure.ac:3052: -1- AH_OUTPUT([HAVE_ST_MTIME_WITH_E], [/* st_mtime stat field */ ++@%:@undef HAVE_ST_MTIME_WITH_E]) ++m4trace:configure.ac:3059: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_TIMESTRUC]) ++m4trace:configure.ac:3059: -1- m4_pattern_allow([^HAVE_STAT_TIMESTRUC$]) ++m4trace:configure.ac:3059: -1- AH_OUTPUT([HAVE_STAT_TIMESTRUC], [/* timestruc_t type */ ++@%:@undef HAVE_STAT_TIMESTRUC]) ++m4trace:configure.ac:3066: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_TIMESPEC_T]) ++m4trace:configure.ac:3066: -1- m4_pattern_allow([^HAVE_STAT_TIMESPEC_T$]) ++m4trace:configure.ac:3066: -1- AH_OUTPUT([HAVE_STAT_TIMESPEC_T], [/* timespec_t type */ ++@%:@undef HAVE_STAT_TIMESPEC_T]) ++m4trace:configure.ac:3073: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_TIMESPEC]) ++m4trace:configure.ac:3073: -1- m4_pattern_allow([^HAVE_STAT_TIMESPEC$]) ++m4trace:configure.ac:3073: -1- AH_OUTPUT([HAVE_STAT_TIMESPEC], [/* timespec type */ ++@%:@undef HAVE_STAT_TIMESPEC]) ++m4trace:configure.ac:3080: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_TIME_T]) ++m4trace:configure.ac:3080: -1- m4_pattern_allow([^HAVE_STAT_TIME_T$]) ++m4trace:configure.ac:3080: -1- AH_OUTPUT([HAVE_STAT_TIME_T], [/* time_t type */ ++@%:@undef HAVE_STAT_TIME_T]) ++m4trace:configure.ac:3110: -1- AC_SUBST([pcp_etc_dir]) ++m4trace:configure.ac:3110: -1- AC_SUBST_TRACE([pcp_etc_dir]) ++m4trace:configure.ac:3110: -1- m4_pattern_allow([^pcp_etc_dir$]) ++m4trace:configure.ac:3113: -1- AC_SUBST([pcp_saslconf_dir]) ++m4trace:configure.ac:3113: -1- AC_SUBST_TRACE([pcp_saslconf_dir]) ++m4trace:configure.ac:3113: -1- m4_pattern_allow([^pcp_saslconf_dir$]) ++m4trace:configure.ac:3116: -1- AC_SUBST([pcp_sysconf_dir]) ++m4trace:configure.ac:3116: -1- AC_SUBST_TRACE([pcp_sysconf_dir]) ++m4trace:configure.ac:3116: -1- m4_pattern_allow([^pcp_sysconf_dir$]) ++m4trace:configure.ac:3124: -1- AC_SUBST([pcp_pmcdconf_path]) ++m4trace:configure.ac:3124: -1- AC_SUBST_TRACE([pcp_pmcdconf_path]) ++m4trace:configure.ac:3124: -1- m4_pattern_allow([^pcp_pmcdconf_path$]) ++m4trace:configure.ac:3125: -1- AC_SUBST([pcp_pmcdoptions_path]) ++m4trace:configure.ac:3125: -1- AC_SUBST_TRACE([pcp_pmcdoptions_path]) ++m4trace:configure.ac:3125: -1- m4_pattern_allow([^pcp_pmcdoptions_path$]) ++m4trace:configure.ac:3126: -1- AC_SUBST([pcp_pmcdrclocal_path]) ++m4trace:configure.ac:3126: -1- AC_SUBST_TRACE([pcp_pmcdrclocal_path]) ++m4trace:configure.ac:3126: -1- m4_pattern_allow([^pcp_pmcdrclocal_path$]) ++m4trace:configure.ac:3127: -1- AC_SUBST([pcp_pmproxyoptions_path]) ++m4trace:configure.ac:3127: -1- AC_SUBST_TRACE([pcp_pmproxyoptions_path]) ++m4trace:configure.ac:3127: -1- m4_pattern_allow([^pcp_pmproxyoptions_path$]) ++m4trace:configure.ac:3128: -1- AC_SUBST([pcp_pmiecontrol_path]) ++m4trace:configure.ac:3128: -1- AC_SUBST_TRACE([pcp_pmiecontrol_path]) ++m4trace:configure.ac:3128: -1- m4_pattern_allow([^pcp_pmiecontrol_path$]) ++m4trace:configure.ac:3129: -1- AC_SUBST([pcp_pmsnapcontrol_path]) ++m4trace:configure.ac:3129: -1- AC_SUBST_TRACE([pcp_pmsnapcontrol_path]) ++m4trace:configure.ac:3129: -1- m4_pattern_allow([^pcp_pmsnapcontrol_path$]) ++m4trace:configure.ac:3130: -1- AC_SUBST([pcp_pmloggercontrol_path]) ++m4trace:configure.ac:3130: -1- AC_SUBST_TRACE([pcp_pmloggercontrol_path]) ++m4trace:configure.ac:3130: -1- m4_pattern_allow([^pcp_pmloggercontrol_path$]) ++m4trace:configure.ac:3135: -1- AC_SUBST([pcp_share_dir]) ++m4trace:configure.ac:3135: -1- AC_SUBST_TRACE([pcp_share_dir]) ++m4trace:configure.ac:3135: -1- m4_pattern_allow([^pcp_share_dir$]) ++m4trace:configure.ac:3140: -1- AC_SUBST([pcp_selinux_dir]) ++m4trace:configure.ac:3140: -1- AC_SUBST_TRACE([pcp_selinux_dir]) ++m4trace:configure.ac:3140: -1- m4_pattern_allow([^pcp_selinux_dir$]) ++m4trace:configure.ac:3145: -1- AC_SUBST([pcp_bashshare_dir]) ++m4trace:configure.ac:3145: -1- AC_SUBST_TRACE([pcp_bashshare_dir]) ++m4trace:configure.ac:3145: -1- m4_pattern_allow([^pcp_bashshare_dir$]) ++m4trace:configure.ac:3150: -1- AC_SUBST([pcp_binadm_dir]) ++m4trace:configure.ac:3150: -1- AC_SUBST_TRACE([pcp_binadm_dir]) ++m4trace:configure.ac:3150: -1- m4_pattern_allow([^pcp_binadm_dir$]) ++m4trace:configure.ac:3155: -1- AC_SUBST([pcp_libadm_dir]) ++m4trace:configure.ac:3155: -1- AC_SUBST_TRACE([pcp_libadm_dir]) ++m4trace:configure.ac:3155: -1- m4_pattern_allow([^pcp_libadm_dir$]) ++m4trace:configure.ac:3160: -1- AC_SUBST([pcp_var_dir]) ++m4trace:configure.ac:3160: -1- AC_SUBST_TRACE([pcp_var_dir]) ++m4trace:configure.ac:3160: -1- m4_pattern_allow([^pcp_var_dir$]) ++m4trace:configure.ac:3163: -1- AC_SUBST([pcp_pmns_dir]) ++m4trace:configure.ac:3163: -1- AC_SUBST_TRACE([pcp_pmns_dir]) ++m4trace:configure.ac:3163: -1- m4_pattern_allow([^pcp_pmns_dir$]) ++m4trace:configure.ac:3166: -1- AC_SUBST([pcp_pmnsadm_dir]) ++m4trace:configure.ac:3166: -1- AC_SUBST_TRACE([pcp_pmnsadm_dir]) ++m4trace:configure.ac:3166: -1- m4_pattern_allow([^pcp_pmnsadm_dir$]) ++m4trace:configure.ac:3169: -1- AC_SUBST([pcp_pmdas_dir]) ++m4trace:configure.ac:3169: -1- AC_SUBST_TRACE([pcp_pmdas_dir]) ++m4trace:configure.ac:3169: -1- m4_pattern_allow([^pcp_pmdas_dir$]) ++m4trace:configure.ac:3172: -1- AC_SUBST([pcp_pmdasadm_dir]) ++m4trace:configure.ac:3172: -1- AC_SUBST_TRACE([pcp_pmdasadm_dir]) ++m4trace:configure.ac:3172: -1- m4_pattern_allow([^pcp_pmdasadm_dir$]) ++m4trace:configure.ac:3178: -1- AC_SUBST([pcp_lib_dir]) ++m4trace:configure.ac:3178: -1- AC_SUBST_TRACE([pcp_lib_dir]) ++m4trace:configure.ac:3178: -1- m4_pattern_allow([^pcp_lib_dir$]) ++m4trace:configure.ac:3179: -1- AC_SUBST([pcp_lib32_dir]) ++m4trace:configure.ac:3179: -1- AC_SUBST_TRACE([pcp_lib32_dir]) ++m4trace:configure.ac:3179: -1- m4_pattern_allow([^pcp_lib32_dir$]) ++m4trace:configure.ac:3182: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3182: the top level]) ++m4trace:configure.ac:3187: -1- AC_SUBST([perl_installdirs]) ++m4trace:configure.ac:3187: -1- AC_SUBST_TRACE([perl_installdirs]) ++m4trace:configure.ac:3187: -1- m4_pattern_allow([^perl_installdirs$]) ++m4trace:configure.ac:3188: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3188: the top level]) ++m4trace:configure.ac:3193: -1- AC_SUBST([perl_install_base]) ++m4trace:configure.ac:3193: -1- AC_SUBST_TRACE([perl_install_base]) ++m4trace:configure.ac:3193: -1- m4_pattern_allow([^perl_install_base$]) ++m4trace:configure.ac:3195: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3195: the top level]) ++m4trace:configure.ac:3200: -1- AC_SUBST([python_prefix]) ++m4trace:configure.ac:3200: -1- AC_SUBST_TRACE([python_prefix]) ++m4trace:configure.ac:3200: -1- m4_pattern_allow([^python_prefix$]) ++m4trace:configure.ac:3202: -1- AC_SUBST([XMKMF]) ++m4trace:configure.ac:3202: -1- AC_SUBST_TRACE([XMKMF]) ++m4trace:configure.ac:3202: -1- m4_pattern_allow([^XMKMF$]) ++m4trace:configure.ac:3202: -1- AC_DEFINE_TRACE_LITERAL([X_DISPLAY_MISSING]) ++m4trace:configure.ac:3202: -1- m4_pattern_allow([^X_DISPLAY_MISSING$]) ++m4trace:configure.ac:3202: -1- AH_OUTPUT([X_DISPLAY_MISSING], [/* Define to 1 if the X Window System is missing or not being used. */ ++@%:@undef X_DISPLAY_MISSING]) ++m4trace:configure.ac:3202: -1- AC_SUBST([X_CFLAGS]) ++m4trace:configure.ac:3202: -1- AC_SUBST_TRACE([X_CFLAGS]) ++m4trace:configure.ac:3202: -1- m4_pattern_allow([^X_CFLAGS$]) ++m4trace:configure.ac:3202: -1- AC_SUBST([X_PRE_LIBS]) ++m4trace:configure.ac:3202: -1- AC_SUBST_TRACE([X_PRE_LIBS]) ++m4trace:configure.ac:3202: -1- m4_pattern_allow([^X_PRE_LIBS$]) ++m4trace:configure.ac:3202: -1- AC_SUBST([X_LIBS]) ++m4trace:configure.ac:3202: -1- AC_SUBST_TRACE([X_LIBS]) ++m4trace:configure.ac:3202: -1- m4_pattern_allow([^X_LIBS$]) ++m4trace:configure.ac:3202: -1- AC_SUBST([X_EXTRA_LIBS]) ++m4trace:configure.ac:3202: -1- AC_SUBST_TRACE([X_EXTRA_LIBS]) ++m4trace:configure.ac:3202: -1- m4_pattern_allow([^X_EXTRA_LIBS$]) ++m4trace:configure.ac:3204: -1- AC_SUBST([pcp_x11_incflags]) ++m4trace:configure.ac:3204: -1- AC_SUBST_TRACE([pcp_x11_incflags]) ++m4trace:configure.ac:3204: -1- m4_pattern_allow([^pcp_x11_incflags$]) ++m4trace:configure.ac:3206: -1- AC_SUBST([pcp_x11_libflags]) ++m4trace:configure.ac:3206: -1- AC_SUBST_TRACE([pcp_x11_libflags]) ++m4trace:configure.ac:3206: -1- m4_pattern_allow([^pcp_x11_libflags$]) ++m4trace:configure.ac:3208: -1- AC_SUBST([pcp_x11_extra]) ++m4trace:configure.ac:3208: -1- AC_SUBST_TRACE([pcp_x11_extra]) ++m4trace:configure.ac:3208: -1- m4_pattern_allow([^pcp_x11_extra$]) ++m4trace:configure.ac:3210: -1- AC_SUBST([pcp_x11_pre]) ++m4trace:configure.ac:3210: -1- AC_SUBST_TRACE([pcp_x11_pre]) ++m4trace:configure.ac:3210: -1- m4_pattern_allow([^pcp_x11_pre$]) ++m4trace:configure.ac:3299: -1- AC_SUBST([pcp_man_dir]) ++m4trace:configure.ac:3299: -1- AC_SUBST_TRACE([pcp_man_dir]) ++m4trace:configure.ac:3299: -1- m4_pattern_allow([^pcp_man_dir$]) ++m4trace:configure.ac:3300: -1- AC_SUBST([have_manpages]) ++m4trace:configure.ac:3300: -1- AC_SUBST_TRACE([have_manpages]) ++m4trace:configure.ac:3300: -1- m4_pattern_allow([^have_manpages$]) ++m4trace:configure.ac:3301: -1- AC_SUBST([have_gzipped_manpages]) ++m4trace:configure.ac:3301: -1- AC_SUBST_TRACE([have_gzipped_manpages]) ++m4trace:configure.ac:3301: -1- m4_pattern_allow([^have_gzipped_manpages$]) ++m4trace:configure.ac:3302: -1- AC_SUBST([have_bzip2ed_manpages]) ++m4trace:configure.ac:3302: -1- AC_SUBST_TRACE([have_bzip2ed_manpages]) ++m4trace:configure.ac:3302: -1- m4_pattern_allow([^have_bzip2ed_manpages$]) ++m4trace:configure.ac:3303: -1- AC_SUBST([have_lzmaed_manpages]) ++m4trace:configure.ac:3303: -1- AC_SUBST_TRACE([have_lzmaed_manpages]) ++m4trace:configure.ac:3303: -1- m4_pattern_allow([^have_lzmaed_manpages$]) ++m4trace:configure.ac:3304: -1- AC_SUBST([have_xzed_manpages]) ++m4trace:configure.ac:3304: -1- AC_SUBST_TRACE([have_xzed_manpages]) ++m4trace:configure.ac:3304: -1- m4_pattern_allow([^have_xzed_manpages$]) ++m4trace:configure.ac:3305: -1- AC_SUBST([need_old_tbl_header]) ++m4trace:configure.ac:3305: -1- AC_SUBST_TRACE([need_old_tbl_header]) ++m4trace:configure.ac:3305: -1- m4_pattern_allow([^need_old_tbl_header$]) ++m4trace:configure.ac:3310: -1- AC_SUBST([pcp_bin_dir]) ++m4trace:configure.ac:3310: -1- AC_SUBST_TRACE([pcp_bin_dir]) ++m4trace:configure.ac:3310: -1- m4_pattern_allow([^pcp_bin_dir$]) ++m4trace:configure.ac:3314: -1- AC_SUBST([pcp_sbin_dir]) ++m4trace:configure.ac:3314: -1- AC_SUBST_TRACE([pcp_sbin_dir]) ++m4trace:configure.ac:3314: -1- m4_pattern_allow([^pcp_sbin_dir$]) ++m4trace:configure.ac:3319: -1- AC_SUBST([pcp_inc_dir]) ++m4trace:configure.ac:3319: -1- AC_SUBST_TRACE([pcp_inc_dir]) ++m4trace:configure.ac:3319: -1- m4_pattern_allow([^pcp_inc_dir$]) ++m4trace:configure.ac:3328: -1- AC_SUBST([pcp_html_dir]) ++m4trace:configure.ac:3328: -1- AC_SUBST_TRACE([pcp_html_dir]) ++m4trace:configure.ac:3328: -1- m4_pattern_allow([^pcp_html_dir$]) ++m4trace:configure.ac:3337: -1- AC_SUBST([pcp_icons_dir]) ++m4trace:configure.ac:3337: -1- AC_SUBST_TRACE([pcp_icons_dir]) ++m4trace:configure.ac:3337: -1- m4_pattern_allow([^pcp_icons_dir$]) ++m4trace:configure.ac:3339: -1- AC_SUBST([INKSCAPE]) ++m4trace:configure.ac:3339: -1- AC_SUBST_TRACE([INKSCAPE]) ++m4trace:configure.ac:3339: -1- m4_pattern_allow([^INKSCAPE$]) ++m4trace:configure.ac:3341: -1- AC_SUBST([inkscape]) ++m4trace:configure.ac:3341: -1- AC_SUBST_TRACE([inkscape]) ++m4trace:configure.ac:3341: -1- m4_pattern_allow([^inkscape$]) ++m4trace:configure.ac:3349: -1- AC_SUBST([have_hicolor_icons]) ++m4trace:configure.ac:3349: -1- AC_SUBST_TRACE([have_hicolor_icons]) ++m4trace:configure.ac:3349: -1- m4_pattern_allow([^have_hicolor_icons$]) ++m4trace:configure.ac:3354: -1- AC_SUBST([pcp_desktop_dir]) ++m4trace:configure.ac:3354: -1- AC_SUBST_TRACE([pcp_desktop_dir]) ++m4trace:configure.ac:3354: -1- m4_pattern_allow([^pcp_desktop_dir$]) ++m4trace:configure.ac:3357: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3357: the top level]) ++m4trace:configure.ac:3371: -1- AC_SUBST([pcp_rc_dir]) ++m4trace:configure.ac:3371: -1- AC_SUBST_TRACE([pcp_rc_dir]) ++m4trace:configure.ac:3371: -1- m4_pattern_allow([^pcp_rc_dir$]) ++m4trace:configure.ac:3374: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3374: the top level]) ++m4trace:configure.ac:3377: -1- AC_SUBST([pcp_sysconfig_dir]) ++m4trace:configure.ac:3377: -1- AC_SUBST_TRACE([pcp_sysconfig_dir]) ++m4trace:configure.ac:3377: -1- m4_pattern_allow([^pcp_sysconfig_dir$]) ++m4trace:configure.ac:3380: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3380: the top level]) ++m4trace:configure.ac:3385: -1- AC_SUBST([pcp_log_dir]) ++m4trace:configure.ac:3385: -1- AC_SUBST_TRACE([pcp_log_dir]) ++m4trace:configure.ac:3385: -1- m4_pattern_allow([^pcp_log_dir$]) ++m4trace:configure.ac:3388: -1- AC_SUBST([pcp_archive_dir]) ++m4trace:configure.ac:3388: -1- AC_SUBST_TRACE([pcp_archive_dir]) ++m4trace:configure.ac:3388: -1- m4_pattern_allow([^pcp_archive_dir$]) ++m4trace:configure.ac:3391: -1- AC_SUBST([pcp_sa_dir]) ++m4trace:configure.ac:3391: -1- AC_SUBST_TRACE([pcp_sa_dir]) ++m4trace:configure.ac:3391: -1- m4_pattern_allow([^pcp_sa_dir$]) ++m4trace:configure.ac:3394: -1- AC_SUBST([pcp_pacct_system_path]) ++m4trace:configure.ac:3394: -1- AC_SUBST_TRACE([pcp_pacct_system_path]) ++m4trace:configure.ac:3394: -1- m4_pattern_allow([^pcp_pacct_system_path$]) ++m4trace:configure.ac:3396: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3396: the top level]) ++m4trace:configure.ac:3406: -1- AC_SUBST([pcp_run_dir]) ++m4trace:configure.ac:3406: -1- AC_SUBST_TRACE([pcp_run_dir]) ++m4trace:configure.ac:3406: -1- m4_pattern_allow([^pcp_run_dir$]) ++m4trace:configure.ac:3409: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3409: the top level]) ++m4trace:configure.ac:3414: -1- AC_SUBST([pcp_tmpfile_dir]) ++m4trace:configure.ac:3414: -1- AC_SUBST_TRACE([pcp_tmpfile_dir]) ++m4trace:configure.ac:3414: -1- m4_pattern_allow([^pcp_tmpfile_dir$]) ++m4trace:configure.ac:3418: -1- AC_SUBST([pcp_tmp_dir]) ++m4trace:configure.ac:3418: -1- AC_SUBST_TRACE([pcp_tmp_dir]) ++m4trace:configure.ac:3418: -1- m4_pattern_allow([^pcp_tmp_dir$]) ++m4trace:configure.ac:3421: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3421: the top level]) ++m4trace:configure.ac:3426: -1- AC_SUBST([pcp_doc_dir]) ++m4trace:configure.ac:3426: -1- AC_SUBST_TRACE([pcp_doc_dir]) ++m4trace:configure.ac:3426: -1- m4_pattern_allow([^pcp_doc_dir$]) ++m4trace:configure.ac:3429: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ++./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... ++configure.ac:3429: the top level]) ++m4trace:configure.ac:3432: -1- AC_SUBST([pcp_demos_dir]) ++m4trace:configure.ac:3432: -1- AC_SUBST_TRACE([pcp_demos_dir]) ++m4trace:configure.ac:3432: -1- m4_pattern_allow([^pcp_demos_dir$]) ++m4trace:configure.ac:3436: -1- AC_SUBST([ac_xconfirm_prog]) ++m4trace:configure.ac:3436: -1- AC_SUBST_TRACE([ac_xconfirm_prog]) ++m4trace:configure.ac:3436: -1- m4_pattern_allow([^ac_xconfirm_prog$]) ++m4trace:configure.ac:3440: -1- AC_SUBST([ac_xconfirm_prog]) ++m4trace:configure.ac:3440: -1- AC_SUBST_TRACE([ac_xconfirm_prog]) ++m4trace:configure.ac:3440: -1- m4_pattern_allow([^ac_xconfirm_prog$]) ++m4trace:configure.ac:3448: -2- AC_DEFINE_TRACE_LITERAL([HAVE_FNDELAY]) ++m4trace:configure.ac:3448: -2- m4_pattern_allow([^HAVE_FNDELAY$]) ++m4trace:configure.ac:3448: -2- AH_OUTPUT([HAVE_FNDELAY], [/* FNDELAY macro */ ++@%:@undef HAVE_FNDELAY]) ++m4trace:configure.ac:3446: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3446: the top level]) ++m4trace:configure.ac:3462: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ZPOOL_VDEV_NAME_5ARG]) ++m4trace:configure.ac:3462: -2- m4_pattern_allow([^HAVE_ZPOOL_VDEV_NAME_5ARG$]) ++m4trace:configure.ac:3462: -2- AH_OUTPUT([HAVE_ZPOOL_VDEV_NAME_5ARG], [/* 5-arg zpool_vdev_name */ ++@%:@undef HAVE_ZPOOL_VDEV_NAME_5ARG]) ++m4trace:configure.ac:3456: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3456: the top level]) ++m4trace:configure.ac:3472: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ZPOOL_VDEV_NAME_4ARG]) ++m4trace:configure.ac:3472: -2- m4_pattern_allow([^HAVE_ZPOOL_VDEV_NAME_4ARG$]) ++m4trace:configure.ac:3472: -2- AH_OUTPUT([HAVE_ZPOOL_VDEV_NAME_4ARG], [/* 4-arg zpool_vdev_name */ ++@%:@undef HAVE_ZPOOL_VDEV_NAME_4ARG]) ++m4trace:configure.ac:3466: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3466: the top level]) ++m4trace:configure.ac:3485: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ZFS_ITER_SNAPSHOTS_4ARG]) ++m4trace:configure.ac:3485: -2- m4_pattern_allow([^HAVE_ZFS_ITER_SNAPSHOTS_4ARG$]) ++m4trace:configure.ac:3485: -2- AH_OUTPUT([HAVE_ZFS_ITER_SNAPSHOTS_4ARG], [/* 4-arg zfs_iter_snapshots */ ++@%:@undef HAVE_ZFS_ITER_SNAPSHOTS_4ARG]) ++m4trace:configure.ac:3480: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3480: the top level]) ++m4trace:configure.ac:3494: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ZFS_ITER_SNAPSHOTS_3ARG]) ++m4trace:configure.ac:3494: -2- m4_pattern_allow([^HAVE_ZFS_ITER_SNAPSHOTS_3ARG$]) ++m4trace:configure.ac:3494: -2- AH_OUTPUT([HAVE_ZFS_ITER_SNAPSHOTS_3ARG], [/* 3-arg zfs_iter_snapshots */ ++@%:@undef HAVE_ZFS_ITER_SNAPSHOTS_3ARG]) ++m4trace:configure.ac:3489: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3489: the top level]) ++m4trace:configure.ac:3511: -1- AH_OUTPUT([HAVE_NSS_NSS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NSS_NSS_H]) ++m4trace:configure.ac:3511: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NSS_NSS_H]) ++m4trace:configure.ac:3511: -1- m4_pattern_allow([^HAVE_NSS_NSS_H$]) ++m4trace:configure.ac:3511: -1- AH_OUTPUT([HAVE_NSS3_NSS_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NSS3_NSS_H]) ++m4trace:configure.ac:3511: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NSS3_NSS_H]) ++m4trace:configure.ac:3511: -1- m4_pattern_allow([^HAVE_NSS3_NSS_H$]) ++m4trace:configure.ac:3520: -1- AC_SUBST([NSSCFLAGS]) ++m4trace:configure.ac:3520: -1- AC_SUBST_TRACE([NSSCFLAGS]) ++m4trace:configure.ac:3520: -1- m4_pattern_allow([^NSSCFLAGS$]) ++m4trace:configure.ac:3522: -1- AH_OUTPUT([HAVE_NSPR_NSPR_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NSPR_NSPR_H]) ++m4trace:configure.ac:3522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NSPR_NSPR_H]) ++m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_NSPR_NSPR_H$]) ++m4trace:configure.ac:3522: -1- AH_OUTPUT([HAVE_NSPR4_NSPR_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_NSPR4_NSPR_H]) ++m4trace:configure.ac:3522: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NSPR4_NSPR_H]) ++m4trace:configure.ac:3522: -1- m4_pattern_allow([^HAVE_NSPR4_NSPR_H$]) ++m4trace:configure.ac:3531: -1- AC_SUBST([NSPRCFLAGS]) ++m4trace:configure.ac:3531: -1- AC_SUBST_TRACE([NSPRCFLAGS]) ++m4trace:configure.ac:3531: -1- m4_pattern_allow([^NSPRCFLAGS$]) ++m4trace:configure.ac:3533: -1- AH_OUTPUT([HAVE_SASL_SASL_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_SASL_SASL_H]) ++m4trace:configure.ac:3533: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SASL_SASL_H]) ++m4trace:configure.ac:3533: -1- m4_pattern_allow([^HAVE_SASL_SASL_H$]) ++m4trace:configure.ac:3540: -1- AC_SUBST([SASLCFLAGS]) ++m4trace:configure.ac:3540: -1- AC_SUBST_TRACE([SASLCFLAGS]) ++m4trace:configure.ac:3540: -1- m4_pattern_allow([^SASLCFLAGS$]) ++m4trace:configure.ac:3549: -1- AC_SUBST([lib_for_sasl]) ++m4trace:configure.ac:3549: -1- AC_SUBST_TRACE([lib_for_sasl]) ++m4trace:configure.ac:3549: -1- m4_pattern_allow([^lib_for_sasl$]) ++m4trace:configure.ac:3560: -1- AC_SUBST([lib_for_ssl]) ++m4trace:configure.ac:3560: -1- AC_SUBST_TRACE([lib_for_ssl]) ++m4trace:configure.ac:3560: -1- m4_pattern_allow([^lib_for_ssl$]) ++m4trace:configure.ac:3571: -1- AC_SUBST([lib_for_nss]) ++m4trace:configure.ac:3571: -1- AC_SUBST_TRACE([lib_for_nss]) ++m4trace:configure.ac:3571: -1- m4_pattern_allow([^lib_for_nss$]) ++m4trace:configure.ac:3582: -1- AC_SUBST([lib_for_nspr]) ++m4trace:configure.ac:3582: -1- AC_SUBST_TRACE([lib_for_nspr]) ++m4trace:configure.ac:3582: -1- m4_pattern_allow([^lib_for_nspr$]) ++m4trace:configure.ac:3586: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SECURE_SOCKETS]) ++m4trace:configure.ac:3586: -1- m4_pattern_allow([^HAVE_SECURE_SOCKETS$]) ++m4trace:configure.ac:3586: -1- AH_OUTPUT([HAVE_SECURE_SOCKETS], [/* Encrypted sockets */ ++@%:@undef HAVE_SECURE_SOCKETS]) ++m4trace:configure.ac:3588: -1- AC_SUBST([enable_secure]) ++m4trace:configure.ac:3588: -1- AC_SUBST_TRACE([enable_secure]) ++m4trace:configure.ac:3588: -1- m4_pattern_allow([^enable_secure$]) ++m4trace:configure.ac:3596: -1- AC_SUBST([lib_for_atomic]) ++m4trace:configure.ac:3596: -1- AC_SUBST_TRACE([lib_for_atomic]) ++m4trace:configure.ac:3596: -1- m4_pattern_allow([^lib_for_atomic$]) ++m4trace:configure.ac:3601: -1- AC_SUBST([lzma_CFLAGS]) ++m4trace:configure.ac:3601: -1- AC_SUBST_TRACE([lzma_CFLAGS]) ++m4trace:configure.ac:3601: -1- m4_pattern_allow([^lzma_CFLAGS$]) ++m4trace:configure.ac:3601: -1- AC_SUBST([lzma_LIBS]) ++m4trace:configure.ac:3601: -1- AC_SUBST_TRACE([lzma_LIBS]) ++m4trace:configure.ac:3601: -1- m4_pattern_allow([^lzma_LIBS$]) ++m4trace:configure.ac:3601: -1- AH_OUTPUT([HAVE_LZMA_H], [/* Define to 1 if you have the header file. */ ++@%:@undef HAVE_LZMA_H]) ++m4trace:configure.ac:3601: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LZMA_H]) ++m4trace:configure.ac:3601: -1- m4_pattern_allow([^HAVE_LZMA_H$]) ++m4trace:configure.ac:3601: -1- AC_SUBST([lib_for_lzma]) ++m4trace:configure.ac:3601: -1- AC_SUBST_TRACE([lib_for_lzma]) ++m4trace:configure.ac:3601: -1- m4_pattern_allow([^lib_for_lzma$]) ++m4trace:configure.ac:3601: -1- AC_SUBST([lzma_CFLAGS]) ++m4trace:configure.ac:3601: -1- AC_SUBST_TRACE([lzma_CFLAGS]) ++m4trace:configure.ac:3601: -1- m4_pattern_allow([^lzma_CFLAGS$]) ++m4trace:configure.ac:3601: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LZMA_DECOMPRESSION]) ++m4trace:configure.ac:3601: -1- m4_pattern_allow([^HAVE_LZMA_DECOMPRESSION$]) ++m4trace:configure.ac:3601: -1- AH_OUTPUT([HAVE_LZMA_DECOMPRESSION], [/* lzma decompression */ ++@%:@undef HAVE_LZMA_DECOMPRESSION]) ++m4trace:configure.ac:3601: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TRANSPARENT_DECOMPRESSION]) ++m4trace:configure.ac:3601: -1- m4_pattern_allow([^HAVE_TRANSPARENT_DECOMPRESSION$]) ++m4trace:configure.ac:3601: -1- AH_OUTPUT([HAVE_TRANSPARENT_DECOMPRESSION], [/* Transparent decompression */ ++@%:@undef HAVE_TRANSPARENT_DECOMPRESSION]) ++m4trace:configure.ac:3630: -1- AC_SUBST([enable_decompression]) ++m4trace:configure.ac:3630: -1- AC_SUBST_TRACE([enable_decompression]) ++m4trace:configure.ac:3630: -1- m4_pattern_allow([^enable_decompression$]) ++m4trace:configure.ac:3631: -1- AC_SUBST([enable_lzma]) ++m4trace:configure.ac:3631: -1- AC_SUBST_TRACE([enable_lzma]) ++m4trace:configure.ac:3631: -1- m4_pattern_allow([^enable_lzma$]) ++m4trace:configure.ac:3640: -1- AC_SUBST([pcp_mpi_dirs]) ++m4trace:configure.ac:3640: -1- AC_SUBST_TRACE([pcp_mpi_dirs]) ++m4trace:configure.ac:3640: -1- m4_pattern_allow([^pcp_mpi_dirs$]) ++m4trace:configure.ac:3653: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SOCKADDR_UN]) ++m4trace:configure.ac:3653: -2- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_UN$]) ++m4trace:configure.ac:3653: -2- AH_OUTPUT([HAVE_STRUCT_SOCKADDR_UN], [/* sockaddr_un type */ ++@%:@undef HAVE_STRUCT_SOCKADDR_UN]) ++m4trace:configure.ac:3644: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3644: the top level]) ++m4trace:configure.ac:3666: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_UCRED]) ++m4trace:configure.ac:3666: -2- m4_pattern_allow([^HAVE_STRUCT_UCRED$]) ++m4trace:configure.ac:3666: -2- AH_OUTPUT([HAVE_STRUCT_UCRED], [/* ucred type */ ++@%:@undef HAVE_STRUCT_UCRED]) ++m4trace:configure.ac:3657: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3657: the top level]) ++m4trace:configure.ac:3673: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_TIMESPEC]) ++m4trace:configure.ac:3673: -2- m4_pattern_allow([^HAVE_STRUCT_TIMESPEC$]) ++m4trace:configure.ac:3673: -2- AH_OUTPUT([HAVE_STRUCT_TIMESPEC], [/* timespec type */ ++@%:@undef HAVE_STRUCT_TIMESPEC]) ++m4trace:configure.ac:3670: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3670: the top level]) ++m4trace:configure.ac:3680: -2- AC_DEFINE_TRACE_LITERAL([HAVE_ALTZONE]) ++m4trace:configure.ac:3680: -2- m4_pattern_allow([^HAVE_ALTZONE$]) ++m4trace:configure.ac:3680: -2- AH_OUTPUT([HAVE_ALTZONE], [/* altzone global */ ++@%:@undef HAVE_ALTZONE]) ++m4trace:configure.ac:3677: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3677: the top level]) ++m4trace:configure.ac:3697: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME_z]) ++m4trace:configure.ac:3697: -2- m4_pattern_allow([^HAVE_STRFTIME_z$]) ++m4trace:configure.ac:3697: -2- AH_OUTPUT([HAVE_STRFTIME_z], [/* strftime with %z */ ++@%:@undef HAVE_STRFTIME_z]) ++m4trace:configure.ac:3684: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... ++configure.ac:3684: the top level]) ++m4trace:configure.ac:3704: -2- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R_PTR]) ++m4trace:configure.ac:3704: -2- m4_pattern_allow([^HAVE_STRERROR_R_PTR$]) ++m4trace:configure.ac:3704: -2- AH_OUTPUT([HAVE_STRERROR_R_PTR], [/* strerror_r return */ ++@%:@undef HAVE_STRERROR_R_PTR]) ++m4trace:configure.ac:3702: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3702: the top level]) ++m4trace:configure.ac:3711: -1- AH_OUTPUT([HAVE_LIBREADLINE], [/* Define to 1 if you have the `readline\' library (-lreadline). */ ++@%:@undef HAVE_LIBREADLINE]) ++m4trace:configure.ac:3711: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBREADLINE]) ++m4trace:configure.ac:3711: -1- m4_pattern_allow([^HAVE_LIBREADLINE$]) ++m4trace:configure.ac:3711: -1- AH_OUTPUT([HAVE_LIBREADLINE], [/* Define to 1 if you have the `readline\' library (-lreadline). */ ++@%:@undef HAVE_LIBREADLINE]) ++m4trace:configure.ac:3711: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBREADLINE]) ++m4trace:configure.ac:3711: -1- m4_pattern_allow([^HAVE_LIBREADLINE$]) ++m4trace:configure.ac:3722: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE]) ++m4trace:configure.ac:3722: -1- m4_pattern_allow([^HAVE_READLINE$]) ++m4trace:configure.ac:3722: -1- AH_OUTPUT([HAVE_READLINE], [/* readline API */ ++@%:@undef HAVE_READLINE]) ++m4trace:configure.ac:3725: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE]) ++m4trace:configure.ac:3725: -1- m4_pattern_allow([^HAVE_READLINE$]) ++m4trace:configure.ac:3725: -1- AH_OUTPUT([HAVE_READLINE], [/* readline API */ ++@%:@undef HAVE_READLINE]) ++m4trace:configure.ac:3729: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE]) ++m4trace:configure.ac:3729: -1- m4_pattern_allow([^HAVE_READLINE$]) ++m4trace:configure.ac:3729: -1- AH_OUTPUT([HAVE_READLINE], [/* readline API */ ++@%:@undef HAVE_READLINE]) ++m4trace:configure.ac:3733: -1- AC_SUBST([lib_for_readline]) ++m4trace:configure.ac:3733: -1- AC_SUBST_TRACE([lib_for_readline]) ++m4trace:configure.ac:3733: -1- m4_pattern_allow([^lib_for_readline$]) ++m4trace:configure.ac:3734: -1- AC_SUBST([lib_for_curses]) ++m4trace:configure.ac:3734: -1- AC_SUBST_TRACE([lib_for_curses]) ++m4trace:configure.ac:3734: -1- m4_pattern_allow([^lib_for_curses$]) ++m4trace:configure.ac:3738: -1- AC_SUBST([zlib_CFLAGS]) ++m4trace:configure.ac:3738: -1- AC_SUBST_TRACE([zlib_CFLAGS]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^zlib_CFLAGS$]) ++m4trace:configure.ac:3738: -1- AC_SUBST([zlib_LIBS]) ++m4trace:configure.ac:3738: -1- AC_SUBST_TRACE([zlib_LIBS]) ++m4trace:configure.ac:3738: -1- m4_pattern_allow([^zlib_LIBS$]) ++m4trace:configure.ac:3739: -1- AC_SUBST([HAVE_ZLIB], [$have_zlib]) ++m4trace:configure.ac:3739: -1- AC_SUBST_TRACE([HAVE_ZLIB]) ++m4trace:configure.ac:3739: -1- m4_pattern_allow([^HAVE_ZLIB$]) ++m4trace:configure.ac:3742: -1- AC_SUBST([cmocka_CFLAGS]) ++m4trace:configure.ac:3742: -1- AC_SUBST_TRACE([cmocka_CFLAGS]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^cmocka_CFLAGS$]) ++m4trace:configure.ac:3742: -1- AC_SUBST([cmocka_LIBS]) ++m4trace:configure.ac:3742: -1- AC_SUBST_TRACE([cmocka_LIBS]) ++m4trace:configure.ac:3742: -1- m4_pattern_allow([^cmocka_LIBS$]) ++m4trace:configure.ac:3743: -1- AC_SUBST([HAVE_CMOCKA], [$have_cmocka]) ++m4trace:configure.ac:3743: -1- AC_SUBST_TRACE([HAVE_CMOCKA]) ++m4trace:configure.ac:3743: -1- m4_pattern_allow([^HAVE_CMOCKA$]) ++m4trace:configure.ac:3753: -2- AC_DEFINE_TRACE_LITERAL([HAVE_AI_ADDRCONFIG]) ++m4trace:configure.ac:3753: -2- m4_pattern_allow([^HAVE_AI_ADDRCONFIG$]) ++m4trace:configure.ac:3753: -2- AH_OUTPUT([HAVE_AI_ADDRCONFIG], [/* AI_ADDRCONFIG macro */ ++@%:@undef HAVE_AI_ADDRCONFIG]) ++m4trace:configure.ac:3747: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. ++You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... ++configure.ac:3747: the top level]) ++m4trace:configure.ac:3757: -1- AC_SUBST([pcp_prefix]) ++m4trace:configure.ac:3757: -1- AC_SUBST_TRACE([pcp_prefix]) ++m4trace:configure.ac:3757: -1- m4_pattern_allow([^pcp_prefix$]) ++m4trace:configure.ac:3758: -1- AC_SUBST([PACKAGE_CONFIGURE]) ++m4trace:configure.ac:3758: -1- AC_SUBST_TRACE([PACKAGE_CONFIGURE]) ++m4trace:configure.ac:3758: -1- m4_pattern_allow([^PACKAGE_CONFIGURE$]) ++m4trace:configure.ac:3764: -1- AC_CONFIG_FILES([ src/include/builddefs ++ src/include/pcp.conf ++ pcp.lsm ++ debian/pcp.preinst.head ++ debian/pcp.postinst.head ++ build/tar/preinstall.head ++ build/tar/postinstall.head ++ build/GNUlocaldefs ++ build/mac/uninstall-pcp ++]) ++m4trace:configure.ac:3764: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. ++You should run autoupdate.], []) ++m4trace:configure.ac:3764: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) ++m4trace:configure.ac:3764: -1- m4_pattern_allow([^LIB@&t@OBJS$]) ++m4trace:configure.ac:3764: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([LTLIBOBJS]) ++m4trace:configure.ac:3764: -1- m4_pattern_allow([^LTLIBOBJS$]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([top_builddir]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([top_build_prefix]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([srcdir]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([abs_srcdir]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([top_srcdir]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([abs_top_srcdir]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([builddir]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([abs_builddir]) ++m4trace:configure.ac:3764: -1- AC_SUBST_TRACE([abs_top_builddir]) +diff -Naurp pcp-5.3.7.orig/build/rpm/GNUmakefile pcp-5.3.7/build/rpm/GNUmakefile +--- pcp-5.3.7.orig/build/rpm/GNUmakefile 2022-10-26 16:42:20.903360604 +1100 ++++ pcp-5.3.7/build/rpm/GNUmakefile 2022-10-26 16:45:21.273094142 +1100 +@@ -113,6 +113,7 @@ pcp.spec: pcp.spec.in + -e's|@pcp_sa_dir@|$(PCP_SA_DIR)|g' \ + -e's|@pcp_var_dir@|$(PCP_VAR_DIR)|g' \ + -e's|@pcp_etc_dir@|$(PCP_ETC_DIR)|g' \ ++ -e's|@pcp_selinux_dir@|$(PCP_SELINUX_DIR)|g' \ + -e's|@pcp_binadm_dir@|$(PCP_BINADM_DIR)|g' \ + -e's|@pcp_pmdas_dir@|$(PCP_PMDAS_DIR)|g' \ + -e's|@qt_version@|$(QT_VERSION)|g' \ +diff -Naurp pcp-5.3.7.orig/build/rpm/pcp.spec.in pcp-5.3.7/build/rpm/pcp.spec.in +--- pcp-5.3.7.orig/build/rpm/pcp.spec.in 2022-10-26 16:42:20.906360566 +1100 ++++ pcp-5.3.7/build/rpm/pcp.spec.in 2022-10-26 16:45:21.276094104 +1100 +@@ -207,30 +207,16 @@ else + fi + } + +-%global selinux_handle_policy() %{expand: +-SELINUX_DIR=@pcp_var_dir@/selinux +-PCP_BINADM_DIR=@pcp_binadm_dir@ +-if [ %1 -ge 1 ] +-then +- $PCP_BINADM_DIR/selinux-setup $SELINUX_DIR install %2 +-elif [ %1 -eq 0 ] +-then +- $PCP_BINADM_DIR/selinux-setup $SELINUX_DIR remove %2 +-fi +-} +- + %if "@enable_selinux@" == "true" +- +-# rpm boolean dependencies are supported since RHEL 8, but not reliable ++# rpm boolean dependencies are supported since RHEL 8, but not reliably + # across all platforms, so be conservative here + %if 0%{?fedora} >= 36 || 0%{?rhel} >= 9 +-# This ensures that the pcp-selinux package and all it's dependencies are ++# This ensures that the pcp-selinux package and all its dependencies are + # not pulled into containers and other systems that do not use SELinux + Requires: (pcp-selinux = @package_version@ if selinux-policy-targeted) + %else + Requires: pcp-selinux = @package_version@ + %endif +- + %endif + + Requires: pcp-libs = @package_version@ +@@ -2270,7 +2256,7 @@ basic_manifest() { + total_manifest | keep 'testsuite|etc/systemd/system|libpcp_fault|pcp/fault.h' >pcp-testsuite-files + total_manifest | keep 'tutorials|/html/|pcp-doc|man.*\.[1-9].*' | cull 'out' >pcp-doc-files + basic_manifest | keep "$PCP_GUI|pcp-gui|applications|pixmaps|hicolor" | cull 'pmtime.h' >pcp-gui-files +-basic_manifest | keep 'selinux' | cull 'tmp|GNUselinuxdefs' >pcp-selinux-files ++basic_manifest | keep 'selinux' | cull 'tmp|testsuite' >pcp-selinux-files + basic_manifest | keep 'zeroconf|daily[-_]report|/sa$' >pcp-zeroconf-files + basic_manifest | grep -E -e 'pmiostat|pmrep|dstat|htop|pcp2csv' \ + -e 'pcp-atop|pcp-dmcache|pcp-dstat|pcp-free|pcp-htop' \ +@@ -2506,6 +2492,9 @@ done + %endif + + %pre testsuite ++%if "@enable_selinux@" == "true" ++%selinux_relabel_pre -s targeted ++%endif + test -d @pcp_var_dir@/testsuite || mkdir -p -m 755 @pcp_var_dir@/testsuite + getent group pcpqa >/dev/null || groupadd -r pcpqa + getent passwd pcpqa >/dev/null || \ +@@ -2514,6 +2503,12 @@ chown -R pcpqa:pcpqa @pcp_var_dir@/tests + exit 0 + + %post testsuite ++%if "@enable_selinux@" == "true" ++PCP_SELINUX_DIR=@pcp_selinux_dir@/packages/targeted ++semodule -r pcpqa >/dev/null 2>&1 || true ++%selinux_modules_install -s targeted "$PCP_SELINUX_DIR/pcp-testsuite.pp.bz2" ++%selinux_relabel_post -s targeted ++%endif + chown -R pcpqa:pcpqa @pcp_var_dir@/testsuite 2>/dev/null + # inherited from %post for pcp-collector + %if "@enable_systemd@" == "true" +@@ -2526,6 +2521,14 @@ chown -R pcpqa:pcpqa @pcp_var_dir@/tests + /sbin/service pmlogger condrestart + %endif + ++%if "@enable_selinux@" == "true" ++%postun testsuite ++if [ $1 -eq 0 ]; then ++ %selinux_modules_uninstall -s targeted pcp-testsuite ++ %selinux_relabel_post -s targeted ++fi ++%endif ++ + %pre + getent group pcp >/dev/null || groupadd -r pcp + getent passwd pcp >/dev/null || \ +@@ -2572,17 +2575,6 @@ pmieconf -c enable dmthin + /sbin/service pmie condrestart + %endif + +-%if "@enable_selinux@" == "true" +-%preun selinux +-%{selinux_handle_policy "$1" "pcpupstream"} +- +-%triggerin selinux -- docker-selinux +-%{selinux_handle_policy "$1" "pcpupstream-docker"} +- +-%triggerin selinux -- container-selinux +-%{selinux_handle_policy "$1" "pcpupstream-container"} +-%endif +- + %if "@pmda_systemd@" == "true" + %preun pmda-systemd + %{pmda_remove "$1" "systemd"} +@@ -2909,18 +2901,30 @@ PCP_SA_DIR=@pcp_sa_dir@ + %endif + %{rebuild_pmns "$PCP_PMNS_DIR" .NeedRebuild} + ++%if 0%{?fedora} >= 26 || 0%{?rhel} > 7 ++%ldconfig_scriptlets libs ++%else + %post libs -p /sbin/ldconfig + %postun libs -p /sbin/ldconfig ++%endif + + %if "@enable_selinux@" == "true" +-%post selinux +-%{selinux_handle_policy "$1" "pcpupstream"} ++%pre selinux ++%selinux_relabel_pre -s targeted + +-%triggerun selinux -- docker-selinux +-%{selinux_handle_policy "$1" "pcpupstream-docker"} +- +-%triggerun selinux -- container-selinux +-%{selinux_handle_policy "$1" "pcpupstream-container"} ++%post selinux ++PCP_SELINUX_DIR=@pcp_selinux_dir@/packages/targeted ++semodule -r pcpupstream-container >/dev/null 2>&1 || true ++semodule -r pcpupstream-docker >/dev/null 2>&1 || true ++semodule -r pcpupstream >/dev/null 2>&1 || true ++%selinux_modules_install -s targeted "$PCP_SELINUX_DIR/pcp.pp.bz2" ++%selinux_relabel_post -s targeted ++ ++%postun selinux ++if [ $1 -eq 0 ]; then ++ %selinux_modules_uninstall -s targeted pcp ++ %selinux_relabel_post -s targeted ++fi + %endif + + %files -f pcp-files.rpm +@@ -2939,6 +2943,7 @@ PCP_SA_DIR=@pcp_sa_dir@ + + %if "@enable_selinux@" == "true" + %files selinux -f pcp-selinux-files.rpm ++%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/targeted/active/modules/200/pcp + %endif + + %if "@enable_qt@" == "true" +diff -Naurp pcp-5.3.7.orig/configure pcp-5.3.7/configure +--- pcp-5.3.7.orig/configure 2022-10-26 16:42:20.913360478 +1100 ++++ pcp-5.3.7/configure 2022-10-26 16:45:21.281094041 +1100 +@@ -1,9 +1,10 @@ + #! /bin/sh + # Guess values for system-dependent variables and create Makefiles. +-# Generated by GNU Autoconf 2.69. ++# Generated by GNU Autoconf 2.71. + # + # +-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. ++# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, ++# Inc. + # + # + # This configure script is free software; the Free Software Foundation +@@ -14,14 +15,16 @@ + + # Be more Bourne compatible + DUALCASE=1; export DUALCASE # for MKS sh +-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++as_nop=: ++if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 ++then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +-else ++else $as_nop + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( +@@ -31,46 +34,46 @@ esac + fi + + ++ ++# Reset variables that may have inherited troublesome values from ++# the environment. ++ ++# IFS needs to be set, to space, tab, and newline, in precisely that order. ++# (If _AS_PATH_WALK were called with IFS unset, it would have the ++# side effect of setting IFS to empty, thus disabling word splitting.) ++# Quoting is to prevent editors from complaining about space-tab. + as_nl=' + ' + export as_nl +-# Printing a long string crashes Solaris 7 /usr/bin/printf. +-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +-# Prefer a ksh shell builtin over an external printf program on Solaris, +-# but without wasting forks for bash or zsh. +-if test -z "$BASH_VERSION$ZSH_VERSION" \ +- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then +- as_echo='print -r --' +- as_echo_n='print -rn --' +-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then +- as_echo='printf %s\n' +- as_echo_n='printf %s' +-else +- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then +- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' +- as_echo_n='/usr/ucb/echo -n' +- else +- as_echo_body='eval expr "X$1" : "X\\(.*\\)"' +- as_echo_n_body='eval +- arg=$1; +- case $arg in #( +- *"$as_nl"*) +- expr "X$arg" : "X\\(.*\\)$as_nl"; +- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; +- esac; +- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" +- ' +- export as_echo_n_body +- as_echo_n='sh -c $as_echo_n_body as_echo' +- fi +- export as_echo_body +- as_echo='sh -c $as_echo_body as_echo' +-fi ++IFS=" "" $as_nl" ++ ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# Ensure predictable behavior from utilities with locale-dependent output. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# We cannot yet rely on "unset" to work, but we need these variables ++# to be unset--not just set to an empty or harmless value--now, to ++# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct ++# also avoids known problems related to "unset" and subshell syntax ++# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). ++for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH ++do eval test \${$as_var+y} \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++ ++# Ensure that fds 0, 1, and 2 are open. ++if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi ++if (exec 3>&2) ; then :; else exec 2>/dev/null; fi + + # The user is always right. +-if test "${PATH_SEPARATOR+set}" != set; then ++if ${PATH_SEPARATOR+false} :; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || +@@ -79,13 +82,6 @@ if test "${PATH_SEPARATOR+set}" != set; + fi + + +-# IFS +-# We need space, tab and new line, in precisely that order. Quoting is +-# there to prevent editors from complaining about space-tab. +-# (If _AS_PATH_WALK were called with IFS unset, it would disable word +-# splitting by setting IFS to empty value.) +-IFS=" "" $as_nl" +- + # Find who we are. Look in the path if we contain no directory separator. + as_myself= + case $0 in #(( +@@ -94,8 +90,12 @@ case $0 in #(( + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ test -r "$as_dir$0" && as_myself=$as_dir$0 && break + done + IFS=$as_save_IFS + +@@ -107,30 +107,10 @@ if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then +- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 + fi + +-# Unset variables that we do not need and which cause bugs (e.g. in +-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +-# suppresses any "Segmentation fault" message there. '((' could +-# trigger a bug in pdksh 5.2.14. +-for as_var in BASH_ENV ENV MAIL MAILPATH +-do eval test x\${$as_var+set} = xset \ +- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +-done +-PS1='$ ' +-PS2='> ' +-PS4='+ ' +- +-# NLS nuisances. +-LC_ALL=C +-export LC_ALL +-LANGUAGE=C +-export LANGUAGE +- +-# CDPATH. +-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + # Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. +@@ -152,20 +132,22 @@ esac + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} + # Admittedly, this is quite paranoid, since all the known shells bail + # out after a failed `exec'. +-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +-as_fn_exit 255 ++printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 ++exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} + if test "x$CONFIG_SHELL" = x; then +- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ++ as_bourne_compatible="as_nop=: ++if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 ++then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +-else ++else \$as_nop + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( +@@ -185,42 +167,53 @@ as_fn_success || { exitcode=1; echo as_f + as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } + as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } + as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ++if ( set x; as_fn_ret_success y && test x = \"\$1\" ) ++then : + +-else ++else \$as_nop + exitcode=1; echo positional parameters were not saved. + fi + test x\$exitcode = x0 || exit 1 ++blah=\$(echo \$(echo blah)) ++test x\"\$blah\" = xblah || exit 1 + test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + test \$(( 1 + 1 )) = 2 || exit 1" +- if (eval "$as_required") 2>/dev/null; then : ++ if (eval "$as_required") 2>/dev/null ++then : + as_have_required=yes +-else ++else $as_nop + as_have_required=no + fi +- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : ++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null ++then : + +-else ++else $as_nop + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + as_found=false + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. +- as_shell=$as_dir/$as_base ++ as_shell=$as_dir$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && +- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null ++then : + CONFIG_SHELL=$as_shell as_have_required=yes +- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null ++then : + break 2 + fi + fi +@@ -228,14 +221,21 @@ fi + esac + as_found=false + done +-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && +- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : +- CONFIG_SHELL=$SHELL as_have_required=yes +-fi; } + IFS=$as_save_IFS ++if $as_found ++then : + ++else $as_nop ++ if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ++ as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null ++then : ++ CONFIG_SHELL=$SHELL as_have_required=yes ++fi ++fi + +- if test "x$CONFIG_SHELL" != x; then : ++ ++ if test "x$CONFIG_SHELL" != x ++then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also +@@ -253,18 +253,19 @@ esac + exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} + # Admittedly, this is quite paranoid, since all the known shells bail + # out after a failed `exec'. +-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 + exit 255 + fi + +- if test x$as_have_required = xno; then : +- $as_echo "$0: This script requires a shell more modern than all" +- $as_echo "$0: the shells that I found on your system." +- if test x${ZSH_VERSION+set} = xset ; then +- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" +- $as_echo "$0: be upgraded to zsh 4.3.4 or later." ++ if test x$as_have_required = xno ++then : ++ printf "%s\n" "$0: This script requires a shell more modern than all" ++ printf "%s\n" "$0: the shells that I found on your system." ++ if test ${ZSH_VERSION+y} ; then ++ printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" ++ printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." + else +- $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, ++ printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, + $0: including any error possibly output before this + $0: message. Then install a modern shell, or manually run + $0: the script under such a shell if you do have one." +@@ -291,6 +292,7 @@ as_fn_unset () + } + as_unset=as_fn_unset + ++ + # as_fn_set_status STATUS + # ----------------------- + # Set $? to STATUS, without forking. +@@ -308,6 +310,14 @@ as_fn_exit () + as_fn_set_status $1 + exit $1 + } # as_fn_exit ++# as_fn_nop ++# --------- ++# Do nothing but, unlike ":", preserve the value of $?. ++as_fn_nop () ++{ ++ return $? ++} ++as_nop=as_fn_nop + + # as_fn_mkdir_p + # ------------- +@@ -322,7 +332,7 @@ as_fn_mkdir_p () + as_dirs= + while :; do + case $as_dir in #( +- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" +@@ -331,7 +341,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$as_dir" | ++printf "%s\n" X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q +@@ -370,12 +380,13 @@ as_fn_executable_p () + # advantage of any shell optimizations that allow amortized linear growth over + # repeated appends, instead of the typical quadratic growth present in naive + # implementations. +-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null ++then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +-else ++else $as_nop + as_fn_append () + { + eval $1=\$$1\$2 +@@ -387,18 +398,35 @@ fi # as_fn_append + # Perform arithmetic evaluation on the ARGs, and store the result in the + # global $as_val. Take advantage of shells that can avoid forks. The arguments + # must be portable across $(()) and expr. +-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null ++then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +-else ++else $as_nop + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } + fi # as_fn_arith + ++# as_fn_nop ++# --------- ++# Do nothing but, unlike ":", preserve the value of $?. ++as_fn_nop () ++{ ++ return $? ++} ++as_nop=as_fn_nop ++# as_fn_nop ++# --------- ++# Do nothing but, unlike ":", preserve the value of $?. ++as_fn_nop () ++{ ++ return $? ++} ++as_nop=as_fn_nop + + # as_fn_error STATUS ERROR [LINENO LOG_FD] + # ---------------------------------------- +@@ -410,9 +438,9 @@ as_fn_error () + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi +- $as_echo "$as_me: error: $2" >&2 ++ printf "%s\n" "$as_me: error: $2" >&2 + as_fn_exit $as_status + } # as_fn_error + +@@ -439,7 +467,7 @@ as_me=`$as_basename -- "$0" || + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X/"$0" | ++printf "%s\n" X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q +@@ -483,7 +511,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || +- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ++ { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall +@@ -497,6 +525,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits + exit + } + ++ ++# Determine whether it's possible to make 'echo' print without a newline. ++# These variables are no longer used directly by Autoconf, but are AC_SUBSTed ++# for compatibility with existing Makefiles. + ECHO_C= ECHO_N= ECHO_T= + case `echo -n x` in #((((( + -n*) +@@ -510,6 +542,13 @@ case `echo -n x` in #((((( + ECHO_N='-n';; + esac + ++# For backward compatibility with old third-party macros, we provide ++# the shell variables $as_echo and $as_echo_n. New code should use ++# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. ++as_echo='printf %s\n' ++as_echo_n='printf %s' ++ ++ + rm -f conf$$ conf$$.exe conf$$.file + if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +@@ -575,50 +614,47 @@ MFLAGS= + MAKEFLAGS= + + # Identity of this package. +-PACKAGE_NAME= +-PACKAGE_TARNAME= +-PACKAGE_VERSION= +-PACKAGE_STRING= +-PACKAGE_BUGREPORT= +-PACKAGE_URL= ++PACKAGE_NAME='' ++PACKAGE_TARNAME='' ++PACKAGE_VERSION='' ++PACKAGE_STRING='' ++PACKAGE_BUGREPORT='' ++PACKAGE_URL='' + + ac_unique_file="src/include/pcp/pmapi.h" + # Factoring default headers for most tests. + ac_includes_default="\ +-#include +-#ifdef HAVE_SYS_TYPES_H +-# include +-#endif +-#ifdef HAVE_SYS_STAT_H +-# include ++#include ++#ifdef HAVE_STDIO_H ++# include + #endif +-#ifdef STDC_HEADERS ++#ifdef HAVE_STDLIB_H + # include +-# include +-#else +-# ifdef HAVE_STDLIB_H +-# include +-# endif + #endif + #ifdef HAVE_STRING_H +-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +-# include +-# endif + # include + #endif +-#ifdef HAVE_STRINGS_H +-# include +-#endif + #ifdef HAVE_INTTYPES_H + # include + #endif + #ifdef HAVE_STDINT_H + # include + #endif ++#ifdef HAVE_STRINGS_H ++# include ++#endif ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_SYS_STAT_H ++# include ++#endif + #ifdef HAVE_UNISTD_H + # include + #endif" + ++ac_header_c_list= ++ac_func_c_list= + ac_subst_vars='PACKAGE_CONFIGURE + pcp_prefix + HAVE_CMOCKA +@@ -686,7 +722,6 @@ perl_install_base + perl_installdirs + pcp_lib32_dir + pcp_lib_dir +-pcp_selinuxadm_dir + pcp_pmdasadm_dir + pcp_pmdas_dir + pcp_pmnsadm_dir +@@ -695,6 +730,7 @@ pcp_var_dir + pcp_libadm_dir + pcp_binadm_dir + pcp_bashshare_dir ++pcp_selinux_dir + pcp_share_dir + pcp_pmloggercontrol_path + pcp_pmsnapcontrol_path +@@ -716,53 +752,7 @@ fmt_uint64 + fmt_int64 + fmt_pid + rdynamic_flag +-pcp_selinux_logging_watch_all_log_dirs_path +-pcp_selinux_files_mmap_all_files +-pcp_selinux_netlink_tcpdiag_socket_class +-pcp_selinux_netlink_generic_socket_class +-pcp_selinux_rawip_socket_class +-pcp_selinux_dir_class +-pcp_selinux_security_class +-pcp_selinux_sock_file_class +-pcp_selinux_netlink_audit_socket_class +-pcp_selinux_netlink_selinux_socket_class +-pcp_selinux_mdadm_conf +-pcp_selinux_kmod_exec +-pcp_selinux_faillog +-pcp_selinux_logrotate +-pcp_selinux_xauth_exec +-pcp_selinux_lastlog +-pcp_selinux_var_log +-pcp_selinux_initrc +-pcp_selinux_chkpwd_exec +-pcp_selinux_security +-pcp_selinux_sudo_exec +-pcp_selinux_initrc_tmp +-pcp_selinux_glusterd_log +-pcp_selinux_lockdown_class +-pcp_selinux_icmp_socket_class +-pcp_selinux_capability2_bpf +-pcp_selinux_capability2_syslog +-pcp_selinux_sbd_exec +-pcp_selinux_proc_security +-pcp_selinux_virt_var_run +-pcp_selinux_rpcbind_var_run +-pcp_selinux_container_var_run +-pcp_selinux_files_list_non_auth_dirs +-pcp_selinux_dma_device +-pcp_selinux_bpf +-pcp_selinux_numad +-pcp_selinux_unconfined +-pcp_selinux_hostname_exec_map +-pcp_selinux_tracefs +-pcp_selinux_unreserved_port +-pcp_selinux_docker_var_lib +-pcp_selinux_nsfs +-pcp_selinux_container_runtime +-pcp_selinux_cap_userns_ptrace +-pcp_selinux_dir + enable_selinux +-SEINFO + PMDA_POSTFIX + QSHAPE + PMDA_PODMAN +@@ -835,6 +825,7 @@ pcp_user_install + ld + LD + cpp ++CPP + make + MAKE + enable_qt3d +@@ -919,7 +910,6 @@ sanitizer + gperftools_LIBS + gperftools_CFLAGS + enable_probes +-CPP + DTRACE + EGREP + GREP +@@ -1061,7 +1051,6 @@ with_pmdabpftrace + with_pmdajson + with_pmdanutcracker + with_pmdasnmp +-with_selinux + with_make + with_tar + with_zip +@@ -1098,7 +1087,6 @@ CXXFLAGS + CCC + YACC + YFLAGS +-CPP + gperftools_CFLAGS + gperftools_LIBS + avahi_CFLAGS +@@ -1109,6 +1097,7 @@ libbpf_CFLAGS + libbpf_LIBS + libelf_CFLAGS + libelf_LIBS ++CPP + openssl_CFLAGS + openssl_LIBS + libuv_CFLAGS +@@ -1196,8 +1185,6 @@ do + *) ac_optarg=yes ;; + esac + +- # Accept the important Cygnus configure options, so we can diagnose typos. +- + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; +@@ -1238,9 +1225,9 @@ do + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- as_fn_error $? "invalid feature name: $ac_useropt" ++ as_fn_error $? "invalid feature name: \`$ac_useropt'" + ac_useropt_orig=$ac_useropt +- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" + "enable_$ac_useropt" +@@ -1264,9 +1251,9 @@ do + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- as_fn_error $? "invalid feature name: $ac_useropt" ++ as_fn_error $? "invalid feature name: \`$ac_useropt'" + ac_useropt_orig=$ac_useropt +- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" + "enable_$ac_useropt" +@@ -1477,9 +1464,9 @@ do + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- as_fn_error $? "invalid package name: $ac_useropt" ++ as_fn_error $? "invalid package name: \`$ac_useropt'" + ac_useropt_orig=$ac_useropt +- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" + "with_$ac_useropt" +@@ -1493,9 +1480,9 @@ do + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- as_fn_error $? "invalid package name: $ac_useropt" ++ as_fn_error $? "invalid package name: \`$ac_useropt'" + ac_useropt_orig=$ac_useropt +- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" + "with_$ac_useropt" +@@ -1539,9 +1526,9 @@ Try \`$0 --help' for more information" + + *) + # FIXME: should be removed in autoconf 3.0. +- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 ++ printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && +- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 ++ printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + +@@ -1557,7 +1544,7 @@ if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; +- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; ++ *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac + fi + +@@ -1621,7 +1608,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//* + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$as_myself" | ++printf "%s\n" X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q +@@ -1808,7 +1795,6 @@ Optional Packages: + --with-pmdajson enable JSON pmda (default is on) + --with-pmdanutcracker enable nutcracker pmda (default is on) + --with-pmdasnmp enable SNMP pmda (default is on) +- --with-selinux enable building of selinux package (default is on) + --with-make path to GNU compatible make(1) (default is empty for + auto discovery) + --with-tar path to GNU compatible tar(1) (default is empty for +@@ -1852,7 +1838,6 @@ Some influential environment variables: + YFLAGS The list of arguments that will be passed by default to $YACC. + This script will default YFLAGS to the empty string to avoid a + default value of `-d' given by some make applications. +- CPP C preprocessor + gperftools_CFLAGS + C compiler flags for gperftools, overriding pkg-config + gperftools_LIBS +@@ -1870,6 +1855,7 @@ Some influential environment variables: + libelf_CFLAGS + C compiler flags for libelf, overriding pkg-config + libelf_LIBS linker flags for libelf, overriding pkg-config ++ CPP C preprocessor + openssl_CFLAGS + C compiler flags for openssl, overriding pkg-config + openssl_LIBS +@@ -1921,9 +1907,9 @@ if test "$ac_init_help" = "recursive"; t + case "$ac_dir" in + .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) +- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. +- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; +@@ -1951,7 +1937,8 @@ esac + ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } +- # Check for guested configure. ++ # Check for configure.gnu first; this name is used for a wrapper for ++ # Metaconfig's "Configure" on case-insensitive file systems. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive +@@ -1959,7 +1946,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else +- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ++ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +@@ -1969,9 +1956,9 @@ test -n "$ac_init_help" && exit $ac_stat + if $ac_init_version; then + cat <<\_ACEOF + configure +-generated by GNU Autoconf 2.69 ++generated by GNU Autoconf 2.71 + +-Copyright (C) 2012 Free Software Foundation, Inc. ++Copyright (C) 2021 Free Software Foundation, Inc. + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + _ACEOF +@@ -1988,14 +1975,14 @@ fi + ac_fn_c_try_compile () + { + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- rm -f conftest.$ac_objext ++ rm -f conftest.$ac_objext conftest.beam + if { { ac_try="$ac_compile" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then +@@ -2003,14 +1990,15 @@ $as_echo "$ac_try_echo"; } >&5 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err +- } && test -s conftest.$ac_objext; then : ++ } && test -s conftest.$ac_objext ++then : + ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +@@ -2026,14 +2014,14 @@ fi + ac_fn_c_try_link () + { + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- rm -f conftest.$ac_objext conftest$ac_exeext ++ rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext + if { { ac_try="$ac_link" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then +@@ -2041,17 +2029,18 @@ $as_echo "$ac_try_echo"; } >&5 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext +- }; then : ++ } ++then : + ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +@@ -2072,14 +2061,14 @@ fi + ac_fn_cxx_try_compile () + { + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- rm -f conftest.$ac_objext ++ rm -f conftest.$ac_objext conftest.beam + if { { ac_try="$ac_compile" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then +@@ -2087,14 +2076,15 @@ $as_echo "$ac_try_echo"; } >&5 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err +- } && test -s conftest.$ac_objext; then : ++ } && test -s conftest.$ac_objext ++then : + ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +@@ -2104,6 +2094,39 @@ fi + + } # ac_fn_cxx_try_compile + ++# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ++# ------------------------------------------------------- ++# Tests whether HEADER exists and can be compiled using the include files in ++# INCLUDES, setting the cache variable VAR accordingly. ++ac_fn_c_check_header_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++printf %s "checking for $2... " >&6; } ++if eval test \${$3+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++#include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ eval "$3=yes" ++else $as_nop ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++printf "%s\n" "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} # ac_fn_c_check_header_compile ++ + # ac_fn_c_try_cpp LINENO + # ---------------------- + # Try to preprocess conftest.$ac_ext, and return whether this succeeded. +@@ -2116,7 +2139,7 @@ case "(($ac_try" in + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then +@@ -2124,14 +2147,15 @@ $as_echo "$ac_try_echo"; } >&5 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err +- }; then : ++ } ++then : + ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +@@ -2141,97 +2165,67 @@ fi + + } # ac_fn_c_try_cpp + +-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +-# ------------------------------------------------------- +-# Tests whether HEADER exists, giving a warning if it cannot be compiled using +-# the include files in INCLUDES and setting the cache variable VAR +-# accordingly. +-ac_fn_c_check_header_mongrel () ++# ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++# ------------------------------------------- ++# Tests whether TYPE exists after having included INCLUDES, setting cache ++# variable VAR accordingly. ++ac_fn_c_check_type () + { + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if eval \${$3+:} false; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if eval \${$3+:} false; then : +- $as_echo_n "(cached) " >&6 +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +-$as_echo_n "checking $2 usability... " >&6; } +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++printf %s "checking for $2... " >&6; } ++if eval test \${$3+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + $4 +-#include <$2> ++int ++main (void) ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_header_compiler=yes +-else +- ac_header_compiler=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +-$as_echo_n "checking $2 presence... " >&6; } +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++if ac_fn_c_try_compile "$LINENO" ++then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include <$2> ++$4 ++int ++main (void) ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : +- ac_header_preproc=yes +-else +- ac_header_preproc=no +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } ++if ac_fn_c_try_compile "$LINENO" ++then : + +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( +- yes:no: ) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +- ;; +- no:yes:* ) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +- ;; +-esac +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if eval \${$3+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- eval "$3=\$ac_header_compiler" ++else $as_nop ++ eval "$3=yes" + fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi ++eval ac_res=\$$3 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +-} # ac_fn_c_check_header_mongrel ++} # ac_fn_c_check_type + + # ac_fn_c_try_run LINENO + # ---------------------- +-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +-# that executables *can* be run. ++# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that ++# executables *can* be run. + ac_fn_c_try_run () + { + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +@@ -2241,25 +2235,26 @@ case "(($ac_try" in + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; }; then : ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; } ++then : + ac_retval=0 +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +- $as_echo "$as_me: failed program was:" >&5 ++else $as_nop ++ printf "%s\n" "$as_me: program exited with status $ac_status" >&5 ++ printf "%s\n" "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +@@ -2270,102 +2265,18 @@ fi + + } # ac_fn_c_try_run + +-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +-# ------------------------------------------------------- +-# Tests whether HEADER exists and can be compiled using the include files in +-# INCLUDES, setting the cache variable VAR accordingly. +-ac_fn_c_check_header_compile () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if eval \${$3+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-#include <$2> +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- eval "$3=yes" +-else +- eval "$3=no" +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno +- +-} # ac_fn_c_check_header_compile +- +-# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +-# ------------------------------------------- +-# Tests whether TYPE exists after having included INCLUDES, setting cache +-# variable VAR accordingly. +-ac_fn_c_check_type () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if eval \${$3+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- eval "$3=no" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-if (sizeof ($2)) +- return 0; +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-if (sizeof (($2))) +- return 0; +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- +-else +- eval "$3=yes" +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno +- +-} # ac_fn_c_check_type +- + # ac_fn_c_check_func LINENO FUNC VAR + # ---------------------------------- + # Tests whether FUNC exists, setting the cache variable VAR accordingly + ac_fn_c_check_func () + { + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if eval \${$3+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++printf %s "checking for $2... " >&6; } ++if eval test \${$3+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + /* Define $2 to an innocuous variant, in case declares $2. +@@ -2373,16 +2284,9 @@ else + #define $2 innocuous_$2 + + /* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $2 (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ +- +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif ++ which can conflict with char $2 (); below. */ + ++#include + #undef $2 + + /* Override any GCC internal prototype to avoid an error. +@@ -2400,35 +2304,56 @@ choke me + #endif + + int +-main () ++main (void) + { + return $2 (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + eval "$3=yes" +-else ++else $as_nop + eval "$3=no" + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + fi + eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + + } # ac_fn_c_check_func ++ac_configure_args_raw= ++for ac_arg ++do ++ case $ac_arg in ++ *\'*) ++ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append ac_configure_args_raw " '$ac_arg'" ++done ++ ++case $ac_configure_args_raw in ++ *$as_nl*) ++ ac_safe_unquote= ;; ++ *) ++ ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. ++ ac_unsafe_a="$ac_unsafe_z#~" ++ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" ++ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; ++esac ++ + cat >config.log <<_ACEOF + This file contains any messages produced by compilers while + running configure, to aid debugging if configure makes a mistake. + + It was created by $as_me, which was +-generated by GNU Autoconf 2.69. Invocation command line was ++generated by GNU Autoconf 2.71. Invocation command line was + +- $ $0 $@ ++ $ $0$ac_configure_args_raw + + _ACEOF + exec 5>>config.log +@@ -2461,8 +2386,12 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- $as_echo "PATH: $as_dir" ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ printf "%s\n" "PATH: $as_dir" + done + IFS=$as_save_IFS + +@@ -2497,7 +2426,7 @@ do + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) +- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; +@@ -2532,11 +2461,13 @@ done + # WARNING: Use '\'' to represent an apostrophe within the trap. + # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. + trap 'exit_status=$? ++ # Sanitize IFS. ++ IFS=" "" $as_nl" + # Save into config.log some information that might help in debugging. + { + echo + +- $as_echo "## ---------------- ## ++ printf "%s\n" "## ---------------- ## + ## Cache variables. ## + ## ---------------- ##" + echo +@@ -2547,8 +2478,8 @@ trap 'exit_status=$? + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( +- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( +@@ -2572,7 +2503,7 @@ $as_echo "$as_me: WARNING: cache variabl + ) + echo + +- $as_echo "## ----------------- ## ++ printf "%s\n" "## ----------------- ## + ## Output variables. ## + ## ----------------- ##" + echo +@@ -2580,14 +2511,14 @@ $as_echo "$as_me: WARNING: cache variabl + do + eval ac_val=\$$ac_var + case $ac_val in +- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac +- $as_echo "$ac_var='\''$ac_val'\''" ++ printf "%s\n" "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then +- $as_echo "## ------------------- ## ++ printf "%s\n" "## ------------------- ## + ## File substitutions. ## + ## ------------------- ##" + echo +@@ -2595,15 +2526,15 @@ $as_echo "$as_me: WARNING: cache variabl + do + eval ac_val=\$$ac_var + case $ac_val in +- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac +- $as_echo "$ac_var='\''$ac_val'\''" ++ printf "%s\n" "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then +- $as_echo "## ----------- ## ++ printf "%s\n" "## ----------- ## + ## confdefs.h. ## + ## ----------- ##" + echo +@@ -2611,8 +2542,8 @@ $as_echo "$as_me: WARNING: cache variabl + echo + fi + test "$ac_signal" != 0 && +- $as_echo "$as_me: caught signal $ac_signal" +- $as_echo "$as_me: exit $exit_status" ++ printf "%s\n" "$as_me: caught signal $ac_signal" ++ printf "%s\n" "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && +@@ -2626,63 +2557,48 @@ ac_signal=0 + # confdefs.h avoids OS command line length limits that DEFS can exceed. + rm -f -r conftest* confdefs.h + +-$as_echo "/* confdefs.h */" > confdefs.h ++printf "%s\n" "/* confdefs.h */" > confdefs.h + + # Predefined preprocessor variables. + +-cat >>confdefs.h <<_ACEOF +-#define PACKAGE_NAME "$PACKAGE_NAME" +-_ACEOF ++printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h + +-cat >>confdefs.h <<_ACEOF +-#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +-_ACEOF ++printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h + +-cat >>confdefs.h <<_ACEOF +-#define PACKAGE_VERSION "$PACKAGE_VERSION" +-_ACEOF ++printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h + +-cat >>confdefs.h <<_ACEOF +-#define PACKAGE_STRING "$PACKAGE_STRING" +-_ACEOF ++printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h + +-cat >>confdefs.h <<_ACEOF +-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +-_ACEOF ++printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h + +-cat >>confdefs.h <<_ACEOF +-#define PACKAGE_URL "$PACKAGE_URL" +-_ACEOF ++printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h + + + # Let the site file select an alternate cache file if it wants to. + # Prefer an explicitly selected file to automatically selected ones. +-ac_site_file1=NONE +-ac_site_file2=NONE + if test -n "$CONFIG_SITE"; then +- # We do not want a PATH search for config.site. +- case $CONFIG_SITE in #(( +- -*) ac_site_file1=./$CONFIG_SITE;; +- */*) ac_site_file1=$CONFIG_SITE;; +- *) ac_site_file1=./$CONFIG_SITE;; +- esac ++ ac_site_files="$CONFIG_SITE" + elif test "x$prefix" != xNONE; then +- ac_site_file1=$prefix/share/config.site +- ac_site_file2=$prefix/etc/config.site ++ ac_site_files="$prefix/share/config.site $prefix/etc/config.site" + else +- ac_site_file1=$ac_default_prefix/share/config.site +- ac_site_file2=$ac_default_prefix/etc/config.site ++ ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi +-for ac_site_file in "$ac_site_file1" "$ac_site_file2" ++ ++for ac_site_file in $ac_site_files + do +- test "x$ac_site_file" = xNONE && continue +- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +-$as_echo "$as_me: loading site script $ac_site_file" >&6;} ++ case $ac_site_file in #( ++ */*) : ++ ;; #( ++ *) : ++ ac_site_file=./$ac_site_file ;; ++esac ++ if test -f "$ac_site_file" && test -r "$ac_site_file"; then ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ++printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ +- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "failed to load site script $ac_site_file + See \`config.log' for more details" "$LINENO" 5; } + fi +@@ -2692,19 +2608,652 @@ if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +-$as_echo "$as_me: loading cache $cache_file" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ++printf "%s\n" "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +-$as_echo "$as_me: creating cache $cache_file" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ++printf "%s\n" "$as_me: creating cache $cache_file" >&6;} + >$cache_file + fi + ++# Test code for whether the C compiler supports C89 (global declarations) ++ac_c_conftest_c89_globals=' ++/* Does the compiler advertise C89 conformance? ++ Do not test the value of __STDC__, because some compilers set it to 0 ++ while being otherwise adequately conformant. */ ++#if !defined __STDC__ ++# error "Compiler does not advertise C89 conformance" ++#endif ++ ++#include ++#include ++struct stat; ++/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ ++struct buf { int x; }; ++struct buf * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not \xHH hex character constants. ++ These do not provoke an error unfortunately, instead are silently treated ++ as an "x". The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously \x00 != x always comes out true, for an ++ array size at least. It is necessary to write \x00 == 0 to get something ++ that is true only with -std. */ ++int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) '\''x'\'' ++int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), ++ int, int);' ++ ++# Test code for whether the C compiler supports C89 (body of main). ++ac_c_conftest_c89_main=' ++ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); ++' ++ ++# Test code for whether the C compiler supports C99 (global declarations) ++ac_c_conftest_c99_globals=' ++// Does the compiler advertise C99 conformance? ++#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L ++# error "Compiler does not advertise C99 conformance" ++#endif ++ ++#include ++extern int puts (const char *); ++extern int printf (const char *, ...); ++extern int dprintf (int, const char *, ...); ++extern void *malloc (size_t); ++ ++// Check varargs macros. These examples are taken from C99 6.10.3.5. ++// dprintf is used instead of fprintf to avoid needing to declare ++// FILE and stderr. ++#define debug(...) dprintf (2, __VA_ARGS__) ++#define showlist(...) puts (#__VA_ARGS__) ++#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) ++static void ++test_varargs_macros (void) ++{ ++ int x = 1234; ++ int y = 5678; ++ debug ("Flag"); ++ debug ("X = %d\n", x); ++ showlist (The first, second, and third items.); ++ report (x>y, "x is %d but y is %d", x, y); ++} ++ ++// Check long long types. ++#define BIG64 18446744073709551615ull ++#define BIG32 4294967295ul ++#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) ++#if !BIG_OK ++ #error "your preprocessor is broken" ++#endif ++#if BIG_OK ++#else ++ #error "your preprocessor is broken" ++#endif ++static long long int bignum = -9223372036854775807LL; ++static unsigned long long int ubignum = BIG64; ++ ++struct incomplete_array ++{ ++ int datasize; ++ double data[]; ++}; ++ ++struct named_init { ++ int number; ++ const wchar_t *name; ++ double average; ++}; ++ ++typedef const char *ccp; ++ ++static inline int ++test_restrict (ccp restrict text) ++{ ++ // See if C++-style comments work. ++ // Iterate through items via the restricted pointer. ++ // Also check for declarations in for loops. ++ for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) ++ continue; ++ return 0; ++} ++ ++// Check varargs and va_copy. ++static bool ++test_varargs (const char *format, ...) ++{ ++ va_list args; ++ va_start (args, format); ++ va_list args_copy; ++ va_copy (args_copy, args); ++ ++ const char *str = ""; ++ int number = 0; ++ float fnumber = 0; ++ ++ while (*format) ++ { ++ switch (*format++) ++ { ++ case '\''s'\'': // string ++ str = va_arg (args_copy, const char *); ++ break; ++ case '\''d'\'': // int ++ number = va_arg (args_copy, int); ++ break; ++ case '\''f'\'': // float ++ fnumber = va_arg (args_copy, double); ++ break; ++ default: ++ break; ++ } ++ } ++ va_end (args_copy); ++ va_end (args); ++ ++ return *str && number && fnumber; ++} ++' ++ ++# Test code for whether the C compiler supports C99 (body of main). ++ac_c_conftest_c99_main=' ++ // Check bool. ++ _Bool success = false; ++ success |= (argc != 0); ++ ++ // Check restrict. ++ if (test_restrict ("String literal") == 0) ++ success = true; ++ char *restrict newvar = "Another string"; ++ ++ // Check varargs. ++ success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); ++ test_varargs_macros (); ++ ++ // Check flexible array members. ++ struct incomplete_array *ia = ++ malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ++ ia->datasize = 10; ++ for (int i = 0; i < ia->datasize; ++i) ++ ia->data[i] = i * 1.234; ++ ++ // Check named initializers. ++ struct named_init ni = { ++ .number = 34, ++ .name = L"Test wide string", ++ .average = 543.34343, ++ }; ++ ++ ni.number = 58; ++ ++ int dynamic_array[ni.number]; ++ dynamic_array[0] = argv[0][0]; ++ dynamic_array[ni.number - 1] = 543; ++ ++ // work around unused variable warnings ++ ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' ++ || dynamic_array[ni.number - 1] != 543); ++' ++ ++# Test code for whether the C compiler supports C11 (global declarations) ++ac_c_conftest_c11_globals=' ++// Does the compiler advertise C11 conformance? ++#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L ++# error "Compiler does not advertise C11 conformance" ++#endif ++ ++// Check _Alignas. ++char _Alignas (double) aligned_as_double; ++char _Alignas (0) no_special_alignment; ++extern char aligned_as_int; ++char _Alignas (0) _Alignas (int) aligned_as_int; ++ ++// Check _Alignof. ++enum ++{ ++ int_alignment = _Alignof (int), ++ int_array_alignment = _Alignof (int[100]), ++ char_alignment = _Alignof (char) ++}; ++_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); ++ ++// Check _Noreturn. ++int _Noreturn does_not_return (void) { for (;;) continue; } ++ ++// Check _Static_assert. ++struct test_static_assert ++{ ++ int x; ++ _Static_assert (sizeof (int) <= sizeof (long int), ++ "_Static_assert does not work in struct"); ++ long int y; ++}; ++ ++// Check UTF-8 literals. ++#define u8 syntax error! ++char const utf8_literal[] = u8"happens to be ASCII" "another string"; ++ ++// Check duplicate typedefs. ++typedef long *long_ptr; ++typedef long int *long_ptr; ++typedef long_ptr long_ptr; ++ ++// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. ++struct anonymous ++{ ++ union { ++ struct { int i; int j; }; ++ struct { int k; long int l; } w; ++ }; ++ int m; ++} v1; ++' ++ ++# Test code for whether the C compiler supports C11 (body of main). ++ac_c_conftest_c11_main=' ++ _Static_assert ((offsetof (struct anonymous, i) ++ == offsetof (struct anonymous, w.k)), ++ "Anonymous union alignment botch"); ++ v1.i = 2; ++ v1.w.k = 5; ++ ok |= v1.i != 5; ++' ++ ++# Test code for whether the C compiler supports C11 (complete). ++ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} ++${ac_c_conftest_c99_globals} ++${ac_c_conftest_c11_globals} ++ ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_c_conftest_c89_main} ++ ${ac_c_conftest_c99_main} ++ ${ac_c_conftest_c11_main} ++ return ok; ++} ++" ++ ++# Test code for whether the C compiler supports C99 (complete). ++ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} ++${ac_c_conftest_c99_globals} ++ ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_c_conftest_c89_main} ++ ${ac_c_conftest_c99_main} ++ return ok; ++} ++" ++ ++# Test code for whether the C compiler supports C89 (complete). ++ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} ++ ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_c_conftest_c89_main} ++ return ok; ++} ++" ++ ++# Test code for whether the C++ compiler supports C++98 (global declarations) ++ac_cxx_conftest_cxx98_globals=' ++// Does the compiler advertise C++98 conformance? ++#if !defined __cplusplus || __cplusplus < 199711L ++# error "Compiler does not advertise C++98 conformance" ++#endif ++ ++// These inclusions are to reject old compilers that ++// lack the unsuffixed header files. ++#include ++#include ++ ++// and are *not* freestanding headers in C++98. ++extern void assert (int); ++namespace std { ++ extern int strcmp (const char *, const char *); ++} ++ ++// Namespaces, exceptions, and templates were all added after "C++ 2.0". ++using std::exception; ++using std::strcmp; ++ ++namespace { ++ ++void test_exception_syntax() ++{ ++ try { ++ throw "test"; ++ } catch (const char *s) { ++ // Extra parentheses suppress a warning when building autoconf itself, ++ // due to lint rules shared with more typical C programs. ++ assert (!(strcmp) (s, "test")); ++ } ++} ++ ++template struct test_template ++{ ++ T const val; ++ explicit test_template(T t) : val(t) {} ++ template T add(U u) { return static_cast(u) + val; } ++}; ++ ++} // anonymous namespace ++' ++ ++# Test code for whether the C++ compiler supports C++98 (body of main) ++ac_cxx_conftest_cxx98_main=' ++ assert (argc); ++ assert (! argv[0]); ++{ ++ test_exception_syntax (); ++ test_template tt (2.0); ++ assert (tt.add (4) == 6.0); ++ assert (true && !false); ++} ++' ++ ++# Test code for whether the C++ compiler supports C++11 (global declarations) ++ac_cxx_conftest_cxx11_globals=' ++// Does the compiler advertise C++ 2011 conformance? ++#if !defined __cplusplus || __cplusplus < 201103L ++# error "Compiler does not advertise C++11 conformance" ++#endif ++ ++namespace cxx11test ++{ ++ constexpr int get_val() { return 20; } ++ ++ struct testinit ++ { ++ int i; ++ double d; ++ }; ++ ++ class delegate ++ { ++ public: ++ delegate(int n) : n(n) {} ++ delegate(): delegate(2354) {} ++ ++ virtual int getval() { return this->n; }; ++ protected: ++ int n; ++ }; ++ ++ class overridden : public delegate ++ { ++ public: ++ overridden(int n): delegate(n) {} ++ virtual int getval() override final { return this->n * 2; } ++ }; ++ ++ class nocopy ++ { ++ public: ++ nocopy(int i): i(i) {} ++ nocopy() = default; ++ nocopy(const nocopy&) = delete; ++ nocopy & operator=(const nocopy&) = delete; ++ private: ++ int i; ++ }; ++ ++ // for testing lambda expressions ++ template Ret eval(Fn f, Ret v) ++ { ++ return f(v); ++ } ++ ++ // for testing variadic templates and trailing return types ++ template auto sum(V first) -> V ++ { ++ return first; ++ } ++ template auto sum(V first, Args... rest) -> V ++ { ++ return first + sum(rest...); ++ } ++} ++' ++ ++# Test code for whether the C++ compiler supports C++11 (body of main) ++ac_cxx_conftest_cxx11_main=' ++{ ++ // Test auto and decltype ++ auto a1 = 6538; ++ auto a2 = 48573953.4; ++ auto a3 = "String literal"; ++ ++ int total = 0; ++ for (auto i = a3; *i; ++i) { total += *i; } ++ ++ decltype(a2) a4 = 34895.034; ++} ++{ ++ // Test constexpr ++ short sa[cxx11test::get_val()] = { 0 }; ++} ++{ ++ // Test initializer lists ++ cxx11test::testinit il = { 4323, 435234.23544 }; ++} ++{ ++ // Test range-based for ++ int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, ++ 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; ++ for (auto &x : array) { x += 23; } ++} ++{ ++ // Test lambda expressions ++ using cxx11test::eval; ++ assert (eval ([](int x) { return x*2; }, 21) == 42); ++ double d = 2.0; ++ assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); ++ assert (d == 5.0); ++ assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); ++ assert (d == 5.0); ++} ++{ ++ // Test use of variadic templates ++ using cxx11test::sum; ++ auto a = sum(1); ++ auto b = sum(1, 2); ++ auto c = sum(1.0, 2.0, 3.0); ++} ++{ ++ // Test constructor delegation ++ cxx11test::delegate d1; ++ cxx11test::delegate d2(); ++ cxx11test::delegate d3(45); ++} ++{ ++ // Test override and final ++ cxx11test::overridden o1(55464); ++} ++{ ++ // Test nullptr ++ char *c = nullptr; ++} ++{ ++ // Test template brackets ++ test_template<::test_template> v(test_template(12)); ++} ++{ ++ // Unicode literals ++ char const *utf8 = u8"UTF-8 string \u2500"; ++ char16_t const *utf16 = u"UTF-8 string \u2500"; ++ char32_t const *utf32 = U"UTF-32 string \u2500"; ++} ++' ++ ++# Test code for whether the C compiler supports C++11 (complete). ++ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} ++${ac_cxx_conftest_cxx11_globals} ++ ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_cxx_conftest_cxx98_main} ++ ${ac_cxx_conftest_cxx11_main} ++ return ok; ++} ++" ++ ++# Test code for whether the C compiler supports C++98 (complete). ++ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} ++int ++main (int argc, char **argv) ++{ ++ int ok = 0; ++ ${ac_cxx_conftest_cxx98_main} ++ return ok; ++} ++" ++ ++as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" ++as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" ++as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" ++as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" ++as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" ++as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" ++as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" ++as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" ++as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" ++as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" ++as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF" ++ ++# Auxiliary files required by this configure script. ++ac_aux_files="config.guess config.sub" ++ ++# Locations in which to look for auxiliary files. ++ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." ++ ++# Search for a directory containing all of the required auxiliary files, ++# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. ++# If we don't find one directory that contains all the files we need, ++# we report the set of missing files from the *first* directory in ++# $ac_aux_dir_candidates and give up. ++ac_missing_aux_files="" ++ac_first_candidate=: ++printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false ++for as_dir in $ac_aux_dir_candidates ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ as_found=: ++ ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 ++ ac_aux_dir_found=yes ++ ac_install_sh= ++ for ac_aux in $ac_aux_files ++ do ++ # As a special case, if "install-sh" is required, that requirement ++ # can be satisfied by any of "install-sh", "install.sh", or "shtool", ++ # and $ac_install_sh is set appropriately for whichever one is found. ++ if test x"$ac_aux" = x"install-sh" ++ then ++ if test -f "${as_dir}install-sh"; then ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 ++ ac_install_sh="${as_dir}install-sh -c" ++ elif test -f "${as_dir}install.sh"; then ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 ++ ac_install_sh="${as_dir}install.sh -c" ++ elif test -f "${as_dir}shtool"; then ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 ++ ac_install_sh="${as_dir}shtool install -c" ++ else ++ ac_aux_dir_found=no ++ if $ac_first_candidate; then ++ ac_missing_aux_files="${ac_missing_aux_files} install-sh" ++ else ++ break ++ fi ++ fi ++ else ++ if test -f "${as_dir}${ac_aux}"; then ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 ++ else ++ ac_aux_dir_found=no ++ if $ac_first_candidate; then ++ ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" ++ else ++ break ++ fi ++ fi ++ fi ++ done ++ if test "$ac_aux_dir_found" = yes; then ++ ac_aux_dir="$as_dir" ++ break ++ fi ++ ac_first_candidate=false ++ ++ as_found=false ++done ++IFS=$as_save_IFS ++if $as_found ++then : ++ ++else $as_nop ++ as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ++fi ++ ++ ++# These three variables are undocumented and unsupported, ++# and are intended to be withdrawn in a future Autoconf release. ++# They can cause serious problems if a builder's source tree is in a directory ++# whose full name contains unusual characters. ++if test -f "${ac_aux_dir}config.guess"; then ++ ac_config_guess="$SHELL ${ac_aux_dir}config.guess" ++fi ++if test -f "${ac_aux_dir}config.sub"; then ++ ac_config_sub="$SHELL ${ac_aux_dir}config.sub" ++fi ++if test -f "$ac_aux_dir/configure"; then ++ ac_configure="$SHELL ${ac_aux_dir}configure" ++fi ++ + # Check that the precious variables saved in the cache have kept the same + # value. + ac_cache_corrupted=false +@@ -2715,12 +3264,12 @@ for ac_var in $ac_precious_vars; do + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ++printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) +@@ -2729,24 +3278,24 @@ $as_echo "$as_me: error: \`$ac_var' was + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ++printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ++printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ++printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in +- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in +@@ -2756,11 +3305,12 @@ $as_echo "$as_me: current value: \`$ac + fi + done + if $ac_cache_corrupted; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} +- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ++printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} ++ as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' ++ and start over" "$LINENO" 5 + fi + ## -------------------- ## + ## Main body of script. ## +@@ -2777,79 +3327,88 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + # Check whether --with-64bit was given. +-if test "${with_64bit+set}" = set; then : ++if test ${with_64bit+y} ++then : + withval=$with_64bit; use_64bit=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-64bit=$withval" + fi + + + + # Check whether --with-optimization was given. +-if test "${with_optimization+set}" = set; then : ++if test ${with_optimization+y} ++then : + withval=$with_optimization; use_optimization=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-optimization=$withval" +-else ++else $as_nop + use_optimizaton=yes + fi + + + + # Check whether --with-gperftools was given. +-if test "${with_gperftools+set}" = set; then : ++if test ${with_gperftools+y} ++then : + withval=$with_gperftools; use_gperftools=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-gperftools=$withval" +-else ++else $as_nop + use_gperftools=no + fi + + + + # Check whether --with-sanitizer was given. +-if test "${with_sanitizer+set}" = set; then : ++if test ${with_sanitizer+y} ++then : + withval=$with_sanitizer; use_sanitizer=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-sanitizer=$withval" +-else ++else $as_nop + use_sanitizer=no + fi + + + + # Check whether --with-threads was given. +-if test "${with_threads+set}" = set; then : ++if test ${with_threads+y} ++then : + withval=$with_threads; do_threads=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-threads=$withval" +-else ++else $as_nop + do_threads=check + fi + + + + # Check whether --with-secure-sockets was given. +-if test "${with_secure_sockets+set}" = set; then : ++if test ${with_secure_sockets+y} ++then : + withval=$with_secure_sockets; do_secure=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-secure-sockets=$withval" +-else ++else $as_nop + do_secure=check + fi + + + + # Check whether --with-static-probes was given. +-if test "${with_static_probes+set}" = set; then : ++if test ${with_static_probes+y} ++then : + withval=$with_static_probes; do_probes=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-static-probes=$withval" +-else ++else $as_nop + do_probes=check + fi + + + + # Check whether --with-infiniband was given. +-if test "${with_infiniband+set}" = set; then : ++if test ${with_infiniband+y} ++then : + withval=$with_infiniband; do_infiniband=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-infiniband=$withval" +-else ++else $as_nop + do_infiniband=check + fi + + + + # Check whether --with-user was given. +-if test "${with_user+set}" = set; then : ++if test ${with_user+y} ++then : + withval=$with_user; pcp_user=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-user-account=$withval" +-else ++else $as_nop + pcp_user=pcp + fi + +@@ -2857,9 +3416,10 @@ fi + + + # Check whether --with-group was given. +-if test "${with_group+set}" = set; then : ++if test ${with_group+y} ++then : + withval=$with_group; pcp_group=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-group-account=$withval" +-else ++else $as_nop + pcp_group=pcp + fi + +@@ -2867,280 +3427,271 @@ fi + + + # Check whether --with-discovery was given. +-if test "${with_discovery+set}" = set; then : ++if test ${with_discovery+y} ++then : + withval=$with_discovery; do_discovery=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-discovery=$withval" +-else ++else $as_nop + do_discovery=check + fi + + + + # Check whether --with-systemd was given. +-if test "${with_systemd+set}" = set; then : ++if test ${with_systemd+y} ++then : + withval=$with_systemd; do_systemd=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-systemd=$withval" +-else ++else $as_nop + do_systemd=check + fi + + + + # Check whether --with-qt was given. +-if test "${with_qt+set}" = set; then : ++if test ${with_qt+y} ++then : + withval=$with_qt; do_qt=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-qt=$withval" +-else ++else $as_nop + do_qt=check + fi + + + + # Check whether --with-qt3d was given. +-if test "${with_qt3d+set}" = set; then : ++if test ${with_qt3d+y} ++then : + withval=$with_qt3d; do_qt3d=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-qt3d=$withval" +-else ++else $as_nop + do_qt3d=check + fi + + + + # Check whether --with-perl was given. +-if test "${with_perl+set}" = set; then : ++if test ${with_perl+y} ++then : + withval=$with_perl; do_perl=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-perl=$withval" +-else ++else $as_nop + do_perl=check + fi + + + + # Check whether --with-python was given. +-if test "${with_python+set}" = set; then : ++if test ${with_python+y} ++then : + withval=$with_python; do_python=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-python=$withval" +-else ++else $as_nop + do_python=check + fi + + + + # Check whether --with-python3 was given. +-if test "${with_python3+set}" = set; then : ++if test ${with_python3+y} ++then : + withval=$with_python3; do_python3=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-python3=$withval" +-else ++else $as_nop + do_python3=check + fi + + + + # Check whether --with-dstat-symlink was given. +-if test "${with_dstat_symlink+set}" = set; then : ++if test ${with_dstat_symlink+y} ++then : + withval=$with_dstat_symlink; do_dstat_symlink=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-dstat-symlink=$withval" +-else ++else $as_nop + do_dstat_symlink=check + fi + + + + # Check whether --with-perfevent was given. +-if test "${with_perfevent+set}" = set; then : ++if test ${with_perfevent+y} ++then : + withval=$with_perfevent; do_perfevent=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-perfevent=$withval" +-else ++else $as_nop + do_perfevent=check + fi + + + + # Check whether --with-pmdastatsd was given. +-if test "${with_pmdastatsd+set}" = set; then : ++if test ${with_pmdastatsd+y} ++then : + withval=$with_pmdastatsd; do_pmdastatsd=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdastatsd=$withval" +-else ++else $as_nop + do_pmdastatsd=check + fi + + + + # Check whether --with-pmdapodman was given. +-if test "${with_pmdapodman+set}" = set; then : ++if test ${with_pmdapodman+y} ++then : + withval=$with_pmdapodman; do_pmdapodman=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdapodman=$withval" +-else ++else $as_nop + do_pmdapodman=check + fi + + + + # Check whether --with-pmdabcc was given. +-if test "${with_pmdabcc+set}" = set; then : ++if test ${with_pmdabcc+y} ++then : + withval=$with_pmdabcc; do_pmdabcc=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabcc=$withval" +-else ++else $as_nop + do_pmdabcc=check + fi + + + + # Check whether --with-pmdabpf was given. +-if test "${with_pmdabpf+set}" = set; then : ++if test ${with_pmdabpf+y} ++then : + withval=$with_pmdabpf; do_pmdabpf=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf=$withval" +-else ++else $as_nop + do_pmdabpf=check + fi + + + + # Check whether --with-pmdabpf-clang was given. +-if test "${with_pmdabpf_clang+set}" = set; then : ++if test ${with_pmdabpf_clang+y} ++then : + withval=$with_pmdabpf_clang; PMDABPF_CLANG=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-clang=$withval" +-else ++else $as_nop + PMDABPF_CLANG='' + fi + + + + # Check whether --with-pmdabpf-llvm-strip was given. +-if test "${with_pmdabpf_llvm_strip+set}" = set; then : ++if test ${with_pmdabpf_llvm_strip+y} ++then : + withval=$with_pmdabpf_llvm_strip; PMDABPF_LLVM_STRIP=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-llvm-strip=$withval" +-else ++else $as_nop + PMDABPF_LLVM_STRIP='' + fi + + + + # Check whether --with-pmdabpf-bpftool was given. +-if test "${with_pmdabpf_bpftool+set}" = set; then : ++if test ${with_pmdabpf_bpftool+y} ++then : + withval=$with_pmdabpf_bpftool; PMDABPF_BPFTOOL=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-bpftool=$withval" +-else ++else $as_nop + PMDABPF_BPFTOOL='' + fi + + + + # Check whether --with-pmdabpftrace was given. +-if test "${with_pmdabpftrace+set}" = set; then : ++if test ${with_pmdabpftrace+y} ++then : + withval=$with_pmdabpftrace; do_pmdabpftrace=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpftrace=$withval" +-else ++else $as_nop + do_pmdabpftrace=check + fi + + + + # Check whether --with-pmdajson was given. +-if test "${with_pmdajson+set}" = set; then : ++if test ${with_pmdajson+y} ++then : + withval=$with_pmdajson; do_pmdajson=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdajson=$withval" +-else ++else $as_nop + do_pmdajson=check + fi + + + + # Check whether --with-pmdanutcracker was given. +-if test "${with_pmdanutcracker+set}" = set; then : ++if test ${with_pmdanutcracker+y} ++then : + withval=$with_pmdanutcracker; do_pmdanutcracker=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdanutcracker=$withval" +-else ++else $as_nop + do_pmdanutcracker=check + fi + + + + # Check whether --with-pmdasnmp was given. +-if test "${with_pmdasnmp+set}" = set; then : ++if test ${with_pmdasnmp+y} ++then : + withval=$with_pmdasnmp; do_pmdasnmp=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdasnmp=$withval" +-else ++else $as_nop + do_pmdasnmp=check + fi + + + +-# Check whether --with-selinux was given. +-if test "${with_selinux+set}" = set; then : +- withval=$with_selinux; do_selinux=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-selinux=$withval" +-else +- do_selinux=check +-fi +- +- + + # Check whether --with-make was given. +-if test "${with_make+set}" = set; then : ++if test ${with_make+y} ++then : + withval=$with_make; MAKE=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-make=$withval" +-else ++else $as_nop + MAKE='' + fi + + + + # Check whether --with-tar was given. +-if test "${with_tar+set}" = set; then : ++if test ${with_tar+y} ++then : + withval=$with_tar; TAR=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-tar=$withval" +-else ++else $as_nop + TAR='' + fi + + + + # Check whether --with-zip was given. +-if test "${with_zip+set}" = set; then : ++if test ${with_zip+y} ++then : + withval=$with_zip; ZIP=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-zip=$withval" +-else ++else $as_nop + ZIP='' + fi + + + + # Check whether --with-transparent-decompression was given. +-if test "${with_transparent_decompression+set}" = set; then : ++if test ${with_transparent_decompression+y} ++then : + withval=$with_transparent_decompression; do_decompression=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-transparent-decompression=$withval" +-else ++else $as_nop + do_decompression=check + fi + + + + +-ac_aux_dir= +-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do +- if test -f "$ac_dir/install-sh"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/install-sh -c" +- break +- elif test -f "$ac_dir/install.sh"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/install.sh -c" +- break +- elif test -f "$ac_dir/shtool"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/shtool install -c" +- break +- fi +-done +-if test -z "$ac_aux_dir"; then +- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +-fi + +-# These three variables are undocumented and unsupported, +-# and are intended to be withdrawn in a future Autoconf release. +-# They can cause serious problems if a builder's source tree is in a directory +-# whose full name contains unusual characters. +-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +-# Make sure we can run config.sub. +-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || +- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +-$as_echo_n "checking build system type... " >&6; } +-if ${ac_cv_build+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ # Make sure we can run config.sub. ++$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || ++ as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 ++printf %s "checking build system type... " >&6; } ++if test ${ac_cv_build+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_build_alias=$build_alias + test "x$ac_build_alias" = x && +- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` ++ ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` + test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || +- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 ++ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || ++ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +-$as_echo "$ac_cv_build" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 ++printf "%s\n" "$ac_cv_build" >&6; } + case $ac_cv_build in + *-*-*) ;; + *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +@@ -3159,21 +3710,22 @@ IFS=$ac_save_IFS + case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +-$as_echo_n "checking host system type... " >&6; } +-if ${ac_cv_host+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 ++printf %s "checking host system type... " >&6; } ++if test ${ac_cv_host+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build + else +- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || +- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 ++ ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || ++ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +-$as_echo "$ac_cv_host" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 ++printf "%s\n" "$ac_cv_host" >&6; } + case $ac_cv_host in + *-*-*) ;; + *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; +@@ -3192,21 +3744,22 @@ IFS=$ac_save_IFS + case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 +-$as_echo_n "checking target system type... " >&6; } +-if ${ac_cv_target+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 ++printf %s "checking target system type... " >&6; } ++if test ${ac_cv_target+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test "x$target_alias" = x; then + ac_cv_target=$ac_cv_host + else +- ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || +- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 ++ ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` || ++ as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5 + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 +-$as_echo "$ac_cv_target" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 ++printf "%s\n" "$ac_cv_target" >&6; } + case $ac_cv_target in + *-*-*) ;; + *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; +@@ -3273,7 +3826,7 @@ target_distro=$target_os + if test $target_os = linux + then + +-$as_echo "#define IS_LINUX 1" >>confdefs.h ++printf "%s\n" "#define IS_LINUX 1" >>confdefs.h + + test -f /etc/SuSE-release && target_distro=suse + target_distro_variant='' +@@ -3295,7 +3848,7 @@ $as_echo "#define IS_LINUX 1" >>confdefs + elif test $target_os = darwin + then + +-$as_echo "#define IS_DARWIN 1" >>confdefs.h ++printf "%s\n" "#define IS_DARWIN 1" >>confdefs.h + + target_distro=macosx + version=`sw_vers -productVersion` +@@ -3319,7 +3872,7 @@ $as_echo "#define IS_DARWIN 1" >>confdef + elif test $target_os = mingw + then + +-$as_echo "#define IS_MINGW 1" >>confdefs.h ++printf "%s\n" "#define IS_MINGW 1" >>confdefs.h + + CFLAGS="-fno-strict-aliasing" + pcp_platform_paths='' +@@ -3327,7 +3880,7 @@ $as_echo "#define IS_MINGW 1" >>confdefs + elif test $target_os = solaris + then + +-$as_echo "#define IS_SOLARIS 1" >>confdefs.h ++printf "%s\n" "#define IS_SOLARIS 1" >>confdefs.h + + export CFLAGS_IF_GCC="-fPIC -fno-strict-aliasing -D_XPG4_2 -D__EXTENSIONS__" + export CFLAGS_IF_SUNCC="-fPIC -xalias_level=any -D_XPG4_2 -D__EXTENSIONS__" +@@ -3336,7 +3889,7 @@ $as_echo "#define IS_SOLARIS 1" >>confde + elif test $target_os = aix + then + +-$as_echo "#define IS_AIX 1" >>confdefs.h ++printf "%s\n" "#define IS_AIX 1" >>confdefs.h + + export CFLAGS="-qcpluscmt" + pcp_platform_paths='/usr/bin/X11:/usr/local/bin' +@@ -3344,7 +3897,7 @@ $as_echo "#define IS_AIX 1" >>confdefs.h + elif test $target_os = freebsd || test $target_os = kfreebsd + then + +-$as_echo "#define IS_FREEBSD 1" >>confdefs.h ++printf "%s\n" "#define IS_FREEBSD 1" >>confdefs.h + + test -f /etc/debian_version && target_distro=debian + export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" +@@ -3360,7 +3913,7 @@ $as_echo "#define IS_FREEBSD 1" >>confde + elif test $target_os = gnu + then + +-$as_echo "#define IS_GNU 1" >>confdefs.h ++printf "%s\n" "#define IS_GNU 1" >>confdefs.h + + test -f /etc/debian_version && target_distro=debian + export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" +@@ -3370,7 +3923,7 @@ elif test $target_os = netbsdelf -o $tar + then + target_os=netbsd + +-$as_echo "#define IS_NETBSD 1" >>confdefs.h ++printf "%s\n" "#define IS_NETBSD 1" >>confdefs.h + + export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE -D_NETBSD_SOURCE" + pcp_platform_paths='/usr/pkg/bin' +@@ -3379,7 +3932,7 @@ elif test $target_os = openbsd + then + target_os=openbsd + +-$as_echo "#define IS_OPENBSD 1" >>confdefs.h ++printf "%s\n" "#define IS_OPENBSD 1" >>confdefs.h + + export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" + pcp_platform_paths='/usr/local/bin' +@@ -3418,11 +3971,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. + set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_PKG_CONFIG+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKG_CONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. +@@ -3432,11 +3986,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -3448,11 +4006,11 @@ esac + fi + PKG_CONFIG=$ac_cv_path_PKG_CONFIG + if test -n "$PKG_CONFIG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +-$as_echo "$PKG_CONFIG" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 ++printf "%s\n" "$PKG_CONFIG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -3461,11 +4019,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; the + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. + set dummy pkg-config; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. +@@ -3475,11 +4034,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -3491,11 +4054,11 @@ esac + fi + ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG + if test -n "$ac_pt_PKG_CONFIG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +-$as_echo "$ac_pt_PKG_CONFIG" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 ++printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + if test "x$ac_pt_PKG_CONFIG" = x; then +@@ -3503,8 +4066,8 @@ fi + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac + PKG_CONFIG=$ac_pt_PKG_CONFIG +@@ -3516,14 +4079,14 @@ fi + fi + if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 ++printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + PKG_CONFIG="" + fi + fi +@@ -3532,6 +4095,15 @@ if test -z "$PKG_CONFIG"; then + fi + + cflags_abi= ++ ++ ++ ++ ++ ++ ++ ++ ++ + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -3542,11 +4114,12 @@ if test -n "$ac_tool_prefix"; then + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_CC+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_CC+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. + else +@@ -3554,11 +4127,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -3569,11 +4146,11 @@ fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +-$as_echo "$CC" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++printf "%s\n" "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -3586,11 +4163,12 @@ if test -z "$CC"; then + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_ac_ct_CC+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_ac_ct_CC+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. + else +@@ -3598,11 +4176,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -3613,11 +4195,11 @@ fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +-$as_echo "$ac_ct_CC" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++printf "%s\n" "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -3629,8 +4211,8 @@ done + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac + CC=$ac_ct_CC +@@ -3638,23 +4220,23 @@ esac + fi + + +-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "no acceptable C compiler found in \$PATH + See \`config.log' for more details" "$LINENO" 5; } + + # Provide some information about the compiler. +-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 + set X $ac_compile + ac_compiler=$2 +-for ac_option in --version -v -V -qversion; do ++for ac_option in --version -v -V -qversion -version; do + { { ac_try="$ac_compiler $ac_option >&5" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then +@@ -3664,7 +4246,7 @@ $as_echo "$ac_try_echo"; } >&5 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + done + +@@ -3672,7 +4254,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; +@@ -3684,9 +4266,9 @@ ac_clean_files="$ac_clean_files a.out a. + # Try to create an executable without -o first, disregard a.out. + # It will help us diagnose broken compilers, and finding out an intuition + # of exeext. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +-$as_echo_n "checking whether the C compiler works... " >&6; } +-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 ++printf %s "checking whether the C compiler works... " >&6; } ++ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + + # The possible output files: + ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" +@@ -3707,11 +4289,12 @@ case "(($ac_try" in + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then : ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. + # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' + # in a Makefile. We should not override ac_cv_exeext if it was cached, +@@ -3728,7 +4311,7 @@ do + # certainly right. + break;; + *.* ) +- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ++ if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi +@@ -3744,44 +4327,46 @@ do + done + test "$ac_cv_exeext" = no && ac_cv_exeext= + +-else ++else $as_nop + ac_file='' + fi +-if test -z "$ac_file"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-$as_echo "$as_me: failed program was:" >&5 ++if test -z "$ac_file" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++printf "%s\n" "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error 77 "C compiler cannot create executables + See \`config.log' for more details" "$LINENO" 5; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +-$as_echo_n "checking for C compiler default output file name... " >&6; } +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +-$as_echo "$ac_file" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 ++printf %s "checking for C compiler default output file name... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ++printf "%s\n" "$ac_file" >&6; } + ac_exeext=$ac_cv_exeext + + rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out + ac_clean_files=$ac_clean_files_save +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +-$as_echo_n "checking for suffix of executables... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ++printf %s "checking for suffix of executables... " >&6; } + if { { ac_try="$ac_link" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then : ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) + # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will + # work properly (i.e., refer to `conftest.exe'), while it won't with +@@ -3795,15 +4380,15 @@ for ac_file in conftest.exe conftest con + * ) break;; + esac + done +-else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++else $as_nop ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "cannot compute suffix of executables: cannot compile and link + See \`config.log' for more details" "$LINENO" 5; } + fi + rm -f conftest conftest$ac_cv_exeext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +-$as_echo "$ac_cv_exeext" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ++printf "%s\n" "$ac_cv_exeext" >&6; } + + rm -f conftest.$ac_ext + EXEEXT=$ac_cv_exeext +@@ -3812,7 +4397,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; +@@ -3824,8 +4409,8 @@ _ACEOF + ac_clean_files="$ac_clean_files conftest.out" + # Check that the compiler produces executables we can run. If not, either + # the compiler is broken, or we cross compile. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +-$as_echo_n "checking whether we are cross compiling... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ++printf %s "checking whether we are cross compiling... " >&6; } + if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" + case "(($ac_try" in +@@ -3833,10 +4418,10 @@ case "(($ac_try" in + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in +@@ -3844,39 +4429,40 @@ $as_echo "$ac_try_echo"; } >&5 + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot run C compiled programs. ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error 77 "cannot run C compiled programs. + If you meant to cross compile, use \`--host'. + See \`config.log' for more details" "$LINENO" 5; } + fi + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +-$as_echo "$cross_compiling" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ++printf "%s\n" "$cross_compiling" >&6; } + + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out + ac_clean_files=$ac_clean_files_save +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +-$as_echo_n "checking for suffix of object files... " >&6; } +-if ${ac_cv_objext+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ++printf %s "checking for suffix of object files... " >&6; } ++if test ${ac_cv_objext+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; +@@ -3890,11 +4476,12 @@ case "(($ac_try" in + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then : ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in +@@ -3903,31 +4490,32 @@ $as_echo "$ac_try_echo"; } >&5 + break;; + esac + done +-else +- $as_echo "$as_me: failed program was:" >&5 ++else $as_nop ++ printf "%s\n" "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "cannot compute suffix of object files: cannot compile + See \`config.log' for more details" "$LINENO" 5; } + fi + rm -f conftest.$ac_cv_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +-$as_echo "$ac_cv_objext" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ++printf "%s\n" "$ac_cv_objext" >&6; } + OBJEXT=$ac_cv_objext + ac_objext=$OBJEXT +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +-if ${ac_cv_c_compiler_gnu+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 ++printf %s "checking whether the compiler supports GNU C... " >&6; } ++if test ${ac_cv_c_compiler_gnu+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + #ifndef __GNUC__ + choke me +@@ -3937,29 +4525,33 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_compiler_gnu=yes +-else ++else $as_nop + ac_compiler_gnu=no + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_cv_c_compiler_gnu=$ac_compiler_gnu + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +-$as_echo "$ac_cv_c_compiler_gnu" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ + if test $ac_compiler_gnu = yes; then + GCC=yes + else + GCC= + fi +-ac_test_CFLAGS=${CFLAGS+set} ++ac_test_CFLAGS=${CFLAGS+y} + ac_save_CFLAGS=$CFLAGS +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +-$as_echo_n "checking whether $CC accepts -g... " >&6; } +-if ${ac_cv_prog_cc_g+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++printf %s "checking whether $CC accepts -g... " >&6; } ++if test ${ac_cv_prog_cc_g+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no +@@ -3968,57 +4560,60 @@ else + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_prog_cc_g=yes +-else ++else $as_nop + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-else ++else $as_nop + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_prog_cc_g=yes + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +-$as_echo "$ac_cv_prog_cc_g" >&6; } +-if test "$ac_test_CFLAGS" = set; then ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++printf "%s\n" "$ac_cv_prog_cc_g" >&6; } ++if test $ac_test_CFLAGS; then + CFLAGS=$ac_save_CFLAGS + elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then +@@ -4033,94 +4628,144 @@ else + CFLAGS= + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +-if ${ac_cv_prog_cc_c89+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- ac_cv_prog_cc_c89=no ++ac_prog_cc_stdc=no ++if test x$ac_prog_cc_stdc = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 ++printf %s "checking for $CC option to enable C11 features... " >&6; } ++if test ${ac_cv_prog_cc_c11+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cc_c11=no + ac_save_CC=$CC + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#include +-#include +-struct stat; +-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +-struct buf { int x; }; +-FILE * (*rcsopen) (struct buf *, struct stat *, int); +-static char *e (p, i) +- char **p; +- int i; +-{ +- return p[i]; +-} +-static char *f (char * (*g) (char **, int), char **p, ...) +-{ +- char *s; +- va_list v; +- va_start (v,p); +- s = g (p, va_arg (v,int)); +- va_end (v); +- return s; +-} +- +-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has +- function prototypes and stuff, but not '\xHH' hex character constants. +- These don't provoke an error unfortunately, instead are silently treated +- as 'x'. The following induces an error, until -std is added to get +- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an +- array size at least. It's necessary to write '\x00'==0 to get something +- that's true only with -std. */ +-int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++$ac_c_conftest_c11_program ++_ACEOF ++for ac_arg in '' -std=gnu11 ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_prog_cc_c11=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cc_c11" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++fi + +-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters +- inside strings and character constants. */ +-#define FOO(x) 'x' +-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++if test "x$ac_cv_prog_cc_c11" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cc_c11" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 ++printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } ++ CC="$CC $ac_cv_prog_cc_c11" ++fi ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 ++ ac_prog_cc_stdc=c11 ++fi ++fi ++if test x$ac_prog_cc_stdc = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 ++printf %s "checking for $CC option to enable C99 features... " >&6; } ++if test ${ac_cv_prog_cc_c99+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cc_c99=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_c_conftest_c99_program ++_ACEOF ++for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_cv_prog_cc_c99=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cc_c99" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++fi + +-int test (int i, double x); +-struct s1 {int (*f) (int a);}; +-struct s2 {int (*f) (double a);}; +-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +-int argc; +-char **argv; +-int +-main () +-{ +-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; +- ; +- return 0; +-} ++if test "x$ac_cv_prog_cc_c99" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cc_c99" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 ++printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } ++ CC="$CC $ac_cv_prog_cc_c99" ++fi ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 ++ ac_prog_cc_stdc=c99 ++fi ++fi ++if test x$ac_prog_cc_stdc = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 ++printf %s "checking for $CC option to enable C89 features... " >&6; } ++if test ${ac_cv_prog_cc_c89+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_c_conftest_c89_program + _ACEOF +-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ +- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" + do + CC="$ac_save_CC $ac_arg" +- if ac_fn_c_try_compile "$LINENO"; then : ++ if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_prog_cc_c89=$ac_arg + fi +-rm -f core conftest.err conftest.$ac_objext ++rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c89" != "xno" && break + done + rm -f conftest.$ac_ext + CC=$ac_save_CC +- + fi +-# AC_CACHE_VAL +-case "x$ac_cv_prog_cc_c89" in +- x) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +-$as_echo "none needed" >&6; } ;; +- xno) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +-$as_echo "unsupported" >&6; } ;; +- *) +- CC="$CC $ac_cv_prog_cc_c89" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +-esac +-if test "x$ac_cv_prog_cc_c89" != xno; then : + ++if test "x$ac_cv_prog_cc_c89" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cc_c89" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } ++ CC="$CC $ac_cv_prog_cc_c89" ++fi ++ ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 ++ ac_prog_cc_stdc=c89 ++fi + fi + + ac_ext=c +@@ -4133,11 +4778,12 @@ if test $target_os = solaris + then + # Extract the first word of "$CC", so it can be a program name with args. + set dummy $CC; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_CCPATH+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_CCPATH+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $CCPATH in + [\\/]* | ?:[\\/]*) + ac_cv_path_CCPATH="$CCPATH" # Let the user override the test with a path. +@@ -4147,11 +4793,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_CCPATH="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_CCPATH="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4164,11 +4814,11 @@ esac + fi + CCPATH=$ac_cv_path_CCPATH + if test -n "$CCPATH"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCPATH" >&5 +-$as_echo "$CCPATH" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CCPATH" >&5 ++printf "%s\n" "$CCPATH" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4183,20 +4833,20 @@ fi + then + : + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64 bit Solaris host" >&5 +-$as_echo_n "checking for 64 bit Solaris host... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64 bit Solaris host" >&5 ++printf %s "checking for 64 bit Solaris host... " >&6; } + case `isainfo -k` + in + amd64|sparcv9) + cflags_abi=-m64 + CFLAGS="$CFLAGS -m64" + LDFLAGS="$LDFLAGS -m64" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + ;; + *) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + ;; + esac + fi +@@ -4221,12 +4871,14 @@ then + : + else + # Check whether --enable-ssp was given. +-if test "${enable_ssp+set}" = set; then : ++if test ${enable_ssp+y} ++then : + enableval=$enable_ssp; + fi + + +-if test "x$cc_is_gcc" = xyes -a "x$enable_ssp" != xno -a "x$use_optimization" = xyes ; then : ++if test "x$cc_is_gcc" = xyes -a "x$enable_ssp" != xno -a "x$use_optimization" = xyes ++then : + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -O -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" +@@ -4234,25 +4886,27 @@ if test "x$cc_is_gcc" = xyes -a "x$enabl + /* end confdefs.h. */ + int something (); + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5 +-$as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5 ++printf "%s\n" "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;} + PCFLAGS="$PCFLAGS -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" +-else ++else $as_nop + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5 +-$as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5 ++printf "%s\n" "$as_me: Compiler does not support -fstack-protector-all et al." >&6;} + CFLAGS="$save_CFLAGS" + + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi + fi + if ! echo "$CFLAGS" | grep -- -Wshadow >/dev/null + then +- if test "x$cc_is_gcc" = xyes ; then : ++ if test "x$cc_is_gcc" = xyes ++then : + PCFLAGS="$PCFLAGS -Wshadow" + fi + fi +@@ -4260,11 +4914,13 @@ fi + + + # Check whether --enable-pie was given. +-if test "${enable_pie+set}" = set; then : ++if test ${enable_pie+y} ++then : + enableval=$enable_pie; + fi + +-if test "x$cc_is_gcc" = xyes -a "x$enable_pie" != xno; then : ++if test "x$cc_is_gcc" = xyes -a "x$enable_pie" != xno ++then : + + PIECFLAGS='-fPIE' + PIELDFLAGS='-pie -Wl,-z,relro -Wl,-z,now' +@@ -4276,20 +4932,21 @@ if test "x$cc_is_gcc" = xyes -a "x$enabl + /* end confdefs.h. */ + void main () {} + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5 +-$as_echo "$as_me: Compiling with gcc pie et al." >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5 ++printf "%s\n" "$as_me: Compiling with gcc pie et al." >&6;} + +-else ++else $as_nop + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5 +-$as_echo "$as_me: Compiler does not support -pie et al." >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5 ++printf "%s\n" "$as_me: Compiler does not support -pie et al." >&6;} + PIECFLAGS="" + PIELDFLAGS="" + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + LDFLAGS="$save_LDFLAGS" +@@ -4299,11 +4956,13 @@ fi + + + # Check whether --enable-visibility was given. +-if test "${enable_visibility+set}" = set; then : ++if test ${enable_visibility+y} ++then : + enableval=$enable_visibility; + fi + +-if test "x$cc_is_gcc" = xyes -a "$enable_visibility" != no; then : ++if test "x$cc_is_gcc" = xyes -a "$enable_visibility" != no ++then : + + INVISIBILITY="-fvisibility=hidden" + save_CFLAGS="$CFLAGS" +@@ -4312,27 +4971,29 @@ if test "x$cc_is_gcc" = xyes -a "$enable + /* end confdefs.h. */ + int visible () { return 0; } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&5 +-$as_echo "$as_me: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&5 ++printf "%s\n" "$as_me: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&6;} + +-else ++else $as_nop + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fvisibility." >&5 +-$as_echo "$as_me: Compiler does not support -fvisibility." >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiler does not support -fvisibility." >&5 ++printf "%s\n" "$as_me: Compiler does not support -fvisibility." >&6;} + INVISIBILITY="" + + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS="$save_CFLAGS" + + fi + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --std=c99 support" >&5 +-$as_echo_n "checking for --std=c99 support... " >&6; } +-if test "x$cc_is_gcc" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --std=c99 support" >&5 ++printf %s "checking for --std=c99 support... " >&6; } ++if test "x$cc_is_gcc" = xyes ++then : + + C99_CFLAGS="--std=c99" + save_CFLAGS="$CFLAGS" +@@ -4341,27 +5002,34 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + for (int i=0; i<1; i++) + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++if ac_fn_c_try_compile "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + C99_CFLAGS="" + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS="$save_CFLAGS" + + fi + + ++ ++ ++ ++ ++ ++ + ac_ext=cpp + ac_cpp='$CXXCPP $CPPFLAGS' + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -4376,11 +5044,12 @@ if test -z "$CXX"; then + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_CXX+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_CXX+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. + else +@@ -4388,11 +5057,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4403,11 +5076,11 @@ fi + fi + CXX=$ac_cv_prog_CXX + if test -n "$CXX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +-$as_echo "$CXX" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ++printf "%s\n" "$CXX" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4420,11 +5093,12 @@ if test -z "$CXX"; then + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_ac_ct_CXX+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_ac_ct_CXX+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. + else +@@ -4432,11 +5106,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CXX="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4447,11 +5125,11 @@ fi + fi + ac_ct_CXX=$ac_cv_prog_ac_ct_CXX + if test -n "$ac_ct_CXX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +-$as_echo "$ac_ct_CXX" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ++printf "%s\n" "$ac_ct_CXX" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4463,8 +5141,8 @@ done + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac + CXX=$ac_ct_CXX +@@ -4474,7 +5152,7 @@ fi + fi + fi + # Provide some information about the compiler. +-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 ++printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 + set X $ac_compile + ac_compiler=$2 + for ac_option in --version -v -V -qversion; do +@@ -4484,7 +5162,7 @@ case "(($ac_try" in + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then +@@ -4494,20 +5172,21 @@ $as_echo "$ac_try_echo"; } >&5 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + done + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 +-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } +-if ${ac_cv_cxx_compiler_gnu+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 ++printf %s "checking whether the compiler supports GNU C++... " >&6; } ++if test ${ac_cv_cxx_compiler_gnu+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + #ifndef __GNUC__ + choke me +@@ -4517,29 +5196,33 @@ main () + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++if ac_fn_cxx_try_compile "$LINENO" ++then : + ac_compiler_gnu=yes +-else ++else $as_nop + ac_compiler_gnu=no + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 ++printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++ + if test $ac_compiler_gnu = yes; then + GXX=yes + else + GXX= + fi +-ac_test_CXXFLAGS=${CXXFLAGS+set} ++ac_test_CXXFLAGS=${CXXFLAGS+y} + ac_save_CXXFLAGS=$CXXFLAGS +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +-$as_echo_n "checking whether $CXX accepts -g... " >&6; } +-if ${ac_cv_prog_cxx_g+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 ++printf %s "checking whether $CXX accepts -g... " >&6; } ++if test ${ac_cv_prog_cxx_g+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no +@@ -4548,57 +5231,60 @@ else + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++if ac_fn_cxx_try_compile "$LINENO" ++then : + ac_cv_prog_cxx_g=yes +-else ++else $as_nop + CXXFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++if ac_fn_cxx_try_compile "$LINENO" ++then : + +-else ++else $as_nop + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++if ac_fn_cxx_try_compile "$LINENO" ++then : + ac_cv_prog_cxx_g=yes + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +-$as_echo "$ac_cv_prog_cxx_g" >&6; } +-if test "$ac_test_CXXFLAGS" = set; then ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 ++printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } ++if test $ac_test_CXXFLAGS; then + CXXFLAGS=$ac_save_CXXFLAGS + elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then +@@ -4613,6 +5299,100 @@ else + CXXFLAGS= + fi + fi ++ac_prog_cxx_stdcxx=no ++if test x$ac_prog_cxx_stdcxx = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 ++printf %s "checking for $CXX option to enable C++11 features... " >&6; } ++if test ${ac_cv_prog_cxx_11+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cxx_11=no ++ac_save_CXX=$CXX ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_cxx_conftest_cxx11_program ++_ACEOF ++for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA ++do ++ CXX="$ac_save_CXX $ac_arg" ++ if ac_fn_cxx_try_compile "$LINENO" ++then : ++ ac_cv_prog_cxx_cxx11=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cxx_cxx11" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CXX=$ac_save_CXX ++fi ++ ++if test "x$ac_cv_prog_cxx_cxx11" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cxx_cxx11" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 ++printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } ++ CXX="$CXX $ac_cv_prog_cxx_cxx11" ++fi ++ ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 ++ ac_prog_cxx_stdcxx=cxx11 ++fi ++fi ++if test x$ac_prog_cxx_stdcxx = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 ++printf %s "checking for $CXX option to enable C++98 features... " >&6; } ++if test ${ac_cv_prog_cxx_98+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_cv_prog_cxx_98=no ++ac_save_CXX=$CXX ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_cxx_conftest_cxx98_program ++_ACEOF ++for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA ++do ++ CXX="$ac_save_CXX $ac_arg" ++ if ac_fn_cxx_try_compile "$LINENO" ++then : ++ ac_cv_prog_cxx_cxx98=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam ++ test "x$ac_cv_prog_cxx_cxx98" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CXX=$ac_save_CXX ++fi ++ ++if test "x$ac_cv_prog_cxx_cxx98" = xno ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++printf "%s\n" "unsupported" >&6; } ++else $as_nop ++ if test "x$ac_cv_prog_cxx_cxx98" = x ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++printf "%s\n" "none needed" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 ++printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } ++ CXX="$CXX $ac_cv_prog_cxx_cxx98" ++fi ++ ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 ++ ac_prog_cxx_stdcxx=cxx98 ++fi ++fi ++ + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -4621,8 +5401,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cxx=$CXX + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C++ compiler" >&5 +-$as_echo_n "checking for working C++ compiler... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working C++ compiler" >&5 ++printf %s "checking for working C++ compiler... " >&6; } + ac_ext=cpp + ac_cpp='$CXXCPP $CPPFLAGS' + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -4634,22 +5414,23 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + const char gday[] = "G'day, world\n"; + ; + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++if ac_fn_cxx_try_compile "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + cxx="" + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -4658,9 +5439,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + # Check whether --enable-shared was given. +-if test "${enable_shared+set}" = set; then : ++if test ${enable_shared+y} ++then : + enableval=$enable_shared; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --disable-shared=$withval" +-else ++else $as_nop + enable_shared=false + fi + +@@ -4671,11 +5453,12 @@ test -z "$AWK" && for ac_prog in gawk aw + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_AWK+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_AWK+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $AWK in + [\\/]* | ?:[\\/]*) + ac_cv_path_AWK="$AWK" # Let the user override the test with a path. +@@ -4685,11 +5468,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_AWK="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4701,11 +5488,11 @@ esac + fi + AWK=$ac_cv_path_AWK + if test -n "$AWK"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +-$as_echo "$AWK" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 ++printf "%s\n" "$AWK" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4727,11 +5514,12 @@ esac + if test -z "$SED"; then + # Extract the first word of "sed", so it can be a program name with args. + set dummy sed; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_SED+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_SED+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $SED in + [\\/]* | ?:[\\/]*) + ac_cv_path_SED="$SED" # Let the user override the test with a path. +@@ -4741,11 +5529,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_SED="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4758,11 +5550,11 @@ esac + fi + SED=$ac_cv_path_SED + if test -n "$SED"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 +-$as_echo "$SED" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 ++printf "%s\n" "$SED" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4776,11 +5568,12 @@ sed=$SED + if test -z "$ECHO"; then + # Extract the first word of "echo", so it can be a program name with args. + set dummy echo; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_ECHO+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ECHO+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $ECHO in + [\\/]* | ?:[\\/]*) + ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. +@@ -4790,11 +5583,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ECHO="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4807,11 +5604,11 @@ esac + fi + ECHO=$ac_cv_path_ECHO + if test -n "$ECHO"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5 +-$as_echo "$ECHO" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5 ++printf "%s\n" "$ECHO" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4825,11 +5622,12 @@ echo=$ECHO + if test -z "$FIND"; then + # Extract the first word of "find", so it can be a program name with args. + set dummy find; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_FIND+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_FIND+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $FIND in + [\\/]* | ?:[\\/]*) + ac_cv_path_FIND="$FIND" # Let the user override the test with a path. +@@ -4839,11 +5637,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_FIND="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4856,11 +5658,11 @@ esac + fi + FIND=$ac_cv_path_FIND + if test -n "$FIND"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5 +-$as_echo "$FIND" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5 ++printf "%s\n" "$FIND" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4874,11 +5676,12 @@ find=$FIND + if test -z "$WHICH"; then + # Extract the first word of "which", so it can be a program name with args. + set dummy which; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_WHICH+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_WHICH+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $WHICH in + [\\/]* | ?:[\\/]*) + ac_cv_path_WHICH="$WHICH" # Let the user override the test with a path. +@@ -4888,11 +5691,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_WHICH="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_WHICH="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4905,11 +5712,11 @@ esac + fi + WHICH=$ac_cv_path_WHICH + if test -n "$WHICH"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WHICH" >&5 +-$as_echo "$WHICH" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WHICH" >&5 ++printf "%s\n" "$WHICH" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4925,11 +5732,12 @@ if test -z "$AR"; then + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_AR+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_AR+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $AR in + [\\/]* | ?:[\\/]*) + ac_cv_path_AR="$AR" # Let the user override the test with a path. +@@ -4939,11 +5747,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_AR="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -4955,11 +5767,11 @@ esac + fi + AR=$ac_cv_path_AR + if test -n "$AR"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +-$as_echo "$AR" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 ++printf "%s\n" "$AR" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -4978,11 +5790,12 @@ for ac_prog in flex lex + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_LEX+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_LEX+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$LEX"; then + ac_cv_prog_LEX="$LEX" # Let the user override the test. + else +@@ -4990,11 +5803,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_LEX="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -5005,11 +5822,11 @@ fi + fi + LEX=$ac_cv_prog_LEX + if test -n "$LEX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 +-$as_echo "$LEX" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 ++printf "%s\n" "$LEX" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -5017,15 +5834,26 @@ fi + done + test -n "$LEX" || LEX=":" + +-if test "x$LEX" != "x:"; then +- cat >conftest.l <<_ACEOF ++ if test "x$LEX" != "x:"; then ++ cat >conftest.l <<_ACEOF ++%{ ++#ifdef __cplusplus ++extern "C" ++#endif ++int yywrap(void); ++%} + %% + a { ECHO; } + b { REJECT; } + c { yymore (); } + d { yyless (1); } + e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ +- yyless ((input () != 0)); } ++#ifdef __cplusplus ++ yyless ((yyinput () != 0)); ++#else ++ yyless ((input () != 0)); ++#endif ++ } + f { unput (yytext[0]); } + . { BEGIN INITIAL; } + %% +@@ -5033,101 +5861,205 @@ f { unput (yytext[0]); } + extern char *yytext; + #endif + int ++yywrap (void) ++{ ++ return 1; ++} ++int + main (void) + { +- return ! yylex () + ! yywrap (); ++ return ! yylex (); + } + _ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5 ++printf %s "checking for lex output file root... " >&6; } ++if test ${ac_cv_prog_lex_root+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ac_cv_prog_lex_root=unknown + { { ac_try="$LEX conftest.l" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$LEX conftest.l") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 +-$as_echo_n "checking lex output file root... " >&6; } +-if ${ac_cv_prog_lex_root+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && + if test -f lex.yy.c; then + ac_cv_prog_lex_root=lex.yy + elif test -f lexyy.c; then + ac_cv_prog_lex_root=lexyy +-else +- as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 +-$as_echo "$ac_cv_prog_lex_root" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 ++printf "%s\n" "$ac_cv_prog_lex_root" >&6; } ++if test "$ac_cv_prog_lex_root" = unknown ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5 ++printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;} ++ LEX=: LEXLIB= ++fi + LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root + +-if test -z "${LEXLIB+set}"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 +-$as_echo_n "checking lex library... " >&6; } +-if ${ac_cv_lib_lex+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++if test ${LEXLIB+y} ++then : ++ ++else $as_nop ++ ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5 ++printf %s "checking for lex library... " >&6; } ++if test ${ac_cv_lib_lex+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ++ ac_save_LIBS="$LIBS" ++ ac_found=false ++ for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do ++ case $ac_cv_lib_lex in #( ++ 'none needed') : ++ ;; #( ++ 'not found') : ++ break ;; #( ++ *) : ++ LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #( ++ *) : ++ ;; ++esac + +- ac_save_LIBS=$LIBS +- ac_cv_lib_lex='none needed' +- for ac_lib in '' -lfl -ll; do +- LIBS="$ac_lib $ac_save_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + `cat $LEX_OUTPUT_ROOT.c` + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_lib_lex=$ac_lib ++if ac_fn_c_try_link "$LINENO" ++then : ++ ac_found=: + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +- test "$ac_cv_lib_lex" != 'none needed' && break ++ if $ac_found; then ++ break ++ fi + done +- LIBS=$ac_save_LIBS ++ LIBS="$ac_save_LIBS" + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 +-$as_echo "$ac_cv_lib_lex" >&6; } +- test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 ++printf "%s\n" "$ac_cv_lib_lex" >&6; } ++ if test "$ac_cv_lib_lex" = 'not found' ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5 ++printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;} ++ LEX=: LEXLIB= ++elif test "$ac_cv_lib_lex" = 'none needed' ++then : ++ LEXLIB='' ++else $as_nop ++ LEXLIB=$ac_cv_lib_lex ++fi ++ ac_save_LIBS="$LIBS" ++ LIBS= ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing yywrap" >&5 ++printf %s "checking for library containing yywrap... " >&6; } ++if test ${ac_cv_search_yywrap+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++char yywrap (); ++int ++main (void) ++{ ++return yywrap (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' fl l ++do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO" ++then : ++ ac_cv_search_yywrap=$ac_res + fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext ++ if test ${ac_cv_search_yywrap+y} ++then : ++ break ++fi ++done ++if test ${ac_cv_search_yywrap+y} ++then : + ++else $as_nop ++ ac_cv_search_yywrap=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yywrap" >&5 ++printf "%s\n" "$ac_cv_search_yywrap" >&6; } ++ac_res=$ac_cv_search_yywrap ++if test "$ac_res" != no ++then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ LEXLIB="$LIBS" ++fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 +-$as_echo_n "checking whether yytext is a pointer... " >&6; } +-if ${ac_cv_prog_lex_yytext_pointer+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ LIBS="$ac_save_LIBS" ++fi ++ ++ ++if test "$LEX" != : ++then : ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 ++printf %s "checking whether yytext is a pointer... " >&6; } ++if test ${ac_cv_prog_lex_yytext_pointer+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + # POSIX says lex can declare yytext either as a pointer or an array; the + # default is implementation-dependent. Figure out which it is, since + # not all implementations provide the %pointer and %array declarations. + ac_cv_prog_lex_yytext_pointer=no +-ac_save_LIBS=$LIBS +-LIBS="$LEXLIB $ac_save_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #define YYTEXT_POINTER 1 + `cat $LEX_OUTPUT_ROOT.c` + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_prog_lex_yytext_pointer=yes + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_save_LIBS ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 +-$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 ++printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; } + if test $ac_cv_prog_lex_yytext_pointer = yes; then + +-$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h ++printf "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h ++ ++fi + + fi + rm -f conftest.l $LEX_OUTPUT_ROOT.c +@@ -5145,11 +6077,12 @@ for ac_prog in 'bison -y' byacc + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_YACC+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_YACC+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. + else +@@ -5157,11 +6090,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_YACC="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -5172,11 +6109,11 @@ fi + fi + YACC=$ac_cv_prog_YACC + if test -n "$YACC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 +-$as_echo "$YACC" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 ++printf "%s\n" "$YACC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -5200,11 +6137,12 @@ for ac_prog in ragel + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_RAGEL+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_RAGEL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$RAGEL"; then + ac_cv_prog_RAGEL="$RAGEL" # Let the user override the test. + else +@@ -5212,11 +6150,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_RAGEL="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -5227,11 +6169,11 @@ fi + fi + RAGEL=$ac_cv_prog_RAGEL + if test -n "$RAGEL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAGEL" >&5 +-$as_echo "$RAGEL" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAGEL" >&5 ++printf "%s\n" "$RAGEL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -5240,8 +6182,8 @@ done + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where unix-like sort(1) lives" >&5 +-$as_echo_n "checking where unix-like sort(1) lives... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where unix-like sort(1) lives" >&5 ++printf %s "checking where unix-like sort(1) lives... " >&6; } + if test $target_os = mingw; then + for d in /bin /usr/bin /mingw/bin /mingw/usr/bin + do +@@ -5253,8 +6195,8 @@ if test $target_os = mingw; then + else + sort=`$which sort` + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sort" >&5 +-$as_echo "$sort" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $sort" >&5 ++printf "%s\n" "$sort" >&6; } + $sort -n &5 +-$as_echo_n "checking if echo uses -n or backslash-c to suppress newlines... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if echo uses -n or backslash-c to suppress newlines" >&5 ++printf %s "checking if echo uses -n or backslash-c to suppress newlines... " >&6; } + if ( $echo "testing\c"; $echo 1,2,3 ) | grep c >/dev/null + then + if ( $echo -n testing; $echo 1,2,3 ) | sed s/-n/xn/ | grep xn >/dev/null + then + echo_n= echo_c= +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither?" >&5 +-$as_echo "neither?" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither?" >&5 ++printf "%s\n" "neither?" >&6; } + else + echo_n=-n echo_c= +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: -n" >&5 +-$as_echo " -n" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: -n" >&5 ++printf "%s\n" " -n" >&6; } + fi + else + echo_n= echo_c='\\c' +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: backslash-c" >&5 +-$as_echo "backslash-c" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: backslash-c" >&5 ++printf "%s\n" "backslash-c" >&6; } + fi + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +-$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +-if ${ac_cv_path_GREP+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ++printf %s "checking for grep that handles long lines and -e... " >&6; } ++if test ${ac_cv_path_GREP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST +@@ -5299,10 +6242,15 @@ else + for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in grep ggrep; do ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_prog in grep ggrep ++ do + for ac_exec_ext in '' $ac_executable_extensions; do +- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" ++ ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue + # Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +@@ -5311,13 +6259,13 @@ case `"$ac_path_GREP" --version 2>&1` in + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; + *) + ac_count=0 +- $as_echo_n 0123456789 >"conftest.in" ++ printf %s 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" +- $as_echo 'GREP' >> "conftest.nl" ++ printf "%s\n" 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val +@@ -5345,16 +6293,17 @@ else + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +-$as_echo "$ac_cv_path_GREP" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ++printf "%s\n" "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +-$as_echo_n "checking for egrep... " >&6; } +-if ${ac_cv_path_EGREP+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++printf %s "checking for egrep... " >&6; } ++if test ${ac_cv_path_EGREP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else +@@ -5365,10 +6314,15 @@ else + for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_prog in egrep; do ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_prog in egrep ++ do + for ac_exec_ext in '' $ac_executable_extensions; do +- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" ++ ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue + # Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +@@ -5377,13 +6331,13 @@ case `"$ac_path_EGREP" --version 2>&1` i + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; + *) + ac_count=0 +- $as_echo_n 0123456789 >"conftest.in" ++ printf %s 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" +- $as_echo 'EGREP' >> "conftest.nl" ++ printf "%s\n" 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val +@@ -5412,8 +6366,8 @@ fi + + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +-$as_echo "$ac_cv_path_EGREP" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++printf "%s\n" "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +@@ -5425,11 +6379,12 @@ then + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_DTRACE+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_DTRACE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$DTRACE"; then + ac_cv_prog_DTRACE="$DTRACE" # Let the user override the test. + else +@@ -5437,11 +6392,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_DTRACE="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -5452,11 +6411,11 @@ fi + fi + DTRACE=$ac_cv_prog_DTRACE + if test -n "$DTRACE"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5 +-$as_echo "$DTRACE" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5 ++printf "%s\n" "$DTRACE" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -5471,280 +6430,41 @@ done + fi + enable_probes=false + fi +- ac_ext=c +-ac_cpp='$CPP $CPPFLAGS' +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +-ac_compiler_gnu=$ac_cv_c_compiler_gnu +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +-$as_echo_n "checking how to run the C preprocessor... " >&6; } +-# On Suns, sometimes $CPP names a directory. +-if test -n "$CPP" && test -d "$CPP"; then +- CPP= +-fi +-if test -z "$CPP"; then +- if ${ac_cv_prog_CPP+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- # Double quotes because CPP needs to be expanded +- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" +- do +- ac_preproc_ok=false +-for ac_c_preproc_warn_flag in '' yes ++ ac_header= ac_cache= ++for ac_item in $ac_header_c_list + do +- # Use a header file that comes with gcc, so configuring glibc +- # with a fresh cross-compiler works. +- # Prefer to if __STDC__ is defined, since +- # exists even on freestanding compilers. +- # On the NeXT, cc -E runs the code through the compiler's parser, +- # not just through cpp. "Syntax error" is here to catch this case. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- Syntax error +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : +- +-else +- # Broken: fails on valid input. +-continue +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- +- # OK, works on sane cases. Now check whether nonexistent headers +- # can be detected and how. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : +- # Broken: success on invalid input. +-continue +-else +- # Passes both tests. +-ac_preproc_ok=: +-break +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- +-done +-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +-rm -f conftest.i conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then : +- break +-fi +- +- done +- ac_cv_prog_CPP=$CPP +- +-fi +- CPP=$ac_cv_prog_CPP +-else +- ac_cv_prog_CPP=$CPP +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +-$as_echo "$CPP" >&6; } +-ac_preproc_ok=false +-for ac_c_preproc_warn_flag in '' yes +-do +- # Use a header file that comes with gcc, so configuring glibc +- # with a fresh cross-compiler works. +- # Prefer to if __STDC__ is defined, since +- # exists even on freestanding compilers. +- # On the NeXT, cc -E runs the code through the compiler's parser, +- # not just through cpp. "Syntax error" is here to catch this case. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif +- Syntax error +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : +- +-else +- # Broken: fails on valid input. +-continue +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- +- # OK, works on sane cases. Now check whether nonexistent headers +- # can be detected and how. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : +- # Broken: success on invalid input. +-continue +-else +- # Passes both tests. +-ac_preproc_ok=: +-break +-fi +-rm -f conftest.err conftest.i conftest.$ac_ext +- ++ if test $ac_cache; then ++ ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" ++ if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then ++ printf "%s\n" "#define $ac_item 1" >> confdefs.h ++ fi ++ ac_header= ac_cache= ++ elif test $ac_header; then ++ ac_cache=$ac_item ++ else ++ ac_header=$ac_item ++ fi + done +-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +-rm -f conftest.i conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then : + +-else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details" "$LINENO" 5; } +-fi + +-ac_ext=c +-ac_cpp='$CPP $CPPFLAGS' +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +-ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +-$as_echo_n "checking for ANSI C header files... " >&6; } +-if ${ac_cv_header_stdc+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +-#include +-#include +-#include + +-int +-main () +-{ + +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_cv_header_stdc=yes +-else +- ac_cv_header_stdc=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-if test $ac_cv_header_stdc = yes; then +- # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +- +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "memchr" >/dev/null 2>&1; then : + +-else +- ac_cv_header_stdc=no +-fi +-rm -f conftest* +- +-fi +- +-if test $ac_cv_header_stdc = yes; then +- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include + +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "free" >/dev/null 2>&1; then : ++if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes ++then : + +-else +- ac_cv_header_stdc=no +-fi +-rm -f conftest* ++printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + + fi +- +-if test $ac_cv_header_stdc = yes; then +- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. +- if test "$cross_compiling" = yes; then : +- : +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +-#include +-#if ((' ' & 0x0FF) == 0x020) +-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +-#else +-# define ISLOWER(c) \ +- (('a' <= (c) && (c) <= 'i') \ +- || ('j' <= (c) && (c) <= 'r') \ +- || ('s' <= (c) && (c) <= 'z')) +-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +-#endif +- +-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +-int +-main () +-{ +- int i; +- for (i = 0; i < 256; i++) +- if (XOR (islower (i), ISLOWER (i)) +- || toupper (i) != TOUPPER (i)) +- return 2; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_run "$LINENO"; then : +- +-else +- ac_cv_header_stdc=no +-fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext +-fi +- +-fi +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +-$as_echo "$ac_cv_header_stdc" >&6; } +-if test $ac_cv_header_stdc = yes; then +- +-$as_echo "#define STDC_HEADERS 1" >>confdefs.h +- +-fi +- +-# On IRIX 5.3, sys/types and inttypes.h are conflicting. +-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ +- inttypes.h stdint.h unistd.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +-" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF +- +-fi +- +-done +- +- +-for ac_header in sys/sdt.h ++ for ac_header in sys/sdt.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default" +-if test "x$ac_cv_header_sys_sdt_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_SYS_SDT_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_sdt_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_SDT_H 1" >>confdefs.h + + if $enable_probes = true + then +@@ -5779,7 +6499,7 @@ End-of-File + fi + fi + +-else ++else $as_nop + + enable_probes=false + if test "$do_probes" = "yes" +@@ -5791,32 +6511,32 @@ fi + + done + +- + if test "$enable_probes" = "true" + then + +-$as_echo "#define HAVE_STATIC_PROBES 1" >>confdefs.h ++printf "%s\n" "#define HAVE_STATIC_PROBES 1" >>confdefs.h + + fi + + + fi + +-if test "x$use_gperftools" != "xno"; then : ++if test "x$use_gperftools" != "xno" ++then : + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperftools" >&5 +-$as_echo_n "checking for gperftools... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gperftools" >&5 ++printf %s "checking for gperftools... " >&6; } + + if test -n "$gperftools_CFLAGS"; then + pkg_cv_gperftools_CFLAGS="$gperftools_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprofiler, libtcmalloc\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprofiler, libtcmalloc\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libprofiler, libtcmalloc") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_gperftools_CFLAGS=`$PKG_CONFIG --cflags "libprofiler, libtcmalloc" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -5830,10 +6550,10 @@ if test -n "$gperftools_LIBS"; then + pkg_cv_gperftools_LIBS="$gperftools_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprofiler, libtcmalloc\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprofiler, libtcmalloc\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libprofiler, libtcmalloc") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_gperftools_LIBS=`$PKG_CONFIG --libs "libprofiler, libtcmalloc" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -5847,8 +6567,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -5874,10 +6594,10 @@ Alternatively, you may set the environme + and gperftools_LIBS to avoid the need to call pkg-config. + See the pkg-config man page for more details." "$LINENO" 5 + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it + is in your PATH or set the PKG_CONFIG environment variable to the full + path to pkg-config. +@@ -5891,8 +6611,8 @@ See \`config.log' for more details" "$LI + else + gperftools_CFLAGS=$pkg_cv_gperftools_CFLAGS + gperftools_LIBS=$pkg_cv_gperftools_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + + fi + +@@ -5904,7 +6624,8 @@ if test "x$use_sanitizer" != "xno"; then + fi + + +-if test "x$do_discovery" != "xno"; then : ++if test "x$do_discovery" != "xno" ++then : + + # on Mac OS X, dns_sd.h + +@@ -5912,17 +6633,17 @@ if test "x$do_discovery" != "xno"; then + enable_avahi=true + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5 +-$as_echo_n "checking for avahi... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5 ++printf %s "checking for avahi... " >&6; } + + if test -n "$avahi_CFLAGS"; then + pkg_cv_avahi_CFLAGS="$avahi_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5 + ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_avahi_CFLAGS=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -5936,10 +6657,10 @@ if test -n "$avahi_LIBS"; then + pkg_cv_avahi_LIBS="$avahi_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5 + ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_avahi_LIBS=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -5953,8 +6674,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -5971,19 +6692,20 @@ fi + + enable_avahi=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + enable_avahi=false + else + avahi_CFLAGS=$pkg_cv_avahi_CFLAGS + avahi_LIBS=$pkg_cv_avahi_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5 +-$as_echo_n "checking for avahi_client_new in -lavahi-client... " >&6; } +-if ${ac_cv_lib_avahi_client_avahi_client_new+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5 ++printf %s "checking for avahi_client_new in -lavahi-client... " >&6; } ++if test ${ac_cv_lib_avahi_client_avahi_client_new+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lavahi-client $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -5992,72 +6714,67 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char avahi_client_new (); + int +-main () ++main (void) + { + return avahi_client_new (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_avahi_client_avahi_client_new=yes +-else ++else $as_nop + ac_cv_lib_avahi_client_avahi_client_new=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5 +-$as_echo "$ac_cv_lib_avahi_client_avahi_client_new" >&6; } +-if test "x$ac_cv_lib_avahi_client_avahi_client_new" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5 ++printf "%s\n" "$ac_cv_lib_avahi_client_avahi_client_new" >&6; } ++if test "x$ac_cv_lib_avahi_client_avahi_client_new" = xyes ++then : + lib_for_avahi="-lavahi-common -lavahi-client" +-else ++else $as_nop + enable_avahi=false + fi + + + fi +- for ac_header in avahi-client/publish.h ++ for ac_header in avahi-client/publish.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "avahi-client/publish.h" "ac_cv_header_avahi_client_publish_h" "$ac_includes_default" +-if test "x$ac_cv_header_avahi_client_publish_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_AVAHI_CLIENT_PUBLISH_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "avahi-client/publish.h" "ac_cv_header_avahi_client_publish_h" "$ac_includes_default" ++if test "x$ac_cv_header_avahi_client_publish_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_AVAHI_CLIENT_PUBLISH_H 1" >>confdefs.h + +-else ++else $as_nop + enable_avahi=false + fi + + done +- +- for ac_header in avahi-common/alternative.h ++ for ac_header in avahi-common/alternative.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "avahi-common/alternative.h" "ac_cv_header_avahi_common_alternative_h" "$ac_includes_default" +-if test "x$ac_cv_header_avahi_common_alternative_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_AVAHI_COMMON_ALTERNATIVE_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "avahi-common/alternative.h" "ac_cv_header_avahi_common_alternative_h" "$ac_includes_default" ++if test "x$ac_cv_header_avahi_common_alternative_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_AVAHI_COMMON_ALTERNATIVE_H 1" >>confdefs.h + +-else ++else $as_nop + enable_avahi=false + fi + + done + +- + if test "$enable_avahi" = "true" + then + + + +-$as_echo "#define HAVE_AVAHI 1" >>confdefs.h ++printf "%s\n" "#define HAVE_AVAHI 1" >>confdefs.h + + enable_discovery=true + fi +@@ -6069,7 +6786,7 @@ $as_echo "#define HAVE_AVAHI 1" >>confde + if test "$enable_discovery" = "true" + then + +-$as_echo "#define HAVE_SERVICE_DISCOVERY 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SERVICE_DISCOVERY 1" >>confdefs.h + + fi + +@@ -6078,9 +6795,10 @@ fi + + + enable_systemd=false +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if systemd should be used" >&5 +-$as_echo_n "checking if systemd should be used... " >&6; } +-if test "x$do_systemd" != "xno"; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if systemd should be used" >&5 ++printf %s "checking if systemd should be used... " >&6; } ++if test "x$do_systemd" != "xno" ++then : + + enable_systemd=true + +@@ -6089,10 +6807,10 @@ if test -n "$SYSTEMD_TMPFILESDIR"; then + pkg_cv_SYSTEMD_TMPFILESDIR="$SYSTEMD_TMPFILESDIR" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 + ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_TMPFILESDIR=`$PKG_CONFIG --variable="tmpfilesdir" "systemd" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -6104,9 +6822,10 @@ fi + fi + SYSTEMD_TMPFILESDIR=$pkg_cv_SYSTEMD_TMPFILESDIR + +-if test "x$SYSTEMD_TMPFILESDIR" = x""; then : ++if test "x$SYSTEMD_TMPFILESDIR" = x"" ++then : + pcp_systemdtmpfiles_dir=$pcp_lib32_dir/tmpfiles.d +-else ++else $as_nop + pcp_systemdtmpfiles_dir=$SYSTEMD_TMPFILESDIR + fi + +@@ -6115,10 +6834,10 @@ if test -n "$SYSTEMD_SYSTEMUNITDIR"; the + pkg_cv_SYSTEMD_SYSTEMUNITDIR="$SYSTEMD_SYSTEMUNITDIR" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 + ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_SYSTEMUNITDIR=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -6130,9 +6849,10 @@ fi + fi + SYSTEMD_SYSTEMUNITDIR=$pkg_cv_SYSTEMD_SYSTEMUNITDIR + +-if test "x$SYSTEMD_SYSTEMUNITDIR" = x""; then : ++if test "x$SYSTEMD_SYSTEMUNITDIR" = x"" ++then : + enable_systemd=false +-else ++else $as_nop + pcp_systemdunit_dir=$SYSTEMD_SYSTEMUNITDIR + fi + +@@ -6148,30 +6868,28 @@ fi + fi + if $enable_systemd + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + + if $enable_systemd + then +- for ac_header in systemd/sd-daemon.h ++ for ac_header in systemd/sd-daemon.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default" +-if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_SYSTEMD_SD_DAEMON_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default" ++if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYSTEMD_SD_DAEMON_H 1" >>confdefs.h + have_sd_daemon=true +-else ++else $as_nop + have_sd_daemon=false + fi + + done +- + $have_sd_daemon || echo WARNING: using systemd, but header systemd/sd-daemon.h not installed + + fi +@@ -6242,8 +6960,8 @@ _ACEOF + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( +- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( +@@ -6273,15 +6991,15 @@ $as_echo "$as_me: WARNING: cache variabl + /^ac_cv_env_/b end + t clear + :clear +- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ++ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache + if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +-$as_echo "$as_me: updating cache $cache_file" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++printf "%s\n" "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else +@@ -6295,8 +7013,8 @@ $as_echo "$as_me: updating cache $cache_ + fi + fi + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} + fi + fi + rm -f confcache +@@ -6313,7 +7031,7 @@ U= + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' +- ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ++ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" +@@ -6329,8 +7047,8 @@ LTLIBOBJS=$ac_ltlibobjs + ac_write_fail=0 + ac_clean_files_save=$ac_clean_files + ac_clean_files="$ac_clean_files $CONFIG_STATUS" +-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} + as_write_fail=0 + cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 + #! $SHELL +@@ -6353,14 +7071,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_wri + + # Be more Bourne compatible + DUALCASE=1; export DUALCASE # for MKS sh +-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++as_nop=: ++if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 ++then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +-else ++else $as_nop + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( +@@ -6370,46 +7090,46 @@ esac + fi + + ++ ++# Reset variables that may have inherited troublesome values from ++# the environment. ++ ++# IFS needs to be set, to space, tab, and newline, in precisely that order. ++# (If _AS_PATH_WALK were called with IFS unset, it would have the ++# side effect of setting IFS to empty, thus disabling word splitting.) ++# Quoting is to prevent editors from complaining about space-tab. + as_nl=' + ' + export as_nl +-# Printing a long string crashes Solaris 7 /usr/bin/printf. +-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +-# Prefer a ksh shell builtin over an external printf program on Solaris, +-# but without wasting forks for bash or zsh. +-if test -z "$BASH_VERSION$ZSH_VERSION" \ +- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then +- as_echo='print -r --' +- as_echo_n='print -rn --' +-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then +- as_echo='printf %s\n' +- as_echo_n='printf %s' +-else +- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then +- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' +- as_echo_n='/usr/ucb/echo -n' +- else +- as_echo_body='eval expr "X$1" : "X\\(.*\\)"' +- as_echo_n_body='eval +- arg=$1; +- case $arg in #( +- *"$as_nl"*) +- expr "X$arg" : "X\\(.*\\)$as_nl"; +- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; +- esac; +- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" +- ' +- export as_echo_n_body +- as_echo_n='sh -c $as_echo_n_body as_echo' +- fi +- export as_echo_body +- as_echo='sh -c $as_echo_body as_echo' +-fi ++IFS=" "" $as_nl" ++ ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# Ensure predictable behavior from utilities with locale-dependent output. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# We cannot yet rely on "unset" to work, but we need these variables ++# to be unset--not just set to an empty or harmless value--now, to ++# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct ++# also avoids known problems related to "unset" and subshell syntax ++# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). ++for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH ++do eval test \${$as_var+y} \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++ ++# Ensure that fds 0, 1, and 2 are open. ++if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi ++if (exec 3>&2) ; then :; else exec 2>/dev/null; fi + + # The user is always right. +-if test "${PATH_SEPARATOR+set}" != set; then ++if ${PATH_SEPARATOR+false} :; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || +@@ -6418,13 +7138,6 @@ if test "${PATH_SEPARATOR+set}" != set; + fi + + +-# IFS +-# We need space, tab and new line, in precisely that order. Quoting is +-# there to prevent editors from complaining about space-tab. +-# (If _AS_PATH_WALK were called with IFS unset, it would disable word +-# splitting by setting IFS to empty value.) +-IFS=" "" $as_nl" +- + # Find who we are. Look in the path if we contain no directory separator. + as_myself= + case $0 in #(( +@@ -6433,8 +7146,12 @@ case $0 in #(( + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ test -r "$as_dir$0" && as_myself=$as_dir$0 && break + done + IFS=$as_save_IFS + +@@ -6446,30 +7163,10 @@ if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then +- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 + fi + +-# Unset variables that we do not need and which cause bugs (e.g. in +-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +-# suppresses any "Segmentation fault" message there. '((' could +-# trigger a bug in pdksh 5.2.14. +-for as_var in BASH_ENV ENV MAIL MAILPATH +-do eval test x\${$as_var+set} = xset \ +- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +-done +-PS1='$ ' +-PS2='> ' +-PS4='+ ' +- +-# NLS nuisances. +-LC_ALL=C +-export LC_ALL +-LANGUAGE=C +-export LANGUAGE +- +-# CDPATH. +-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + + # as_fn_error STATUS ERROR [LINENO LOG_FD] +@@ -6482,13 +7179,14 @@ as_fn_error () + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi +- $as_echo "$as_me: error: $2" >&2 ++ printf "%s\n" "$as_me: error: $2" >&2 + as_fn_exit $as_status + } # as_fn_error + + ++ + # as_fn_set_status STATUS + # ----------------------- + # Set $? to STATUS, without forking. +@@ -6515,18 +7213,20 @@ as_fn_unset () + { eval $1=; unset $1;} + } + as_unset=as_fn_unset ++ + # as_fn_append VAR VALUE + # ---------------------- + # Append the text in VALUE to the end of the definition contained in VAR. Take + # advantage of any shell optimizations that allow amortized linear growth over + # repeated appends, instead of the typical quadratic growth present in naive + # implementations. +-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null ++then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +-else ++else $as_nop + as_fn_append () + { + eval $1=\$$1\$2 +@@ -6538,12 +7238,13 @@ fi # as_fn_append + # Perform arithmetic evaluation on the ARGs, and store the result in the + # global $as_val. Take advantage of shells that can avoid forks. The arguments + # must be portable across $(()) and expr. +-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null ++then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +-else ++else $as_nop + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` +@@ -6574,7 +7275,7 @@ as_me=`$as_basename -- "$0" || + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X/"$0" | ++printf "%s\n" X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q +@@ -6596,6 +7297,10 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE + as_cr_digits='0123456789' + as_cr_alnum=$as_cr_Letters$as_cr_digits + ++ ++# Determine whether it's possible to make 'echo' print without a newline. ++# These variables are no longer used directly by Autoconf, but are AC_SUBSTed ++# for compatibility with existing Makefiles. + ECHO_C= ECHO_N= ECHO_T= + case `echo -n x` in #((((( + -n*) +@@ -6609,6 +7314,12 @@ case `echo -n x` in #((((( + ECHO_N='-n';; + esac + ++# For backward compatibility with old third-party macros, we provide ++# the shell variables $as_echo and $as_echo_n. New code should use ++# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. ++as_echo='printf %s\n' ++as_echo_n='printf %s' ++ + rm -f conf$$ conf$$.exe conf$$.file + if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +@@ -6650,7 +7361,7 @@ as_fn_mkdir_p () + as_dirs= + while :; do + case $as_dir in #( +- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" +@@ -6659,7 +7370,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$as_dir" | ++printf "%s\n" X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q +@@ -6722,7 +7433,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri + # values after options handling. + ac_log=" + This file was extended by $as_me, which was +-generated by GNU Autoconf 2.69. Invocation command line was ++generated by GNU Autoconf 2.71. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS +@@ -6780,14 +7491,16 @@ $config_headers + Report bugs to the package provider." + + _ACEOF ++ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ++ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ++ac_cs_config='$ac_cs_config_escaped' + ac_cs_version="\\ + config.status +-configured by $0, generated by GNU Autoconf 2.69, ++configured by $0, generated by GNU Autoconf 2.71, + with options \\"\$ac_cs_config\\" + +-Copyright (C) 2012 Free Software Foundation, Inc. ++Copyright (C) 2021 Free Software Foundation, Inc. + This config.status script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it." + +@@ -6824,15 +7537,15 @@ do + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) +- $as_echo "$ac_cs_version"; exit ;; ++ printf "%s\n" "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) +- $as_echo "$ac_cs_config"; exit ;; ++ printf "%s\n" "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in +- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" +@@ -6840,7 +7553,7 @@ do + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in +- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; +@@ -6849,7 +7562,7 @@ do + as_fn_error $? "ambiguous option: \`$1' + Try \`$0 --help' for more information.";; + --help | --hel | -h ) +- $as_echo "$ac_cs_usage"; exit ;; ++ printf "%s\n" "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; +@@ -6877,7 +7590,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ + if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift +- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ++ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +@@ -6891,7 +7604,7 @@ exec 5>>config.log + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX + ## Running $as_me. ## + _ASBOX +- $as_echo "$ac_log" ++ printf "%s\n" "$ac_log" + } >&5 + + _ACEOF +@@ -6919,8 +7632,8 @@ done + # We use the long form for the default assignment because of an extremely + # bizarre bug on SunOS 4.1.3. + if $ac_need_defaults; then +- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files +- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ++ test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files ++ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers + fi + + # Have a temporary directory for convenience. Make it in the build tree +@@ -7256,7 +7969,7 @@ do + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac +- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + +@@ -7264,17 +7977,17 @@ do + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` +- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" +- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +-$as_echo "$as_me: creating $ac_file" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++printf "%s\n" "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) +- ac_sed_conf_input=`$as_echo "$configure_input" | ++ ac_sed_conf_input=`printf "%s\n" "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac +@@ -7291,7 +8004,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$ac_file" | ++printf "%s\n" X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q +@@ -7315,9 +8028,9 @@ $as_echo X"$ac_file" | + case "$ac_dir" in + .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) +- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. +- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; +@@ -7370,8 +8083,8 @@ ac_sed_dataroot=' + case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in + *datarootdir*) ac_datarootdir_seen=yes;; + *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + _ACEOF + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' +@@ -7413,9 +8126,9 @@ test -z "$ac_datarootdir_hack$ac_dataroo + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + which seems to be undefined. Please make sure it is defined" >&5 +-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' + which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" +@@ -7431,20 +8144,20 @@ which seems to be undefined. Please mak + # + if test x"$ac_file" != x-; then + { +- $as_echo "/* $configure_input */" \ ++ printf "%s\n" "/* $configure_input */" >&1 \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +-$as_echo "$as_me: $ac_file is unchanged" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else +- $as_echo "/* $configure_input */" \ ++ printf "%s\n" "/* $configure_input */" >&1 \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +@@ -7485,8 +8198,8 @@ if test "$no_create" != yes; then + $ac_cs_success || as_fn_exit 1 + fi + if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + fi + + +@@ -7494,11 +8207,12 @@ for ac_prog in git + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_GIT+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_GIT+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$GIT"; then + ac_cv_prog_GIT="$GIT" # Let the user override the test. + else +@@ -7506,11 +8220,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_GIT="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -7521,11 +8239,11 @@ fi + fi + GIT=$ac_cv_prog_GIT + if test -n "$GIT"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5 +-$as_echo "$GIT" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5 ++printf "%s\n" "$GIT" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -7538,11 +8256,12 @@ for ac_prog in pylint + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_PYLINT+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_PYLINT+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$PYLINT"; then + ac_cv_prog_PYLINT="$PYLINT" # Let the user override the test. + else +@@ -7550,11 +8269,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_PYLINT="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -7565,11 +8288,11 @@ fi + fi + PYLINT=$ac_cv_prog_PYLINT + if test -n "$PYLINT"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYLINT" >&5 +-$as_echo "$PYLINT" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYLINT" >&5 ++printf "%s\n" "$PYLINT" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -7583,11 +8306,12 @@ for ac_prog in python2 python2.7 python + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_PYTHON+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_PYTHON+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$PYTHON"; then + ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. + else +@@ -7595,11 +8319,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_PYTHON="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -7610,11 +8338,11 @@ fi + fi + PYTHON=$ac_cv_prog_PYTHON + if test -n "$PYTHON"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +-$as_echo "$PYTHON" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 ++printf "%s\n" "$PYTHON" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -7627,11 +8355,12 @@ for ac_prog in python3 python3.7 python3 + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_PYTHON3+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_PYTHON3+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$PYTHON3"; then + ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. + else +@@ -7639,11 +8368,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_PYTHON3="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -7654,11 +8387,11 @@ fi + fi + PYTHON3=$ac_cv_prog_PYTHON3 + if test -n "$PYTHON3"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 +-$as_echo "$PYTHON3" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 ++printf "%s\n" "$PYTHON3" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -7670,7 +8403,8 @@ done + + + enable_python2=false +-if test "x$do_python" != "xno"; then : ++if test "x$do_python" != "xno" ++then : + + enable_python2=true + +@@ -7714,11 +8448,11 @@ if test "x$do_python" != "xno"; then : + + if $enable_python2 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python2 version" >&5 +-$as_echo_n "checking Python2 version... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Python2 version" >&5 ++printf %s "checking Python2 version... " >&6; } + eval `$PYTHON -V 2>&1 | awk '/^Python/ { ver=2; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export PY_MAJOR=%d PY_MINOR=%d PY_POINT=%d\n",$major,$minor,$point }'` +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5 +-$as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5 ++printf "%s\n" "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; } + if test "$PY_MAJOR" -lt 2; then + echo WARNING: Python version 2.7 or later does not seem to be installed. + enable_python2=false +@@ -7737,15 +8471,14 @@ $as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" + CFLAGS="$CFLAGS $PY_INCLUDE_DIRS" + CPPFLAGS="$CPPFLAGS $PY_INCLUDE_DIRS" + +- for ac_header in Python.h ++ for ac_header in Python.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" +-if test "x$ac_cv_header_Python_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_PYTHON_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" ++if test "x$ac_cv_header_Python_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_PYTHON_H 1" >>confdefs.h + +-else ++else $as_nop + + echo WARNING: Python version $PY_MAJOR.$PY_MINOR header file may be missing. + echo Proceeding with the Python $PY_MAJOR installation found, regardless. +@@ -7753,7 +8486,6 @@ fi + + done + +- + CPPFLAGS="$saved_CPPFLAGS" + CFLAGS="$saved_CFLAGS" + +@@ -7770,18 +8502,19 @@ fi + + + enable_python3=false +-if test "x$do_python3" != "xno"; then : ++if test "x$do_python3" != "xno" ++then : + + enable_python3=true + if test -z "$PYTHON3" + then + enable_python3=false + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python3 version" >&5 +-$as_echo_n "checking Python3 version... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Python3 version" >&5 ++printf %s "checking Python3 version... " >&6; } + eval `$PYTHON3 -V 2>&1 | awk '/^Python/ { ver=2; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export PY_MAJOR=%d PY_MINOR=%d PY_POINT=%d\n",$major,$minor,$point }'` +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5 +-$as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5 ++printf "%s\n" "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; } + if test "$PY_MAJOR" -lt 3; then + echo WARNING: Python version 3.3 or later does not seem to be installed. + enable_python3=false +@@ -7800,15 +8533,14 @@ $as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" + CFLAGS="$CFLAGS $PY_INCLUDE_DIRS" + CPPFLAGS="$CPPFLAGS $PY_INCLUDE_DIRS" + +- for ac_header in Python.h ++ for ac_header in Python.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" +-if test "x$ac_cv_header_Python_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_PYTHON_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" ++if test "x$ac_cv_header_Python_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_PYTHON_H 1" >>confdefs.h + +-else ++else $as_nop + + echo WARNING: Python version $PY_MAJOR.$PY_MINOR header file may be missing. + echo Proceeding with the Python $PY_MAJOR installation found, regardless. +@@ -7816,7 +8548,6 @@ fi + + done + +- + CPPFLAGS="$saved_CPPFLAGS" + CFLAGS="$saved_CFLAGS" + +@@ -7832,8 +8563,8 @@ done + fi + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for any python version" >&5 +-$as_echo_n "checking for any python version... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for any python version" >&5 ++printf %s "checking for any python version... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$have_python + echo "cross-compile -> \"$ans\"" >&5 +@@ -7844,9 +8575,9 @@ else + have_python=false + fi + +-if $have_python; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $have_python; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + + if test "$enable_python3" = "true" + then +@@ -7859,8 +8590,8 @@ else + fi + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dstat symlink" >&5 +-$as_echo_n "checking for dstat symlink... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dstat symlink" >&5 ++printf %s "checking for dstat symlink... " >&6; } + enable_dstat=false + if test "$do_dstat_symlink" = "check" -o "$do_dstat_symlink" = "yes" + then +@@ -7872,13 +8603,13 @@ then + fi + fi + +-if $enable_dstat; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $enable_dstat; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module BPF" >&5 +-$as_echo_n "checking for Python module BPF... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module BPF" >&5 ++printf %s "checking for Python module BPF... " >&6; } + if test -n "from bcc import BPF" + then + txt="from bcc import BPF" +@@ -7889,18 +8620,18 @@ $as_echo_n "checking for Python module B + '"$txt" >>config.log 2>&1 + if test "$?" = 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + eval have_python_BPF=true + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + eval have_python_BPF=false + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module OrderedDict" >&5 +-$as_echo_n "checking for Python module OrderedDict... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module OrderedDict" >&5 ++printf %s "checking for Python module OrderedDict... " >&6; } + if test -n "from collections import OrderedDict" + then + txt="from collections import OrderedDict" +@@ -7911,18 +8642,18 @@ $as_echo_n "checking for Python module O + '"$txt" >>config.log 2>&1 + if test "$?" = 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + eval have_python_OrderedDict=true + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + eval have_python_OrderedDict=false + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module jsonpointer" >&5 +-$as_echo_n "checking for Python module jsonpointer... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module jsonpointer" >&5 ++printf %s "checking for Python module jsonpointer... " >&6; } + if test -n "" + then + txt="" +@@ -7933,18 +8664,18 @@ $as_echo_n "checking for Python module j + '"$txt" >>config.log 2>&1 + if test "$?" = 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + eval have_python_jsonpointer=true + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + eval have_python_jsonpointer=false + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module openpyxl" >&5 +-$as_echo_n "checking for Python module openpyxl... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module openpyxl" >&5 ++printf %s "checking for Python module openpyxl... " >&6; } + if test -n "" + then + txt="" +@@ -7955,18 +8686,18 @@ $as_echo_n "checking for Python module o + '"$txt" >>config.log 2>&1 + if test "$?" = 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + eval have_python_openpyxl=true + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + eval have_python_openpyxl=false + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module setuptools" >&5 +-$as_echo_n "checking for Python module setuptools... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module setuptools" >&5 ++printf %s "checking for Python module setuptools... " >&6; } + if test -n "" + then + txt="" +@@ -7977,18 +8708,18 @@ $as_echo_n "checking for Python module s + '"$txt" >>config.log 2>&1 + if test "$?" = 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + eval have_python_setuptools=true + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + eval have_python_setuptools=false + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module requests" >&5 +-$as_echo_n "checking for Python module requests... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module requests" >&5 ++printf %s "checking for Python module requests... " >&6; } + if test -n "" + then + txt="" +@@ -7999,18 +8730,18 @@ $as_echo_n "checking for Python module r + '"$txt" >>config.log 2>&1 + if test "$?" = 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + eval have_python_requests=true + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + eval have_python_requests=false + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module libvirt" >&5 +-$as_echo_n "checking for Python module libvirt... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module libvirt" >&5 ++printf %s "checking for Python module libvirt... " >&6; } + if test -n "" + then + txt="" +@@ -8021,18 +8752,18 @@ $as_echo_n "checking for Python module l + '"$txt" >>config.log 2>&1 + if test "$?" = 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + eval have_python_libvirt=true + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + eval have_python_libvirt=false + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module six" >&5 +-$as_echo_n "checking for Python module six... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python module six" >&5 ++printf %s "checking for Python module six... " >&6; } + if test -n "" + then + txt="" +@@ -8043,36 +8774,38 @@ $as_echo_n "checking for Python module s + '"$txt" >>config.log 2>&1 + if test "$?" = 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + eval have_python_six=true + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + eval have_python_six=false + fi + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the python InfluxDB support should be included" >&5 +-$as_echo_n "checking if the python InfluxDB support should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the python InfluxDB support should be included" >&5 ++printf %s "checking if the python InfluxDB support should be included... " >&6; } + have_python_influxdb=false + if test "$have_python" = true + then + $have_python_requests && $have_python_OrderedDict && have_python_influxdb=true + fi + +-if $have_python_influxdb; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $have_python_influxdb; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the json PMDA should be included" >&5 +-$as_echo_n "checking if the json PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the json PMDA should be included" >&5 ++printf %s "checking if the json PMDA should be included... " >&6; } + pmda_json=false +-if test "x$do_pmdajson" = "xyes"; then : ++if test "x$do_pmdajson" = "xyes" ++then : + pmda_json=true + fi +-if test "x$do_pmdajson" = "xcheck"; then : ++if test "x$do_pmdajson" = "xcheck" ++then : + + $have_python_jsonpointer && $have_python_six && \ + $have_python_OrderedDict && pmda_json=true +@@ -8080,17 +8813,19 @@ if test "x$do_pmdajson" = "xcheck"; then + fi + PMDA_JSON=$pmda_json + +-if $pmda_json; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_json; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bcc PMDA should be included" >&5 +-$as_echo_n "checking if the bcc PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the bcc PMDA should be included" >&5 ++printf %s "checking if the bcc PMDA should be included... " >&6; } + pmda_bcc=false +-if test "x$do_pmdabcc" = "xyes"; then : ++if test "x$do_pmdabcc" = "xyes" ++then : + pmda_bcc=true + fi +-if test "x$do_pmdabcc" = "xcheck"; then : ++if test "x$do_pmdabcc" = "xcheck" ++then : + + $enable_python3 && $have_python_BPF && \ + $have_python_OrderedDict && pmda_bcc=true +@@ -8098,36 +8833,36 @@ if test "x$do_pmdabcc" = "xcheck"; then + fi + PMDA_BCC=$pmda_bcc + +-if $pmda_bcc; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_bcc; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking clang major version installed" >&5 +-$as_echo_n "checking clang major version installed... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking clang major version installed" >&5 ++printf %s "checking clang major version installed... " >&6; } + if which llvm-config >/dev/null 2>&1 + then + clang_major_version=`llvm-config --version | cut -f1 -d.` + else + clang_major_version=0 + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $clang_major_version" >&5 +-$as_echo "$clang_major_version" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $clang_major_version" >&5 ++printf "%s\n" "$clang_major_version" >&6; } + CLANG_MAJOR_VERSION=$clang_major_version + + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbpf" >&5 +-$as_echo_n "checking for libbpf... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libbpf" >&5 ++printf %s "checking for libbpf... " >&6; } + + if test -n "$libbpf_CFLAGS"; then + pkg_cv_libbpf_CFLAGS="$libbpf_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbpf >= 0.4.0\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbpf >= 0.4.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libbpf >= 0.4.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_libbpf_CFLAGS=`$PKG_CONFIG --cflags "libbpf >= 0.4.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -8141,10 +8876,10 @@ if test -n "$libbpf_LIBS"; then + pkg_cv_libbpf_LIBS="$libbpf_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbpf >= 0.4.0\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbpf >= 0.4.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libbpf >= 0.4.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_libbpf_LIBS=`$PKG_CONFIG --libs "libbpf >= 0.4.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -8158,8 +8893,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -8176,14 +8911,14 @@ fi + + have_libbpf=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_libbpf=false + else + libbpf_CFLAGS=$pkg_cv_libbpf_CFLAGS + libbpf_LIBS=$pkg_cv_libbpf_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_libbpf=true + fi + HAVE_LIBBPF=$have_libbpf +@@ -8191,17 +8926,17 @@ HAVE_LIBBPF=$have_libbpf + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libelf" >&5 +-$as_echo_n "checking for libelf... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libelf" >&5 ++printf %s "checking for libelf... " >&6; } + + if test -n "$libelf_CFLAGS"; then + pkg_cv_libelf_CFLAGS="$libelf_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libelf") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_libelf_CFLAGS=`$PKG_CONFIG --cflags "libelf" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -8215,10 +8950,10 @@ if test -n "$libelf_LIBS"; then + pkg_cv_libelf_LIBS="$libelf_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libelf") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_libelf_LIBS=`$PKG_CONFIG --libs "libelf" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -8232,8 +8967,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -8250,14 +8985,14 @@ fi + + have_libelf=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_libelf=false + else + libelf_CFLAGS=$pkg_cv_libelf_CFLAGS + libelf_LIBS=$pkg_cv_libelf_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_libelf=true + fi + HAVE_LIBELF=$have_libelf +@@ -8266,11 +9001,12 @@ HAVE_LIBELF=$have_libelf + if test -z "$PMDABPF_CLANG"; then + # Extract the first word of "clang", so it can be a program name with args. + set dummy clang; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_PMDABPF_CLANG+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PMDABPF_CLANG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $PMDABPF_CLANG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PMDABPF_CLANG="$PMDABPF_CLANG" # Let the user override the test with a path. +@@ -8280,11 +9016,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_PMDABPF_CLANG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_CLANG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -8296,11 +9036,11 @@ esac + fi + PMDABPF_CLANG=$ac_cv_path_PMDABPF_CLANG + if test -n "$PMDABPF_CLANG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_CLANG" >&5 +-$as_echo "$PMDABPF_CLANG" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_CLANG" >&5 ++printf "%s\n" "$PMDABPF_CLANG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -8311,11 +9051,12 @@ pmdabpf_clang=$PMDABPF_CLANG + if test -z "$PMDABPF_LLVM_STRIP"; then + # Extract the first word of "llvm-strip", so it can be a program name with args. + set dummy llvm-strip; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_PMDABPF_LLVM_STRIP+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PMDABPF_LLVM_STRIP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $PMDABPF_LLVM_STRIP in + [\\/]* | ?:[\\/]*) + ac_cv_path_PMDABPF_LLVM_STRIP="$PMDABPF_LLVM_STRIP" # Let the user override the test with a path. +@@ -8325,11 +9066,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_PMDABPF_LLVM_STRIP="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_LLVM_STRIP="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -8341,11 +9086,11 @@ esac + fi + PMDABPF_LLVM_STRIP=$ac_cv_path_PMDABPF_LLVM_STRIP + if test -n "$PMDABPF_LLVM_STRIP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_LLVM_STRIP" >&5 +-$as_echo "$PMDABPF_LLVM_STRIP" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_LLVM_STRIP" >&5 ++printf "%s\n" "$PMDABPF_LLVM_STRIP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -8356,11 +9101,12 @@ pmdabpf_llvm_strip=$PMDABPF_LLVM_STRIP + if test -z "$PMDABPF_BPFTOOL"; then + # Extract the first word of "bpftool", so it can be a program name with args. + set dummy bpftool; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_PMDABPF_BPFTOOL+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PMDABPF_BPFTOOL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $PMDABPF_BPFTOOL in + [\\/]* | ?:[\\/]*) + ac_cv_path_PMDABPF_BPFTOOL="$PMDABPF_BPFTOOL" # Let the user override the test with a path. +@@ -8370,11 +9116,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_PMDABPF_BPFTOOL="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_BPFTOOL="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -8386,11 +9136,11 @@ esac + fi + PMDABPF_BPFTOOL=$ac_cv_path_PMDABPF_BPFTOOL + if test -n "$PMDABPF_BPFTOOL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_BPFTOOL" >&5 +-$as_echo "$PMDABPF_BPFTOOL" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_BPFTOOL" >&5 ++printf "%s\n" "$PMDABPF_BPFTOOL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -8398,13 +9148,15 @@ fi + pmdabpf_bpftool=$PMDABPF_BPFTOOL + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bpf PMDA should be included" >&5 +-$as_echo_n "checking if the bpf PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the bpf PMDA should be included" >&5 ++printf %s "checking if the bpf PMDA should be included... " >&6; } + pmda_bpf=false +-if test "x$do_pmdabpf" = "xyes"; then : ++if test "x$do_pmdabpf" = "xyes" ++then : + pmda_bpf=true + fi +-if test "x$do_pmdabpf" = "xcheck"; then : ++if test "x$do_pmdabpf" = "xcheck" ++then : + + if test $clang_major_version -ge 10; then + $have_libbpf && $have_libelf && test -n "$pmdabpf_bpftool" && pmda_bpf=true +@@ -8415,17 +9167,19 @@ if test "x$do_pmdabpf" = "xcheck"; then + fi + PMDA_BPF=$pmda_bpf + +-if $pmda_bpf; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_bpf; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bpftrace PMDA should be included" >&5 +-$as_echo_n "checking if the bpftrace PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the bpftrace PMDA should be included" >&5 ++printf %s "checking if the bpftrace PMDA should be included... " >&6; } + pmda_bpftrace=false +-if test "x$do_pmdabpftrace" = "xyes"; then : ++if test "x$do_pmdabpftrace" = "xyes" ++then : + pmda_bpftrace=true + fi +-if test "x$do_pmdabpftrace" = "xcheck"; then : ++if test "x$do_pmdabpftrace" = "xcheck" ++then : + + have_bpftrace=false + if which bpftrace >/dev/null 2>&1 +@@ -8440,19 +9194,20 @@ if test "x$do_pmdabpftrace" = "xcheck"; + fi + PMDA_BPFTRACE=$pmda_bpftrace + +-if $pmda_bpftrace; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_bpftrace; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + + for ac_prog in perl + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_PERL+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_PERL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$PERL"; then + ac_cv_prog_PERL="$PERL" # Let the user override the test. + else +@@ -8460,11 +9215,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_PERL="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -8475,11 +9234,11 @@ fi + fi + PERL=$ac_cv_prog_PERL + if test -n "$PERL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 +-$as_echo "$PERL" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 ++printf "%s\n" "$PERL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -8489,11 +9248,12 @@ done + + + enable_perl=false +-if test "x$do_perl" != "xno"; then : ++if test "x$do_perl" != "xno" ++then : + + enable_perl=true +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for any perl version" >&5 +-$as_echo_n "checking for any perl version... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for any perl version" >&5 ++printf %s "checking for any perl version... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$have_perl + echo "cross-compile -> \"$ans\"" >&5 +@@ -8505,23 +9265,25 @@ $as_echo_n "checking for any perl versio + pcp_perl_prog="" + have_perl=false + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcp_perl_prog" >&5 +-$as_echo "$pcp_perl_prog" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pcp_perl_prog" >&5 ++printf "%s\n" "$pcp_perl_prog" >&6; } + +-else ++else $as_nop + have_perl=false + fi + + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the SNMP PMDA should be included" >&5 +-$as_echo_n "checking if the SNMP PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the SNMP PMDA should be included" >&5 ++printf %s "checking if the SNMP PMDA should be included... " >&6; } + pmda_snmp=false +-if test "x$do_pmdasnmp" = "xyes"; then : ++if test "x$do_pmdasnmp" = "xyes" ++then : + pmda_snmp=true + fi +-if test "x$do_pmdasnmp" = "xcheck"; then : ++if test "x$do_pmdasnmp" = "xcheck" ++then : + + if test "$have_perl" = true + then +@@ -8534,12 +9296,12 @@ if test "x$do_pmdasnmp" = "xcheck"; then + fi + PMDA_SNMP=$pmda_snmp + +-if $pmda_snmp; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_snmp; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the mysql PMDA should be included" >&5 +-$as_echo_n "checking if the mysql PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the mysql PMDA should be included" >&5 ++printf %s "checking if the mysql PMDA should be included... " >&6; } + pmda_mysql=false + if test "$have_perl" = true + then +@@ -8553,12 +9315,12 @@ then + fi + PMDA_MYSQL=$pmda_mysql + +-if $pmda_mysql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_mysql; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postgresql PMDA should be included" >&5 +-$as_echo_n "checking if the postgresql PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the postgresql PMDA should be included" >&5 ++printf %s "checking if the postgresql PMDA should be included... " >&6; } + pmda_postgresql=false + if test "$have_python" = true + then +@@ -8569,12 +9331,12 @@ then + fi + PMDA_POSTGRESQL=$pmda_postgresql + +-if $pmda_postgresql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_postgresql; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the oracle PMDA should be included" >&5 +-$as_echo_n "checking if the oracle PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the oracle PMDA should be included" >&5 ++printf %s "checking if the oracle PMDA should be included... " >&6; } + pmda_oracle=false + if test "$have_perl" = true + then +@@ -8585,12 +9347,12 @@ then + fi + PMDA_ORACLE=$pmda_oracle + +-if $pmda_oracle; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_oracle; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the elasticsearch PMDA should be included" >&5 +-$as_echo_n "checking if the elasticsearch PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the elasticsearch PMDA should be included" >&5 ++printf %s "checking if the elasticsearch PMDA should be included... " >&6; } + pmda_elasticsearch=false + if test "$have_python" = true + then +@@ -8606,12 +9368,12 @@ then + fi + PMDA_ELASTICSEARCH=$pmda_elasticsearch + +-if $pmda_elasticsearch; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_elasticsearch; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nginx PMDA should be included" >&5 +-$as_echo_n "checking if the nginx PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the nginx PMDA should be included" >&5 ++printf %s "checking if the nginx PMDA should be included... " >&6; } + pmda_nginx=false + if test "$have_perl" = true + then +@@ -8622,12 +9384,12 @@ then + fi + PMDA_NGINX=$pmda_nginx + +-if $pmda_nginx; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_nginx; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the activemq PMDA should be included" >&5 +-$as_echo_n "checking if the activemq PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the activemq PMDA should be included" >&5 ++printf %s "checking if the activemq PMDA should be included... " >&6; } + pmda_activemq=false + if test "$have_perl" = true + then +@@ -8645,12 +9407,12 @@ then + fi + PMDA_ACTIVEMQ=$pmda_activemq + +-if $pmda_activemq; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_activemq; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bind2 PMDA should be included" >&5 +-$as_echo_n "checking if the bind2 PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the bind2 PMDA should be included" >&5 ++printf %s "checking if the bind2 PMDA should be included... " >&6; } + pmda_bind2=false + if test "$have_perl" = true + then +@@ -8667,17 +9429,19 @@ then + fi + PMDA_BIND2=$pmda_bind2 + +-if $pmda_bind2; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_bind2; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nutcracker PMDA should be included" >&5 +-$as_echo_n "checking if the nutcracker PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the nutcracker PMDA should be included" >&5 ++printf %s "checking if the nutcracker PMDA should be included... " >&6; } + pmda_nutcracker=false +-if test "x$do_pmdanutcracker" = "xyes"; then : ++if test "x$do_pmdanutcracker" = "xyes" ++then : + pmda_nutcracker=true + fi +-if test "x$do_pmdanutcracker" = "xcheck"; then : ++if test "x$do_pmdanutcracker" = "xcheck" ++then : + + if test "$have_perl" = true + then +@@ -8693,12 +9457,12 @@ if test "x$do_pmdanutcracker" = "xcheck" + fi + PMDA_NUTCRACKER=$pmda_nutcracker + +-if $pmda_nutcracker; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_nutcracker; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the LIO PMDA should be included" >&5 +-$as_echo_n "checking if the LIO PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the LIO PMDA should be included" >&5 ++printf %s "checking if the LIO PMDA should be included... " >&6; } + pmda_lio=false + if test "$have_python" = true + then +@@ -8709,12 +9473,12 @@ then + fi + PMDA_LIO=$pmda_lio + +-if $pmda_lio; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_lio; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the OpenMetrics PMDA should be included" >&5 +-$as_echo_n "checking if the OpenMetrics PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the OpenMetrics PMDA should be included" >&5 ++printf %s "checking if the OpenMetrics PMDA should be included... " >&6; } + pmda_openmetrics=false + if test "$have_python" = true + then +@@ -8722,12 +9486,12 @@ then + fi + PMDA_OPENMETRICS=$pmda_openmetrics + +-if $pmda_openmetrics; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_openmetrics; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the libvirt PMDA should be included" >&5 +-$as_echo_n "checking if the libvirt PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the libvirt PMDA should be included" >&5 ++printf %s "checking if the libvirt PMDA should be included... " >&6; } + pmda_libvirt=false + if test "$have_python" = true + then +@@ -8741,15 +9505,16 @@ then + fi + PMDA_LIBVIRT=$pmda_libvirt + +-if $pmda_libvirt; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_libvirt; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + + qmake=$QMAKE + enable_qt=false + qt_release=release + qt_version=0 +-if test "x$do_qt" != "xno"; then : ++if test "x$do_qt" != "xno" ++then : + + enable_qt=true + +@@ -8764,11 +9529,12 @@ if test "x$do_qt" != "xno"; then : + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_QTCHOOSER+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_QTCHOOSER+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $QTCHOOSER in + [\\/]* | ?:[\\/]*) + ac_cv_path_QTCHOOSER="$QTCHOOSER" # Let the user override the test with a path. +@@ -8779,11 +9545,15 @@ as_dummy="$QTDIR/bin:/usr/lib/qtchooser: + for as_dir in $as_dummy + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_QTCHOOSER="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_QTCHOOSER="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -8795,11 +9565,11 @@ esac + fi + QTCHOOSER=$ac_cv_path_QTCHOOSER + if test -n "$QTCHOOSER"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QTCHOOSER" >&5 +-$as_echo "$QTCHOOSER" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QTCHOOSER" >&5 ++printf "%s\n" "$QTCHOOSER" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -8810,11 +9580,12 @@ done + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_QMAKE+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_QMAKE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $QMAKE in + [\\/]* | ?:[\\/]*) + ac_cv_path_QMAKE="$QMAKE" # Let the user override the test with a path. +@@ -8825,11 +9596,15 @@ as_dummy="$QTDIR/bin:/usr/lib/qtchooser: + for as_dir in $as_dummy + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_QMAKE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_QMAKE="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -8841,11 +9616,11 @@ esac + fi + QMAKE=$ac_cv_path_QMAKE + if test -n "$QMAKE"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 +-$as_echo "$QMAKE" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 ++printf "%s\n" "$QMAKE" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -8861,8 +9636,8 @@ done + else + if test -n "$QT_SELECT" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version, QT_SELECT=$QT_SELECT" >&5 +-$as_echo_n "checking Qt version, QT_SELECT=$QT_SELECT... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Qt version, QT_SELECT=$QT_SELECT" >&5 ++printf %s "checking Qt version, QT_SELECT=$QT_SELECT... " >&6; } + export QT_SELECT + $qmake --version 2>&1 >/dev/null + if test $? -eq 1; then +@@ -8871,8 +9646,8 @@ $as_echo_n "checking Qt version, QT_SELE + else + if test -n "$QTCHOOSER" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version, using qtchooser" >&5 +-$as_echo_n "checking Qt version, using qtchooser... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Qt version, using qtchooser" >&5 ++printf %s "checking Qt version, using qtchooser... " >&6; } + if $QTCHOOSER -l | grep '^5$' >/dev/null + then + export QT_SELECT=5 +@@ -8880,14 +9655,14 @@ $as_echo_n "checking Qt version, using q + export QT_SELECT=4 + fi + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version" >&5 +-$as_echo_n "checking Qt version... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Qt version" >&5 ++printf %s "checking Qt version... " >&6; } + unset QT_SELECT + fi + fi + eval `$qmake --version 2>&1 | awk '/Using Qt version/ { ver=4; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export QT_MAJOR=%d QT_MINOR=%d QT_POINT=%d\n",$major,$minor,$point }'` +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MAJOR.$QT_MINOR.$QT_POINT" >&5 +-$as_echo "$QT_MAJOR.$QT_MINOR.$QT_POINT" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QT_MAJOR.$QT_MINOR.$QT_POINT" >&5 ++printf "%s\n" "$QT_MAJOR.$QT_MINOR.$QT_POINT" >&6; } + if test -z "$QT_MAJOR" -o -z "$QT_MINOR"; then + echo WARNING: cannot extract Qt version number from ... + $qmake --version +@@ -8930,7 +9705,8 @@ fi + + + enable_qt3d=false +-if test "x$do_qt3d" != "xno"; then : ++if test "x$do_qt3d" != "xno" ++then : + + if test -f /usr/include/Coin3/Inventor/Qt/SoQt.h -o -f /usr/include/Inventor/Qt/SoQt.h + then +@@ -8947,11 +9723,12 @@ if test -z "$MAKE" + then + # Extract the first word of "gmake", so it can be a program name with args. + set dummy gmake; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_MAKE+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MAKE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $MAKE in + [\\/]* | ?:[\\/]*) + ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path. +@@ -8961,11 +9738,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKE="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -8977,19 +9758,19 @@ esac + fi + MAKE=$ac_cv_path_MAKE + if test -n "$MAKE"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 +-$as_echo "$MAKE" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 ++printf "%s\n" "$MAKE" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + + if test -z "$MAKE" + then + # look elsewhere ... +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make elsewhere" >&5 +-$as_echo_n "checking for GNU make elsewhere... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU make elsewhere" >&5 ++printf %s "checking for GNU make elsewhere... " >&6; } + for f in /usr/local/bin/gmake /usr/freeware/bin/gmake /usr/local/bin/make /opt/sfw/bin/gmake nowhere + do + if test -x $f +@@ -9014,8 +9795,8 @@ $as_echo_n "checking for GNU make elsewh + MAKE=/usr/bin/make + fi + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 +-$as_echo "$MAKE" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 ++printf "%s\n" "$MAKE" >&6; } + fi + fi + make=$MAKE +@@ -9027,40 +9808,36 @@ ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +-$as_echo_n "checking how to run the C preprocessor... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++printf %s "checking how to run the C preprocessor... " >&6; } + # On Suns, sometimes $CPP names a directory. + if test -n "$CPP" && test -d "$CPP"; then + CPP= + fi + if test -z "$CPP"; then +- if ${ac_cv_prog_CPP+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- # Double quotes because CPP needs to be expanded +- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ++ if test ${ac_cv_prog_CPP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ # Double quotes because $CC needs to be expanded ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp + do + ac_preproc_ok=false + for ac_c_preproc_warn_flag in '' yes + do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. +- # Prefer to if __STDC__ is defined, since +- # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif ++#include + Syntax error + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : ++if ac_fn_c_try_cpp "$LINENO" ++then : + +-else ++else $as_nop + # Broken: fails on valid input. + continue + fi +@@ -9072,10 +9849,11 @@ rm -f conftest.err conftest.i conftest.$ + /* end confdefs.h. */ + #include + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : ++if ac_fn_c_try_cpp "$LINENO" ++then : + # Broken: success on invalid input. + continue +-else ++else $as_nop + # Passes both tests. + ac_preproc_ok=: + break +@@ -9085,7 +9863,8 @@ rm -f conftest.err conftest.i conftest.$ + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.i conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then : ++if $ac_preproc_ok ++then : + break + fi + +@@ -9097,29 +9876,24 @@ fi + else + ac_cv_prog_CPP=$CPP + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +-$as_echo "$CPP" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++printf "%s\n" "$CPP" >&6; } + ac_preproc_ok=false + for ac_c_preproc_warn_flag in '' yes + do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. +- # Prefer to if __STDC__ is defined, since +- # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif ++#include + Syntax error + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : ++if ac_fn_c_try_cpp "$LINENO" ++then : + +-else ++else $as_nop + # Broken: fails on valid input. + continue + fi +@@ -9131,10 +9905,11 @@ rm -f conftest.err conftest.i conftest.$ + /* end confdefs.h. */ + #include + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : ++if ac_fn_c_try_cpp "$LINENO" ++then : + # Broken: success on invalid input. + continue +-else ++else $as_nop + # Passes both tests. + ac_preproc_ok=: + break +@@ -9144,11 +9919,12 @@ rm -f conftest.err conftest.i conftest.$ + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.i conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then : ++if $ac_preproc_ok ++then : + +-else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++else $as_nop ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "C preprocessor \"$CPP\" fails sanity check + See \`config.log' for more details" "$LINENO" 5; } + fi +@@ -9166,11 +9942,12 @@ cpp=$CPP + if test -z "$LD"; then + # Extract the first word of "ld", so it can be a program name with args. + set dummy ld; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_LD+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_LD+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $LD in + [\\/]* | ?:[\\/]*) + ac_cv_path_LD="$LD" # Let the user override the test with a path. +@@ -9180,11 +9957,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_LD="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9197,11 +9978,11 @@ esac + fi + LD=$ac_cv_path_LD + if test -n "$LD"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +-$as_echo "$LD" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++printf "%s\n" "$LD" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9235,11 +10016,12 @@ if test -z "$TAR"; then + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_TAR+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_TAR+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $TAR in + [\\/]* | ?:[\\/]*) + ac_cv_path_TAR="$TAR" # Let the user override the test with a path. +@@ -9249,11 +10031,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_TAR="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9265,11 +10051,11 @@ esac + fi + TAR=$ac_cv_path_TAR + if test -n "$TAR"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 +-$as_echo "$TAR" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 ++printf "%s\n" "$TAR" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9288,11 +10074,12 @@ tar=$TAR + if test -z "$ZIP"; then + # Extract the first word of "gzip", so it can be a program name with args. + set dummy gzip; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_ZIP+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ZIP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $ZIP in + [\\/]* | ?:[\\/]*) + ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path. +@@ -9302,11 +10089,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ZIP="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9319,11 +10110,11 @@ esac + fi + ZIP=$ac_cv_path_ZIP + if test -n "$ZIP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5 +-$as_echo "$ZIP" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5 ++printf "%s\n" "$ZIP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9338,11 +10129,12 @@ test -z "$gzip" && gzip=no-gzip + if test -z "$BZIP2"; then + # Extract the first word of "bzip2", so it can be a program name with args. + set dummy bzip2; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_BZIP2+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_BZIP2+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $BZIP2 in + [\\/]* | ?:[\\/]*) + ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path. +@@ -9352,11 +10144,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_BZIP2="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9369,11 +10165,11 @@ esac + fi + BZIP2=$ac_cv_path_BZIP2 + if test -n "$BZIP2"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5 +-$as_echo "$BZIP2" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5 ++printf "%s\n" "$BZIP2" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9388,11 +10184,12 @@ test -z "$bzip2" && bzip2=no-bzip2 + if test -z "$LZMA"; then + # Extract the first word of "lzma", so it can be a program name with args. + set dummy lzma; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_LZMA+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_LZMA+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $LZMA in + [\\/]* | ?:[\\/]*) + ac_cv_path_LZMA="$LZMA" # Let the user override the test with a path. +@@ -9402,11 +10199,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_LZMA="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_LZMA="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9419,11 +10220,11 @@ esac + fi + LZMA=$ac_cv_path_LZMA + if test -n "$LZMA"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5 +-$as_echo "$LZMA" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5 ++printf "%s\n" "$LZMA" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9438,11 +10239,12 @@ test -z "$lzma" && lzma=no-lzma + if test -z "$XZ"; then + # Extract the first word of "xz", so it can be a program name with args. + set dummy xz; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_XZ+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_XZ+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $XZ in + [\\/]* | ?:[\\/]*) + ac_cv_path_XZ="$XZ" # Let the user override the test with a path. +@@ -9452,11 +10254,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_XZ="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_XZ="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9469,11 +10275,11 @@ esac + fi + XZ=$ac_cv_path_XZ + if test -n "$XZ"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5 +-$as_echo "$XZ" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5 ++printf "%s\n" "$XZ" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9488,11 +10294,12 @@ test -z "$xz" && xz=no-xz + if test -z "$HDIUTIL"; then + # Extract the first word of "hdiutil", so it can be a program name with args. + set dummy hdiutil; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_HDIUTIL+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_HDIUTIL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $HDIUTIL in + [\\/]* | ?:[\\/]*) + ac_cv_path_HDIUTIL="$HDIUTIL" # Let the user override the test with a path. +@@ -9502,11 +10309,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_HDIUTIL="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_HDIUTIL="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9518,11 +10329,11 @@ esac + fi + HDIUTIL=$ac_cv_path_HDIUTIL + if test -n "$HDIUTIL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HDIUTIL" >&5 +-$as_echo "$HDIUTIL" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HDIUTIL" >&5 ++printf "%s\n" "$HDIUTIL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9533,11 +10344,12 @@ hdiutil=$HDIUTIL + if test -z "$MKINSTALLP"; then + # Extract the first word of "mkinstallp", so it can be a program name with args. + set dummy mkinstallp; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_MKINSTALLP+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MKINSTALLP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $MKINSTALLP in + [\\/]* | ?:[\\/]*) + ac_cv_path_MKINSTALLP="$MKINSTALLP" # Let the user override the test with a path. +@@ -9547,11 +10359,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_MKINSTALLP="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MKINSTALLP="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9563,11 +10379,11 @@ esac + fi + MKINSTALLP=$ac_cv_path_MKINSTALLP + if test -n "$MKINSTALLP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKINSTALLP" >&5 +-$as_echo "$MKINSTALLP" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKINSTALLP" >&5 ++printf "%s\n" "$MKINSTALLP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9578,11 +10394,12 @@ mkinstallp=$MKINSTALLP + if test -z "$PKGMK"; then + # Extract the first word of "pkgmk", so it can be a program name with args. + set dummy pkgmk; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_PKGMK+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_PKGMK+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $PKGMK in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKGMK="$PKGMK" # Let the user override the test with a path. +@@ -9592,11 +10409,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_PKGMK="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGMK="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9608,11 +10429,11 @@ esac + fi + PKGMK=$ac_cv_path_PKGMK + if test -n "$PKGMK"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGMK" >&5 +-$as_echo "$PKGMK" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGMK" >&5 ++printf "%s\n" "$PKGMK" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9623,11 +10444,12 @@ pkgmk=$PKGMK + if test -z "$DLLTOOL"; then + # Extract the first word of "dlltool", so it can be a program name with args. + set dummy dlltool; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_DLLTOOL+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_DLLTOOL+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $DLLTOOL in + [\\/]* | ?:[\\/]*) + ac_cv_path_DLLTOOL="$DLLTOOL" # Let the user override the test with a path. +@@ -9637,11 +10459,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_DLLTOOL="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_DLLTOOL="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9653,11 +10479,11 @@ esac + fi + DLLTOOL=$ac_cv_path_DLLTOOL + if test -n "$DLLTOOL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +-$as_echo "$DLLTOOL" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 ++printf "%s\n" "$DLLTOOL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9668,11 +10494,12 @@ dlltool=$DLLTOOL + if test -z "$RPMBUILD"; then + # Extract the first word of "rpmbuild", so it can be a program name with args. + set dummy rpmbuild; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_RPMBUILD+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_RPMBUILD+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $RPMBUILD in + [\\/]* | ?:[\\/]*) + ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path. +@@ -9682,11 +10509,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_RPMBUILD="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9698,11 +10529,11 @@ esac + fi + RPMBUILD=$ac_cv_path_RPMBUILD + if test -n "$RPMBUILD"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5 +-$as_echo "$RPMBUILD" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5 ++printf "%s\n" "$RPMBUILD" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9714,11 +10545,12 @@ rpmbuild=$RPMBUILD + if test -z "$RPM"; then + # Extract the first word of "rpm", so it can be a program name with args. + set dummy rpm; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_RPM+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_RPM+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $RPM in + [\\/]* | ?:[\\/]*) + ac_cv_path_RPM="$RPM" # Let the user override the test with a path. +@@ -9728,11 +10560,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_RPM="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_RPM="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9744,11 +10580,11 @@ esac + fi + RPM=$ac_cv_path_RPM + if test -n "$RPM"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5 +-$as_echo "$RPM" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5 ++printf "%s\n" "$RPM" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9768,11 +10604,12 @@ fi + if test -z "$POD2MAN"; then + # Extract the first word of "pod2man", so it can be a program name with args. + set dummy pod2man; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_POD2MAN+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_POD2MAN+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $POD2MAN in + [\\/]* | ?:[\\/]*) + ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path. +@@ -9782,11 +10619,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_POD2MAN="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9798,11 +10639,11 @@ esac + fi + POD2MAN=$ac_cv_path_POD2MAN + if test -n "$POD2MAN"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 +-$as_echo "$POD2MAN" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 ++printf "%s\n" "$POD2MAN" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9810,18 +10651,19 @@ fi + pod2man=$POD2MAN + + +-if test "$enable_perl" != "false"; then : ++if test "$enable_perl" != "false" ++then : + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ExtUtils::MakeMaker is installed" >&5 +-$as_echo_n "checking if ExtUtils::MakeMaker is installed... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ExtUtils::MakeMaker is installed" >&5 ++printf %s "checking if ExtUtils::MakeMaker is installed... " >&6; } + perl -e "use ExtUtils::MakeMaker" 2>/dev/null + if test $? -eq 0 + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo " yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" " yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo " no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" " no" >&6; } + echo + echo "FATAL ERROR: Perl ExtUtils::MakeMaker module missing." + echo "You can either install this from your distribution, or" +@@ -9834,11 +10676,12 @@ fi + + # Extract the first word of "true", so it can be a program name with args. + set dummy true; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_TRUEPROG+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_TRUEPROG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $TRUEPROG in + [\\/]* | ?:[\\/]*) + ac_cv_path_TRUEPROG="$TRUEPROG" # Let the user override the test with a path. +@@ -9848,11 +10691,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_TRUEPROG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_TRUEPROG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9864,11 +10711,11 @@ esac + fi + TRUEPROG=$ac_cv_path_TRUEPROG + if test -n "$TRUEPROG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUEPROG" >&5 +-$as_echo "$TRUEPROG" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TRUEPROG" >&5 ++printf "%s\n" "$TRUEPROG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9876,11 +10723,12 @@ fi + if test -z "$MAKEDEPEND"; then + # Extract the first word of "makedepend", so it can be a program name with args. + set dummy makedepend; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_MAKEDEPEND+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MAKEDEPEND+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $MAKEDEPEND in + [\\/]* | ?:[\\/]*) + ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path. +@@ -9890,11 +10738,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKEDEPEND="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9907,11 +10759,11 @@ esac + fi + MAKEDEPEND=$ac_cv_path_MAKEDEPEND + if test -n "$MAKEDEPEND"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5 +-$as_echo "$MAKEDEPEND" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5 ++printf "%s\n" "$MAKEDEPEND" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9922,11 +10774,12 @@ makedepend=$MAKEDEPEND + if test -z "$MD5SUM"; then + # Extract the first word of "md5sum", so it can be a program name with args. + set dummy md5sum; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_MD5SUM+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MD5SUM+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $MD5SUM in + [\\/]* | ?:[\\/]*) + ac_cv_path_MD5SUM="$MD5SUM" # Let the user override the test with a path. +@@ -9936,11 +10789,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_MD5SUM="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MD5SUM="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9953,11 +10810,11 @@ esac + fi + MD5SUM=$ac_cv_path_MD5SUM + if test -n "$MD5SUM"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5 +-$as_echo "$MD5SUM" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5 ++printf "%s\n" "$MD5SUM" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -9968,11 +10825,12 @@ md5sum=$MD5SUM + if test -z "$DPKG"; then + # Extract the first word of "dpkg", so it can be a program name with args. + set dummy dpkg; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_DPKG+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_DPKG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $DPKG in + [\\/]* | ?:[\\/]*) + ac_cv_path_DPKG="$DPKG" # Let the user override the test with a path. +@@ -9982,11 +10840,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_DPKG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_DPKG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -9998,11 +10860,11 @@ esac + fi + DPKG=$ac_cv_path_DPKG + if test -n "$DPKG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DPKG" >&5 +-$as_echo "$DPKG" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DPKG" >&5 ++printf "%s\n" "$DPKG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -10013,11 +10875,12 @@ dpkg=$DPKG + if test -z "$MAKEPKG"; then + # Extract the first word of "makepkg", so it can be a program name with args. + set dummy makepkg; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_MAKEPKG+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_MAKEPKG+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $MAKEPKG in + [\\/]* | ?:[\\/]*) + ac_cv_path_MAKEPKG="$MAKEPKG" # Let the user override the test with a path. +@@ -10027,11 +10890,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_MAKEPKG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKEPKG="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -10043,11 +10910,11 @@ esac + fi + MAKEPKG=$ac_cv_path_MAKEPKG + if test -n "$MAKEPKG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEPKG" >&5 +-$as_echo "$MAKEPKG" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKEPKG" >&5 ++printf "%s\n" "$MAKEPKG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -10055,15 +10922,15 @@ fi + makepkg=$MAKEPKG + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +-$as_echo_n "checking whether ln -s works... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 ++printf %s "checking whether ln -s works... " >&6; } + LN_S=$as_ln_s + if test "$LN_S" = "ln -s"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +-$as_echo "no, using $LN_S" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 ++printf "%s\n" "no, using $LN_S" >&6; } + fi + + if test $target_os = mingw; then +@@ -10100,19 +10967,20 @@ fi + + ac_header_dirent=no + for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do +- as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 +-$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } +-if eval \${$as_ac_Header+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 ++printf %s "checking for $ac_hdr that defines DIR... " >&6; } ++if eval test \${$as_ac_Header+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include <$ac_hdr> + + int +-main () ++main (void) + { + if ((DIR *) 0) + return 0; +@@ -10120,19 +10988,21 @@ return 0; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + eval "$as_ac_Header=yes" +-else ++else $as_nop + eval "$as_ac_Header=no" + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + eval ac_res=\$$as_ac_Header +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++printf "%s\n" "$ac_res" >&6; } ++if eval test \"x\$"$as_ac_Header"\" = x"yes" ++then : + cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 ++#define `printf "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1 + _ACEOF + + ac_header_dirent=$ac_hdr; break +@@ -10141,11 +11011,12 @@ fi + done + # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. + if test $ac_header_dirent = dirent.h; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 +-$as_echo_n "checking for library containing opendir... " >&6; } +-if ${ac_cv_search_opendir+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 ++printf %s "checking for library containing opendir... " >&6; } ++if test ${ac_cv_search_opendir+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_func_search_save_LIBS=$LIBS + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -10153,56 +11024,59 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char opendir (); + int +-main () ++main (void) + { + return opendir (); + ; + return 0; + } + _ACEOF +-for ac_lib in '' dir; do ++for ac_lib in '' dir ++do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi +- if ac_fn_c_try_link "$LINENO"; then : ++ if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_search_opendir=$ac_res + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext +- if ${ac_cv_search_opendir+:} false; then : ++ if test ${ac_cv_search_opendir+y} ++then : + break + fi + done +-if ${ac_cv_search_opendir+:} false; then : ++if test ${ac_cv_search_opendir+y} ++then : + +-else ++else $as_nop + ac_cv_search_opendir=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 +-$as_echo "$ac_cv_search_opendir" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 ++printf "%s\n" "$ac_cv_search_opendir" >&6; } + ac_res=$ac_cv_search_opendir +-if test "$ac_res" != no; then : ++if test "$ac_res" != no ++then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 +-$as_echo_n "checking for library containing opendir... " >&6; } +-if ${ac_cv_search_opendir+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 ++printf %s "checking for library containing opendir... " >&6; } ++if test ${ac_cv_search_opendir+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_func_search_save_LIBS=$LIBS + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -10210,169 +11084,137 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char opendir (); + int +-main () ++main (void) + { + return opendir (); + ; + return 0; + } + _ACEOF +-for ac_lib in '' x; do ++for ac_lib in '' x ++do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi +- if ac_fn_c_try_link "$LINENO"; then : ++ if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_search_opendir=$ac_res + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext +- if ${ac_cv_search_opendir+:} false; then : ++ if test ${ac_cv_search_opendir+y} ++then : + break + fi + done +-if ${ac_cv_search_opendir+:} false; then : ++if test ${ac_cv_search_opendir+y} ++then : + +-else ++else $as_nop + ac_cv_search_opendir=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 +-$as_echo "$ac_cv_search_opendir" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 ++printf "%s\n" "$ac_cv_search_opendir" >&6; } + ac_res=$ac_cv_search_opendir +-if test "$ac_res" != no; then : ++if test "$ac_res" != no ++then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi + + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +-$as_echo_n "checking for ANSI C header files... " >&6; } +-if ${ac_cv_header_stdc+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +-#include +-#include +-#include +- +-int +-main () +-{ +- +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_cv_header_stdc=yes +-else +- ac_cv_header_stdc=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-if test $ac_cv_header_stdc = yes; then +- # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +- +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "memchr" >/dev/null 2>&1; then : +- +-else +- ac_cv_header_stdc=no +-fi +-rm -f conftest* +- +-fi +- +-if test $ac_cv_header_stdc = yes; then +- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +- +-_ACEOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "free" >/dev/null 2>&1; then : ++# Autoupdate added the next two lines to ensure that your configure ++# script's behavior did not change. They are probably safe to remove. + +-else +- ac_cv_header_stdc=no +-fi +-rm -f conftest* +- +-fi +- +-if test $ac_cv_header_stdc = yes; then +- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. +- if test "$cross_compiling" = yes; then : +- : +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +-#include +-#if ((' ' & 0x0FF) == 0x020) +-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +-#else +-# define ISLOWER(c) \ +- (('a' <= (c) && (c) <= 'i') \ +- || ('j' <= (c) && (c) <= 'r') \ +- || ('s' <= (c) && (c) <= 'z')) +-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +-#endif +- +-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +-int +-main () +-{ +- int i; +- for (i = 0; i < 256; i++) +- if (XOR (islower (i), ISLOWER (i)) +- || toupper (i) != TOUPPER (i)) +- return 2; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_run "$LINENO"; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++printf %s "checking for egrep... " >&6; } ++if test ${ac_cv_path_EGREP+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ++ then ac_cv_path_EGREP="$GREP -E" ++ else ++ if test -z "$EGREP"; then ++ ac_path_EGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ for ac_prog in egrep ++ do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_EGREP" || continue ++# Check for GNU ac_path_EGREP and select it if it is found. ++ # Check for GNU $ac_path_EGREP ++case `"$ac_path_EGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ++*) ++ ac_count=0 ++ printf %s 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ printf "%s\n" 'EGREP' >> "conftest.nl" ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_EGREP="$ac_path_EGREP" ++ ac_path_EGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac + ++ $ac_path_EGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_EGREP"; then ++ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi + else +- ac_cv_header_stdc=no +-fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ac_cv_path_EGREP=$EGREP + fi + ++ fi + fi +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +-$as_echo "$ac_cv_header_stdc" >&6; } +-if test $ac_cv_header_stdc = yes; then ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++printf "%s\n" "$ac_cv_path_EGREP" >&6; } ++ EGREP="$ac_cv_path_EGREP" + +-$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +-fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 +-$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } +-if ${ac_cv_header_sys_wait_h+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 ++printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } ++if test ${ac_cv_header_sys_wait_h+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include +@@ -10385,7 +11227,7 @@ else + #endif + + int +-main () ++main (void) + { + int s; + wait (&s); +@@ -10394,358 +11236,426 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_header_sys_wait_h=yes +-else ++else $as_nop + ac_cv_header_sys_wait_h=no + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 +-$as_echo "$ac_cv_header_sys_wait_h" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 ++printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; } + if test $ac_cv_header_sys_wait_h = yes; then + +-$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h + + fi + +-for ac_header in fcntl.h limits.h malloc.h strings.h syslog.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" ++if test "x$ac_cv_header_fcntl_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" ++if test "x$ac_cv_header_limits_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h + +-done ++fi ++ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" ++if test "x$ac_cv_header_malloc_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h + +-for ac_header in stddef.h sched.h dlfcn.h dl.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" ++if test "x$ac_cv_header_strings_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" ++if test "x$ac_cv_header_syslog_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h + +-done ++fi + +-for ac_header in sys/times.h sys/resource.h sys/prctl.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" ++if test "x$ac_cv_header_stddef_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_STDDEF_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default" ++if test "x$ac_cv_header_sched_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h + +-done ++fi ++ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" ++if test "x$ac_cv_header_dlfcn_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h + +-for ac_header in sys/sysinfo.h sys/systeminfo.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default" ++if test "x$ac_cv_header_dl_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h + + fi + +-done ++ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_times_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h + +-for ac_header in endian.h standards.h sys/byteorder.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_resource_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_prctl_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h + +-done ++fi + +-for ac_header in libgen.h sys/mman.h sys/un.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_sysinfo_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "sys/systeminfo.h" "ac_cv_header_sys_systeminfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_systeminfo_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_SYSTEMINFO_H 1" >>confdefs.h + +-done ++fi + +-for ac_header in values.h stdint.h ieeefp.h math.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default" ++if test "x$ac_cv_header_endian_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "standards.h" "ac_cv_header_standards_h" "$ac_includes_default" ++if test "x$ac_cv_header_standards_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_STANDARDS_H 1" >>confdefs.h + +-done ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/byteorder.h" "ac_cv_header_sys_byteorder_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_byteorder_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_BYTEORDER_H 1" >>confdefs.h + +-for ac_header in pwd.h grp.h regex.h sys/wait.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default" ++if test "x$ac_cv_header_libgen_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBGEN_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_mman_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h + +-done ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_un_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h + +-for ac_header in termio.h termios.h sys/termios.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default" ++if test "x$ac_cv_header_values_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_VALUES_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" ++if test "x$ac_cv_header_stdint_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h + +-done ++fi ++ac_fn_c_check_header_compile "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default" ++if test "x$ac_cv_header_ieeefp_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_IEEEFP_H 1" >>confdefs.h + +-for ac_header in sys/ioctl.h sys/select.h sys/socket.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default" ++if test "x$ac_cv_header_math_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_MATH_H 1" >>confdefs.h + + fi + +-done ++ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" ++if test "x$ac_cv_header_pwd_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h + +-for ac_header in netdb.h poll.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_header_compile "$LINENO" "grp.h" "ac_cv_header_grp_h" "$ac_includes_default" ++if test "x$ac_cv_header_grp_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_GRP_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" ++if test "x$ac_cv_header_regex_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_REGEX_H 1" >>confdefs.h + +-done ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_wait_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default" ++if test "x$ac_cv_header_termio_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_TERMIO_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default" ++if test "x$ac_cv_header_termios_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/termios.h" "ac_cv_header_sys_termios_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_termios_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_TERMIOS_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_ioctl_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_select_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_socket_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" ++if test "x$ac_cv_header_netdb_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" ++if test "x$ac_cv_header_poll_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h ++ ++fi + + if test $target_os = darwin -o $target_os = openbsd + then +- for ac_header in net/if.h +-do : +- ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include ++ ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include + #include + " +-if test "x$ac_cv_header_net_if_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_NET_IF_H 1 +-_ACEOF ++if test "x$ac_cv_header_net_if_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h + + fi + +-done +- + else +- for ac_header in net/if.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default" +-if test "x$ac_cv_header_net_if_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_NET_IF_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default" ++if test "x$ac_cv_header_net_if_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h + + fi + +-done ++fi ++ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" ++if test "x$ac_cv_header_netinet_in_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h + + fi +-for ac_header in netinet/in.h netinet/tcp.h arpa/inet.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" ++if test "x$ac_cv_header_netinet_tcp_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" ++if test "x$ac_cv_header_arpa_inet_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h + +-done ++fi + +-for ac_header in windows.h winsock2.h ws2tcpip.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" ++if test "x$ac_cv_header_windows_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" ++if test "x$ac_cv_header_winsock2_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h + +-done ++fi ++ac_fn_c_check_header_compile "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" ++if test "x$ac_cv_header_ws2tcpip_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_WS2TCPIP_H 1" >>confdefs.h + +-for ac_header in execinfo.h bits/wordsize.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ ++ac_fn_c_check_header_compile "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" ++if test "x$ac_cv_header_execinfo_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_EXECINFO_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "bits/wordsize.h" "ac_cv_header_bits_wordsize_h" "$ac_includes_default" ++if test "x$ac_cv_header_bits_wordsize_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_BITS_WORDSIZE_H 1" >>confdefs.h + +-done ++fi + +-for ac_header in iptypes.h +-do : +- ac_fn_c_check_header_compile "$LINENO" "iptypes.h" "ac_cv_header_iptypes_h" "#include ++ac_fn_c_check_header_compile "$LINENO" "iptypes.h" "ac_cv_header_iptypes_h" "#include + " +-if test "x$ac_cv_header_iptypes_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_IPTYPES_H 1 +-_ACEOF ++if test "x$ac_cv_header_iptypes_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_IPTYPES_H 1" >>confdefs.h + + fi + +-done +- +-for ac_header in iphlpapi.h +-do : +- ac_fn_c_check_header_compile "$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h" "#include ++ac_fn_c_check_header_compile "$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h" "#include + " +-if test "x$ac_cv_header_iphlpapi_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_IPHLPAPI_H 1 +-_ACEOF ++if test "x$ac_cv_header_iphlpapi_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_IPHLPAPI_H 1" >>confdefs.h + + fi + +-done +- +-for ac_header in netioapi.h +-do : +- ac_fn_c_check_header_compile "$LINENO" "netioapi.h" "ac_cv_header_netioapi_h" "#include ++ac_fn_c_check_header_compile "$LINENO" "netioapi.h" "ac_cv_header_netioapi_h" "#include + " +-if test "x$ac_cv_header_netioapi_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_NETIOAPI_H 1 +-_ACEOF ++if test "x$ac_cv_header_netioapi_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NETIOAPI_H 1" >>confdefs.h + + fi + +-done ++ac_fn_c_check_header_compile "$LINENO" "fts.h" "ac_cv_header_fts_h" "$ac_includes_default" ++if test "x$ac_cv_header_fts_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_FTS_H 1" >>confdefs.h + +-for ac_header in fts.h libzfs.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_header_compile "$LINENO" "libzfs.h" "ac_cv_header_libzfs_h" "$ac_includes_default" ++if test "x$ac_cv_header_libzfs_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBZFS_H 1" >>confdefs.h + + fi + +-done ++ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_statvfs_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h + +-for ac_header in sys/statvfs.h sys/statfs.h sys/mount.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_statfs_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_mount_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h + +-done ++fi + +-for ac_header in curses.h ncurses.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default" ++if test "x$ac_cv_header_curses_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_CURSES_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncurses_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NCURSES_H 1" >>confdefs.h + +-done ++fi + +-for ac_header in ncurses/curses.h ncurses/ncurses.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncurses_curses_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NCURSES_CURSES_H 1" >>confdefs.h + + fi ++ac_fn_c_check_header_compile "$LINENO" "ncurses/ncurses.h" "ac_cv_header_ncurses_ncurses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncurses_ncurses_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NCURSES_NCURSES_H 1" >>confdefs.h + +-done ++fi + +-for ac_header in ncursesw/curses.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/curses.h" "ac_cv_header_ncursesw_curses_h" "$ac_includes_default" +-if test "x$ac_cv_header_ncursesw_curses_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_NCURSESW_CURSES_H 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "ncursesw/curses.h" "ac_cv_header_ncursesw_curses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncursesw_curses_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NCURSESW_CURSES_H 1" >>confdefs.h + + fi + +-done +- +-for ac_header in linux/perf_event.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "linux/perf_event.h" "ac_cv_header_linux_perf_event_h" "$ac_includes_default" +-if test "x$ac_cv_header_linux_perf_event_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LINUX_PERF_EVENT_H 1 +-_ACEOF ++ac_fn_c_check_header_compile "$LINENO" "linux/perf_event.h" "ac_cv_header_linux_perf_event_h" "$ac_includes_default" ++if test "x$ac_cv_header_linux_perf_event_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_LINUX_PERF_EVENT_H 1" >>confdefs.h + + fi + +-done + +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h " >&5 +-$as_echo_n "checking for sys/endian.h ... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h " >&5 ++printf %s "checking for sys/endian.h ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include + + int +-main () ++main (void) + { + + +@@ -10753,26 +11663,27 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for machine/endian.h " >&5 +-$as_echo_n "checking for machine/endian.h ... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for machine/endian.h " >&5 ++printf %s "checking for machine/endian.h ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include + + int +-main () ++main (void) + { + + +@@ -10780,19 +11691,20 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h (IRIX variant) " >&5 +-$as_echo_n "checking for sys/endian.h (IRIX variant) ... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h (IRIX variant) " >&5 ++printf %s "checking for sys/endian.h (IRIX variant) ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -10800,7 +11712,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #include + + int +-main () ++main (void) + { + + +@@ -10808,27 +11720,29 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +-$as_echo_n "checking for an ANSI C-conforming const... " >&6; } +-if ${ac_cv_c_const+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 ++printf %s "checking for an ANSI C-conforming const... " >&6; } ++if test ${ac_cv_c_const+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + #ifndef __cplusplus +@@ -10841,7 +11755,7 @@ main () + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; +- /* AIX XL C 1.02.0.0 rejects this. ++ /* IBM XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ +@@ -10869,7 +11783,7 @@ main () + iptr p = 0; + ++p; + } +- { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying ++ { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; } bx; + struct s *b = &bx; b->j = 5; +@@ -10885,101 +11799,102 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_c_const=yes +-else ++else $as_nop + ac_cv_c_const=no + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +-$as_echo "$ac_cv_c_const" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 ++printf "%s\n" "$ac_cv_c_const" >&6; } + if test $ac_cv_c_const = no; then + +-$as_echo "#define const /**/" >>confdefs.h ++printf "%s\n" "#define const /**/" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" +-if test "x$ac_cv_type_off_t" = xyes; then : ++if test "x$ac_cv_type_off_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define off_t long int +-_ACEOF ++printf "%s\n" "#define off_t long int" >>confdefs.h + + fi + +-ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" +-if test "x$ac_cv_type_pid_t" = xyes; then : + +-else ++ ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default ++" ++if test "x$ac_cv_type_pid_t" = xyes ++then : ++ ++else $as_nop ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #if defined _WIN64 && !defined __CYGWIN__ ++ LLP64 ++ #endif ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} + +-cat >>confdefs.h <<_ACEOF +-#define pid_t int + _ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ac_pid_type='int' ++else $as_nop ++ ac_pid_type='__int64' ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h ++ + + fi + ++ + ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" +-if test "x$ac_cv_type_size_t" = xyes; then : ++if test "x$ac_cv_type_size_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define size_t unsigned int +-_ACEOF ++printf "%s\n" "#define size_t unsigned int" >>confdefs.h + + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 +-$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } +-if ${ac_cv_header_time+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include +-#include +-#include + +-int +-main () +-{ +-if ((struct tm *) 0) +-return 0; +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_cv_header_time=yes +-else +- ac_cv_header_time=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 +-$as_echo "$ac_cv_header_time" >&6; } +-if test $ac_cv_header_time = yes; then + +-$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h ++# Obsolete code to be removed. ++if test $ac_cv_header_sys_time_h = yes; then ++ ++printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h + + fi ++# End of obsolete code. + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 +-$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } +-if ${ac_cv_struct_tm+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 ++printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; } ++if test ${ac_cv_struct_tm+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include + + int +-main () ++main (void) + { + struct tm tm; + int *p = &tm.tm_sec; +@@ -10988,47 +11903,50 @@ struct tm tm; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_struct_tm=time.h +-else ++else $as_nop + ac_cv_struct_tm=sys/time.h + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 +-$as_echo "$ac_cv_struct_tm" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 ++printf "%s\n" "$ac_cv_struct_tm" >&6; } + if test $ac_cv_struct_tm = sys/time.h; then + +-$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h ++printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h + + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +-$as_echo_n "checking for inline... " >&6; } +-if ${ac_cv_c_inline+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 ++printf %s "checking for inline... " >&6; } ++if test ${ac_cv_c_inline+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_cv_c_inline=no + for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #ifndef __cplusplus + typedef int foo_t; +-static $ac_kw foo_t static_foo () {return 0; } +-$ac_kw foo_t foo () {return 0; } ++static $ac_kw foo_t static_foo (void) {return 0; } ++$ac_kw foo_t foo (void) {return 0; } + #endif + + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_c_inline=$ac_kw + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + test "$ac_cv_c_inline" != no && break + done + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +-$as_echo "$ac_cv_c_inline" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 ++printf "%s\n" "$ac_cv_c_inline" >&6; } + + case $ac_cv_c_inline in + inline | yes) ;; +@@ -11046,11 +11964,12 @@ _ACEOF + esac + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5 +-$as_echo_n "checking for regcomp in -lregex... " >&6; } +-if ${ac_cv_lib_regex_regcomp+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5 ++printf %s "checking for regcomp in -lregex... " >&6; } ++if test ${ac_cv_lib_regex_regcomp+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lregex $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -11059,33 +11978,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char regcomp (); + int +-main () ++main (void) + { + return regcomp (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_regex_regcomp=yes +-else ++else $as_nop + ac_cv_lib_regex_regcomp=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5 +-$as_echo "$ac_cv_lib_regex_regcomp" >&6; } +-if test "x$ac_cv_lib_regex_regcomp" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBREGEX 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5 ++printf "%s\n" "$ac_cv_lib_regex_regcomp" >&6; } ++if test "x$ac_cv_lib_regex_regcomp" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBREGEX 1" >>confdefs.h + + LIBS="-lregex $LIBS" + +@@ -11100,17 +12016,17 @@ fi + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5 +-$as_echo_n "checking for openssl... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5 ++printf %s "checking for openssl... " >&6; } + + if test -n "$openssl_CFLAGS"; then + pkg_cv_openssl_CFLAGS="$openssl_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.1.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11124,10 +12040,10 @@ if test -n "$openssl_LIBS"; then + pkg_cv_openssl_LIBS="$openssl_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.1.1" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11141,8 +12057,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -11159,20 +12075,20 @@ fi + + have_openssl=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_openssl=false + else + openssl_CFLAGS=$pkg_cv_openssl_CFLAGS + openssl_LIBS=$pkg_cv_openssl_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_openssl=true + fi + if $have_openssl + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_read_ex" >&5 +-$as_echo_n "checking for SSL_read_ex... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_read_ex" >&5 ++printf %s "checking for SSL_read_ex... " >&6; } + savedLIBS=$LIBS + LIBS="$openssl_LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -11181,28 +12097,26 @@ $as_echo_n "checking for SSL_read_ex... + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char SSL_read_ex (); + int +-main () ++main (void) + { + return SSL_read_ex (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + have_openssl=true +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop + have_openssl=false +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$savedLIBS + fi +@@ -11211,17 +12125,17 @@ HAVE_OPENSSL=$have_openssl + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuv" >&5 +-$as_echo_n "checking for libuv... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libuv" >&5 ++printf %s "checking for libuv... " >&6; } + + if test -n "$libuv_CFLAGS"; then + pkg_cv_libuv_CFLAGS="$libuv_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libuv >= 1.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_libuv_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11235,10 +12149,10 @@ if test -n "$libuv_LIBS"; then + pkg_cv_libuv_LIBS="$libuv_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libuv >= 1.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_libuv_LIBS=`$PKG_CONFIG --libs "libuv >= 1.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11252,8 +12166,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -11270,23 +12184,24 @@ fi + + have_libuv=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_libuv=false + else + libuv_CFLAGS=$pkg_cv_libuv_CFLAGS + libuv_LIBS=$pkg_cv_libuv_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_libuv=true + fi + HAVE_LIBUV=$have_libuv + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uv_pipe_chmod in -luv" >&5 +-$as_echo_n "checking for uv_pipe_chmod in -luv... " >&6; } +-if ${ac_cv_lib_uv_uv_pipe_chmod+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uv_pipe_chmod in -luv" >&5 ++printf %s "checking for uv_pipe_chmod in -luv... " >&6; } ++if test ${ac_cv_lib_uv_uv_pipe_chmod+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-luv $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -11295,52 +12210,51 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char uv_pipe_chmod (); + int +-main () ++main (void) + { + return uv_pipe_chmod (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_uv_uv_pipe_chmod=yes +-else ++else $as_nop + ac_cv_lib_uv_uv_pipe_chmod=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uv_uv_pipe_chmod" >&5 +-$as_echo "$ac_cv_lib_uv_uv_pipe_chmod" >&6; } +-if test "x$ac_cv_lib_uv_uv_pipe_chmod" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uv_uv_pipe_chmod" >&5 ++printf "%s\n" "$ac_cv_lib_uv_uv_pipe_chmod" >&6; } ++if test "x$ac_cv_lib_uv_uv_pipe_chmod" = xyes ++then : + +-$as_echo "#define HAVE_UV_PIPE_CHMOD 1" >>confdefs.h ++printf "%s\n" "#define HAVE_UV_PIPE_CHMOD 1" >>confdefs.h + + have_uv_pipe_chmod=true +-else ++else $as_nop + have_uv_pipe_chmod=false + fi + + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5 +-$as_echo_n "checking for ncurses... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5 ++printf %s "checking for ncurses... " >&6; } + + if test -n "$ncurses_CFLAGS"; then + pkg_cv_ncurses_CFLAGS="$ncurses_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 + ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_ncurses_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11354,10 +12268,10 @@ if test -n "$ncurses_LIBS"; then + pkg_cv_ncurses_LIBS="$ncurses_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 + ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_ncurses_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11371,8 +12285,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -11389,14 +12303,14 @@ fi + + have_ncurses=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_ncurses=false + else + ncurses_CFLAGS=$pkg_cv_ncurses_CFLAGS + ncurses_LIBS=$pkg_cv_ncurses_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_ncurses=true + fi + HAVE_NCURSES=$have_ncurses +@@ -11404,17 +12318,17 @@ HAVE_NCURSES=$have_ncurses + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncursesw" >&5 +-$as_echo_n "checking for ncursesw... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncursesw" >&5 ++printf %s "checking for ncursesw... " >&6; } + + if test -n "$ncursesw_CFLAGS"; then + pkg_cv_ncursesw_CFLAGS="$ncursesw_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 + ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_ncursesw_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11428,10 +12342,10 @@ if test -n "$ncursesw_LIBS"; then + pkg_cv_ncursesw_LIBS="$ncursesw_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 + ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_ncursesw_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11445,8 +12359,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -11463,14 +12377,14 @@ fi + + have_ncursesw=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_ncursesw=false + else + ncursesw_CFLAGS=$pkg_cv_ncursesw_CFLAGS + ncursesw_LIBS=$pkg_cv_ncursesw_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_ncursesw=true + fi + HAVE_NCURSESW=$have_ncursesw +@@ -11478,26 +12392,26 @@ HAVE_NCURSESW=$have_ncursesw + if $have_ncursesw + then + +-$as_echo "#define HAVE_GETMOUSE 1" >>confdefs.h ++printf "%s\n" "#define HAVE_GETMOUSE 1" >>confdefs.h + + +-$as_echo "#define HAVE_SET_ESCDELAY 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SET_ESCDELAY 1" >>confdefs.h + + fi + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEVMAPPER" >&5 +-$as_echo_n "checking for DEVMAPPER... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DEVMAPPER" >&5 ++printf %s "checking for DEVMAPPER... " >&6; } + + if test -n "$DEVMAPPER_CFLAGS"; then + pkg_cv_DEVMAPPER_CFLAGS="$DEVMAPPER_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devmapper\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devmapper\""; } >&5 + ($PKG_CONFIG --exists --print-errors "devmapper") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_DEVMAPPER_CFLAGS=`$PKG_CONFIG --cflags "devmapper" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11511,10 +12425,10 @@ if test -n "$DEVMAPPER_LIBS"; then + pkg_cv_DEVMAPPER_LIBS="$DEVMAPPER_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devmapper\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devmapper\""; } >&5 + ($PKG_CONFIG --exists --print-errors "devmapper") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_DEVMAPPER_LIBS=`$PKG_CONFIG --libs "devmapper" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11528,8 +12442,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -11546,60 +12460,61 @@ fi + + have_devmapper=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_devmapper=false + else + DEVMAPPER_CFLAGS=$pkg_cv_DEVMAPPER_CFLAGS + DEVMAPPER_LIBS=$pkg_cv_DEVMAPPER_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_devmapper=true + fi + if $have_devmapper + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_stats_counter_t " >&5 +-$as_echo_n "checking for dm_stats_counter_t ... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dm_stats_counter_t " >&5 ++printf %s "checking for dm_stats_counter_t ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include + + int +-main () ++main (void) + { + dm_stats_counter_t ctr; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + have_devmapper=true +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop + have_devmapper=false +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + HAVE_DEVMAPPER=$have_devmapper + + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +-$as_echo_n "checking for SYSTEMD... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 ++printf %s "checking for SYSTEMD... " >&6; } + + if test -n "$SYSTEMD_CFLAGS"; then + pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11613,10 +12528,10 @@ if test -n "$SYSTEMD_LIBS"; then + pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11630,8 +12545,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -11648,14 +12563,14 @@ fi + + pmda_systemd=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + pmda_systemd=false + else + SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS + SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + pmda_systemd=true + fi + if $pmda_systemd +@@ -11664,17 +12579,17 @@ then + else + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 +-$as_echo_n "checking for SYSTEMD... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 ++printf %s "checking for SYSTEMD... " >&6; } + + if test -n "$SYSTEMD_CFLAGS"; then + pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11688,10 +12603,10 @@ if test -n "$SYSTEMD_LIBS"; then + pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -11705,8 +12620,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -11723,60 +12638,58 @@ fi + + pmda_systemd=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + pmda_systemd=false + else + SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS + SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + pmda_systemd=true + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the systemd PMDA should be included" >&5 +-$as_echo_n "checking if the systemd PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the systemd PMDA should be included" >&5 ++printf %s "checking if the systemd PMDA should be included... " >&6; } + PMDA_SYSTEMD=$pmda_systemd + +-if $pmda_systemd; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_systemd; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + + pmda_infiniband=false +-if test "x$do_infiniband" != "xno"; then : ++if test "x$do_infiniband" != "xno" ++then : + +- for ac_header in infiniband/umad.h ++ for ac_header in infiniband/umad.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "infiniband/umad.h" "ac_cv_header_infiniband_umad_h" "$ac_includes_default" +-if test "x$ac_cv_header_infiniband_umad_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_INFINIBAND_UMAD_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "infiniband/umad.h" "ac_cv_header_infiniband_umad_h" "$ac_includes_default" ++if test "x$ac_cv_header_infiniband_umad_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_INFINIBAND_UMAD_H 1" >>confdefs.h + +- for ac_header in infiniband/mad.h ++ for ac_header in infiniband/mad.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "infiniband/mad.h" "ac_cv_header_infiniband_mad_h" "$ac_includes_default" +-if test "x$ac_cv_header_infiniband_mad_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_INFINIBAND_MAD_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "infiniband/mad.h" "ac_cv_header_infiniband_mad_h" "$ac_includes_default" ++if test "x$ac_cv_header_infiniband_mad_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_INFINIBAND_MAD_H 1" >>confdefs.h + pmda_infiniband=true + fi + + done + +- + fi + + done +- + savedLIBS=$LIBS + IB_LIBS="" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for madrpc_init in -libmad" >&5 +-$as_echo_n "checking for madrpc_init in -libmad... " >&6; } +-if ${ac_cv_lib_ibmad_madrpc_init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for madrpc_init in -libmad" >&5 ++printf %s "checking for madrpc_init in -libmad... " >&6; } ++if test ${ac_cv_lib_ibmad_madrpc_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-libmad $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -11785,43 +12698,41 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char madrpc_init (); + int +-main () ++main (void) + { + return madrpc_init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_ibmad_madrpc_init=yes +-else ++else $as_nop + ac_cv_lib_ibmad_madrpc_init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_madrpc_init" >&5 +-$as_echo "$ac_cv_lib_ibmad_madrpc_init" >&6; } +-if test "x$ac_cv_lib_ibmad_madrpc_init" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBIBMAD 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_madrpc_init" >&5 ++printf "%s\n" "$ac_cv_lib_ibmad_madrpc_init" >&6; } ++if test "x$ac_cv_lib_ibmad_madrpc_init" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBIBMAD 1" >>confdefs.h + + LIBS="-libmad $LIBS" + + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umad_init in -libumad" >&5 +-$as_echo_n "checking for umad_init in -libumad... " >&6; } +-if ${ac_cv_lib_ibumad_umad_init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umad_init in -libumad" >&5 ++printf %s "checking for umad_init in -libumad... " >&6; } ++if test ${ac_cv_lib_ibumad_umad_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-libumad $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -11830,33 +12741,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char umad_init (); + int +-main () ++main (void) + { + return umad_init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_ibumad_umad_init=yes +-else ++else $as_nop + ac_cv_lib_ibumad_umad_init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibumad_umad_init" >&5 +-$as_echo "$ac_cv_lib_ibumad_umad_init" >&6; } +-if test "x$ac_cv_lib_ibumad_umad_init" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBIBUMAD 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibumad_umad_init" >&5 ++printf "%s\n" "$ac_cv_lib_ibumad_umad_init" >&6; } ++if test "x$ac_cv_lib_ibumad_umad_init" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBIBUMAD 1" >>confdefs.h + + LIBS="-libumad $LIBS" + +@@ -11866,73 +12774,69 @@ fi + then + IB_LIBS="-libmad -libumad" + LIBS="$IB_LIBS" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for port_performance_query_via" >&5 +-$as_echo_n "checking for port_performance_query_via... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for port_performance_query_via" >&5 ++printf %s "checking for port_performance_query_via... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char port_performance_query_via (); + int +-main () ++main (void) + { + return port_performance_query_via (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_PORT_PERFORMANCE_QUERY_VIA 1" >>confdefs.h ++printf "%s\n" "#define HAVE_PORT_PERFORMANCE_QUERY_VIA 1" >>confdefs.h + + have_port_performance_query_via=true +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop + have_port_performance_query_via=false +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pma_query_via" >&5 +-$as_echo_n "checking for pma_query_via... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pma_query_via" >&5 ++printf %s "checking for pma_query_via... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char pma_query_via (); + int +-main () ++main (void) + { + return pma_query_via (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_PMA_QUERY_VIA 1" >>confdefs.h ++printf "%s\n" "#define HAVE_PMA_QUERY_VIA 1" >>confdefs.h + + have_pma_query_via=true +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop + have_pma_query_via=false +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$savedLIBS + if test $have_pma_query_via -o $have_port_performance_query_via +@@ -11948,32 +12852,35 @@ rm -f core conftest.err conftest.$ac_obj + + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the infiniband PMDA should be included" >&5 +-$as_echo_n "checking if the infiniband PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the infiniband PMDA should be included" >&5 ++printf %s "checking if the infiniband PMDA should be included... " >&6; } + PMDA_INFINIBAND=$pmda_infiniband + +-if $pmda_infiniband; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_infiniband; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + + pmda_perfevent=false +-if test "x$do_perfevent" = "xyes"; then : ++if test "x$do_perfevent" = "xyes" ++then : + + pmda_perfevent=true + pfm_libs="-lpfm" + PFM_LIBS=$pfm_libs + + +-elif test "x$do_perfevent" != "xno" ; then : ++elif test "x$do_perfevent" != "xno" ++then : + + enable_perfevent=true + + savedLIBS=$LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pfm_get_os_event_encoding in -lpfm" >&5 +-$as_echo_n "checking for pfm_get_os_event_encoding in -lpfm... " >&6; } +-if ${ac_cv_lib_pfm_pfm_get_os_event_encoding+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pfm_get_os_event_encoding in -lpfm" >&5 ++printf %s "checking for pfm_get_os_event_encoding in -lpfm... " >&6; } ++if test ${ac_cv_lib_pfm_pfm_get_os_event_encoding+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lpfm $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -11982,49 +12889,46 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char pfm_get_os_event_encoding (); + int +-main () ++main (void) + { + return pfm_get_os_event_encoding (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_pfm_pfm_get_os_event_encoding=yes +-else ++else $as_nop + ac_cv_lib_pfm_pfm_get_os_event_encoding=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pfm_pfm_get_os_event_encoding" >&5 +-$as_echo "$ac_cv_lib_pfm_pfm_get_os_event_encoding" >&6; } +-if test "x$ac_cv_lib_pfm_pfm_get_os_event_encoding" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pfm_pfm_get_os_event_encoding" >&5 ++printf "%s\n" "$ac_cv_lib_pfm_pfm_get_os_event_encoding" >&6; } ++if test "x$ac_cv_lib_pfm_pfm_get_os_event_encoding" = xyes ++then : + pfm_libs="-lpfm" +-else ++else $as_nop + enable_perfevent=false + fi + +- for ac_header in perfmon/pfmlib_perf_event.h ++ for ac_header in perfmon/pfmlib_perf_event.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "perfmon/pfmlib_perf_event.h" "ac_cv_header_perfmon_pfmlib_perf_event_h" "$ac_includes_default" +-if test "x$ac_cv_header_perfmon_pfmlib_perf_event_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_PERFMON_PFMLIB_PERF_EVENT_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "perfmon/pfmlib_perf_event.h" "ac_cv_header_perfmon_pfmlib_perf_event_h" "$ac_includes_default" ++if test "x$ac_cv_header_perfmon_pfmlib_perf_event_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_PERFMON_PFMLIB_PERF_EVENT_H 1" >>confdefs.h + +-else ++else $as_nop + enable_perfevent=false + fi + + done +- + if test "$do_perfevent" != "check" -a "$enable_perfevent" != "true" + then + as_fn_error $? "libpfm is not installed, cannot enable the perfevent PMDA" "$LINENO" 5 +@@ -12036,19 +12940,20 @@ done + + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the perfevent PMDA should be included" >&5 +-$as_echo_n "checking if the perfevent PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the perfevent PMDA should be included" >&5 ++printf %s "checking if the perfevent PMDA should be included... " >&6; } + PMDA_PERFEVENT=$pmda_perfevent + +-if $pmda_perfevent; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hdr_init in -lhdr_histogram" >&5 +-$as_echo_n "checking for hdr_init in -lhdr_histogram... " >&6; } +-if ${ac_cv_lib_hdr_histogram_hdr_init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++if $pmda_perfevent; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hdr_init in -lhdr_histogram" >&5 ++printf %s "checking for hdr_init in -lhdr_histogram... " >&6; } ++if test ${ac_cv_lib_hdr_histogram_hdr_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lhdr_histogram $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -12057,40 +12962,40 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char hdr_init (); + int +-main () ++main (void) + { + return hdr_init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_hdr_histogram_hdr_init=yes +-else ++else $as_nop + ac_cv_lib_hdr_histogram_hdr_init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdr_histogram_hdr_init" >&5 +-$as_echo "$ac_cv_lib_hdr_histogram_hdr_init" >&6; } +-if test "x$ac_cv_lib_hdr_histogram_hdr_init" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdr_histogram_hdr_init" >&5 ++printf "%s\n" "$ac_cv_lib_hdr_histogram_hdr_init" >&6; } ++if test "x$ac_cv_lib_hdr_histogram_hdr_init" = xyes ++then : + lib_for_hdr_histogram="-lz -lhdr_histogram" + fi + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for chan_init in -lchan" >&5 +-$as_echo_n "checking for chan_init in -lchan... " >&6; } +-if ${ac_cv_lib_chan_chan_init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chan_init in -lchan" >&5 ++printf %s "checking for chan_init in -lchan... " >&6; } ++if test ${ac_cv_lib_chan_chan_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lchan $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -12099,42 +13004,43 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char chan_init (); + int +-main () ++main (void) + { + return chan_init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_chan_chan_init=yes +-else ++else $as_nop + ac_cv_lib_chan_chan_init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_chan_chan_init" >&5 +-$as_echo "$ac_cv_lib_chan_chan_init" >&6; } +-if test "x$ac_cv_lib_chan_chan_init" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_chan_chan_init" >&5 ++printf "%s\n" "$ac_cv_lib_chan_chan_init" >&6; } ++if test "x$ac_cv_lib_chan_chan_init" = xyes ++then : + lib_for_chan="-lchan" + fi + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the statsd PMDA should be included" >&5 +-$as_echo_n "checking if the statsd PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the statsd PMDA should be included" >&5 ++printf %s "checking if the statsd PMDA should be included... " >&6; } + pmda_statsd=false +-if test "x$do_pmdastatsd" = "xyes"; then : ++if test "x$do_pmdastatsd" = "xyes" ++then : + pmda_statsd=true + fi +-if test "x$do_pmdastatsd" = "xcheck"; then : ++if test "x$do_pmdastatsd" = "xcheck" ++then : + + if test "x$lib_for_hdr_histogram" != "x" -a "x$lib_for_chan" != "x"; then + pmda_statsd=true +@@ -12142,32 +13048,34 @@ if test "x$do_pmdastatsd" = "xcheck"; th + fi + PMDA_STATSD=$pmda_statsd + +-if $pmda_statsd; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_statsd; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the podman PMDA should be included" >&5 +-$as_echo_n "checking if the podman PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the podman PMDA should be included" >&5 ++printf %s "checking if the podman PMDA should be included... " >&6; } + pmda_podman=true +-if test "x$do_pmdapodman" = "xno"; then : ++if test "x$do_pmdapodman" = "xno" ++then : + pmda_podman=false + fi + PMDA_PODMAN=$pmda_podman + +-if $pmda_podman; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $pmda_podman; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + + pmda_postfix=false + for ac_prog in qshape + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_QSHAPE+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_prog_QSHAPE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + if test -n "$QSHAPE"; then + ac_cv_prog_QSHAPE="$QSHAPE" # Let the user override the test. + else +@@ -12176,11 +13084,15 @@ as_dummy="path=$PATH:/usr/sbin" + for as_dir in $as_dummy + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_QSHAPE="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -12191,19 +13103,19 @@ fi + fi + QSHAPE=$ac_cv_prog_QSHAPE + if test -n "$QSHAPE"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QSHAPE" >&5 +-$as_echo "$QSHAPE" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QSHAPE" >&5 ++printf "%s\n" "$QSHAPE" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + + test -n "$QSHAPE" && break + done + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postfix PMDA should be included" >&5 +-$as_echo_n "checking if the postfix PMDA should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the postfix PMDA should be included" >&5 ++printf %s "checking if the postfix PMDA should be included... " >&6; } + if test -n "$QSHAPE" + then + pmda_postfix=true +@@ -12219,406 +13131,71 @@ else + fi + PMDA_POSTFIX=$pmda_postfix + +-if $pmda_postfix; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi +- +-for ac_prog in seinfo +-do +- # Extract the first word of "$ac_prog", so it can be a program name with args. +-set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_prog_SEINFO+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- if test -n "$SEINFO"; then +- ac_cv_prog_SEINFO="$SEINFO" # Let the user override the test. +-else +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_prog_SEINFO="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +- done +-IFS=$as_save_IFS +- +-fi +-fi +-SEINFO=$ac_cv_prog_SEINFO +-if test -n "$SEINFO"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SEINFO" >&5 +-$as_echo "$SEINFO" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-fi ++if $pmda_postfix; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + +- +- test -n "$SEINFO" && break +-done +- +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if selinux policy should be included" >&5 +-$as_echo_n "checking if selinux policy should be included... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if selinux policy should be included" >&5 ++printf %s "checking if selinux policy should be included... " >&6; } + enable_selinux=false +-if test $target_os = mingw +-then +- : +-else +- if test "x$do_selinux" != "xno"; then : +- +- for makefile in /usr/share/selinux/devel/Makefile +- do +- if test -f "$makefile" -a "x$SEINFO" != "x" +- then +- enable_selinux=true +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- fi +- done +- ++if test "xdo_selinux" != "xno" ++then : + +-fi +-fi +-test "$enable_selinux" = "false" && { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- +- +- +-pcp_selinux_cap_userns_ptrace=false +-pcp_selinux_container_runtime=false +-pcp_selinux_nsfs=false +-pcp_selinux_docker_var_lib=false +-pcp_selinux_unreserved_port=false +-pcp_selinux_tracefs=false +-pcp_selinux_hostname_exec_map=false +-pcp_selinux_unconfined=false +-pcp_selinux_numad=false +-pcp_selinux_bpf=false +-pcp_selinux_dma_device=false +-pcp_selinux_files_list_non_auth_dirs=false +-pcp_selinux_container_var_run=false +-pcp_selinux_rpcbind_var_run=false +-pcp_selinux_virt_var_run=false +-pcp_selinux_proc_security=false +-pcp_selinux_sbd_exec=false +-pcp_selinux_capability2_syslog=false +-pcp_selinux_capability2_bpf=false +-pcp_selinux_icmp_socket_class=false +-pcp_selinux_glusterd_log=false +- +-pcp_selinux_initrc_tmp=false +-pcp_selinux_sudo_exec=false +-pcp_selinux_security=false +-pcp_selinux_chkpwd_exec=false +-pcp_selinux_initrc=false +-pcp_selinux_var_log=false +-pcp_selinux_lastlog=false +-pcp_selinux_xauth_exec=false +-pcp_selinux_logrotate=false +-pcp_selinux_faillog=false +-pcp_selinux_kmod_exec=false +-pcp_selinux_mdadm_conf=false +- +-pcp_selinux_netlink_selinux_socket_class=false +-pcp_selinux_netlink_audit_socket_class=false +-pcp_selinux_sock_file_class=false +-pcp_selinux_security_class=false +-pcp_selinux_dir_class=false +-pcp_selinux_rawip_socket_class=false +-pcp_selinux_netlink_generic_socket_class=false +-pcp_selinux_netlink_tcpdiag_socket_class=false +- +-if test "x$enable_selinux" != "xfalse"; then : +- +- +- +- seinfo -t >conftest.out +- +- +- grep '^[ ][ ]*container_runtime_t$' /dev/null \ +- && pcp_selinux_container_runtime=true +- grep '^[ ][ ]*nsfs_t$' /dev/null \ +- && pcp_selinux_nsfs=true +- grep '^[ ][ ]*docker_var_lib_t$' /dev/null \ +- && pcp_selinux_docker_var_lib=true +- grep '^[ ][ ]*unreserved_port_t$' /dev/null \ +- && pcp_selinux_unreserved_port=true +- grep '^[ ][ ]*tracefs_t$' /dev/null \ +- && pcp_selinux_tracefs=true +- grep '^[ ][ ]*unconfined_service_t$' /dev/null \ +- && pcp_selinux_unconfined=true +- grep '^[ ][ ]*numad_t$' /dev/null \ +- && pcp_selinux_numad=true +- grep '^[ ][ ]*container_var_run_t$' /dev/null \ +- && pcp_selinux_container_var_run=true +- grep '^[ ][ ]*rpcbind_var_run_t$' /dev/null \ +- && pcp_selinux_rpcbind_var_run=true +- grep '^[ ][ ]*virt_var_run_t$' /dev/null \ +- && pcp_selinux_virt_var_run=true +- grep '^[ ][ ]*proc_security_t$' /dev/null \ +- && pcp_selinux_proc_security=true +- grep '^[ ][ ]*sbd_exec_t$' /dev/null \ +- && pcp_selinux_sbd_exec=true +- grep '^[ ][ ]*kmod_exec_t$' /dev/null \ +- && pcp_selinux_kmod_exec=true +- grep '^[ ][ ]*dma_device_t$' /dev/null \ +- && pcp_selinux_dma_device=true +- grep '^[ ][ ]*glusterd_log_t$' /dev/null \ +- && pcp_selinux_glusterd_log=true +- grep '^[ ][ ]*mdadm_conf_t$' /dev/null \ +- && pcp_selinux_mdadm_conf=true +- +- +- grep '^[ ][ ]*initrc_tmp_t$' /dev/null \ +- && pcp_selinux_initrc_tmp=true +- grep '^[ ][ ]*sudo_exec_t$' /dev/null \ +- && pcp_selinux_sudo_exec=true +- grep '^[ ][ ]*security_t$' /dev/null \ +- && pcp_selinux_security=true +- grep '^[ ][ ]*chkpwd_exec_t$' /dev/null \ +- && pcp_selinux_chkpwd_exec=true +- grep '^[ ][ ]*initrc_t$' /dev/null \ +- && pcp_selinux_initrc=true +- grep '^[ ][ ]*var_log_t$' /dev/null \ +- && pcp_selinux_var_log=true +- grep '^[ ][ ]*lastlog_t$' /dev/null \ +- && pcp_selinux_lastlog=true +- grep '^[ ][ ]*xauth_exec_t$' /dev/null \ +- && pcp_selinux_xauth_exec=true +- grep '^[ ][ ]*logrotate_t$' /dev/null \ +- && pcp_selinux_logrotate=true +- grep '^[ ][ ]*faillog_t$' /dev/null \ +- && pcp_selinux_faillog=true +- +- rm -f conftest.out +- +- seinfo --common >/dev/null 2>&1 +- if test $? -eq 0 +- then +- seinfo_common_flag="--common" +- else +- seinfo_common_flag="" +- fi +- +- +- +- seinfo -x --class=cap_userns $seinfo_common_flag 2>/dev/null \ +- | grep '^[ ][ ]*sys_ptrace$' >/dev/null \ +- && pcp_selinux_cap_userns_ptrace=true +- +- seinfo -x --class=file $seinfo_common_flag 2>/dev/null \ +- | grep '^[ ][ ]*map$' >/dev/null \ +- && pcp_selinux_hostname_exec_map=true +- seinfo -x --common file 2>/dev/null \ +- | grep '^[ ][ ]*map$' >/dev/null \ +- && pcp_selinux_hostname_exec_map=true +- +- seinfo -x --class=bpf $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)bpf$' >/dev/null \ +- && pcp_selinux_bpf=true +- +- seinfo -a 2>/dev/null \ +- | grep '^[ ][ ]*non_auth_file_type$' >/dev/null \ +- && pcp_selinux_files_list_non_auth_dirs=true +- +- seinfo -x --class=capability2 $seinfo_common_flag 2>/dev/null \ +- | grep '^[ ][ ]*syslog$' >/dev/null \ +- && pcp_selinux_capability2_syslog=true +- +- seinfo -x --class=capability2 $seinfo_common_flag 2>/dev/null \ +- | grep '^[ ][ ]*bpf$' >/dev/null \ +- && pcp_selinux_capability2_bpf=true +- +- seinfo -x --class=icmp_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)icmp_socket$' >/dev/null \ +- && pcp_selinux_icmp_socket_class=true +- +- seinfo -x --class=lockdown $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)lockdown$' >/dev/null \ +- && pcp_selinux_lockdown_class=true +- +- +- seinfo -x --class=netlink_selinux_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)netlink_selinux_socket$' >/dev/null \ +- && pcp_selinux_netlink_selinux_socket_class=true +- +- seinfo -x --class=netlink_audit_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)netlink_audit_socket$' >/dev/null \ +- && pcp_selinux_netlink_audit_socket_class=true +- +- seinfo -x --class=sock_file $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)sock_file$' >/dev/null \ +- && pcp_selinux_sock_file_class=true +- +- seinfo -x --class=security $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)security$' >/dev/null \ +- && pcp_selinux_security_class=true +- +- seinfo -x --class=dir $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)dir$' >/dev/null \ +- && pcp_selinux_dir_class=true +- +- seinfo -x --class=rawip_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)rawip_socket$' >/dev/null \ +- && pcp_selinux_rawip_socket_class=true +- +- seinfo -x --class=netlink_generic_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)netlink_generic_socket$' >/dev/null \ +- && pcp_selinux_netlink_generic_socket_class=true +- +- seinfo -x --class=netlink_tcpdiag_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[ ][ ]*(class |)netlink_tcpdiag_socket$' >/dev/null \ +- && pcp_selinux_netlink_tcpdiag_socket_class=true +- +- +-fi +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +-pcp_selinux_files_mmap_all_files=false +-pcp_selinux_logging_watch_all_log_dirs_path=false +-if test "x$enable_selinux" != "xfalse" +-then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux files_mmap_all_files() macro" >&5 +-$as_echo_n "checking for selinux files_mmap_all_files() macro... " >&6; } +- cat <conftest.te +-module conftest 1.0; +-require { +- attribute file_type; +- attribute pcp_domain; +- class file { append create execute open read write unlink map }; +-} +-files_mmap_all_files(pcp_domain); +-End-of-File +- if make -f /usr/share/selinux/devel/Makefile conftest.pp >/dev/null 2>&1 ++ if test -f /usr/share/selinux/devel/Makefile + then +- pcp_selinux_files_mmap_all_files=true +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ enable_selinux=true ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + fi +- rm -f tmp/all_interfaces.conf tmp/conftest.* tmp/iferror.m4 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux logging_watch_all_log_dirs_path() macro" >&5 +-$as_echo_n "checking for selinux logging_watch_all_log_dirs_path() macro... " >&6; } +- cat <conftest.te +-module conftest 1.0; +-require { +- attribute logfile; +- attribute pcp_domain; +- class dir { getattr search open watch }; +-} +-logging_watch_all_log_dirs_path(pcp_domain); +-End-of-File +- if make -f /usr/share/selinux/devel/Makefile conftest.pp >/dev/null 2>&1 +- then +- pcp_selinux_logging_watch_all_log_dirs_path=true +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- fi +- rm -f tmp/all_interfaces.conf tmp/conftest.* tmp/iferror.m4 + fi ++test "$enable_selinux" = "false" && { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 +-$as_echo_n "checking return type of signal handlers... " >&6; } +-if ${ac_cv_type_signal+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 ++printf %s "checking return type of signal handlers... " >&6; } ++if test ${ac_cv_type_signal+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + #include + + int +-main () ++main (void) + { + return *(signal (0, 0)) (0) == 1; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + ac_cv_type_signal=int +-else ++else $as_nop + ac_cv_type_signal=void + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 +-$as_echo "$ac_cv_type_signal" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 ++printf "%s\n" "$ac_cv_type_signal" >&6; } + +-cat >>confdefs.h <<_ACEOF +-#define RETSIGTYPE $ac_cv_type_signal +-_ACEOF ++printf "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5 +-$as_echo_n "checking for wait3 that fills in rusage... " >&6; } +-if ${ac_cv_func_wait3_rusage+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- if test "$cross_compiling" = yes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5 ++printf %s "checking for wait3 that fills in rusage... " >&6; } ++if test ${ac_cv_func_wait3_rusage+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop ++ if test "$cross_compiling" = yes ++then : + ac_cv_func_wait3_rusage=no +-else ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + $ac_includes_default +@@ -12627,7 +13204,7 @@ $ac_includes_default + #include + /* HP-UX has wait3 but does not fill in rusage at all. */ + int +-main () ++main (void) + { + struct rusage r; + int i; +@@ -12657,9 +13234,10 @@ main () + } + } + _ACEOF +-if ac_fn_c_try_run "$LINENO"; then : ++if ac_fn_c_try_run "$LINENO" ++then : + ac_cv_func_wait3_rusage=yes +-else ++else $as_nop + ac_cv_func_wait3_rusage=no + fi + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +@@ -12667,319 +13245,557 @@ rm -f core *.core core.conftest.* gmon.o + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5 +-$as_echo "$ac_cv_func_wait3_rusage" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5 ++printf "%s\n" "$ac_cv_func_wait3_rusage" >&6; } + if test $ac_cv_func_wait3_rusage = yes; then + +-$as_echo "#define HAVE_WAIT3 1" >>confdefs.h ++printf "%s\n" "#define HAVE_WAIT3 1" >>confdefs.h + + fi + +-for ac_func in vprintf +-do : +- ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" +-if test "x$ac_cv_func_vprintf" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_VPRINTF 1 +-_ACEOF ++ac_func= ++for ac_item in $ac_func_c_list ++do ++ if test $ac_func; then ++ ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func ++ if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then ++ echo "#define $ac_item 1" >> confdefs.h ++ fi ++ ac_func= ++ else ++ ac_func=$ac_item ++ fi ++done + +-ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" +-if test "x$ac_cv_func__doprnt" = xyes; then : ++if test "x$ac_cv_func_vprintf" = xno ++then : ++ ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" ++if test "x$ac_cv_func__doprnt" = xyes ++then : + +-$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h ++printf "%s\n" "#define HAVE_DOPRNT 1" >>confdefs.h + + fi + + fi +-done ++ac_fn_c_check_func "$LINENO" "mktime" "ac_cv_func_mktime" ++if test "x$ac_cv_func_mktime" = xyes ++then : ++ printf "%s\n" "#define HAVE_MKTIME 1" >>confdefs.h + ++fi ++ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" ++if test "x$ac_cv_func_nanosleep" = xyes ++then : ++ printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h + +-for ac_func in mktime nanosleep usleep unsetenv +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep" ++if test "x$ac_cv_func_usleep" = xyes ++then : ++ printf "%s\n" "#define HAVE_USLEEP 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" ++if test "x$ac_cv_func_unsetenv" = xyes ++then : ++ printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h + +-for ac_func in select socket syslog sendmsg recvmsg setns +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ ++ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" ++if test "x$ac_cv_func_select" = xyes ++then : ++ printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" ++if test "x$ac_cv_func_socket" = xyes ++then : ++ printf "%s\n" "#define HAVE_SOCKET 1" >>confdefs.h + +-for ac_func in getuid getgid getpeerucred getpeereid +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog" ++if test "x$ac_cv_func_syslog" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYSLOG 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "sendmsg" "ac_cv_func_sendmsg" ++if test "x$ac_cv_func_sendmsg" = xyes ++then : ++ printf "%s\n" "#define HAVE_SENDMSG 1" >>confdefs.h + +-for ac_func in uname gethostname getdomainname getmachineid +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_func "$LINENO" "recvmsg" "ac_cv_func_recvmsg" ++if test "x$ac_cv_func_recvmsg" = xyes ++then : ++ printf "%s\n" "#define HAVE_RECVMSG 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "setns" "ac_cv_func_setns" ++if test "x$ac_cv_func_setns" = xyes ++then : ++ printf "%s\n" "#define HAVE_SETNS 1" >>confdefs.h + +-for ac_func in __clone pipe2 fcntl ioctl +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ ++ac_fn_c_check_func "$LINENO" "getuid" "ac_cv_func_getuid" ++if test "x$ac_cv_func_getuid" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETUID 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "getgid" "ac_cv_func_getgid" ++if test "x$ac_cv_func_getgid" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETGID 1" >>confdefs.h + +-for ac_func in prctl setlinebuf waitpid atexit kill +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_func "$LINENO" "getpeerucred" "ac_cv_func_getpeerucred" ++if test "x$ac_cv_func_getpeerucred" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETPEERUCRED 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "getpeereid" "ac_cv_func_getpeereid" ++if test "x$ac_cv_func_getpeereid" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETPEEREID 1" >>confdefs.h + +-for ac_func in chown fchmod getcwd scandir mkstemp +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ ++ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname" ++if test "x$ac_cv_func_uname" = xyes ++then : ++ printf "%s\n" "#define HAVE_UNAME 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname" ++if test "x$ac_cv_func_gethostname" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h + +-for ac_func in brk sbrk posix_memalign memalign valloc +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_func "$LINENO" "getdomainname" "ac_cv_func_getdomainname" ++if test "x$ac_cv_func_getdomainname" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETDOMAINNAME 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "getmachineid" "ac_cv_func_getmachineid" ++if test "x$ac_cv_func_getmachineid" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETMACHINEID 1" >>confdefs.h + +-for ac_func in signal sighold sigrelse tcgetattr +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ ++ac_fn_c_check_func "$LINENO" "__clone" "ac_cv_func___clone" ++if test "x$ac_cv_func___clone" = xyes ++then : ++ printf "%s\n" "#define HAVE___CLONE 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2" ++if test "x$ac_cv_func_pipe2" = xyes ++then : ++ printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h + +-for ac_func in regex regcmp regexec regcomp +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl" ++if test "x$ac_cv_func_fcntl" = xyes ++then : ++ printf "%s\n" "#define HAVE_FCNTL 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "ioctl" "ac_cv_func_ioctl" ++if test "x$ac_cv_func_ioctl" = xyes ++then : ++ printf "%s\n" "#define HAVE_IOCTL 1" >>confdefs.h + +-for ac_func in strtod strtol strtoll strtoull strndup strchrnul +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ ++ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl" ++if test "x$ac_cv_func_prctl" = xyes ++then : ++ printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "setlinebuf" "ac_cv_func_setlinebuf" ++if test "x$ac_cv_func_setlinebuf" = xyes ++then : ++ printf "%s\n" "#define HAVE_SETLINEBUF 1" >>confdefs.h + +-for ac_func in getgrent getgrent_r getgrnam getgrnam_r getgrgid getgrgid_r +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_func "$LINENO" "waitpid" "ac_cv_func_waitpid" ++if test "x$ac_cv_func_waitpid" = xyes ++then : ++ printf "%s\n" "#define HAVE_WAITPID 1" >>confdefs.h + + fi +-done ++ac_fn_c_check_func "$LINENO" "atexit" "ac_cv_func_atexit" ++if test "x$ac_cv_func_atexit" = xyes ++then : ++ printf "%s\n" "#define HAVE_ATEXIT 1" >>confdefs.h + +-for ac_func in getpwent getpwent_r getpwnam getpwnam_r getpwuid getpwuid_r +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++fi ++ac_fn_c_check_func "$LINENO" "kill" "ac_cv_func_kill" ++if test "x$ac_cv_func_kill" = xyes ++then : ++ printf "%s\n" "#define HAVE_KILL 1" >>confdefs.h + + fi +-done + +-for ac_func in sysinfo trace_back_stack backtrace +-do : +- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +-if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +-_ACEOF ++ac_fn_c_check_func "$LINENO" "chown" "ac_cv_func_chown" ++if test "x$ac_cv_func_chown" = xyes ++then : ++ printf "%s\n" "#define HAVE_CHOWN 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "fchmod" "ac_cv_func_fchmod" ++if test "x$ac_cv_func_fchmod" = xyes ++then : ++ printf "%s\n" "#define HAVE_FCHMOD 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd" ++if test "x$ac_cv_func_getcwd" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "scandir" "ac_cv_func_scandir" ++if test "x$ac_cv_func_scandir" = xyes ++then : ++ printf "%s\n" "#define HAVE_SCANDIR 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" ++if test "x$ac_cv_func_mkstemp" = xyes ++then : ++ printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "brk" "ac_cv_func_brk" ++if test "x$ac_cv_func_brk" = xyes ++then : ++ printf "%s\n" "#define HAVE_BRK 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "sbrk" "ac_cv_func_sbrk" ++if test "x$ac_cv_func_sbrk" = xyes ++then : ++ printf "%s\n" "#define HAVE_SBRK 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign" ++if test "x$ac_cv_func_posix_memalign" = xyes ++then : ++ printf "%s\n" "#define HAVE_POSIX_MEMALIGN 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "memalign" "ac_cv_func_memalign" ++if test "x$ac_cv_func_memalign" = xyes ++then : ++ printf "%s\n" "#define HAVE_MEMALIGN 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" ++if test "x$ac_cv_func_valloc" = xyes ++then : ++ printf "%s\n" "#define HAVE_VALLOC 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "signal" "ac_cv_func_signal" ++if test "x$ac_cv_func_signal" = xyes ++then : ++ printf "%s\n" "#define HAVE_SIGNAL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "sighold" "ac_cv_func_sighold" ++if test "x$ac_cv_func_sighold" = xyes ++then : ++ printf "%s\n" "#define HAVE_SIGHOLD 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "sigrelse" "ac_cv_func_sigrelse" ++if test "x$ac_cv_func_sigrelse" = xyes ++then : ++ printf "%s\n" "#define HAVE_SIGRELSE 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "tcgetattr" "ac_cv_func_tcgetattr" ++if test "x$ac_cv_func_tcgetattr" = xyes ++then : ++ printf "%s\n" "#define HAVE_TCGETATTR 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "regex" "ac_cv_func_regex" ++if test "x$ac_cv_func_regex" = xyes ++then : ++ printf "%s\n" "#define HAVE_REGEX 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "regcmp" "ac_cv_func_regcmp" ++if test "x$ac_cv_func_regcmp" = xyes ++then : ++ printf "%s\n" "#define HAVE_REGCMP 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec" ++if test "x$ac_cv_func_regexec" = xyes ++then : ++ printf "%s\n" "#define HAVE_REGEXEC 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "regcomp" "ac_cv_func_regcomp" ++if test "x$ac_cv_func_regcomp" = xyes ++then : ++ printf "%s\n" "#define HAVE_REGCOMP 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "strtod" "ac_cv_func_strtod" ++if test "x$ac_cv_func_strtod" = xyes ++then : ++ printf "%s\n" "#define HAVE_STRTOD 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" ++if test "x$ac_cv_func_strtol" = xyes ++then : ++ printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" ++if test "x$ac_cv_func_strtoll" = xyes ++then : ++ printf "%s\n" "#define HAVE_STRTOLL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strtoull" "ac_cv_func_strtoull" ++if test "x$ac_cv_func_strtoull" = xyes ++then : ++ printf "%s\n" "#define HAVE_STRTOULL 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" ++if test "x$ac_cv_func_strndup" = xyes ++then : ++ printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul" ++if test "x$ac_cv_func_strchrnul" = xyes ++then : ++ printf "%s\n" "#define HAVE_STRCHRNUL 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "getgrent" "ac_cv_func_getgrent" ++if test "x$ac_cv_func_getgrent" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETGRENT 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrent_r" "ac_cv_func_getgrent_r" ++if test "x$ac_cv_func_getgrent_r" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETGRENT_R 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrnam" "ac_cv_func_getgrnam" ++if test "x$ac_cv_func_getgrnam" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETGRNAM 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrnam_r" "ac_cv_func_getgrnam_r" ++if test "x$ac_cv_func_getgrnam_r" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETGRNAM_R 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrgid" "ac_cv_func_getgrgid" ++if test "x$ac_cv_func_getgrgid" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETGRGID 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getgrgid_r" "ac_cv_func_getgrgid_r" ++if test "x$ac_cv_func_getgrgid_r" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETGRGID_R 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "getpwent" "ac_cv_func_getpwent" ++if test "x$ac_cv_func_getpwent" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETPWENT 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwent_r" "ac_cv_func_getpwent_r" ++if test "x$ac_cv_func_getpwent_r" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETPWENT_R 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwnam" "ac_cv_func_getpwnam" ++if test "x$ac_cv_func_getpwnam" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETPWNAM 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwnam_r" "ac_cv_func_getpwnam_r" ++if test "x$ac_cv_func_getpwnam_r" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETPWNAM_R 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwuid" "ac_cv_func_getpwuid" ++if test "x$ac_cv_func_getpwuid" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETPWUID 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "getpwuid_r" "ac_cv_func_getpwuid_r" ++if test "x$ac_cv_func_getpwuid_r" = xyes ++then : ++ printf "%s\n" "#define HAVE_GETPWUID_R 1" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo" ++if test "x$ac_cv_func_sysinfo" = xyes ++then : ++ printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "trace_back_stack" "ac_cv_func_trace_back_stack" ++if test "x$ac_cv_func_trace_back_stack" = xyes ++then : ++ printf "%s\n" "#define HAVE_TRACE_BACK_STACK 1" >>confdefs.h ++ ++fi ++ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" ++if test "x$ac_cv_func_backtrace" = xyes ++then : ++ printf "%s\n" "#define HAVE_BACKTRACE 1" >>confdefs.h + + fi +-done + + + if test $target_os = solaris + then + ac_fn_c_check_type "$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default" +-if test "x$ac_cv_type___int32_t" = xyes; then : ++if test "x$ac_cv_type___int32_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define __int32_t int32_t +-_ACEOF ++printf "%s\n" "#define __int32_t int32_t" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default" +-if test "x$ac_cv_type___uint32_t" = xyes; then : ++if test "x$ac_cv_type___uint32_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define __uint32_t uint32_t +-_ACEOF ++printf "%s\n" "#define __uint32_t uint32_t" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default" +-if test "x$ac_cv_type___int64_t" = xyes; then : ++if test "x$ac_cv_type___int64_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define __int64_t int64_t +-_ACEOF ++printf "%s\n" "#define __int64_t int64_t" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default" +-if test "x$ac_cv_type___uint64_t" = xyes; then : ++if test "x$ac_cv_type___uint64_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define __uint64_t uint64_t +-_ACEOF ++printf "%s\n" "#define __uint64_t uint64_t" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default" +-if test "x$ac_cv_type_uint_t" = xyes; then : ++if test "x$ac_cv_type_uint_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define uint_t u_int32_t +-_ACEOF ++printf "%s\n" "#define uint_t u_int32_t" >>confdefs.h + + fi + + else + ac_fn_c_check_type "$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default" +-if test "x$ac_cv_type___int32_t" = xyes; then : ++if test "x$ac_cv_type___int32_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define __int32_t int +-_ACEOF ++printf "%s\n" "#define __int32_t int" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default" +-if test "x$ac_cv_type___uint32_t" = xyes; then : ++if test "x$ac_cv_type___uint32_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define __uint32_t unsigned int +-_ACEOF ++printf "%s\n" "#define __uint32_t unsigned int" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default" +-if test "x$ac_cv_type___int64_t" = xyes; then : ++if test "x$ac_cv_type___int64_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define __int64_t long long +-_ACEOF ++printf "%s\n" "#define __int64_t long long" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default" +-if test "x$ac_cv_type___uint64_t" = xyes; then : ++if test "x$ac_cv_type___uint64_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define __uint64_t unsigned long long +-_ACEOF ++printf "%s\n" "#define __uint64_t unsigned long long" >>confdefs.h + + fi + + ac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default" +-if test "x$ac_cv_type_uint_t" = xyes; then : ++if test "x$ac_cv_type_uint_t" = xyes ++then : + +-else ++else $as_nop + +-cat >>confdefs.h <<_ACEOF +-#define uint_t unsigned int +-_ACEOF ++printf "%s\n" "#define uint_t unsigned int" >>confdefs.h + + fi + + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __psint_t " >&5 +-$as_echo_n "checking for __psint_t ... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __psint_t " >&5 ++printf %s "checking for __psint_t ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -12988,26 +13804,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #include + + int +-main () ++main (void) + { + __psint_t psint; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE___PSINT_T 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE___PSINT_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t " >&5 +-$as_echo_n "checking for ptrdiff_t ... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t " >&5 ++printf %s "checking for ptrdiff_t ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -13017,26 +13834,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + ptrdiff_t ptrdiff; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_PTRDIFF_T 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_PTRDIFF_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t " >&5 +-$as_echo_n "checking for uid_t ... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t " >&5 ++printf %s "checking for uid_t ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -13046,25 +13864,26 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + uid_t uid; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_UID_T 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gid_t " >&5 +-$as_echo_n "checking for gid_t ... " >&6; } ++printf "%s\n" "#define HAVE_UID_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gid_t " >&5 ++printf %s "checking for gid_t ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -13074,25 +13893,26 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + gid_t gid; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_GID_T 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SID " >&5 +-$as_echo_n "checking for SID ... " >&6; } ++printf "%s\n" "#define HAVE_GID_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SID " >&5 ++printf %s "checking for SID ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -13101,26 +13921,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + SID sid; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_SID 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_SID 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t " >&5 +-$as_echo_n "checking for socklen_t ... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t " >&5 ++printf %s "checking for socklen_t ... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -13130,23 +13951,24 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + socklen_t len; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -13154,19 +13976,20 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #include + + int +-main () ++main (void) + { + long long x = 0LL; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_CONST_LONGLONG 1" >>confdefs.h ++printf "%s\n" "#define HAVE_CONST_LONGLONG 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -13175,23 +13998,24 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #include + + int +-main () ++main (void) + { + char **x = _environ; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_UNDERBAR_ENVIRON 1" >>confdefs.h ++printf "%s\n" "#define HAVE_UNDERBAR_ENVIRON 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_TERMCHILD constant in sys/prctl.h" >&5 +-$as_echo_n "checking for PR_TERMCHILD constant in sys/prctl.h... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PR_TERMCHILD constant in sys/prctl.h" >&5 ++printf %s "checking for PR_TERMCHILD constant in sys/prctl.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -13200,26 +14024,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + int i = PR_TERMCHILD; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_PR_TERMCHILD 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_PR_TERMCHILD 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_SET_PDEATHSIG constant in sys/prctl.h" >&5 +-$as_echo_n "checking for PR_SET_PDEATHSIG constant in sys/prctl.h... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PR_SET_PDEATHSIG constant in sys/prctl.h" >&5 ++printf %s "checking for PR_SET_PDEATHSIG constant in sys/prctl.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -13228,29 +14053,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + int i = PR_SET_PDEATHSIG; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_PR_SET_PDEATHSIG 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5 +-$as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; } +-if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++printf "%s\n" "#define HAVE_PR_SET_PDEATHSIG 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5 ++printf %s "checking whether termios.h defines TIOCGWINSZ... " >&6; } ++if test ${ac_cv_sys_tiocgwinsz_in_termios_h+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include +@@ -13261,23 +14089,25 @@ else + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "yes" >/dev/null 2>&1; then : ++ $EGREP "yes" >/dev/null 2>&1 ++then : + ac_cv_sys_tiocgwinsz_in_termios_h=yes +-else ++else $as_nop + ac_cv_sys_tiocgwinsz_in_termios_h=no + fi +-rm -f conftest* ++rm -rf conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 +-$as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 ++printf "%s\n" "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; } + + if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 +-$as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; } +-if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 ++printf %s "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; } ++if test ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include +@@ -13288,58 +14118,60 @@ else + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "yes" >/dev/null 2>&1; then : ++ $EGREP "yes" >/dev/null 2>&1 ++then : + ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes +-else ++else $as_nop + ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no + fi +-rm -f conftest* ++rm -rf conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 +-$as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 ++printf "%s\n" "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; } + + if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then + +-$as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h ++printf "%s\n" "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h + + fi + fi + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -rdynamic" >&5 +-$as_echo_n "checking if linker supports -rdynamic... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linker supports -rdynamic" >&5 ++printf %s "checking if linker supports -rdynamic... " >&6; } + save_CFLAGS="$CFLAGS" + CFLAGS="-rdynamic" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++if ac_fn_c_try_link "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + rdynamic_flag=-rdynamic +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + rdynamic_flag= + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether const arg for scandir() select method" >&5 +-$as_echo_n "checking whether const arg for scandir() select method... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether const arg for scandir() select method" >&5 ++printf %s "checking whether const arg for scandir() select method... " >&6; } + cat <conftest.c + #include + #include +@@ -13352,19 +14184,19 @@ End-of-File + cat conftest.out >&5 + if test -s conftest.out + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + else + +-$as_echo "#define HAVE_CONST_DIRENT 1" >>confdefs.h ++printf "%s\n" "#define HAVE_CONST_DIRENT 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + fi + rm -f conftest.* + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dirent has a d_off field" >&5 +-$as_echo_n "checking whether struct dirent has a d_off field... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct dirent has a d_off field" >&5 ++printf %s "checking whether struct dirent has a d_off field... " >&6; } + cat <conftest.c + #include + #include +@@ -13375,19 +14207,19 @@ End-of-File + cat conftest.out >&5 + if test -s conftest.out + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + else + +-$as_echo "#define HAVE_DIRENT_D_OFF 1" >>confdefs.h ++printf "%s\n" "#define HAVE_DIRENT_D_OFF 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + fi + rm -f conftest.* + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if printf %p produces 0x prefix" >&5 +-$as_echo_n "checking if printf %p produces 0x prefix... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if printf %p produces 0x prefix" >&5 ++printf %s "checking if printf %p produces 0x prefix... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$printf_p_prefix + echo "cross-compile -> \"$ans\"" >&5 +@@ -13405,14 +14237,14 @@ case "$ans" + in + 0x*) + +-$as_echo "#define HAVE_PRINTF_P_PFX 1" >>confdefs.h ++printf "%s\n" "#define HAVE_PRINTF_P_PFX 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + ;; + *) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + ;; + esac + rm -rf conftest conftest.* +@@ -13538,8 +14370,8 @@ $2 == "bozo" { t = $1 + esac + } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pid_t" >&5 +-$as_echo_n "checking printf type for pid_t... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking printf type for pid_t" >&5 ++printf %s "checking printf type for pid_t... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$printf_fmt_pid + echo "cross-compile -> \"$ans\"" >&5 +@@ -13556,13 +14388,13 @@ End-of-File + _do_type + fmt_pid=$_fmt + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pid" >&5 +-$as_echo "$fmt_pid" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fmt_pid" >&5 ++printf "%s\n" "$fmt_pid" >&6; } + + rm -rf conftest.c conftest.debug + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for int64_t " >&5 +-$as_echo_n "checking printf type for int64_t ... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking printf type for int64_t " >&5 ++printf %s "checking printf type for int64_t ... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$printf_fmt_int64 + echo "cross-compile -> \"$ans\"" >&5 +@@ -13663,15 +14495,15 @@ then + exit 1 + fi + fmt_int64=$ans +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_int64" >&5 +-$as_echo "$fmt_int64" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fmt_int64" >&5 ++printf "%s\n" "$fmt_int64" >&6; } + + fmt_uint64=`echo $fmt_int64 | sed -e 's/d$/u/'` + + rm -rf conftest.* conftest + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking strtol or strtoll for int64_t" >&5 +-$as_echo_n "checking strtol or strtoll for int64_t... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking strtol or strtoll for int64_t" >&5 ++printf %s "checking strtol or strtoll for int64_t... " >&6; } + if test "$cross_compiling" = "yes"; then + ans="$strtoint64" + echo "cross-compile -> \"$ans\"" >&5 +@@ -13704,48 +14536,47 @@ case "$ans" + in + strtol) + +-$as_echo "#define strtoint64 strtol" >>confdefs.h ++printf "%s\n" "#define strtoint64 strtol" >>confdefs.h + + +-$as_echo "#define strtouint64 strtoul" >>confdefs.h ++printf "%s\n" "#define strtouint64 strtoul" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtol" >&5 +-$as_echo "strtol" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: strtol" >&5 ++printf "%s\n" "strtol" >&6; } + ;; + strtoll) + +-$as_echo "#define strtoint64 strtoll" >>confdefs.h ++printf "%s\n" "#define strtoint64 strtoll" >>confdefs.h + + +-$as_echo "#define strtouint64 strtoull" >>confdefs.h ++printf "%s\n" "#define strtouint64 strtoull" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtoll" >&5 +-$as_echo "strtoll" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: strtoll" >&5 ++printf "%s\n" "strtoll" >&6; } + ;; + *) + +-$as_echo "#define strtoint64 strtoll" >>confdefs.h ++printf "%s\n" "#define strtoint64 strtoll" >>confdefs.h + + +-$as_echo "#define strtouint64 strtoull" >>confdefs.h ++printf "%s\n" "#define strtouint64 strtoull" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming strtoll" >&5 +-$as_echo "assuming strtoll" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: assuming strtoll" >&5 ++printf "%s\n" "assuming strtoll" >&6; } + ;; + esac + rm -rf conftest conftest.* + + if test "$do_threads" = "check" -o "$do_threads" = "yes" + then +- for ac_header in pthread.h ++ for ac_header in pthread.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" +-if test "x$ac_cv_header_pthread_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_PTHREAD_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" ++if test "x$ac_cv_header_pthread_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h + +-else ++else $as_nop + + if test "$do_threads" = "yes" + then +@@ -13756,40 +14587,40 @@ fi + + done + +- +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_t in pthread.h" >&5 +-$as_echo_n "checking for pthread_mutex_t in pthread.h... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_t in pthread.h" >&5 ++printf %s "checking for pthread_mutex_t in pthread.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + pthread_mutex_t mymutex; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_PTHREAD_MUTEX_T 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else ++printf "%s\n" "#define HAVE_PTHREAD_MUTEX_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop + + if test "$do_threads" = "yes" + then + as_fn_error $? "cannot enable multi-threaded mode - no mutexes" "$LINENO" 5 + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where pthread_create() is defined" >&5 +-$as_echo_n "checking where pthread_create() is defined... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where pthread_create() is defined" >&5 ++printf %s "checking where pthread_create() is defined... " >&6; } + for cand in "" pthreads pthread ; do + savedLIBS=$LIBS + if test -n "$cand" +@@ -13802,7 +14633,7 @@ $as_echo_n "checking where pthread_creat + #include + + int +-main () ++main (void) + { + + pthread_create(NULL, NULL, NULL, NULL); +@@ -13811,9 +14642,10 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: lib${cand:-c}" >&5 +-$as_echo "lib${cand:-c}" >&6; } ++if ac_fn_c_try_link "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: lib${cand:-c}" >&5 ++printf "%s\n" "lib${cand:-c}" >&6; } + if test -z "$cand" + then + lib_for_pthreads="$cand" +@@ -13823,7 +14655,7 @@ $as_echo "lib${cand:-c}" >&6; } + LIBS=$savedLIBS + break + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$savedLIBS + done +@@ -13831,21 +14663,21 @@ rm -f core conftest.err conftest.$ac_obj + + if test "$ac_cv_header_pthread_h" = "yes" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pthread_t" >&5 +-$as_echo_n "checking printf type for pthread_t... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking printf type for pthread_t" >&5 ++printf %s "checking printf type for pthread_t... " >&6; } + cat <conftest.c + #include + pthread_t bozo; + End-of-File + _do_type + fmt_pthread=$_fmt +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pthread" >&5 +-$as_echo "$fmt_pthread" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fmt_pthread" >&5 ++printf "%s\n" "$fmt_pthread" >&6; } + + rm -rf conftest.c conftest.debug + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports __thread" >&5 +-$as_echo_n "checking if compiler supports __thread... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports __thread" >&5 ++printf %s "checking if compiler supports __thread... " >&6; } + if test $target_os = netbsd + then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -13857,76 +14689,79 @@ broken! + __thread int x; + #endif + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE___THREAD 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE___THREAD 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + __thread int x; + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE___THREAD 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE___THREAD 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_barrier_t in pthread.h" >&5 +-$as_echo_n "checking for pthread_barrier_t in pthread.h... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_barrier_t in pthread.h" >&5 ++printf %s "checking for pthread_barrier_t in pthread.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + pthread_barrier_t mybarrier; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_PTHREAD_BARRIER_T 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_PTHREAD_BARRIER_T 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof suseconds_t" >&5 +-$as_echo_n "checking sizeof suseconds_t... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof suseconds_t" >&5 ++printf %s "checking sizeof suseconds_t... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$sizeof_suseconds_t + echo "cross-compile -> \"$ans\"" >&5 +@@ -13941,18 +14776,16 @@ End-of-File + echo "./conftest -> \"$ans\"" >&5 + rm -rf conftest conftest.* + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 +-$as_echo "$ans" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } + if test -n "$ans"; then + +-cat >>confdefs.h <<_ACEOF +-#define PM_SIZEOF_SUSECONDS_T $ans +-_ACEOF ++printf "%s\n" "#define PM_SIZEOF_SUSECONDS_T $ans" >>confdefs.h + + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof time_t" >&5 +-$as_echo_n "checking sizeof time_t... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof time_t" >&5 ++printf %s "checking sizeof time_t... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$sizeof_time_t + echo "cross-compile -> \"$ans\"" >&5 +@@ -13967,18 +14800,16 @@ End-of-File + echo "./conftest -> \"$ans\"" >&5 + rm -rf conftest conftest.* + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 +-$as_echo "$ans" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } + if test -n "$ans"; then + +-cat >>confdefs.h <<_ACEOF +-#define PM_SIZEOF_TIME_T $ans +-_ACEOF ++printf "%s\n" "#define PM_SIZEOF_TIME_T $ans" >>confdefs.h + + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof long" >&5 +-$as_echo_n "checking sizeof long... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof long" >&5 ++printf %s "checking sizeof long... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$sizeof_long + echo "cross-compile -> \"$ans\"" >&5 +@@ -13992,15 +14823,15 @@ End-of-File + ans=`./conftest` + echo "./conftest -> \"$ans\"" >&5 + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 +-$as_echo "$ans" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } + if test "$ans" = 4; then + +-$as_echo "#define HAVE_32BIT_LONG 1" >>confdefs.h ++printf "%s\n" "#define HAVE_32BIT_LONG 1" >>confdefs.h + + elif test "$ans" = 8; then + +-$as_echo "#define HAVE_64BIT_LONG 1" >>confdefs.h ++printf "%s\n" "#define HAVE_64BIT_LONG 1" >>confdefs.h + + else + echo +@@ -14011,8 +14842,8 @@ else + fi + rm -rf conftest conftest.* + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof pointer" >&5 +-$as_echo_n "checking sizeof pointer... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof pointer" >&5 ++printf %s "checking sizeof pointer... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$sizeof_pointer + echo "cross-compile -> \"$ans\"" >&5 +@@ -14026,16 +14857,16 @@ End-of-File + ans=`./conftest` + echo "./conftest -> \"$ans\"" >&5 + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 +-$as_echo "$ans" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } + if test "$ans" = 4; then + +-$as_echo "#define HAVE_32BIT_PTR 1" >>confdefs.h ++printf "%s\n" "#define HAVE_32BIT_PTR 1" >>confdefs.h + + PCP_PTR_SIZE=32 + elif test "$ans" = 8; then + +-$as_echo "#define HAVE_64BIT_PTR 1" >>confdefs.h ++printf "%s\n" "#define HAVE_64BIT_PTR 1" >>confdefs.h + + PCP_PTR_SIZE=64 + else +@@ -14047,8 +14878,8 @@ else + fi + rm -rf conftest conftest.* + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof int" >&5 +-$as_echo_n "checking sizeof int... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking sizeof int" >&5 ++printf %s "checking sizeof int... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$sizeof_int + echo "cross-compile -> \"$ans\"" >&5 +@@ -14062,8 +14893,8 @@ End-of-File + ans=`./conftest` + echo "./conftest -> \"$ans\"" >&5 + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 +-$as_echo "$ans" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++printf "%s\n" "$ans" >&6; } + if test "$ans" != 4 + then + echo +@@ -14075,8 +14906,8 @@ then + fi + rm -rf conftest conftest.* + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if bit fields allocated left-to-right" >&5 +-$as_echo_n "checking if bit fields allocated left-to-right... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if bit fields allocated left-to-right" >&5 ++printf %s "checking if bit fields allocated left-to-right... " >&6; } + if test "$cross_compiling" = "yes"; then + ans=$bit_field_scheme + echo "cross-compile -> \"$ans\"" >&5 +@@ -14096,20 +14927,20 @@ in + # left-to-right starting from MSB (SGI cc on MIPS), or + # left-to-right ending at LSB + +-$as_echo "#define HAVE_BITFIELDS_LTOR 1" >>confdefs.h ++printf "%s\n" "#define HAVE_BITFIELDS_LTOR 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + ;; + 2100*|*0021) + # right-to-left ending at MSB, or + # right-to-left starting from LSB (gcc in Intel) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + ;; + *) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 +-$as_echo "unknown" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 ++printf "%s\n" "unknown" >&6; } + echo "FATAL ERROR: could not fathom your compiler's bit field allocation scheme" + rm -f conftest conftest.* + exit 1 +@@ -14124,7 +14955,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #include + + int +-main () ++main (void) + { + + __uint64_t x = 0; +@@ -14134,40 +14965,38 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_CAST_U64_DOUBLE 1" >>confdefs.h ++printf "%s\n" "#define HAVE_CAST_U64_DOUBLE 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + +-for ac_func in basename +-do : +- ac_fn_c_check_func "$LINENO" "basename" "ac_cv_func_basename" +-if test "x$ac_cv_func_basename" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_BASENAME 1 +-_ACEOF ++ac_fn_c_check_func "$LINENO" "basename" "ac_cv_func_basename" ++if test "x$ac_cv_func_basename" = xyes ++then : ++ printf "%s\n" "#define HAVE_BASENAME 1" >>confdefs.h + + fi +-done + + if test $ac_cv_func_basename = yes + then + +-$as_echo "#define HAVE_BASENAME 1" >>confdefs.h ++printf "%s\n" "#define HAVE_BASENAME 1" >>confdefs.h + + +-$as_echo "#define HAVE_DIRNAME 1" >>confdefs.h ++printf "%s\n" "#define HAVE_DIRNAME 1" >>confdefs.h + + lib_for_basename="" + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basename in -lgen" >&5 +-$as_echo_n "checking for basename in -lgen... " >&6; } +-if ${ac_cv_lib_gen_basename+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for basename in -lgen" >&5 ++printf %s "checking for basename in -lgen... " >&6; } ++if test ${ac_cv_lib_gen_basename+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgen $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14176,33 +15005,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char basename (); + int +-main () ++main (void) + { + return basename (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_gen_basename=yes +-else ++else $as_nop + ac_cv_lib_gen_basename=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_basename" >&5 +-$as_echo "$ac_cv_lib_gen_basename" >&6; } +-if test "x$ac_cv_lib_gen_basename" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBGEN 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_basename" >&5 ++printf "%s\n" "$ac_cv_lib_gen_basename" >&6; } ++if test "x$ac_cv_lib_gen_basename" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBGEN 1" >>confdefs.h + + LIBS="-lgen $LIBS" + +@@ -14211,10 +15037,10 @@ fi + if test $ac_cv_lib_gen_basename = yes + then + +-$as_echo "#define HAVE_BASENAME 1" >>confdefs.h ++printf "%s\n" "#define HAVE_BASENAME 1" >>confdefs.h + + +-$as_echo "#define HAVE_DIRNAME 1" >>confdefs.h ++printf "%s\n" "#define HAVE_DIRNAME 1" >>confdefs.h + + lib_for_basename="-lgen" + else +@@ -14224,24 +15050,21 @@ fi + + + lib_for_clock_gettime= +-for ac_func in clock_gettime +-do : +- ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" +-if test "x$ac_cv_func_clock_gettime" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_CLOCK_GETTIME 1 +-_ACEOF ++ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" ++if test "x$ac_cv_func_clock_gettime" = xyes ++then : ++ printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h + + fi +-done + + if test $ac_cv_func_clock_gettime = no + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 +-$as_echo_n "checking for clock_gettime in -lrt... " >&6; } +-if ${ac_cv_lib_rt_clock_gettime+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 ++printf %s "checking for clock_gettime in -lrt... " >&6; } ++if test ${ac_cv_lib_rt_clock_gettime+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lrt $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14250,33 +15073,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char clock_gettime (); + int +-main () ++main (void) + { + return clock_gettime (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_rt_clock_gettime=yes +-else ++else $as_nop + ac_cv_lib_rt_clock_gettime=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 +-$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } +-if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBRT 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 ++printf "%s\n" "$ac_cv_lib_rt_clock_gettime" >&6; } ++if test "x$ac_cv_lib_rt_clock_gettime" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBRT 1" >>confdefs.h + + LIBS="-lrt $LIBS" + +@@ -14285,7 +15105,7 @@ fi + if test $ac_cv_lib_rt_clock_gettime = yes + then + +-$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h ++printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h + + lib_for_rt=-lrt + fi +@@ -14293,24 +15113,21 @@ fi + + + lib_for_dlopen= +-for ac_func in dlopen +-do : +- ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +-if test "x$ac_cv_func_dlopen" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_DLOPEN 1 +-_ACEOF ++ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" ++if test "x$ac_cv_func_dlopen" = xyes ++then : ++ printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h + + fi +-done + + if test $ac_cv_func_dlopen = no + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +-$as_echo_n "checking for dlopen in -ldl... " >&6; } +-if ${ac_cv_lib_dl_dlopen+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++printf %s "checking for dlopen in -ldl... " >&6; } ++if test ${ac_cv_lib_dl_dlopen+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14319,33 +15136,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char dlopen (); + int +-main () ++main (void) + { + return dlopen (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_dl_dlopen=yes +-else ++else $as_nop + ac_cv_lib_dl_dlopen=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +-$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +-if test "x$ac_cv_lib_dl_dlopen" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBDL 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h + + LIBS="-ldl $LIBS" + +@@ -14354,7 +15168,7 @@ fi + if test $ac_cv_lib_dl_dlopen = yes + then + +-$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h ++printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h + + lib_for_dlopen=-ldl + fi +@@ -14362,24 +15176,21 @@ fi + + + lib_for_math= +-for ac_func in flog10 +-do : +- ac_fn_c_check_func "$LINENO" "flog10" "ac_cv_func_flog10" +-if test "x$ac_cv_func_flog10" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_FLOG10 1 +-_ACEOF ++ac_fn_c_check_func "$LINENO" "flog10" "ac_cv_func_flog10" ++if test "x$ac_cv_func_flog10" = xyes ++then : ++ printf "%s\n" "#define HAVE_FLOG10 1" >>confdefs.h + + fi +-done + + if test $ac_cv_func_flog10 = no + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flog10 in -lm" >&5 +-$as_echo_n "checking for flog10 in -lm... " >&6; } +-if ${ac_cv_lib_m_flog10+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flog10 in -lm" >&5 ++printf %s "checking for flog10 in -lm... " >&6; } ++if test ${ac_cv_lib_m_flog10+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lm $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14388,33 +15199,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char flog10 (); + int +-main () ++main (void) + { + return flog10 (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_m_flog10=yes +-else ++else $as_nop + ac_cv_lib_m_flog10=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_flog10" >&5 +-$as_echo "$ac_cv_lib_m_flog10" >&6; } +-if test "x$ac_cv_lib_m_flog10" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBM 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_flog10" >&5 ++printf "%s\n" "$ac_cv_lib_m_flog10" >&6; } ++if test "x$ac_cv_lib_m_flog10" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h + + LIBS="-lm $LIBS" + +@@ -14423,33 +15231,30 @@ fi + if test $ac_cv_lib_m_flog10 = yes + then + +-$as_echo "#define HAVE_FLOG10 1" >>confdefs.h ++printf "%s\n" "#define HAVE_FLOG10 1" >>confdefs.h + + lib_for_math=-lm + fi + else + +-$as_echo "#define HAVE_FLOG10 1" >>confdefs.h ++printf "%s\n" "#define HAVE_FLOG10 1" >>confdefs.h + + fi +-for ac_func in pow +-do : +- ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" +-if test "x$ac_cv_func_pow" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_POW 1 +-_ACEOF ++ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" ++if test "x$ac_cv_func_pow" = xyes ++then : ++ printf "%s\n" "#define HAVE_POW 1" >>confdefs.h + + fi +-done + + if test $ac_cv_func_pow = no + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 +-$as_echo_n "checking for pow in -lm... " >&6; } +-if ${ac_cv_lib_m_pow+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 ++printf %s "checking for pow in -lm... " >&6; } ++if test ${ac_cv_lib_m_pow+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lm $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14458,33 +15263,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char pow (); + int +-main () ++main (void) + { + return pow (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_m_pow=yes +-else ++else $as_nop + ac_cv_lib_m_pow=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 +-$as_echo "$ac_cv_lib_m_pow" >&6; } +-if test "x$ac_cv_lib_m_pow" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBM 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 ++printf "%s\n" "$ac_cv_lib_m_pow" >&6; } ++if test "x$ac_cv_lib_m_pow" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h + + LIBS="-lm $LIBS" + +@@ -14493,17 +15295,17 @@ fi + if test $ac_cv_lib_m_pow = yes + then + +-$as_echo "#define HAVE_POW 1" >>confdefs.h ++printf "%s\n" "#define HAVE_POW 1" >>confdefs.h + + lib_for_math=-lm + fi + else + +-$as_echo "#define HAVE_POW 1" >>confdefs.h ++printf "%s\n" "#define HAVE_POW 1" >>confdefs.h + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify()" >&5 +-$as_echo_n "checking for fpclassify()... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fpclassify()" >&5 ++printf %s "checking for fpclassify()... " >&6; } + ac_cv_func_fpclassify=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ +@@ -14511,7 +15313,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #include + + int +-main () ++main (void) + { + + double x = 123.456; +@@ -14521,17 +15323,18 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_func_fpclassify=yes + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5 +-$as_echo "$ac_cv_func_fpclassify" >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5 ++printf "%s\n" "$ac_cv_func_fpclassify" >&6; } + if test $ac_cv_func_fpclassify = no + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify() with -lm" >&5 +-$as_echo_n "checking for fpclassify() with -lm... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fpclassify() with -lm" >&5 ++printf %s "checking for fpclassify() with -lm... " >&6; } + savedLIBS=$LIBS + LIBS=-lm + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14540,7 +15343,7 @@ $as_echo_n "checking for fpclassify() wi + #include + + int +-main () ++main (void) + { + + double x = 123.456; +@@ -14550,13 +15353,14 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_func_fpclassify=yes + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5 +-$as_echo "$ac_cv_func_fpclassify" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5 ++printf "%s\n" "$ac_cv_func_fpclassify" >&6; } + if test $ac_cv_func_fpclassify = yes + then + lib_for_math=-lm +@@ -14566,27 +15370,24 @@ fi + if test $ac_cv_func_fpclassify = yes + then + +-$as_echo "#define HAVE_FPCLASSIFY 1" >>confdefs.h ++printf "%s\n" "#define HAVE_FPCLASSIFY 1" >>confdefs.h + + else +- for ac_func in isnan +-do : +- ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +-if test "x$ac_cv_func_isnan" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_ISNAN 1 +-_ACEOF ++ ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" ++if test "x$ac_cv_func_isnan" = xyes ++then : ++ printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h + + fi +-done + + if test $ac_cv_func_isnan = no + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 +-$as_echo_n "checking for isnan in -lm... " >&6; } +-if ${ac_cv_lib_m_isnan+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 ++printf %s "checking for isnan in -lm... " >&6; } ++if test ${ac_cv_lib_m_isnan+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lm $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14595,33 +15396,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char isnan (); + int +-main () ++main (void) + { + return isnan (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_m_isnan=yes +-else ++else $as_nop + ac_cv_lib_m_isnan=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 +-$as_echo "$ac_cv_lib_m_isnan" >&6; } +-if test "x$ac_cv_lib_m_isnan" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBM 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 ++printf "%s\n" "$ac_cv_lib_m_isnan" >&6; } ++if test "x$ac_cv_lib_m_isnan" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h + + LIBS="-lm $LIBS" + +@@ -14630,29 +15428,26 @@ fi + if test $ac_cv_lib_m_isnan = yes + then + +-$as_echo "#define HAVE_ISNAN 1" >>confdefs.h ++printf "%s\n" "#define HAVE_ISNAN 1" >>confdefs.h + + lib_for_math=-lm + fi + fi +- for ac_func in isnanf +-do : +- ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" +-if test "x$ac_cv_func_isnanf" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_ISNANF 1 +-_ACEOF ++ ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" ++if test "x$ac_cv_func_isnanf" = xyes ++then : ++ printf "%s\n" "#define HAVE_ISNANF 1" >>confdefs.h + + fi +-done + + if test $ac_cv_func_isnanf = no + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf in -lm" >&5 +-$as_echo_n "checking for isnanf in -lm... " >&6; } +-if ${ac_cv_lib_m_isnanf+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isnanf in -lm" >&5 ++printf %s "checking for isnanf in -lm... " >&6; } ++if test ${ac_cv_lib_m_isnanf+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lm $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -14661,33 +15456,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char isnanf (); + int +-main () ++main (void) + { + return isnanf (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_m_isnanf=yes +-else ++else $as_nop + ac_cv_lib_m_isnanf=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnanf" >&5 +-$as_echo "$ac_cv_lib_m_isnanf" >&6; } +-if test "x$ac_cv_lib_m_isnanf" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBM 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnanf" >&5 ++printf "%s\n" "$ac_cv_lib_m_isnanf" >&6; } ++if test "x$ac_cv_lib_m_isnanf" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h + + LIBS="-lm $LIBS" + +@@ -14696,7 +15488,7 @@ fi + if test $ac_cv_lib_m_isnanf = yes + then + +-$as_echo "#define HAVE_ISNANF 1" >>confdefs.h ++printf "%s\n" "#define HAVE_ISNANF 1" >>confdefs.h + + lib_for_math=-lm + fi +@@ -14708,102 +15500,107 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + SIG_PF x; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_SIGPF 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SIGPF 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + int x = SA_SIGINFO; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_SA_SIGINFO 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SA_SIGINFO 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + int x = SIGPIPE; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_SIGPIPE 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SIGPIPE 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + int x = SIGHUP; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_SIGHUP 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SIGHUP 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + int x = SIGBUS; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_SIGBUS 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SIGBUS 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + typedef void (*SIGRET)(int); + SIGRET x = SIG_IGN; +@@ -14812,12 +15609,13 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-$as_echo "#define HAVE_WAIT_INCLUDES_SIGNAL 1" >>confdefs.h ++printf "%s\n" "#define HAVE_WAIT_INCLUDES_SIGNAL 1" >>confdefs.h + + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + + have_stat_type=false +@@ -14830,13 +15628,14 @@ then + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "[ ]st_mtimespec" >/dev/null 2>&1; then : ++ $EGREP "[ ]st_mtimespec" >/dev/null 2>&1 ++then : + have_stat_name=true; + +-$as_echo "#define HAVE_ST_MTIME_WITH_SPEC 1" >>confdefs.h ++printf "%s\n" "#define HAVE_ST_MTIME_WITH_SPEC 1" >>confdefs.h + + fi +-rm -f conftest* ++rm -rf conftest* + + fi + if test $have_stat_name = false -a $target_os != darwin -a $target_os != linux -a $target_os != kfreebsd -a $target_os != netbsd +@@ -14847,13 +15646,14 @@ then + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "[ ]st_mtime" >/dev/null 2>&1; then : ++ $EGREP "[ ]st_mtime" >/dev/null 2>&1 ++then : + have_stat_name=true; + +-$as_echo "#define HAVE_ST_MTIME_WITH_E 1" >>confdefs.h ++printf "%s\n" "#define HAVE_ST_MTIME_WITH_E 1" >>confdefs.h + + fi +-rm -f conftest* ++rm -rf conftest* + + fi + if test $have_stat_type = false +@@ -14864,13 +15664,14 @@ then + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "timestruc_t[ ][ ]*st_mtim" >/dev/null 2>&1; then : ++ $EGREP "timestruc_t[ ][ ]*st_mtim" >/dev/null 2>&1 ++then : + have_stat_type=true; + +-$as_echo "#define HAVE_STAT_TIMESTRUC 1" >>confdefs.h ++printf "%s\n" "#define HAVE_STAT_TIMESTRUC 1" >>confdefs.h + + fi +-rm -f conftest* ++rm -rf conftest* + + fi + if test $have_stat_type = false +@@ -14881,13 +15682,14 @@ then + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "timespec_t[ ][ ]*st_mtim" >/dev/null 2>&1; then : ++ $EGREP "timespec_t[ ][ ]*st_mtim" >/dev/null 2>&1 ++then : + have_stat_type=true; + +-$as_echo "#define HAVE_STAT_TIMESPEC_T 1" >>confdefs.h ++printf "%s\n" "#define HAVE_STAT_TIMESPEC_T 1" >>confdefs.h + + fi +-rm -f conftest* ++rm -rf conftest* + + fi + if test $have_stat_type = false +@@ -14898,13 +15700,14 @@ then + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "timespec[ ][ ]*st_mtim" >/dev/null 2>&1; then : ++ $EGREP "timespec[ ][ ]*st_mtim" >/dev/null 2>&1 ++then : + have_stat_type=true; + +-$as_echo "#define HAVE_STAT_TIMESPEC 1" >>confdefs.h ++printf "%s\n" "#define HAVE_STAT_TIMESPEC 1" >>confdefs.h + + fi +-rm -f conftest* ++rm -rf conftest* + + fi + if test $have_stat_type = false +@@ -14915,13 +15718,14 @@ then + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "time_t[ ][ ]*st_mtim" >/dev/null 2>&1; then : ++ $EGREP "time_t[ ][ ]*st_mtim" >/dev/null 2>&1 ++then : + have_stat_type=true; + +-$as_echo "#define HAVE_STAT_TIME_T 1" >>confdefs.h ++printf "%s\n" "#define HAVE_STAT_TIME_T 1" >>confdefs.h + + fi +-rm -f conftest* ++rm -rf conftest* + + fi + if test $have_stat_type = false +@@ -14960,6 +15764,10 @@ pcp_share_dir=`eval echo $datarootdir/pc + pcp_share_dir=`eval echo $pcp_share_dir` + + ++pcp_selinux_dir=`eval echo $datarootdir/selinux` ++pcp_selinux_dir=`eval echo $pcp_selinux_dir` ++ ++ + pcp_bashshare_dir=`eval echo $datarootdir/bash-completion` + pcp_bashshare_dir=`eval echo $pcp_bashshare_dir` + +@@ -14988,12 +15796,6 @@ pcp_pmdasadm_dir=`eval echo $libexecdir/ + pcp_pmdasadm_dir=`eval echo $pcp_pmdasadm_dir` + + +-pcp_selinux_dir=$pcp_var_dir/selinux +- +-pcp_selinuxadm_dir=`eval echo $libexecdir/pcp/selinux` +-pcp_selinuxadm_dir=`eval echo $pcp_selinuxadm_dir` +- +- + pcp_lib_dir=`eval echo $libdir` + pcp_lib_dir=`eval echo $pcp_lib_dir` + pcp_lib32_dir=`echo $pcp_lib_dir | sed -e s,64,, -e s,//,/,` +@@ -15002,9 +15804,10 @@ pcp_lib32_dir=`echo $pcp_lib_dir | sed - + + + # Check whether --with-perl_installdirs was given. +-if test "${with_perl_installdirs+set}" = set; then : ++if test ${with_perl_installdirs+y} ++then : + withval=$with_perl_installdirs; perl_installdirs=$withval +-else ++else $as_nop + perl_installdirs=vendor + fi + +@@ -15013,9 +15816,10 @@ perl_installdirs=`eval echo $perl_instal + + + # Check whether --with-perl_install_base was given. +-if test "${with_perl_install_base+set}" = set; then : ++if test ${with_perl_install_base+y} ++then : + withval=$with_perl_install_base; perl_install_base=$withval +-else ++else $as_nop + perl_install_base=$prefix + fi + +@@ -15025,9 +15829,10 @@ perl_install_base=`eval echo $perl_insta + + + # Check whether --with-python_prefix was given. +-if test "${with_python_prefix+set}" = set; then : ++if test ${with_python_prefix+y} ++then : + withval=$with_python_prefix; python_prefix=$withval +-else ++else $as_nop + python_prefix=$prefix + fi + +@@ -15035,12 +15840,13 @@ python_prefix=`eval echo $python_prefix` + python_prefix=`eval echo $python_prefix` + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 +-$as_echo_n "checking for X... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5 ++printf %s "checking for X... " >&6; } + + + # Check whether --with-x was given. +-if test "${with_x+set}" = set; then : ++if test ${with_x+y} ++then : + withval=$with_x; + fi + +@@ -15051,12 +15857,41 @@ if test "x$with_x" = xno; then + else + case $x_includes,$x_libraries in #( + *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( +- *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ *,NONE | NONE,*) if test ${ac_cv_have_x+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + # One or both of the vars are not set, and there is no cached value. +-ac_x_includes=no ac_x_libraries=no +-rm -f -r conftest.dir ++ac_x_includes=no ++ac_x_libraries=no ++# Do we need to do anything special at all? ++ac_save_LIBS=$LIBS ++LIBS="-lX11 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main (void) ++{ ++XrmInitialize () ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO" ++then : ++ # We can compile and link X programs with no special options. ++ ac_x_includes= ++ ac_x_libraries= ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS="$ac_save_LIBS" ++# If that didn't work, only try xmkmf and file system searches ++# for native compilation. ++if test x"$ac_x_includes" = xno && test "$cross_compiling" = no ++then : ++ rm -f -r conftest.dir + if mkdir conftest.dir; then + cd conftest.dir + cat >Imakefile <<'_ACEOF' +@@ -15095,7 +15930,7 @@ _ACEOF + rm -f -r conftest.dir + fi + +-# Standard set of common directories for X headers. ++ # Standard set of common directories for X headers. + # Check X11 before X11Rn because it is often a symlink to the current release. + ac_x_header_dirs=' + /usr/X11/include +@@ -15122,6 +15957,8 @@ ac_x_header_dirs=' + /usr/local/include/X11R5 + /usr/local/include/X11R4 + ++/opt/X11/include ++ + /usr/X386/include + /usr/x386/include + /usr/XFree86/include/X11 +@@ -15143,10 +15980,11 @@ if test "$ac_x_includes" = no; then + /* end confdefs.h. */ + #include + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : ++if ac_fn_c_try_cpp "$LINENO" ++then : + # We can compile using X headers with no special include directory. + ac_x_includes= +-else ++else $as_nop + for ac_dir in $ac_x_header_dirs; do + if test -r "$ac_dir/X11/Xlib.h"; then + ac_x_includes=$ac_dir +@@ -15167,20 +16005,21 @@ if test "$ac_x_libraries" = no; then + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + XrmInitialize () + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + LIBS=$ac_save_LIBS + # We can link X programs with no special library path. + ac_x_libraries= +-else ++else $as_nop + LIBS=$ac_save_LIBS +-for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` ++for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` + do + # Don't even attempt the hair of trying to link an X program! + for ac_extension in a so sl dylib la dll; do +@@ -15191,19 +16030,21 @@ do + done + done + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + fi # $ac_x_libraries = no + ++fi ++# Record the results. + case $ac_x_includes,$ac_x_libraries in #( +- no,* | *,no | *\'*) ++ no,* | *,no | *\'*) : + # Didn't find X, or a directory has "'" in its name. +- ac_cv_have_x="have_x=no";; #( +- *) ++ ac_cv_have_x="have_x=no" ;; #( ++ *) : + # Record where we found X for the cache. + ac_cv_have_x="have_x=yes\ + ac_x_includes='$ac_x_includes'\ +- ac_x_libraries='$ac_x_libraries'" ++ ac_x_libraries='$ac_x_libraries'" ;; + esac + fi + ;; #( +@@ -15213,8 +16054,8 @@ fi + fi # $with_x != no + + if test "$have_x" != yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 +-$as_echo "$have_x" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 ++printf "%s\n" "$have_x" >&6; } + no_x=yes + else + # If each of the values was on the command line, it overrides each guess. +@@ -15224,14 +16065,14 @@ else + ac_cv_have_x="have_x=yes\ + ac_x_includes='$x_includes'\ + ac_x_libraries='$x_libraries'" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 +-$as_echo "libraries $x_libraries, headers $x_includes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 ++printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; } + fi + + if test "$no_x" = yes; then + # Not all programs may use this symbol, but it does not hurt to define it. + +-$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h ++printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h + + X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= + else +@@ -15244,8 +16085,8 @@ else + X_LIBS="$X_LIBS -L$x_libraries" + # For Solaris; some versions of Sun CC require a space after -R and + # others require no space. Words are not sufficient . . . . +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 +-$as_echo_n "checking whether -R must be followed by a space... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 ++printf %s "checking whether -R must be followed by a space... " >&6; } + ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" + ac_xsave_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes +@@ -15253,42 +16094,44 @@ $as_echo_n "checking whether -R must be + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++if ac_fn_c_try_link "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + X_LIBS="$X_LIBS -R$x_libraries" +-else ++else $as_nop + LIBS="$ac_xsave_LIBS -R $x_libraries" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + int +-main () ++main (void) + { + + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++if ac_fn_c_try_link "$LINENO" ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + X_LIBS="$X_LIBS -R $x_libraries" +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 +-$as_echo "neither works" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 ++printf "%s\n" "neither works" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + ac_c_werror_flag=$ac_xsave_c_werror_flag + LIBS=$ac_xsave_LIBS +@@ -15311,26 +16154,25 @@ rm -f core conftest.err conftest.$ac_obj + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char XOpenDisplay (); + int +-main () ++main (void) + { + return XOpenDisplay (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 +-$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } +-if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 ++printf %s "checking for dnet_ntoa in -ldnet... " >&6; } ++if test ${ac_cv_lib_dnet_dnet_ntoa+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldnet $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -15339,39 +16181,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char dnet_ntoa (); + int +-main () ++main (void) + { + return dnet_ntoa (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_dnet_dnet_ntoa=yes +-else ++else $as_nop + ac_cv_lib_dnet_dnet_ntoa=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 +-$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } +-if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 ++printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; } ++if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes ++then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" + fi + + if test $ac_cv_lib_dnet_dnet_ntoa = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 +-$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } +-if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 ++printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; } ++if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldnet_stub $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -15380,36 +16222,35 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char dnet_ntoa (); + int +-main () ++main (void) + { + return dnet_ntoa (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_dnet_stub_dnet_ntoa=yes +-else ++else $as_nop + ac_cv_lib_dnet_stub_dnet_ntoa=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 +-$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } +-if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 ++printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } ++if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes ++then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" + fi + + fi + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$ac_xsave_LIBS" + +@@ -15422,16 +16263,18 @@ rm -f core conftest.err conftest.$ac_obj + # The functions gethostbyname, getservbyname, and inet_addr are + # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. + ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" +-if test "x$ac_cv_func_gethostbyname" = xyes; then : ++if test "x$ac_cv_func_gethostbyname" = xyes ++then : + + fi + + if test $ac_cv_func_gethostbyname = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 +-$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } +-if ${ac_cv_lib_nsl_gethostbyname+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 ++printf %s "checking for gethostbyname in -lnsl... " >&6; } ++if test ${ac_cv_lib_nsl_gethostbyname+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lnsl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -15440,39 +16283,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char gethostbyname (); + int +-main () ++main (void) + { + return gethostbyname (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_nsl_gethostbyname=yes +-else ++else $as_nop + ac_cv_lib_nsl_gethostbyname=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 +-$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } +-if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 ++printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } ++if test "x$ac_cv_lib_nsl_gethostbyname" = xyes ++then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" + fi + + if test $ac_cv_lib_nsl_gethostbyname = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 +-$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } +-if ${ac_cv_lib_bsd_gethostbyname+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 ++printf %s "checking for gethostbyname in -lbsd... " >&6; } ++if test ${ac_cv_lib_bsd_gethostbyname+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -15481,30 +16324,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char gethostbyname (); + int +-main () ++main (void) + { + return gethostbyname (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_bsd_gethostbyname=yes +-else ++else $as_nop + ac_cv_lib_bsd_gethostbyname=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 +-$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } +-if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 ++printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; } ++if test "x$ac_cv_lib_bsd_gethostbyname" = xyes ++then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" + fi + +@@ -15519,16 +16361,18 @@ fi + # must be given before -lnsl if both are needed. We assume that + # if connect needs -lnsl, so does gethostbyname. + ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" +-if test "x$ac_cv_func_connect" = xyes; then : ++if test "x$ac_cv_func_connect" = xyes ++then : + + fi + + if test $ac_cv_func_connect = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 +-$as_echo_n "checking for connect in -lsocket... " >&6; } +-if ${ac_cv_lib_socket_connect+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 ++printf %s "checking for connect in -lsocket... " >&6; } ++if test ${ac_cv_lib_socket_connect+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsocket $X_EXTRA_LIBS $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -15537,30 +16381,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char connect (); + int +-main () ++main (void) + { + return connect (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_socket_connect=yes +-else ++else $as_nop + ac_cv_lib_socket_connect=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 +-$as_echo "$ac_cv_lib_socket_connect" >&6; } +-if test "x$ac_cv_lib_socket_connect" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 ++printf "%s\n" "$ac_cv_lib_socket_connect" >&6; } ++if test "x$ac_cv_lib_socket_connect" = xyes ++then : + X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" + fi + +@@ -15568,16 +16411,18 @@ fi + + # Guillermo Gomez says -lposix is necessary on A/UX. + ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" +-if test "x$ac_cv_func_remove" = xyes; then : ++if test "x$ac_cv_func_remove" = xyes ++then : + + fi + + if test $ac_cv_func_remove = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 +-$as_echo_n "checking for remove in -lposix... " >&6; } +-if ${ac_cv_lib_posix_remove+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 ++printf %s "checking for remove in -lposix... " >&6; } ++if test ${ac_cv_lib_posix_remove+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lposix $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -15586,30 +16431,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char remove (); + int +-main () ++main (void) + { + return remove (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_posix_remove=yes +-else ++else $as_nop + ac_cv_lib_posix_remove=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 +-$as_echo "$ac_cv_lib_posix_remove" >&6; } +-if test "x$ac_cv_lib_posix_remove" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 ++printf "%s\n" "$ac_cv_lib_posix_remove" >&6; } ++if test "x$ac_cv_lib_posix_remove" = xyes ++then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" + fi + +@@ -15617,16 +16461,18 @@ fi + + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. + ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" +-if test "x$ac_cv_func_shmat" = xyes; then : ++if test "x$ac_cv_func_shmat" = xyes ++then : + + fi + + if test $ac_cv_func_shmat = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 +-$as_echo_n "checking for shmat in -lipc... " >&6; } +-if ${ac_cv_lib_ipc_shmat+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 ++printf %s "checking for shmat in -lipc... " >&6; } ++if test ${ac_cv_lib_ipc_shmat+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lipc $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -15635,30 +16481,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char shmat (); + int +-main () ++main (void) + { + return shmat (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_ipc_shmat=yes +-else ++else $as_nop + ac_cv_lib_ipc_shmat=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 +-$as_echo "$ac_cv_lib_ipc_shmat" >&6; } +-if test "x$ac_cv_lib_ipc_shmat" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 ++printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; } ++if test "x$ac_cv_lib_ipc_shmat" = xyes ++then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" + fi + +@@ -15674,11 +16519,12 @@ fi + # These have to be linked with before -lX11, unlike the other + # libraries we check for below, so use a different variable. + # John Interrante, Karl Berry +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 +-$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } +-if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 ++printf %s "checking for IceConnectionNumber in -lICE... " >&6; } ++if test ${ac_cv_lib_ICE_IceConnectionNumber+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lICE $X_EXTRA_LIBS $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -15687,30 +16533,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char IceConnectionNumber (); + int +-main () ++main (void) + { + return IceConnectionNumber (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_ICE_IceConnectionNumber=yes +-else ++else $as_nop + ac_cv_lib_ICE_IceConnectionNumber=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 +-$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } +-if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 ++printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } ++if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes ++then : + X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" + fi + +@@ -15727,8 +16572,8 @@ pcp_x11_extra=$X_EXTRA_LIBS + pcp_x11_pre=$X_PRE_LIBS + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if man pages should packaged" >&5 +-$as_echo_n "checking if man pages should packaged... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if man pages should packaged" >&5 ++printf %s "checking if man pages should packaged... " >&6; } + have_manpages=false + have_gzipped_manpages=false + have_bzip2ed_manpages=false +@@ -15804,9 +16649,9 @@ else + fi + fi + +-if $have_manpages; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; }; fi ++if $have_manpages; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; }; else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; }; fi + + + +@@ -15846,11 +16691,12 @@ pcp_icons_dir=`eval echo $pcp_icons_dir` + + test -z "$INKSCAPE" && # Extract the first word of "inkscape", so it can be a program name with args. + set dummy inkscape; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_INKSCAPE+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_INKSCAPE+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $INKSCAPE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INKSCAPE="$INKSCAPE" # Let the user override the test with a path. +@@ -15860,11 +16706,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_INKSCAPE="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_INKSCAPE="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -15876,11 +16726,11 @@ esac + fi + INKSCAPE=$ac_cv_path_INKSCAPE + if test -n "$INKSCAPE"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INKSCAPE" >&5 +-$as_echo "$INKSCAPE" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INKSCAPE" >&5 ++printf "%s\n" "$INKSCAPE" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -15890,8 +16740,8 @@ inkscape=$INKSCAPE + have_hicolor_icons=false + if test -d /usr/share/icons/hicolor -a -n "$INKSCAPE" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: adding hicolor desktop icons to the build" >&5 +-$as_echo "$as_me: adding hicolor desktop icons to the build" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: adding hicolor desktop icons to the build" >&5 ++printf "%s\n" "$as_me: adding hicolor desktop icons to the build" >&6;} + have_hicolor_icons=true + fi + +@@ -15902,9 +16752,10 @@ pcp_desktop_dir=`eval echo $pcp_desktop_ + + + # Check whether --with-rcdir was given. +-if test "${with_rcdir+set}" = set; then : ++if test ${with_rcdir+y} ++then : + withval=$with_rcdir; pcp_rc_dir=$withval +-else ++else $as_nop + + if $enable_systemd + then +@@ -15924,9 +16775,10 @@ fi + + + # Check whether --with-sysconfigdir was given. +-if test "${with_sysconfigdir+set}" = set; then : ++if test ${with_sysconfigdir+y} ++then : + withval=$with_sysconfigdir; pcp_sysconfig_dir=$withval +-else ++else $as_nop + pcp_sysconfig_dir=$pcp_etc_dir/sysconfig + fi + +@@ -15934,9 +16786,10 @@ fi + + + # Check whether --with-logdir was given. +-if test "${with_logdir+set}" = set; then : ++if test ${with_logdir+y} ++then : + withval=$with_logdir; pcp_log_dir=$withval +-else ++else $as_nop + pcp_log_dir=$localstatedir/log/pcp + fi + +@@ -15955,9 +16808,10 @@ pcp_pacct_system_path="$localstatedir/ac + + + # Check whether --with-rundir was given. +-if test "${with_rundir+set}" = set; then : ++if test ${with_rundir+y} ++then : + withval=$with_rundir; pcp_run_dir=$withval +-else ++else $as_nop + + if test -d /run + then +@@ -15973,9 +16827,10 @@ pcp_run_dir=`eval echo $pcp_run_dir` + + + # Check whether --with-tmpdir was given. +-if test "${with_tmpdir+set}" = set; then : ++if test ${with_tmpdir+y} ++then : + withval=$with_tmpdir; pcp_tmpfile_dir=$withval +-else ++else $as_nop + pcp_tmpfile_dir=$localstatedir/tmp + fi + +@@ -15988,9 +16843,10 @@ pcp_tmp_dir=`eval echo $pcp_var_dir/tmp` + + + # Check whether --with-docdir was given. +-if test "${with_docdir+set}" = set; then : ++if test ${with_docdir+y} ++then : + withval=$with_docdir; pcp_doc_dir=$withval +-else ++else $as_nop + PACKAGE=pcp-${PACKAGE_VERSION}; pcp_doc_dir=$docdir + fi + +@@ -16000,9 +16856,10 @@ pcp_doc_dir=`eval echo $pcp_doc_dir` + + + # Check whether --with-demosdir was given. +-if test "${with_demosdir+set}" = set; then : ++if test ${with_demosdir+y} ++then : + withval=$with_demosdir; pcp_demos_dir=$withval +-else ++else $as_nop + pcp_demos_dir=$pcp_share_dir/demos + fi + +@@ -16012,11 +16869,12 @@ if test -z "$XCONFIRM" + then + # Extract the first word of "xconfirm", so it can be a program name with args. + set dummy xconfirm; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if ${ac_cv_path_ac_xconfirm_prog+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++printf %s "checking for $ac_word... " >&6; } ++if test ${ac_cv_path_ac_xconfirm_prog+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + case $ac_xconfirm_prog in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_xconfirm_prog="$ac_xconfirm_prog" # Let the user override the test with a path. +@@ -16026,11 +16884,15 @@ else + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac + for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then +- ac_cv_path_ac_xconfirm_prog="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_xconfirm_prog="$as_dir$ac_word$ac_exec_ext" ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +@@ -16043,11 +16905,11 @@ esac + fi + ac_xconfirm_prog=$ac_cv_path_ac_xconfirm_prog + if test -n "$ac_xconfirm_prog"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_xconfirm_prog" >&5 +-$as_echo "$ac_xconfirm_prog" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_xconfirm_prog" >&5 ++printf "%s\n" "$ac_xconfirm_prog" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + + +@@ -16058,41 +16920,42 @@ fi + + if test "$ac_cv_header_fcntl_h" = "yes" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FNDELAY in fcntl.h" >&5 +-$as_echo_n "checking for FNDELAY in fcntl.h... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FNDELAY in fcntl.h" >&5 ++printf %s "checking for FNDELAY in fcntl.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + int i = FNDELAY; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_FNDELAY 1" >>confdefs.h ++printf "%s\n" "#define HAVE_FNDELAY 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + if test "$ac_cv_header_libzfs_h" = "yes" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 5-argument style zpool_vdev_name" >&5 +-$as_echo_n "checking for 5-argument style zpool_vdev_name... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 5-argument style zpool_vdev_name" >&5 ++printf %s "checking for 5-argument style zpool_vdev_name... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + libzfs_handle_t *zh; + zpool_handle_t *zp; +@@ -16103,25 +16966,26 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_ZPOOL_VDEV_NAME_5ARG 1" >>confdefs.h ++printf "%s\n" "#define HAVE_ZPOOL_VDEV_NAME_5ARG 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zpool_vdev_name" >&5 +-$as_echo_n "checking for 4-argument style zpool_vdev_name... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zpool_vdev_name" >&5 ++printf %s "checking for 4-argument style zpool_vdev_name... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + libzfs_handle_t *zh; + zpool_handle_t *zp; +@@ -16132,28 +16996,29 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_ZPOOL_VDEV_NAME_4ARG 1" >>confdefs.h ++printf "%s\n" "#define HAVE_ZPOOL_VDEV_NAME_4ARG 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + if test "$ac_cv_header_libzfs_h" = "yes" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zfs_iter_snapshots" >&5 +-$as_echo_n "checking for 4-argument style zfs_iter_snapshots... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zfs_iter_snapshots" >&5 ++printf %s "checking for 4-argument style zfs_iter_snapshots... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + zfs_handle_t *zh; + zfs_iter_f callback; +@@ -16163,25 +17028,26 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_ZFS_ITER_SNAPSHOTS_4ARG 1" >>confdefs.h ++printf "%s\n" "#define HAVE_ZFS_ITER_SNAPSHOTS_4ARG 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-argument style zfs_iter_snapshots" >&5 +-$as_echo_n "checking for 3-argument style zfs_iter_snapshots... " >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 3-argument style zfs_iter_snapshots" >&5 ++printf %s "checking for 3-argument style zfs_iter_snapshots... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + zfs_handle_t *zh; + zfs_iter_f callback; +@@ -16191,17 +17057,18 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_ZFS_ITER_SNAPSHOTS_3ARG 1" >>confdefs.h ++printf "%s\n" "#define HAVE_ZFS_ITER_SNAPSHOTS_3ARG 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + if test "$do_secure" = "check" -o "$do_secure" = "yes" +@@ -16215,25 +17082,23 @@ then + CFLAGS="$CFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS" + CPPFLAGS="$CPPFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS" + +- for ac_header in nss/nss.h ++ for ac_header in nss/nss.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "nss/nss.h" "ac_cv_header_nss_nss_h" "$ac_includes_default" +-if test "x$ac_cv_header_nss_nss_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_NSS_NSS_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "nss/nss.h" "ac_cv_header_nss_nss_h" "$ac_includes_default" ++if test "x$ac_cv_header_nss_nss_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NSS_NSS_H 1" >>confdefs.h + NSSCFLAGS=-I/usr/include/nss +-else ++else $as_nop + +- for ac_header in nss3/nss.h ++ for ac_header in nss3/nss.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "nss3/nss.h" "ac_cv_header_nss3_nss_h" "$ac_includes_default" +-if test "x$ac_cv_header_nss3_nss_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_NSS3_NSS_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "nss3/nss.h" "ac_cv_header_nss3_nss_h" "$ac_includes_default" ++if test "x$ac_cv_header_nss3_nss_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NSS3_NSS_H 1" >>confdefs.h + NSSCFLAGS=-I/usr/include/nss3 +-else ++else $as_nop + + enable_secure=false + if test "$do_secure" = "yes" +@@ -16245,32 +17110,28 @@ fi + + done + +- + fi + + done + + +- +- for ac_header in nspr/nspr.h ++ for ac_header in nspr/nspr.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "nspr/nspr.h" "ac_cv_header_nspr_nspr_h" "$ac_includes_default" +-if test "x$ac_cv_header_nspr_nspr_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_NSPR_NSPR_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "nspr/nspr.h" "ac_cv_header_nspr_nspr_h" "$ac_includes_default" ++if test "x$ac_cv_header_nspr_nspr_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NSPR_NSPR_H 1" >>confdefs.h + NSPRCFLAGS=-I/usr/include/nspr +-else ++else $as_nop + +- for ac_header in nspr4/nspr.h ++ for ac_header in nspr4/nspr.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "nspr4/nspr.h" "ac_cv_header_nspr4_nspr_h" "$ac_includes_default" +-if test "x$ac_cv_header_nspr4_nspr_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_NSPR4_NSPR_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "nspr4/nspr.h" "ac_cv_header_nspr4_nspr_h" "$ac_includes_default" ++if test "x$ac_cv_header_nspr4_nspr_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_NSPR4_NSPR_H 1" >>confdefs.h + NSPRCFLAGS=-I/usr/include/nspr4 +-else ++else $as_nop + + enable_secure=false + if test "$do_secure" = "yes" +@@ -16282,22 +17143,19 @@ fi + + done + +- + fi + + done + + +- +- for ac_header in sasl/sasl.h ++ for ac_header in sasl/sasl.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" +-if test "x$ac_cv_header_sasl_sasl_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_SASL_SASL_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sasl_sasl_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h + SASLCFLAGS=-I/usr/include/sasl +-else ++else $as_nop + + enable_secure=false + if test "$do_secure" = "yes" +@@ -16310,12 +17168,12 @@ fi + done + + +- +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_server_init in -lsasl2" >&5 +-$as_echo_n "checking for sasl_server_init in -lsasl2... " >&6; } +-if ${ac_cv_lib_sasl2_sasl_server_init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sasl_server_init in -lsasl2" >&5 ++printf %s "checking for sasl_server_init in -lsasl2... " >&6; } ++if test ${ac_cv_lib_sasl2_sasl_server_init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsasl2 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16324,32 +17182,31 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char sasl_server_init (); + int +-main () ++main (void) + { + return sasl_server_init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_sasl2_sasl_server_init=yes +-else ++else $as_nop + ac_cv_lib_sasl2_sasl_server_init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_server_init" >&5 +-$as_echo "$ac_cv_lib_sasl2_sasl_server_init" >&6; } +-if test "x$ac_cv_lib_sasl2_sasl_server_init" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_server_init" >&5 ++printf "%s\n" "$ac_cv_lib_sasl2_sasl_server_init" >&6; } ++if test "x$ac_cv_lib_sasl2_sasl_server_init" = xyes ++then : + lib_for_sasl="-lsasl2" +-else ++else $as_nop + + enable_secure=false + if test "$do_secure" = "yes" +@@ -16361,11 +17218,12 @@ fi + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl" >&5 +-$as_echo_n "checking for SSL_ImportFD in -lssl... " >&6; } +-if ${ac_cv_lib_ssl_SSL_ImportFD+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl" >&5 ++printf %s "checking for SSL_ImportFD in -lssl... " >&6; } ++if test ${ac_cv_lib_ssl_SSL_ImportFD+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lssl $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16374,38 +17232,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char SSL_ImportFD (); + int +-main () ++main (void) + { + return SSL_ImportFD (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_ssl_SSL_ImportFD=yes +-else ++else $as_nop + ac_cv_lib_ssl_SSL_ImportFD=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ImportFD" >&5 +-$as_echo "$ac_cv_lib_ssl_SSL_ImportFD" >&6; } +-if test "x$ac_cv_lib_ssl_SSL_ImportFD" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ImportFD" >&5 ++printf "%s\n" "$ac_cv_lib_ssl_SSL_ImportFD" >&6; } ++if test "x$ac_cv_lib_ssl_SSL_ImportFD" = xyes ++then : + lib_for_ssl="-lssl" +-else ++else $as_nop + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl3" >&5 +-$as_echo_n "checking for SSL_ImportFD in -lssl3... " >&6; } +-if ${ac_cv_lib_ssl3_SSL_ImportFD+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl3" >&5 ++printf %s "checking for SSL_ImportFD in -lssl3... " >&6; } ++if test ${ac_cv_lib_ssl3_SSL_ImportFD+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lssl3 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16414,32 +17272,31 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char SSL_ImportFD (); + int +-main () ++main (void) + { + return SSL_ImportFD (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_ssl3_SSL_ImportFD=yes +-else ++else $as_nop + ac_cv_lib_ssl3_SSL_ImportFD=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl3_SSL_ImportFD" >&5 +-$as_echo "$ac_cv_lib_ssl3_SSL_ImportFD" >&6; } +-if test "x$ac_cv_lib_ssl3_SSL_ImportFD" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl3_SSL_ImportFD" >&5 ++printf "%s\n" "$ac_cv_lib_ssl3_SSL_ImportFD" >&6; } ++if test "x$ac_cv_lib_ssl3_SSL_ImportFD" = xyes ++then : + lib_for_ssl="-lssl3" +-else ++else $as_nop + + enable_secure=false + if test "$do_secure" = "yes" +@@ -16454,11 +17311,12 @@ fi + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss" >&5 +-$as_echo_n "checking for NSS_Init in -lnss... " >&6; } +-if ${ac_cv_lib_nss_NSS_Init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss" >&5 ++printf %s "checking for NSS_Init in -lnss... " >&6; } ++if test ${ac_cv_lib_nss_NSS_Init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lnss $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16467,38 +17325,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char NSS_Init (); + int +-main () ++main (void) + { + return NSS_Init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_nss_NSS_Init=yes +-else ++else $as_nop + ac_cv_lib_nss_NSS_Init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss_NSS_Init" >&5 +-$as_echo "$ac_cv_lib_nss_NSS_Init" >&6; } +-if test "x$ac_cv_lib_nss_NSS_Init" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss_NSS_Init" >&5 ++printf "%s\n" "$ac_cv_lib_nss_NSS_Init" >&6; } ++if test "x$ac_cv_lib_nss_NSS_Init" = xyes ++then : + lib_for_nss="-lnss" +-else ++else $as_nop + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss3" >&5 +-$as_echo_n "checking for NSS_Init in -lnss3... " >&6; } +-if ${ac_cv_lib_nss3_NSS_Init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss3" >&5 ++printf %s "checking for NSS_Init in -lnss3... " >&6; } ++if test ${ac_cv_lib_nss3_NSS_Init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lnss3 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16507,32 +17365,31 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char NSS_Init (); + int +-main () ++main (void) + { + return NSS_Init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_nss3_NSS_Init=yes +-else ++else $as_nop + ac_cv_lib_nss3_NSS_Init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Init" >&5 +-$as_echo "$ac_cv_lib_nss3_NSS_Init" >&6; } +-if test "x$ac_cv_lib_nss3_NSS_Init" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Init" >&5 ++printf "%s\n" "$ac_cv_lib_nss3_NSS_Init" >&6; } ++if test "x$ac_cv_lib_nss3_NSS_Init" = xyes ++then : + lib_for_nss="-lnss3" +-else ++else $as_nop + + enable_secure=false + if test "$do_secure" = "yes" +@@ -16547,11 +17404,12 @@ fi + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr" >&5 +-$as_echo_n "checking for PR_Init in -lnspr... " >&6; } +-if ${ac_cv_lib_nspr_PR_Init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr" >&5 ++printf %s "checking for PR_Init in -lnspr... " >&6; } ++if test ${ac_cv_lib_nspr_PR_Init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lnspr $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16560,38 +17418,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char PR_Init (); + int +-main () ++main (void) + { + return PR_Init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_nspr_PR_Init=yes +-else ++else $as_nop + ac_cv_lib_nspr_PR_Init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr_PR_Init" >&5 +-$as_echo "$ac_cv_lib_nspr_PR_Init" >&6; } +-if test "x$ac_cv_lib_nspr_PR_Init" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr_PR_Init" >&5 ++printf "%s\n" "$ac_cv_lib_nspr_PR_Init" >&6; } ++if test "x$ac_cv_lib_nspr_PR_Init" = xyes ++then : + lib_for_nspr="-lnspr" +-else ++else $as_nop + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr4" >&5 +-$as_echo_n "checking for PR_Init in -lnspr4... " >&6; } +-if ${ac_cv_lib_nspr4_PR_Init+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr4" >&5 ++printf %s "checking for PR_Init in -lnspr4... " >&6; } ++if test ${ac_cv_lib_nspr4_PR_Init+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lnspr4 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16600,32 +17458,31 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char PR_Init (); + int +-main () ++main (void) + { + return PR_Init (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_nspr4_PR_Init=yes +-else ++else $as_nop + ac_cv_lib_nspr4_PR_Init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr4_PR_Init" >&5 +-$as_echo "$ac_cv_lib_nspr4_PR_Init" >&6; } +-if test "x$ac_cv_lib_nspr4_PR_Init" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr4_PR_Init" >&5 ++printf "%s\n" "$ac_cv_lib_nspr4_PR_Init" >&6; } ++if test "x$ac_cv_lib_nspr4_PR_Init" = xyes ++then : + lib_for_nspr="-lnspr4" +-else ++else $as_nop + + enable_secure=false + if test "$do_secure" = "yes" +@@ -16643,7 +17500,7 @@ fi + if test "$enable_secure" = "true" + then + +-$as_echo "#define HAVE_SECURE_SOCKETS 1" >>confdefs.h ++printf "%s\n" "#define HAVE_SECURE_SOCKETS 1" >>confdefs.h + + fi + +@@ -16652,11 +17509,12 @@ $as_echo "#define HAVE_SECURE_SOCKETS 1" + CFLAGS="$saved_CFLAGS" + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add_4 in -latomic" >&5 +-$as_echo_n "checking for __atomic_fetch_add_4 in -latomic... " >&6; } +-if ${ac_cv_lib_atomic___atomic_fetch_add_4+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add_4 in -latomic" >&5 ++printf %s "checking for __atomic_fetch_add_4 in -latomic... " >&6; } ++if test ${ac_cv_lib_atomic___atomic_fetch_add_4+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-latomic $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16665,30 +17523,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char __atomic_fetch_add_4 (); + int +-main () ++main (void) + { + return __atomic_fetch_add_4 (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_atomic___atomic_fetch_add_4=yes +-else ++else $as_nop + ac_cv_lib_atomic___atomic_fetch_add_4=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_fetch_add_4" >&5 +-$as_echo "$ac_cv_lib_atomic___atomic_fetch_add_4" >&6; } +-if test "x$ac_cv_lib_atomic___atomic_fetch_add_4" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_fetch_add_4" >&5 ++printf "%s\n" "$ac_cv_lib_atomic___atomic_fetch_add_4" >&6; } ++if test "x$ac_cv_lib_atomic___atomic_fetch_add_4" = xyes ++then : + lib_for_atomic="-latomic" + fi + +@@ -16696,23 +17553,24 @@ fi + + enable_lzma=false + enable_decompression=false +-if test "x$do_decompression" != "xno"; then : ++if test "x$do_decompression" != "xno" ++then : + + # Check for -llzma + enable_lzma=true + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma" >&5 +-$as_echo_n "checking for lzma... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma" >&5 ++printf %s "checking for lzma... " >&6; } + + if test -n "$lzma_CFLAGS"; then + pkg_cv_lzma_CFLAGS="$lzma_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 + ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_lzma_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -16726,10 +17584,10 @@ if test -n "$lzma_LIBS"; then + pkg_cv_lzma_LIBS="$lzma_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 + ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_lzma_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -16743,8 +17601,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -16761,19 +17619,20 @@ fi + + enable_lzma=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + enable_lzma=false + else + lzma_CFLAGS=$pkg_cv_lzma_CFLAGS + lzma_LIBS=$pkg_cv_lzma_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_index_stream_flags in -llzma" >&5 +-$as_echo_n "checking for lzma_index_stream_flags in -llzma... " >&6; } +-if ${ac_cv_lib_lzma_lzma_index_stream_flags+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_index_stream_flags in -llzma" >&5 ++printf %s "checking for lzma_index_stream_flags in -llzma... " >&6; } ++if test ${ac_cv_lib_lzma_lzma_index_stream_flags+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-llzma $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -16782,59 +17641,56 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char lzma_index_stream_flags (); + int +-main () ++main (void) + { + return lzma_index_stream_flags (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_lzma_lzma_index_stream_flags=yes +-else ++else $as_nop + ac_cv_lib_lzma_lzma_index_stream_flags=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_index_stream_flags" >&5 +-$as_echo "$ac_cv_lib_lzma_lzma_index_stream_flags" >&6; } +-if test "x$ac_cv_lib_lzma_lzma_index_stream_flags" = xyes; then : ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_index_stream_flags" >&5 ++printf "%s\n" "$ac_cv_lib_lzma_lzma_index_stream_flags" >&6; } ++if test "x$ac_cv_lib_lzma_lzma_index_stream_flags" = xyes ++then : + lib_for_lzma="-llzma" +-else ++else $as_nop + enable_lzma=false + fi + + + fi + +- for ac_header in lzma.h ++ for ac_header in lzma.h + do : +- ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" +-if test "x$ac_cv_header_lzma_h" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LZMA_H 1 +-_ACEOF ++ ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" ++if test "x$ac_cv_header_lzma_h" = xyes ++then : ++ printf "%s\n" "#define HAVE_LZMA_H 1" >>confdefs.h + +-else ++else $as_nop + enable_lzma=false + fi + + done + +- + if test "$enable_lzma" = "true" + then + + + +-$as_echo "#define HAVE_LZMA_DECOMPRESSION 1" >>confdefs.h ++printf "%s\n" "#define HAVE_LZMA_DECOMPRESSION 1" >>confdefs.h + + enable_decompression=true + fi +@@ -16847,7 +17703,7 @@ $as_echo "#define HAVE_LZMA_DECOMPRESSIO + if test "$enable_decompression" = "true" + then + +-$as_echo "#define HAVE_TRANSPARENT_DECOMPRESSION 1" >>confdefs.h ++printf "%s\n" "#define HAVE_TRANSPARENT_DECOMPRESSION 1" >>confdefs.h + + fi + +@@ -16863,8 +17719,8 @@ else + fi + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_un in sys/un.h" >&5 +-$as_echo_n "checking for struct sockaddr_un in sys/un.h... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_un in sys/un.h" >&5 ++printf %s "checking for struct sockaddr_un in sys/un.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -16877,26 +17733,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + struct sockaddr_un sa; sa.sun_family = AF_UNIX; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_STRUCT_SOCKADDR_UN 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ucred in sys/socket.h" >&5 +-$as_echo_n "checking for struct ucred in sys/socket.h... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct ucred in sys/socket.h" >&5 ++printf %s "checking for struct ucred in sys/socket.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -16909,82 +17766,86 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + #endif + + int +-main () ++main (void) + { + struct ucred ucred; ucred.uid = 0; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_STRUCT_UCRED 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_STRUCT_UCRED 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in time.h" >&5 +-$as_echo_n "checking for struct timespec in time.h... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in time.h" >&5 ++printf %s "checking for struct timespec in time.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include + + int +-main () ++main (void) + { + struct timespec foo; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for altzone in time.h" >&5 +-$as_echo_n "checking for altzone in time.h... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for altzone in time.h" >&5 ++printf %s "checking for altzone in time.h... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + + #include + + int +-main () ++main (void) + { + time_t az = altzone; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_ALTZONE 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strftime knows about %z" >&5 +-$as_echo_n "checking if strftime knows about %z... " >&6; } +-if test "$cross_compiling" = yes; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +-else ++printf "%s\n" "#define HAVE_ALTZONE 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++ ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strftime knows about %z" >&5 ++printf %s "checking if strftime knows about %z... " >&6; } ++if test "$cross_compiling" = yes ++then : ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } ++else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -17001,58 +17862,62 @@ int main () { + } + + _ACEOF +-if ac_fn_c_try_run "$LINENO"; then : ++if ac_fn_c_try_run "$LINENO" ++then : + +-$as_echo "#define HAVE_STRFTIME_z 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_STRFTIME_z 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r returns char *" >&5 +-$as_echo_n "checking if strerror_r returns char *... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r returns char *" >&5 ++printf %s "checking if strerror_r returns char *... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include + int +-main () ++main (void) + { + strerror_r(0, NULL, 0)[0]; + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_STRERROR_R_PTR 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_STRERROR_R_PTR 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + savedLIBS=$LIBS + LIBS= + lib_for_curses= + lib_for_readline= + ac_fn_c_check_func "$LINENO" "readline" "ac_cv_func_readline" +-if test "x$ac_cv_func_readline" = xyes; then : ++if test "x$ac_cv_func_readline" = xyes ++then : + +-else ++else $as_nop + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 +-$as_echo_n "checking for readline in -lreadline... " >&6; } +-if ${ac_cv_lib_readline_readline+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 ++printf %s "checking for readline in -lreadline... " >&6; } ++if test ${ac_cv_lib_readline_readline+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lreadline $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -17061,43 +17926,41 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char readline (); + int +-main () ++main (void) + { + return readline (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_readline_readline=yes +-else ++else $as_nop + ac_cv_lib_readline_readline=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 +-$as_echo "$ac_cv_lib_readline_readline" >&6; } +-if test "x$ac_cv_lib_readline_readline" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBREADLINE 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 ++printf "%s\n" "$ac_cv_lib_readline_readline" >&6; } ++if test "x$ac_cv_lib_readline_readline" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBREADLINE 1" >>confdefs.h + + LIBS="-lreadline $LIBS" + +-else ++else $as_nop + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5 +-$as_echo_n "checking for add_history in -lreadline... " >&6; } +-if ${ac_cv_lib_readline_add_history+:} false; then : +- $as_echo_n "(cached) " >&6 +-else ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5 ++printf %s "checking for add_history in -lreadline... " >&6; } ++if test ${ac_cv_lib_readline_add_history+y} ++then : ++ printf %s "(cached) " >&6 ++else $as_nop + ac_check_lib_save_LIBS=$LIBS + LIBS="-lreadline -lcurses $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -17106,33 +17969,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-#ifdef __cplusplus +-extern "C" +-#endif + char add_history (); + int +-main () ++main (void) + { + return add_history (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++if ac_fn_c_try_link "$LINENO" ++then : + ac_cv_lib_readline_add_history=yes +-else ++else $as_nop + ac_cv_lib_readline_add_history=no + fi +-rm -f core conftest.err conftest.$ac_objext \ ++rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5 +-$as_echo "$ac_cv_lib_readline_add_history" >&6; } +-if test "x$ac_cv_lib_readline_add_history" = xyes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBREADLINE 1 +-_ACEOF ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5 ++printf "%s\n" "$ac_cv_lib_readline_add_history" >&6; } ++if test "x$ac_cv_lib_readline_add_history" = xyes ++then : ++ printf "%s\n" "#define HAVE_LIBREADLINE 1" >>confdefs.h + + LIBS="-lreadline $LIBS" + +@@ -17147,18 +18007,18 @@ fi + if test $ac_cv_func_readline = yes + then + +-$as_echo "#define HAVE_READLINE 1" >>confdefs.h ++printf "%s\n" "#define HAVE_READLINE 1" >>confdefs.h + + elif test $ac_cv_lib_readline_readline = yes + then + +-$as_echo "#define HAVE_READLINE 1" >>confdefs.h ++printf "%s\n" "#define HAVE_READLINE 1" >>confdefs.h + + lib_for_readline=-lreadline + elif test $ac_cv_lib_readline_add_history = yes + then + +-$as_echo "#define HAVE_READLINE 1" >>confdefs.h ++printf "%s\n" "#define HAVE_READLINE 1" >>confdefs.h + + lib_for_curses=-lcurses + lib_for_readline=-lreadline +@@ -17169,17 +18029,17 @@ LIBS=$savedLIBS + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 +-$as_echo_n "checking for zlib... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 ++printf %s "checking for zlib... " >&6; } + + if test -n "$zlib_CFLAGS"; then + pkg_cv_zlib_CFLAGS="$zlib_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -17193,10 +18053,10 @@ if test -n "$zlib_LIBS"; then + pkg_cv_zlib_LIBS="$zlib_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib >= 1.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -17210,8 +18070,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -17228,14 +18088,14 @@ fi + + have_zlib=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_zlib=false + else + zlib_CFLAGS=$pkg_cv_zlib_CFLAGS + zlib_LIBS=$pkg_cv_zlib_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_zlib=true + fi + HAVE_ZLIB=$have_zlib +@@ -17243,17 +18103,17 @@ HAVE_ZLIB=$have_zlib + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmocka" >&5 +-$as_echo_n "checking for cmocka... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmocka" >&5 ++printf %s "checking for cmocka... " >&6; } + + if test -n "$cmocka_CFLAGS"; then + pkg_cv_cmocka_CFLAGS="$cmocka_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka\""; } >&5 + ($PKG_CONFIG --exists --print-errors "cmocka") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_cmocka_CFLAGS=`$PKG_CONFIG --cflags "cmocka" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -17267,10 +18127,10 @@ if test -n "$cmocka_LIBS"; then + pkg_cv_cmocka_LIBS="$cmocka_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka\""; } >&5 ++ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka\""; } >&5 + ($PKG_CONFIG --exists --print-errors "cmocka") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_cmocka_LIBS=`$PKG_CONFIG --libs "cmocka" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +@@ -17284,8 +18144,8 @@ fi + + + if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + + if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +@@ -17302,21 +18162,21 @@ fi + + have_cmocka=false + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + have_cmocka=false + else + cmocka_CFLAGS=$pkg_cv_cmocka_CFLAGS + cmocka_LIBS=$pkg_cv_cmocka_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } + have_cmocka=true + fi + HAVE_CMOCKA=$have_cmocka + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AI_ADDRCONFIG" >&5 +-$as_echo_n "checking for AI_ADDRCONFIG... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AI_ADDRCONFIG" >&5 ++printf %s "checking for AI_ADDRCONFIG... " >&6; } + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -17324,7 +18184,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ + int test = AI_ADDRCONFIG; + + int +-main () ++main (void) + { + + +@@ -17332,16 +18192,17 @@ main () + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++if ac_fn_c_try_compile "$LINENO" ++then : + +-$as_echo "#define HAVE_AI_ADDRCONFIG 1" >>confdefs.h +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } ++printf "%s\n" "#define HAVE_AI_ADDRCONFIG 1" >>confdefs.h ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++printf "%s\n" "yes" >&6; } ++else $as_nop ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++printf "%s\n" "no" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + + pcp_prefix=`eval echo $prefix` + +@@ -17377,8 +18238,8 @@ _ACEOF + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( +- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( +@@ -17408,15 +18269,15 @@ $as_echo "$as_me: WARNING: cache variabl + /^ac_cv_env_/b end + t clear + :clear +- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ++ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache + if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +-$as_echo "$as_me: updating cache $cache_file" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++printf "%s\n" "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else +@@ -17430,8 +18291,8 @@ $as_echo "$as_me: updating cache $cache_ + fi + fi + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} + fi + fi + rm -f confcache +@@ -17448,7 +18309,7 @@ U= + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' +- ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ++ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" +@@ -17464,8 +18325,8 @@ LTLIBOBJS=$ac_ltlibobjs + ac_write_fail=0 + ac_clean_files_save=$ac_clean_files + ac_clean_files="$ac_clean_files $CONFIG_STATUS" +-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} + as_write_fail=0 + cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 + #! $SHELL +@@ -17488,14 +18349,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_wri + + # Be more Bourne compatible + DUALCASE=1; export DUALCASE # for MKS sh +-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++as_nop=: ++if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 ++then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +-else ++else $as_nop + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( +@@ -17505,46 +18368,46 @@ esac + fi + + ++ ++# Reset variables that may have inherited troublesome values from ++# the environment. ++ ++# IFS needs to be set, to space, tab, and newline, in precisely that order. ++# (If _AS_PATH_WALK were called with IFS unset, it would have the ++# side effect of setting IFS to empty, thus disabling word splitting.) ++# Quoting is to prevent editors from complaining about space-tab. + as_nl=' + ' + export as_nl +-# Printing a long string crashes Solaris 7 /usr/bin/printf. +-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +-# Prefer a ksh shell builtin over an external printf program on Solaris, +-# but without wasting forks for bash or zsh. +-if test -z "$BASH_VERSION$ZSH_VERSION" \ +- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then +- as_echo='print -r --' +- as_echo_n='print -rn --' +-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then +- as_echo='printf %s\n' +- as_echo_n='printf %s' +-else +- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then +- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' +- as_echo_n='/usr/ucb/echo -n' +- else +- as_echo_body='eval expr "X$1" : "X\\(.*\\)"' +- as_echo_n_body='eval +- arg=$1; +- case $arg in #( +- *"$as_nl"*) +- expr "X$arg" : "X\\(.*\\)$as_nl"; +- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; +- esac; +- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" +- ' +- export as_echo_n_body +- as_echo_n='sh -c $as_echo_n_body as_echo' +- fi +- export as_echo_body +- as_echo='sh -c $as_echo_body as_echo' +-fi ++IFS=" "" $as_nl" ++ ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# Ensure predictable behavior from utilities with locale-dependent output. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# We cannot yet rely on "unset" to work, but we need these variables ++# to be unset--not just set to an empty or harmless value--now, to ++# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct ++# also avoids known problems related to "unset" and subshell syntax ++# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). ++for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH ++do eval test \${$as_var+y} \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++ ++# Ensure that fds 0, 1, and 2 are open. ++if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi ++if (exec 3>&2) ; then :; else exec 2>/dev/null; fi + + # The user is always right. +-if test "${PATH_SEPARATOR+set}" != set; then ++if ${PATH_SEPARATOR+false} :; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || +@@ -17553,13 +18416,6 @@ if test "${PATH_SEPARATOR+set}" != set; + fi + + +-# IFS +-# We need space, tab and new line, in precisely that order. Quoting is +-# there to prevent editors from complaining about space-tab. +-# (If _AS_PATH_WALK were called with IFS unset, it would disable word +-# splitting by setting IFS to empty value.) +-IFS=" "" $as_nl" +- + # Find who we are. Look in the path if we contain no directory separator. + as_myself= + case $0 in #(( +@@ -17568,8 +18424,12 @@ case $0 in #(( + for as_dir in $PATH + do + IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ case $as_dir in #((( ++ '') as_dir=./ ;; ++ */) ;; ++ *) as_dir=$as_dir/ ;; ++ esac ++ test -r "$as_dir$0" && as_myself=$as_dir$0 && break + done + IFS=$as_save_IFS + +@@ -17581,30 +18441,10 @@ if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then +- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 + fi + +-# Unset variables that we do not need and which cause bugs (e.g. in +-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +-# suppresses any "Segmentation fault" message there. '((' could +-# trigger a bug in pdksh 5.2.14. +-for as_var in BASH_ENV ENV MAIL MAILPATH +-do eval test x\${$as_var+set} = xset \ +- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +-done +-PS1='$ ' +-PS2='> ' +-PS4='+ ' +- +-# NLS nuisances. +-LC_ALL=C +-export LC_ALL +-LANGUAGE=C +-export LANGUAGE +- +-# CDPATH. +-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + + # as_fn_error STATUS ERROR [LINENO LOG_FD] +@@ -17617,13 +18457,14 @@ as_fn_error () + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi +- $as_echo "$as_me: error: $2" >&2 ++ printf "%s\n" "$as_me: error: $2" >&2 + as_fn_exit $as_status + } # as_fn_error + + ++ + # as_fn_set_status STATUS + # ----------------------- + # Set $? to STATUS, without forking. +@@ -17650,18 +18491,20 @@ as_fn_unset () + { eval $1=; unset $1;} + } + as_unset=as_fn_unset ++ + # as_fn_append VAR VALUE + # ---------------------- + # Append the text in VALUE to the end of the definition contained in VAR. Take + # advantage of any shell optimizations that allow amortized linear growth over + # repeated appends, instead of the typical quadratic growth present in naive + # implementations. +-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null ++then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +-else ++else $as_nop + as_fn_append () + { + eval $1=\$$1\$2 +@@ -17673,12 +18516,13 @@ fi # as_fn_append + # Perform arithmetic evaluation on the ARGs, and store the result in the + # global $as_val. Take advantage of shells that can avoid forks. The arguments + # must be portable across $(()) and expr. +-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null ++then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +-else ++else $as_nop + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` +@@ -17709,7 +18553,7 @@ as_me=`$as_basename -- "$0" || + $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X/"$0" | ++printf "%s\n" X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q +@@ -17731,6 +18575,10 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTE + as_cr_digits='0123456789' + as_cr_alnum=$as_cr_Letters$as_cr_digits + ++ ++# Determine whether it's possible to make 'echo' print without a newline. ++# These variables are no longer used directly by Autoconf, but are AC_SUBSTed ++# for compatibility with existing Makefiles. + ECHO_C= ECHO_N= ECHO_T= + case `echo -n x` in #((((( + -n*) +@@ -17744,6 +18592,12 @@ case `echo -n x` in #((((( + ECHO_N='-n';; + esac + ++# For backward compatibility with old third-party macros, we provide ++# the shell variables $as_echo and $as_echo_n. New code should use ++# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. ++as_echo='printf %s\n' ++as_echo_n='printf %s' ++ + rm -f conf$$ conf$$.exe conf$$.file + if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +@@ -17785,7 +18639,7 @@ as_fn_mkdir_p () + as_dirs= + while :; do + case $as_dir in #( +- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" +@@ -17794,7 +18648,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$as_dir" | ++printf "%s\n" X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q +@@ -17857,7 +18711,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri + # values after options handling. + ac_log=" + This file was extended by $as_me, which was +-generated by GNU Autoconf 2.69. Invocation command line was ++generated by GNU Autoconf 2.71. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS +@@ -17915,14 +18769,16 @@ $config_headers + Report bugs to the package provider." + + _ACEOF ++ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ++ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ++ac_cs_config='$ac_cs_config_escaped' + ac_cs_version="\\ + config.status +-configured by $0, generated by GNU Autoconf 2.69, ++configured by $0, generated by GNU Autoconf 2.71, + with options \\"\$ac_cs_config\\" + +-Copyright (C) 2012 Free Software Foundation, Inc. ++Copyright (C) 2021 Free Software Foundation, Inc. + This config.status script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it." + +@@ -17959,15 +18815,15 @@ do + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) +- $as_echo "$ac_cs_version"; exit ;; ++ printf "%s\n" "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) +- $as_echo "$ac_cs_config"; exit ;; ++ printf "%s\n" "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in +- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" +@@ -17975,7 +18831,7 @@ do + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in +- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; +@@ -17984,7 +18840,7 @@ do + as_fn_error $? "ambiguous option: \`$1' + Try \`$0 --help' for more information.";; + --help | --hel | -h ) +- $as_echo "$ac_cs_usage"; exit ;; ++ printf "%s\n" "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; +@@ -18012,7 +18868,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ + if \$ac_cs_recheck; then + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift +- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ++ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +@@ -18026,7 +18882,7 @@ exec 5>>config.log + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX + ## Running $as_me. ## + _ASBOX +- $as_echo "$ac_log" ++ printf "%s\n" "$ac_log" + } >&5 + + _ACEOF +@@ -18063,8 +18919,8 @@ done + # We use the long form for the default assignment because of an extremely + # bizarre bug on SunOS 4.1.3. + if $ac_need_defaults; then +- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files +- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ++ test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files ++ test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers + fi + + # Have a temporary directory for convenience. Make it in the build tree +@@ -18400,7 +19256,7 @@ do + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac +- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + +@@ -18408,17 +19264,17 @@ do + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` +- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" +- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +-$as_echo "$as_me: creating $ac_file" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++printf "%s\n" "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) +- ac_sed_conf_input=`$as_echo "$configure_input" | ++ ac_sed_conf_input=`printf "%s\n" "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac +@@ -18435,7 +19291,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$ac_file" | ++printf "%s\n" X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q +@@ -18459,9 +19315,9 @@ $as_echo X"$ac_file" | + case "$ac_dir" in + .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) +- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. +- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; +@@ -18514,8 +19370,8 @@ ac_sed_dataroot=' + case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in + *datarootdir*) ac_datarootdir_seen=yes;; + *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + _ACEOF + cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' +@@ -18557,9 +19413,9 @@ test -z "$ac_datarootdir_hack$ac_dataroo + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + which seems to be undefined. Please make sure it is defined" >&5 +-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' + which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" +@@ -18575,20 +19431,20 @@ which seems to be undefined. Please mak + # + if test x"$ac_file" != x-; then + { +- $as_echo "/* $configure_input */" \ ++ printf "%s\n" "/* $configure_input */" >&1 \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +-$as_echo "$as_me: $ac_file is unchanged" >&6;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else +- $as_echo "/* $configure_input */" \ ++ printf "%s\n" "/* $configure_input */" >&1 \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +@@ -18629,8 +19485,9 @@ if test "$no_create" != yes; then + $ac_cs_success || as_fn_exit 1 + fi + if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + fi + + ++ +diff -Naurp pcp-5.3.7.orig/configure~ pcp-5.3.7/configure~ +--- pcp-5.3.7.orig/configure~ 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/configure~ 2022-10-26 16:45:21.285093991 +1100 +@@ -0,0 +1,18636 @@ ++#! /bin/sh ++# Guess values for system-dependent variables and create Makefiles. ++# Generated by GNU Autoconf 2.69. ++# ++# ++# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. ++# ++# ++# This configure script is free software; the Free Software Foundation ++# gives unlimited permission to copy, distribute and modify it. ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in #( ++ *posix*) : ++ set -o posix ;; #( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in #( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in #(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++# Use a proper internal environment variable to ensure we don't fall ++ # into an infinite loop, continuously re-executing ourselves. ++ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then ++ _as_can_reexec=no; export _as_can_reexec; ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in # (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++as_fn_exit 255 ++ fi ++ # We don't want this to propagate to other subprocesses. ++ { _as_can_reexec=; unset _as_can_reexec;} ++if test "x$CONFIG_SHELL" = x; then ++ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '\${1+\"\$@\"}'='\"\$@\"' ++ setopt NO_GLOB_SUBST ++else ++ case \`(set -o) 2>/dev/null\` in #( ++ *posix*) : ++ set -o posix ;; #( ++ *) : ++ ;; ++esac ++fi ++" ++ as_required="as_fn_return () { (exit \$1); } ++as_fn_success () { as_fn_return 0; } ++as_fn_failure () { as_fn_return 1; } ++as_fn_ret_success () { return 0; } ++as_fn_ret_failure () { return 1; } ++ ++exitcode=0 ++as_fn_success || { exitcode=1; echo as_fn_success failed.; } ++as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ++as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ++as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ++if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ++ ++else ++ exitcode=1; echo positional parameters were not saved. ++fi ++test x\$exitcode = x0 || exit 1 ++test -x / || exit 1" ++ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ++ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ++ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ++ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ++test \$(( 1 + 1 )) = 2 || exit 1" ++ if (eval "$as_required") 2>/dev/null; then : ++ as_have_required=yes ++else ++ as_have_required=no ++fi ++ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : ++ ++else ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_found=false ++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ as_found=: ++ case $as_dir in #( ++ /*) ++ for as_base in sh bash ksh sh5; do ++ # Try only shells that exist, to save several forks. ++ as_shell=$as_dir/$as_base ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ CONFIG_SHELL=$as_shell as_have_required=yes ++ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ++ break 2 ++fi ++fi ++ done;; ++ esac ++ as_found=false ++done ++$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ++ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : ++ CONFIG_SHELL=$SHELL as_have_required=yes ++fi; } ++IFS=$as_save_IFS ++ ++ ++ if test "x$CONFIG_SHELL" != x; then : ++ export CONFIG_SHELL ++ # We cannot yet assume a decent shell, so we have to provide a ++# neutralization value for shells without unset; and this also ++# works around shells that cannot unset nonexistent variables. ++# Preserve -v and -x to the replacement shell. ++BASH_ENV=/dev/null ++ENV=/dev/null ++(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ++case $- in # (((( ++ *v*x* | *x*v* ) as_opts=-vx ;; ++ *v* ) as_opts=-v ;; ++ *x* ) as_opts=-x ;; ++ * ) as_opts= ;; ++esac ++exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ++# Admittedly, this is quite paranoid, since all the known shells bail ++# out after a failed `exec'. ++$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ++exit 255 ++fi ++ ++ if test x$as_have_required = xno; then : ++ $as_echo "$0: This script requires a shell more modern than all" ++ $as_echo "$0: the shells that I found on your system." ++ if test x${ZSH_VERSION+set} = xset ; then ++ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" ++ $as_echo "$0: be upgraded to zsh 4.3.4 or later." ++ else ++ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, ++$0: including any error possibly output before this ++$0: message. Then install a modern shell, or manually run ++$0: the script under such a shell if you do have one." ++ fi ++ exit 1 ++fi ++fi ++fi ++SHELL=${CONFIG_SHELL-/bin/sh} ++export SHELL ++# Unset more variables known to interfere with behavior of common tools. ++CLICOLOR_FORCE= GREP_OPTIONS= ++unset CLICOLOR_FORCE GREP_OPTIONS ++ ++## --------------------- ## ++## M4sh Shell Functions. ## ++## --------------------- ## ++# as_fn_unset VAR ++# --------------- ++# Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++ ++# as_fn_set_status STATUS ++# ----------------------- ++# Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} # as_fn_set_status ++ ++# as_fn_exit STATUS ++# ----------------- ++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} # as_fn_exit ++ ++# as_fn_mkdir_p ++# ------------- ++# Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} # as_fn_mkdir_p ++ ++# as_fn_executable_p FILE ++# ----------------------- ++# Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} # as_fn_executable_p ++# as_fn_append VAR VALUE ++# ---------------------- ++# Append the text in VALUE to the end of the definition contained in VAR. Take ++# advantage of any shell optimizations that allow amortized linear growth over ++# repeated appends, instead of the typical quadratic growth present in naive ++# implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++# as_fn_arith ARG... ++# ------------------ ++# Perform arithmetic evaluation on the ARGs, and store the result in the ++# global $as_val. Take advantage of shells that can avoid forks. The arguments ++# must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++# as_fn_error STATUS ERROR [LINENO LOG_FD] ++# ---------------------------------------- ++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++# script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ $as_echo "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} # as_fn_error ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ ++ as_lineno_1=$LINENO as_lineno_1a=$LINENO ++ as_lineno_2=$LINENO as_lineno_2a=$LINENO ++ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ++ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ++ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ++ sed -n ' ++ p ++ /[$]LINENO/= ++ ' <$as_myself | ++ sed ' ++ s/[$]LINENO.*/&-/ ++ t lineno ++ b ++ :lineno ++ N ++ :loop ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ++ t loop ++ s/-\n.*// ++ ' >$as_me.lineno && ++ chmod +x "$as_me.lineno" || ++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ++ ++ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have ++ # already done that, so ensure we don't try to do so again and fall ++ # in an infinite loop. This has already happened in practice. ++ _as_can_reexec=no; export _as_can_reexec ++ # Don't try to exec as it changes $[0], causing all sort of problems ++ # (the dirname of $[0] is not the place where we might find the ++ # original and so on. Autoconf is especially sensitive to this). ++ . "./$as_me.lineno" ++ # Exit status is that of the last command. ++ exit ++} ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in #((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++test -n "$DJDIR" || exec 7<&0 &1 ++ ++# Name of the host. ++# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, ++# so uname gets run too. ++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ++ ++# ++# Initializations. ++# ++ac_default_prefix=/usr/local ++ac_clean_files= ++ac_config_libobj_dir=. ++LIBOBJS= ++cross_compiling=no ++subdirs= ++MFLAGS= ++MAKEFLAGS= ++ ++# Identity of this package. ++PACKAGE_NAME= ++PACKAGE_TARNAME= ++PACKAGE_VERSION= ++PACKAGE_STRING= ++PACKAGE_BUGREPORT= ++PACKAGE_URL= ++ ++ac_unique_file="src/include/pcp/pmapi.h" ++# Factoring default headers for most tests. ++ac_includes_default="\ ++#include ++#ifdef HAVE_SYS_TYPES_H ++# include ++#endif ++#ifdef HAVE_SYS_STAT_H ++# include ++#endif ++#ifdef STDC_HEADERS ++# include ++# include ++#else ++# ifdef HAVE_STDLIB_H ++# include ++# endif ++#endif ++#ifdef HAVE_STRING_H ++# if !defined STDC_HEADERS && defined HAVE_MEMORY_H ++# include ++# endif ++# include ++#endif ++#ifdef HAVE_STRINGS_H ++# include ++#endif ++#ifdef HAVE_INTTYPES_H ++# include ++#endif ++#ifdef HAVE_STDINT_H ++# include ++#endif ++#ifdef HAVE_UNISTD_H ++# include ++#endif" ++ ++ac_subst_vars='PACKAGE_CONFIGURE ++pcp_prefix ++HAVE_CMOCKA ++cmocka_LIBS ++cmocka_CFLAGS ++HAVE_ZLIB ++zlib_LIBS ++zlib_CFLAGS ++lib_for_curses ++lib_for_readline ++pcp_mpi_dirs ++enable_lzma ++enable_decompression ++lib_for_lzma ++lzma_LIBS ++lzma_CFLAGS ++lib_for_atomic ++enable_secure ++lib_for_nspr ++lib_for_nss ++lib_for_ssl ++lib_for_sasl ++SASLCFLAGS ++NSPRCFLAGS ++NSSCFLAGS ++ac_xconfirm_prog ++pcp_demos_dir ++pcp_doc_dir ++pcp_tmp_dir ++pcp_tmpfile_dir ++pcp_run_dir ++pcp_pacct_system_path ++pcp_sa_dir ++pcp_archive_dir ++pcp_log_dir ++pcp_sysconfig_dir ++pcp_rc_dir ++pcp_desktop_dir ++have_hicolor_icons ++inkscape ++INKSCAPE ++pcp_icons_dir ++pcp_html_dir ++pcp_inc_dir ++pcp_sbin_dir ++pcp_bin_dir ++need_old_tbl_header ++have_xzed_manpages ++have_lzmaed_manpages ++have_bzip2ed_manpages ++have_gzipped_manpages ++have_manpages ++pcp_man_dir ++pcp_x11_pre ++pcp_x11_extra ++pcp_x11_libflags ++pcp_x11_incflags ++X_EXTRA_LIBS ++X_LIBS ++X_PRE_LIBS ++X_CFLAGS ++XMKMF ++python_prefix ++perl_install_base ++perl_installdirs ++pcp_lib32_dir ++pcp_lib_dir ++pcp_selinuxadm_dir ++pcp_pmdasadm_dir ++pcp_pmdas_dir ++pcp_pmnsadm_dir ++pcp_pmns_dir ++pcp_var_dir ++pcp_libadm_dir ++pcp_binadm_dir ++pcp_bashshare_dir ++pcp_share_dir ++pcp_pmloggercontrol_path ++pcp_pmsnapcontrol_path ++pcp_pmiecontrol_path ++pcp_pmproxyoptions_path ++pcp_pmcdrclocal_path ++pcp_pmcdoptions_path ++pcp_pmcdconf_path ++pcp_sysconf_dir ++pcp_saslconf_dir ++pcp_etc_dir ++lib_for_math ++lib_for_dlopen ++lib_for_rt ++lib_for_basename ++fmt_pthread ++lib_for_pthreads ++fmt_uint64 ++fmt_int64 ++fmt_pid ++rdynamic_flag ++pcp_selinux_logging_watch_all_log_dirs_path ++pcp_selinux_files_mmap_all_files ++pcp_selinux_netlink_tcpdiag_socket_class ++pcp_selinux_netlink_generic_socket_class ++pcp_selinux_rawip_socket_class ++pcp_selinux_dir_class ++pcp_selinux_security_class ++pcp_selinux_sock_file_class ++pcp_selinux_netlink_audit_socket_class ++pcp_selinux_netlink_selinux_socket_class ++pcp_selinux_mdadm_conf ++pcp_selinux_kmod_exec ++pcp_selinux_faillog ++pcp_selinux_logrotate ++pcp_selinux_xauth_exec ++pcp_selinux_lastlog ++pcp_selinux_var_log ++pcp_selinux_initrc ++pcp_selinux_chkpwd_exec ++pcp_selinux_security ++pcp_selinux_sudo_exec ++pcp_selinux_initrc_tmp ++pcp_selinux_glusterd_log ++pcp_selinux_lockdown_class ++pcp_selinux_icmp_socket_class ++pcp_selinux_capability2_bpf ++pcp_selinux_capability2_syslog ++pcp_selinux_sbd_exec ++pcp_selinux_proc_security ++pcp_selinux_virt_var_run ++pcp_selinux_rpcbind_var_run ++pcp_selinux_container_var_run ++pcp_selinux_files_list_non_auth_dirs ++pcp_selinux_dma_device ++pcp_selinux_bpf ++pcp_selinux_numad ++pcp_selinux_unconfined ++pcp_selinux_hostname_exec_map ++pcp_selinux_tracefs ++pcp_selinux_unreserved_port ++pcp_selinux_docker_var_lib ++pcp_selinux_nsfs ++pcp_selinux_container_runtime ++pcp_selinux_cap_userns_ptrace ++pcp_selinux_dir ++enable_selinux ++SEINFO ++PMDA_POSTFIX ++QSHAPE ++PMDA_PODMAN ++PMDA_STATSD ++lib_for_chan ++lib_for_hdr_histogram ++PMDA_PERFEVENT ++PFM_LIBS ++PMDA_INFINIBAND ++IB_LIBS ++PMDA_SYSTEMD ++SYSTEMD_LIBS ++SYSTEMD_CFLAGS ++HAVE_DEVMAPPER ++DEVMAPPER_LIBS ++DEVMAPPER_CFLAGS ++HAVE_NCURSESW ++ncursesw_LIBS ++ncursesw_CFLAGS ++HAVE_NCURSES ++ncurses_LIBS ++ncurses_CFLAGS ++HAVE_LIBUV ++libuv_LIBS ++libuv_CFLAGS ++HAVE_OPENSSL ++openssl_LIBS ++openssl_CFLAGS ++lib_for_regex ++grep ++pcp_syslog_prog ++pcp_ps_prog ++LN_S ++makepkg ++MAKEPKG ++dpkg ++DPKG ++md5sum ++MD5SUM ++makedepend ++MAKEDEPEND ++TRUEPROG ++pod2man ++POD2MAN ++rpmprog ++rpm ++RPM ++rpmbuild ++RPMBUILD ++dlltool ++DLLTOOL ++pkgmk ++PKGMK ++mkinstallp ++MKINSTALLP ++hdiutil ++HDIUTIL ++xz ++XZ ++lzma ++LZMA ++bzip2 ++BZIP2 ++gzip ++ZIP ++tar ++TAR ++pcp_group_install ++pcp_user_install ++ld ++LD ++cpp ++make ++MAKE ++enable_qt3d ++qmake ++enable_qt ++qt_version ++qt_release ++QMAKE ++QTCHOOSER ++PMDA_LIBVIRT ++PMDA_OPENMETRICS ++PMDA_LIO ++PMDA_NUTCRACKER ++PMDA_BIND2 ++PMDA_ACTIVEMQ ++PMDA_NGINX ++PMDA_ELASTICSEARCH ++PMDA_ORACLE ++PMDA_POSTGRESQL ++PMDA_MYSQL ++PMDA_SNMP ++have_perl ++enable_perl ++pcp_perl_prog ++PERL ++PMDA_BPFTRACE ++PMDA_BPF ++pmdabpf_bpftool ++PMDABPF_BPFTOOL ++pmdabpf_llvm_strip ++PMDABPF_LLVM_STRIP ++pmdabpf_clang ++PMDABPF_CLANG ++HAVE_LIBELF ++libelf_LIBS ++libelf_CFLAGS ++HAVE_LIBBPF ++libbpf_LIBS ++libbpf_CFLAGS ++CLANG_MAJOR_VERSION ++PMDA_BCC ++PMDA_JSON ++have_python_influxdb ++have_python_six ++have_python_libvirt ++have_python_requests ++have_python_setuptools ++have_python_openpyxl ++have_python_jsonpointer ++have_python_OrderedDict ++have_python_BPF ++enable_dstat ++pcp_python_prog ++have_python ++enable_python3 ++enable_python2 ++PYTHON3 ++PYTHON ++PYLINT ++GIT ++LTLIBOBJS ++LIBOBJS ++pm_version_current ++PACKAGE_DISTRIBUTION ++PACKAGE_BUILD_DATE ++PACKAGE_BUILD ++PACKAGE_REVISION ++PACKAGE_MINOR ++PACKAGE_MAJOR ++sd_service_type ++enable_systemd ++pcp_systemdunit_dir ++SYSTEMD_SYSTEMUNITDIR ++pcp_systemdtmpfiles_dir ++SYSTEMD_TMPFILESDIR ++enable_avahi ++enable_discovery ++lib_for_avahi ++avahi_LIBS ++avahi_CFLAGS ++sanitizer ++gperftools_LIBS ++gperftools_CFLAGS ++enable_probes ++CPP ++DTRACE ++EGREP ++GREP ++echo_c ++echo_n ++sort ++RAGEL ++yacc ++YFLAGS ++YACC ++lex ++LEXLIB ++LEX_OUTPUT_ROOT ++LEX ++ar ++AR ++which ++WHICH ++find ++FIND ++echo ++ECHO ++sed ++SED ++awk ++AWK ++enable_shared ++cxx ++ac_ct_CXX ++CXXFLAGS ++CXX ++C99_CFLAGS ++INVISIBILITY ++PIECFLAGS ++PIELDFLAGS ++PLDFLAGS ++PCFLAGS ++cflags_abi ++cc_is_gcc ++cc ++CCPATH ++OBJEXT ++EXEEXT ++ac_ct_CC ++CPPFLAGS ++LDFLAGS ++CFLAGS ++CC ++PKG_CONFIG_LIBDIR ++PKG_CONFIG_PATH ++PKG_CONFIG ++optimization ++pcp_ps_all_flags ++pcp_platform_paths ++cross_compiling ++target_os ++target_vendor ++target_cpu ++target ++host_os ++host_vendor ++host_cpu ++host ++build_os ++build_vendor ++build_cpu ++build ++pcp_group ++pcp_user ++target_alias ++host_alias ++build_alias ++LIBS ++ECHO_T ++ECHO_N ++ECHO_C ++DEFS ++mandir ++localedir ++libdir ++psdir ++pdfdir ++dvidir ++htmldir ++infodir ++docdir ++oldincludedir ++includedir ++runstatedir ++localstatedir ++sharedstatedir ++sysconfdir ++datadir ++datarootdir ++libexecdir ++sbindir ++bindir ++program_transform_name ++prefix ++exec_prefix ++PACKAGE_URL ++PACKAGE_BUGREPORT ++PACKAGE_STRING ++PACKAGE_VERSION ++PACKAGE_TARNAME ++PACKAGE_NAME ++PATH_SEPARATOR ++SHELL' ++ac_subst_files='' ++ac_user_opts=' ++enable_option_checking ++with_64bit ++with_optimization ++with_gperftools ++with_sanitizer ++with_threads ++with_secure_sockets ++with_static_probes ++with_infiniband ++with_user ++with_group ++with_discovery ++with_systemd ++with_qt ++with_qt3d ++with_perl ++with_python ++with_python3 ++with_dstat_symlink ++with_perfevent ++with_pmdastatsd ++with_pmdapodman ++with_pmdabcc ++with_pmdabpf ++with_pmdabpf_clang ++with_pmdabpf_llvm_strip ++with_pmdabpf_bpftool ++with_pmdabpftrace ++with_pmdajson ++with_pmdanutcracker ++with_pmdasnmp ++with_selinux ++with_make ++with_tar ++with_zip ++with_transparent_decompression ++enable_ssp ++enable_pie ++enable_visibility ++enable_shared ++with_perl_installdirs ++with_perl_install_base ++with_python_prefix ++with_x ++with_rcdir ++with_sysconfigdir ++with_logdir ++with_rundir ++with_tmpdir ++with_docdir ++with_demosdir ++' ++ ac_precious_vars='build_alias ++host_alias ++target_alias ++PKG_CONFIG ++PKG_CONFIG_PATH ++PKG_CONFIG_LIBDIR ++CC ++CFLAGS ++LDFLAGS ++LIBS ++CPPFLAGS ++CXX ++CXXFLAGS ++CCC ++YACC ++YFLAGS ++CPP ++gperftools_CFLAGS ++gperftools_LIBS ++avahi_CFLAGS ++avahi_LIBS ++SYSTEMD_TMPFILESDIR ++SYSTEMD_SYSTEMUNITDIR ++libbpf_CFLAGS ++libbpf_LIBS ++libelf_CFLAGS ++libelf_LIBS ++openssl_CFLAGS ++openssl_LIBS ++libuv_CFLAGS ++libuv_LIBS ++ncurses_CFLAGS ++ncurses_LIBS ++ncursesw_CFLAGS ++ncursesw_LIBS ++DEVMAPPER_CFLAGS ++DEVMAPPER_LIBS ++SYSTEMD_CFLAGS ++SYSTEMD_LIBS ++XMKMF ++lzma_CFLAGS ++lzma_LIBS ++zlib_CFLAGS ++zlib_LIBS ++cmocka_CFLAGS ++cmocka_LIBS' ++ ++ ++# Initialize some variables set by options. ++ac_init_help= ++ac_init_version=false ++ac_unrecognized_opts= ++ac_unrecognized_sep= ++# The variables have the same names as the options, with ++# dashes changed to underlines. ++cache_file=/dev/null ++exec_prefix=NONE ++no_create= ++no_recursion= ++prefix=NONE ++program_prefix=NONE ++program_suffix=NONE ++program_transform_name=s,x,x, ++silent= ++site= ++srcdir= ++verbose= ++x_includes=NONE ++x_libraries=NONE ++ ++# Installation directory options. ++# These are left unexpanded so users can "make install exec_prefix=/foo" ++# and all the variables that are supposed to be based on exec_prefix ++# by default will actually change. ++# Use braces instead of parens because sh, perl, etc. also accept them. ++# (The list follows the same order as the GNU Coding Standards.) ++bindir='${exec_prefix}/bin' ++sbindir='${exec_prefix}/sbin' ++libexecdir='${exec_prefix}/libexec' ++datarootdir='${prefix}/share' ++datadir='${datarootdir}' ++sysconfdir='${prefix}/etc' ++sharedstatedir='${prefix}/com' ++localstatedir='${prefix}/var' ++runstatedir='${localstatedir}/run' ++includedir='${prefix}/include' ++oldincludedir='/usr/include' ++docdir='${datarootdir}/doc/${PACKAGE}' ++infodir='${datarootdir}/info' ++htmldir='${docdir}' ++dvidir='${docdir}' ++pdfdir='${docdir}' ++psdir='${docdir}' ++libdir='${exec_prefix}/lib' ++localedir='${datarootdir}/locale' ++mandir='${datarootdir}/man' ++ ++ac_prev= ++ac_dashdash= ++for ac_option ++do ++ # If the previous option needs an argument, assign it. ++ if test -n "$ac_prev"; then ++ eval $ac_prev=\$ac_option ++ ac_prev= ++ continue ++ fi ++ ++ case $ac_option in ++ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ++ *=) ac_optarg= ;; ++ *) ac_optarg=yes ;; ++ esac ++ ++ # Accept the important Cygnus configure options, so we can diagnose typos. ++ ++ case $ac_dashdash$ac_option in ++ --) ++ ac_dashdash=yes ;; ++ ++ -bindir | --bindir | --bindi | --bind | --bin | --bi) ++ ac_prev=bindir ;; ++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ++ bindir=$ac_optarg ;; ++ ++ -build | --build | --buil | --bui | --bu) ++ ac_prev=build_alias ;; ++ -build=* | --build=* | --buil=* | --bui=* | --bu=*) ++ build_alias=$ac_optarg ;; ++ ++ -cache-file | --cache-file | --cache-fil | --cache-fi \ ++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ++ ac_prev=cache_file ;; ++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ++ cache_file=$ac_optarg ;; ++ ++ --config-cache | -C) ++ cache_file=config.cache ;; ++ ++ -datadir | --datadir | --datadi | --datad) ++ ac_prev=datadir ;; ++ -datadir=* | --datadir=* | --datadi=* | --datad=*) ++ datadir=$ac_optarg ;; ++ ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ ++ | --dataroo | --dataro | --datar) ++ ac_prev=datarootdir ;; ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) ++ datarootdir=$ac_optarg ;; ++ ++ -disable-* | --disable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=no ;; ++ ++ -docdir | --docdir | --docdi | --doc | --do) ++ ac_prev=docdir ;; ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) ++ docdir=$ac_optarg ;; ++ ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ++ ac_prev=dvidir ;; ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) ++ dvidir=$ac_optarg ;; ++ ++ -enable-* | --enable-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid feature name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"enable_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval enable_$ac_useropt=\$ac_optarg ;; ++ ++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ++ | --exec | --exe | --ex) ++ ac_prev=exec_prefix ;; ++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ++ | --exec=* | --exe=* | --ex=*) ++ exec_prefix=$ac_optarg ;; ++ ++ -gas | --gas | --ga | --g) ++ # Obsolete; use --with-gas. ++ with_gas=yes ;; ++ ++ -help | --help | --hel | --he | -h) ++ ac_init_help=long ;; ++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ++ ac_init_help=recursive ;; ++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ++ ac_init_help=short ;; ++ ++ -host | --host | --hos | --ho) ++ ac_prev=host_alias ;; ++ -host=* | --host=* | --hos=* | --ho=*) ++ host_alias=$ac_optarg ;; ++ ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ++ ac_prev=htmldir ;; ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ ++ | --ht=*) ++ htmldir=$ac_optarg ;; ++ ++ -includedir | --includedir | --includedi | --included | --include \ ++ | --includ | --inclu | --incl | --inc) ++ ac_prev=includedir ;; ++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ++ | --includ=* | --inclu=* | --incl=* | --inc=*) ++ includedir=$ac_optarg ;; ++ ++ -infodir | --infodir | --infodi | --infod | --info | --inf) ++ ac_prev=infodir ;; ++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ++ infodir=$ac_optarg ;; ++ ++ -libdir | --libdir | --libdi | --libd) ++ ac_prev=libdir ;; ++ -libdir=* | --libdir=* | --libdi=* | --libd=*) ++ libdir=$ac_optarg ;; ++ ++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ++ | --libexe | --libex | --libe) ++ ac_prev=libexecdir ;; ++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ++ | --libexe=* | --libex=* | --libe=*) ++ libexecdir=$ac_optarg ;; ++ ++ -localedir | --localedir | --localedi | --localed | --locale) ++ ac_prev=localedir ;; ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) ++ localedir=$ac_optarg ;; ++ ++ -localstatedir | --localstatedir | --localstatedi | --localstated \ ++ | --localstate | --localstat | --localsta | --localst | --locals) ++ ac_prev=localstatedir ;; ++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) ++ localstatedir=$ac_optarg ;; ++ ++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ++ ac_prev=mandir ;; ++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ++ mandir=$ac_optarg ;; ++ ++ -nfp | --nfp | --nf) ++ # Obsolete; use --without-fp. ++ with_fp=no ;; ++ ++ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ ++ | --no-cr | --no-c | -n) ++ no_create=yes ;; ++ ++ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ ++ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ++ no_recursion=yes ;; ++ ++ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ ++ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ ++ | --oldin | --oldi | --old | --ol | --o) ++ ac_prev=oldincludedir ;; ++ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ ++ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ ++ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) ++ oldincludedir=$ac_optarg ;; ++ ++ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ++ ac_prev=prefix ;; ++ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ++ prefix=$ac_optarg ;; ++ ++ -program-prefix | --program-prefix | --program-prefi | --program-pref \ ++ | --program-pre | --program-pr | --program-p) ++ ac_prev=program_prefix ;; ++ -program-prefix=* | --program-prefix=* | --program-prefi=* \ ++ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) ++ program_prefix=$ac_optarg ;; ++ ++ -program-suffix | --program-suffix | --program-suffi | --program-suff \ ++ | --program-suf | --program-su | --program-s) ++ ac_prev=program_suffix ;; ++ -program-suffix=* | --program-suffix=* | --program-suffi=* \ ++ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) ++ program_suffix=$ac_optarg ;; ++ ++ -program-transform-name | --program-transform-name \ ++ | --program-transform-nam | --program-transform-na \ ++ | --program-transform-n | --program-transform- \ ++ | --program-transform | --program-transfor \ ++ | --program-transfo | --program-transf \ ++ | --program-trans | --program-tran \ ++ | --progr-tra | --program-tr | --program-t) ++ ac_prev=program_transform_name ;; ++ -program-transform-name=* | --program-transform-name=* \ ++ | --program-transform-nam=* | --program-transform-na=* \ ++ | --program-transform-n=* | --program-transform-=* \ ++ | --program-transform=* | --program-transfor=* \ ++ | --program-transfo=* | --program-transf=* \ ++ | --program-trans=* | --program-tran=* \ ++ | --progr-tra=* | --program-tr=* | --program-t=*) ++ program_transform_name=$ac_optarg ;; ++ ++ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ++ ac_prev=pdfdir ;; ++ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) ++ pdfdir=$ac_optarg ;; ++ ++ -psdir | --psdir | --psdi | --psd | --ps) ++ ac_prev=psdir ;; ++ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) ++ psdir=$ac_optarg ;; ++ ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ silent=yes ;; ++ ++ -runstatedir | --runstatedir | --runstatedi | --runstated \ ++ | --runstate | --runstat | --runsta | --runst | --runs \ ++ | --run | --ru | --r) ++ ac_prev=runstatedir ;; ++ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ ++ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ ++ | --run=* | --ru=* | --r=*) ++ runstatedir=$ac_optarg ;; ++ ++ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ++ ac_prev=sbindir ;; ++ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ++ | --sbi=* | --sb=*) ++ sbindir=$ac_optarg ;; ++ ++ -sharedstatedir | --sharedstatedir | --sharedstatedi \ ++ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ ++ | --sharedst | --shareds | --shared | --share | --shar \ ++ | --sha | --sh) ++ ac_prev=sharedstatedir ;; ++ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ ++ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ ++ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ ++ | --sha=* | --sh=*) ++ sharedstatedir=$ac_optarg ;; ++ ++ -site | --site | --sit) ++ ac_prev=site ;; ++ -site=* | --site=* | --sit=*) ++ site=$ac_optarg ;; ++ ++ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ++ ac_prev=srcdir ;; ++ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ++ srcdir=$ac_optarg ;; ++ ++ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ ++ | --syscon | --sysco | --sysc | --sys | --sy) ++ ac_prev=sysconfdir ;; ++ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ ++ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) ++ sysconfdir=$ac_optarg ;; ++ ++ -target | --target | --targe | --targ | --tar | --ta | --t) ++ ac_prev=target_alias ;; ++ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) ++ target_alias=$ac_optarg ;; ++ ++ -v | -verbose | --verbose | --verbos | --verbo | --verb) ++ verbose=yes ;; ++ ++ -version | --version | --versio | --versi | --vers | -V) ++ ac_init_version=: ;; ++ ++ -with-* | --with-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=\$ac_optarg ;; ++ ++ -without-* | --without-*) ++ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ++ as_fn_error $? "invalid package name: $ac_useropt" ++ ac_useropt_orig=$ac_useropt ++ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ++ case $ac_user_opts in ++ *" ++"with_$ac_useropt" ++"*) ;; ++ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ++ ac_unrecognized_sep=', ';; ++ esac ++ eval with_$ac_useropt=no ;; ++ ++ --x) ++ # Obsolete; use --with-x. ++ with_x=yes ;; ++ ++ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ ++ | --x-incl | --x-inc | --x-in | --x-i) ++ ac_prev=x_includes ;; ++ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ ++ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) ++ x_includes=$ac_optarg ;; ++ ++ -x-libraries | --x-libraries | --x-librarie | --x-librari \ ++ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ++ ac_prev=x_libraries ;; ++ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ ++ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) ++ x_libraries=$ac_optarg ;; ++ ++ -*) as_fn_error $? "unrecognized option: \`$ac_option' ++Try \`$0 --help' for more information" ++ ;; ++ ++ *=*) ++ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ++ # Reject names that are not valid shell variable names. ++ case $ac_envvar in #( ++ '' | [0-9]* | *[!_$as_cr_alnum]* ) ++ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; ++ esac ++ eval $ac_envvar=\$ac_optarg ++ export $ac_envvar ;; ++ ++ *) ++ # FIXME: should be removed in autoconf 3.0. ++ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 ++ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && ++ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 ++ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ++ ;; ++ ++ esac ++done ++ ++if test -n "$ac_prev"; then ++ ac_option=--`echo $ac_prev | sed 's/_/-/g'` ++ as_fn_error $? "missing argument to $ac_option" ++fi ++ ++if test -n "$ac_unrecognized_opts"; then ++ case $enable_option_checking in ++ no) ;; ++ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; ++ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; ++ esac ++fi ++ ++# Check all directory arguments for consistency. ++for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ ++ datadir sysconfdir sharedstatedir localstatedir includedir \ ++ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ ++ libdir localedir mandir runstatedir ++do ++ eval ac_val=\$$ac_var ++ # Remove trailing slashes. ++ case $ac_val in ++ */ ) ++ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` ++ eval $ac_var=\$ac_val;; ++ esac ++ # Be sure to have absolute directory names. ++ case $ac_val in ++ [\\/$]* | ?:[\\/]* ) continue;; ++ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; ++ esac ++ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" ++done ++ ++# There might be people who depend on the old broken behavior: `$host' ++# used to hold the argument of --host etc. ++# FIXME: To remove some day. ++build=$build_alias ++host=$host_alias ++target=$target_alias ++ ++# FIXME: To remove some day. ++if test "x$host_alias" != x; then ++ if test "x$build_alias" = x; then ++ cross_compiling=maybe ++ elif test "x$build_alias" != "x$host_alias"; then ++ cross_compiling=yes ++ fi ++fi ++ ++ac_tool_prefix= ++test -n "$host_alias" && ac_tool_prefix=$host_alias- ++ ++test "$silent" = yes && exec 6>/dev/null ++ ++ ++ac_pwd=`pwd` && test -n "$ac_pwd" && ++ac_ls_di=`ls -di .` && ++ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ++ as_fn_error $? "working directory cannot be determined" ++test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ++ as_fn_error $? "pwd does not report name of working directory" ++ ++ ++# Find the source files, if location was not specified. ++if test -z "$srcdir"; then ++ ac_srcdir_defaulted=yes ++ # Try the directory containing this script, then the parent directory. ++ ac_confdir=`$as_dirname -- "$as_myself" || ++$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_myself" : 'X\(//\)[^/]' \| \ ++ X"$as_myself" : 'X\(//\)$' \| \ ++ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_myself" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ srcdir=$ac_confdir ++ if test ! -r "$srcdir/$ac_unique_file"; then ++ srcdir=.. ++ fi ++else ++ ac_srcdir_defaulted=no ++fi ++if test ! -r "$srcdir/$ac_unique_file"; then ++ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ++ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" ++fi ++ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ++ac_abs_confdir=`( ++ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" ++ pwd)` ++# When building in place, set srcdir=. ++if test "$ac_abs_confdir" = "$ac_pwd"; then ++ srcdir=. ++fi ++# Remove unnecessary trailing slashes from srcdir. ++# Double slashes in file names in object file debugging info ++# mess up M-x gdb in Emacs. ++case $srcdir in ++*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; ++esac ++for ac_var in $ac_precious_vars; do ++ eval ac_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_env_${ac_var}_value=\$${ac_var} ++ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} ++ eval ac_cv_env_${ac_var}_value=\$${ac_var} ++done ++ ++# ++# Report the --help message. ++# ++if test "$ac_init_help" = "long"; then ++ # Omit some internal or obsolete options to make the list less imposing. ++ # This message is too long to be a string in the A/UX 3.1 sh. ++ cat <<_ACEOF ++\`configure' configures this package to adapt to many kinds of systems. ++ ++Usage: $0 [OPTION]... [VAR=VALUE]... ++ ++To assign environment variables (e.g., CC, CFLAGS...), specify them as ++VAR=VALUE. See below for descriptions of some of the useful variables. ++ ++Defaults for the options are specified in brackets. ++ ++Configuration: ++ -h, --help display this help and exit ++ --help=short display options specific to this package ++ --help=recursive display the short help of all the included packages ++ -V, --version display version information and exit ++ -q, --quiet, --silent do not print \`checking ...' messages ++ --cache-file=FILE cache test results in FILE [disabled] ++ -C, --config-cache alias for \`--cache-file=config.cache' ++ -n, --no-create do not create output files ++ --srcdir=DIR find the sources in DIR [configure dir or \`..'] ++ ++Installation directories: ++ --prefix=PREFIX install architecture-independent files in PREFIX ++ [$ac_default_prefix] ++ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX ++ [PREFIX] ++ ++By default, \`make install' will install all the files in ++\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ++an installation prefix other than \`$ac_default_prefix' using \`--prefix', ++for instance \`--prefix=\$HOME'. ++ ++For better control, use the options below. ++ ++Fine tuning of the installation directories: ++ --bindir=DIR user executables [EPREFIX/bin] ++ --sbindir=DIR system admin executables [EPREFIX/sbin] ++ --libexecdir=DIR program executables [EPREFIX/libexec] ++ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] ++ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] ++ --localstatedir=DIR modifiable single-machine data [PREFIX/var] ++ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] ++ --libdir=DIR object code libraries [EPREFIX/lib] ++ --includedir=DIR C header files [PREFIX/include] ++ --oldincludedir=DIR C header files for non-gcc [/usr/include] ++ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] ++ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] ++ --infodir=DIR info documentation [DATAROOTDIR/info] ++ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] ++ --mandir=DIR man documentation [DATAROOTDIR/man] ++ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] ++ --htmldir=DIR html documentation [DOCDIR] ++ --dvidir=DIR dvi documentation [DOCDIR] ++ --pdfdir=DIR pdf documentation [DOCDIR] ++ --psdir=DIR ps documentation [DOCDIR] ++_ACEOF ++ ++ cat <<\_ACEOF ++ ++X features: ++ --x-includes=DIR X include files are in DIR ++ --x-libraries=DIR X library files are in DIR ++ ++System types: ++ --build=BUILD configure for building on BUILD [guessed] ++ --host=HOST cross-compile to build programs to run on HOST [BUILD] ++ --target=TARGET configure for building compilers for TARGET [HOST] ++_ACEOF ++fi ++ ++if test -n "$ac_init_help"; then ++ ++ cat <<\_ACEOF ++ ++Optional Features: ++ --disable-option-checking ignore unrecognized --enable/--with options ++ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) ++ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] ++ --disable-ssp disable gcc stack-protector ++ --disable-pie disable position-independent-executable ++ --disable-visibility disable gcc symbol visibility ++ --disable-shared disable core shared libary generation ++ ++Optional Packages: ++ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] ++ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) ++ --with-64bit turn on 64 bit compilation mode (default is platform ++ dependent) ++ --with-optimization enable optimization for C/C++ code (default is yes) ++ --with-gperftools enable gperftools for CPU and heap profiling ++ (default is no) ++ --with-sanitizer enable sanitizers (default is no, common values are ++ 'address', 'thread' or 'leak') ++ --with-threads enable support for multiple threads (default is on) ++ --with-secure-sockets enable support for secure sockets (default is on) ++ --with-static-probes enable support for static probes (default is on) ++ --with-infiniband enable support for Infiniband metrics (default is ++ on) ++ --with-user user account under which daemons run (default is ++ pcp) ++ --with-group user group under which daemons run (default is pcp) ++ --with-discovery enable support for service discovery (default is on) ++ --with-systemd enable support for systemd services (default is on) ++ --with-qt enable support for tools requiring Qt (default is ++ on) ++ --with-qt3d enable support for 3D scene graph API (default is ++ on) ++ --with-perl enable support for tools requiring Perl (default is ++ on) ++ --with-python enable support for tools requiring Python (default ++ is on) ++ --with-python3 enable support for tools requiring Python3 (default ++ is on) ++ --with-dstat-symlink enable support for /usr/bin/dstat symlink (default ++ is on) ++ --with-perfevent enable perfevent pmda (default is on) ++ --with-pmdastatsd enable statds pmda (default is on) ++ --with-pmdapodman enable podman pmda (default is on) ++ --with-pmdabcc enable BCC pmda (default is on) ++ --with-pmdabpf enable BPF pmda (default is on) ++ --with-pmdabpf-clang path to clang 10+ (default is empty for auto ++ discovery) ++ --with-pmdabpf-llvm-strip ++ path to llvm-strip 10+ (default is empty for auto ++ discovery) ++ --with-pmdabpf-bpftool path to bpftool (default is empty for auto ++ discovery) ++ --with-pmdabpftrace enable bpftrace pmda (default is on) ++ --with-pmdajson enable JSON pmda (default is on) ++ --with-pmdanutcracker enable nutcracker pmda (default is on) ++ --with-pmdasnmp enable SNMP pmda (default is on) ++ --with-selinux enable building of selinux package (default is on) ++ --with-make path to GNU compatible make(1) (default is empty for ++ auto discovery) ++ --with-tar path to GNU compatible tar(1) (default is empty for ++ auto discovery) ++ --with-zip path to GNU compatible zip(1) (default is empty for ++ auto discovery) ++ --with-transparent-decompression ++ enable support for transparent decompression of ++ archives (default is on) ++ --with-perl_installdirs perl installdirs [vendor] ++ --with-perl_install_base ++ perl install_base [PREFIX] ++ --with-python_prefix python setup.py prefix [PREFIX] ++ --with-x use the X Window System ++ --with-rcdir rc directory [SYSCONFDIR/rc.d] ++ --with-sysconfigdir sysconfig directory [SYSCONFDIR/sysconfig] ++ --with-logdir log directory [LOCALSTATEDIR/log/pcp] ++ --with-rundir run directory [LOCALSTATEDIR/run/pcp] ++ --with-tmpdir tmp directory [LOCALSTATEDIR/tmp] ++ --with-docdir docs directory [DOCDIR/pcp-VERSION] ++ --with-demosdir run directory [DATADIR/pcp/demos] ++ ++Some influential environment variables: ++ PKG_CONFIG path to pkg-config utility ++ PKG_CONFIG_PATH ++ directories to add to pkg-config's search path ++ PKG_CONFIG_LIBDIR ++ path overriding pkg-config's built-in search path ++ CC C compiler command ++ CFLAGS C compiler flags ++ LDFLAGS linker flags, e.g. -L if you have libraries in a ++ nonstandard directory ++ LIBS libraries to pass to the linker, e.g. -l ++ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if ++ you have headers in a nonstandard directory ++ CXX C++ compiler command ++ CXXFLAGS C++ compiler flags ++ YACC The `Yet Another Compiler Compiler' implementation to use. ++ Defaults to the first program found out of: `bison -y', `byacc', ++ `yacc'. ++ YFLAGS The list of arguments that will be passed by default to $YACC. ++ This script will default YFLAGS to the empty string to avoid a ++ default value of `-d' given by some make applications. ++ CPP C preprocessor ++ gperftools_CFLAGS ++ C compiler flags for gperftools, overriding pkg-config ++ gperftools_LIBS ++ linker flags for gperftools, overriding pkg-config ++ avahi_CFLAGS ++ C compiler flags for avahi, overriding pkg-config ++ avahi_LIBS linker flags for avahi, overriding pkg-config ++ SYSTEMD_TMPFILESDIR ++ value of tmpfilesdir for systemd, overriding pkg-config ++ SYSTEMD_SYSTEMUNITDIR ++ value of systemdsystemunitdir for systemd, overriding pkg-config ++ libbpf_CFLAGS ++ C compiler flags for libbpf, overriding pkg-config ++ libbpf_LIBS linker flags for libbpf, overriding pkg-config ++ libelf_CFLAGS ++ C compiler flags for libelf, overriding pkg-config ++ libelf_LIBS linker flags for libelf, overriding pkg-config ++ openssl_CFLAGS ++ C compiler flags for openssl, overriding pkg-config ++ openssl_LIBS ++ linker flags for openssl, overriding pkg-config ++ libuv_CFLAGS ++ C compiler flags for libuv, overriding pkg-config ++ libuv_LIBS linker flags for libuv, overriding pkg-config ++ ncurses_CFLAGS ++ C compiler flags for ncurses, overriding pkg-config ++ ncurses_LIBS ++ linker flags for ncurses, overriding pkg-config ++ ncursesw_CFLAGS ++ C compiler flags for ncursesw, overriding pkg-config ++ ncursesw_LIBS ++ linker flags for ncursesw, overriding pkg-config ++ DEVMAPPER_CFLAGS ++ C compiler flags for DEVMAPPER, overriding pkg-config ++ DEVMAPPER_LIBS ++ linker flags for DEVMAPPER, overriding pkg-config ++ SYSTEMD_CFLAGS ++ C compiler flags for SYSTEMD, overriding pkg-config ++ SYSTEMD_LIBS ++ linker flags for SYSTEMD, overriding pkg-config ++ XMKMF Path to xmkmf, Makefile generator for X Window System ++ lzma_CFLAGS C compiler flags for lzma, overriding pkg-config ++ lzma_LIBS linker flags for lzma, overriding pkg-config ++ zlib_CFLAGS C compiler flags for zlib, overriding pkg-config ++ zlib_LIBS linker flags for zlib, overriding pkg-config ++ cmocka_CFLAGS ++ C compiler flags for cmocka, overriding pkg-config ++ cmocka_LIBS linker flags for cmocka, overriding pkg-config ++ ++Use these variables to override the choices made by `configure' or to help ++it to find libraries and programs with nonstandard names/locations. ++ ++Report bugs to the package provider. ++_ACEOF ++ac_status=$? ++fi ++ ++if test "$ac_init_help" = "recursive"; then ++ # If there are subdirs, report their specific --help. ++ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue ++ test -d "$ac_dir" || ++ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || ++ continue ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ cd "$ac_dir" || { ac_status=$?; continue; } ++ # Check for guested configure. ++ if test -f "$ac_srcdir/configure.gnu"; then ++ echo && ++ $SHELL "$ac_srcdir/configure.gnu" --help=recursive ++ elif test -f "$ac_srcdir/configure"; then ++ echo && ++ $SHELL "$ac_srcdir/configure" --help=recursive ++ else ++ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ++ fi || ac_status=$? ++ cd "$ac_pwd" || { ac_status=$?; break; } ++ done ++fi ++ ++test -n "$ac_init_help" && exit $ac_status ++if $ac_init_version; then ++ cat <<\_ACEOF ++configure ++generated by GNU Autoconf 2.69 ++ ++Copyright (C) 2012 Free Software Foundation, Inc. ++This configure script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it. ++_ACEOF ++ exit ++fi ++ ++## ------------------------ ## ++## Autoconf initialization. ## ++## ------------------------ ## ++ ++# ac_fn_c_try_compile LINENO ++# -------------------------- ++# Try to compile conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext ++ if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} # ac_fn_c_try_compile ++ ++# ac_fn_c_try_link LINENO ++# ----------------------- ++# Try to link conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_link () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext conftest$ac_exeext ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ test -x conftest$ac_exeext ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ++ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ++ # interfere with the next link command; also delete a directory that is ++ # left behind by Apple's compiler. We do this before executing the actions. ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} # ac_fn_c_try_link ++ ++# ac_fn_cxx_try_compile LINENO ++# ---------------------------- ++# Try to compile conftest.$ac_ext, and return whether this succeeded. ++ac_fn_cxx_try_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ rm -f conftest.$ac_objext ++ if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} # ac_fn_cxx_try_compile ++ ++# ac_fn_c_try_cpp LINENO ++# ---------------------- ++# Try to preprocess conftest.$ac_ext, and return whether this succeeded. ++ac_fn_c_try_cpp () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ grep -v '^ *+' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ mv -f conftest.er1 conftest.err ++ fi ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } > conftest.i && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=1 ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} # ac_fn_c_try_cpp ++ ++# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES ++# ------------------------------------------------------- ++# Tests whether HEADER exists, giving a warning if it cannot be compiled using ++# the include files in INCLUDES and setting the cache variable VAR ++# accordingly. ++ac_fn_c_check_header_mongrel () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if eval \${$3+:} false; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ++$as_echo_n "checking $2 usability... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++#include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_header_compiler=yes ++else ++ ac_header_compiler=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 ++$as_echo_n "checking $2 presence... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include <$2> ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ac_header_preproc=yes ++else ++ ac_header_preproc=no ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( ++ yes:no: ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ++ ;; ++esac ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=\$ac_header_compiler" ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++fi ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} # ac_fn_c_check_header_mongrel ++ ++# ac_fn_c_try_run LINENO ++# ---------------------- ++# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes ++# that executables *can* be run. ++ac_fn_c_try_run () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then : ++ ac_retval=0 ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_retval=$ac_status ++fi ++ rm -rf conftest.dSYM conftest_ipa8_conftest.oo ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ as_fn_set_status $ac_retval ++ ++} # ac_fn_c_try_run ++ ++# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES ++# ------------------------------------------------------- ++# Tests whether HEADER exists and can be compiled using the include files in ++# INCLUDES, setting the cache variable VAR accordingly. ++ac_fn_c_check_header_compile () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++#include <$2> ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} # ac_fn_c_check_header_compile ++ ++# ac_fn_c_check_type LINENO TYPE VAR INCLUDES ++# ------------------------------------------- ++# Tests whether TYPE exists after having included INCLUDES, setting cache ++# variable VAR accordingly. ++ac_fn_c_check_type () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$3=no" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof ($2)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$4 ++int ++main () ++{ ++if (sizeof (($2))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ eval "$3=yes" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} # ac_fn_c_check_type ++ ++# ac_fn_c_check_func LINENO FUNC VAR ++# ---------------------------------- ++# Tests whether FUNC exists, setting the cache variable VAR accordingly ++ac_fn_c_check_func () ++{ ++ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ++$as_echo_n "checking for $2... " >&6; } ++if eval \${$3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++/* Define $2 to an innocuous variant, in case declares $2. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $2 innocuous_$2 ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $2 (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef $2 ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char $2 (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$2 || defined __stub___$2 ++choke me ++#endif ++ ++int ++main () ++{ ++return $2 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ eval "$3=yes" ++else ++ eval "$3=no" ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++eval ac_res=\$$3 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ++ ++} # ac_fn_c_check_func ++cat >config.log <<_ACEOF ++This file contains any messages produced by compilers while ++running configure, to aid debugging if configure makes a mistake. ++ ++It was created by $as_me, which was ++generated by GNU Autoconf 2.69. Invocation command line was ++ ++ $ $0 $@ ++ ++_ACEOF ++exec 5>>config.log ++{ ++cat <<_ASUNAME ++## --------- ## ++## Platform. ## ++## --------- ## ++ ++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ++uname -m = `(uname -m) 2>/dev/null || echo unknown` ++uname -r = `(uname -r) 2>/dev/null || echo unknown` ++uname -s = `(uname -s) 2>/dev/null || echo unknown` ++uname -v = `(uname -v) 2>/dev/null || echo unknown` ++ ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ++ ++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ++ ++_ASUNAME ++ ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ $as_echo "PATH: $as_dir" ++ done ++IFS=$as_save_IFS ++ ++} >&5 ++ ++cat >&5 <<_ACEOF ++ ++ ++## ----------- ## ++## Core tests. ## ++## ----------- ## ++ ++_ACEOF ++ ++ ++# Keep a trace of the command line. ++# Strip out --no-create and --no-recursion so they do not pile up. ++# Strip out --silent because we don't want to record it for future runs. ++# Also quote any args containing shell meta-characters. ++# Make two passes to allow for proper duplicate-argument suppression. ++ac_configure_args= ++ac_configure_args0= ++ac_configure_args1= ++ac_must_keep_next=false ++for ac_pass in 1 2 ++do ++ for ac_arg ++ do ++ case $ac_arg in ++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ continue ;; ++ *\'*) ++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ case $ac_pass in ++ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ++ 2) ++ as_fn_append ac_configure_args1 " '$ac_arg'" ++ if test $ac_must_keep_next = true; then ++ ac_must_keep_next=false # Got value, back to normal. ++ else ++ case $ac_arg in ++ *=* | --config-cache | -C | -disable-* | --disable-* \ ++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ++ | -with-* | --with-* | -without-* | --without-* | --x) ++ case "$ac_configure_args0 " in ++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ++ esac ++ ;; ++ -* ) ac_must_keep_next=true ;; ++ esac ++ fi ++ as_fn_append ac_configure_args " '$ac_arg'" ++ ;; ++ esac ++ done ++done ++{ ac_configure_args0=; unset ac_configure_args0;} ++{ ac_configure_args1=; unset ac_configure_args1;} ++ ++# When interrupted or exit'd, cleanup temporary files, and complete ++# config.log. We remove comments because anyway the quotes in there ++# would cause problems or look ugly. ++# WARNING: Use '\'' to represent an apostrophe within the trap. ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ++trap 'exit_status=$? ++ # Save into config.log some information that might help in debugging. ++ { ++ echo ++ ++ $as_echo "## ---------------- ## ++## Cache variables. ## ++## ---------------- ##" ++ echo ++ # The following way of writing the cache mishandles newlines in values, ++( ++ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ (set) 2>&1 | ++ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ sed -n \ ++ "s/'\''/'\''\\\\'\'''\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ++ ;; #( ++ *) ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) ++ echo ++ ++ $as_echo "## ----------------- ## ++## Output variables. ## ++## ----------------- ##" ++ echo ++ for ac_var in $ac_subst_vars ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ ++ if test -n "$ac_subst_files"; then ++ $as_echo "## ------------------- ## ++## File substitutions. ## ++## ------------------- ##" ++ echo ++ for ac_var in $ac_subst_files ++ do ++ eval ac_val=\$$ac_var ++ case $ac_val in ++ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ++ esac ++ $as_echo "$ac_var='\''$ac_val'\''" ++ done | sort ++ echo ++ fi ++ ++ if test -s confdefs.h; then ++ $as_echo "## ----------- ## ++## confdefs.h. ## ++## ----------- ##" ++ echo ++ cat confdefs.h ++ echo ++ fi ++ test "$ac_signal" != 0 && ++ $as_echo "$as_me: caught signal $ac_signal" ++ $as_echo "$as_me: exit $exit_status" ++ } >&5 ++ rm -f core *.core core.conftest.* && ++ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ++ exit $exit_status ++' 0 ++for ac_signal in 1 2 13 15; do ++ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal ++done ++ac_signal=0 ++ ++# confdefs.h avoids OS command line length limits that DEFS can exceed. ++rm -f -r conftest* confdefs.h ++ ++$as_echo "/* confdefs.h */" > confdefs.h ++ ++# Predefined preprocessor variables. ++ ++cat >>confdefs.h <<_ACEOF ++#define PACKAGE_NAME "$PACKAGE_NAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++#define PACKAGE_TARNAME "$PACKAGE_TARNAME" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++#define PACKAGE_VERSION "$PACKAGE_VERSION" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++#define PACKAGE_STRING "$PACKAGE_STRING" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" ++_ACEOF ++ ++cat >>confdefs.h <<_ACEOF ++#define PACKAGE_URL "$PACKAGE_URL" ++_ACEOF ++ ++ ++# Let the site file select an alternate cache file if it wants to. ++# Prefer an explicitly selected file to automatically selected ones. ++ac_site_file1=NONE ++ac_site_file2=NONE ++if test -n "$CONFIG_SITE"; then ++ # We do not want a PATH search for config.site. ++ case $CONFIG_SITE in #(( ++ -*) ac_site_file1=./$CONFIG_SITE;; ++ */*) ac_site_file1=$CONFIG_SITE;; ++ *) ac_site_file1=./$CONFIG_SITE;; ++ esac ++elif test "x$prefix" != xNONE; then ++ ac_site_file1=$prefix/share/config.site ++ ac_site_file2=$prefix/etc/config.site ++else ++ ac_site_file1=$ac_default_prefix/share/config.site ++ ac_site_file2=$ac_default_prefix/etc/config.site ++fi ++for ac_site_file in "$ac_site_file1" "$ac_site_file2" ++do ++ test "x$ac_site_file" = xNONE && continue ++ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ++$as_echo "$as_me: loading site script $ac_site_file" >&6;} ++ sed 's/^/| /' "$ac_site_file" >&5 ++ . "$ac_site_file" \ ++ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "failed to load site script $ac_site_file ++See \`config.log' for more details" "$LINENO" 5; } ++ fi ++done ++ ++if test -r "$cache_file"; then ++ # Some versions of bash will fail to source /dev/null (special files ++ # actually), so we avoid doing that. DJGPP emulates it as a regular file. ++ if test /dev/null != "$cache_file" && test -f "$cache_file"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ++$as_echo "$as_me: loading cache $cache_file" >&6;} ++ case $cache_file in ++ [\\/]* | ?:[\\/]* ) . "$cache_file";; ++ *) . "./$cache_file";; ++ esac ++ fi ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ++$as_echo "$as_me: creating cache $cache_file" >&6;} ++ >$cache_file ++fi ++ ++# Check that the precious variables saved in the cache have kept the same ++# value. ++ac_cache_corrupted=false ++for ac_var in $ac_precious_vars; do ++ eval ac_old_set=\$ac_cv_env_${ac_var}_set ++ eval ac_new_set=\$ac_env_${ac_var}_set ++ eval ac_old_val=\$ac_cv_env_${ac_var}_value ++ eval ac_new_val=\$ac_env_${ac_var}_value ++ case $ac_old_set,$ac_new_set in ++ set,) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,set) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ++$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ++ ac_cache_corrupted=: ;; ++ ,);; ++ *) ++ if test "x$ac_old_val" != "x$ac_new_val"; then ++ # differences in whitespace do not lead to failure. ++ ac_old_val_w=`echo x $ac_old_val` ++ ac_new_val_w=`echo x $ac_new_val` ++ if test "$ac_old_val_w" != "$ac_new_val_w"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ++$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ++ ac_cache_corrupted=: ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} ++ eval $ac_var=\$ac_old_val ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ++$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ++$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} ++ fi;; ++ esac ++ # Pass precious variables to config.status. ++ if test "$ac_new_set" = set; then ++ case $ac_new_val in ++ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ++ *) ac_arg=$ac_var=$ac_new_val ;; ++ esac ++ case " $ac_configure_args " in ++ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ++ *) as_fn_append ac_configure_args " '$ac_arg'" ;; ++ esac ++ fi ++done ++if $ac_cache_corrupted; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ++$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} ++ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 ++fi ++## -------------------- ## ++## Main body of script. ## ++## -------------------- ## ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++ ++ ++ ++# Check whether --with-64bit was given. ++if test "${with_64bit+set}" = set; then : ++ withval=$with_64bit; use_64bit=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-64bit=$withval" ++fi ++ ++ ++ ++# Check whether --with-optimization was given. ++if test "${with_optimization+set}" = set; then : ++ withval=$with_optimization; use_optimization=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-optimization=$withval" ++else ++ use_optimizaton=yes ++fi ++ ++ ++ ++# Check whether --with-gperftools was given. ++if test "${with_gperftools+set}" = set; then : ++ withval=$with_gperftools; use_gperftools=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-gperftools=$withval" ++else ++ use_gperftools=no ++fi ++ ++ ++ ++# Check whether --with-sanitizer was given. ++if test "${with_sanitizer+set}" = set; then : ++ withval=$with_sanitizer; use_sanitizer=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-sanitizer=$withval" ++else ++ use_sanitizer=no ++fi ++ ++ ++ ++# Check whether --with-threads was given. ++if test "${with_threads+set}" = set; then : ++ withval=$with_threads; do_threads=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-threads=$withval" ++else ++ do_threads=check ++fi ++ ++ ++ ++# Check whether --with-secure-sockets was given. ++if test "${with_secure_sockets+set}" = set; then : ++ withval=$with_secure_sockets; do_secure=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-secure-sockets=$withval" ++else ++ do_secure=check ++fi ++ ++ ++ ++# Check whether --with-static-probes was given. ++if test "${with_static_probes+set}" = set; then : ++ withval=$with_static_probes; do_probes=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-static-probes=$withval" ++else ++ do_probes=check ++fi ++ ++ ++ ++# Check whether --with-infiniband was given. ++if test "${with_infiniband+set}" = set; then : ++ withval=$with_infiniband; do_infiniband=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-infiniband=$withval" ++else ++ do_infiniband=check ++fi ++ ++ ++ ++# Check whether --with-user was given. ++if test "${with_user+set}" = set; then : ++ withval=$with_user; pcp_user=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-user-account=$withval" ++else ++ pcp_user=pcp ++fi ++ ++ ++ ++ ++# Check whether --with-group was given. ++if test "${with_group+set}" = set; then : ++ withval=$with_group; pcp_group=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-group-account=$withval" ++else ++ pcp_group=pcp ++fi ++ ++ ++ ++ ++# Check whether --with-discovery was given. ++if test "${with_discovery+set}" = set; then : ++ withval=$with_discovery; do_discovery=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-discovery=$withval" ++else ++ do_discovery=check ++fi ++ ++ ++ ++# Check whether --with-systemd was given. ++if test "${with_systemd+set}" = set; then : ++ withval=$with_systemd; do_systemd=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-systemd=$withval" ++else ++ do_systemd=check ++fi ++ ++ ++ ++# Check whether --with-qt was given. ++if test "${with_qt+set}" = set; then : ++ withval=$with_qt; do_qt=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-qt=$withval" ++else ++ do_qt=check ++fi ++ ++ ++ ++# Check whether --with-qt3d was given. ++if test "${with_qt3d+set}" = set; then : ++ withval=$with_qt3d; do_qt3d=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-qt3d=$withval" ++else ++ do_qt3d=check ++fi ++ ++ ++ ++# Check whether --with-perl was given. ++if test "${with_perl+set}" = set; then : ++ withval=$with_perl; do_perl=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-perl=$withval" ++else ++ do_perl=check ++fi ++ ++ ++ ++# Check whether --with-python was given. ++if test "${with_python+set}" = set; then : ++ withval=$with_python; do_python=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-python=$withval" ++else ++ do_python=check ++fi ++ ++ ++ ++# Check whether --with-python3 was given. ++if test "${with_python3+set}" = set; then : ++ withval=$with_python3; do_python3=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-python3=$withval" ++else ++ do_python3=check ++fi ++ ++ ++ ++# Check whether --with-dstat-symlink was given. ++if test "${with_dstat_symlink+set}" = set; then : ++ withval=$with_dstat_symlink; do_dstat_symlink=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-dstat-symlink=$withval" ++else ++ do_dstat_symlink=check ++fi ++ ++ ++ ++# Check whether --with-perfevent was given. ++if test "${with_perfevent+set}" = set; then : ++ withval=$with_perfevent; do_perfevent=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-perfevent=$withval" ++else ++ do_perfevent=check ++fi ++ ++ ++ ++# Check whether --with-pmdastatsd was given. ++if test "${with_pmdastatsd+set}" = set; then : ++ withval=$with_pmdastatsd; do_pmdastatsd=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdastatsd=$withval" ++else ++ do_pmdastatsd=check ++fi ++ ++ ++ ++# Check whether --with-pmdapodman was given. ++if test "${with_pmdapodman+set}" = set; then : ++ withval=$with_pmdapodman; do_pmdapodman=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdapodman=$withval" ++else ++ do_pmdapodman=check ++fi ++ ++ ++ ++# Check whether --with-pmdabcc was given. ++if test "${with_pmdabcc+set}" = set; then : ++ withval=$with_pmdabcc; do_pmdabcc=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabcc=$withval" ++else ++ do_pmdabcc=check ++fi ++ ++ ++ ++# Check whether --with-pmdabpf was given. ++if test "${with_pmdabpf+set}" = set; then : ++ withval=$with_pmdabpf; do_pmdabpf=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf=$withval" ++else ++ do_pmdabpf=check ++fi ++ ++ ++ ++# Check whether --with-pmdabpf-clang was given. ++if test "${with_pmdabpf_clang+set}" = set; then : ++ withval=$with_pmdabpf_clang; PMDABPF_CLANG=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-clang=$withval" ++else ++ PMDABPF_CLANG='' ++fi ++ ++ ++ ++# Check whether --with-pmdabpf-llvm-strip was given. ++if test "${with_pmdabpf_llvm_strip+set}" = set; then : ++ withval=$with_pmdabpf_llvm_strip; PMDABPF_LLVM_STRIP=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-llvm-strip=$withval" ++else ++ PMDABPF_LLVM_STRIP='' ++fi ++ ++ ++ ++# Check whether --with-pmdabpf-bpftool was given. ++if test "${with_pmdabpf_bpftool+set}" = set; then : ++ withval=$with_pmdabpf_bpftool; PMDABPF_BPFTOOL=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpf-bpftool=$withval" ++else ++ PMDABPF_BPFTOOL='' ++fi ++ ++ ++ ++# Check whether --with-pmdabpftrace was given. ++if test "${with_pmdabpftrace+set}" = set; then : ++ withval=$with_pmdabpftrace; do_pmdabpftrace=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdabpftrace=$withval" ++else ++ do_pmdabpftrace=check ++fi ++ ++ ++ ++# Check whether --with-pmdajson was given. ++if test "${with_pmdajson+set}" = set; then : ++ withval=$with_pmdajson; do_pmdajson=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdajson=$withval" ++else ++ do_pmdajson=check ++fi ++ ++ ++ ++# Check whether --with-pmdanutcracker was given. ++if test "${with_pmdanutcracker+set}" = set; then : ++ withval=$with_pmdanutcracker; do_pmdanutcracker=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdanutcracker=$withval" ++else ++ do_pmdanutcracker=check ++fi ++ ++ ++ ++# Check whether --with-pmdasnmp was given. ++if test "${with_pmdasnmp+set}" = set; then : ++ withval=$with_pmdasnmp; do_pmdasnmp=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdasnmp=$withval" ++else ++ do_pmdasnmp=check ++fi ++ ++ ++ ++# Check whether --with-selinux was given. ++if test "${with_selinux+set}" = set; then : ++ withval=$with_selinux; do_selinux=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-selinux=$withval" ++else ++ do_selinux=check ++fi ++ ++ ++ ++# Check whether --with-make was given. ++if test "${with_make+set}" = set; then : ++ withval=$with_make; MAKE=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-make=$withval" ++else ++ MAKE='' ++fi ++ ++ ++ ++# Check whether --with-tar was given. ++if test "${with_tar+set}" = set; then : ++ withval=$with_tar; TAR=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-tar=$withval" ++else ++ TAR='' ++fi ++ ++ ++ ++# Check whether --with-zip was given. ++if test "${with_zip+set}" = set; then : ++ withval=$with_zip; ZIP=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-zip=$withval" ++else ++ ZIP='' ++fi ++ ++ ++ ++# Check whether --with-transparent-decompression was given. ++if test "${with_transparent_decompression+set}" = set; then : ++ withval=$with_transparent_decompression; do_decompression=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-transparent-decompression=$withval" ++else ++ do_decompression=check ++fi ++ ++ ++ ++ ++ac_aux_dir= ++for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do ++ if test -f "$ac_dir/install-sh"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/install-sh -c" ++ break ++ elif test -f "$ac_dir/install.sh"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/install.sh -c" ++ break ++ elif test -f "$ac_dir/shtool"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/shtool install -c" ++ break ++ fi ++done ++if test -z "$ac_aux_dir"; then ++ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 ++fi ++ ++# These three variables are undocumented and unsupported, ++# and are intended to be withdrawn in a future Autoconf release. ++# They can cause serious problems if a builder's source tree is in a directory ++# whose full name contains unusual characters. ++ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ++ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ++ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. ++ ++ ++# Make sure we can run config.sub. ++$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || ++ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 ++$as_echo_n "checking build system type... " >&6; } ++if ${ac_cv_build+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_build_alias=$build_alias ++test "x$ac_build_alias" = x && ++ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` ++test "x$ac_build_alias" = x && ++ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ++ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || ++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 ++$as_echo "$ac_cv_build" >&6; } ++case $ac_cv_build in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; ++esac ++build=$ac_cv_build ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_build ++shift ++build_cpu=$1 ++build_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++build_os=$* ++IFS=$ac_save_IFS ++case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 ++$as_echo_n "checking host system type... " >&6; } ++if ${ac_cv_host+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "x$host_alias" = x; then ++ ac_cv_host=$ac_cv_build ++else ++ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || ++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 ++$as_echo "$ac_cv_host" >&6; } ++case $ac_cv_host in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; ++esac ++host=$ac_cv_host ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_host ++shift ++host_cpu=$1 ++host_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++host_os=$* ++IFS=$ac_save_IFS ++case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 ++$as_echo_n "checking target system type... " >&6; } ++if ${ac_cv_target+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "x$target_alias" = x; then ++ ac_cv_target=$ac_cv_host ++else ++ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || ++ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 ++$as_echo "$ac_cv_target" >&6; } ++case $ac_cv_target in ++*-*-*) ;; ++*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; ++esac ++target=$ac_cv_target ++ac_save_IFS=$IFS; IFS='-' ++set x $ac_cv_target ++shift ++target_cpu=$1 ++target_vendor=$2 ++shift; shift ++# Remember, the first character of IFS is used to create $*, ++# except with old shells: ++target_os=$* ++IFS=$ac_save_IFS ++case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac ++ ++ ++# The aliases save the names the user supplied, while $host etc. ++# will get canonicalized. ++test -n "$target_alias" && ++ test "$program_prefix$program_suffix$program_transform_name" = \ ++ NONENONEs,x,x, && ++ program_prefix=${target_alias}- ++ ++if test -z "$target" ++then ++ echo ' ++FATAL ERROR: Cannot guess your target, try explicit specification ++ using --target or mailto: pcp@groups.io to ask.' ++ rm -rf conftest conftest.* ++ exit 1 ++else ++ target=`echo $target | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ++ target_os=`echo $target_os | sed 's/solaris2\..*/solaris/'` ++ target_os=`echo $target_os | sed 's/^\([^-][^-]*\)-.*$/\1/' | sed 's/[\.0-9]*//g'` ++ ++ build=`echo $build | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` ++ build_os=`echo $build_os | sed 's/solaris2\..*/solaris/'` ++ build_os=`echo $build_os | sed 's/^\([^-][^-]*\)-.*$/\1/'` ++fi ++ ++echo Building on $build for $target ++echo "Build: os=$build_os cpu=$build_cpu" ++echo "Target: os=$target_os cpu=$target_cpu" ++ ++if test "$cross_compiling" = "yes"; then ++ if test -f ./config.$target_os; then ++ . ./config.$target_os ++ else ++ echo ++ echo " ++FATAL ERROR: Cannot perform cross-compilation without a file to source ++ configuration information from (config.$target_os is missing)" ++ rm -rf conftest conftest.* ++ exit 1 ++ fi ++fi ++ ++ ++ ++gcc_debug=true ++target_distro=$target_os ++if test $target_os = linux ++then ++ ++$as_echo "#define IS_LINUX 1" >>confdefs.h ++ ++ test -f /etc/SuSE-release && target_distro=suse ++ target_distro_variant='' ++ if test -f /etc/os-release ++ then ++ grep -q 'ID_LIKE="suse"' /etc/os-release 2>/dev/null && target_distro=suse ++ grep -qi 'opensuse"' /etc/os-release 2>/dev/null && target_distro_variant=opensuse ++ fi ++ test -f /etc/fedora-release && target_distro=fedora ++ test -f /etc/redhat-release && target_distro=redhat ++ test -f /etc/debian_version && target_distro=debian ++ test -f /etc/slackware-version && target_distro=slackware ++ test -f /etc/gentoo-release && target_distro=gentoo ++ test -f /etc/mandriva-release && target_distro=mandriva ++ test -f /etc/arch-release && target_distro=arch ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" ++ pcp_platform_paths='/usr/bin/X11:/usr/local/bin' ++ pcp_ps_all_flags=-efw ++elif test $target_os = darwin ++then ++ ++$as_echo "#define IS_DARWIN 1" >>confdefs.h ++ ++ target_distro=macosx ++ version=`sw_vers -productVersion` ++ CFLAGS="-fPIC -no-cpp-precomp -fno-strict-aliasing" ++ case "$version" ++ in ++ 10.0-5.*) ++ ;; ++ 10.6-9.*|10.10-3.*) ++ target_distro=cocoa ++ CFLAGS="$CFLAGS -arch i386 -arch x86_64" ++ ;; ++ *) ++ target_distro=cocoa ++ CFLAGS="$CFLAGS -arch x86_64" ++ ;; ++ esac ++ export CFLAGS ++ pcp_platform_paths='/usr/local/bin' ++ pcp_ps_all_flags="-axw -o user,pid,ppid,cpu,stime,tty,time,command" ++elif test $target_os = mingw ++then ++ ++$as_echo "#define IS_MINGW 1" >>confdefs.h ++ ++ CFLAGS="-fno-strict-aliasing" ++ pcp_platform_paths='' ++ pcp_ps_all_flags=-efW ++elif test $target_os = solaris ++then ++ ++$as_echo "#define IS_SOLARIS 1" >>confdefs.h ++ ++ export CFLAGS_IF_GCC="-fPIC -fno-strict-aliasing -D_XPG4_2 -D__EXTENSIONS__" ++ export CFLAGS_IF_SUNCC="-fPIC -xalias_level=any -D_XPG4_2 -D__EXTENSIONS__" ++ pcp_platform_paths='/usr/bin/X11:/usr/local/bin:/opt/sfw/bin:/opt/csw/bin' ++ pcp_ps_all_flags=-ef ++elif test $target_os = aix ++then ++ ++$as_echo "#define IS_AIX 1" >>confdefs.h ++ ++ export CFLAGS="-qcpluscmt" ++ pcp_platform_paths='/usr/bin/X11:/usr/local/bin' ++ pcp_ps_all_flags=-ef ++elif test $target_os = freebsd || test $target_os = kfreebsd ++then ++ ++$as_echo "#define IS_FREEBSD 1" >>confdefs.h ++ ++ test -f /etc/debian_version && target_distro=debian ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" ++ if test $target_os = kfreebsd ++ then ++ pcp_ps_all_flags=-efw ++ else ++ pcp_ps_all_flags=auxww ++ fi ++ pcp_platform_paths='/usr/bin/X11' ++ test -d /usr/local/bin && pcp_platform_paths="$pcp_platform_paths:/usr/local/bin" ++ test -d /usr/bsd && pcp_platform_paths="$pcp_platform_paths:/usr/bsd" ++elif test $target_os = gnu ++then ++ ++$as_echo "#define IS_GNU 1" >>confdefs.h ++ ++ test -f /etc/debian_version && target_distro=debian ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" ++ pcp_platform_paths='/usr/bin/X11:/usr/local/bin' ++ pcp_ps_all_flags=-efw ++elif test $target_os = netbsdelf -o $target_os = netbsd ++then ++ target_os=netbsd ++ ++$as_echo "#define IS_NETBSD 1" >>confdefs.h ++ ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE -D_NETBSD_SOURCE" ++ pcp_platform_paths='/usr/pkg/bin' ++ pcp_ps_all_flags=auxww ++elif test $target_os = openbsd ++then ++ target_os=openbsd ++ ++$as_echo "#define IS_OPENBSD 1" >>confdefs.h ++ ++ export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE" ++ pcp_platform_paths='/usr/local/bin' ++ pcp_ps_all_flags="-axw -o user,pid,ppid,%cpu,start,tty,time,args" ++ if test "$target_cpu" = "i386" -a "$host_os" = "openbsd6.8" ++ then ++ gcc_debug=false ++ fi ++else ++ echo ++ echo "FATAL ERROR: need platform-specific customization for \"$target_os\"" ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++ ++ ++ ++if test "$use_optimization" = no ++then ++ optimization="-O0" ++ $gcc_debug && optimization="$optimization -g" ++else ++ optimization="-O2" ++ $gcc_debug && optimization="$optimization -g" ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then ++ if test -n "$ac_tool_prefix"; then ++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. ++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_PKG_CONFIG+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKG_CONFIG=$ac_cv_path_PKG_CONFIG ++if test -n "$PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 ++$as_echo "$PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test -z "$ac_cv_path_PKG_CONFIG"; then ++ ac_pt_PKG_CONFIG=$PKG_CONFIG ++ # Extract the first word of "pkg-config", so it can be a program name with args. ++set dummy pkg-config; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ac_pt_PKG_CONFIG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG ++if test -n "$ac_pt_PKG_CONFIG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 ++$as_echo "$ac_pt_PKG_CONFIG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ if test "x$ac_pt_PKG_CONFIG" = x; then ++ PKG_CONFIG="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ PKG_CONFIG=$ac_pt_PKG_CONFIG ++ fi ++else ++ PKG_CONFIG="$ac_cv_path_PKG_CONFIG" ++fi ++ ++fi ++if test -n "$PKG_CONFIG"; then ++ _pkg_min_version=0.9.0 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 ++$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } ++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ PKG_CONFIG="" ++ fi ++fi ++if test -z "$PKG_CONFIG"; then ++ as_fn_error $? "cannot find a 'pkg-config' command" "$LINENO" 5 ++fi ++ ++cflags_abi= ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++if test -n "$ac_tool_prefix"; then ++ for ac_prog in suncc egcc gcc cc clang ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CC"; then ++ ac_cv_prog_CC="$CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CC=$ac_cv_prog_CC ++if test -n "$CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++$as_echo "$CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CC" && break ++ done ++fi ++if test -z "$CC"; then ++ ac_ct_CC=$CC ++ for ac_prog in suncc egcc gcc cc clang ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_CC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CC"; then ++ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CC="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CC=$ac_cv_prog_ac_ct_CC ++if test -n "$ac_ct_CC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++$as_echo "$ac_ct_CC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CC" && break ++done ++ ++ if test "x$ac_ct_CC" = x; then ++ CC="" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CC=$ac_ct_CC ++ fi ++fi ++ ++ ++test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "no acceptable C compiler found in \$PATH ++See \`config.log' for more details" "$LINENO" 5; } ++ ++# Provide some information about the compiler. ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ fi ++ rm -f conftest.er1 conftest.err ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" ++# Try to create an executable without -o first, disregard a.out. ++# It will help us diagnose broken compilers, and finding out an intuition ++# of exeext. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 ++$as_echo_n "checking whether the C compiler works... " >&6; } ++ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ++ ++# The possible output files: ++ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ++ ++ac_rmfiles= ++for ac_file in $ac_files ++do ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ * ) ac_rmfiles="$ac_rmfiles $ac_file";; ++ esac ++done ++rm -f $ac_rmfiles ++ ++if { { ac_try="$ac_link_default" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link_default") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. ++# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' ++# in a Makefile. We should not override ac_cv_exeext if it was cached, ++# so that the user can short-circuit this test for compilers unknown to ++# Autoconf. ++for ac_file in $ac_files '' ++do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ++ ;; ++ [ab].out ) ++ # We found the default executable, but exeext='' is most ++ # certainly right. ++ break;; ++ *.* ) ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ++ then :; else ++ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ fi ++ # We set ac_cv_exeext here because the later test for it is not ++ # safe: cross compilers may not add the suffix if given an `-o' ++ # argument, so we may need to know it at that point already. ++ # Even if this section looks crufty: it has the advantage of ++ # actually working. ++ break;; ++ * ) ++ break;; ++ esac ++done ++test "$ac_cv_exeext" = no && ac_cv_exeext= ++ ++else ++ ac_file='' ++fi ++if test -z "$ac_file"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error 77 "C compiler cannot create executables ++See \`config.log' for more details" "$LINENO" 5; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 ++$as_echo_n "checking for C compiler default output file name... " >&6; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ++$as_echo "$ac_file" >&6; } ++ac_exeext=$ac_cv_exeext ++ ++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ++ac_clean_files=$ac_clean_files_save ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ++$as_echo_n "checking for suffix of executables... " >&6; } ++if { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ # If both `conftest.exe' and `conftest' are `present' (well, observable) ++# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ++# work properly (i.e., refer to `conftest.exe'), while it won't with ++# `rm'. ++for ac_file in conftest.exe conftest conftest.*; do ++ test -f "$ac_file" || continue ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ++ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ++ break;; ++ * ) break;; ++ esac ++done ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++rm -f conftest conftest$ac_cv_exeext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ++$as_echo "$ac_cv_exeext" >&6; } ++ ++rm -f conftest.$ac_ext ++EXEEXT=$ac_cv_exeext ++ac_exeext=$EXEEXT ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++FILE *f = fopen ("conftest.out", "w"); ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++ac_clean_files="$ac_clean_files conftest.out" ++# Check that the compiler produces executables we can run. If not, either ++# the compiler is broken, or we cross compile. ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ++$as_echo_n "checking whether we are cross compiling... " >&6; } ++if test "$cross_compiling" != yes; then ++ { { ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++ if { ac_try='./conftest$ac_cv_exeext' ++ { { case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; }; then ++ cross_compiling=no ++ else ++ if test "$cross_compiling" = maybe; then ++ cross_compiling=yes ++ else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot run C compiled programs. ++If you meant to cross compile, use \`--host'. ++See \`config.log' for more details" "$LINENO" 5; } ++ fi ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ++$as_echo "$cross_compiling" >&6; } ++ ++rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ++ac_clean_files=$ac_clean_files_save ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ++$as_echo_n "checking for suffix of object files... " >&6; } ++if ${ac_cv_objext+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.o conftest.obj ++if { { ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compile") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then : ++ for ac_file in conftest.o conftest.obj conftest.*; do ++ test -f "$ac_file" || continue; ++ case $ac_file in ++ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; ++ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` ++ break;; ++ esac ++done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "cannot compute suffix of object files: cannot compile ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++rm -f conftest.$ac_cv_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ++$as_echo "$ac_cv_objext" >&6; } ++OBJEXT=$ac_cv_objext ++ac_objext=$OBJEXT ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ++if ${ac_cv_c_compiler_gnu+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_compiler_gnu=yes ++else ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_cv_c_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++$as_echo "$ac_cv_c_compiler_gnu" >&6; } ++if test $ac_compiler_gnu = yes; then ++ GCC=yes ++else ++ GCC= ++fi ++ac_test_CFLAGS=${CFLAGS+set} ++ac_save_CFLAGS=$CFLAGS ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++$as_echo_n "checking whether $CC accepts -g... " >&6; } ++if ${ac_cv_prog_cc_g+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_save_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ ac_cv_prog_cc_g=no ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++else ++ CFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++else ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_c_werror_flag=$ac_save_c_werror_flag ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++$as_echo "$ac_cv_prog_cc_g" >&6; } ++if test "$ac_test_CFLAGS" = set; then ++ CFLAGS=$ac_save_CFLAGS ++elif test $ac_cv_prog_cc_g = yes; then ++ if test "$GCC" = yes; then ++ CFLAGS="-g -O2" ++ else ++ CFLAGS="-g" ++ fi ++else ++ if test "$GCC" = yes; then ++ CFLAGS="-O2" ++ else ++ CFLAGS= ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ++if ${ac_cv_prog_cc_c89+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_prog_cc_c89=no ++ac_save_CC=$CC ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++struct stat; ++/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ++struct buf { int x; }; ++FILE * (*rcsopen) (struct buf *, struct stat *, int); ++static char *e (p, i) ++ char **p; ++ int i; ++{ ++ return p[i]; ++} ++static char *f (char * (*g) (char **, int), char **p, ...) ++{ ++ char *s; ++ va_list v; ++ va_start (v,p); ++ s = g (p, va_arg (v,int)); ++ va_end (v); ++ return s; ++} ++ ++/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ++ function prototypes and stuff, but not '\xHH' hex character constants. ++ These don't provoke an error unfortunately, instead are silently treated ++ as 'x'. The following induces an error, until -std is added to get ++ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ++ array size at least. It's necessary to write '\x00'==0 to get something ++ that's true only with -std. */ ++int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ++ ++/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ++ inside strings and character constants. */ ++#define FOO(x) 'x' ++int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ++ ++int test (int i, double x); ++struct s1 {int (*f) (int a);}; ++struct s2 {int (*f) (double a);}; ++int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ++int argc; ++char **argv; ++int ++main () ++{ ++return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ++ ; ++ return 0; ++} ++_ACEOF ++for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ++ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ++do ++ CC="$ac_save_CC $ac_arg" ++ if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_prog_cc_c89=$ac_arg ++fi ++rm -f core conftest.err conftest.$ac_objext ++ test "x$ac_cv_prog_cc_c89" != "xno" && break ++done ++rm -f conftest.$ac_ext ++CC=$ac_save_CC ++ ++fi ++# AC_CACHE_VAL ++case "x$ac_cv_prog_cc_c89" in ++ x) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++$as_echo "none needed" >&6; } ;; ++ xno) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++$as_echo "unsupported" >&6; } ;; ++ *) ++ CC="$CC $ac_cv_prog_cc_c89" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ++esac ++if test "x$ac_cv_prog_cc_c89" != xno; then : ++ ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++if test $target_os = solaris ++then ++ # Extract the first word of "$CC", so it can be a program name with args. ++set dummy $CC; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_CCPATH+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $CCPATH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_CCPATH="$CCPATH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_CCPATH="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_CCPATH" && ac_cv_path_CCPATH="$CC" ++ ;; ++esac ++fi ++CCPATH=$ac_cv_path_CCPATH ++if test -n "$CCPATH"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCPATH" >&5 ++$as_echo "$CCPATH" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ cc=$CCPATH ++ if test "$GCC" = "yes" ++ then ++ CFLAGS="$CFLAGS $CFLAGS_IF_GCC" ++ else ++ CFLAGS="$CFLAGS $CFLAGS_IF_SUNCC" ++ fi ++ if test "$use_64bit" = "no" ++ then ++ : ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64 bit Solaris host" >&5 ++$as_echo_n "checking for 64 bit Solaris host... " >&6; } ++ case `isainfo -k` ++ in ++ amd64|sparcv9) ++ cflags_abi=-m64 ++ CFLAGS="$CFLAGS -m64" ++ LDFLAGS="$LDFLAGS -m64" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ;; ++ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ;; ++ esac ++ fi ++else ++ cc=$CC ++fi ++ ++cc_is_gcc=$GCC ++ ++ ++PCFLAGS="$CFLAGS" ++PLDFLAGS=$LDFLAGS ++ ++if echo "$CFLAGS" | grep 'D_FORTIFY_SOURCE' >/dev/null ++then ++ CFLAGS="-O $PCFLAGS" ++fi ++ ++ ++if echo "$CFLAGS" | grep stack-protector >/dev/null ++then ++ : ++else ++ # Check whether --enable-ssp was given. ++if test "${enable_ssp+set}" = set; then : ++ enableval=$enable_ssp; ++fi ++ ++ ++if test "x$cc_is_gcc" = xyes -a "x$enable_ssp" != xno -a "x$use_optimization" = xyes ; then : ++ ++ save_CFLAGS="$CFLAGS" ++ CFLAGS="$CFLAGS -O -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++int something (); ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5 ++$as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;} ++ PCFLAGS="$PCFLAGS -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5 ++$as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;} ++ CFLAGS="$save_CFLAGS" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++fi ++fi ++if ! echo "$CFLAGS" | grep -- -Wshadow >/dev/null ++then ++ if test "x$cc_is_gcc" = xyes ; then : ++ PCFLAGS="$PCFLAGS -Wshadow" ++fi ++fi ++ ++ ++ ++# Check whether --enable-pie was given. ++if test "${enable_pie+set}" = set; then : ++ enableval=$enable_pie; ++fi ++ ++if test "x$cc_is_gcc" = xyes -a "x$enable_pie" != xno; then : ++ ++ PIECFLAGS='-fPIE' ++ PIELDFLAGS='-pie -Wl,-z,relro -Wl,-z,now' ++ save_CFLAGS="$CFLAGS" ++ save_LDFLAGS="$LDFLAGS" ++ CFLAGS="$CFLAGS $PIECFLAGS" ++ LDFLAGS="$LDFLAGS $PIELDFLAGS" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++void main () {} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5 ++$as_echo "$as_me: Compiling with gcc pie et al." >&6;} ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5 ++$as_echo "$as_me: Compiler does not support -pie et al." >&6;} ++ PIECFLAGS="" ++ PIELDFLAGS="" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ CFLAGS="$save_CFLAGS" ++ LDFLAGS="$save_LDFLAGS" ++ ++fi ++ ++ ++ ++# Check whether --enable-visibility was given. ++if test "${enable_visibility+set}" = set; then : ++ enableval=$enable_visibility; ++fi ++ ++if test "x$cc_is_gcc" = xyes -a "$enable_visibility" != no; then : ++ ++ INVISIBILITY="-fvisibility=hidden" ++ save_CFLAGS="$CFLAGS" ++ CFLAGS="$CFLAGS -c $INVISIBILITY" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++int visible () { return 0; } ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&5 ++$as_echo "$as_me: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&6;} ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fvisibility." >&5 ++$as_echo "$as_me: Compiler does not support -fvisibility." >&6;} ++ INVISIBILITY="" ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ CFLAGS="$save_CFLAGS" ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --std=c99 support" >&5 ++$as_echo_n "checking for --std=c99 support... " >&6; } ++if test "x$cc_is_gcc" = xyes; then : ++ ++ C99_CFLAGS="--std=c99" ++ save_CFLAGS="$CFLAGS" ++ CFLAGS="$CFLAGS $C99_CFLAGS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++for (int i=0; i<1; i++) ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ C99_CFLAGS="" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ CFLAGS="$save_CFLAGS" ++ ++fi ++ ++ ++ac_ext=cpp ++ac_cpp='$CXXCPP $CPPFLAGS' ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++if test -z "$CXX"; then ++ if test -n "$CCC"; then ++ CXX=$CCC ++ else ++ if test -n "$ac_tool_prefix"; then ++ for ac_prog in eg++ g++ c++ clang++ ++ do ++ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ++set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_CXX+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$CXX"; then ++ ac_cv_prog_CXX="$CXX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++CXX=$ac_cv_prog_CXX ++if test -n "$CXX"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ++$as_echo "$CXX" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$CXX" && break ++ done ++fi ++if test -z "$CXX"; then ++ ac_ct_CXX=$CXX ++ for ac_prog in eg++ g++ c++ clang++ ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_ac_ct_CXX+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$ac_ct_CXX"; then ++ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_ac_ct_CXX="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++ac_ct_CXX=$ac_cv_prog_ac_ct_CXX ++if test -n "$ac_ct_CXX"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ++$as_echo "$ac_ct_CXX" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$ac_ct_CXX" && break ++done ++ ++ if test "x$ac_ct_CXX" = x; then ++ CXX="g++" ++ else ++ case $cross_compiling:$ac_tool_warned in ++yes:) ++{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ++ac_tool_warned=yes ;; ++esac ++ CXX=$ac_ct_CXX ++ fi ++fi ++ ++ fi ++fi ++# Provide some information about the compiler. ++$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 ++set X $ac_compile ++ac_compiler=$2 ++for ac_option in --version -v -V -qversion; do ++ { { ac_try="$ac_compiler $ac_option >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++ ac_status=$? ++ if test -s conftest.err; then ++ sed '10a\ ++... rest of stderr output deleted ... ++ 10q' conftest.err >conftest.er1 ++ cat conftest.er1 >&5 ++ fi ++ rm -f conftest.er1 conftest.err ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 ++$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } ++if ${ac_cv_cxx_compiler_gnu+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++#ifndef __GNUC__ ++ choke me ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO"; then : ++ ac_compiler_gnu=yes ++else ++ ac_compiler_gnu=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_cv_cxx_compiler_gnu=$ac_compiler_gnu ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 ++$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } ++if test $ac_compiler_gnu = yes; then ++ GXX=yes ++else ++ GXX= ++fi ++ac_test_CXXFLAGS=${CXXFLAGS+set} ++ac_save_CXXFLAGS=$CXXFLAGS ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 ++$as_echo_n "checking whether $CXX accepts -g... " >&6; } ++if ${ac_cv_prog_cxx_g+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_save_cxx_werror_flag=$ac_cxx_werror_flag ++ ac_cxx_werror_flag=yes ++ ac_cv_prog_cxx_g=no ++ CXXFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO"; then : ++ ac_cv_prog_cxx_g=yes ++else ++ CXXFLAGS="" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO"; then : ++ ++else ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag ++ CXXFLAGS="-g" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO"; then : ++ ac_cv_prog_cxx_g=yes ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 ++$as_echo "$ac_cv_prog_cxx_g" >&6; } ++if test "$ac_test_CXXFLAGS" = set; then ++ CXXFLAGS=$ac_save_CXXFLAGS ++elif test $ac_cv_prog_cxx_g = yes; then ++ if test "$GXX" = yes; then ++ CXXFLAGS="-g -O2" ++ else ++ CXXFLAGS="-g" ++ fi ++else ++ if test "$GXX" = yes; then ++ CXXFLAGS="-O2" ++ else ++ CXXFLAGS= ++ fi ++fi ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++cxx=$CXX ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C++ compiler" >&5 ++$as_echo_n "checking for working C++ compiler... " >&6; } ++ac_ext=cpp ++ac_cpp='$CXXCPP $CPPFLAGS' ++ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ++ ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++const char gday[] = "G'day, world\n"; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_cxx_try_compile "$LINENO"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ cxx="" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++# Check whether --enable-shared was given. ++if test "${enable_shared+set}" = set; then : ++ enableval=$enable_shared; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --disable-shared=$withval" ++else ++ enable_shared=false ++fi ++ ++ ++ ++ ++test -z "$AWK" && for ac_prog in gawk awk ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_AWK+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $AWK in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_AWK="$AWK" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++AWK=$ac_cv_path_AWK ++if test -n "$AWK"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 ++$as_echo "$AWK" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$AWK" && break ++done ++test -n "$AWK" || AWK="/usr/bin/awk" ++ ++case "$AWK" ++in ++ gawk|*/gawk) ++ awk="$AWK --posix" ++ ;; ++ *) ++ awk=$AWK ++ ;; ++esac ++ ++ ++if test -z "$SED"; then ++ # Extract the first word of "sed", so it can be a program name with args. ++set dummy sed; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_SED+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $SED in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_SED="$SED" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_SED" && ac_cv_path_SED="/bin/sed" ++ ;; ++esac ++fi ++SED=$ac_cv_path_SED ++if test -n "$SED"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 ++$as_echo "$SED" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test ! -x "$SED"; then ++ as_fn_error $? "cannot find a valid 'sed' command." "$LINENO" 5 ++fi ++sed=$SED ++ ++ ++if test -z "$ECHO"; then ++ # Extract the first word of "echo", so it can be a program name with args. ++set dummy echo; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_ECHO+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ECHO in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="/bin/echo" ++ ;; ++esac ++fi ++ECHO=$ac_cv_path_ECHO ++if test -n "$ECHO"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5 ++$as_echo "$ECHO" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test ! -x "$ECHO"; then ++ as_fn_error $? "cannot find a valid 'echo' command." "$LINENO" 5 ++fi ++echo=$ECHO ++ ++ ++if test -z "$FIND"; then ++ # Extract the first word of "find", so it can be a program name with args. ++set dummy find; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_FIND+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $FIND in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_FIND="$FIND" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_FIND" && ac_cv_path_FIND="/usr/bin/find" ++ ;; ++esac ++fi ++FIND=$ac_cv_path_FIND ++if test -n "$FIND"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5 ++$as_echo "$FIND" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test ! -x "$FIND"; then ++ as_fn_error $? "cannot find a valid 'find' command." "$LINENO" 5 ++fi ++find=$FIND ++ ++ ++if test -z "$WHICH"; then ++ # Extract the first word of "which", so it can be a program name with args. ++set dummy which; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_WHICH+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $WHICH in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_WHICH="$WHICH" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_WHICH="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_WHICH" && ac_cv_path_WHICH="/usr/bin/which" ++ ;; ++esac ++fi ++WHICH=$ac_cv_path_WHICH ++if test -n "$WHICH"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WHICH" >&5 ++$as_echo "$WHICH" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++if test ! -x "$WHICH"; then ++ as_fn_error $? "cannot find a valid 'which' command." "$LINENO" 5 ++fi ++which=$WHICH ++ ++ ++if test -z "$AR"; then ++ for ac_prog in gcc-ar ar ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_AR+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $AR in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_AR="$AR" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++AR=$ac_cv_path_AR ++if test -n "$AR"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 ++$as_echo "$AR" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$AR" && break ++done ++test -n "$AR" || AR="/usr/bin/ar" ++ ++fi ++if test ! -x "$AR"; then ++ as_fn_error $? "cannot find a valid 'ar' command." "$LINENO" 5 ++fi ++ar=$AR ++ ++ ++for ac_prog in flex lex ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_LEX+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$LEX"; then ++ ac_cv_prog_LEX="$LEX" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_LEX="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++LEX=$ac_cv_prog_LEX ++if test -n "$LEX"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 ++$as_echo "$LEX" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$LEX" && break ++done ++test -n "$LEX" || LEX=":" ++ ++if test "x$LEX" != "x:"; then ++ cat >conftest.l <<_ACEOF ++%% ++a { ECHO; } ++b { REJECT; } ++c { yymore (); } ++d { yyless (1); } ++e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ ++ yyless ((input () != 0)); } ++f { unput (yytext[0]); } ++. { BEGIN INITIAL; } ++%% ++#ifdef YYTEXT_POINTER ++extern char *yytext; ++#endif ++int ++main (void) ++{ ++ return ! yylex () + ! yywrap (); ++} ++_ACEOF ++{ { ac_try="$LEX conftest.l" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ++$as_echo "$ac_try_echo"; } >&5 ++ (eval "$LEX conftest.l") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; } ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 ++$as_echo_n "checking lex output file root... " >&6; } ++if ${ac_cv_prog_lex_root+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++if test -f lex.yy.c; then ++ ac_cv_prog_lex_root=lex.yy ++elif test -f lexyy.c; then ++ ac_cv_prog_lex_root=lexyy ++else ++ as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 ++$as_echo "$ac_cv_prog_lex_root" >&6; } ++LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root ++ ++if test -z "${LEXLIB+set}"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 ++$as_echo_n "checking lex library... " >&6; } ++if ${ac_cv_lib_lex+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ac_save_LIBS=$LIBS ++ ac_cv_lib_lex='none needed' ++ for ac_lib in '' -lfl -ll; do ++ LIBS="$ac_lib $ac_save_LIBS" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++`cat $LEX_OUTPUT_ROOT.c` ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_lex=$ac_lib ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ test "$ac_cv_lib_lex" != 'none needed' && break ++ done ++ LIBS=$ac_save_LIBS ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 ++$as_echo "$ac_cv_lib_lex" >&6; } ++ test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 ++$as_echo_n "checking whether yytext is a pointer... " >&6; } ++if ${ac_cv_prog_lex_yytext_pointer+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # POSIX says lex can declare yytext either as a pointer or an array; the ++# default is implementation-dependent. Figure out which it is, since ++# not all implementations provide the %pointer and %array declarations. ++ac_cv_prog_lex_yytext_pointer=no ++ac_save_LIBS=$LIBS ++LIBS="$LEXLIB $ac_save_LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #define YYTEXT_POINTER 1 ++`cat $LEX_OUTPUT_ROOT.c` ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_prog_lex_yytext_pointer=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_save_LIBS ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 ++$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } ++if test $ac_cv_prog_lex_yytext_pointer = yes; then ++ ++$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h ++ ++fi ++rm -f conftest.l $LEX_OUTPUT_ROOT.c ++ ++fi ++lex=`$echo $LEX | awk '{print $1}'` ++lex=`$which "$lex"` ++if test ! -x "$lex"; then ++ as_fn_error $? "cannot find a valid 'lex'/'flex' command." "$LINENO" 5 ++fi ++lex=$LEX ++ ++ ++for ac_prog in 'bison -y' byacc ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_YACC+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$YACC"; then ++ ac_cv_prog_YACC="$YACC" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_YACC="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++YACC=$ac_cv_prog_YACC ++if test -n "$YACC"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 ++$as_echo "$YACC" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$YACC" && break ++done ++test -n "$YACC" || YACC="yacc" ++ ++yacc=`$echo $YACC | awk '{print $1}'` ++yacc=`$which "$yacc"` ++if test ! -x "$yacc"; then ++ as_fn_error $? "cannot find a valid 'yacc'/'bison' command." "$LINENO" 5 ++fi ++yacc=`echo $YACC | sed -e '/^bison /{ ++s/$/ / ++s/ -y / / ++s/ $// ++}'` ++ ++ ++for ac_prog in ragel ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_RAGEL+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$RAGEL"; then ++ ac_cv_prog_RAGEL="$RAGEL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_RAGEL="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++RAGEL=$ac_cv_prog_RAGEL ++if test -n "$RAGEL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAGEL" >&5 ++$as_echo "$RAGEL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$RAGEL" && break ++done ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where unix-like sort(1) lives" >&5 ++$as_echo_n "checking where unix-like sort(1) lives... " >&6; } ++if test $target_os = mingw; then ++ for d in /bin /usr/bin /mingw/bin /mingw/usr/bin ++ do ++ if test -x $d/sort; then ++ sort=$d/sort ++ break ++ fi ++ done ++else ++ sort=`$which sort` ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sort" >&5 ++$as_echo "$sort" >&6; } ++$sort -n &5 ++$as_echo_n "checking if echo uses -n or backslash-c to suppress newlines... " >&6; } ++if ( $echo "testing\c"; $echo 1,2,3 ) | grep c >/dev/null ++then ++ if ( $echo -n testing; $echo 1,2,3 ) | sed s/-n/xn/ | grep xn >/dev/null ++ then ++ echo_n= echo_c= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither?" >&5 ++$as_echo "neither?" >&6; } ++ else ++ echo_n=-n echo_c= ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: -n" >&5 ++$as_echo " -n" >&6; } ++ fi ++else ++ echo_n= echo_c='\\c' ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: backslash-c" >&5 ++$as_echo "backslash-c" >&6; } ++fi ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ++$as_echo_n "checking for grep that handles long lines and -e... " >&6; } ++if ${ac_cv_path_GREP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -z "$GREP"; then ++ ac_path_GREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in grep ggrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_GREP" || continue ++# Check for GNU ac_path_GREP and select it if it is found. ++ # Check for GNU $ac_path_GREP ++case `"$ac_path_GREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'GREP' >> "conftest.nl" ++ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_GREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_GREP="$ac_path_GREP" ++ ac_path_GREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_GREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_GREP"; then ++ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_GREP=$GREP ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ++$as_echo "$ac_cv_path_GREP" >&6; } ++ GREP="$ac_cv_path_GREP" ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++$as_echo_n "checking for egrep... " >&6; } ++if ${ac_cv_path_EGREP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ++ then ac_cv_path_EGREP="$GREP -E" ++ else ++ if test -z "$EGREP"; then ++ ac_path_EGREP_found=false ++ # Loop through the user's path and test for each of PROGNAME-LIST ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_prog in egrep; do ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" ++ as_fn_executable_p "$ac_path_EGREP" || continue ++# Check for GNU ac_path_EGREP and select it if it is found. ++ # Check for GNU $ac_path_EGREP ++case `"$ac_path_EGREP" --version 2>&1` in ++*GNU*) ++ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ++*) ++ ac_count=0 ++ $as_echo_n 0123456789 >"conftest.in" ++ while : ++ do ++ cat "conftest.in" "conftest.in" >"conftest.tmp" ++ mv "conftest.tmp" "conftest.in" ++ cp "conftest.in" "conftest.nl" ++ $as_echo 'EGREP' >> "conftest.nl" ++ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ++ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ++ as_fn_arith $ac_count + 1 && ac_count=$as_val ++ if test $ac_count -gt ${ac_path_EGREP_max-0}; then ++ # Best one so far, save it but keep looking for a better one ++ ac_cv_path_EGREP="$ac_path_EGREP" ++ ac_path_EGREP_max=$ac_count ++ fi ++ # 10*(2^10) chars as input seems more than enough ++ test $ac_count -gt 10 && break ++ done ++ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ++esac ++ ++ $ac_path_EGREP_found && break 3 ++ done ++ done ++ done ++IFS=$as_save_IFS ++ if test -z "$ac_cv_path_EGREP"; then ++ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ fi ++else ++ ac_cv_path_EGREP=$EGREP ++fi ++ ++ fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++$as_echo "$ac_cv_path_EGREP" >&6; } ++ EGREP="$ac_cv_path_EGREP" ++ ++ ++ ++if test "$do_probes" = "check" -o "$do_probes" = "yes" ++then ++ enable_probes=true ++ for ac_prog in dtrace ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_DTRACE+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$DTRACE"; then ++ ac_cv_prog_DTRACE="$DTRACE" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_DTRACE="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++DTRACE=$ac_cv_prog_DTRACE ++if test -n "$DTRACE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5 ++$as_echo "$DTRACE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$DTRACE" && break ++done ++ ++ if test -z "$DTRACE" ++ then ++ if test "$do_probes" = "yes" ++ then ++ as_fn_error $? "cannot enable static probes - no dtrace executable" "$LINENO" 5 ++ fi ++ enable_probes=false ++ fi ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++$as_echo_n "checking how to run the C preprocessor... " >&6; } ++# On Suns, sometimes $CPP names a directory. ++if test -n "$CPP" && test -d "$CPP"; then ++ CPP= ++fi ++if test -z "$CPP"; then ++ if ${ac_cv_prog_CPP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Double quotes because CPP needs to be expanded ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ++ do ++ ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ break ++fi ++ ++ done ++ ac_cv_prog_CPP=$CPP ++ ++fi ++ CPP=$ac_cv_prog_CPP ++else ++ ac_cv_prog_CPP=$CPP ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++$as_echo "$CPP" >&6; } ++ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 ++$as_echo_n "checking for ANSI C header files... " >&6; } ++if ${ac_cv_header_stdc+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdc=yes ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++if test $ac_cv_header_stdc = yes; then ++ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "memchr" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "free" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#if ((' ' & 0x0FF) == 0x020) ++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') ++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) ++#else ++# define ISLOWER(c) \ ++ (('a' <= (c) && (c) <= 'i') \ ++ || ('j' <= (c) && (c) <= 'r') \ ++ || ('s' <= (c) && (c) <= 'z')) ++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) ++#endif ++ ++#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) ++int ++main () ++{ ++ int i; ++ for (i = 0; i < 256; i++) ++ if (XOR (islower (i), ISLOWER (i)) ++ || toupper (i) != TOUPPER (i)) ++ return 2; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 ++$as_echo "$ac_cv_header_stdc" >&6; } ++if test $ac_cv_header_stdc = yes; then ++ ++$as_echo "#define STDC_HEADERS 1" >>confdefs.h ++ ++fi ++ ++# On IRIX 5.3, sys/types and inttypes.h are conflicting. ++for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ++ inttypes.h stdint.h unistd.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ++" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++for ac_header in sys/sdt.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default" ++if test "x$ac_cv_header_sys_sdt_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_SYS_SDT_H 1 ++_ACEOF ++ ++ if $enable_probes = true ++ then ++ if test $target_os = kfreebsd ++ then ++ enable_probes=false ++ elif test $target_os = freebsd ++ then ++ rm -f conftest.d conftest.h ++ cat <conftest.d ++provider eek { ++probe urk(int); ++}; ++End-of-File ++ if dtrace -s conftest.d -h >/dev/null 2>&1 ++ then ++ if test ! -f conftest.h ++ then ++ enable_probes=false ++ if test "$do_probes" = "yes" ++ then ++ as_fn_error $? "cannot enable static probes - no .h from dtrace -h" "$LINENO" 5 ++ fi ++ fi ++ else ++ enable_probes=false ++ if test "$do_probes" = "yes" ++ then ++ as_fn_error $? "cannot enable static probes - dtrace failed" "$LINENO" 5 ++ fi ++ fi ++ fi ++ fi ++ ++else ++ ++ enable_probes=false ++ if test "$do_probes" = "yes" ++ then ++ as_fn_error $? "cannot enable static probes - no SDT header" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++ ++ if test "$enable_probes" = "true" ++ then ++ ++$as_echo "#define HAVE_STATIC_PROBES 1" >>confdefs.h ++ ++ fi ++ ++ ++fi ++ ++if test "x$use_gperftools" != "xno"; then : ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperftools" >&5 ++$as_echo_n "checking for gperftools... " >&6; } ++ ++if test -n "$gperftools_CFLAGS"; then ++ pkg_cv_gperftools_CFLAGS="$gperftools_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprofiler, libtcmalloc\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libprofiler, libtcmalloc") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_gperftools_CFLAGS=`$PKG_CONFIG --cflags "libprofiler, libtcmalloc" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$gperftools_LIBS"; then ++ pkg_cv_gperftools_LIBS="$gperftools_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprofiler, libtcmalloc\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libprofiler, libtcmalloc") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_gperftools_LIBS=`$PKG_CONFIG --libs "libprofiler, libtcmalloc" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ gperftools_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libprofiler, libtcmalloc" 2>&1` ++ else ++ gperftools_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libprofiler, libtcmalloc" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$gperftools_PKG_ERRORS" >&5 ++ ++ as_fn_error $? "Package requirements (libprofiler, libtcmalloc) were not met: ++ ++$gperftools_PKG_ERRORS ++ ++Consider adjusting the PKG_CONFIG_PATH environment variable if you ++installed software in a non-standard prefix. ++ ++Alternatively, you may set the environment variables gperftools_CFLAGS ++and gperftools_LIBS to avoid the need to call pkg-config. ++See the pkg-config man page for more details." "$LINENO" 5 ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it ++is in your PATH or set the PKG_CONFIG environment variable to the full ++path to pkg-config. ++ ++Alternatively, you may set the environment variables gperftools_CFLAGS ++and gperftools_LIBS to avoid the need to call pkg-config. ++See the pkg-config man page for more details. ++ ++To get pkg-config, see . ++See \`config.log' for more details" "$LINENO" 5; } ++else ++ gperftools_CFLAGS=$pkg_cv_gperftools_CFLAGS ++ gperftools_LIBS=$pkg_cv_gperftools_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++fi ++ ++fi ++ ++sanitizer="" ++if test "x$use_sanitizer" != "xno"; then ++ sanitizer="-fsanitize=$use_sanitizer" ++fi ++ ++ ++if test "x$do_discovery" != "xno"; then : ++ ++ # on Mac OS X, dns_sd.h ++ ++ # on Linux, aloha Avahi ++ enable_avahi=true ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5 ++$as_echo_n "checking for avahi... " >&6; } ++ ++if test -n "$avahi_CFLAGS"; then ++ pkg_cv_avahi_CFLAGS="$avahi_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_avahi_CFLAGS=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$avahi_LIBS"; then ++ pkg_cv_avahi_LIBS="$avahi_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_avahi_LIBS=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ avahi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1` ++ else ++ avahi_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$avahi_PKG_ERRORS" >&5 ++ ++ enable_avahi=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ enable_avahi=false ++else ++ avahi_CFLAGS=$pkg_cv_avahi_CFLAGS ++ avahi_LIBS=$pkg_cv_avahi_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5 ++$as_echo_n "checking for avahi_client_new in -lavahi-client... " >&6; } ++if ${ac_cv_lib_avahi_client_avahi_client_new+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lavahi-client $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char avahi_client_new (); ++int ++main () ++{ ++return avahi_client_new (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_avahi_client_avahi_client_new=yes ++else ++ ac_cv_lib_avahi_client_avahi_client_new=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5 ++$as_echo "$ac_cv_lib_avahi_client_avahi_client_new" >&6; } ++if test "x$ac_cv_lib_avahi_client_avahi_client_new" = xyes; then : ++ lib_for_avahi="-lavahi-common -lavahi-client" ++else ++ enable_avahi=false ++fi ++ ++ ++fi ++ for ac_header in avahi-client/publish.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "avahi-client/publish.h" "ac_cv_header_avahi_client_publish_h" "$ac_includes_default" ++if test "x$ac_cv_header_avahi_client_publish_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_AVAHI_CLIENT_PUBLISH_H 1 ++_ACEOF ++ ++else ++ enable_avahi=false ++fi ++ ++done ++ ++ for ac_header in avahi-common/alternative.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "avahi-common/alternative.h" "ac_cv_header_avahi_common_alternative_h" "$ac_includes_default" ++if test "x$ac_cv_header_avahi_common_alternative_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_AVAHI_COMMON_ALTERNATIVE_H 1 ++_ACEOF ++ ++else ++ enable_avahi=false ++fi ++ ++done ++ ++ ++ if test "$enable_avahi" = "true" ++ then ++ ++ ++ ++$as_echo "#define HAVE_AVAHI 1" >>confdefs.h ++ ++ enable_discovery=true ++ fi ++ ++ if test "$do_discovery" != "check" -a "$enable_discovery" != "true" ++ then ++ as_fn_error $? "cannot enable service discovery - no supported mechanisms" "$LINENO" 5 ++ fi ++ if test "$enable_discovery" = "true" ++ then ++ ++$as_echo "#define HAVE_SERVICE_DISCOVERY 1" >>confdefs.h ++ ++ fi ++ ++fi ++ ++ ++ ++enable_systemd=false ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if systemd should be used" >&5 ++$as_echo_n "checking if systemd should be used... " >&6; } ++if test "x$do_systemd" != "xno"; then : ++ ++ enable_systemd=true ++ ++ ++if test -n "$SYSTEMD_TMPFILESDIR"; then ++ pkg_cv_SYSTEMD_TMPFILESDIR="$SYSTEMD_TMPFILESDIR" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_TMPFILESDIR=`$PKG_CONFIG --variable="tmpfilesdir" "systemd" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++SYSTEMD_TMPFILESDIR=$pkg_cv_SYSTEMD_TMPFILESDIR ++ ++if test "x$SYSTEMD_TMPFILESDIR" = x""; then : ++ pcp_systemdtmpfiles_dir=$pcp_lib32_dir/tmpfiles.d ++else ++ pcp_systemdtmpfiles_dir=$SYSTEMD_TMPFILESDIR ++fi ++ ++ ++if test -n "$SYSTEMD_SYSTEMUNITDIR"; then ++ pkg_cv_SYSTEMD_SYSTEMUNITDIR="$SYSTEMD_SYSTEMUNITDIR" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_SYSTEMUNITDIR=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++SYSTEMD_SYSTEMUNITDIR=$pkg_cv_SYSTEMD_SYSTEMUNITDIR ++ ++if test "x$SYSTEMD_SYSTEMUNITDIR" = x""; then : ++ enable_systemd=false ++else ++ pcp_systemdunit_dir=$SYSTEMD_SYSTEMUNITDIR ++fi ++ ++ if test -z "$pcp_systemdunit_dir" ++ then ++ if test "$do_systemd" = "yes" ++ then ++ as_fn_error $? "cannot enable systemd support - no systemunitdir path" "$LINENO" 5 ++ fi ++ enable_systemd=false ++ fi ++ ++fi ++if $enable_systemd ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++if $enable_systemd ++then ++ for ac_header in systemd/sd-daemon.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default" ++if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_SYSTEMD_SD_DAEMON_H 1 ++_ACEOF ++ have_sd_daemon=true ++else ++ have_sd_daemon=false ++fi ++ ++done ++ ++ $have_sd_daemon || echo WARNING: using systemd, but header systemd/sd-daemon.h not installed ++ ++fi ++ ++sd_service_type="simple" ++if $enable_systemd ++then ++ systemd_version=`systemd-analyze --version | $AWK '/^systemd/ {print $2}'` ++ if test "$systemd_version" -ge 239 ++ then ++ sd_service_type="exec" ++ fi ++fi ++ ++ ++ ++. ./VERSION.pcp ++PACKAGE_VERSION=${PACKAGE_MAJOR}.${PACKAGE_MINOR}.${PACKAGE_REVISION} ++ ++ ++ ++ ++ ++ ++if test -z "$PACKAGE_BUILD_DATE" ; then ++ # use SOURCE_DATE_EPOCH for a deterministic builddate (reproducible builds) ++ PACKAGE_BUILD_DATE=`TZ=UTC date -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d 2>/dev/null` ++ test $? -eq 0 || PACKAGE_BUILD_DATE=`date +%Y-%m-%d` ++fi ++ ++ ++if test -z "$PACKAGE_DISTRIBUTION" ; then ++ PACKAGE_DISTRIBUTION=$target_distro ++fi ++ ++ ++pm_version_current=`awk confcache <<\_ACEOF ++# This file is a shell script that caches the results of configure ++# tests run on this system so they can be shared between configure ++# scripts and configure runs, see configure's option --config-cache. ++# It is not useful on other systems. If it contains results you don't ++# want to keep, you may remove or edit it. ++# ++# config.status only pays attention to the cache file if you give it ++# the --recheck option to rerun configure. ++# ++# `ac_cv_env_foo' variables (set or unset) will be overridden when ++# loading this file, other *unset* `ac_cv_foo' will be assigned the ++# following values. ++ ++_ACEOF ++ ++# The following way of writing the cache mishandles newlines in values, ++# but we know of no workaround that is simple, portable, and efficient. ++# So, we kill variables containing newlines. ++# Ultrix sh set writes to stderr and can't be redirected directly, ++# and sets the high bit in the cache file unless we assign to the vars. ++( ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ ++ (set) 2>&1 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. ++ sed -n \ ++ "s/'/'\\\\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ++ ;; #( ++ *) ++ # `set' quotes correctly as required by POSIX, so do not add quotes. ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) | ++ sed ' ++ /^ac_cv_env_/b end ++ t clear ++ :clear ++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ++ t end ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ++ :end' >>confcache ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ++ if test -w "$cache_file"; then ++ if test "x$cache_file" != "x/dev/null"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++$as_echo "$as_me: updating cache $cache_file" >&6;} ++ if test ! -f "$cache_file" || test -h "$cache_file"; then ++ cat confcache >"$cache_file" ++ else ++ case $cache_file in #( ++ */* | ?:*) ++ mv -f confcache "$cache_file"$$ && ++ mv -f "$cache_file"$$ "$cache_file" ;; #( ++ *) ++ mv -f confcache "$cache_file" ;; ++ esac ++ fi ++ fi ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ++ fi ++fi ++rm -f confcache ++ ++test "x$prefix" = xNONE && prefix=$ac_default_prefix ++# Let make expand exec_prefix. ++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ++ ++DEFS=-DHAVE_CONFIG_H ++ ++ac_libobjs= ++ac_ltlibobjs= ++U= ++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue ++ # 1. Remove the extension, and $U if already installed. ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ++ # will be set to the directory where LIBOBJS objects are built. ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ++done ++LIBOBJS=$ac_libobjs ++ ++LTLIBOBJS=$ac_ltlibobjs ++ ++ ++ ++: "${CONFIG_STATUS=./config.status}" ++ac_write_fail=0 ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files $CONFIG_STATUS" ++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate the current configuration. ++# Compiler output produced by configure, useful for debugging ++# configure, is in config.log if it exists. ++ ++debug=false ++ac_cs_recheck=false ++ac_cs_silent=false ++ ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in #( ++ *posix*) : ++ set -o posix ;; #( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in #( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in #(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++ ++# as_fn_error STATUS ERROR [LINENO LOG_FD] ++# ---------------------------------------- ++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++# script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ $as_echo "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} # as_fn_error ++ ++ ++# as_fn_set_status STATUS ++# ----------------------- ++# Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} # as_fn_set_status ++ ++# as_fn_exit STATUS ++# ----------------- ++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} # as_fn_exit ++ ++# as_fn_unset VAR ++# --------------- ++# Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++# as_fn_append VAR VALUE ++# ---------------------- ++# Append the text in VALUE to the end of the definition contained in VAR. Take ++# advantage of any shell optimizations that allow amortized linear growth over ++# repeated appends, instead of the typical quadratic growth present in naive ++# implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++# as_fn_arith ARG... ++# ------------------ ++# Perform arithmetic evaluation on the ARGs, and store the result in the ++# global $as_val. Take advantage of shells that can avoid forks. The arguments ++# must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in #((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++ ++# as_fn_mkdir_p ++# ------------- ++# Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} # as_fn_mkdir_p ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++ ++# as_fn_executable_p FILE ++# ----------------------- ++# Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} # as_fn_executable_p ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to ++# report actual input values of CONFIG_FILES etc. instead of their ++# values after options handling. ++ac_log=" ++This file was extended by $as_me, which was ++generated by GNU Autoconf 2.69. Invocation command line was ++ ++ CONFIG_FILES = $CONFIG_FILES ++ CONFIG_HEADERS = $CONFIG_HEADERS ++ CONFIG_LINKS = $CONFIG_LINKS ++ CONFIG_COMMANDS = $CONFIG_COMMANDS ++ $ $0 $@ ++ ++on `(hostname || uname -n) 2>/dev/null | sed 1q` ++" ++ ++_ACEOF ++ ++case $ac_config_files in *" ++"*) set x $ac_config_files; shift; ac_config_files=$*;; ++esac ++ ++case $ac_config_headers in *" ++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; ++esac ++ ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# Files that config.status was made for. ++config_files="$ac_config_files" ++config_headers="$ac_config_headers" ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ac_cs_usage="\ ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. ++ ++Usage: $0 [OPTION]... [TAG]... ++ ++ -h, --help print this help, then exit ++ -V, --version print version number and configuration settings, then exit ++ --config print configuration, then exit ++ -q, --quiet, --silent ++ do not print progress messages ++ -d, --debug don't remove temporary files ++ --recheck update $as_me by reconfiguring in the same conditions ++ --file=FILE[:TEMPLATE] ++ instantiate the configuration file FILE ++ --header=FILE[:TEMPLATE] ++ instantiate the configuration header FILE ++ ++Configuration files: ++$config_files ++ ++Configuration headers: ++$config_headers ++ ++Report bugs to the package provider." ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ++ac_cs_version="\\ ++config.status ++configured by $0, generated by GNU Autoconf 2.69, ++ with options \\"\$ac_cs_config\\" ++ ++Copyright (C) 2012 Free Software Foundation, Inc. ++This config.status script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it." ++ ++ac_pwd='$ac_pwd' ++srcdir='$srcdir' ++test -n "\$AWK" || AWK=awk ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# The default lists apply if the user does not specify any file. ++ac_need_defaults=: ++while test $# != 0 ++do ++ case $1 in ++ --*=?*) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ++ ac_shift=: ++ ;; ++ --*=) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg= ++ ac_shift=: ++ ;; ++ *) ++ ac_option=$1 ++ ac_optarg=$2 ++ ac_shift=shift ++ ;; ++ esac ++ ++ case $ac_option in ++ # Handling of the options. ++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ++ ac_cs_recheck=: ;; ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ++ $as_echo "$ac_cs_version"; exit ;; ++ --config | --confi | --conf | --con | --co | --c ) ++ $as_echo "$ac_cs_config"; exit ;; ++ --debug | --debu | --deb | --de | --d | -d ) ++ debug=: ;; ++ --file | --fil | --fi | --f ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ '') as_fn_error $? "missing file argument" ;; ++ esac ++ as_fn_append CONFIG_FILES " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --header | --heade | --head | --hea ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --he | --h) ++ # Conflict between --help and --header ++ as_fn_error $? "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; ++ --help | --hel | -h ) ++ $as_echo "$ac_cs_usage"; exit ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil | --si | --s) ++ ac_cs_silent=: ;; ++ ++ # This is an error. ++ -*) as_fn_error $? "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; ++ ++ *) as_fn_append ac_config_targets " $1" ++ ac_need_defaults=false ;; ++ ++ esac ++ shift ++done ++ ++ac_configure_extra_args= ++ ++if $ac_cs_silent; then ++ exec 6>/dev/null ++ ac_configure_extra_args="$ac_configure_extra_args --silent" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++if \$ac_cs_recheck; then ++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ shift ++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ++ CONFIG_SHELL='$SHELL' ++ export CONFIG_SHELL ++ exec "\$@" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++exec 5>>config.log ++{ ++ echo ++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ++## Running $as_me. ## ++_ASBOX ++ $as_echo "$ac_log" ++} >&5 ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ ++# Handling of arguments. ++for ac_config_target in $ac_config_targets ++do ++ case $ac_config_target in ++ "src/include/pcp/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pcp/config.h" ;; ++ "src/include/pcp/configsz.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pcp/configsz.h" ;; ++ "src/include/pcp/platform_defs.h") CONFIG_FILES="$CONFIG_FILES src/include/pcp/platform_defs.h" ;; ++ "src/include/pcp/platformsz.h") CONFIG_FILES="$CONFIG_FILES src/include/pcp/platformsz.h" ;; ++ ++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ++ esac ++done ++ ++ ++# If the user did not use the arguments to specify the items to instantiate, ++# then the envvar interface is used. Set only those that are not. ++# We use the long form for the default assignment because of an extremely ++# bizarre bug on SunOS 4.1.3. ++if $ac_need_defaults; then ++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files ++ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ++fi ++ ++# Have a temporary directory for convenience. Make it in the build tree ++# simply because there is no reason against having it here, and in addition, ++# creating and moving files from /tmp can sometimes cause problems. ++# Hook for its removal unless debugging. ++# Note that there is a small window in which the directory will not be cleaned: ++# after its creation but before its name has been assigned to `$tmp'. ++$debug || ++{ ++ tmp= ac_tmp= ++ trap 'exit_status=$? ++ : "${ac_tmp:=$tmp}" ++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ++' 0 ++ trap 'as_fn_exit 1' 1 2 13 15 ++} ++# Create a (secure) tmp directory for tmp files. ++ ++{ ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ++ test -d "$tmp" ++} || ++{ ++ tmp=./conf$$-$RANDOM ++ (umask 077 && mkdir "$tmp") ++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ++ac_tmp=$tmp ++ ++# Set up the scripts for CONFIG_FILES section. ++# No need to generate them if there are no CONFIG_FILES. ++# This happens for instance with `./config.status config.h'. ++if test -n "$CONFIG_FILES"; then ++ ++ ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi ++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` ++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ++ ac_cs_awk_cr='\\r' ++else ++ ac_cs_awk_cr=$ac_cr ++fi ++ ++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && ++_ACEOF ++ ++ ++{ ++ echo "cat >conf$$subs.awk <<_ACEOF" && ++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ++ echo "_ACEOF" ++} >conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ++ac_delim='%!_!# ' ++for ac_last_try in false false false false false :; do ++ . ./conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ ++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ++ if test $ac_delim_n = $ac_delim_num; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++rm -f conf$$subs.sh ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && ++_ACEOF ++sed -n ' ++h ++s/^/S["/; s/!.*/"]=/ ++p ++g ++s/^[^!]*!// ++:repl ++t repl ++s/'"$ac_delim"'$// ++t delim ++:nl ++h ++s/\(.\{148\}\)..*/\1/ ++t more1 ++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ++p ++n ++b repl ++:more1 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t nl ++:delim ++h ++s/\(.\{148\}\)..*/\1/ ++t more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"/ ++p ++b ++:more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t delim ++' >$CONFIG_STATUS || ac_write_fail=1 ++rm -f conf$$subs.awk ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACAWK ++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && ++ for (key in S) S_is_set[key] = 1 ++ FS = "" ++ ++} ++{ ++ line = $ 0 ++ nfields = split(line, field, "@") ++ substed = 0 ++ len = length(field[1]) ++ for (i = 2; i < nfields; i++) { ++ key = field[i] ++ keylen = length(key) ++ if (S_is_set[key]) { ++ value = S[key] ++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ++ len += length(value) + length(field[++i]) ++ substed = 1 ++ } else ++ len += 1 + keylen ++ } ++ ++ print line ++} ++ ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ++else ++ cat ++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ ++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 ++_ACEOF ++ ++# VPATH may cause trouble with some makes, so we remove sole $(srcdir), ++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and ++# trailing colons and then remove the whole line if VPATH becomes empty ++# (actually we leave an empty line to preserve line numbers). ++if test "x$srcdir" = x.; then ++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ ++h ++s/// ++s/^/:/ ++s/[ ]*$/:/ ++s/:\$(srcdir):/:/g ++s/:\${srcdir}:/:/g ++s/:@srcdir@:/:/g ++s/^:*// ++s/:*$// ++x ++s/\(=[ ]*\).*/\1/ ++G ++s/\n// ++s/^[^=]*=[ ]*$// ++}' ++fi ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++fi # test -n "$CONFIG_FILES" ++ ++# Set up the scripts for CONFIG_HEADERS section. ++# No need to generate them if there are no CONFIG_HEADERS. ++# This happens for instance with `./config.status Makefile'. ++if test -n "$CONFIG_HEADERS"; then ++cat >"$ac_tmp/defines.awk" <<\_ACAWK || ++BEGIN { ++_ACEOF ++ ++# Transform confdefs.h into an awk script `defines.awk', embedded as ++# here-document in config.status, that substitutes the proper values into ++# config.h.in to produce config.h. ++ ++# Create a delimiter string that does not exist in confdefs.h, to ease ++# handling of long lines. ++ac_delim='%!_!# ' ++for ac_last_try in false false :; do ++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_tt"; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++ ++# For the awk script, D is an array of macro values keyed by name, ++# likewise P contains macro parameters if any. Preserve backslash ++# newline sequences. ++ ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ++sed -n ' ++s/.\{148\}/&'"$ac_delim"'/g ++t rset ++:rset ++s/^[ ]*#[ ]*define[ ][ ]*/ / ++t def ++d ++:def ++s/\\$// ++t bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3"/p ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ++d ++:bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3\\\\\\n"\\/p ++t cont ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ++t cont ++d ++:cont ++n ++s/.\{148\}/&'"$ac_delim"'/g ++t clear ++:clear ++s/\\$// ++t bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/"/p ++d ++:bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ++b cont ++' >$CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ for (key in D) D_is_set[key] = 1 ++ FS = "" ++} ++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ++ line = \$ 0 ++ split(line, arg, " ") ++ if (arg[1] == "#") { ++ defundef = arg[2] ++ mac1 = arg[3] ++ } else { ++ defundef = substr(arg[1], 2) ++ mac1 = arg[2] ++ } ++ split(mac1, mac2, "(") #) ++ macro = mac2[1] ++ prefix = substr(line, 1, index(line, defundef) - 1) ++ if (D_is_set[macro]) { ++ # Preserve the white space surrounding the "#". ++ print prefix "define", macro P[macro] D[macro] ++ next ++ } else { ++ # Replace #undef with comments. This is necessary, for example, ++ # in the case of _POSIX_SOURCE, which is predefined and required ++ # on some systems where configure will not decide to define it. ++ if (defundef == "undef") { ++ print "/*", prefix defundef, macro, "*/" ++ next ++ } ++ } ++} ++{ print } ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 ++fi # test -n "$CONFIG_HEADERS" ++ ++ ++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " ++shift ++for ac_tag ++do ++ case $ac_tag in ++ :[FHLC]) ac_mode=$ac_tag; continue;; ++ esac ++ case $ac_mode$ac_tag in ++ :[FHL]*:*);; ++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; ++ :[FH]-) ac_tag=-:-;; ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ++ esac ++ ac_save_IFS=$IFS ++ IFS=: ++ set x $ac_tag ++ IFS=$ac_save_IFS ++ shift ++ ac_file=$1 ++ shift ++ ++ case $ac_mode in ++ :L) ac_source=$1;; ++ :[FH]) ++ ac_file_inputs= ++ for ac_f ++ do ++ case $ac_f in ++ -) ac_f="$ac_tmp/stdin";; ++ *) # Look for the file first in the build tree, then in the source tree ++ # (if the path is not absolute). The absolute path cannot be DOS-style, ++ # because $ac_f cannot contain `:'. ++ test -f "$ac_f" || ++ case $ac_f in ++ [\\/$]*) false;; ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ++ esac || ++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; ++ esac ++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ as_fn_append ac_file_inputs " '$ac_f'" ++ done ++ ++ # Let's still pretend it is `configure' which instantiates (i.e., don't ++ # use $as_me), people would be surprised to read: ++ # /* config.h. Generated by config.status. */ ++ configure_input='Generated from '` ++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ `' by configure.' ++ if test x"$ac_file" != x-; then ++ configure_input="$ac_file. $configure_input" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++$as_echo "$as_me: creating $ac_file" >&6;} ++ fi ++ # Neutralize special characters interpreted by sed in replacement strings. ++ case $configure_input in #( ++ *\&* | *\|* | *\\* ) ++ ac_sed_conf_input=`$as_echo "$configure_input" | ++ sed 's/[\\\\&|]/\\\\&/g'`;; #( ++ *) ac_sed_conf_input=$configure_input;; ++ esac ++ ++ case $ac_tag in ++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; ++ esac ++ ;; ++ esac ++ ++ ac_dir=`$as_dirname -- "$ac_file" || ++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$ac_file" : 'X\(//\)[^/]' \| \ ++ X"$ac_file" : 'X\(//\)$' \| \ ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$ac_file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir="$ac_dir"; as_fn_mkdir_p ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ ++ case $ac_mode in ++ :F) ++ # ++ # CONFIG_FILE ++ # ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# If the template does not know about datarootdir, expand it. ++# FIXME: This hack should be removed a few years after 2.60. ++ac_datarootdir_hack=; ac_datarootdir_seen= ++ac_sed_dataroot=' ++/datarootdir/ { ++ p ++ q ++} ++/@datadir@/p ++/@docdir@/p ++/@infodir@/p ++/@localedir@/p ++/@mandir@/p' ++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ++*datarootdir*) ac_datarootdir_seen=yes;; ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ ac_datarootdir_hack=' ++ s&@datadir@&$datadir&g ++ s&@docdir@&$docdir&g ++ s&@infodir@&$infodir&g ++ s&@localedir@&$localedir&g ++ s&@mandir@&$mandir&g ++ s&\\\${datarootdir}&$datarootdir&g' ;; ++esac ++_ACEOF ++ ++# Neutralize VPATH when `$srcdir' = `.'. ++# Shell code in configure.ac might set extrasub. ++# FIXME: do we really want to maintain this feature? ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_sed_extra="$ac_vpsub ++$extrasub ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++:t ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++s|@configure_input@|$ac_sed_conf_input|;t t ++s&@top_builddir@&$ac_top_builddir_sub&;t t ++s&@top_build_prefix@&$ac_top_build_prefix&;t t ++s&@srcdir@&$ac_srcdir&;t t ++s&@abs_srcdir@&$ac_abs_srcdir&;t t ++s&@top_srcdir@&$ac_top_srcdir&;t t ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ++s&@builddir@&$ac_builddir&;t t ++s&@abs_builddir@&$ac_abs_builddir&;t t ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ++$ac_datarootdir_hack ++" ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ ++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ++ "$ac_tmp/out"`; test -z "$ac_out"; } && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&5 ++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&2;} ++ ++ rm -f "$ac_tmp/stdin" ++ case $ac_file in ++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; ++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; ++ esac \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ;; ++ :H) ++ # ++ # CONFIG_HEADER ++ # ++ if test x"$ac_file" != x-; then ++ { ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" ++ } >"$ac_tmp/config.h" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++$as_echo "$as_me: $ac_file is unchanged" >&6;} ++ else ++ rm -f "$ac_file" ++ mv "$ac_tmp/config.h" "$ac_file" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ fi ++ else ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ ++ || as_fn_error $? "could not create -" "$LINENO" 5 ++ fi ++ ;; ++ ++ ++ esac ++ ++done # for ac_tag ++ ++ ++as_fn_exit 0 ++_ACEOF ++ac_clean_files=$ac_clean_files_save ++ ++test $ac_write_fail = 0 || ++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 ++ ++ ++# configure is writing to config.log, and then calls config.status. ++# config.status does its own redirection, appending to config.log. ++# Unfortunately, on DOS this fails, as config.log is still kept open ++# by configure, so config.status won't be able to write to it; its ++# output is simply discarded. So we exec the FD to /dev/null, ++# effectively closing config.log, so it can be properly (re)opened and ++# appended to by config.status. When coming back to configure, we ++# need to make the FD available again. ++if test "$no_create" != yes; then ++ ac_cs_success=: ++ ac_config_status_args= ++ test "$silent" = yes && ++ ac_config_status_args="$ac_config_status_args --quiet" ++ exec 5>/dev/null ++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ++ exec 5>>config.log ++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which ++ # would make configure fail if this is the last instruction. ++ $ac_cs_success || as_fn_exit 1 ++fi ++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++fi ++ ++ ++for ac_prog in git ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_GIT+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$GIT"; then ++ ac_cv_prog_GIT="$GIT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_GIT="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++GIT=$ac_cv_prog_GIT ++if test -n "$GIT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5 ++$as_echo "$GIT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$GIT" && break ++done ++ ++ ++ ++for ac_prog in pylint ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_PYLINT+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$PYLINT"; then ++ ac_cv_prog_PYLINT="$PYLINT" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_PYLINT="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++PYLINT=$ac_cv_prog_PYLINT ++if test -n "$PYLINT"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYLINT" >&5 ++$as_echo "$PYLINT" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$PYLINT" && break ++done ++test -n "$PYLINT" || PYLINT="/bin/true" ++ ++ ++ ++for ac_prog in python2 python2.7 python ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_PYTHON+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$PYTHON"; then ++ ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_PYTHON="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++PYTHON=$ac_cv_prog_PYTHON ++if test -n "$PYTHON"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 ++$as_echo "$PYTHON" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$PYTHON" && break ++done ++ ++ ++ ++for ac_prog in python3 python3.7 python3.6 python3.4 ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_PYTHON3+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$PYTHON3"; then ++ ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_PYTHON3="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++PYTHON3=$ac_cv_prog_PYTHON3 ++if test -n "$PYTHON3"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 ++$as_echo "$PYTHON3" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$PYTHON3" && break ++done ++ ++ ++ ++ ++ ++enable_python2=false ++if test "x$do_python" != "xno"; then : ++ ++ enable_python2=true ++ ++ if test "$do_python" = "check" -a -f /etc/os-release ++ then ++ ( ++ . /etc/os-release ++ case "$ID" ++ in ++ debian) ++ if test -z "$VERSION_ID" -o "$VERSION_ID" -ge 11; then ++ touch config.python2_eol ++ fi ++ ;; ++ ubuntu) ++ VERSION_NO=`echo "$VERSION_ID" | sed 's/[^0-9]//'` ++ if test "$VERSION_NO" -ge 2004; then ++ touch config.python2_eol ++ fi ++ ;; ++ fedora) ++ if test -z "$VERSION_ID" -o "$VERSION_ID" -ge 35; then ++ touch config.python2_eol ++ fi ++ ;; ++ esac ++ ) ++ fi ++ ++ if test -f config.python2_eol ++ then ++ rm config.python2_eol ++ echo "WARNING: Python 2 is not supported anymore (EOL since 2020), please use Python 3 instead." ++ enable_python2=false ++ fi ++ ++ if test "$enable_python2" = "true" -a -z "$PYTHON" ++ then ++ enable_python2=false ++ fi ++ ++ if $enable_python2 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python2 version" >&5 ++$as_echo_n "checking Python2 version... " >&6; } ++ eval `$PYTHON -V 2>&1 | awk '/^Python/ { ver=2; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export PY_MAJOR=%d PY_MINOR=%d PY_POINT=%d\n",$major,$minor,$point }'` ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5 ++$as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; } ++ if test "$PY_MAJOR" -lt 2; then ++ echo WARNING: Python version 2.7 or later does not seem to be installed. ++ enable_python2=false ++ else ++ if test "$PY_MAJOR" -eq 2 -a "$PY_MINOR" -lt 7 ; then ++ echo WARNING: Python version 2.$PY_MINOR is too old. ++ echo Python version 2.7 or later is required for Python builds. ++ enable_python2=false ++ else ++ PY_MAJOR="$PY_MAJOR" ++ PY_MINOR="$PY_MINOR" ++ PY_VERSION="python$PY_MAJOR.$PY_MINOR" ++ PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION}" ++ saved_CFLAGS="$CFLAGS" ++ saved_CPPFLAGS="$CPPFLAGS" ++ CFLAGS="$CFLAGS $PY_INCLUDE_DIRS" ++ CPPFLAGS="$CPPFLAGS $PY_INCLUDE_DIRS" ++ ++ for ac_header in Python.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" ++if test "x$ac_cv_header_Python_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_PYTHON_H 1 ++_ACEOF ++ ++else ++ ++ echo WARNING: Python version $PY_MAJOR.$PY_MINOR header file may be missing. ++ echo Proceeding with the Python $PY_MAJOR installation found, regardless. ++fi ++ ++done ++ ++ ++ CPPFLAGS="$saved_CPPFLAGS" ++ CFLAGS="$saved_CFLAGS" ++ ++ fi ++ fi ++ fi ++ ++ if test "$do_python" != "check" -a "$enable_python2" != "true" ++ then ++ as_fn_error $? "cannot enable Python - no supported version found" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++enable_python3=false ++if test "x$do_python3" != "xno"; then : ++ ++ enable_python3=true ++ if test -z "$PYTHON3" ++ then ++ enable_python3=false ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python3 version" >&5 ++$as_echo_n "checking Python3 version... " >&6; } ++ eval `$PYTHON3 -V 2>&1 | awk '/^Python/ { ver=2; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export PY_MAJOR=%d PY_MINOR=%d PY_POINT=%d\n",$major,$minor,$point }'` ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5 ++$as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; } ++ if test "$PY_MAJOR" -lt 3; then ++ echo WARNING: Python version 3.3 or later does not seem to be installed. ++ enable_python3=false ++ else ++ if test "$PY_MAJOR" -eq 3 -a "$PY_MINOR" -lt 3 ; then ++ echo WARNING: Python version 3.$PY_MINOR is too old. ++ echo Python version 3.3 or later is required for Python builds. ++ enable_python3=false ++ else ++ PY_MAJOR="$PY_MAJOR" ++ PY_MINOR="$PY_MINOR" ++ PY_VERSION="python$PY_MAJOR.$PY_MINOR" ++ PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION}" ++ saved_CFLAGS="$CFLAGS" ++ saved_CPPFLAGS="$CPPFLAGS" ++ CFLAGS="$CFLAGS $PY_INCLUDE_DIRS" ++ CPPFLAGS="$CPPFLAGS $PY_INCLUDE_DIRS" ++ ++ for ac_header in Python.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" ++if test "x$ac_cv_header_Python_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_PYTHON_H 1 ++_ACEOF ++ ++else ++ ++ echo WARNING: Python version $PY_MAJOR.$PY_MINOR header file may be missing. ++ echo Proceeding with the Python $PY_MAJOR installation found, regardless. ++fi ++ ++done ++ ++ ++ CPPFLAGS="$saved_CPPFLAGS" ++ CFLAGS="$saved_CFLAGS" ++ ++ fi ++ fi ++ fi ++ ++ if test "$do_python3" != "check" -a "$enable_python3" != "true" ++ then ++ as_fn_error $? "cannot enable Python3 - no supported version found" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for any python version" >&5 ++$as_echo_n "checking for any python version... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$have_python ++ echo "cross-compile -> \"$ans\"" >&5 ++elif test "$enable_python2" = "true" -o "$enable_python3" = "true" ++then ++ have_python=true ++else ++ have_python=false ++fi ++ ++if $have_python; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++if test "$enable_python3" = "true" ++then ++ pcp_python_prog=$PYTHON3 ++elif test "$enable_python2" = "true" ++then ++ pcp_python_prog=$PYTHON ++else ++ pcp_python_prog="" ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dstat symlink" >&5 ++$as_echo_n "checking for dstat symlink... " >&6; } ++enable_dstat=false ++if test "$do_dstat_symlink" = "check" -o "$do_dstat_symlink" = "yes" ++then ++ if test "$have_python" = "false" -a "$do_dstat_symlink" = "yes" ++ then ++ as_fn_error $? "cannot enable dstat symlink - no python found" "$LINENO" 5 ++ else ++ enable_dstat=true ++ fi ++fi ++ ++if $enable_dstat; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module BPF" >&5 ++$as_echo_n "checking for Python module BPF... " >&6; } ++ if test -n "from bcc import BPF" ++ then ++ txt="from bcc import BPF" ++ else ++ txt="import BPF" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ eval have_python_BPF=true ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ eval have_python_BPF=false ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module OrderedDict" >&5 ++$as_echo_n "checking for Python module OrderedDict... " >&6; } ++ if test -n "from collections import OrderedDict" ++ then ++ txt="from collections import OrderedDict" ++ else ++ txt="import OrderedDict" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ eval have_python_OrderedDict=true ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ eval have_python_OrderedDict=false ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module jsonpointer" >&5 ++$as_echo_n "checking for Python module jsonpointer... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import jsonpointer" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ eval have_python_jsonpointer=true ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ eval have_python_jsonpointer=false ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module openpyxl" >&5 ++$as_echo_n "checking for Python module openpyxl... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import openpyxl" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ eval have_python_openpyxl=true ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ eval have_python_openpyxl=false ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module setuptools" >&5 ++$as_echo_n "checking for Python module setuptools... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import setuptools" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ eval have_python_setuptools=true ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ eval have_python_setuptools=false ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module requests" >&5 ++$as_echo_n "checking for Python module requests... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import requests" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ eval have_python_requests=true ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ eval have_python_requests=false ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module libvirt" >&5 ++$as_echo_n "checking for Python module libvirt... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import libvirt" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ eval have_python_libvirt=true ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ eval have_python_libvirt=false ++ fi ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module six" >&5 ++$as_echo_n "checking for Python module six... " >&6; } ++ if test -n "" ++ then ++ txt="" ++ else ++ txt="import six" ++ fi ++ $pcp_python_prog -c 'import sys; ++'"$txt" >>config.log 2>&1 ++ if test "$?" = 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ eval have_python_six=true ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ eval have_python_six=false ++ fi ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the python InfluxDB support should be included" >&5 ++$as_echo_n "checking if the python InfluxDB support should be included... " >&6; } ++have_python_influxdb=false ++if test "$have_python" = true ++then ++ $have_python_requests && $have_python_OrderedDict && have_python_influxdb=true ++fi ++ ++if $have_python_influxdb; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the json PMDA should be included" >&5 ++$as_echo_n "checking if the json PMDA should be included... " >&6; } ++pmda_json=false ++if test "x$do_pmdajson" = "xyes"; then : ++ pmda_json=true ++fi ++if test "x$do_pmdajson" = "xcheck"; then : ++ ++ $have_python_jsonpointer && $have_python_six && \ ++ $have_python_OrderedDict && pmda_json=true ++ ++fi ++PMDA_JSON=$pmda_json ++ ++if $pmda_json; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bcc PMDA should be included" >&5 ++$as_echo_n "checking if the bcc PMDA should be included... " >&6; } ++pmda_bcc=false ++if test "x$do_pmdabcc" = "xyes"; then : ++ pmda_bcc=true ++fi ++if test "x$do_pmdabcc" = "xcheck"; then : ++ ++ $enable_python3 && $have_python_BPF && \ ++ $have_python_OrderedDict && pmda_bcc=true ++ ++fi ++PMDA_BCC=$pmda_bcc ++ ++if $pmda_bcc; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking clang major version installed" >&5 ++$as_echo_n "checking clang major version installed... " >&6; } ++if which llvm-config >/dev/null 2>&1 ++then ++ clang_major_version=`llvm-config --version | cut -f1 -d.` ++else ++ clang_major_version=0 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $clang_major_version" >&5 ++$as_echo "$clang_major_version" >&6; } ++CLANG_MAJOR_VERSION=$clang_major_version ++ ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbpf" >&5 ++$as_echo_n "checking for libbpf... " >&6; } ++ ++if test -n "$libbpf_CFLAGS"; then ++ pkg_cv_libbpf_CFLAGS="$libbpf_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbpf >= 0.4.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libbpf >= 0.4.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libbpf_CFLAGS=`$PKG_CONFIG --cflags "libbpf >= 0.4.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$libbpf_LIBS"; then ++ pkg_cv_libbpf_LIBS="$libbpf_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbpf >= 0.4.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libbpf >= 0.4.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libbpf_LIBS=`$PKG_CONFIG --libs "libbpf >= 0.4.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ libbpf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbpf >= 0.4.0" 2>&1` ++ else ++ libbpf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbpf >= 0.4.0" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$libbpf_PKG_ERRORS" >&5 ++ ++ have_libbpf=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_libbpf=false ++else ++ libbpf_CFLAGS=$pkg_cv_libbpf_CFLAGS ++ libbpf_LIBS=$pkg_cv_libbpf_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_libbpf=true ++fi ++HAVE_LIBBPF=$have_libbpf ++ ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libelf" >&5 ++$as_echo_n "checking for libelf... " >&6; } ++ ++if test -n "$libelf_CFLAGS"; then ++ pkg_cv_libelf_CFLAGS="$libelf_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libelf") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libelf_CFLAGS=`$PKG_CONFIG --cflags "libelf" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$libelf_LIBS"; then ++ pkg_cv_libelf_LIBS="$libelf_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libelf") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libelf_LIBS=`$PKG_CONFIG --libs "libelf" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ libelf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libelf" 2>&1` ++ else ++ libelf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libelf" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$libelf_PKG_ERRORS" >&5 ++ ++ have_libelf=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_libelf=false ++else ++ libelf_CFLAGS=$pkg_cv_libelf_CFLAGS ++ libelf_LIBS=$pkg_cv_libelf_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_libelf=true ++fi ++HAVE_LIBELF=$have_libelf ++ ++ ++if test -z "$PMDABPF_CLANG"; then ++ # Extract the first word of "clang", so it can be a program name with args. ++set dummy clang; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_PMDABPF_CLANG+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PMDABPF_CLANG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PMDABPF_CLANG="$PMDABPF_CLANG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_CLANG="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PMDABPF_CLANG=$ac_cv_path_PMDABPF_CLANG ++if test -n "$PMDABPF_CLANG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_CLANG" >&5 ++$as_echo "$PMDABPF_CLANG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++pmdabpf_clang=$PMDABPF_CLANG ++ ++ ++if test -z "$PMDABPF_LLVM_STRIP"; then ++ # Extract the first word of "llvm-strip", so it can be a program name with args. ++set dummy llvm-strip; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_PMDABPF_LLVM_STRIP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PMDABPF_LLVM_STRIP in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PMDABPF_LLVM_STRIP="$PMDABPF_LLVM_STRIP" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_LLVM_STRIP="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PMDABPF_LLVM_STRIP=$ac_cv_path_PMDABPF_LLVM_STRIP ++if test -n "$PMDABPF_LLVM_STRIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_LLVM_STRIP" >&5 ++$as_echo "$PMDABPF_LLVM_STRIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++pmdabpf_llvm_strip=$PMDABPF_LLVM_STRIP ++ ++ ++if test -z "$PMDABPF_BPFTOOL"; then ++ # Extract the first word of "bpftool", so it can be a program name with args. ++set dummy bpftool; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_PMDABPF_BPFTOOL+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PMDABPF_BPFTOOL in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PMDABPF_BPFTOOL="$PMDABPF_BPFTOOL" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_PMDABPF_BPFTOOL="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PMDABPF_BPFTOOL=$ac_cv_path_PMDABPF_BPFTOOL ++if test -n "$PMDABPF_BPFTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PMDABPF_BPFTOOL" >&5 ++$as_echo "$PMDABPF_BPFTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++pmdabpf_bpftool=$PMDABPF_BPFTOOL ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bpf PMDA should be included" >&5 ++$as_echo_n "checking if the bpf PMDA should be included... " >&6; } ++pmda_bpf=false ++if test "x$do_pmdabpf" = "xyes"; then : ++ pmda_bpf=true ++fi ++if test "x$do_pmdabpf" = "xcheck"; then : ++ ++ if test $clang_major_version -ge 10; then ++ $have_libbpf && $have_libelf && test -n "$pmdabpf_bpftool" && pmda_bpf=true ++ else ++ pmda_bpf=false ++ fi ++ ++fi ++PMDA_BPF=$pmda_bpf ++ ++if $pmda_bpf; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bpftrace PMDA should be included" >&5 ++$as_echo_n "checking if the bpftrace PMDA should be included... " >&6; } ++pmda_bpftrace=false ++if test "x$do_pmdabpftrace" = "xyes"; then : ++ pmda_bpftrace=true ++fi ++if test "x$do_pmdabpftrace" = "xcheck"; then : ++ ++ have_bpftrace=false ++ if which bpftrace >/dev/null 2>&1 ++ then ++ if bpftrace --help 2>&1 | grep '\-f.*json' > /dev/null; then ++ have_bpftrace=true ++ fi ++ fi ++ $enable_python3 && test "$PY_MAJOR" -eq 3 -a "$PY_MINOR" -ge 6 && \ ++ $have_bpftrace && pmda_bpftrace=true ++ ++fi ++PMDA_BPFTRACE=$pmda_bpftrace ++ ++if $pmda_bpftrace; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++for ac_prog in perl ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_PERL+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$PERL"; then ++ ac_cv_prog_PERL="$PERL" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_PERL="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++PERL=$ac_cv_prog_PERL ++if test -n "$PERL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 ++$as_echo "$PERL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$PERL" && break ++done ++ ++ ++ ++enable_perl=false ++if test "x$do_perl" != "xno"; then : ++ ++ enable_perl=true ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for any perl version" >&5 ++$as_echo_n "checking for any perl version... " >&6; } ++ if test "$cross_compiling" = "yes"; then ++ ans=$have_perl ++ echo "cross-compile -> \"$ans\"" >&5 ++ elif test -n "$PERL" ++ then ++ pcp_perl_prog=$PERL ++ have_perl=true ++ else ++ pcp_perl_prog="" ++ have_perl=false ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcp_perl_prog" >&5 ++$as_echo "$pcp_perl_prog" >&6; } ++ ++else ++ have_perl=false ++fi ++ ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the SNMP PMDA should be included" >&5 ++$as_echo_n "checking if the SNMP PMDA should be included... " >&6; } ++pmda_snmp=false ++if test "x$do_pmdasnmp" = "xyes"; then : ++ pmda_snmp=true ++fi ++if test "x$do_pmdasnmp" = "xcheck"; then : ++ ++ if test "$have_perl" = true ++ then ++ if $pcp_perl_prog -e "use Net::SNMP" >/dev/null 2>&1 ++ then ++ pmda_snmp=true ++ fi ++ fi ++ ++fi ++PMDA_SNMP=$pmda_snmp ++ ++if $pmda_snmp; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the mysql PMDA should be included" >&5 ++$as_echo_n "checking if the mysql PMDA should be included... " >&6; } ++pmda_mysql=false ++if test "$have_perl" = true ++then ++ if $pcp_perl_prog -e "use DBI" >/dev/null 2>&1 ++ then ++ if $pcp_perl_prog -e "use DBD::mysql" >/dev/null 2>&1 ++ then ++ pmda_mysql=true ++ fi ++ fi ++fi ++PMDA_MYSQL=$pmda_mysql ++ ++if $pmda_mysql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postgresql PMDA should be included" >&5 ++$as_echo_n "checking if the postgresql PMDA should be included... " >&6; } ++pmda_postgresql=false ++if test "$have_python" = true ++then ++ if $pcp_python_prog -c "import psycopg2" >/dev/null 2>&1 ++ then ++ pmda_postgresql=true ++ fi ++fi ++PMDA_POSTGRESQL=$pmda_postgresql ++ ++if $pmda_postgresql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the oracle PMDA should be included" >&5 ++$as_echo_n "checking if the oracle PMDA should be included... " >&6; } ++pmda_oracle=false ++if test "$have_perl" = true ++then ++ if $pcp_perl_prog -e "use DBI" >/dev/null 2>&1 ++ then ++ pmda_oracle=true ++ fi ++fi ++PMDA_ORACLE=$pmda_oracle ++ ++if $pmda_oracle; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the elasticsearch PMDA should be included" >&5 ++$as_echo_n "checking if the elasticsearch PMDA should be included... " >&6; } ++pmda_elasticsearch=false ++if test "$have_python" = true ++then ++ if $pcp_python_prog -c "import urllib" >/dev/null 2>&1 ++ then ++ pmda_elasticsearch=true ++ fi ++ if $pcp_python_prog -c "import urllib2" >/dev/null 2>&1 ++ then ++ pmda_elasticsearch=true ++ fi ++ ++fi ++PMDA_ELASTICSEARCH=$pmda_elasticsearch ++ ++if $pmda_elasticsearch; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nginx PMDA should be included" >&5 ++$as_echo_n "checking if the nginx PMDA should be included... " >&6; } ++pmda_nginx=false ++if test "$have_perl" = true ++then ++ if $pcp_perl_prog -e "use LWP::UserAgent" >/dev/null 2>&1 ++ then ++ pmda_nginx=true ++ fi ++fi ++PMDA_NGINX=$pmda_nginx ++ ++if $pmda_nginx; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the activemq PMDA should be included" >&5 ++$as_echo_n "checking if the activemq PMDA should be included... " >&6; } ++pmda_activemq=false ++if test "$have_perl" = true ++then ++ pmda_activemq=true ++ for module in 'LWP::UserAgent' JSON ++ do ++ if $pcp_perl_prog -e "use $module" >/dev/null 2>&1 ++ then ++ : ++ else ++ pmda_activemq=false ++ break ++ fi ++ done ++fi ++PMDA_ACTIVEMQ=$pmda_activemq ++ ++if $pmda_activemq; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bind2 PMDA should be included" >&5 ++$as_echo_n "checking if the bind2 PMDA should be included... " >&6; } ++pmda_bind2=false ++if test "$have_perl" = true ++then ++ if $pcp_perl_prog -e "use LWP::UserAgent" >/dev/null 2>&1 ++ then ++ if $pcp_perl_prog -e "use XML::LibXML" >/dev/null 2>&1 ++ then ++ if $pcp_perl_prog -e "use File::Slurp" >/dev/null 2>&1 ++ then ++ pmda_bind2=true ++ fi ++ fi ++ fi ++fi ++PMDA_BIND2=$pmda_bind2 ++ ++if $pmda_bind2; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nutcracker PMDA should be included" >&5 ++$as_echo_n "checking if the nutcracker PMDA should be included... " >&6; } ++pmda_nutcracker=false ++if test "x$do_pmdanutcracker" = "xyes"; then : ++ pmda_nutcracker=true ++fi ++if test "x$do_pmdanutcracker" = "xcheck"; then : ++ ++ if test "$have_perl" = true ++ then ++ if $pcp_perl_prog -e "use YAML::XS" >/dev/null 2>&1 ++ then ++ if $pcp_perl_prog -e "use JSON" >/dev/null 2>&1 ++ then ++ pmda_nutcracker=true ++ fi ++ fi ++ fi ++ ++fi ++PMDA_NUTCRACKER=$pmda_nutcracker ++ ++if $pmda_nutcracker; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the LIO PMDA should be included" >&5 ++$as_echo_n "checking if the LIO PMDA should be included... " >&6; } ++pmda_lio=false ++if test "$have_python" = true ++then ++ if $pcp_python_prog -c "import rtslib" >/dev/null 2>&1 ++ then ++ pmda_lio=true ++ fi ++fi ++PMDA_LIO=$pmda_lio ++ ++if $pmda_lio; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the OpenMetrics PMDA should be included" >&5 ++$as_echo_n "checking if the OpenMetrics PMDA should be included... " >&6; } ++pmda_openmetrics=false ++if test "$have_python" = true ++then ++ $have_python_requests && $have_python_OrderedDict && pmda_openmetrics=true ++fi ++PMDA_OPENMETRICS=$pmda_openmetrics ++ ++if $pmda_openmetrics; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the libvirt PMDA should be included" >&5 ++$as_echo_n "checking if the libvirt PMDA should be included... " >&6; } ++pmda_libvirt=false ++if test "$have_python" = true ++then ++ if test "$have_python_libvirt" = true ++ then ++ if $pcp_python_prog -c "import lxml" >/dev/null 2>&1 ++ then ++ pmda_libvirt=true ++ fi ++ fi ++fi ++PMDA_LIBVIRT=$pmda_libvirt ++ ++if $pmda_libvirt; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++qmake=$QMAKE ++enable_qt=false ++qt_release=release ++qt_version=0 ++if test "x$do_qt" != "xno"; then : ++ ++ enable_qt=true ++ ++ # Allow specifying the QT directory using --with-qt=/the/qt/dir ++ case "$do_qt" in ++ /*) export QTDIR="$do_qt" ; do_qt="check" ;; ++ esac ++ ++ if test -z "$QMAKE" ++ then ++ for ac_prog in qtchooser ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_QTCHOOSER+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $QTCHOOSER in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_QTCHOOSER="$QTCHOOSER" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$QTDIR/bin:/usr/lib/qtchooser:/usr/bin:/usr/lib64/qt5/bin:/usr/lib/qt5/bin:/usr/lib64/qt4/bin:/usr/lib/qt4/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_QTCHOOSER="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++QTCHOOSER=$ac_cv_path_QTCHOOSER ++if test -n "$QTCHOOSER"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QTCHOOSER" >&5 ++$as_echo "$QTCHOOSER" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$QTCHOOSER" && break ++done ++ ++ for ac_prog in qmake qmake-qt5 qmake-qt4 ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_QMAKE+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $QMAKE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_QMAKE="$QMAKE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="$QTDIR/bin:/usr/lib/qtchooser:/usr/bin:/usr/lib64/qt5/bin:/usr/lib/qt5/bin:/usr/lib64/qt4/bin:/usr/lib/qt4/bin:/usr/local/bin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_QMAKE="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++QMAKE=$ac_cv_path_QMAKE ++if test -n "$QMAKE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 ++$as_echo "$QMAKE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$QMAKE" && break ++done ++ ++ test "x$cc_is_gcc" = xyes -a $target_os = solaris && QMAKE="$QMAKE -spec solaris-g++" ++ fi ++ qmake=$QMAKE ++ if test -z "$QMAKE" ++ then ++ enable_qt=false ++ else ++ if test -n "$QT_SELECT" ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version, QT_SELECT=$QT_SELECT" >&5 ++$as_echo_n "checking Qt version, QT_SELECT=$QT_SELECT... " >&6; } ++ export QT_SELECT ++ $qmake --version 2>&1 >/dev/null ++ if test $? -eq 1; then ++ export QT_SELECT=4 ++ fi ++ else ++ if test -n "$QTCHOOSER" ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version, using qtchooser" >&5 ++$as_echo_n "checking Qt version, using qtchooser... " >&6; } ++ if $QTCHOOSER -l | grep '^5$' >/dev/null ++ then ++ export QT_SELECT=5 ++ else ++ export QT_SELECT=4 ++ fi ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version" >&5 ++$as_echo_n "checking Qt version... " >&6; } ++ unset QT_SELECT ++ fi ++ fi ++ eval `$qmake --version 2>&1 | awk '/Using Qt version/ { ver=4; print $ver }' | awk -F. '{ major=1; minor=2; point=3; printf "export QT_MAJOR=%d QT_MINOR=%d QT_POINT=%d\n",$major,$minor,$point }'` ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MAJOR.$QT_MINOR.$QT_POINT" >&5 ++$as_echo "$QT_MAJOR.$QT_MINOR.$QT_POINT" >&6; } ++ if test -z "$QT_MAJOR" -o -z "$QT_MINOR"; then ++ echo WARNING: cannot extract Qt version number from ... ++ $qmake --version ++ echo Cannot include the Qt components in the build. ++ enable_qt=false ++ qt_version=0 ++ elif test "$QT_MAJOR" -lt 4; then ++ echo WARNING: Qt version 4.4 or later does not seem to be installed. ++ echo Cannot proceed with the Qt $QT_MAJOR installation found. ++ enable_qt=false ++ qt_version=0 ++ elif test "$QT_MAJOR" -eq 4 -a "$QT_MINOR" -lt 4 ; then ++ echo WARNING: Qt version 4.$QT_MINOR is too old. ++ echo Qt version 4.4 or later is required for Qt builds. ++ enable_qt=false ++ qt_version=0 ++ else ++ qt_version=$QT_MAJOR ++ fi ++ fi ++ ++ if test "$do_qt" != "check" -a "$enable_qt" != "true" ++ then ++ as_fn_error $? "cannot enable Qt - no supported Qt installation found" "$LINENO" 5 ++ elif test "$enable_qt" = "true" -a "x$cxx" = "x" ++ then ++ enable_qt=false ++ test "$do_qt" != "check" && \ ++ as_fn_error $? "C++ compiler unavailable, cannot build Qt components" "$LINENO" 5 ++ elif test "$do_qt" = "debug" ++ then ++ qt_release=debug ++ enable_qt=true ++ fi ++ ++fi ++ ++ ++ ++ ++ ++enable_qt3d=false ++if test "x$do_qt3d" != "xno"; then : ++ ++ if test -f /usr/include/Coin3/Inventor/Qt/SoQt.h -o -f /usr/include/Inventor/Qt/SoQt.h ++ then ++ enable_qt3d=$enable_qt ++ elif test x"$do_qt3d" = x"yes" ++ then ++ as_fn_error $? "cannot enable support for 3D scene graph API" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++if test -z "$MAKE" ++then ++ # Extract the first word of "gmake", so it can be a program name with args. ++set dummy gmake; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_MAKE+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MAKE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++MAKE=$ac_cv_path_MAKE ++if test -n "$MAKE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 ++$as_echo "$MAKE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ if test -z "$MAKE" ++ then ++ # look elsewhere ... ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make elsewhere" >&5 ++$as_echo_n "checking for GNU make elsewhere... " >&6; } ++ for f in /usr/local/bin/gmake /usr/freeware/bin/gmake /usr/local/bin/make /opt/sfw/bin/gmake nowhere ++ do ++ if test -x $f ++ then ++ MAKE=$f ++ break ++ fi ++ done ++ if test $f = nowhere ++ then ++ # Check if /usr/bin/make is any good ++ mver=`/usr/bin/make --version 2>/dev/null | sed -n -e1p | cut -c1-8` ++ if test "$mver" != "GNU Make" ++ then ++ echo ++ echo "FATAL ERROR: could not find GNU make anywhere" ++ echo "You need to set \$MAKE as the full path to GNU make " ++ echo "in the environment." ++ rm -rf conftest conftest.* ++ exit 1 ++ else ++ MAKE=/usr/bin/make ++ fi ++ fi ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 ++$as_echo "$MAKE" >&6; } ++ fi ++fi ++make=$MAKE ++ ++ ++if test -z "$CPP"; then ++ ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++$as_echo_n "checking how to run the C preprocessor... " >&6; } ++# On Suns, sometimes $CPP names a directory. ++if test -n "$CPP" && test -d "$CPP"; then ++ CPP= ++fi ++if test -z "$CPP"; then ++ if ${ac_cv_prog_CPP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # Double quotes because CPP needs to be expanded ++ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" ++ do ++ ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ break ++fi ++ ++ done ++ ac_cv_prog_CPP=$CPP ++ ++fi ++ CPP=$ac_cv_prog_CPP ++else ++ ac_cv_prog_CPP=$CPP ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++$as_echo "$CPP" >&6; } ++ac_preproc_ok=false ++for ac_c_preproc_warn_flag in '' yes ++do ++ # Use a header file that comes with gcc, so configuring glibc ++ # with a fresh cross-compiler works. ++ # Prefer to if __STDC__ is defined, since ++ # exists even on freestanding compilers. ++ # On the NeXT, cc -E runs the code through the compiler's parser, ++ # not just through cpp. "Syntax error" is here to catch this case. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ Syntax error ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ ++else ++ # Broken: fails on valid input. ++continue ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++ # OK, works on sane cases. Now check whether nonexistent headers ++ # can be detected and how. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # Broken: success on invalid input. ++continue ++else ++ # Passes both tests. ++ac_preproc_ok=: ++break ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++ ++done ++# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ++rm -f conftest.i conftest.err conftest.$ac_ext ++if $ac_preproc_ok; then : ++ ++else ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++as_fn_error $? "C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details" "$LINENO" 5; } ++fi ++ ++ac_ext=c ++ac_cpp='$CPP $CPPFLAGS' ++ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ++ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ++ac_compiler_gnu=$ac_cv_c_compiler_gnu ++ ++fi ++cpp=$CPP ++ ++ ++if test -z "$LD"; then ++ # Extract the first word of "ld", so it can be a program name with args. ++set dummy ld; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_LD+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LD in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LD="$LD" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_LD" && ac_cv_path_LD="/usr/bin/ld" ++ ;; ++esac ++fi ++LD=$ac_cv_path_LD ++if test -n "$LD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++$as_echo "$LD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++ld=$LD ++ ++ ++if test -z "$PCP_USER_INSTALL" ; then ++ pcp_user_install=root ++else ++ pcp_user_install="$PCP_USER_INSTALL" ++fi ++ ++if test -z "$PCP_GROUP_INSTALL" ; then ++ case "$target_os" ++ in ++ darwin|freebsd|netbsd|openbsd) ++ pcp_group_install=wheel ++ ;; ++ *) ++ pcp_group_install=root ++ ;; ++ esac ++else ++ pcp_group_install="$PCP_GROUP_INSTALL" ++fi ++ ++ ++if test -z "$TAR"; then ++ for ac_prog in gtar tar ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_TAR+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $TAR in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_TAR="$TAR" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++TAR=$ac_cv_path_TAR ++if test -n "$TAR"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 ++$as_echo "$TAR" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$TAR" && break ++done ++test -n "$TAR" || TAR="tar" ++ ++fi ++if test $target_os = darwin -a -x /usr/bin/gnutar ++then ++ TAR=/usr/bin/gnutar ++fi ++tar=$TAR ++ ++ ++if test -z "$ZIP"; then ++ # Extract the first word of "gzip", so it can be a program name with args. ++set dummy gzip; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_ZIP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ZIP in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="/bin/gzip" ++ ;; ++esac ++fi ++ZIP=$ac_cv_path_ZIP ++if test -n "$ZIP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5 ++$as_echo "$ZIP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++test ! -x "$ZIP" && ZIP=/usr/local/bin/gzip ++test ! -x "$ZIP" && ZIP=/usr/freeware/bin/gzip ++test ! -x "$ZIP" && ZIP=/usr/bin/gzip ++gzip=$ZIP ++test -z "$gzip" && gzip=no-gzip ++ ++ ++if test -z "$BZIP2"; then ++ # Extract the first word of "bzip2", so it can be a program name with args. ++set dummy bzip2; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_BZIP2+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $BZIP2 in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2="/bin/bzip2" ++ ;; ++esac ++fi ++BZIP2=$ac_cv_path_BZIP2 ++if test -n "$BZIP2"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5 ++$as_echo "$BZIP2" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++test ! -x "$BZIP2" && BZIP2=/usr/bin/bzip2 ++test ! -x "$BZIP2" && BZIP2=/usr/local/bin/bzip2 ++test ! -x "$BZIP2" && BZIP2=/usr/freeware/bin/bzip2 ++bzip2=$BZIP2 ++test -z "$bzip2" && bzip2=no-bzip2 ++ ++ ++if test -z "$LZMA"; then ++ # Extract the first word of "lzma", so it can be a program name with args. ++set dummy lzma; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_LZMA+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $LZMA in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_LZMA="$LZMA" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_LZMA="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_LZMA" && ac_cv_path_LZMA="/bin/lzma" ++ ;; ++esac ++fi ++LZMA=$ac_cv_path_LZMA ++if test -n "$LZMA"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5 ++$as_echo "$LZMA" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++test ! -x "$LZMA" && LZMA=/usr/bin/lzma ++test ! -x "$LZMA" && LZMA=/usr/local/bin/lzma ++test ! -x "$LZMA" && LZMA=/usr/freeware/bin/lzma ++lzma=$LZMA ++test -z "$lzma" && lzma=no-lzma ++ ++ ++if test -z "$XZ"; then ++ # Extract the first word of "xz", so it can be a program name with args. ++set dummy xz; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_XZ+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $XZ in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_XZ="$XZ" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_XZ="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_XZ" && ac_cv_path_XZ="/bin/xz" ++ ;; ++esac ++fi ++XZ=$ac_cv_path_XZ ++if test -n "$XZ"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5 ++$as_echo "$XZ" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++test ! -x "$XZ" && XZ=/usr/bin/xz ++test ! -x "$XZ" && XZ=/usr/local/bin/xz ++test ! -x "$XZ" && XZ=/usr/freeware/bin/xz ++xz=$XZ ++test -z "$xz" && xz=no-xz ++ ++ ++if test -z "$HDIUTIL"; then ++ # Extract the first word of "hdiutil", so it can be a program name with args. ++set dummy hdiutil; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_HDIUTIL+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $HDIUTIL in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_HDIUTIL="$HDIUTIL" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_HDIUTIL="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++HDIUTIL=$ac_cv_path_HDIUTIL ++if test -n "$HDIUTIL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HDIUTIL" >&5 ++$as_echo "$HDIUTIL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++hdiutil=$HDIUTIL ++ ++ ++if test -z "$MKINSTALLP"; then ++ # Extract the first word of "mkinstallp", so it can be a program name with args. ++set dummy mkinstallp; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_MKINSTALLP+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MKINSTALLP in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MKINSTALLP="$MKINSTALLP" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_MKINSTALLP="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++MKINSTALLP=$ac_cv_path_MKINSTALLP ++if test -n "$MKINSTALLP"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKINSTALLP" >&5 ++$as_echo "$MKINSTALLP" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++mkinstallp=$MKINSTALLP ++ ++ ++if test -z "$PKGMK"; then ++ # Extract the first word of "pkgmk", so it can be a program name with args. ++set dummy pkgmk; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_PKGMK+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $PKGMK in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_PKGMK="$PKGMK" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_PKGMK="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++PKGMK=$ac_cv_path_PKGMK ++if test -n "$PKGMK"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGMK" >&5 ++$as_echo "$PKGMK" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++pkgmk=$PKGMK ++ ++ ++if test -z "$DLLTOOL"; then ++ # Extract the first word of "dlltool", so it can be a program name with args. ++set dummy dlltool; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_DLLTOOL+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $DLLTOOL in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_DLLTOOL="$DLLTOOL" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_DLLTOOL="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++DLLTOOL=$ac_cv_path_DLLTOOL ++if test -n "$DLLTOOL"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 ++$as_echo "$DLLTOOL" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++dlltool=$DLLTOOL ++ ++ ++if test -z "$RPMBUILD"; then ++ # Extract the first word of "rpmbuild", so it can be a program name with args. ++set dummy rpmbuild; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_RPMBUILD+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $RPMBUILD in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_RPMBUILD="$RPMBUILD" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_RPMBUILD="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++RPMBUILD=$ac_cv_path_RPMBUILD ++if test -n "$RPMBUILD"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5 ++$as_echo "$RPMBUILD" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++test $target_distro = slackware && RPMBUILD='' ++rpmbuild=$RPMBUILD ++ ++ ++if test -z "$RPM"; then ++ # Extract the first word of "rpm", so it can be a program name with args. ++set dummy rpm; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_RPM+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $RPM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_RPM="$RPM" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_RPM="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++RPM=$ac_cv_path_RPM ++if test -n "$RPM"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5 ++$as_echo "$RPM" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++test $target_distro = slackware && RPM='' ++rpm=$RPM ++ ++ ++if test -n "$RPMBUILD" -a -x "$RPMBUILD" ++then ++ rpmprog=$RPMBUILD ++else ++ rpmprog=$RPM ++fi ++ ++ ++if test -z "$POD2MAN"; then ++ # Extract the first word of "pod2man", so it can be a program name with args. ++set dummy pod2man; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_POD2MAN+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $POD2MAN in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++POD2MAN=$ac_cv_path_POD2MAN ++if test -n "$POD2MAN"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5 ++$as_echo "$POD2MAN" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++pod2man=$POD2MAN ++ ++ ++if test "$enable_perl" != "false"; then : ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ExtUtils::MakeMaker is installed" >&5 ++$as_echo_n "checking if ExtUtils::MakeMaker is installed... " >&6; } ++ perl -e "use ExtUtils::MakeMaker" 2>/dev/null ++ if test $? -eq 0 ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo " yes" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo " no" >&6; } ++ echo ++ echo "FATAL ERROR: Perl ExtUtils::MakeMaker module missing." ++ echo "You can either install this from your distribution, or" ++ echo "download from CPAN (Comprehensive Perl Archive Network)." ++ rm -rf conftest conftest.* ++ exit 1 ++ fi ++ ++fi ++ ++# Extract the first word of "true", so it can be a program name with args. ++set dummy true; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_TRUEPROG+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $TRUEPROG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_TRUEPROG="$TRUEPROG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_TRUEPROG="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++TRUEPROG=$ac_cv_path_TRUEPROG ++if test -n "$TRUEPROG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUEPROG" >&5 ++$as_echo "$TRUEPROG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ ++if test -z "$MAKEDEPEND"; then ++ # Extract the first word of "makedepend", so it can be a program name with args. ++set dummy makedepend; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_MAKEDEPEND+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MAKEDEPEND in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_MAKEDEPEND" && ac_cv_path_MAKEDEPEND="$TRUEPROG" ++ ;; ++esac ++fi ++MAKEDEPEND=$ac_cv_path_MAKEDEPEND ++if test -n "$MAKEDEPEND"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5 ++$as_echo "$MAKEDEPEND" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++makedepend=$MAKEDEPEND ++ ++ ++if test -z "$MD5SUM"; then ++ # Extract the first word of "md5sum", so it can be a program name with args. ++set dummy md5sum; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_MD5SUM+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MD5SUM in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MD5SUM="$MD5SUM" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_MD5SUM="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_MD5SUM" && ac_cv_path_MD5SUM="$TRUEPROG" ++ ;; ++esac ++fi ++MD5SUM=$ac_cv_path_MD5SUM ++if test -n "$MD5SUM"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5 ++$as_echo "$MD5SUM" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++md5sum=$MD5SUM ++ ++ ++if test -z "$DPKG"; then ++ # Extract the first word of "dpkg", so it can be a program name with args. ++set dummy dpkg; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_DPKG+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $DPKG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_DPKG="$DPKG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_DPKG="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++DPKG=$ac_cv_path_DPKG ++if test -n "$DPKG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DPKG" >&5 ++$as_echo "$DPKG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++dpkg=$DPKG ++ ++ ++if test -z "$MAKEPKG"; then ++ # Extract the first word of "makepkg", so it can be a program name with args. ++set dummy makepkg; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_MAKEPKG+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $MAKEPKG in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_MAKEPKG="$MAKEPKG" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_MAKEPKG="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++MAKEPKG=$ac_cv_path_MAKEPKG ++if test -n "$MAKEPKG"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEPKG" >&5 ++$as_echo "$MAKEPKG" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++fi ++makepkg=$MAKEPKG ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 ++$as_echo_n "checking whether ln -s works... " >&6; } ++LN_S=$as_ln_s ++if test "$LN_S" = "ln -s"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 ++$as_echo "no, using $LN_S" >&6; } ++fi ++ ++if test $target_os = mingw; then ++ as_ln_s=/bin/true ++fi ++ ++if test -d /proc ++then ++ test -f /proc/stat || mount /proc >/dev/null 2>&1 ++fi ++ ++if test -n "$PROCPS" ++then ++ pcp_ps_prog="$PROCPS" ++else ++ pcp_ps_prog=ps ++fi ++ ++ ++if test $target_os = mingw ++then ++ pcp_syslog_prog=pcp-eventlog ++else ++ pcp_syslog_prog=logger ++fi ++ ++ ++grep=grep ++if test $target_os = solaris ++then ++ test -f /usr/xpg4/bin/grep && grep=/usr/xpg4/bin/grep ++fi ++ ++ ++ac_header_dirent=no ++for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do ++ as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 ++$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } ++if eval \${$as_ac_Header+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include <$ac_hdr> ++ ++int ++main () ++{ ++if ((DIR *) 0) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ eval "$as_ac_Header=yes" ++else ++ eval "$as_ac_Header=no" ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++eval ac_res=\$$as_ac_Header ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 ++_ACEOF ++ ++ac_header_dirent=$ac_hdr; break ++fi ++ ++done ++# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. ++if test $ac_header_dirent = dirent.h; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 ++$as_echo_n "checking for library containing opendir... " >&6; } ++if ${ac_cv_search_opendir+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char opendir (); ++int ++main () ++{ ++return opendir (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' dir; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_opendir=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if ${ac_cv_search_opendir+:} false; then : ++ break ++fi ++done ++if ${ac_cv_search_opendir+:} false; then : ++ ++else ++ ac_cv_search_opendir=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 ++$as_echo "$ac_cv_search_opendir" >&6; } ++ac_res=$ac_cv_search_opendir ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++fi ++ ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 ++$as_echo_n "checking for library containing opendir... " >&6; } ++if ${ac_cv_search_opendir+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_func_search_save_LIBS=$LIBS ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char opendir (); ++int ++main () ++{ ++return opendir (); ++ ; ++ return 0; ++} ++_ACEOF ++for ac_lib in '' x; do ++ if test -z "$ac_lib"; then ++ ac_res="none required" ++ else ++ ac_res=-l$ac_lib ++ LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ fi ++ if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_search_opendir=$ac_res ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext ++ if ${ac_cv_search_opendir+:} false; then : ++ break ++fi ++done ++if ${ac_cv_search_opendir+:} false; then : ++ ++else ++ ac_cv_search_opendir=no ++fi ++rm conftest.$ac_ext ++LIBS=$ac_func_search_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 ++$as_echo "$ac_cv_search_opendir" >&6; } ++ac_res=$ac_cv_search_opendir ++if test "$ac_res" != no; then : ++ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" ++ ++fi ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 ++$as_echo_n "checking for ANSI C header files... " >&6; } ++if ${ac_cv_header_stdc+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++#include ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_stdc=yes ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++if test $ac_cv_header_stdc = yes; then ++ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "memchr" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "free" >/dev/null 2>&1; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f conftest* ++ ++fi ++ ++if test $ac_cv_header_stdc = yes; then ++ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ++ if test "$cross_compiling" = yes; then : ++ : ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#if ((' ' & 0x0FF) == 0x020) ++# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') ++# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) ++#else ++# define ISLOWER(c) \ ++ (('a' <= (c) && (c) <= 'i') \ ++ || ('j' <= (c) && (c) <= 'r') \ ++ || ('s' <= (c) && (c) <= 'z')) ++# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) ++#endif ++ ++#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) ++int ++main () ++{ ++ int i; ++ for (i = 0; i < 256; i++) ++ if (XOR (islower (i), ISLOWER (i)) ++ || toupper (i) != TOUPPER (i)) ++ return 2; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++else ++ ac_cv_header_stdc=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 ++$as_echo "$ac_cv_header_stdc" >&6; } ++if test $ac_cv_header_stdc = yes; then ++ ++$as_echo "#define STDC_HEADERS 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 ++$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } ++if ${ac_cv_header_sys_wait_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#ifndef WEXITSTATUS ++# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) ++#endif ++#ifndef WIFEXITED ++# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) ++#endif ++ ++int ++main () ++{ ++ int s; ++ wait (&s); ++ s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_sys_wait_h=yes ++else ++ ac_cv_header_sys_wait_h=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 ++$as_echo "$ac_cv_header_sys_wait_h" >&6; } ++if test $ac_cv_header_sys_wait_h = yes; then ++ ++$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h ++ ++fi ++ ++for ac_header in fcntl.h limits.h malloc.h strings.h syslog.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in stddef.h sched.h dlfcn.h dl.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in sys/times.h sys/resource.h sys/prctl.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in sys/sysinfo.h sys/systeminfo.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in endian.h standards.h sys/byteorder.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in libgen.h sys/mman.h sys/un.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in values.h stdint.h ieeefp.h math.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in pwd.h grp.h regex.h sys/wait.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in termio.h termios.h sys/termios.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in sys/ioctl.h sys/select.h sys/socket.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in netdb.h poll.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++if test $target_os = darwin -o $target_os = openbsd ++then ++ for ac_header in net/if.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include ++#include ++" ++if test "x$ac_cv_header_net_if_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NET_IF_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++else ++ for ac_header in net/if.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default" ++if test "x$ac_cv_header_net_if_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NET_IF_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++fi ++for ac_header in netinet/in.h netinet/tcp.h arpa/inet.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in windows.h winsock2.h ws2tcpip.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in execinfo.h bits/wordsize.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in iptypes.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "iptypes.h" "ac_cv_header_iptypes_h" "#include ++" ++if test "x$ac_cv_header_iptypes_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_IPTYPES_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in iphlpapi.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h" "#include ++" ++if test "x$ac_cv_header_iphlpapi_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_IPHLPAPI_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in netioapi.h ++do : ++ ac_fn_c_check_header_compile "$LINENO" "netioapi.h" "ac_cv_header_netioapi_h" "#include ++" ++if test "x$ac_cv_header_netioapi_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NETIOAPI_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in fts.h libzfs.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in sys/statvfs.h sys/statfs.h sys/mount.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in curses.h ncurses.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in ncurses/curses.h ncurses/ncurses.h ++do : ++ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" ++if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in ncursesw/curses.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/curses.h" "ac_cv_header_ncursesw_curses_h" "$ac_includes_default" ++if test "x$ac_cv_header_ncursesw_curses_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NCURSESW_CURSES_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++for ac_header in linux/perf_event.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "linux/perf_event.h" "ac_cv_header_linux_perf_event_h" "$ac_includes_default" ++if test "x$ac_cv_header_linux_perf_event_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LINUX_PERF_EVENT_H 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h " >&5 ++$as_echo_n "checking for sys/endian.h ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for machine/endian.h " >&5 ++$as_echo_n "checking for machine/endian.h ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h (IRIX variant) " >&5 ++$as_echo_n "checking for sys/endian.h (IRIX variant) ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 ++$as_echo_n "checking for an ANSI C-conforming const... " >&6; } ++if ${ac_cv_c_const+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++#ifndef __cplusplus ++ /* Ultrix mips cc rejects this sort of thing. */ ++ typedef int charset[2]; ++ const charset cs = { 0, 0 }; ++ /* SunOS 4.1.1 cc rejects this. */ ++ char const *const *pcpcc; ++ char **ppc; ++ /* NEC SVR4.0.2 mips cc rejects this. */ ++ struct point {int x, y;}; ++ static struct point const zero = {0,0}; ++ /* AIX XL C 1.02.0.0 rejects this. ++ It does not let you subtract one const X* pointer from another in ++ an arm of an if-expression whose if-part is not a constant ++ expression */ ++ const char *g = "string"; ++ pcpcc = &g + (g ? g-g : 0); ++ /* HPUX 7.0 cc rejects these. */ ++ ++pcpcc; ++ ppc = (char**) pcpcc; ++ pcpcc = (char const *const *) ppc; ++ { /* SCO 3.2v4 cc rejects this sort of thing. */ ++ char tx; ++ char *t = &tx; ++ char const *s = 0 ? (char *) 0 : (char const *) 0; ++ ++ *t++ = 0; ++ if (s) return 0; ++ } ++ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ ++ int x[] = {25, 17}; ++ const int *foo = &x[0]; ++ ++foo; ++ } ++ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ ++ typedef const int *iptr; ++ iptr p = 0; ++ ++p; ++ } ++ { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying ++ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ ++ struct s { int j; const int *ap[3]; } bx; ++ struct s *b = &bx; b->j = 5; ++ } ++ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ ++ const int foo = 10; ++ if (!foo) return 0; ++ } ++ return !cs[0] && !zero.x; ++#endif ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_const=yes ++else ++ ac_cv_c_const=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 ++$as_echo "$ac_cv_c_const" >&6; } ++if test $ac_cv_c_const = no; then ++ ++$as_echo "#define const /**/" >>confdefs.h ++ ++fi ++ ++ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" ++if test "x$ac_cv_type_off_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define off_t long int ++_ACEOF ++ ++fi ++ ++ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" ++if test "x$ac_cv_type_pid_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define pid_t int ++_ACEOF ++ ++fi ++ ++ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" ++if test "x$ac_cv_type_size_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define size_t unsigned int ++_ACEOF ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 ++$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } ++if ${ac_cv_header_time+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#include ++ ++int ++main () ++{ ++if ((struct tm *) 0) ++return 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_header_time=yes ++else ++ ac_cv_header_time=no ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 ++$as_echo "$ac_cv_header_time" >&6; } ++if test $ac_cv_header_time = yes; then ++ ++$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 ++$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } ++if ${ac_cv_struct_tm+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++ ++int ++main () ++{ ++struct tm tm; ++ int *p = &tm.tm_sec; ++ return !p; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_struct_tm=time.h ++else ++ ac_cv_struct_tm=sys/time.h ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 ++$as_echo "$ac_cv_struct_tm" >&6; } ++if test $ac_cv_struct_tm = sys/time.h; then ++ ++$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 ++$as_echo_n "checking for inline... " >&6; } ++if ${ac_cv_c_inline+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_c_inline=no ++for ac_kw in inline __inline__ __inline; do ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#ifndef __cplusplus ++typedef int foo_t; ++static $ac_kw foo_t static_foo () {return 0; } ++$ac_kw foo_t foo () {return 0; } ++#endif ++ ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_c_inline=$ac_kw ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ test "$ac_cv_c_inline" != no && break ++done ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 ++$as_echo "$ac_cv_c_inline" >&6; } ++ ++case $ac_cv_c_inline in ++ inline | yes) ;; ++ *) ++ case $ac_cv_c_inline in ++ no) ac_val=;; ++ *) ac_val=$ac_cv_c_inline;; ++ esac ++ cat >>confdefs.h <<_ACEOF ++#ifndef __cplusplus ++#define inline $ac_val ++#endif ++_ACEOF ++ ;; ++esac ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5 ++$as_echo_n "checking for regcomp in -lregex... " >&6; } ++if ${ac_cv_lib_regex_regcomp+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lregex $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char regcomp (); ++int ++main () ++{ ++return regcomp (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_regex_regcomp=yes ++else ++ ac_cv_lib_regex_regcomp=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5 ++$as_echo "$ac_cv_lib_regex_regcomp" >&6; } ++if test "x$ac_cv_lib_regex_regcomp" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBREGEX 1 ++_ACEOF ++ ++ LIBS="-lregex $LIBS" ++ ++fi ++ ++lib_for_regex="" ++if test $ac_cv_lib_regex_regcomp = yes ++then ++ lib_for_regex="-lregex" ++fi ++ ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5 ++$as_echo_n "checking for openssl... " >&6; } ++ ++if test -n "$openssl_CFLAGS"; then ++ pkg_cv_openssl_CFLAGS="$openssl_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_openssl_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.1.1" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$openssl_LIBS"; then ++ pkg_cv_openssl_LIBS="$openssl_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_openssl_LIBS=`$PKG_CONFIG --libs "openssl >= 1.1.1" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ openssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.1.1" 2>&1` ++ else ++ openssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.1.1" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$openssl_PKG_ERRORS" >&5 ++ ++ have_openssl=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_openssl=false ++else ++ openssl_CFLAGS=$pkg_cv_openssl_CFLAGS ++ openssl_LIBS=$pkg_cv_openssl_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_openssl=true ++fi ++if $have_openssl ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_read_ex" >&5 ++$as_echo_n "checking for SSL_read_ex... " >&6; } ++ savedLIBS=$LIBS ++ LIBS="$openssl_LIBS" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char SSL_read_ex (); ++int ++main () ++{ ++return SSL_read_ex (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ have_openssl=true ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ have_openssl=false ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS=$savedLIBS ++fi ++HAVE_OPENSSL=$have_openssl ++ ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuv" >&5 ++$as_echo_n "checking for libuv... " >&6; } ++ ++if test -n "$libuv_CFLAGS"; then ++ pkg_cv_libuv_CFLAGS="$libuv_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libuv >= 1.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libuv_CFLAGS=`$PKG_CONFIG --cflags "libuv >= 1.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$libuv_LIBS"; then ++ pkg_cv_libuv_LIBS="$libuv_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuv >= 1.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libuv >= 1.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_libuv_LIBS=`$PKG_CONFIG --libs "libuv >= 1.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ libuv_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuv >= 1.0" 2>&1` ++ else ++ libuv_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuv >= 1.0" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$libuv_PKG_ERRORS" >&5 ++ ++ have_libuv=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_libuv=false ++else ++ libuv_CFLAGS=$pkg_cv_libuv_CFLAGS ++ libuv_LIBS=$pkg_cv_libuv_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_libuv=true ++fi ++HAVE_LIBUV=$have_libuv ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uv_pipe_chmod in -luv" >&5 ++$as_echo_n "checking for uv_pipe_chmod in -luv... " >&6; } ++if ${ac_cv_lib_uv_uv_pipe_chmod+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-luv $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char uv_pipe_chmod (); ++int ++main () ++{ ++return uv_pipe_chmod (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_uv_uv_pipe_chmod=yes ++else ++ ac_cv_lib_uv_uv_pipe_chmod=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uv_uv_pipe_chmod" >&5 ++$as_echo "$ac_cv_lib_uv_uv_pipe_chmod" >&6; } ++if test "x$ac_cv_lib_uv_uv_pipe_chmod" = xyes; then : ++ ++$as_echo "#define HAVE_UV_PIPE_CHMOD 1" >>confdefs.h ++ ++ have_uv_pipe_chmod=true ++else ++ have_uv_pipe_chmod=false ++fi ++ ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5 ++$as_echo_n "checking for ncurses... " >&6; } ++ ++if test -n "$ncurses_CFLAGS"; then ++ pkg_cv_ncurses_CFLAGS="$ncurses_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_ncurses_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$ncurses_LIBS"; then ++ pkg_cv_ncurses_LIBS="$ncurses_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_ncurses_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ ncurses_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1` ++ else ++ ncurses_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$ncurses_PKG_ERRORS" >&5 ++ ++ have_ncurses=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_ncurses=false ++else ++ ncurses_CFLAGS=$pkg_cv_ncurses_CFLAGS ++ ncurses_LIBS=$pkg_cv_ncurses_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_ncurses=true ++fi ++HAVE_NCURSES=$have_ncurses ++ ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncursesw" >&5 ++$as_echo_n "checking for ncursesw... " >&6; } ++ ++if test -n "$ncursesw_CFLAGS"; then ++ pkg_cv_ncursesw_CFLAGS="$ncursesw_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_ncursesw_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$ncursesw_LIBS"; then ++ pkg_cv_ncursesw_LIBS="$ncursesw_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_ncursesw_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ ncursesw_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncursesw" 2>&1` ++ else ++ ncursesw_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncursesw" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$ncursesw_PKG_ERRORS" >&5 ++ ++ have_ncursesw=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_ncursesw=false ++else ++ ncursesw_CFLAGS=$pkg_cv_ncursesw_CFLAGS ++ ncursesw_LIBS=$pkg_cv_ncursesw_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_ncursesw=true ++fi ++HAVE_NCURSESW=$have_ncursesw ++ ++if $have_ncursesw ++then ++ ++$as_echo "#define HAVE_GETMOUSE 1" >>confdefs.h ++ ++ ++$as_echo "#define HAVE_SET_ESCDELAY 1" >>confdefs.h ++ ++fi ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEVMAPPER" >&5 ++$as_echo_n "checking for DEVMAPPER... " >&6; } ++ ++if test -n "$DEVMAPPER_CFLAGS"; then ++ pkg_cv_DEVMAPPER_CFLAGS="$DEVMAPPER_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devmapper\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "devmapper") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_DEVMAPPER_CFLAGS=`$PKG_CONFIG --cflags "devmapper" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$DEVMAPPER_LIBS"; then ++ pkg_cv_DEVMAPPER_LIBS="$DEVMAPPER_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"devmapper\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "devmapper") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_DEVMAPPER_LIBS=`$PKG_CONFIG --libs "devmapper" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ DEVMAPPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "devmapper" 2>&1` ++ else ++ DEVMAPPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "devmapper" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$DEVMAPPER_PKG_ERRORS" >&5 ++ ++ have_devmapper=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_devmapper=false ++else ++ DEVMAPPER_CFLAGS=$pkg_cv_DEVMAPPER_CFLAGS ++ DEVMAPPER_LIBS=$pkg_cv_DEVMAPPER_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_devmapper=true ++fi ++if $have_devmapper ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dm_stats_counter_t " >&5 ++$as_echo_n "checking for dm_stats_counter_t ... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ dm_stats_counter_t ctr; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ have_devmapper=true ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ have_devmapper=false ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++HAVE_DEVMAPPER=$have_devmapper ++ ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 ++$as_echo_n "checking for SYSTEMD... " >&6; } ++ ++if test -n "$SYSTEMD_CFLAGS"; then ++ pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$SYSTEMD_LIBS"; then ++ pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` ++ else ++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$SYSTEMD_PKG_ERRORS" >&5 ++ ++ pmda_systemd=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ pmda_systemd=false ++else ++ SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS ++ SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ pmda_systemd=true ++fi ++if $pmda_systemd ++then ++ : ++else ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 ++$as_echo_n "checking for SYSTEMD... " >&6; } ++ ++if test -n "$SYSTEMD_CFLAGS"; then ++ pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$SYSTEMD_LIBS"; then ++ pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1` ++ else ++ SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$SYSTEMD_PKG_ERRORS" >&5 ++ ++ pmda_systemd=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ pmda_systemd=false ++else ++ SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS ++ SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ pmda_systemd=true ++fi ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the systemd PMDA should be included" >&5 ++$as_echo_n "checking if the systemd PMDA should be included... " >&6; } ++PMDA_SYSTEMD=$pmda_systemd ++ ++if $pmda_systemd; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++pmda_infiniband=false ++if test "x$do_infiniband" != "xno"; then : ++ ++ for ac_header in infiniband/umad.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "infiniband/umad.h" "ac_cv_header_infiniband_umad_h" "$ac_includes_default" ++if test "x$ac_cv_header_infiniband_umad_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_INFINIBAND_UMAD_H 1 ++_ACEOF ++ ++ for ac_header in infiniband/mad.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "infiniband/mad.h" "ac_cv_header_infiniband_mad_h" "$ac_includes_default" ++if test "x$ac_cv_header_infiniband_mad_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_INFINIBAND_MAD_H 1 ++_ACEOF ++ pmda_infiniband=true ++fi ++ ++done ++ ++ ++fi ++ ++done ++ ++ savedLIBS=$LIBS ++ IB_LIBS="" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for madrpc_init in -libmad" >&5 ++$as_echo_n "checking for madrpc_init in -libmad... " >&6; } ++if ${ac_cv_lib_ibmad_madrpc_init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-libmad $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char madrpc_init (); ++int ++main () ++{ ++return madrpc_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ibmad_madrpc_init=yes ++else ++ ac_cv_lib_ibmad_madrpc_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_madrpc_init" >&5 ++$as_echo "$ac_cv_lib_ibmad_madrpc_init" >&6; } ++if test "x$ac_cv_lib_ibmad_madrpc_init" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBIBMAD 1 ++_ACEOF ++ ++ LIBS="-libmad $LIBS" ++ ++fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umad_init in -libumad" >&5 ++$as_echo_n "checking for umad_init in -libumad... " >&6; } ++if ${ac_cv_lib_ibumad_umad_init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-libumad $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char umad_init (); ++int ++main () ++{ ++return umad_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ibumad_umad_init=yes ++else ++ ac_cv_lib_ibumad_umad_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibumad_umad_init" >&5 ++$as_echo "$ac_cv_lib_ibumad_umad_init" >&6; } ++if test "x$ac_cv_lib_ibumad_umad_init" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBIBUMAD 1 ++_ACEOF ++ ++ LIBS="-libumad $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_ibmad_madrpc_init = yes -a $ac_cv_lib_ibumad_umad_init = yes ++ then ++ IB_LIBS="-libmad -libumad" ++ LIBS="$IB_LIBS" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for port_performance_query_via" >&5 ++$as_echo_n "checking for port_performance_query_via... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char port_performance_query_via (); ++int ++main () ++{ ++return port_performance_query_via (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_PORT_PERFORMANCE_QUERY_VIA 1" >>confdefs.h ++ ++ have_port_performance_query_via=true ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ have_port_performance_query_via=false ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pma_query_via" >&5 ++$as_echo_n "checking for pma_query_via... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pma_query_via (); ++int ++main () ++{ ++return pma_query_via (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_PMA_QUERY_VIA 1" >>confdefs.h ++ ++ have_pma_query_via=true ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ have_pma_query_via=false ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS=$savedLIBS ++ if test $have_pma_query_via -o $have_port_performance_query_via ++ then ++ : ++ else ++ pmda_infiniband=false ++ fi ++ else ++ pmda_infiniband=false ++ fi ++ LIBS=$savedLIBS ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the infiniband PMDA should be included" >&5 ++$as_echo_n "checking if the infiniband PMDA should be included... " >&6; } ++PMDA_INFINIBAND=$pmda_infiniband ++ ++if $pmda_infiniband; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++pmda_perfevent=false ++if test "x$do_perfevent" = "xyes"; then : ++ ++ pmda_perfevent=true ++ pfm_libs="-lpfm" ++ PFM_LIBS=$pfm_libs ++ ++ ++elif test "x$do_perfevent" != "xno" ; then : ++ ++ enable_perfevent=true ++ ++ savedLIBS=$LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pfm_get_os_event_encoding in -lpfm" >&5 ++$as_echo_n "checking for pfm_get_os_event_encoding in -lpfm... " >&6; } ++if ${ac_cv_lib_pfm_pfm_get_os_event_encoding+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpfm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pfm_get_os_event_encoding (); ++int ++main () ++{ ++return pfm_get_os_event_encoding (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_pfm_pfm_get_os_event_encoding=yes ++else ++ ac_cv_lib_pfm_pfm_get_os_event_encoding=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pfm_pfm_get_os_event_encoding" >&5 ++$as_echo "$ac_cv_lib_pfm_pfm_get_os_event_encoding" >&6; } ++if test "x$ac_cv_lib_pfm_pfm_get_os_event_encoding" = xyes; then : ++ pfm_libs="-lpfm" ++else ++ enable_perfevent=false ++fi ++ ++ for ac_header in perfmon/pfmlib_perf_event.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "perfmon/pfmlib_perf_event.h" "ac_cv_header_perfmon_pfmlib_perf_event_h" "$ac_includes_default" ++if test "x$ac_cv_header_perfmon_pfmlib_perf_event_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_PERFMON_PFMLIB_PERF_EVENT_H 1 ++_ACEOF ++ ++else ++ enable_perfevent=false ++fi ++ ++done ++ ++ if test "$do_perfevent" != "check" -a "$enable_perfevent" != "true" ++ then ++ as_fn_error $? "libpfm is not installed, cannot enable the perfevent PMDA" "$LINENO" 5 ++ else ++ pmda_perfevent=$enable_perfevent ++ fi ++ LIBS=$savedLIBS ++ PFM_LIBS=$pfm_libs ++ ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the perfevent PMDA should be included" >&5 ++$as_echo_n "checking if the perfevent PMDA should be included... " >&6; } ++PMDA_PERFEVENT=$pmda_perfevent ++ ++if $pmda_perfevent; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hdr_init in -lhdr_histogram" >&5 ++$as_echo_n "checking for hdr_init in -lhdr_histogram... " >&6; } ++if ${ac_cv_lib_hdr_histogram_hdr_init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lhdr_histogram $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char hdr_init (); ++int ++main () ++{ ++return hdr_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_hdr_histogram_hdr_init=yes ++else ++ ac_cv_lib_hdr_histogram_hdr_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdr_histogram_hdr_init" >&5 ++$as_echo "$ac_cv_lib_hdr_histogram_hdr_init" >&6; } ++if test "x$ac_cv_lib_hdr_histogram_hdr_init" = xyes; then : ++ lib_for_hdr_histogram="-lz -lhdr_histogram" ++fi ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for chan_init in -lchan" >&5 ++$as_echo_n "checking for chan_init in -lchan... " >&6; } ++if ${ac_cv_lib_chan_chan_init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lchan $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char chan_init (); ++int ++main () ++{ ++return chan_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_chan_chan_init=yes ++else ++ ac_cv_lib_chan_chan_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_chan_chan_init" >&5 ++$as_echo "$ac_cv_lib_chan_chan_init" >&6; } ++if test "x$ac_cv_lib_chan_chan_init" = xyes; then : ++ lib_for_chan="-lchan" ++fi ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the statsd PMDA should be included" >&5 ++$as_echo_n "checking if the statsd PMDA should be included... " >&6; } ++pmda_statsd=false ++if test "x$do_pmdastatsd" = "xyes"; then : ++ pmda_statsd=true ++fi ++if test "x$do_pmdastatsd" = "xcheck"; then : ++ ++ if test "x$lib_for_hdr_histogram" != "x" -a "x$lib_for_chan" != "x"; then ++ pmda_statsd=true ++ fi ++fi ++PMDA_STATSD=$pmda_statsd ++ ++if $pmda_statsd; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the podman PMDA should be included" >&5 ++$as_echo_n "checking if the podman PMDA should be included... " >&6; } ++pmda_podman=true ++if test "x$do_pmdapodman" = "xno"; then : ++ pmda_podman=false ++fi ++PMDA_PODMAN=$pmda_podman ++ ++if $pmda_podman; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++pmda_postfix=false ++for ac_prog in qshape ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_QSHAPE+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$QSHAPE"; then ++ ac_cv_prog_QSHAPE="$QSHAPE" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++as_dummy="path=$PATH:/usr/sbin" ++for as_dir in $as_dummy ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_QSHAPE="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++QSHAPE=$ac_cv_prog_QSHAPE ++if test -n "$QSHAPE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QSHAPE" >&5 ++$as_echo "$QSHAPE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$QSHAPE" && break ++done ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postfix PMDA should be included" >&5 ++$as_echo_n "checking if the postfix PMDA should be included... " >&6; } ++if test -n "$QSHAPE" ++then ++ pmda_postfix=true ++else ++ for script in /usr/share/doc/packages/postfix-doc/auxiliary/qshape/qshape.pl ++ do ++ if test -f "$script" ++ then ++ pmda_postfix=true ++ break ++ fi ++ done ++fi ++PMDA_POSTFIX=$pmda_postfix ++ ++if $pmda_postfix; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++for ac_prog in seinfo ++do ++ # Extract the first word of "$ac_prog", so it can be a program name with args. ++set dummy $ac_prog; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_prog_SEINFO+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test -n "$SEINFO"; then ++ ac_cv_prog_SEINFO="$SEINFO" # Let the user override the test. ++else ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_prog_SEINFO="$ac_prog" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++fi ++fi ++SEINFO=$ac_cv_prog_SEINFO ++if test -n "$SEINFO"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SEINFO" >&5 ++$as_echo "$SEINFO" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++ test -n "$SEINFO" && break ++done ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if selinux policy should be included" >&5 ++$as_echo_n "checking if selinux policy should be included... " >&6; } ++enable_selinux=false ++if test $target_os = mingw ++then ++ : ++else ++ if test "x$do_selinux" != "xno"; then : ++ ++ for makefile in /usr/share/selinux/devel/Makefile ++ do ++ if test -f "$makefile" -a "x$SEINFO" != "x" ++ then ++ enable_selinux=true ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ fi ++ done ++ ++ ++fi ++fi ++test "$enable_selinux" = "false" && { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++ ++ ++pcp_selinux_cap_userns_ptrace=false ++pcp_selinux_container_runtime=false ++pcp_selinux_nsfs=false ++pcp_selinux_docker_var_lib=false ++pcp_selinux_unreserved_port=false ++pcp_selinux_tracefs=false ++pcp_selinux_hostname_exec_map=false ++pcp_selinux_unconfined=false ++pcp_selinux_numad=false ++pcp_selinux_bpf=false ++pcp_selinux_dma_device=false ++pcp_selinux_files_list_non_auth_dirs=false ++pcp_selinux_container_var_run=false ++pcp_selinux_rpcbind_var_run=false ++pcp_selinux_virt_var_run=false ++pcp_selinux_proc_security=false ++pcp_selinux_sbd_exec=false ++pcp_selinux_capability2_syslog=false ++pcp_selinux_capability2_bpf=false ++pcp_selinux_icmp_socket_class=false ++pcp_selinux_glusterd_log=false ++ ++pcp_selinux_initrc_tmp=false ++pcp_selinux_sudo_exec=false ++pcp_selinux_security=false ++pcp_selinux_chkpwd_exec=false ++pcp_selinux_initrc=false ++pcp_selinux_var_log=false ++pcp_selinux_lastlog=false ++pcp_selinux_xauth_exec=false ++pcp_selinux_logrotate=false ++pcp_selinux_faillog=false ++pcp_selinux_kmod_exec=false ++pcp_selinux_mdadm_conf=false ++ ++pcp_selinux_netlink_selinux_socket_class=false ++pcp_selinux_netlink_audit_socket_class=false ++pcp_selinux_sock_file_class=false ++pcp_selinux_security_class=false ++pcp_selinux_dir_class=false ++pcp_selinux_rawip_socket_class=false ++pcp_selinux_netlink_generic_socket_class=false ++pcp_selinux_netlink_tcpdiag_socket_class=false ++ ++if test "x$enable_selinux" != "xfalse"; then : ++ ++ ++ ++ seinfo -t >conftest.out ++ ++ ++ grep '^[ ][ ]*container_runtime_t$' /dev/null \ ++ && pcp_selinux_container_runtime=true ++ grep '^[ ][ ]*nsfs_t$' /dev/null \ ++ && pcp_selinux_nsfs=true ++ grep '^[ ][ ]*docker_var_lib_t$' /dev/null \ ++ && pcp_selinux_docker_var_lib=true ++ grep '^[ ][ ]*unreserved_port_t$' /dev/null \ ++ && pcp_selinux_unreserved_port=true ++ grep '^[ ][ ]*tracefs_t$' /dev/null \ ++ && pcp_selinux_tracefs=true ++ grep '^[ ][ ]*unconfined_service_t$' /dev/null \ ++ && pcp_selinux_unconfined=true ++ grep '^[ ][ ]*numad_t$' /dev/null \ ++ && pcp_selinux_numad=true ++ grep '^[ ][ ]*container_var_run_t$' /dev/null \ ++ && pcp_selinux_container_var_run=true ++ grep '^[ ][ ]*rpcbind_var_run_t$' /dev/null \ ++ && pcp_selinux_rpcbind_var_run=true ++ grep '^[ ][ ]*virt_var_run_t$' /dev/null \ ++ && pcp_selinux_virt_var_run=true ++ grep '^[ ][ ]*proc_security_t$' /dev/null \ ++ && pcp_selinux_proc_security=true ++ grep '^[ ][ ]*sbd_exec_t$' /dev/null \ ++ && pcp_selinux_sbd_exec=true ++ grep '^[ ][ ]*kmod_exec_t$' /dev/null \ ++ && pcp_selinux_kmod_exec=true ++ grep '^[ ][ ]*dma_device_t$' /dev/null \ ++ && pcp_selinux_dma_device=true ++ grep '^[ ][ ]*glusterd_log_t$' /dev/null \ ++ && pcp_selinux_glusterd_log=true ++ grep '^[ ][ ]*mdadm_conf_t$' /dev/null \ ++ && pcp_selinux_mdadm_conf=true ++ ++ ++ grep '^[ ][ ]*initrc_tmp_t$' /dev/null \ ++ && pcp_selinux_initrc_tmp=true ++ grep '^[ ][ ]*sudo_exec_t$' /dev/null \ ++ && pcp_selinux_sudo_exec=true ++ grep '^[ ][ ]*security_t$' /dev/null \ ++ && pcp_selinux_security=true ++ grep '^[ ][ ]*chkpwd_exec_t$' /dev/null \ ++ && pcp_selinux_chkpwd_exec=true ++ grep '^[ ][ ]*initrc_t$' /dev/null \ ++ && pcp_selinux_initrc=true ++ grep '^[ ][ ]*var_log_t$' /dev/null \ ++ && pcp_selinux_var_log=true ++ grep '^[ ][ ]*lastlog_t$' /dev/null \ ++ && pcp_selinux_lastlog=true ++ grep '^[ ][ ]*xauth_exec_t$' /dev/null \ ++ && pcp_selinux_xauth_exec=true ++ grep '^[ ][ ]*logrotate_t$' /dev/null \ ++ && pcp_selinux_logrotate=true ++ grep '^[ ][ ]*faillog_t$' /dev/null \ ++ && pcp_selinux_faillog=true ++ ++ rm -f conftest.out ++ ++ seinfo --common >/dev/null 2>&1 ++ if test $? -eq 0 ++ then ++ seinfo_common_flag="--common" ++ else ++ seinfo_common_flag="" ++ fi ++ ++ ++ ++ seinfo -x --class=cap_userns $seinfo_common_flag 2>/dev/null \ ++ | grep '^[ ][ ]*sys_ptrace$' >/dev/null \ ++ && pcp_selinux_cap_userns_ptrace=true ++ ++ seinfo -x --class=file $seinfo_common_flag 2>/dev/null \ ++ | grep '^[ ][ ]*map$' >/dev/null \ ++ && pcp_selinux_hostname_exec_map=true ++ seinfo -x --common file 2>/dev/null \ ++ | grep '^[ ][ ]*map$' >/dev/null \ ++ && pcp_selinux_hostname_exec_map=true ++ ++ seinfo -x --class=bpf $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)bpf$' >/dev/null \ ++ && pcp_selinux_bpf=true ++ ++ seinfo -a 2>/dev/null \ ++ | grep '^[ ][ ]*non_auth_file_type$' >/dev/null \ ++ && pcp_selinux_files_list_non_auth_dirs=true ++ ++ seinfo -x --class=capability2 $seinfo_common_flag 2>/dev/null \ ++ | grep '^[ ][ ]*syslog$' >/dev/null \ ++ && pcp_selinux_capability2_syslog=true ++ ++ seinfo -x --class=capability2 $seinfo_common_flag 2>/dev/null \ ++ | grep '^[ ][ ]*bpf$' >/dev/null \ ++ && pcp_selinux_capability2_bpf=true ++ ++ seinfo -x --class=icmp_socket $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)icmp_socket$' >/dev/null \ ++ && pcp_selinux_icmp_socket_class=true ++ ++ seinfo -x --class=lockdown $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)lockdown$' >/dev/null \ ++ && pcp_selinux_lockdown_class=true ++ ++ ++ seinfo -x --class=netlink_selinux_socket $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)netlink_selinux_socket$' >/dev/null \ ++ && pcp_selinux_netlink_selinux_socket_class=true ++ ++ seinfo -x --class=netlink_audit_socket $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)netlink_audit_socket$' >/dev/null \ ++ && pcp_selinux_netlink_audit_socket_class=true ++ ++ seinfo -x --class=sock_file $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)sock_file$' >/dev/null \ ++ && pcp_selinux_sock_file_class=true ++ ++ seinfo -x --class=security $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)security$' >/dev/null \ ++ && pcp_selinux_security_class=true ++ ++ seinfo -x --class=dir $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)dir$' >/dev/null \ ++ && pcp_selinux_dir_class=true ++ ++ seinfo -x --class=rawip_socket $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)rawip_socket$' >/dev/null \ ++ && pcp_selinux_rawip_socket_class=true ++ ++ seinfo -x --class=netlink_generic_socket $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)netlink_generic_socket$' >/dev/null \ ++ && pcp_selinux_netlink_generic_socket_class=true ++ ++ seinfo -x --class=netlink_tcpdiag_socket $seinfo_common_flag 2>/dev/null \ ++ | egrep '^[ ][ ]*(class |)netlink_tcpdiag_socket$' >/dev/null \ ++ && pcp_selinux_netlink_tcpdiag_socket_class=true ++ ++ ++fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++pcp_selinux_files_mmap_all_files=false ++pcp_selinux_logging_watch_all_log_dirs_path=false ++if test "x$enable_selinux" != "xfalse" ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux files_mmap_all_files() macro" >&5 ++$as_echo_n "checking for selinux files_mmap_all_files() macro... " >&6; } ++ cat <conftest.te ++module conftest 1.0; ++require { ++ attribute file_type; ++ attribute pcp_domain; ++ class file { append create execute open read write unlink map }; ++} ++files_mmap_all_files(pcp_domain); ++End-of-File ++ if make -f /usr/share/selinux/devel/Makefile conftest.pp >/dev/null 2>&1 ++ then ++ pcp_selinux_files_mmap_all_files=true ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ fi ++ rm -f tmp/all_interfaces.conf tmp/conftest.* tmp/iferror.m4 ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux logging_watch_all_log_dirs_path() macro" >&5 ++$as_echo_n "checking for selinux logging_watch_all_log_dirs_path() macro... " >&6; } ++ cat <conftest.te ++module conftest 1.0; ++require { ++ attribute logfile; ++ attribute pcp_domain; ++ class dir { getattr search open watch }; ++} ++logging_watch_all_log_dirs_path(pcp_domain); ++End-of-File ++ if make -f /usr/share/selinux/devel/Makefile conftest.pp >/dev/null 2>&1 ++ then ++ pcp_selinux_logging_watch_all_log_dirs_path=true ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ fi ++ rm -f tmp/all_interfaces.conf tmp/conftest.* tmp/iferror.m4 ++fi ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 ++$as_echo_n "checking return type of signal handlers... " >&6; } ++if ${ac_cv_type_signal+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++ ++int ++main () ++{ ++return *(signal (0, 0)) (0) == 1; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ac_cv_type_signal=int ++else ++ ac_cv_type_signal=void ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 ++$as_echo "$ac_cv_type_signal" >&6; } ++ ++cat >>confdefs.h <<_ACEOF ++#define RETSIGTYPE $ac_cv_type_signal ++_ACEOF ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5 ++$as_echo_n "checking for wait3 that fills in rusage... " >&6; } ++if ${ac_cv_func_wait3_rusage+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then : ++ ac_cv_func_wait3_rusage=no ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++#include ++#include ++/* HP-UX has wait3 but does not fill in rusage at all. */ ++int ++main () ++{ ++ struct rusage r; ++ int i; ++ /* Use a field that we can force nonzero -- ++ voluntary context switches. ++ For systems like NeXT and OSF/1 that don't set it, ++ also use the system CPU time. And page faults (I/O) for Linux. */ ++ r.ru_nvcsw = 0; ++ r.ru_stime.tv_sec = 0; ++ r.ru_stime.tv_usec = 0; ++ r.ru_majflt = r.ru_minflt = 0; ++ switch (fork ()) ++ { ++ case 0: /* Child. */ ++ sleep(1); /* Give up the CPU. */ ++ _exit(0); ++ break; ++ case -1: /* What can we do? */ ++ _exit(0); ++ break; ++ default: /* Parent. */ ++ wait3(&i, 0, &r); ++ /* Avoid "text file busy" from rm on fast HP-UX machines. */ ++ sleep(2); ++ return (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0 ++ && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0); ++ } ++} ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ac_cv_func_wait3_rusage=yes ++else ++ ac_cv_func_wait3_rusage=no ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5 ++$as_echo "$ac_cv_func_wait3_rusage" >&6; } ++if test $ac_cv_func_wait3_rusage = yes; then ++ ++$as_echo "#define HAVE_WAIT3 1" >>confdefs.h ++ ++fi ++ ++for ac_func in vprintf ++do : ++ ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" ++if test "x$ac_cv_func_vprintf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_VPRINTF 1 ++_ACEOF ++ ++ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" ++if test "x$ac_cv_func__doprnt" = xyes; then : ++ ++$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h ++ ++fi ++ ++fi ++done ++ ++ ++for ac_func in mktime nanosleep usleep unsetenv ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in select socket syslog sendmsg recvmsg setns ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in getuid getgid getpeerucred getpeereid ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in uname gethostname getdomainname getmachineid ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in __clone pipe2 fcntl ioctl ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in prctl setlinebuf waitpid atexit kill ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in chown fchmod getcwd scandir mkstemp ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in brk sbrk posix_memalign memalign valloc ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in signal sighold sigrelse tcgetattr ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in regex regcmp regexec regcomp ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in strtod strtol strtoll strtoull strndup strchrnul ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in getgrent getgrent_r getgrnam getgrnam_r getgrgid getgrgid_r ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in getpwent getpwent_r getpwnam getpwnam_r getpwuid getpwuid_r ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++for ac_func in sysinfo trace_back_stack backtrace ++do : ++ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ++if eval test \"x\$"$as_ac_var"\" = x"yes"; then : ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++done ++ ++ ++if test $target_os = solaris ++then ++ ac_fn_c_check_type "$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default" ++if test "x$ac_cv_type___int32_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define __int32_t int32_t ++_ACEOF ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default" ++if test "x$ac_cv_type___uint32_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define __uint32_t uint32_t ++_ACEOF ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default" ++if test "x$ac_cv_type___int64_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define __int64_t int64_t ++_ACEOF ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default" ++if test "x$ac_cv_type___uint64_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define __uint64_t uint64_t ++_ACEOF ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default" ++if test "x$ac_cv_type_uint_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define uint_t u_int32_t ++_ACEOF ++ ++fi ++ ++else ++ ac_fn_c_check_type "$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default" ++if test "x$ac_cv_type___int32_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define __int32_t int ++_ACEOF ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default" ++if test "x$ac_cv_type___uint32_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define __uint32_t unsigned int ++_ACEOF ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default" ++if test "x$ac_cv_type___int64_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define __int64_t long long ++_ACEOF ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default" ++if test "x$ac_cv_type___uint64_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define __uint64_t unsigned long long ++_ACEOF ++ ++fi ++ ++ ac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default" ++if test "x$ac_cv_type_uint_t" = xyes; then : ++ ++else ++ ++cat >>confdefs.h <<_ACEOF ++#define uint_t unsigned int ++_ACEOF ++ ++fi ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __psint_t " >&5 ++$as_echo_n "checking for __psint_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ #include ++ ++int ++main () ++{ ++ __psint_t psint; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE___PSINT_T 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t " >&5 ++$as_echo_n "checking for ptrdiff_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_MALLOC_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ ptrdiff_t ptrdiff; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_PTRDIFF_T 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t " >&5 ++$as_echo_n "checking for uid_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_PWD_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ uid_t uid; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_UID_T 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gid_t " >&5 ++$as_echo_n "checking for gid_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_GRP_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ gid_t gid; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_GID_T 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SID " >&5 ++$as_echo_n "checking for SID ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #ifdef HAVE_WINDOWS_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ SID sid; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_SID 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t " >&5 ++$as_echo_n "checking for socklen_t ... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_SYS_SOCKET_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ socklen_t len; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ long long x = 0LL; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_CONST_LONGLONG 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ ++int ++main () ++{ ++ char **x = _environ; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_UNDERBAR_ENVIRON 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_TERMCHILD constant in sys/prctl.h" >&5 ++$as_echo_n "checking for PR_TERMCHILD constant in sys/prctl.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #ifdef HAVE_SYS_PRCTL_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ int i = PR_TERMCHILD; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_PR_TERMCHILD 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_SET_PDEATHSIG constant in sys/prctl.h" >&5 ++$as_echo_n "checking for PR_SET_PDEATHSIG constant in sys/prctl.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #ifdef HAVE_SYS_PRCTL_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ int i = PR_SET_PDEATHSIG; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_PR_SET_PDEATHSIG 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5 ++$as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; } ++if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#ifdef TIOCGWINSZ ++ yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ ac_cv_sys_tiocgwinsz_in_termios_h=yes ++else ++ ac_cv_sys_tiocgwinsz_in_termios_h=no ++fi ++rm -f conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5 ++$as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; } ++ ++if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 ++$as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; } ++if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#include ++#ifdef TIOCGWINSZ ++ yes ++#endif ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "yes" >/dev/null 2>&1; then : ++ ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes ++else ++ ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no ++fi ++rm -f conftest* ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5 ++$as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; } ++ ++ if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then ++ ++$as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h ++ ++ fi ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -rdynamic" >&5 ++$as_echo_n "checking if linker supports -rdynamic... " >&6; } ++save_CFLAGS="$CFLAGS" ++CFLAGS="-rdynamic" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ rdynamic_flag=-rdynamic ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ rdynamic_flag= ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++CFLAGS="$save_CFLAGS" ++ ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether const arg for scandir() select method" >&5 ++$as_echo_n "checking whether const arg for scandir() select method... " >&6; } ++cat <conftest.c ++#include ++#include ++#include ++static int ++my_select(const struct dirent *foo) { return 0; } ++int main() { struct dirent **list; return scandir(".", &list, my_select, NULL); } ++End-of-File ++(eval $ac_compile) 2>conftest.out ++cat conftest.out >&5 ++if test -s conftest.out ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++else ++ ++$as_echo "#define HAVE_CONST_DIRENT 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++fi ++rm -f conftest.* ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dirent has a d_off field" >&5 ++$as_echo_n "checking whether struct dirent has a d_off field... " >&6; } ++cat <conftest.c ++#include ++#include ++#include ++int main() { struct dirent d; d.d_off = 0; } ++End-of-File ++(eval $ac_compile) 2>conftest.out ++cat conftest.out >&5 ++if test -s conftest.out ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++else ++ ++$as_echo "#define HAVE_DIRENT_D_OFF 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++fi ++rm -f conftest.* ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if printf %p produces 0x prefix" >&5 ++$as_echo_n "checking if printf %p produces 0x prefix... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$printf_p_prefix ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++int main(int argc, char **argv) { printf("%p", argv); return(0); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++case "$ans" ++in ++ 0x*) ++ ++$as_echo "#define HAVE_PRINTF_P_PFX 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ;; ++ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ;; ++esac ++rm -rf conftest conftest.* ++ ++_do_type() ++{ ++ # need to deal with this sort of cpp output ... ++ # typedef long pid_t; ++ # typedef unsigned int pid_t; ++ # typedef unsigned int pid_t __attribute__ ((__mode__ (__SI__))); ++ # __extension__ typedef int pid_t; ++ # typedef foo_t ++ # pid_t; ++ # typedef struct { ++ # .... ++ # } pid_t; ++ # typedef ... *pid; ++ # and chaining of the form ++ # typedef long __pid_t; ++ # typedef __pid_t pid_t; ++ # ++ if test $target_os = darwin ++ then ++ # Need to strip -arch foo args for gcc -E ++ _myflags=`echo "$CPPFLAGS" "$CFLAGS" | sed -e 's/-arch [^ ]*//g'` ++ else ++ _myflags="$CPPFLAGS $CFLAGS" ++ fi ++ _raw=`$CPP $_myflags conftest.c \ ++ | $SED \ ++ -e 's/[ ]__attribute__ ((.*));/;/' \ ++ -e 's/__extension__[ ][ ]*//' \ ++ | $AWK ' ++/bozo/ { print; next } ++$1 == "typedef" { printf "%s",$0 ++ if ($NF ~ /;$/) { ++ print "" ++ next ++ } ++ wantsemi = 1 ++ if ($0 ~ /{/) depth = 1 ++ next ++ } ++wantsemi == 1 { printf " %s",$0 ++ if ($0 ~ /{/) depth++ ++ if (depth) { ++ if ($0 ~ /}/) depth-- ++ if (depth > 0) next ++ } ++ if ($NF ~ /;$/) { ++ print "" ++ wantsemi = 0 ++ next ++ } ++ }' \ ++ | $SED \ ++ -e 's/\*/* /g' \ ++ -e 's/^[ ]*//' \ ++ -e 's/;[ ]*$//' \ ++ | $AWK ' ++$1 == "typedef" { map[$NF] = "" ++ for (i = 2; i < NF; i++) { ++ if (i == 2) ++ map[$NF] = $i ++ else ++ map[$NF] = map[$NF] " " $i ++ } ++ print $NF " -> " map[$NF] >"conftest.debug" ++ next ++ } ++$2 == "bozo" { t = $1 ++ printf "best guess: %s",t >"conftest.debug" ++ while (map[t] != "") { ++ t = map[t] ++ printf " -> %s",t >"conftest.debug" ++ } ++ print "" >"conftest.debug" ++ print t ++ exit ++ }'` ++ case "$_raw" ++ in ++ int) ++ _fmt='d' ++ ;; ++ unsigned|'unsigned int') ++ _fmt='u' ++ ;; ++ long|'long int') ++ _fmt='ld' ++ ;; ++ 'long long'|'long long int') ++ if test $target_os = mingw; then ++ _fmt='I64d' ++ else ++ _fmt='lld' ++ fi ++ ;; ++ 'unsigned long'|'unsigned long int'|'long unsigned int') ++ _fmt='lu' ++ ;; ++ 'unsigned long long'|'unsigned long long int') ++ if test $target_os = mingw; then ++ _fmt='I64u' ++ else ++ _fmt='llu' ++ fi ++ ;; ++ *\*) # pointer to a something ++ _fmt='p' ++ ;; ++ struct\ *) # not much can be done here ... ++ _fmt='p' ++ ;; ++ *) ++ echo ++ echo "FATAL ERROR: don't know what to do with type \"$_raw\"" ++ echo "... typedef mapping ..." ++ cat conftest.debug ++ rm -rf conftest conftest.* ++ exit 1 ++ ;; ++ esac ++} ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pid_t" >&5 ++$as_echo_n "checking printf type for pid_t... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$printf_fmt_pid ++ echo "cross-compile -> \"$ans\"" >&5 ++ fmt_pid=$ans ++else ++ cat <conftest.c ++#include ++#include ++#if defined pid_t /* for NetBSD 8.0 */ ++#undef pid_t ++#endif ++pid_t bozo; ++End-of-File ++ _do_type ++ fmt_pid=$_fmt ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pid" >&5 ++$as_echo "$fmt_pid" >&6; } ++ ++rm -rf conftest.c conftest.debug ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for int64_t " >&5 ++$as_echo_n "checking printf type for int64_t ... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$printf_fmt_int64 ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++#include ++#include ++int main() ++{ ++#if defined(__PRI64_PREFIX) ++ /* most of the civilized universe */ ++ printf("%s\n", __PRI64_PREFIX "d"); ++#elif defined(__PRI_64_LENGTH_MODIFIER__) ++ /* Darwin */ ++ printf("%s\n", __PRI_64_LENGTH_MODIFIER__ "d"); ++#else ++ bozo! /* fall through to the second approach below */ ++#endif ++ return(0); ++} ++End-of-File ++ ans='' ++ (eval $ac_link) 2>&5 ++ if test -x ./conftest ++ then ++ ans=`./conftest` ++ echo "./conftest (first approach) -> \"$ans\"" >&5 ++ fi ++ if test -z "$ans" ++ then ++ cat <conftest.c ++#include ++#include ++#include ++int main() ++{ ++#ifdef __WORDSIZE ++/* logic copied from */ ++#if __WORDSIZE == 64 ++ printf("ld\n"); ++#else ++ printf("lld\n"); ++#endif ++#else ++/* ++ * on NetBSD and OpenBSD, for example, there is no __WORDSIZE ++ * so fall through to the third approach below ... ++ */ ++#endif ++ return(0); ++} ++End-of-File ++ (eval $ac_link) 2>&5 ++ if test -x ./conftest ++ then ++ ans=`./conftest` ++ if test $target_os = mingw -a "$ans" = "lld"; then ++ ans='I64d' ++ fi ++ echo "./conftest (second approach) -> \"$ans\"" >&5 ++ fi ++ fi ++ if test -z "$ans" -a "$GCC" = "yes" ++ then ++ rm -f conftest.ans ++ for fmt in lld ld d ++ do ++ cat <conftest.$ac_ext ++#include ++#include ++int main(void) ++{ ++ int64_t x = -1; ++ printf("%$fmt\n", x); ++ return 0; ++} ++End-of-File ++ $CC -Wall $CFLAGS $CPPFLAGS -c conftest.$ac_ext 2>conftest.err ++ if test -s conftest.err >/dev/null ++ then ++ echo "-- not $fmt for fmt_64" >&5 ++ cat conftest.err >&5 ++ else ++ echo "$fmt" >conftest.ans ++ echo "no warnings (third approach) -> \"$fmt\"" >&5 ++ break ++ fi ++ done ++ test -s conftest.ans && ans=`cat conftest.ans` ++ rm -f conftest.ans conftest.err ++ fi ++fi ++if test -z "$ans" ++then ++ echo 'FATAL ERROR: Cannot determine printf format for int64_t type' ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++fmt_int64=$ans ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_int64" >&5 ++$as_echo "$fmt_int64" >&6; } ++ ++fmt_uint64=`echo $fmt_int64 | sed -e 's/d$/u/'` ++ ++rm -rf conftest.* conftest ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking strtol or strtoll for int64_t" >&5 ++$as_echo_n "checking strtol or strtoll for int64_t... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans="$strtoint64" ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++#include ++main() ++{ ++ long long int value = -1; ++ value = strtol("1234567812345678", NULL, 16); ++ if (value == 0x1234567812345678LL) { ++ printf("strotol\n"); ++ exit(0); ++ } ++ value = strtoll("1234567812345678", NULL, 16); ++ if (value == 0x1234567812345678LL) { ++ printf("strtoll\n"); ++ exit(0); ++ } ++ exit(1); ++} ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++case "$ans" ++in ++ strtol) ++ ++$as_echo "#define strtoint64 strtol" >>confdefs.h ++ ++ ++$as_echo "#define strtouint64 strtoul" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtol" >&5 ++$as_echo "strtol" >&6; } ++ ;; ++ strtoll) ++ ++$as_echo "#define strtoint64 strtoll" >>confdefs.h ++ ++ ++$as_echo "#define strtouint64 strtoull" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtoll" >&5 ++$as_echo "strtoll" >&6; } ++ ;; ++ *) ++ ++$as_echo "#define strtoint64 strtoll" >>confdefs.h ++ ++ ++$as_echo "#define strtouint64 strtoull" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming strtoll" >&5 ++$as_echo "assuming strtoll" >&6; } ++ ;; ++esac ++rm -rf conftest conftest.* ++ ++if test "$do_threads" = "check" -o "$do_threads" = "yes" ++then ++ for ac_header in pthread.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" ++if test "x$ac_cv_header_pthread_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_PTHREAD_H 1 ++_ACEOF ++ ++else ++ ++ if test "$do_threads" = "yes" ++ then ++ as_fn_error $? "cannot enable multi-threaded mode - no pthread.h" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_t in pthread.h" >&5 ++$as_echo_n "checking for pthread_mutex_t in pthread.h... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++pthread_mutex_t mymutex; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_PTHREAD_MUTEX_T 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ ++ if test "$do_threads" = "yes" ++ then ++ as_fn_error $? "cannot enable multi-threaded mode - no mutexes" "$LINENO" 5 ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ fi ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where pthread_create() is defined" >&5 ++$as_echo_n "checking where pthread_create() is defined... " >&6; } ++ for cand in "" pthreads pthread ; do ++ savedLIBS=$LIBS ++ if test -n "$cand" ++ then ++ LIBS=`echo $LIBS -l$cand` ++ fi ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ ++ pthread_create(NULL, NULL, NULL, NULL); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: lib${cand:-c}" >&5 ++$as_echo "lib${cand:-c}" >&6; } ++ if test -z "$cand" ++ then ++ lib_for_pthreads="$cand" ++ else ++ lib_for_pthreads="-l$cand" ++ fi ++ LIBS=$savedLIBS ++ break ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS=$savedLIBS ++ done ++ ++ ++ if test "$ac_cv_header_pthread_h" = "yes" ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pthread_t" >&5 ++$as_echo_n "checking printf type for pthread_t... " >&6; } ++ cat <conftest.c ++#include ++pthread_t bozo; ++End-of-File ++ _do_type ++ fmt_pthread=$_fmt ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pthread" >&5 ++$as_echo "$fmt_pthread" >&6; } ++ ++ rm -rf conftest.c conftest.debug ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports __thread" >&5 ++$as_echo_n "checking if compiler supports __thread... " >&6; } ++ if test $target_os = netbsd ++ then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++#if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 5 ) ++broken! ++#else ++__thread int x; ++#endif ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE___THREAD 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++__thread int x; ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE___THREAD 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_barrier_t in pthread.h" >&5 ++$as_echo_n "checking for pthread_barrier_t in pthread.h... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++pthread_barrier_t mybarrier; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_PTHREAD_BARRIER_T 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof suseconds_t" >&5 ++$as_echo_n "checking sizeof suseconds_t... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_suseconds_t ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(suseconds_t)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++ rm -rf conftest conftest.* ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++$as_echo "$ans" >&6; } ++if test -n "$ans"; then ++ ++cat >>confdefs.h <<_ACEOF ++#define PM_SIZEOF_SUSECONDS_T $ans ++_ACEOF ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof time_t" >&5 ++$as_echo_n "checking sizeof time_t... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_time_t ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(time_t)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++ rm -rf conftest conftest.* ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++$as_echo "$ans" >&6; } ++if test -n "$ans"; then ++ ++cat >>confdefs.h <<_ACEOF ++#define PM_SIZEOF_TIME_T $ans ++_ACEOF ++ ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof long" >&5 ++$as_echo_n "checking sizeof long... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_long ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(long)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++$as_echo "$ans" >&6; } ++if test "$ans" = 4; then ++ ++$as_echo "#define HAVE_32BIT_LONG 1" >>confdefs.h ++ ++elif test "$ans" = 8; then ++ ++$as_echo "#define HAVE_64BIT_LONG 1" >>confdefs.h ++ ++else ++ echo ++ echo "FATAL ERROR: size of long is not 32 or 64 bits, cannot proceed." ++ echo "sizeof(char *) -> $ans" ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++rm -rf conftest conftest.* ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof pointer" >&5 ++$as_echo_n "checking sizeof pointer... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_pointer ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(char *)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++$as_echo "$ans" >&6; } ++if test "$ans" = 4; then ++ ++$as_echo "#define HAVE_32BIT_PTR 1" >>confdefs.h ++ ++ PCP_PTR_SIZE=32 ++elif test "$ans" = 8; then ++ ++$as_echo "#define HAVE_64BIT_PTR 1" >>confdefs.h ++ ++ PCP_PTR_SIZE=64 ++else ++ echo ++ echo "FATAL ERROR: size of pointer is not 32 or 64 bits, cannot proceed." ++ echo "sizeof(char *) -> $ans" ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++rm -rf conftest conftest.* ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof int" >&5 ++$as_echo_n "checking sizeof int... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$sizeof_int ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++#include ++main() { printf("%d", (int)sizeof(int)); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 ++$as_echo "$ans" >&6; } ++if test "$ans" != 4 ++then ++ echo ++ echo "FATAL ERROR: sizeof(int) is not 32 bits, cannot proceed." ++ echo "Note: 32-bit ints are assumed in the PCP external file formats and" ++ echo " the over-the-wire PDU formats" ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++rm -rf conftest conftest.* ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if bit fields allocated left-to-right" >&5 ++$as_echo_n "checking if bit fields allocated left-to-right... " >&6; } ++if test "$cross_compiling" = "yes"; then ++ ans=$bit_field_scheme ++ echo "cross-compile -> \"$ans\"" >&5 ++else ++ cat <conftest.c ++union { struct { unsigned int b:4; unsigned int c:4; } a; int p; } u; ++main() { u.a.b = 1; u.a.c = 2; printf("%0*x", 2*sizeof(int), u.p); } ++End-of-File ++ (eval $ac_compile) 2>&5 ++ (eval $ac_link) 2>&5 ++ ans=`./conftest` ++ echo "./conftest -> \"$ans\"" >&5 ++fi ++case "$ans" ++in ++ 1200*|*0012) ++ # left-to-right starting from MSB (SGI cc on MIPS), or ++ # left-to-right ending at LSB ++ ++$as_echo "#define HAVE_BITFIELDS_LTOR 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ;; ++ 2100*|*0021) ++ # right-to-left ending at MSB, or ++ # right-to-left starting from LSB (gcc in Intel) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ;; ++ *) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5 ++$as_echo "unknown" >&6; } ++ echo "FATAL ERROR: could not fathom your compiler's bit field allocation scheme" ++ rm -f conftest conftest.* ++ exit 1 ++ ;; ++esac ++rm -rf conftest conftest.* ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ ++int ++main () ++{ ++ ++ __uint64_t x = 0; ++ double y = (double)x; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_CAST_U64_DOUBLE 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++for ac_func in basename ++do : ++ ac_fn_c_check_func "$LINENO" "basename" "ac_cv_func_basename" ++if test "x$ac_cv_func_basename" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_BASENAME 1 ++_ACEOF ++ ++fi ++done ++ ++if test $ac_cv_func_basename = yes ++then ++ ++$as_echo "#define HAVE_BASENAME 1" >>confdefs.h ++ ++ ++$as_echo "#define HAVE_DIRNAME 1" >>confdefs.h ++ ++ lib_for_basename="" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basename in -lgen" >&5 ++$as_echo_n "checking for basename in -lgen... " >&6; } ++if ${ac_cv_lib_gen_basename+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lgen $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char basename (); ++int ++main () ++{ ++return basename (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_gen_basename=yes ++else ++ ac_cv_lib_gen_basename=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_basename" >&5 ++$as_echo "$ac_cv_lib_gen_basename" >&6; } ++if test "x$ac_cv_lib_gen_basename" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBGEN 1 ++_ACEOF ++ ++ LIBS="-lgen $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_gen_basename = yes ++ then ++ ++$as_echo "#define HAVE_BASENAME 1" >>confdefs.h ++ ++ ++$as_echo "#define HAVE_DIRNAME 1" >>confdefs.h ++ ++ lib_for_basename="-lgen" ++ else ++ lib_for_basename="-lpcp" ++ fi ++fi ++ ++ ++lib_for_clock_gettime= ++for ac_func in clock_gettime ++do : ++ ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" ++if test "x$ac_cv_func_clock_gettime" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_CLOCK_GETTIME 1 ++_ACEOF ++ ++fi ++done ++ ++if test $ac_cv_func_clock_gettime = no ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 ++$as_echo_n "checking for clock_gettime in -lrt... " >&6; } ++if ${ac_cv_lib_rt_clock_gettime+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lrt $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char clock_gettime (); ++int ++main () ++{ ++return clock_gettime (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_rt_clock_gettime=yes ++else ++ ac_cv_lib_rt_clock_gettime=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 ++$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } ++if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBRT 1 ++_ACEOF ++ ++ LIBS="-lrt $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_rt_clock_gettime = yes ++ then ++ ++$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h ++ ++ lib_for_rt=-lrt ++ fi ++fi ++ ++ ++lib_for_dlopen= ++for ac_func in dlopen ++do : ++ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" ++if test "x$ac_cv_func_dlopen" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_DLOPEN 1 ++_ACEOF ++ ++fi ++done ++ ++if test $ac_cv_func_dlopen = no ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if ${ac_cv_lib_dl_dlopen+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dl_dlopen=yes ++else ++ ac_cv_lib_dl_dlopen=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBDL 1 ++_ACEOF ++ ++ LIBS="-ldl $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_dl_dlopen = yes ++ then ++ ++$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h ++ ++ lib_for_dlopen=-ldl ++ fi ++fi ++ ++ ++lib_for_math= ++for ac_func in flog10 ++do : ++ ac_fn_c_check_func "$LINENO" "flog10" "ac_cv_func_flog10" ++if test "x$ac_cv_func_flog10" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_FLOG10 1 ++_ACEOF ++ ++fi ++done ++ ++if test $ac_cv_func_flog10 = no ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flog10 in -lm" >&5 ++$as_echo_n "checking for flog10 in -lm... " >&6; } ++if ${ac_cv_lib_m_flog10+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char flog10 (); ++int ++main () ++{ ++return flog10 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_m_flog10=yes ++else ++ ac_cv_lib_m_flog10=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_flog10" >&5 ++$as_echo "$ac_cv_lib_m_flog10" >&6; } ++if test "x$ac_cv_lib_m_flog10" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBM 1 ++_ACEOF ++ ++ LIBS="-lm $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_m_flog10 = yes ++ then ++ ++$as_echo "#define HAVE_FLOG10 1" >>confdefs.h ++ ++ lib_for_math=-lm ++ fi ++else ++ ++$as_echo "#define HAVE_FLOG10 1" >>confdefs.h ++ ++fi ++for ac_func in pow ++do : ++ ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" ++if test "x$ac_cv_func_pow" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_POW 1 ++_ACEOF ++ ++fi ++done ++ ++if test $ac_cv_func_pow = no ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 ++$as_echo_n "checking for pow in -lm... " >&6; } ++if ${ac_cv_lib_m_pow+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char pow (); ++int ++main () ++{ ++return pow (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_m_pow=yes ++else ++ ac_cv_lib_m_pow=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 ++$as_echo "$ac_cv_lib_m_pow" >&6; } ++if test "x$ac_cv_lib_m_pow" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBM 1 ++_ACEOF ++ ++ LIBS="-lm $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_m_pow = yes ++ then ++ ++$as_echo "#define HAVE_POW 1" >>confdefs.h ++ ++ lib_for_math=-lm ++ fi ++else ++ ++$as_echo "#define HAVE_POW 1" >>confdefs.h ++ ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify()" >&5 ++$as_echo_n "checking for fpclassify()... " >&6; } ++ac_cv_func_fpclassify=no ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ ++ double x = 123.456; ++ if (fpclassify(x) == FP_NAN) exit(1); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_func_fpclassify=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5 ++$as_echo "$ac_cv_func_fpclassify" >&6; } ++if test $ac_cv_func_fpclassify = no ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify() with -lm" >&5 ++$as_echo_n "checking for fpclassify() with -lm... " >&6; } ++ savedLIBS=$LIBS ++ LIBS=-lm ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ ++ double x = 123.456; ++ if (fpclassify(x) == FP_NAN) exit(1); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_func_fpclassify=yes ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5 ++$as_echo "$ac_cv_func_fpclassify" >&6; } ++ if test $ac_cv_func_fpclassify = yes ++ then ++ lib_for_math=-lm ++ fi ++ LIBS=$savedLIBS ++fi ++if test $ac_cv_func_fpclassify = yes ++then ++ ++$as_echo "#define HAVE_FPCLASSIFY 1" >>confdefs.h ++ ++else ++ for ac_func in isnan ++do : ++ ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" ++if test "x$ac_cv_func_isnan" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_ISNAN 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_isnan = no ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 ++$as_echo_n "checking for isnan in -lm... " >&6; } ++if ${ac_cv_lib_m_isnan+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char isnan (); ++int ++main () ++{ ++return isnan (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_m_isnan=yes ++else ++ ac_cv_lib_m_isnan=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 ++$as_echo "$ac_cv_lib_m_isnan" >&6; } ++if test "x$ac_cv_lib_m_isnan" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBM 1 ++_ACEOF ++ ++ LIBS="-lm $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_m_isnan = yes ++ then ++ ++$as_echo "#define HAVE_ISNAN 1" >>confdefs.h ++ ++ lib_for_math=-lm ++ fi ++ fi ++ for ac_func in isnanf ++do : ++ ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" ++if test "x$ac_cv_func_isnanf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_ISNANF 1 ++_ACEOF ++ ++fi ++done ++ ++ if test $ac_cv_func_isnanf = no ++ then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf in -lm" >&5 ++$as_echo_n "checking for isnanf in -lm... " >&6; } ++if ${ac_cv_lib_m_isnanf+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lm $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char isnanf (); ++int ++main () ++{ ++return isnanf (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_m_isnanf=yes ++else ++ ac_cv_lib_m_isnanf=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnanf" >&5 ++$as_echo "$ac_cv_lib_m_isnanf" >&6; } ++if test "x$ac_cv_lib_m_isnanf" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBM 1 ++_ACEOF ++ ++ LIBS="-lm $LIBS" ++ ++fi ++ ++ if test $ac_cv_lib_m_isnanf = yes ++ then ++ ++$as_echo "#define HAVE_ISNANF 1" >>confdefs.h ++ ++ lib_for_math=-lm ++ fi ++ fi ++fi ++ ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++SIG_PF x; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_SIGPF 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int x = SA_SIGINFO; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_SA_SIGINFO 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int x = SIGPIPE; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_SIGPIPE 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int x = SIGHUP; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_SIGHUP 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++int x = SIGBUS; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_SIGBUS 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ typedef void (*SIGRET)(int); ++ SIGRET x = SIG_IGN; ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++$as_echo "#define HAVE_WAIT_INCLUDES_SIGNAL 1" >>confdefs.h ++ ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ++have_stat_type=false ++have_stat_name=false ++if test $have_stat_name = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "[ ]st_mtimespec" >/dev/null 2>&1; then : ++ have_stat_name=true; ++ ++$as_echo "#define HAVE_ST_MTIME_WITH_SPEC 1" >>confdefs.h ++ ++fi ++rm -f conftest* ++ ++fi ++if test $have_stat_name = false -a $target_os != darwin -a $target_os != linux -a $target_os != kfreebsd -a $target_os != netbsd ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "[ ]st_mtime" >/dev/null 2>&1; then : ++ have_stat_name=true; ++ ++$as_echo "#define HAVE_ST_MTIME_WITH_E 1" >>confdefs.h ++ ++fi ++rm -f conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "timestruc_t[ ][ ]*st_mtim" >/dev/null 2>&1; then : ++ have_stat_type=true; ++ ++$as_echo "#define HAVE_STAT_TIMESTRUC 1" >>confdefs.h ++ ++fi ++rm -f conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "timespec_t[ ][ ]*st_mtim" >/dev/null 2>&1; then : ++ have_stat_type=true; ++ ++$as_echo "#define HAVE_STAT_TIMESPEC_T 1" >>confdefs.h ++ ++fi ++rm -f conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "timespec[ ][ ]*st_mtim" >/dev/null 2>&1; then : ++ have_stat_type=true; ++ ++$as_echo "#define HAVE_STAT_TIMESPEC 1" >>confdefs.h ++ ++fi ++rm -f conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++ ++_ACEOF ++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ++ $EGREP "time_t[ ][ ]*st_mtim" >/dev/null 2>&1; then : ++ have_stat_type=true; ++ ++$as_echo "#define HAVE_STAT_TIME_T 1" >>confdefs.h ++ ++fi ++rm -f conftest* ++ ++fi ++if test $have_stat_type = false ++then ++ echo 'FATAL ERROR: Cannot determine struct stat time types.' ++ rm -rf conftest conftest.* ++ exit 1 ++fi ++ ++ ++pcp_etc_dir=`eval echo $sysconfdir` ++pcp_etc_dir=`eval echo $pcp_etc_dir` ++ ++pcp_saslconf_dir=`eval echo $sysconfdir/sasl2` ++pcp_saslconf_dir=`eval echo $pcp_saslconf_dir` ++ ++pcp_sysconf_dir=`eval echo $sysconfdir/pcp` ++pcp_sysconf_dir=`eval echo $pcp_sysconf_dir` ++ ++pcp_pmcdconf_path=$pcp_sysconf_dir/pmcd/pmcd.conf ++pcp_pmcdrclocal_path=$pcp_sysconf_dir/pmcd/rc.local ++pcp_pmcdoptions_path=$pcp_sysconf_dir/pmcd/pmcd.options ++pcp_pmproxyoptions_path=$pcp_sysconf_dir/pmproxy/pmproxy.options ++pcp_pmiecontrol_path=$pcp_sysconf_dir/pmie/control ++pcp_pmsnapcontrol_path=$pcp_sysconf_dir/pmsnap/control ++pcp_pmloggercontrol_path=$pcp_sysconf_dir/pmlogger/control ++ ++ ++ ++ ++ ++ ++ ++ ++pcp_share_dir=`eval echo $datarootdir/pcp` ++pcp_share_dir=`eval echo $pcp_share_dir` ++ ++ ++pcp_bashshare_dir=`eval echo $datarootdir/bash-completion` ++pcp_bashshare_dir=`eval echo $pcp_bashshare_dir` ++ ++ ++pcp_binadm_dir=`eval echo $libexecdir/pcp/bin` ++pcp_binadm_dir=`eval echo $pcp_binadm_dir` ++ ++ ++pcp_libadm_dir=`eval echo $libexecdir/pcp/lib` ++pcp_libadm_dir=`eval echo $pcp_libadm_dir` ++ ++ ++pcp_var_dir=`eval echo $localstatedir/lib/pcp` ++pcp_var_dir=`eval echo $pcp_var_dir` ++ ++ ++pcp_pmns_dir=$pcp_var_dir/pmns ++ ++pcp_pmnsadm_dir=`eval echo $libexecdir/pcp/pmns` ++pcp_pmnsadm_dir=`eval echo $pcp_pmnsadm_dir` ++ ++ ++pcp_pmdas_dir=$pcp_var_dir/pmdas ++ ++pcp_pmdasadm_dir=`eval echo $libexecdir/pcp/pmdas` ++pcp_pmdasadm_dir=`eval echo $pcp_pmdasadm_dir` ++ ++ ++pcp_selinux_dir=$pcp_var_dir/selinux ++ ++pcp_selinuxadm_dir=`eval echo $libexecdir/pcp/selinux` ++pcp_selinuxadm_dir=`eval echo $pcp_selinuxadm_dir` ++ ++ ++pcp_lib_dir=`eval echo $libdir` ++pcp_lib_dir=`eval echo $pcp_lib_dir` ++pcp_lib32_dir=`echo $pcp_lib_dir | sed -e s,64,, -e s,//,/,` ++ ++ ++ ++ ++# Check whether --with-perl_installdirs was given. ++if test "${with_perl_installdirs+set}" = set; then : ++ withval=$with_perl_installdirs; perl_installdirs=$withval ++else ++ perl_installdirs=vendor ++fi ++ ++perl_installdirs=`eval echo $perl_installdirs` ++perl_installdirs=`eval echo $perl_installdirs` ++ ++ ++# Check whether --with-perl_install_base was given. ++if test "${with_perl_install_base+set}" = set; then : ++ withval=$with_perl_install_base; perl_install_base=$withval ++else ++ perl_install_base=$prefix ++fi ++ ++perl_install_base=`eval echo $perl_install_base` ++perl_install_base=`eval echo $perl_install_base` ++ ++ ++ ++# Check whether --with-python_prefix was given. ++if test "${with_python_prefix+set}" = set; then : ++ withval=$with_python_prefix; python_prefix=$withval ++else ++ python_prefix=$prefix ++fi ++ ++python_prefix=`eval echo $python_prefix` ++python_prefix=`eval echo $python_prefix` ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 ++$as_echo_n "checking for X... " >&6; } ++ ++ ++# Check whether --with-x was given. ++if test "${with_x+set}" = set; then : ++ withval=$with_x; ++fi ++ ++# $have_x is `yes', `no', `disabled', or empty when we do not yet know. ++if test "x$with_x" = xno; then ++ # The user explicitly disabled X. ++ have_x=disabled ++else ++ case $x_includes,$x_libraries in #( ++ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( ++ *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ # One or both of the vars are not set, and there is no cached value. ++ac_x_includes=no ac_x_libraries=no ++rm -f -r conftest.dir ++if mkdir conftest.dir; then ++ cd conftest.dir ++ cat >Imakefile <<'_ACEOF' ++incroot: ++ @echo incroot='${INCROOT}' ++usrlibdir: ++ @echo usrlibdir='${USRLIBDIR}' ++libdir: ++ @echo libdir='${LIBDIR}' ++_ACEOF ++ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then ++ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. ++ for ac_var in incroot usrlibdir libdir; do ++ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" ++ done ++ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. ++ for ac_extension in a so sl dylib la dll; do ++ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && ++ test -f "$ac_im_libdir/libX11.$ac_extension"; then ++ ac_im_usrlibdir=$ac_im_libdir; break ++ fi ++ done ++ # Screen out bogus values from the imake configuration. They are ++ # bogus both because they are the default anyway, and because ++ # using them would break gcc on systems where it needs fixed includes. ++ case $ac_im_incroot in ++ /usr/include) ac_x_includes= ;; ++ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; ++ esac ++ case $ac_im_usrlibdir in ++ /usr/lib | /usr/lib64 | /lib | /lib64) ;; ++ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; ++ esac ++ fi ++ cd .. ++ rm -f -r conftest.dir ++fi ++ ++# Standard set of common directories for X headers. ++# Check X11 before X11Rn because it is often a symlink to the current release. ++ac_x_header_dirs=' ++/usr/X11/include ++/usr/X11R7/include ++/usr/X11R6/include ++/usr/X11R5/include ++/usr/X11R4/include ++ ++/usr/include/X11 ++/usr/include/X11R7 ++/usr/include/X11R6 ++/usr/include/X11R5 ++/usr/include/X11R4 ++ ++/usr/local/X11/include ++/usr/local/X11R7/include ++/usr/local/X11R6/include ++/usr/local/X11R5/include ++/usr/local/X11R4/include ++ ++/usr/local/include/X11 ++/usr/local/include/X11R7 ++/usr/local/include/X11R6 ++/usr/local/include/X11R5 ++/usr/local/include/X11R4 ++ ++/usr/X386/include ++/usr/x386/include ++/usr/XFree86/include/X11 ++ ++/usr/include ++/usr/local/include ++/usr/unsupported/include ++/usr/athena/include ++/usr/local/x11r5/include ++/usr/lpp/Xamples/include ++ ++/usr/openwin/include ++/usr/openwin/share/include' ++ ++if test "$ac_x_includes" = no; then ++ # Guess where to find include files, by looking for Xlib.h. ++ # First, try using that file with no special directory specified. ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++_ACEOF ++if ac_fn_c_try_cpp "$LINENO"; then : ++ # We can compile using X headers with no special include directory. ++ac_x_includes= ++else ++ for ac_dir in $ac_x_header_dirs; do ++ if test -r "$ac_dir/X11/Xlib.h"; then ++ ac_x_includes=$ac_dir ++ break ++ fi ++done ++fi ++rm -f conftest.err conftest.i conftest.$ac_ext ++fi # $ac_x_includes = no ++ ++if test "$ac_x_libraries" = no; then ++ # Check for the libraries. ++ # See if we find them without any special options. ++ # Don't add to $LIBS permanently. ++ ac_save_LIBS=$LIBS ++ LIBS="-lX11 $LIBS" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++XrmInitialize () ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ LIBS=$ac_save_LIBS ++# We can link X programs with no special library path. ++ac_x_libraries= ++else ++ LIBS=$ac_save_LIBS ++for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` ++do ++ # Don't even attempt the hair of trying to link an X program! ++ for ac_extension in a so sl dylib la dll; do ++ if test -r "$ac_dir/libX11.$ac_extension"; then ++ ac_x_libraries=$ac_dir ++ break 2 ++ fi ++ done ++done ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi # $ac_x_libraries = no ++ ++case $ac_x_includes,$ac_x_libraries in #( ++ no,* | *,no | *\'*) ++ # Didn't find X, or a directory has "'" in its name. ++ ac_cv_have_x="have_x=no";; #( ++ *) ++ # Record where we found X for the cache. ++ ac_cv_have_x="have_x=yes\ ++ ac_x_includes='$ac_x_includes'\ ++ ac_x_libraries='$ac_x_libraries'" ++esac ++fi ++;; #( ++ *) have_x=yes;; ++ esac ++ eval "$ac_cv_have_x" ++fi # $with_x != no ++ ++if test "$have_x" != yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 ++$as_echo "$have_x" >&6; } ++ no_x=yes ++else ++ # If each of the values was on the command line, it overrides each guess. ++ test "x$x_includes" = xNONE && x_includes=$ac_x_includes ++ test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries ++ # Update the cache value to reflect the command line values. ++ ac_cv_have_x="have_x=yes\ ++ ac_x_includes='$x_includes'\ ++ ac_x_libraries='$x_libraries'" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 ++$as_echo "libraries $x_libraries, headers $x_includes" >&6; } ++fi ++ ++if test "$no_x" = yes; then ++ # Not all programs may use this symbol, but it does not hurt to define it. ++ ++$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h ++ ++ X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= ++else ++ if test -n "$x_includes"; then ++ X_CFLAGS="$X_CFLAGS -I$x_includes" ++ fi ++ ++ # It would also be nice to do this for all -L options, not just this one. ++ if test -n "$x_libraries"; then ++ X_LIBS="$X_LIBS -L$x_libraries" ++ # For Solaris; some versions of Sun CC require a space after -R and ++ # others require no space. Words are not sufficient . . . . ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 ++$as_echo_n "checking whether -R must be followed by a space... " >&6; } ++ ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" ++ ac_xsave_c_werror_flag=$ac_c_werror_flag ++ ac_c_werror_flag=yes ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ X_LIBS="$X_LIBS -R$x_libraries" ++else ++ LIBS="$ac_xsave_LIBS -R $x_libraries" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ X_LIBS="$X_LIBS -R $x_libraries" ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 ++$as_echo "neither works" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ac_c_werror_flag=$ac_xsave_c_werror_flag ++ LIBS=$ac_xsave_LIBS ++ fi ++ ++ # Check for system-dependent libraries X programs must link with. ++ # Do this before checking for the system-independent R6 libraries ++ # (-lICE), since we may need -lsocket or whatever for X linking. ++ ++ if test "$ISC" = yes; then ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" ++ else ++ # Martyn Johnson says this is needed for Ultrix, if the X ++ # libraries were built with DECnet support. And Karl Berry says ++ # the Alpha needs dnet_stub (dnet does not exist). ++ ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char XOpenDisplay (); ++int ++main () ++{ ++return XOpenDisplay (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 ++$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } ++if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldnet $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dnet_ntoa (); ++int ++main () ++{ ++return dnet_ntoa (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dnet_dnet_ntoa=yes ++else ++ ac_cv_lib_dnet_dnet_ntoa=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 ++$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } ++if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" ++fi ++ ++ if test $ac_cv_lib_dnet_dnet_ntoa = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 ++$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } ++if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldnet_stub $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char dnet_ntoa (); ++int ++main () ++{ ++return dnet_ntoa (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_dnet_stub_dnet_ntoa=yes ++else ++ ac_cv_lib_dnet_stub_dnet_ntoa=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 ++$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } ++if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" ++fi ++ ++ fi ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ LIBS="$ac_xsave_LIBS" ++ ++ # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, ++ # to get the SysV transport functions. ++ # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) ++ # needs -lnsl. ++ # The nsl library prevents programs from opening the X display ++ # on Irix 5.2, according to T.E. Dickey. ++ # The functions gethostbyname, getservbyname, and inet_addr are ++ # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. ++ ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" ++if test "x$ac_cv_func_gethostbyname" = xyes; then : ++ ++fi ++ ++ if test $ac_cv_func_gethostbyname = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 ++$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } ++if ${ac_cv_lib_nsl_gethostbyname+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnsl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gethostbyname (); ++int ++main () ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_nsl_gethostbyname=yes ++else ++ ac_cv_lib_nsl_gethostbyname=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 ++$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } ++if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" ++fi ++ ++ if test $ac_cv_lib_nsl_gethostbyname = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 ++$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } ++if ${ac_cv_lib_bsd_gethostbyname+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lbsd $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char gethostbyname (); ++int ++main () ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_bsd_gethostbyname=yes ++else ++ ac_cv_lib_bsd_gethostbyname=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 ++$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } ++if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" ++fi ++ ++ fi ++ fi ++ ++ # lieder@skyler.mavd.honeywell.com says without -lsocket, ++ # socket/setsockopt and other routines are undefined under SCO ODT ++ # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary ++ # on later versions), says Simon Leinen: it contains gethostby* ++ # variants that don't use the name server (or something). -lsocket ++ # must be given before -lnsl if both are needed. We assume that ++ # if connect needs -lnsl, so does gethostbyname. ++ ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" ++if test "x$ac_cv_func_connect" = xyes; then : ++ ++fi ++ ++ if test $ac_cv_func_connect = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 ++$as_echo_n "checking for connect in -lsocket... " >&6; } ++if ${ac_cv_lib_socket_connect+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsocket $X_EXTRA_LIBS $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char connect (); ++int ++main () ++{ ++return connect (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_socket_connect=yes ++else ++ ac_cv_lib_socket_connect=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 ++$as_echo "$ac_cv_lib_socket_connect" >&6; } ++if test "x$ac_cv_lib_socket_connect" = xyes; then : ++ X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" ++fi ++ ++ fi ++ ++ # Guillermo Gomez says -lposix is necessary on A/UX. ++ ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" ++if test "x$ac_cv_func_remove" = xyes; then : ++ ++fi ++ ++ if test $ac_cv_func_remove = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 ++$as_echo_n "checking for remove in -lposix... " >&6; } ++if ${ac_cv_lib_posix_remove+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lposix $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char remove (); ++int ++main () ++{ ++return remove (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_posix_remove=yes ++else ++ ac_cv_lib_posix_remove=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 ++$as_echo "$ac_cv_lib_posix_remove" >&6; } ++if test "x$ac_cv_lib_posix_remove" = xyes; then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" ++fi ++ ++ fi ++ ++ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. ++ ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" ++if test "x$ac_cv_func_shmat" = xyes; then : ++ ++fi ++ ++ if test $ac_cv_func_shmat = no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 ++$as_echo_n "checking for shmat in -lipc... " >&6; } ++if ${ac_cv_lib_ipc_shmat+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lipc $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char shmat (); ++int ++main () ++{ ++return shmat (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ipc_shmat=yes ++else ++ ac_cv_lib_ipc_shmat=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 ++$as_echo "$ac_cv_lib_ipc_shmat" >&6; } ++if test "x$ac_cv_lib_ipc_shmat" = xyes; then : ++ X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" ++fi ++ ++ fi ++ fi ++ ++ # Check for libraries that X11R6 Xt/Xaw programs need. ++ ac_save_LDFLAGS=$LDFLAGS ++ test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" ++ # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to ++ # check for ICE first), but we must link in the order -lSM -lICE or ++ # we get undefined symbols. So assume we have SM if we have ICE. ++ # These have to be linked with before -lX11, unlike the other ++ # libraries we check for below, so use a different variable. ++ # John Interrante, Karl Berry ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 ++$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } ++if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lICE $X_EXTRA_LIBS $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char IceConnectionNumber (); ++int ++main () ++{ ++return IceConnectionNumber (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ICE_IceConnectionNumber=yes ++else ++ ac_cv_lib_ICE_IceConnectionNumber=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 ++$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } ++if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : ++ X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" ++fi ++ ++ LDFLAGS=$ac_save_LDFLAGS ++ ++fi ++ ++pcp_x11_incflags=$X_CFLAGS ++ ++pcp_x11_libflags=$X_LIBS ++ ++pcp_x11_extra=$X_EXTRA_LIBS ++ ++pcp_x11_pre=$X_PRE_LIBS ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if man pages should packaged" >&5 ++$as_echo_n "checking if man pages should packaged... " >&6; } ++have_manpages=false ++have_gzipped_manpages=false ++have_bzip2ed_manpages=false ++have_lzmaed_manpages=false ++have_xzed_manpages=false ++need_old_tbl_header=false ++man_header= ++pcp_man_dir=`eval echo $mandir` ++pcp_man_dir=`eval echo $pcp_man_dir` ++ ++for d in /usr/man /usr/share/man $pcp_man_dir ++do ++ for sd in man1 sman1 ++ do ++ ls $d/$sd 2>/dev/null >conftest ++ test -s conftest || continue ++ try=`grep '\.1\.gz$' conftest | head -1` ++ if test -n "$try" ++ then ++ have_gzipped_manpages=true ++ have_manpages=true ++ man_header=`$ZIP -d < "$d/$sd/$try" | head -1` ++ break ++ fi ++ try=`grep '\.1\.bz2$' conftest | head -1` ++ if test -n "$try" ++ then ++ have_bzip2ed_manpages=true ++ have_manpages=true ++ man_header=`$BZIP2 -d < "$d/$sd/$try" | head -1` ++ break ++ fi ++ try=`grep '\.1\.lzma$' conftest | head -1` ++ if test -n "$try" ++ then ++ have_lzmaed_manpages=true ++ have_manpages=true ++ man_header=`$LZMA -d < "$d/$sd/$try" | head -1` ++ break ++ fi ++ try=`grep '\.1\.xz$' conftest | head -1` ++ if test -n "$try" ++ then ++ have_xzed_manpages=true ++ have_manpages=true ++ man_header=`$XZ -d < "$d/$sd/$try" | head -1` ++ break ++ fi ++ try=`grep '\.1$' conftest | head -1` ++ if test -n "$try" ++ then ++ man_header=`head -1 $d/$sd/$try` ++ have_manpages=true ++ break ++ fi ++ done ++ $have_manpages && break ++done ++rm -f conftest ++if test x"$man_header" = "x'\\\" t" -o x"$man_header" = "x'\\\" te" ; then ++ need_old_tbl_header=true ++fi ++ ++if $have_manpages ++then ++ : ++else ++ if test $target_distro = debian ++ then ++ have_manpages=true ++ have_gzipped_manpages=true ++ need_old_tbl_header=true ++ fi ++fi ++ ++if $have_manpages; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; }; fi ++ ++ ++ ++ ++ ++ ++ ++ ++ ++pcp_bin_dir=`eval echo $bindir` ++pcp_bin_dir=`eval echo $pcp_bin_dir` ++ ++ ++pcp_sbin_dir=`eval echo $sbindir` ++pcp_sbin_dir=`eval echo $pcp_sbin_dir` ++ ++ ++pcp_inc_dir=`eval echo $includedir/pcp` ++pcp_inc_dir=`eval echo $pcp_inc_dir` ++ ++ ++if test $target_os = linux; then ++ pcp_html_dir=`eval echo $datarootdir/doc/pcp-doc/html` ++else ++ pcp_html_dir=`eval echo $datarootdir/doc/pcp/html` ++fi ++pcp_html_dir=`eval echo $pcp_html_dir` ++ ++ ++if test $target_os = linux; then ++ pcp_icons_dir=`eval echo $datarootdir/pcp-gui/pixmaps` ++else ++ pcp_icons_dir=`eval echo $datarootdir/pcp/pixmaps` ++fi ++pcp_icons_dir=`eval echo $pcp_icons_dir` ++ ++ ++test -z "$INKSCAPE" && # Extract the first word of "inkscape", so it can be a program name with args. ++set dummy inkscape; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_INKSCAPE+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $INKSCAPE in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_INKSCAPE="$INKSCAPE" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_INKSCAPE="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++fi ++INKSCAPE=$ac_cv_path_INKSCAPE ++if test -n "$INKSCAPE"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INKSCAPE" >&5 ++$as_echo "$INKSCAPE" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++inkscape=$INKSCAPE ++ ++ ++have_hicolor_icons=false ++if test -d /usr/share/icons/hicolor -a -n "$INKSCAPE" ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: adding hicolor desktop icons to the build" >&5 ++$as_echo "$as_me: adding hicolor desktop icons to the build" >&6;} ++ have_hicolor_icons=true ++fi ++ ++ ++pcp_desktop_dir=`eval echo $datarootdir/applications` ++pcp_desktop_dir=`eval echo $pcp_desktop_dir` ++ ++ ++ ++# Check whether --with-rcdir was given. ++if test "${with_rcdir+set}" = set; then : ++ withval=$with_rcdir; pcp_rc_dir=$withval ++else ++ ++if $enable_systemd ++then ++ pcp_rc_dir="$pcp_libadm_dir" ++elif test $target_os = freebsd ++then ++ pcp_rc_dir="/usr/local/etc/rc.d" ++elif test $target_os = netbsd -o $target_os = openbsd ++then ++ pcp_rc_dir="/etc/rc.d" ++else ++ pcp_rc_dir="$pcp_etc_dir/init.d" ++fi ++fi ++ ++ ++ ++ ++# Check whether --with-sysconfigdir was given. ++if test "${with_sysconfigdir+set}" = set; then : ++ withval=$with_sysconfigdir; pcp_sysconfig_dir=$withval ++else ++ pcp_sysconfig_dir=$pcp_etc_dir/sysconfig ++fi ++ ++ ++ ++ ++# Check whether --with-logdir was given. ++if test "${with_logdir+set}" = set; then : ++ withval=$with_logdir; pcp_log_dir=$withval ++else ++ pcp_log_dir=$localstatedir/log/pcp ++fi ++ ++pcp_log_dir=`eval echo $pcp_log_dir` ++pcp_log_dir=`eval echo $pcp_log_dir` ++ ++ ++pcp_archive_dir=$pcp_log_dir/pmlogger ++ ++ ++pcp_sa_dir=$pcp_log_dir/sa ++ ++ ++pcp_pacct_system_path="$localstatedir/account/pacct" ++ ++ ++ ++# Check whether --with-rundir was given. ++if test "${with_rundir+set}" = set; then : ++ withval=$with_rundir; pcp_run_dir=$withval ++else ++ ++if test -d /run ++then ++ pcp_run_dir="/run/pcp" ++else ++ pcp_run_dir="$localstatedir/run/pcp" ++fi ++fi ++ ++pcp_run_dir=`eval echo $pcp_run_dir` ++pcp_run_dir=`eval echo $pcp_run_dir` ++ ++ ++ ++# Check whether --with-tmpdir was given. ++if test "${with_tmpdir+set}" = set; then : ++ withval=$with_tmpdir; pcp_tmpfile_dir=$withval ++else ++ pcp_tmpfile_dir=$localstatedir/tmp ++fi ++ ++pcp_tmpfile_dir=`eval echo $pcp_tmpfile_dir` ++pcp_tmpfile_dir=`eval echo $pcp_tmpfile_dir` ++ ++ ++pcp_tmp_dir=`eval echo $pcp_var_dir/tmp` ++ ++ ++ ++# Check whether --with-docdir was given. ++if test "${with_docdir+set}" = set; then : ++ withval=$with_docdir; pcp_doc_dir=$withval ++else ++ PACKAGE=pcp-${PACKAGE_VERSION}; pcp_doc_dir=$docdir ++fi ++ ++pcp_doc_dir=`eval echo $pcp_doc_dir` ++pcp_doc_dir=`eval echo $pcp_doc_dir` ++ ++ ++ ++# Check whether --with-demosdir was given. ++if test "${with_demosdir+set}" = set; then : ++ withval=$with_demosdir; pcp_demos_dir=$withval ++else ++ pcp_demos_dir=$pcp_share_dir/demos ++fi ++ ++ ++ ++if test -z "$XCONFIRM" ++then ++ # Extract the first word of "xconfirm", so it can be a program name with args. ++set dummy xconfirm; ac_word=$2 ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++$as_echo_n "checking for $ac_word... " >&6; } ++if ${ac_cv_path_ac_xconfirm_prog+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ case $ac_xconfirm_prog in ++ [\\/]* | ?:[\\/]*) ++ ac_cv_path_ac_xconfirm_prog="$ac_xconfirm_prog" # Let the user override the test with a path. ++ ;; ++ *) ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ for ac_exec_ext in '' $ac_executable_extensions; do ++ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ++ ac_cv_path_ac_xconfirm_prog="$as_dir/$ac_word$ac_exec_ext" ++ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ break 2 ++ fi ++done ++ done ++IFS=$as_save_IFS ++ ++ test -z "$ac_cv_path_ac_xconfirm_prog" && ac_cv_path_ac_xconfirm_prog="$pcp_bin_dir/pmconfirm" ++ ;; ++esac ++fi ++ac_xconfirm_prog=$ac_cv_path_ac_xconfirm_prog ++if test -n "$ac_xconfirm_prog"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_xconfirm_prog" >&5 ++$as_echo "$ac_xconfirm_prog" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++ ++ ++else ++ ac_xconfirm_prog=$XCONFIRM ++fi ++ ++ ++if test "$ac_cv_header_fcntl_h" = "yes" ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FNDELAY in fcntl.h" >&5 ++$as_echo_n "checking for FNDELAY in fcntl.h... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ int i = FNDELAY; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_FNDELAY 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++if test "$ac_cv_header_libzfs_h" = "yes" ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 5-argument style zpool_vdev_name" >&5 ++$as_echo_n "checking for 5-argument style zpool_vdev_name... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ libzfs_handle_t *zh; ++ zpool_handle_t *zp; ++ nvlist_t *np; ++ (void) zpool_vdev_name(zh, zp, np, B_FALSE, B_FALSE); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_ZPOOL_VDEV_NAME_5ARG 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zpool_vdev_name" >&5 ++$as_echo_n "checking for 4-argument style zpool_vdev_name... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ libzfs_handle_t *zh; ++ zpool_handle_t *zp; ++ nvlist_t *np; ++ (void) zpool_vdev_name(zh, zp, np, B_FALSE); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_ZPOOL_VDEV_NAME_4ARG 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++if test "$ac_cv_header_libzfs_h" = "yes" ++then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zfs_iter_snapshots" >&5 ++$as_echo_n "checking for 4-argument style zfs_iter_snapshots... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ zfs_handle_t *zh; ++ zfs_iter_f callback; ++ (void)zfs_iter_snapshots(zh, B_FALSE, callback, NULL); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_ZFS_ITER_SNAPSHOTS_4ARG 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 3-argument style zfs_iter_snapshots" >&5 ++$as_echo_n "checking for 3-argument style zfs_iter_snapshots... " >&6; } ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++ zfs_handle_t *zh; ++ zfs_iter_f callback; ++ (void)zfs_iter_snapshots(zh, callback, NULL); ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_ZFS_ITER_SNAPSHOTS_3ARG 1" >>confdefs.h ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++if test "$do_secure" = "check" -o "$do_secure" = "yes" ++then ++ enable_secure=true ++ ++ saved_CFLAGS="$CFLAGS" ++ saved_CPPFLAGS="$CPPFLAGS" ++ NSS_INC_DIRS="-I/usr/include/nss -I/usr/include/nss3" ++ NSPR_INC_DIRS="-I/usr/include/nspr -I/usr/include/nspr4" ++ CFLAGS="$CFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS" ++ CPPFLAGS="$CPPFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS" ++ ++ for ac_header in nss/nss.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "nss/nss.h" "ac_cv_header_nss_nss_h" "$ac_includes_default" ++if test "x$ac_cv_header_nss_nss_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NSS_NSS_H 1 ++_ACEOF ++ NSSCFLAGS=-I/usr/include/nss ++else ++ ++ for ac_header in nss3/nss.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "nss3/nss.h" "ac_cv_header_nss3_nss_h" "$ac_includes_default" ++if test "x$ac_cv_header_nss3_nss_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NSS3_NSS_H 1 ++_ACEOF ++ NSSCFLAGS=-I/usr/include/nss3 ++else ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no NSS header" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++ ++fi ++ ++done ++ ++ ++ ++ for ac_header in nspr/nspr.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "nspr/nspr.h" "ac_cv_header_nspr_nspr_h" "$ac_includes_default" ++if test "x$ac_cv_header_nspr_nspr_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NSPR_NSPR_H 1 ++_ACEOF ++ NSPRCFLAGS=-I/usr/include/nspr ++else ++ ++ for ac_header in nspr4/nspr.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "nspr4/nspr.h" "ac_cv_header_nspr4_nspr_h" "$ac_includes_default" ++if test "x$ac_cv_header_nspr4_nspr_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_NSPR4_NSPR_H 1 ++_ACEOF ++ NSPRCFLAGS=-I/usr/include/nspr4 ++else ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no NSPR header" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++ ++fi ++ ++done ++ ++ ++ ++ for ac_header in sasl/sasl.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default" ++if test "x$ac_cv_header_sasl_sasl_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_SASL_SASL_H 1 ++_ACEOF ++ SASLCFLAGS=-I/usr/include/sasl ++else ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no SASL header" "$LINENO" 5 ++ fi ++ ++fi ++ ++done ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_server_init in -lsasl2" >&5 ++$as_echo_n "checking for sasl_server_init in -lsasl2... " >&6; } ++if ${ac_cv_lib_sasl2_sasl_server_init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsasl2 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char sasl_server_init (); ++int ++main () ++{ ++return sasl_server_init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_sasl2_sasl_server_init=yes ++else ++ ac_cv_lib_sasl2_sasl_server_init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_server_init" >&5 ++$as_echo "$ac_cv_lib_sasl2_sasl_server_init" >&6; } ++if test "x$ac_cv_lib_sasl2_sasl_server_init" = xyes; then : ++ lib_for_sasl="-lsasl2" ++else ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no SASL library" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl" >&5 ++$as_echo_n "checking for SSL_ImportFD in -lssl... " >&6; } ++if ${ac_cv_lib_ssl_SSL_ImportFD+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lssl $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char SSL_ImportFD (); ++int ++main () ++{ ++return SSL_ImportFD (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ssl_SSL_ImportFD=yes ++else ++ ac_cv_lib_ssl_SSL_ImportFD=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ImportFD" >&5 ++$as_echo "$ac_cv_lib_ssl_SSL_ImportFD" >&6; } ++if test "x$ac_cv_lib_ssl_SSL_ImportFD" = xyes; then : ++ lib_for_ssl="-lssl" ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl3" >&5 ++$as_echo_n "checking for SSL_ImportFD in -lssl3... " >&6; } ++if ${ac_cv_lib_ssl3_SSL_ImportFD+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lssl3 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char SSL_ImportFD (); ++int ++main () ++{ ++return SSL_ImportFD (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_ssl3_SSL_ImportFD=yes ++else ++ ac_cv_lib_ssl3_SSL_ImportFD=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl3_SSL_ImportFD" >&5 ++$as_echo "$ac_cv_lib_ssl3_SSL_ImportFD" >&6; } ++if test "x$ac_cv_lib_ssl3_SSL_ImportFD" = xyes; then : ++ lib_for_ssl="-lssl3" ++else ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no SSL library" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss" >&5 ++$as_echo_n "checking for NSS_Init in -lnss... " >&6; } ++if ${ac_cv_lib_nss_NSS_Init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnss $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char NSS_Init (); ++int ++main () ++{ ++return NSS_Init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_nss_NSS_Init=yes ++else ++ ac_cv_lib_nss_NSS_Init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss_NSS_Init" >&5 ++$as_echo "$ac_cv_lib_nss_NSS_Init" >&6; } ++if test "x$ac_cv_lib_nss_NSS_Init" = xyes; then : ++ lib_for_nss="-lnss" ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss3" >&5 ++$as_echo_n "checking for NSS_Init in -lnss3... " >&6; } ++if ${ac_cv_lib_nss3_NSS_Init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnss3 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char NSS_Init (); ++int ++main () ++{ ++return NSS_Init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_nss3_NSS_Init=yes ++else ++ ac_cv_lib_nss3_NSS_Init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Init" >&5 ++$as_echo "$ac_cv_lib_nss3_NSS_Init" >&6; } ++if test "x$ac_cv_lib_nss3_NSS_Init" = xyes; then : ++ lib_for_nss="-lnss3" ++else ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no NSS library" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++fi ++ ++ ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr" >&5 ++$as_echo_n "checking for PR_Init in -lnspr... " >&6; } ++if ${ac_cv_lib_nspr_PR_Init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnspr $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char PR_Init (); ++int ++main () ++{ ++return PR_Init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_nspr_PR_Init=yes ++else ++ ac_cv_lib_nspr_PR_Init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr_PR_Init" >&5 ++$as_echo "$ac_cv_lib_nspr_PR_Init" >&6; } ++if test "x$ac_cv_lib_nspr_PR_Init" = xyes; then : ++ lib_for_nspr="-lnspr" ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr4" >&5 ++$as_echo_n "checking for PR_Init in -lnspr4... " >&6; } ++if ${ac_cv_lib_nspr4_PR_Init+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lnspr4 $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char PR_Init (); ++int ++main () ++{ ++return PR_Init (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_nspr4_PR_Init=yes ++else ++ ac_cv_lib_nspr4_PR_Init=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr4_PR_Init" >&5 ++$as_echo "$ac_cv_lib_nspr4_PR_Init" >&6; } ++if test "x$ac_cv_lib_nspr4_PR_Init" = xyes; then : ++ lib_for_nspr="-lnspr4" ++else ++ ++ enable_secure=false ++ if test "$do_secure" = "yes" ++ then ++ as_fn_error $? "cannot enable secure sockets mode - no NSPR library" "$LINENO" 5 ++ fi ++ ++fi ++ ++ ++fi ++ ++ ++ ++ if test "$enable_secure" = "true" ++ then ++ ++$as_echo "#define HAVE_SECURE_SOCKETS 1" >>confdefs.h ++ ++ fi ++ ++ ++ CPPFLAGS="$saved_CPPFLAGS" ++ CFLAGS="$saved_CFLAGS" ++fi ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add_4 in -latomic" >&5 ++$as_echo_n "checking for __atomic_fetch_add_4 in -latomic... " >&6; } ++if ${ac_cv_lib_atomic___atomic_fetch_add_4+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-latomic $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char __atomic_fetch_add_4 (); ++int ++main () ++{ ++return __atomic_fetch_add_4 (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_atomic___atomic_fetch_add_4=yes ++else ++ ac_cv_lib_atomic___atomic_fetch_add_4=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_fetch_add_4" >&5 ++$as_echo "$ac_cv_lib_atomic___atomic_fetch_add_4" >&6; } ++if test "x$ac_cv_lib_atomic___atomic_fetch_add_4" = xyes; then : ++ lib_for_atomic="-latomic" ++fi ++ ++ ++ ++enable_lzma=false ++enable_decompression=false ++if test "x$do_decompression" != "xno"; then : ++ ++ # Check for -llzma ++ enable_lzma=true ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma" >&5 ++$as_echo_n "checking for lzma... " >&6; } ++ ++if test -n "$lzma_CFLAGS"; then ++ pkg_cv_lzma_CFLAGS="$lzma_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_lzma_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$lzma_LIBS"; then ++ pkg_cv_lzma_LIBS="$lzma_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_lzma_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ lzma_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblzma" 2>&1` ++ else ++ lzma_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblzma" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$lzma_PKG_ERRORS" >&5 ++ ++ enable_lzma=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ enable_lzma=false ++else ++ lzma_CFLAGS=$pkg_cv_lzma_CFLAGS ++ lzma_LIBS=$pkg_cv_lzma_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_index_stream_flags in -llzma" >&5 ++$as_echo_n "checking for lzma_index_stream_flags in -llzma... " >&6; } ++if ${ac_cv_lib_lzma_lzma_index_stream_flags+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-llzma $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char lzma_index_stream_flags (); ++int ++main () ++{ ++return lzma_index_stream_flags (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_lzma_lzma_index_stream_flags=yes ++else ++ ac_cv_lib_lzma_lzma_index_stream_flags=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_index_stream_flags" >&5 ++$as_echo "$ac_cv_lib_lzma_lzma_index_stream_flags" >&6; } ++if test "x$ac_cv_lib_lzma_lzma_index_stream_flags" = xyes; then : ++ lib_for_lzma="-llzma" ++else ++ enable_lzma=false ++fi ++ ++ ++fi ++ ++ for ac_header in lzma.h ++do : ++ ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" ++if test "x$ac_cv_header_lzma_h" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LZMA_H 1 ++_ACEOF ++ ++else ++ enable_lzma=false ++fi ++ ++done ++ ++ ++ if test "$enable_lzma" = "true" ++ then ++ ++ ++ ++$as_echo "#define HAVE_LZMA_DECOMPRESSION 1" >>confdefs.h ++ ++ enable_decompression=true ++ fi ++ ++ if test "$do_decompression" != "check" -a "$enable_decompression" != "true" ++ then ++ as_fn_error $? "cannot enable transparent decompression - no supported compression formats" "$LINENO" 5 ++ fi ++ ++ if test "$enable_decompression" = "true" ++ then ++ ++$as_echo "#define HAVE_TRANSPARENT_DECOMPRESSION 1" >>confdefs.h ++ ++ fi ++ ++fi ++ ++ ++ ++if test -f /usr/include/sn/arsess.h ++then ++ pcp_mpi_dirs=libpcp_mpi\ libpcp_mpiread ++else ++ pcp_mpi_dirs= ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_un in sys/un.h" >&5 ++$as_echo_n "checking for struct sockaddr_un in sys/un.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_SYS_SOCKET_H ++ #include ++ #endif ++ #ifdef HAVE_SYS_UN_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ struct sockaddr_un sa; sa.sun_family = AF_UNIX; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_STRUCT_SOCKADDR_UN 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ucred in sys/socket.h" >&5 ++$as_echo_n "checking for struct ucred in sys/socket.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ #ifdef HAVE_SYS_SOCKET_H ++ #include ++ #endif ++ #ifdef HAVE_SYS_UN_H ++ #include ++ #endif ++ ++int ++main () ++{ ++ struct ucred ucred; ucred.uid = 0; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_STRUCT_UCRED 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in time.h" >&5 ++$as_echo_n "checking for struct timespec in time.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ struct timespec foo; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for altzone in time.h" >&5 ++$as_echo_n "checking for altzone in time.h... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ ++int ++main () ++{ ++ time_t az = altzone; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_ALTZONE 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strftime knows about %z" >&5 ++$as_echo_n "checking if strftime knows about %z... " >&6; } ++if test "$cross_compiling" = yes; then : ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++else ++ cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++#include ++int main () { ++ char b[32]=""; ++ time_t t = time(NULL); ++ struct tm * t1 = localtime (&t); ++ if (strftime (b, 32, "%z", t1) < 3) ++ return (1); ++ if (strcmp(b, "%z") == 0) ++ return(1); ++ return (0); ++} ++ ++_ACEOF ++if ac_fn_c_try_run "$LINENO"; then : ++ ++$as_echo "#define HAVE_STRFTIME_z 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ++ conftest.$ac_objext conftest.beam conftest.$ac_ext ++fi ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r returns char *" >&5 ++$as_echo_n "checking if strerror_r returns char *... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++#include ++int ++main () ++{ ++strerror_r(0, NULL, 0)[0]; ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_STRERROR_R_PTR 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++savedLIBS=$LIBS ++LIBS= ++lib_for_curses= ++lib_for_readline= ++ac_fn_c_check_func "$LINENO" "readline" "ac_cv_func_readline" ++if test "x$ac_cv_func_readline" = xyes; then : ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 ++$as_echo_n "checking for readline in -lreadline... " >&6; } ++if ${ac_cv_lib_readline_readline+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lreadline $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char readline (); ++int ++main () ++{ ++return readline (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_readline_readline=yes ++else ++ ac_cv_lib_readline_readline=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 ++$as_echo "$ac_cv_lib_readline_readline" >&6; } ++if test "x$ac_cv_lib_readline_readline" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBREADLINE 1 ++_ACEOF ++ ++ LIBS="-lreadline $LIBS" ++ ++else ++ ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5 ++$as_echo_n "checking for add_history in -lreadline... " >&6; } ++if ${ac_cv_lib_readline_add_history+:} false; then : ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lreadline -lcurses $LIBS" ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++/* Override any GCC internal prototype to avoid an error. ++ Use char because int might match the return type of a GCC ++ builtin and then its argument prototype would still apply. */ ++#ifdef __cplusplus ++extern "C" ++#endif ++char add_history (); ++int ++main () ++{ ++return add_history (); ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_link "$LINENO"; then : ++ ac_cv_lib_readline_add_history=yes ++else ++ ac_cv_lib_readline_add_history=no ++fi ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5 ++$as_echo "$ac_cv_lib_readline_add_history" >&6; } ++if test "x$ac_cv_lib_readline_add_history" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_LIBREADLINE 1 ++_ACEOF ++ ++ LIBS="-lreadline $LIBS" ++ ++fi ++ ++ ++fi ++ ++ ++fi ++ ++if test $ac_cv_func_readline = yes ++then ++ ++$as_echo "#define HAVE_READLINE 1" >>confdefs.h ++ ++elif test $ac_cv_lib_readline_readline = yes ++then ++ ++$as_echo "#define HAVE_READLINE 1" >>confdefs.h ++ ++ lib_for_readline=-lreadline ++elif test $ac_cv_lib_readline_add_history = yes ++then ++ ++$as_echo "#define HAVE_READLINE 1" >>confdefs.h ++ ++ lib_for_curses=-lcurses ++ lib_for_readline=-lreadline ++fi ++ ++ ++LIBS=$savedLIBS ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 ++$as_echo_n "checking for zlib... " >&6; } ++ ++if test -n "$zlib_CFLAGS"; then ++ pkg_cv_zlib_CFLAGS="$zlib_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.0.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$zlib_LIBS"; then ++ pkg_cv_zlib_LIBS="$zlib_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib >= 1.0.0" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1` ++ else ++ zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$zlib_PKG_ERRORS" >&5 ++ ++ have_zlib=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_zlib=false ++else ++ zlib_CFLAGS=$pkg_cv_zlib_CFLAGS ++ zlib_LIBS=$pkg_cv_zlib_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_zlib=true ++fi ++HAVE_ZLIB=$have_zlib ++ ++ ++ ++pkg_failed=no ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmocka" >&5 ++$as_echo_n "checking for cmocka... " >&6; } ++ ++if test -n "$cmocka_CFLAGS"; then ++ pkg_cv_cmocka_CFLAGS="$cmocka_CFLAGS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "cmocka") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_cmocka_CFLAGS=`$PKG_CONFIG --cflags "cmocka" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++if test -n "$cmocka_LIBS"; then ++ pkg_cv_cmocka_LIBS="$cmocka_LIBS" ++ elif test -n "$PKG_CONFIG"; then ++ if test -n "$PKG_CONFIG" && \ ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cmocka\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "cmocka") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ++ test $ac_status = 0; }; then ++ pkg_cv_cmocka_LIBS=`$PKG_CONFIG --libs "cmocka" 2>/dev/null` ++ test "x$?" != "x0" && pkg_failed=yes ++else ++ pkg_failed=yes ++fi ++ else ++ pkg_failed=untried ++fi ++ ++ ++ ++if test $pkg_failed = yes; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ ++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then ++ _pkg_short_errors_supported=yes ++else ++ _pkg_short_errors_supported=no ++fi ++ if test $_pkg_short_errors_supported = yes; then ++ cmocka_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cmocka" 2>&1` ++ else ++ cmocka_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cmocka" 2>&1` ++ fi ++ # Put the nasty error message in config.log where it belongs ++ echo "$cmocka_PKG_ERRORS" >&5 ++ ++ have_cmocka=false ++elif test $pkg_failed = untried; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++ have_cmocka=false ++else ++ cmocka_CFLAGS=$pkg_cv_cmocka_CFLAGS ++ cmocka_LIBS=$pkg_cv_cmocka_LIBS ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++ have_cmocka=true ++fi ++HAVE_CMOCKA=$have_cmocka ++ ++ ++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AI_ADDRCONFIG" >&5 ++$as_echo_n "checking for AI_ADDRCONFIG... " >&6; } ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++ #include ++ int test = AI_ADDRCONFIG; ++ ++int ++main () ++{ ++ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO"; then : ++ ++$as_echo "#define HAVE_AI_ADDRCONFIG 1" >>confdefs.h ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++$as_echo "yes" >&6; } ++else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++$as_echo "no" >&6; } ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ ++pcp_prefix=`eval echo $prefix` ++ ++ ++ ++ ++ac_config_files="$ac_config_files src/include/builddefs src/include/pcp.conf pcp.lsm debian/pcp.preinst.head debian/pcp.postinst.head build/tar/preinstall.head build/tar/postinstall.head build/GNUlocaldefs build/mac/uninstall-pcp" ++ ++cat >confcache <<\_ACEOF ++# This file is a shell script that caches the results of configure ++# tests run on this system so they can be shared between configure ++# scripts and configure runs, see configure's option --config-cache. ++# It is not useful on other systems. If it contains results you don't ++# want to keep, you may remove or edit it. ++# ++# config.status only pays attention to the cache file if you give it ++# the --recheck option to rerun configure. ++# ++# `ac_cv_env_foo' variables (set or unset) will be overridden when ++# loading this file, other *unset* `ac_cv_foo' will be assigned the ++# following values. ++ ++_ACEOF ++ ++# The following way of writing the cache mishandles newlines in values, ++# but we know of no workaround that is simple, portable, and efficient. ++# So, we kill variables containing newlines. ++# Ultrix sh set writes to stderr and can't be redirected directly, ++# and sets the high bit in the cache file unless we assign to the vars. ++( ++ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ++ eval ac_val=\$$ac_var ++ case $ac_val in #( ++ *${as_nl}*) ++ case $ac_var in #( ++ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ++ esac ++ case $ac_var in #( ++ _ | IFS | as_nl) ;; #( ++ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ++ *) { eval $ac_var=; unset $ac_var;} ;; ++ esac ;; ++ esac ++ done ++ ++ (set) 2>&1 | ++ case $as_nl`(ac_space=' '; set) 2>&1` in #( ++ *${as_nl}ac_space=\ *) ++ # `set' does not quote correctly, so add quotes: double-quote ++ # substitution turns \\\\ into \\, and sed turns \\ into \. ++ sed -n \ ++ "s/'/'\\\\''/g; ++ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ++ ;; #( ++ *) ++ # `set' quotes correctly as required by POSIX, so do not add quotes. ++ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ++ ;; ++ esac | ++ sort ++) | ++ sed ' ++ /^ac_cv_env_/b end ++ t clear ++ :clear ++ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ++ t end ++ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ++ :end' >>confcache ++if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ++ if test -w "$cache_file"; then ++ if test "x$cache_file" != "x/dev/null"; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ++$as_echo "$as_me: updating cache $cache_file" >&6;} ++ if test ! -f "$cache_file" || test -h "$cache_file"; then ++ cat confcache >"$cache_file" ++ else ++ case $cache_file in #( ++ */* | ?:*) ++ mv -f confcache "$cache_file"$$ && ++ mv -f "$cache_file"$$ "$cache_file" ;; #( ++ *) ++ mv -f confcache "$cache_file" ;; ++ esac ++ fi ++ fi ++ else ++ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ++$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ++ fi ++fi ++rm -f confcache ++ ++test "x$prefix" = xNONE && prefix=$ac_default_prefix ++# Let make expand exec_prefix. ++test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ++ ++DEFS=-DHAVE_CONFIG_H ++ ++ac_libobjs= ++ac_ltlibobjs= ++U= ++for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue ++ # 1. Remove the extension, and $U if already installed. ++ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ++ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ++ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ++ # will be set to the directory where LIBOBJS objects are built. ++ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ++ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ++done ++LIBOBJS=$ac_libobjs ++ ++LTLIBOBJS=$ac_ltlibobjs ++ ++ ++ ++: "${CONFIG_STATUS=./config.status}" ++ac_write_fail=0 ++ac_clean_files_save=$ac_clean_files ++ac_clean_files="$ac_clean_files $CONFIG_STATUS" ++{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ++$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ++as_write_fail=0 ++cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ++#! $SHELL ++# Generated by $as_me. ++# Run this file to recreate the current configuration. ++# Compiler output produced by configure, useful for debugging ++# configure, is in config.log if it exists. ++ ++debug=false ++ac_cs_recheck=false ++ac_cs_silent=false ++ ++SHELL=\${CONFIG_SHELL-$SHELL} ++export SHELL ++_ASEOF ++cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ++## -------------------- ## ++## M4sh Initialization. ## ++## -------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in #( ++ *posix*) : ++ set -o posix ;; #( ++ *) : ++ ;; ++esac ++fi ++ ++ ++as_nl=' ++' ++export as_nl ++# Printing a long string crashes Solaris 7 /usr/bin/printf. ++as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ++as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ++# Prefer a ksh shell builtin over an external printf program on Solaris, ++# but without wasting forks for bash or zsh. ++if test -z "$BASH_VERSION$ZSH_VERSION" \ ++ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='print -r --' ++ as_echo_n='print -rn --' ++elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++ as_echo='printf %s\n' ++ as_echo_n='printf %s' ++else ++ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ++ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ++ as_echo_n='/usr/ucb/echo -n' ++ else ++ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ++ as_echo_n_body='eval ++ arg=$1; ++ case $arg in #( ++ *"$as_nl"*) ++ expr "X$arg" : "X\\(.*\\)$as_nl"; ++ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ++ esac; ++ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ++ ' ++ export as_echo_n_body ++ as_echo_n='sh -c $as_echo_n_body as_echo' ++ fi ++ export as_echo_body ++ as_echo='sh -c $as_echo_body as_echo' ++fi ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ PATH_SEPARATOR=: ++ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ++ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ++ PATH_SEPARATOR=';' ++ } ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++as_myself= ++case $0 in #(( ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++ done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ exit 1 ++fi ++ ++# Unset variables that we do not need and which cause bugs (e.g. in ++# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ++# suppresses any "Segmentation fault" message there. '((' could ++# trigger a bug in pdksh 5.2.14. ++for as_var in BASH_ENV ENV MAIL MAILPATH ++do eval test x\${$as_var+set} = xset \ ++ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++LC_ALL=C ++export LC_ALL ++LANGUAGE=C ++export LANGUAGE ++ ++# CDPATH. ++(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++ ++ ++# as_fn_error STATUS ERROR [LINENO LOG_FD] ++# ---------------------------------------- ++# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ++# provided, also output the error to LOG_FD, referencing LINENO. Then exit the ++# script with STATUS, using 1 if that was 0. ++as_fn_error () ++{ ++ as_status=$1; test $as_status -eq 0 && as_status=1 ++ if test "$4"; then ++ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ++ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ++ fi ++ $as_echo "$as_me: error: $2" >&2 ++ as_fn_exit $as_status ++} # as_fn_error ++ ++ ++# as_fn_set_status STATUS ++# ----------------------- ++# Set $? to STATUS, without forking. ++as_fn_set_status () ++{ ++ return $1 ++} # as_fn_set_status ++ ++# as_fn_exit STATUS ++# ----------------- ++# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ++as_fn_exit () ++{ ++ set +e ++ as_fn_set_status $1 ++ exit $1 ++} # as_fn_exit ++ ++# as_fn_unset VAR ++# --------------- ++# Portably unset VAR. ++as_fn_unset () ++{ ++ { eval $1=; unset $1;} ++} ++as_unset=as_fn_unset ++# as_fn_append VAR VALUE ++# ---------------------- ++# Append the text in VALUE to the end of the definition contained in VAR. Take ++# advantage of any shell optimizations that allow amortized linear growth over ++# repeated appends, instead of the typical quadratic growth present in naive ++# implementations. ++if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ++ eval 'as_fn_append () ++ { ++ eval $1+=\$2 ++ }' ++else ++ as_fn_append () ++ { ++ eval $1=\$$1\$2 ++ } ++fi # as_fn_append ++ ++# as_fn_arith ARG... ++# ------------------ ++# Perform arithmetic evaluation on the ARGs, and store the result in the ++# global $as_val. Take advantage of shells that can avoid forks. The arguments ++# must be portable across $(()) and expr. ++if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ++ eval 'as_fn_arith () ++ { ++ as_val=$(( $* )) ++ }' ++else ++ as_fn_arith () ++ { ++ as_val=`expr "$@" || test $? -eq 1` ++ } ++fi # as_fn_arith ++ ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in #((((( ++-n*) ++ case `echo 'xy\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ xy) ECHO_C='\c';; ++ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ++ ECHO_T=' ';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir 2>/dev/null ++fi ++if (echo >conf$$.file) 2>/dev/null; then ++ if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -pR'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -pR' ++ elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++ else ++ as_ln_s='cp -pR' ++ fi ++else ++ as_ln_s='cp -pR' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++ ++# as_fn_mkdir_p ++# ------------- ++# Create "$as_dir" as a directory, including parents if necessary. ++as_fn_mkdir_p () ++{ ++ ++ case $as_dir in #( ++ -*) as_dir=./$as_dir;; ++ esac ++ test -d "$as_dir" || eval $as_mkdir_p || { ++ as_dirs= ++ while :; do ++ case $as_dir in #( ++ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ++ *) as_qdir=$as_dir;; ++ esac ++ as_dirs="'$as_qdir' $as_dirs" ++ as_dir=`$as_dirname -- "$as_dir" || ++$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$as_dir" : 'X\(//\)[^/]' \| \ ++ X"$as_dir" : 'X\(//\)$' \| \ ++ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$as_dir" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ test -d "$as_dir" && break ++ done ++ test -z "$as_dirs" || eval "mkdir $as_dirs" ++ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ++ ++ ++} # as_fn_mkdir_p ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p='mkdir -p "$as_dir"' ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++ ++# as_fn_executable_p FILE ++# ----------------------- ++# Test if FILE is an executable regular file. ++as_fn_executable_p () ++{ ++ test -f "$1" && test -x "$1" ++} # as_fn_executable_p ++as_test_x='test -x' ++as_executable_p=as_fn_executable_p ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++exec 6>&1 ++## ----------------------------------- ## ++## Main body of $CONFIG_STATUS script. ## ++## ----------------------------------- ## ++_ASEOF ++test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# Save the log message, to keep $0 and so on meaningful, and to ++# report actual input values of CONFIG_FILES etc. instead of their ++# values after options handling. ++ac_log=" ++This file was extended by $as_me, which was ++generated by GNU Autoconf 2.69. Invocation command line was ++ ++ CONFIG_FILES = $CONFIG_FILES ++ CONFIG_HEADERS = $CONFIG_HEADERS ++ CONFIG_LINKS = $CONFIG_LINKS ++ CONFIG_COMMANDS = $CONFIG_COMMANDS ++ $ $0 $@ ++ ++on `(hostname || uname -n) 2>/dev/null | sed 1q` ++" ++ ++_ACEOF ++ ++case $ac_config_files in *" ++"*) set x $ac_config_files; shift; ac_config_files=$*;; ++esac ++ ++case $ac_config_headers in *" ++"*) set x $ac_config_headers; shift; ac_config_headers=$*;; ++esac ++ ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++# Files that config.status was made for. ++config_files="$ac_config_files" ++config_headers="$ac_config_headers" ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ac_cs_usage="\ ++\`$as_me' instantiates files and other configuration actions ++from templates according to the current configuration. Unless the files ++and actions are specified as TAGs, all are instantiated by default. ++ ++Usage: $0 [OPTION]... [TAG]... ++ ++ -h, --help print this help, then exit ++ -V, --version print version number and configuration settings, then exit ++ --config print configuration, then exit ++ -q, --quiet, --silent ++ do not print progress messages ++ -d, --debug don't remove temporary files ++ --recheck update $as_me by reconfiguring in the same conditions ++ --file=FILE[:TEMPLATE] ++ instantiate the configuration file FILE ++ --header=FILE[:TEMPLATE] ++ instantiate the configuration header FILE ++ ++Configuration files: ++$config_files ++ ++Configuration headers: ++$config_headers ++ ++Report bugs to the package provider." ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ++ac_cs_version="\\ ++config.status ++configured by $0, generated by GNU Autoconf 2.69, ++ with options \\"\$ac_cs_config\\" ++ ++Copyright (C) 2012 Free Software Foundation, Inc. ++This config.status script is free software; the Free Software Foundation ++gives unlimited permission to copy, distribute and modify it." ++ ++ac_pwd='$ac_pwd' ++srcdir='$srcdir' ++test -n "\$AWK" || AWK=awk ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# The default lists apply if the user does not specify any file. ++ac_need_defaults=: ++while test $# != 0 ++do ++ case $1 in ++ --*=?*) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ++ ac_shift=: ++ ;; ++ --*=) ++ ac_option=`expr "X$1" : 'X\([^=]*\)='` ++ ac_optarg= ++ ac_shift=: ++ ;; ++ *) ++ ac_option=$1 ++ ac_optarg=$2 ++ ac_shift=shift ++ ;; ++ esac ++ ++ case $ac_option in ++ # Handling of the options. ++ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ++ ac_cs_recheck=: ;; ++ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ++ $as_echo "$ac_cs_version"; exit ;; ++ --config | --confi | --conf | --con | --co | --c ) ++ $as_echo "$ac_cs_config"; exit ;; ++ --debug | --debu | --deb | --de | --d | -d ) ++ debug=: ;; ++ --file | --fil | --fi | --f ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ '') as_fn_error $? "missing file argument" ;; ++ esac ++ as_fn_append CONFIG_FILES " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --header | --heade | --head | --hea ) ++ $ac_shift ++ case $ac_optarg in ++ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ as_fn_append CONFIG_HEADERS " '$ac_optarg'" ++ ac_need_defaults=false;; ++ --he | --h) ++ # Conflict between --help and --header ++ as_fn_error $? "ambiguous option: \`$1' ++Try \`$0 --help' for more information.";; ++ --help | --hel | -h ) ++ $as_echo "$ac_cs_usage"; exit ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil | --si | --s) ++ ac_cs_silent=: ;; ++ ++ # This is an error. ++ -*) as_fn_error $? "unrecognized option: \`$1' ++Try \`$0 --help' for more information." ;; ++ ++ *) as_fn_append ac_config_targets " $1" ++ ac_need_defaults=false ;; ++ ++ esac ++ shift ++done ++ ++ac_configure_extra_args= ++ ++if $ac_cs_silent; then ++ exec 6>/dev/null ++ ac_configure_extra_args="$ac_configure_extra_args --silent" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++if \$ac_cs_recheck; then ++ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ++ shift ++ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ++ CONFIG_SHELL='$SHELL' ++ export CONFIG_SHELL ++ exec "\$@" ++fi ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++exec 5>>config.log ++{ ++ echo ++ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ++## Running $as_me. ## ++_ASBOX ++ $as_echo "$ac_log" ++} >&5 ++ ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ ++# Handling of arguments. ++for ac_config_target in $ac_config_targets ++do ++ case $ac_config_target in ++ "src/include/pcp/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pcp/config.h" ;; ++ "src/include/pcp/configsz.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pcp/configsz.h" ;; ++ "src/include/pcp/platform_defs.h") CONFIG_FILES="$CONFIG_FILES src/include/pcp/platform_defs.h" ;; ++ "src/include/pcp/platformsz.h") CONFIG_FILES="$CONFIG_FILES src/include/pcp/platformsz.h" ;; ++ "src/include/builddefs") CONFIG_FILES="$CONFIG_FILES src/include/builddefs" ;; ++ "src/include/pcp.conf") CONFIG_FILES="$CONFIG_FILES src/include/pcp.conf" ;; ++ "pcp.lsm") CONFIG_FILES="$CONFIG_FILES pcp.lsm" ;; ++ "debian/pcp.preinst.head") CONFIG_FILES="$CONFIG_FILES debian/pcp.preinst.head" ;; ++ "debian/pcp.postinst.head") CONFIG_FILES="$CONFIG_FILES debian/pcp.postinst.head" ;; ++ "build/tar/preinstall.head") CONFIG_FILES="$CONFIG_FILES build/tar/preinstall.head" ;; ++ "build/tar/postinstall.head") CONFIG_FILES="$CONFIG_FILES build/tar/postinstall.head" ;; ++ "build/GNUlocaldefs") CONFIG_FILES="$CONFIG_FILES build/GNUlocaldefs" ;; ++ "build/mac/uninstall-pcp") CONFIG_FILES="$CONFIG_FILES build/mac/uninstall-pcp" ;; ++ ++ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ++ esac ++done ++ ++ ++# If the user did not use the arguments to specify the items to instantiate, ++# then the envvar interface is used. Set only those that are not. ++# We use the long form for the default assignment because of an extremely ++# bizarre bug on SunOS 4.1.3. ++if $ac_need_defaults; then ++ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files ++ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ++fi ++ ++# Have a temporary directory for convenience. Make it in the build tree ++# simply because there is no reason against having it here, and in addition, ++# creating and moving files from /tmp can sometimes cause problems. ++# Hook for its removal unless debugging. ++# Note that there is a small window in which the directory will not be cleaned: ++# after its creation but before its name has been assigned to `$tmp'. ++$debug || ++{ ++ tmp= ac_tmp= ++ trap 'exit_status=$? ++ : "${ac_tmp:=$tmp}" ++ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ++' 0 ++ trap 'as_fn_exit 1' 1 2 13 15 ++} ++# Create a (secure) tmp directory for tmp files. ++ ++{ ++ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ++ test -d "$tmp" ++} || ++{ ++ tmp=./conf$$-$RANDOM ++ (umask 077 && mkdir "$tmp") ++} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ++ac_tmp=$tmp ++ ++# Set up the scripts for CONFIG_FILES section. ++# No need to generate them if there are no CONFIG_FILES. ++# This happens for instance with `./config.status config.h'. ++if test -n "$CONFIG_FILES"; then ++ ++ ++ac_cr=`echo X | tr X '\015'` ++# On cygwin, bash can eat \r inside `` if the user requested igncr. ++# But we know of no other shell where ac_cr would be empty at this ++# point, so we can use a bashism as a fallback. ++if test "x$ac_cr" = x; then ++ eval ac_cr=\$\'\\r\' ++fi ++ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` ++if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ++ ac_cs_awk_cr='\\r' ++else ++ ac_cs_awk_cr=$ac_cr ++fi ++ ++echo 'BEGIN {' >"$ac_tmp/subs1.awk" && ++_ACEOF ++ ++ ++{ ++ echo "cat >conf$$subs.awk <<_ACEOF" && ++ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ++ echo "_ACEOF" ++} >conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ++ac_delim='%!_!# ' ++for ac_last_try in false false false false false :; do ++ . ./conf$$subs.sh || ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ ++ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ++ if test $ac_delim_n = $ac_delim_num; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++rm -f conf$$subs.sh ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && ++_ACEOF ++sed -n ' ++h ++s/^/S["/; s/!.*/"]=/ ++p ++g ++s/^[^!]*!// ++:repl ++t repl ++s/'"$ac_delim"'$// ++t delim ++:nl ++h ++s/\(.\{148\}\)..*/\1/ ++t more1 ++s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ++p ++n ++b repl ++:more1 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t nl ++:delim ++h ++s/\(.\{148\}\)..*/\1/ ++t more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"/ ++p ++b ++:more2 ++s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ++p ++g ++s/.\{148\}// ++t delim ++' >$CONFIG_STATUS || ac_write_fail=1 ++rm -f conf$$subs.awk ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++_ACAWK ++cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && ++ for (key in S) S_is_set[key] = 1 ++ FS = "" ++ ++} ++{ ++ line = $ 0 ++ nfields = split(line, field, "@") ++ substed = 0 ++ len = length(field[1]) ++ for (i = 2; i < nfields; i++) { ++ key = field[i] ++ keylen = length(key) ++ if (S_is_set[key]) { ++ value = S[key] ++ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ++ len += length(value) + length(field[++i]) ++ substed = 1 ++ } else ++ len += 1 + keylen ++ } ++ ++ print line ++} ++ ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ++ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ++else ++ cat ++fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ ++ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 ++_ACEOF ++ ++# VPATH may cause trouble with some makes, so we remove sole $(srcdir), ++# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and ++# trailing colons and then remove the whole line if VPATH becomes empty ++# (actually we leave an empty line to preserve line numbers). ++if test "x$srcdir" = x.; then ++ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ ++h ++s/// ++s/^/:/ ++s/[ ]*$/:/ ++s/:\$(srcdir):/:/g ++s/:\${srcdir}:/:/g ++s/:@srcdir@:/:/g ++s/^:*// ++s/:*$// ++x ++s/\(=[ ]*\).*/\1/ ++G ++s/\n// ++s/^[^=]*=[ ]*$// ++}' ++fi ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++fi # test -n "$CONFIG_FILES" ++ ++# Set up the scripts for CONFIG_HEADERS section. ++# No need to generate them if there are no CONFIG_HEADERS. ++# This happens for instance with `./config.status Makefile'. ++if test -n "$CONFIG_HEADERS"; then ++cat >"$ac_tmp/defines.awk" <<\_ACAWK || ++BEGIN { ++_ACEOF ++ ++# Transform confdefs.h into an awk script `defines.awk', embedded as ++# here-document in config.status, that substitutes the proper values into ++# config.h.in to produce config.h. ++ ++# Create a delimiter string that does not exist in confdefs.h, to ease ++# handling of long lines. ++ac_delim='%!_!# ' ++for ac_last_try in false false :; do ++ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` ++ if test -z "$ac_tt"; then ++ break ++ elif $ac_last_try; then ++ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 ++ else ++ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ++ fi ++done ++ ++# For the awk script, D is an array of macro values keyed by name, ++# likewise P contains macro parameters if any. Preserve backslash ++# newline sequences. ++ ++ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ++sed -n ' ++s/.\{148\}/&'"$ac_delim"'/g ++t rset ++:rset ++s/^[ ]*#[ ]*define[ ][ ]*/ / ++t def ++d ++:def ++s/\\$// ++t bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3"/p ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ++d ++:bsnl ++s/["\\]/\\&/g ++s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ++D["\1"]=" \3\\\\\\n"\\/p ++t cont ++s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ++t cont ++d ++:cont ++n ++s/.\{148\}/&'"$ac_delim"'/g ++t clear ++:clear ++s/\\$// ++t bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/"/p ++d ++:bsnlc ++s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ++b cont ++' >$CONFIG_STATUS || ac_write_fail=1 ++ ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ for (key in D) D_is_set[key] = 1 ++ FS = "" ++} ++/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ++ line = \$ 0 ++ split(line, arg, " ") ++ if (arg[1] == "#") { ++ defundef = arg[2] ++ mac1 = arg[3] ++ } else { ++ defundef = substr(arg[1], 2) ++ mac1 = arg[2] ++ } ++ split(mac1, mac2, "(") #) ++ macro = mac2[1] ++ prefix = substr(line, 1, index(line, defundef) - 1) ++ if (D_is_set[macro]) { ++ # Preserve the white space surrounding the "#". ++ print prefix "define", macro P[macro] D[macro] ++ next ++ } else { ++ # Replace #undef with comments. This is necessary, for example, ++ # in the case of _POSIX_SOURCE, which is predefined and required ++ # on some systems where configure will not decide to define it. ++ if (defundef == "undef") { ++ print "/*", prefix defundef, macro, "*/" ++ next ++ } ++ } ++} ++{ print } ++_ACAWK ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 ++fi # test -n "$CONFIG_HEADERS" ++ ++ ++eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " ++shift ++for ac_tag ++do ++ case $ac_tag in ++ :[FHLC]) ac_mode=$ac_tag; continue;; ++ esac ++ case $ac_mode$ac_tag in ++ :[FHL]*:*);; ++ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; ++ :[FH]-) ac_tag=-:-;; ++ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ++ esac ++ ac_save_IFS=$IFS ++ IFS=: ++ set x $ac_tag ++ IFS=$ac_save_IFS ++ shift ++ ac_file=$1 ++ shift ++ ++ case $ac_mode in ++ :L) ac_source=$1;; ++ :[FH]) ++ ac_file_inputs= ++ for ac_f ++ do ++ case $ac_f in ++ -) ac_f="$ac_tmp/stdin";; ++ *) # Look for the file first in the build tree, then in the source tree ++ # (if the path is not absolute). The absolute path cannot be DOS-style, ++ # because $ac_f cannot contain `:'. ++ test -f "$ac_f" || ++ case $ac_f in ++ [\\/$]*) false;; ++ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ++ esac || ++ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; ++ esac ++ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ++ as_fn_append ac_file_inputs " '$ac_f'" ++ done ++ ++ # Let's still pretend it is `configure' which instantiates (i.e., don't ++ # use $as_me), people would be surprised to read: ++ # /* config.h. Generated by config.status. */ ++ configure_input='Generated from '` ++ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ++ `' by configure.' ++ if test x"$ac_file" != x-; then ++ configure_input="$ac_file. $configure_input" ++ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ++$as_echo "$as_me: creating $ac_file" >&6;} ++ fi ++ # Neutralize special characters interpreted by sed in replacement strings. ++ case $configure_input in #( ++ *\&* | *\|* | *\\* ) ++ ac_sed_conf_input=`$as_echo "$configure_input" | ++ sed 's/[\\\\&|]/\\\\&/g'`;; #( ++ *) ac_sed_conf_input=$configure_input;; ++ esac ++ ++ case $ac_tag in ++ *:-:* | *:-) cat >"$ac_tmp/stdin" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; ++ esac ++ ;; ++ esac ++ ++ ac_dir=`$as_dirname -- "$ac_file" || ++$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ++ X"$ac_file" : 'X\(//\)[^/]' \| \ ++ X"$ac_file" : 'X\(//\)$' \| \ ++ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X"$ac_file" | ++ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)[^/].*/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ as_dir="$ac_dir"; as_fn_mkdir_p ++ ac_builddir=. ++ ++case "$ac_dir" in ++.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ++*) ++ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ++ # A ".." for each directory in $ac_dir_suffix. ++ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ++ case $ac_top_builddir_sub in ++ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ++ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ++ esac ;; ++esac ++ac_abs_top_builddir=$ac_pwd ++ac_abs_builddir=$ac_pwd$ac_dir_suffix ++# for backward compatibility: ++ac_top_builddir=$ac_top_build_prefix ++ ++case $srcdir in ++ .) # We are building in place. ++ ac_srcdir=. ++ ac_top_srcdir=$ac_top_builddir_sub ++ ac_abs_top_srcdir=$ac_pwd ;; ++ [\\/]* | ?:[\\/]* ) # Absolute name. ++ ac_srcdir=$srcdir$ac_dir_suffix; ++ ac_top_srcdir=$srcdir ++ ac_abs_top_srcdir=$srcdir ;; ++ *) # Relative name. ++ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ++ ac_top_srcdir=$ac_top_build_prefix$srcdir ++ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ++esac ++ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ++ ++ ++ case $ac_mode in ++ :F) ++ # ++ # CONFIG_FILE ++ # ++ ++_ACEOF ++ ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++# If the template does not know about datarootdir, expand it. ++# FIXME: This hack should be removed a few years after 2.60. ++ac_datarootdir_hack=; ac_datarootdir_seen= ++ac_sed_dataroot=' ++/datarootdir/ { ++ p ++ q ++} ++/@datadir@/p ++/@docdir@/p ++/@infodir@/p ++/@localedir@/p ++/@mandir@/p' ++case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ++*datarootdir*) ac_datarootdir_seen=yes;; ++*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ++$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ++_ACEOF ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ ac_datarootdir_hack=' ++ s&@datadir@&$datadir&g ++ s&@docdir@&$docdir&g ++ s&@infodir@&$infodir&g ++ s&@localedir@&$localedir&g ++ s&@mandir@&$mandir&g ++ s&\\\${datarootdir}&$datarootdir&g' ;; ++esac ++_ACEOF ++ ++# Neutralize VPATH when `$srcdir' = `.'. ++# Shell code in configure.ac might set extrasub. ++# FIXME: do we really want to maintain this feature? ++cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ++ac_sed_extra="$ac_vpsub ++$extrasub ++_ACEOF ++cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ++:t ++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b ++s|@configure_input@|$ac_sed_conf_input|;t t ++s&@top_builddir@&$ac_top_builddir_sub&;t t ++s&@top_build_prefix@&$ac_top_build_prefix&;t t ++s&@srcdir@&$ac_srcdir&;t t ++s&@abs_srcdir@&$ac_abs_srcdir&;t t ++s&@top_srcdir@&$ac_top_srcdir&;t t ++s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ++s&@builddir@&$ac_builddir&;t t ++s&@abs_builddir@&$ac_abs_builddir&;t t ++s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ++$ac_datarootdir_hack ++" ++eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ ++ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ++test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ++ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && ++ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ++ "$ac_tmp/out"`; test -z "$ac_out"; } && ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&5 ++$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ++which seems to be undefined. Please make sure it is defined" >&2;} ++ ++ rm -f "$ac_tmp/stdin" ++ case $ac_file in ++ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; ++ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; ++ esac \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ ;; ++ :H) ++ # ++ # CONFIG_HEADER ++ # ++ if test x"$ac_file" != x-; then ++ { ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" ++ } >"$ac_tmp/config.h" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ++$as_echo "$as_me: $ac_file is unchanged" >&6;} ++ else ++ rm -f "$ac_file" ++ mv "$ac_tmp/config.h" "$ac_file" \ ++ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ++ fi ++ else ++ $as_echo "/* $configure_input */" \ ++ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ ++ || as_fn_error $? "could not create -" "$LINENO" 5 ++ fi ++ ;; ++ ++ ++ esac ++ ++done # for ac_tag ++ ++ ++as_fn_exit 0 ++_ACEOF ++ac_clean_files=$ac_clean_files_save ++ ++test $ac_write_fail = 0 || ++ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 ++ ++ ++# configure is writing to config.log, and then calls config.status. ++# config.status does its own redirection, appending to config.log. ++# Unfortunately, on DOS this fails, as config.log is still kept open ++# by configure, so config.status won't be able to write to it; its ++# output is simply discarded. So we exec the FD to /dev/null, ++# effectively closing config.log, so it can be properly (re)opened and ++# appended to by config.status. When coming back to configure, we ++# need to make the FD available again. ++if test "$no_create" != yes; then ++ ac_cs_success=: ++ ac_config_status_args= ++ test "$silent" = yes && ++ ac_config_status_args="$ac_config_status_args --quiet" ++ exec 5>/dev/null ++ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ++ exec 5>>config.log ++ # Use ||, not &&, to avoid exiting from the if with $? = 1, which ++ # would make configure fail if this is the last instruction. ++ $ac_cs_success || as_fn_exit 1 ++fi ++if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ++$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ++fi ++ ++ +diff -Naurp pcp-5.3.7.orig/configure.ac pcp-5.3.7/configure.ac +--- pcp-5.3.7.orig/configure.ac 2022-10-26 16:42:20.919360403 +1100 ++++ pcp-5.3.7/configure.ac 2022-10-26 16:45:21.285093991 +1100 +@@ -201,11 +201,6 @@ AC_ARG_WITH([pmdasnmp], + [do_pmdasnmp=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-pmdasnmp=$withval"], + [do_pmdasnmp=check]) + +-AC_ARG_WITH([selinux], +- [AC_HELP_STRING([--with-selinux], +- [enable building of selinux package (default is on)])], +- [do_selinux=$withval; PACKAGE_CONFIGURE="$PACKAGE_CONFIGURE --with-selinux=$withval"], +- [do_selinux=check]) + dnl things set in the environment by Makepkgs never make it into an RPM + dnl build where the environment is stripped ... use a --with-foo=path + dnl construct to workaround this +@@ -2076,332 +2071,17 @@ fi + AC_SUBST(PMDA_POSTFIX,$pmda_postfix) + if $pmda_postfix; then AC_MSG_RESULT(yes); else AC_MSG_RESULT(no); fi + +-AC_CHECK_PROGS(SEINFO, seinfo) +-AC_SUBST(SEINFO) + AC_MSG_CHECKING([if selinux policy should be included]) + enable_selinux=false +-if test $target_os = mingw +-then +- : +-else +- AS_IF([test "x$do_selinux" != "xno"], [ +- for makefile in /usr/share/selinux/devel/Makefile +- do +- if test -f "$makefile" -a "x$SEINFO" != "x" +- then +- enable_selinux=true +- AC_MSG_RESULT(yes) +- fi +- done +- +- ]) +-fi +-test "$enable_selinux" = "false" && AC_MSG_RESULT(no) +-AC_SUBST(enable_selinux) +-AC_SUBST(pcp_selinux_dir) +- +-pcp_selinux_cap_userns_ptrace=false +-pcp_selinux_container_runtime=false +-pcp_selinux_nsfs=false +-pcp_selinux_docker_var_lib=false +-pcp_selinux_unreserved_port=false +-pcp_selinux_tracefs=false +-pcp_selinux_hostname_exec_map=false +-pcp_selinux_unconfined=false +-pcp_selinux_numad=false +-pcp_selinux_bpf=false +-pcp_selinux_dma_device=false +-pcp_selinux_files_list_non_auth_dirs=false +-pcp_selinux_container_var_run=false +-pcp_selinux_rpcbind_var_run=false +-pcp_selinux_virt_var_run=false +-pcp_selinux_proc_security=false +-pcp_selinux_sbd_exec=false +-pcp_selinux_capability2_syslog=false +-pcp_selinux_capability2_bpf=false +-pcp_selinux_icmp_socket_class=false +-pcp_selinux_glusterd_log=false +- +-pcp_selinux_initrc_tmp=false +-pcp_selinux_sudo_exec=false +-pcp_selinux_security=false +-pcp_selinux_chkpwd_exec=false +-pcp_selinux_initrc=false +-pcp_selinux_var_log=false +-pcp_selinux_lastlog=false +-pcp_selinux_xauth_exec=false +-pcp_selinux_logrotate=false +-pcp_selinux_faillog=false +-pcp_selinux_kmod_exec=false +-pcp_selinux_mdadm_conf=false +- +-pcp_selinux_netlink_selinux_socket_class=false +-pcp_selinux_netlink_audit_socket_class=false +-pcp_selinux_sock_file_class=false +-pcp_selinux_security_class=false +-pcp_selinux_dir_class=false +-pcp_selinux_rawip_socket_class=false +-pcp_selinux_netlink_generic_socket_class=false +-pcp_selinux_netlink_tcpdiag_socket_class=false +- +-AS_IF([test "x$enable_selinux" != "xfalse"], [ +- +- dnl new-style optional type tests ... seinfo once, then grep +- dnl note [[...]] needed to escape m4 handling of [...] +- dnl for type xyz_t we set pcp_selinux_xyz (note no trailing _t) +- +- seinfo -t >conftest.out +- +- dnl these ones are for pcpupstream.te +- +- grep '^[[ ]][[ ]]*container_runtime_t$' /dev/null \ +- && pcp_selinux_container_runtime=true +- grep '^[[ ]][[ ]]*nsfs_t$' /dev/null \ +- && pcp_selinux_nsfs=true +- grep '^[[ ]][[ ]]*docker_var_lib_t$' /dev/null \ +- && pcp_selinux_docker_var_lib=true +- grep '^[[ ]][[ ]]*unreserved_port_t$' /dev/null \ +- && pcp_selinux_unreserved_port=true +- grep '^[[ ]][[ ]]*tracefs_t$' /dev/null \ +- && pcp_selinux_tracefs=true +- grep '^[[ ]][[ ]]*unconfined_service_t$' /dev/null \ +- && pcp_selinux_unconfined=true +- grep '^[[ ]][[ ]]*numad_t$' /dev/null \ +- && pcp_selinux_numad=true +- grep '^[[ ]][[ ]]*container_var_run_t$' /dev/null \ +- && pcp_selinux_container_var_run=true +- grep '^[[ ]][[ ]]*rpcbind_var_run_t$' /dev/null \ +- && pcp_selinux_rpcbind_var_run=true +- grep '^[[ ]][[ ]]*virt_var_run_t$' /dev/null \ +- && pcp_selinux_virt_var_run=true +- grep '^[[ ]][[ ]]*proc_security_t$' /dev/null \ +- && pcp_selinux_proc_security=true +- grep '^[[ ]][[ ]]*sbd_exec_t$' /dev/null \ +- && pcp_selinux_sbd_exec=true +- grep '^[[ ]][[ ]]*kmod_exec_t$' /dev/null \ +- && pcp_selinux_kmod_exec=true +- grep '^[[ ]][[ ]]*dma_device_t$' /dev/null \ +- && pcp_selinux_dma_device=true +- grep '^[[ ]][[ ]]*glusterd_log_t$' /dev/null \ +- && pcp_selinux_glusterd_log=true +- grep '^[[ ]][[ ]]*mdadm_conf_t$' /dev/null \ +- && pcp_selinux_mdadm_conf=true +- +- dnl these ones are for pcpqa.te +- +- grep '^[[ ]][[ ]]*initrc_tmp_t$' /dev/null \ +- && pcp_selinux_initrc_tmp=true +- grep '^[[ ]][[ ]]*sudo_exec_t$' /dev/null \ +- && pcp_selinux_sudo_exec=true +- grep '^[[ ]][[ ]]*security_t$' /dev/null \ +- && pcp_selinux_security=true +- grep '^[[ ]][[ ]]*chkpwd_exec_t$' /dev/null \ +- && pcp_selinux_chkpwd_exec=true +- grep '^[[ ]][[ ]]*initrc_t$' /dev/null \ +- && pcp_selinux_initrc=true +- grep '^[[ ]][[ ]]*var_log_t$' /dev/null \ +- && pcp_selinux_var_log=true +- grep '^[[ ]][[ ]]*lastlog_t$' /dev/null \ +- && pcp_selinux_lastlog=true +- grep '^[[ ]][[ ]]*xauth_exec_t$' /dev/null \ +- && pcp_selinux_xauth_exec=true +- grep '^[[ ]][[ ]]*logrotate_t$' /dev/null \ +- && pcp_selinux_logrotate=true +- grep '^[[ ]][[ ]]*faillog_t$' /dev/null \ +- && pcp_selinux_faillog=true +- +- rm -f conftest.out +- +- seinfo --common >/dev/null 2>&1 +- if test $? -eq 0 ++AS_IF([test "xdo_selinux" != "xno"], [ ++ if test -f /usr/share/selinux/devel/Makefile + then +- seinfo_common_flag="--common" +- else +- seinfo_common_flag="" ++ enable_selinux=true ++ AC_MSG_RESULT(yes) + fi +- +- dnl classes need to be done one at a time +- dnl +- dnl If we're just looking for the class xyz we only need to +- dnl look at the first line of output from seinfo -x --class=xyz, +- dnl then we set pcp_selinux_xyz or pcp_selinux_xyz_class. +- dnl But if we're looking for a particular permission within a +- dnl class we need to look further into the seinfo output and +- dnl we set a variable name that is constructed from (possibly part +- dnl of) the class name _and_ the permission name +- +- dnl pcpupstream.te first +- +- seinfo -x --class=cap_userns $seinfo_common_flag 2>/dev/null \ +- | grep '^[[ ]][[ ]]*sys_ptrace$' >/dev/null \ +- && pcp_selinux_cap_userns_ptrace=true +- +- dnl need to look in two places for this one? +- dnl kenj- second one looks bad because --common is not always allowed, +- dnl which is what $seinfo_common is all about +- seinfo -x --class=file $seinfo_common_flag 2>/dev/null \ +- | grep '^[[ ]][[ ]]*map$' >/dev/null \ +- && pcp_selinux_hostname_exec_map=true +- seinfo -x --common file 2>/dev/null \ +- | grep '^[[ ]][[ ]]*map$' >/dev/null \ +- && pcp_selinux_hostname_exec_map=true +- +- seinfo -x --class=bpf $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)bpf$' >/dev/null \ +- && pcp_selinux_bpf=true +- +- seinfo -a 2>/dev/null \ +- | grep '^[[ ]][[ ]]*non_auth_file_type$' >/dev/null \ +- && pcp_selinux_files_list_non_auth_dirs=true +- +- seinfo -x --class=capability2 $seinfo_common_flag 2>/dev/null \ +- | grep '^[[ ]][[ ]]*syslog$' >/dev/null \ +- && pcp_selinux_capability2_syslog=true +- +- seinfo -x --class=capability2 $seinfo_common_flag 2>/dev/null \ +- | grep '^[[ ]][[ ]]*bpf$' >/dev/null \ +- && pcp_selinux_capability2_bpf=true +- +- seinfo -x --class=icmp_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)icmp_socket$' >/dev/null \ +- && pcp_selinux_icmp_socket_class=true +- +- seinfo -x --class=lockdown $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)lockdown$' >/dev/null \ +- && pcp_selinux_lockdown_class=true +- +- dnl these ones are for pcpqa.te +- +- seinfo -x --class=netlink_selinux_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)netlink_selinux_socket$' >/dev/null \ +- && pcp_selinux_netlink_selinux_socket_class=true +- +- seinfo -x --class=netlink_audit_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)netlink_audit_socket$' >/dev/null \ +- && pcp_selinux_netlink_audit_socket_class=true +- +- seinfo -x --class=sock_file $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)sock_file$' >/dev/null \ +- && pcp_selinux_sock_file_class=true +- +- seinfo -x --class=security $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)security$' >/dev/null \ +- && pcp_selinux_security_class=true +- +- dnl pcp_selinux_dir already used for something else, so name to +- dnl set is pcp_selinux_dir_class +- seinfo -x --class=dir $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)dir$' >/dev/null \ +- && pcp_selinux_dir_class=true +- +- seinfo -x --class=rawip_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)rawip_socket$' >/dev/null \ +- && pcp_selinux_rawip_socket_class=true +- +- seinfo -x --class=netlink_generic_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)netlink_generic_socket$' >/dev/null \ +- && pcp_selinux_netlink_generic_socket_class=true +- +- seinfo -x --class=netlink_tcpdiag_socket $seinfo_common_flag 2>/dev/null \ +- | egrep '^[[ ]][[ ]]*(class |)netlink_tcpdiag_socket$' >/dev/null \ +- && pcp_selinux_netlink_tcpdiag_socket_class=true +- + ]) +- +-dnl for pcpupstream.te +-AC_SUBST(pcp_selinux_cap_userns_ptrace) +-AC_SUBST(pcp_selinux_container_runtime) +-AC_SUBST(pcp_selinux_nsfs) +-AC_SUBST(pcp_selinux_docker_var_lib) +-AC_SUBST(pcp_selinux_unreserved_port) +-AC_SUBST(pcp_selinux_tracefs) +-AC_SUBST(pcp_selinux_hostname_exec_map) +-AC_SUBST(pcp_selinux_unconfined) +-AC_SUBST(pcp_selinux_numad) +-AC_SUBST(pcp_selinux_bpf) +-AC_SUBST(pcp_selinux_dma_device) +-AC_SUBST(pcp_selinux_files_list_non_auth_dirs) +-AC_SUBST(pcp_selinux_container_var_run) +-AC_SUBST(pcp_selinux_rpcbind_var_run) +-AC_SUBST(pcp_selinux_virt_var_run) +-AC_SUBST(pcp_selinux_proc_security) +-AC_SUBST(pcp_selinux_sbd_exec) +-AC_SUBST(pcp_selinux_capability2_syslog) +-AC_SUBST(pcp_selinux_capability2_bpf) +-AC_SUBST(pcp_selinux_icmp_socket_class) +-AC_SUBST(pcp_selinux_lockdown_class) +-AC_SUBST(pcp_selinux_glusterd_log) +- +-dnl for pcpqa.te +-AC_SUBST(pcp_selinux_initrc_tmp) +-AC_SUBST(pcp_selinux_sudo_exec) +-AC_SUBST(pcp_selinux_security) +-AC_SUBST(pcp_selinux_chkpwd_exec) +-AC_SUBST(pcp_selinux_initrc) +-AC_SUBST(pcp_selinux_var_log) +-AC_SUBST(pcp_selinux_lastlog) +-AC_SUBST(pcp_selinux_xauth_exec) +-AC_SUBST(pcp_selinux_logrotate) +-AC_SUBST(pcp_selinux_faillog) +-AC_SUBST(pcp_selinux_kmod_exec) +-AC_SUBST(pcp_selinux_mdadm_conf) +- +-AC_SUBST(pcp_selinux_netlink_selinux_socket_class) +-AC_SUBST(pcp_selinux_netlink_audit_socket_class) +-AC_SUBST(pcp_selinux_sock_file_class) +-AC_SUBST(pcp_selinux_security_class) +-AC_SUBST(pcp_selinux_dir_class) +-AC_SUBST(pcp_selinux_rawip_socket_class) +-AC_SUBST(pcp_selinux_netlink_generic_socket_class) +-AC_SUBST(pcp_selinux_netlink_tcpdiag_socket_class) +- +-dnl more work to do, these selinux macro are not always supported +-pcp_selinux_files_mmap_all_files=false +-pcp_selinux_logging_watch_all_log_dirs_path=false +-if test "x$enable_selinux" != "xfalse" +-then +- AC_MSG_CHECKING([for selinux files_mmap_all_files() macro]) +- cat <conftest.te +-module conftest 1.0; +-require { +- attribute file_type; +- attribute pcp_domain; +- class file { append create execute open read write unlink map }; +-} +-files_mmap_all_files(pcp_domain); +-End-of-File +- if make -f /usr/share/selinux/devel/Makefile conftest.pp >/dev/null 2>&1 +- then +- pcp_selinux_files_mmap_all_files=true +- AC_MSG_RESULT(yes) +- else +- AC_MSG_RESULT(no) +- fi +- dnl cleanup turds from selinux Makefile +- rm -f tmp/all_interfaces.conf tmp/conftest.* tmp/iferror.m4 +- +- AC_MSG_CHECKING([for selinux logging_watch_all_log_dirs_path() macro]) +- cat <conftest.te +-module conftest 1.0; +-require { +- attribute logfile; +- attribute pcp_domain; +- class dir { getattr search open watch }; +-} +-logging_watch_all_log_dirs_path(pcp_domain); +-End-of-File +- if make -f /usr/share/selinux/devel/Makefile conftest.pp >/dev/null 2>&1 +- then +- pcp_selinux_logging_watch_all_log_dirs_path=true +- AC_MSG_RESULT(yes) +- else +- AC_MSG_RESULT(no) +- fi +- dnl cleanup turds from selinux Makefile +- rm -f tmp/all_interfaces.conf tmp/conftest.* tmp/iferror.m4 +-fi +-AC_SUBST(pcp_selinux_files_mmap_all_files) +-AC_SUBST(pcp_selinux_logging_watch_all_log_dirs_path) ++test "$enable_selinux" = "false" && AC_MSG_RESULT(no) ++AC_SUBST(enable_selinux) + + dnl Checks for library functions. + AC_TYPE_SIGNAL +@@ -3453,6 +3133,11 @@ dnl shared PCP files (shareable for disk + pcp_share_dir=`eval echo $datarootdir/pcp` + pcp_share_dir=`eval echo $pcp_share_dir` + AC_SUBST(pcp_share_dir) ++ ++dnl security-enhanced-linux policy files ++pcp_selinux_dir=`eval echo $datarootdir/selinux` ++pcp_selinux_dir=`eval echo $pcp_selinux_dir` ++AC_SUBST(pcp_selinux_dir) + + dnl shared bash command completions + pcp_bashshare_dir=`eval echo $datarootdir/bash-completion` +@@ -3486,12 +3171,6 @@ pcp_pmdasadm_dir=`eval echo $libexecdir/ + pcp_pmdasadm_dir=`eval echo $pcp_pmdasadm_dir` + AC_SUBST(pcp_pmdasadm_dir) + +-pcp_selinux_dir=$pcp_var_dir/selinux +-AC_SUBST(pcp_selinux_dir) +-pcp_selinuxadm_dir=`eval echo $libexecdir/pcp/selinux` +-pcp_selinuxadm_dir=`eval echo $pcp_selinuxadm_dir` +-AC_SUBST(pcp_selinuxadm_dir) +- + dnl runtime shared libraries + pcp_lib_dir=`eval echo $libdir` + pcp_lib_dir=`eval echo $pcp_lib_dir` +diff -Naurp pcp-5.3.7.orig/qa/common pcp-5.3.7/qa/common +--- pcp-5.3.7.orig/qa/common 2021-07-29 13:09:29.000000000 +1000 ++++ pcp-5.3.7/qa/common 2022-10-26 16:45:21.290093928 +1100 +@@ -936,7 +936,7 @@ else + x=`dirname $x` + done + +- # if we have selinux, and it is enforcing then make sure the pcpqa ++ # if we have selinux, and it is enforcing then make sure the PCP QA + # policy module is installed + # + if which getenforce >/dev/null 2>&1 +@@ -944,17 +944,17 @@ else + case `getenforce` + in + Enforcing) +- if $sudo semodule -l | grep pcpqa >/dev/null ++ if $sudo semodule -l | grep pcp-testsuite >/dev/null + then + # nothing to do, module already installed + # ... to force a re-install, e.g. after the module + # has been updated, do +- # $ sudo semodule -r pcpqa ++ # $ sudo semodule -r pcp-testsuite + # first + # + : + else +- $sudo semodule -i pcpqa.pp ++ $sudo semodule -i pcp-testsuite.pp + fi + # and now any selinux booleans that help + # +diff -Naurp pcp-5.3.7.orig/qa/.gitignore pcp-5.3.7/qa/.gitignore +--- pcp-5.3.7.orig/qa/.gitignore 2022-10-26 16:42:20.920360390 +1100 ++++ pcp-5.3.7/qa/.gitignore 2022-10-26 16:45:21.286093978 +1100 +@@ -9,6 +9,8 @@ + /*.new + /*.raw + /*.log ++/*.bz2 ++tmp/* + big1.* + 134.full.* + 051.work/* +@@ -29,11 +31,8 @@ check.time + check.timings + localconfig + localconfig.h +-pcpqa.fc +-pcpqa.if + pcpqa.installed +-pcpqa.pp +-pcpqa.te ++pcp-testsuite.pp + qa_hosts + qa_outfiles + rc_cron_check.clean +diff -Naurp pcp-5.3.7.orig/qa/GNUmakefile pcp-5.3.7/qa/GNUmakefile +--- pcp-5.3.7.orig/qa/GNUmakefile 2022-10-26 16:42:20.920360390 +1100 ++++ pcp-5.3.7/qa/GNUmakefile 2022-10-26 16:45:21.286093978 +1100 +@@ -2,17 +2,15 @@ + # Copyright (c) 2015-2020 Red Hat. + # Copyright (c) 1997-2002 Silicon Graphics, Inc. All Rights Reserved. + # +-# NB: this GNUmakefile is only for use from within the PCP build tree. It governs +-# only the packaging of the testsuite into the $PCP_VAR_DIR/testsuite directory. +-# The nearby GNUmakefile.install file actually governs execution of the testsuite. ++# NB: this GNUmakefile is only for use from within the PCP build tree. ++# It manages packaging of the testsuite into the $PCP_VAR_DIR/testsuite ++# directory; GNUmakefile.install file manages execution of the testsuite. ++# + + TOPDIR = .. + include $(TOPDIR)/src/include/builddefs +--include ./GNUlocaldefs +-ifeq "$(ENABLE_SELINUX)" "true" +--include ./GNUselinuxdefs +-endif + ++IAM = pcp-testsuite + TESTDIR = $(PCP_VAR_DIR)/testsuite + TESTS = $(shell sed -n -e '/^[0-9][0-9]*:retired/d' -e '/^[0-9][0-9]*:reserved/d' -e '/^[0-9]/s/[ ].*//' -e '/^[0-9]/p' &1 | grep -v container.if ++ ++$(IAM).pp.bz2: $(IAM).pp ++ $(BZIP2) -9 < $^ > $@ ++endif ++ + # and do nothing if NNN.out is older than NNN + # + %.out: % +@@ -114,48 +129,3 @@ debug-me: + @echo SRCFILES=$(SRCFILES) + @echo CONFFILES=$(CONFFILES) + @echo SUBDIRS=$(SUBDIRS) +- @echo SELINUX_PCPQA=$(SELINUX_PCPQA) +- +-default_pcp default setup: $(SELINUX_PCPQA) +- +-pcpqa.te: GNUselinuxdefs pcpqa.te.in +- $(SED) pcpqa.te \ +- -e 's+@PCP_INITRC_TMP_T@+'$(PCP_INITRC_TMP_T)'+' \ +- -e 's+@PCP_INITRC_TMP_RULE_1@+'$(PCP_INITRC_TMP_RULE_1)'+' \ +- -e 's+@PCP_INITRC_TMP_RULE_2@+'$(PCP_INITRC_TMP_RULE_2)'+' \ +- -e 's+@PCP_SUDO_EXEC_T@+'$(PCP_SUDO_EXEC_T)'+' \ +- -e 's+@PCP_SUDO_EXEC_RULE@+'$(PCP_SUDO_EXEC_RULE)'+' \ +- -e 's+@PCP_SECURITY_T@+'$(PCP_SECURITY_T)'+' \ +- -e 's+@PCP_SECURITY_RULE@+'$(PCP_SECURITY_RULE)'+' \ +- -e 's+@PCP_CHKPWD_EXEC_T@+'$(PCP_CHKPWD_EXEC_T)'+' \ +- -e 's+@PCP_CHKPWD_EXEC_RULE@+'$(PCP_CHKPWD_EXEC_RULE)'+' \ +- -e 's+@PCP_INITRC_T@+'$(PCP_INITRC_T)'+' \ +- -e 's+@PCP_INITRC_RULE@+'$(PCP_INITRC_RULE)'+' \ +- -e 's+@PCP_VAR_LOG_T@+'$(PCP_VAR_LOG_T)'+' \ +- -e 's+@PCP_VAR_LOG_RULE@+'$(PCP_VAR_LOG_RULE)'+' \ +- -e 's+@PCP_LASTLOG_T@+'$(PCP_LASTLOG_T)'+' \ +- -e 's+@PCP_LASTLOG_RULE@+'$(PCP_LASTLOG_RULE)'+' \ +- -e 's+@PCP_XAUTH_EXEC_T@+'$(PCP_XAUTH_EXEC_T)'+' \ +- -e 's+@PCP_XAUTH_EXEC_RULE@+'$(PCP_XAUTH_EXEC_RULE)'+' \ +- -e 's+@PCP_LOGROTATE_T@+'$(PCP_LOGROTATE_T)'+' \ +- -e 's+@PCP_LOGROTATE_RULE_1@+'$(PCP_LOGROTATE_RULE_1)'+' \ +- -e 's+@PCP_LOGROTATE_RULE_2@+'$(PCP_LOGROTATE_RULE_2)'+' \ +- -e 's+@PCP_FAILLOG_T@+'$(PCP_FAILLOG_T)'+' \ +- -e 's+@PCP_FAILLOG_RULE@+'$(PCP_FAILLOG_RULE)'+' \ +- -e 's+@PCP_KMOD_EXEC_T@+'$(PCP_KMOD_EXEC_T)'+' \ +- -e 's+@PCP_KMOD_EXEC_RULE@+'$(PCP_KMOD_EXEC_RULE)'+' \ +- -e 's+@PCP_NETLINK_AUDIT_SOCKET_CLASS@+'$(PCP_NETLINK_AUDIT_SOCKET_CLASS)'+' \ +- -e 's+@PCP_NETLINK_AUDIT_SOCKET_RULE@+'$(PCP_NETLINK_AUDIT_SOCKET_RULE)'+' \ +- -e 's+@PCP_NETLINK_SELINUX_SOCKET_CLASS@+'$(PCP_NETLINK_SELINUX_SOCKET_CLASS)'+' \ +- -e 's+@PCP_NETLINK_SELINUX_SOCKET_RULE@+'$(PCP_NETLINK_SELINUX_SOCKET_RULE)'+' \ +- -e 's+@PCP_SOCK_FILE_CLASS@+'$(PCP_SOCK_FILE_CLASS)'+' \ +- -e 's+@PCP_SOCK_FILE_RULE@+'$(PCP_SOCK_FILE_RULE)'+' \ +- -e 's+@PCP_SECURITY_CLASS@+'$(PCP_SECURITY_CLASS)'+' \ +- -e 's+@PCP_SECURITY_RULE@+'$(PCP_SECURITY_RULE)'+' \ +- -e 's+@PCP_DIR_CLASS@+'$(PCP_DIR_CLASS)'+' \ +- -e 's+@PCP_DIR_RULE@+'$(PCP_DIR_RULE)'+' \ +- -e 's+@PCP_RAWIP_SOCKET_CLASS@+'$(PCP_RAWIP_SOCKET_CLASS)'+' \ +- -e 's+@PCP_RAWIP_SOCKET_RULE@+'$(PCP_RAWIP_SOCKET_RULE)'+' \ +- -e 's+@PCP_MAP_OP@+'$(PCP_MAP_OP)'+' \ +- -e 's+@PCP_MAP_RULE@+'$(PCP_MAP_RULE)'+' \ +- # end +diff -Naurp pcp-5.3.7.orig/qa/GNUmakefile.install pcp-5.3.7/qa/GNUmakefile.install +--- pcp-5.3.7.orig/qa/GNUmakefile.install 2022-10-26 16:42:20.920360390 +1100 ++++ pcp-5.3.7/qa/GNUmakefile.install 2022-10-26 16:45:21.286093978 +1100 +@@ -26,13 +26,13 @@ endif + + # Before installing the pcpqa policy module we need a PCP build with + # ENABLE_SELINUX set and we need the current SELinux mode to be +-# Enforcing or Permissive (not Disabled), and the pcpupstream policy ++# Enforcing or Permissive (not Disabled), and the latest pcp policy + # module needs to be loaded. + # + SELINUX_PCPQA = + ifeq "$(ENABLE_SELINUX)" "true" + ifneq "$(shell getenforce)" "Disabled" +-ifeq "$(shell if sudo semodule -l | grep '^pcpupstream[ ]*$$' >/dev/null; then echo OK; fi)" "OK" ++ifeq "$(shell if sudo semodule -lfull | grep '^200 pcp[ ]*pp$$' >/dev/null; then echo OK; fi)" "OK" + SELINUX_PCPQA = pcpqa.installed + endif + endif +@@ -64,16 +64,16 @@ install_pcp install: + include $(BUILDRULES) + + ifeq "$(ENABLE_SELINUX)" "true" +-pcpqa.installed: pcpqa.pp +- if sudo semodule -l | grep '^pcpqa[ ]*$$' >/dev/null; then sudo semodule -r pcpqa || true; fi +- sudo semodule -i pcpqa.pp ++pcpqa.installed: pcp-testsuite.pp.bz2 ++ if sudo semodule -lfull | grep '^200 pcp-testsuite[ ]*pp$$' >/dev/null; then sudo semodule -r pcp-testsuite || true; fi ++ sudo semodule -X 200 -i pcp-testsuite.pp + touch pcpqa.installed + +-pcpqa.pp: pcpqa.te +- make -f /usr/share/selinux/devel/Makefile pcpqa.pp ++pcp-testsuite.pp: pcp-testsuite.te ++ make -f /usr/share/selinux/devel/Makefile pcp-testsuite.pp + @# cleanup temp files from selinux Makefile +- @rm -f ./tmp/all_interfaces.conf ./tmp/iferror.m4 ./tmp/pcpqa.tmp ++ @rm -f ./tmp/all_interfaces.conf ./tmp/iferror.m4 ./tmp/pcp-testsuite.tmp + +-pcpqa.te: pcpqa.te.in GNUmakefile GNUselinuxdefs +- make pcpqa.te.in ++pcp-testsuite.pp.bz2: pcp-testsuite.pp ++ $(BZIP2) -9 < $^ > $@ + endif +diff -Naurp pcp-5.3.7.orig/qa/GNUselinuxdefs pcp-5.3.7/qa/GNUselinuxdefs +--- pcp-5.3.7.orig/qa/GNUselinuxdefs 2022-10-26 16:42:20.921360377 +1100 ++++ pcp-5.3.7/qa/GNUselinuxdefs 1970-01-01 10:00:00.000000000 +1000 +@@ -1,90 +0,0 @@ +-# SElinux platform-specific macros ... set in builddefs by configure +-# +- +-ifeq "$(PCP_SELINUX_INITRC_TMP)" "true" +-PCP_INITRC_TMP_T="type initrc_tmp_t;" +-ifeq "$(PCP_SELINUX_DIR_CLASS)" "true" +-PCP_INITRC_TMP_RULE_1="allow pcp_pmcd_t initrc_tmp_t:dir { add_name remove_name write };" +-endif +-PCP_INITRC_TMP_RULE_2="allow pcp_pmcd_t initrc_tmp_t:file { create unlink };" +-endif +- +-ifeq "$(PCP_SELINUX_SUDO_EXEC)" "true" +-PCP_SUDO_EXEC_T="type sudo_exec_t;" +-PCP_SUDO_EXEC_RULE="allow pcp_pmcd_t sudo_exec_t:file { execute execute_no_trans };" +-endif +- +-ifeq "$(PCP_SELINUX_SECURITY)" "true" +-PCP_SECURITY_T="type security_t;" +-PCP_SECURITY_RULE="allow pcp_pmcd_t security_t:security { compute_av };" +-endif +- +-ifeq "$(PCP_SELINUX_CHKPWD_EXEC)" "true" +-PCP_CHKPWD_EXEC_T="type chkpwd_exec_t;" +-PCP_CHKPWD_EXEC_RULE="allow pcp_pmcd_t chkpwd_exec_t:file { execute execute_no_trans };" +-endif +- +-ifeq "$(PCP_SELINUX_INITRC)" "true" +-PCP_INITRC_T="type initrc_t;" +-PCP_INITRC_RULE="allow pcp_pmcd_t initrc_t:process { signull };" +-endif +- +-ifeq "$(PCP_SELINUX_VAR_LOG)" "true" +-PCP_VAR_LOG_T="type var_log_t;" +-PCP_VAR_LOG_RULE="allow pcp_pmcd_t var_log_t:file { write };" +-endif +- +-ifeq "$(PCP_SELINUX_LASTLOG)" "true" +-PCP_LASTLOG_T="type lastlog_t;" +-PCP_LASTLOG_RULE="allow pcp_pmcd_t lastlog_t:file { write };" +-endif +- +-ifeq "$(PCP_SELINUX_XAUTH_EXEC)" "true" +-PCP_XAUTH_EXEC_T="type xauth_exec_t;" +-PCP_XAUTH_EXEC_RULE="allow pcp_pmcd_t xauth_exec_t:file { execute };" +-endif +- +-ifeq "$(PCP_SELINUX_LOGROTATE)" "true" +-PCP_LOGROTATE_T="type logrotate_t;" +-PCP_LOGROTATE_RULE_1="allow logrotate_t pcp_pmcd_t:process { signull };" +-PCP_LOGROTATE_RULE_2="allow pcp_pmcd_t logrotate_t:process { signull };" +-endif +- +-ifeq "$(PCP_SELINUX_FAILLOG)" "true" +-PCP_FAILLOG_T="type faillog_t;" +-PCP_FAILLOG_RULE="allow pcp_pmcd_t faillog_t:file { write };" +-endif +- +-ifeq "$(PCP_SELINUX_NETLINK_AUDIT_SOCKET_CLASS)" "true" +-PCP_NETLINK_AUDIT_SOCKET_CLASS="class netlink_audit_socket { create nlmsg_relay };" +-PCP_NETLINK_AUDIT_SOCKET_RULE="allow pcp_pmcd_t self:netlink_audit_socket { create nlmsg_relay };" +-endif +- +-ifeq "$(PCP_SELINUX_NETLINK_SELINUX_SOCKET_CLASS)" "true" +-PCP_NETLINK_SELINUX_SOCKET_CLASS="class netlink_selinux_socket { bind create };" +-PCP_NETLINK_SELINUX_SOCKET_RULE="allow pcp_pmcd_t self:netlink_selinux_socket { bind create };" +-endif +- +-ifeq "$(PCP_SELINUX_SOCK_FILE_CLASS)" "true" +-PCP_SOCK_FILE_CLASS="class sock_file { write };" +-PCP_SOCK_FILE_RULE="allow pcp_pmcd_t usr_t:sock_file { write };" +-endif +- +-ifeq "$(PCP_SELINUX_SECURITY_CLASS)" "true" +-PCP_SECURITY_CLASS="class security { compute_av };" +-endif +- +-ifeq "$(PCP_SELINUX_DIR_CLASS)" "true" +-PCP_DIR_CLASS="class dir { add_name remove_name write };" +-PCP_DIR_RULE="allow pcp_pmcd_t usr_t:dir { add_name remove_name write };" +-endif +- +-ifeq "$(PCP_SELINUX_RAWIP_SOCKET_CLASS)" "true" +-PCP_RAWIP_SOCKET_CLASS="class rawip_socket { create getopt setopt read write }; \# pmda.netcheck" +-PCP_RAWIP_SOCKET_RULE="allow pcp_pmcd_t self:rawip_socket { create getopt setopt read write };" +-endif +- +-ifeq "$(PCP_SELINUX_HOSTNAME_EXEC_MAP)" "true" +-PCP_MAP_OP="map" +-PCP_MAP_RULE="allow pcp_pmcd_t hostname_exec_t:file { map };" +-endif +diff -Naurp pcp-5.3.7.orig/qa/group pcp-5.3.7/qa/group +--- pcp-5.3.7.orig/qa/group 2022-10-26 16:42:20.921360377 +1100 ++++ pcp-5.3.7/qa/group 2022-10-26 16:45:21.287093966 +1100 +@@ -1363,7 +1363,7 @@ x11 + 914 libpcp threads local context_local context + 915 pmcd pmlogger pmproxy libpcp local pmlc + 916 pmlogextract pmlogcheck local kernel +-917 selinux local ++917:retired local + 918 pmcd local kernel + 919 pmlogger pmstat local pmdumplog + 920 logutil local +@@ -1386,7 +1386,7 @@ x11 + 937 derive local + 938 derive local kernel + 939 derive local kernel +-940 selinux local ++940:retired local + 941 pmcd local + 942 threads valgrind local helgrind + 943 pmprobe pmda.proc local +@@ -1587,7 +1587,7 @@ x11 + 1138 archive pmval multi-archive decompress-xz local pmlogextract kernel + 1139 pmrep python local kernel + 1140 pidstat local python pcp pmlogrewrite pmrep derive free +-1141 selinux local ++1141:retired local + 1142 pmie local kernel + 1143 pmie local + 1144 pmda.proc local +@@ -1696,7 +1696,7 @@ x11 + 1247 pmlogrewrite labels pmdumplog local pmlogextract + 1248 pmlogctl local + 1249 pmiectl local +-1250 selinux local ++1250:retired local + 1251 man local + 1252 derive local + 1253 derive local valgrind +@@ -1871,7 +1871,7 @@ x11 + 1603 pmproxy local + 1608 pmproxy local + 1613 pmda.linux kernel local +-1622 selinux local ++1622:retired local + 1623 libpcp_import collectl local + 1626 pmproxy libpcp_web local + 1627 libpcp_import local +diff -Naurp pcp-5.3.7.orig/qa/pcpqa.te.in pcp-5.3.7/qa/pcpqa.te.in +--- pcp-5.3.7.orig/qa/pcpqa.te.in 2022-10-26 16:42:20.921360377 +1100 ++++ pcp-5.3.7/qa/pcpqa.te.in 1970-01-01 10:00:00.000000000 +1000 +@@ -1,124 +0,0 @@ +-# Additional SELinux policy module for PCP QA ... this is for the +-# apps in the QA suite and/or additional apps or libraries (outside +-# PCP) that we use in exercising the PMDAs. +-# +-# This file is using the same form and same generation rule mechanisms +-# as pcpupstream.te ... +-# +-# Most of the hints in src/selinux/README apply here. +-# +- +-module pcpqa 1.0; +- +-require { +- type user_home_t; +- type hostname_exec_t; +- type pcp_pmcd_t; +- type usr_t; +- type user_tmp_t; +- +- @PCP_INITRC_TMP_T@ +- @PCP_SUDO_EXEC_T@ +- @PCP_SECURITY_T@ +- @PCP_CHKPWD_EXEC_T@ +- @PCP_INITRC_T@ +- @PCP_VAR_LOG_T@ +- @PCP_LASTLOG_T@ +- @PCP_XAUTH_EXEC_T@ +- @PCP_LOGROTATE_T@ +- @PCP_FAILLOG_T@ +- +- class file { @PCP_MAP_OP@ write }; +- class process { execstack signull }; +- class capability audit_write; +- class file { create execute execute_no_trans unlink write }; +- +- @PCP_NETLINK_SELINUX_SOCKET_CLASS@ +- @PCP_NETLINK_AUDIT_SOCKET_CLASS@ +- @PCP_SOCK_FILE_CLASS@ +- @PCP_SECURITY_CLASS@ +- @PCP_DIR_CLASS@ +- @PCP_RAWIP_SOCKET_CLASS@ +-} +- +-#============= pcp_pmcd_t ============== +- +-#type=AVC msg=audit(qa/255): avc: denied { map } for pid=10604 comm="broken_pmda_2_0" path="/home/kenj/src/pcp/qa/pmdas/broken/broken_pmda_2_0" dev="dm-0" ino=295211 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(qa/457): avc: denied { write } for pid=31411 comm="457.pipe" name="457.pipe.pid" dev="dm-0" ino=295231 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t user_home_t:file { @PCP_MAP_OP@ write }; +- +-#type=AVC msg=audit(qa/597): avc: denied { map } for pid=27238 comm="hostname" path="/usr/bin/hostname" dev="dm-0" ino=4735 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 +-@PCP_MAP_RULE@ +- +-# type=AVC msg=audit(qa/789) avc: denied { add_name } for pid=1 comm="java" name="???" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { add_name } for pid=1 comm="sh" name="???" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=dir permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { audit_write } for pid=1 comm="su" capability=29 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { audit_write } for pid=1 comm="sudo" capability=29 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { bind } for pid=1 comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_selinux_socket permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { compute_av } for pid=1 comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:security_t:s0 tclass=security permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { create } for pid=1 comm="java" name="???" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { create } for pid=1 comm="sh" name="???" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { create } for pid=1 comm="sudo" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_audit_socket permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { create } for pid=1 comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_audit_socket permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { create } for pid=1 comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_selinux_socket permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { execstack } for pid=1 comm="mysqladmin" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=process permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { execstack } for pid=1 comm="zmcontrol" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=process permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { execute } for pid=1 comm="sudo" name="???" dev="dm-0" ino=184658 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:chkpwd_exec_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { execute } for pid=1 comm="su" name="???" dev="dm-0" ino=27112925 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:xauth_exec_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { execute } for pid=1 comm="zmmailboxdctl" name="???" dev="dm-0" ino=26108789 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sudo_exec_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { execute_no_trans } for pid=1 comm="sudo" path="/usr/sbin/unix_chkpwd" dev="dm-0" ino=184658 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:chkpwd_exec_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { execute_no_trans } for pid=1 comm="zmmailboxdctl" path="/usr/bin/sudo" dev="dm-0" ino=26108789 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sudo_exec_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { nlmsg_relay } for pid=1 comm="sudo" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_audit_socket permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { nlmsg_relay } for pid=1 comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_audit_socket permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { remove_name } for pid=1 comm="java" name="???" dev="dm-0" ino=17244315 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { remove_name } for pid=1 comm="java" name="???" dev="dm-0" ino=17244318 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { remove_name } for pid=1 comm="zmcontrol" name="???" dev="dm-0" ino=84011089 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=dir permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { remove_name } for pid=1 comm="zmcontrol" name="???" dev="dm-0" ino=84011091 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=dir permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { signull } for pid=1 comm="java" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=process permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { signull } for pid=1 comm="ldap" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=process permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { signull } for pid=1 comm="zmmailboxdmgr" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=process permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { unlink } for pid=1 comm="java" name="???" dev="dm-0" ino=16958731 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { unlink } for pid=1 comm="java" name="???" dev="dm-0" ino=17244315 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { unlink } for pid=1 comm="zmcontrol" name="???" dev="dm-0" ino=84011089 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { unlink } for pid=1 comm="zmcontrol" name="???" dev="dm-0" ino=84011091 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="java" name="???" dev="dm-0" ino=16823010 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="mysqladmin" name="???" dev="dm-0" ino=67726017 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=sock_file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="sh" name="???" dev="dm-0" ino=83910251 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=dir permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="sh" name="???" dev="dm-0" ino=84011093 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="sh" path="/opt/zimbra/data/tmp/zmcontrol.status.61LsA" dev="dm-0" ino=84011089 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="sh" path="/opt/zimbra/data/tmp/zmcontrol.status.tS7mV" dev="dm-0" ino=84011089 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="su" name="???" dev="dm-0" ino=25509651 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:lastlog_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="zmcontrol" name="???" dev="dm-0" ino=50378719 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:var_log_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { signull } for pid=1 comm="java" scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=process permissive=1 +-# type=AVC msg=audit(qa/789) avc: denied { signull } for pid=1 comm="java" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tclass=process permissive=1 +-# type=AVC msg=audit(qa/1160) avc: denied { create } for pid=1 comm="ping" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=rawip_socket permissive=1 +-# type=AVC msg=audit(qa/1160) avc: denied { getopt } for pid=1 comm="ping" lport=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=rawip_socket permissive=1 +-# type=AVC msg=audit(qa/1160) avc: denied { setopt } for pid=1 comm="ping" lport=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=rawip_socket permissive=1 +-# +- +-allow pcp_pmcd_t self:capability audit_write; +-allow pcp_pmcd_t self:process execstack; +-allow pcp_pmcd_t usr_t:file { create unlink write }; +- +-@PCP_INITRC_TMP_RULE_1@ +-@PCP_INITRC_TMP_RULE_2@ +-@PCP_SUDO_EXEC_RULE@ +-@PCP_SECURITY_RULE@ +-@PCP_CHKPWD_EXEC_RULE@ +-@PCP_INITRC_RULE@ +-@PCP_VAR_LOG_RULE@ +-@PCP_LASTLOG_RULE@ +-@PCP_XAUTH_EXEC_RULE@ +-@PCP_LOGROTATE_RULE_1@ +-@PCP_LOGROTATE_RULE_2@ +-@PCP_NETLINK_AUDIT_SOCKET_RULE@ +-@PCP_NETLINK_SELINUX_SOCKET_RULE@ +-@PCP_SOCK_FILE_RULE@ +-@PCP_DIR_RULE@ +-@PCP_RAWIP_SOCKET_RULE@ +- +-# type=AVC msg=audit(qa/789): avc: denied { write } for pid=21132 comm="su" name="btmp" dev="dm-0" ino=25693341 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:faillog_t:s0 tclass=file permissive=0 +-@PCP_FAILLOG_RULE@ +- +-# type=AVC msg=audit(qa/805): avc: denied { execute execute_no_trans } for pid=73096 comm="perl" name="805-72044.qshape" dev="dm-0" ino=8538808 scontext=unconfined_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t user_tmp_t:file { execute execute_no_trans }; +diff -Naurp pcp-5.3.7.orig/qa/pcp-testsuite.fc pcp-5.3.7/qa/pcp-testsuite.fc +--- pcp-5.3.7.orig/qa/pcp-testsuite.fc 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/qa/pcp-testsuite.fc 2022-10-26 16:45:21.287093966 +1100 +@@ -0,0 +1,2 @@ ++ ++ +diff -Naurp pcp-5.3.7.orig/qa/pcp-testsuite.if pcp-5.3.7/qa/pcp-testsuite.if +--- pcp-5.3.7.orig/qa/pcp-testsuite.if 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/qa/pcp-testsuite.if 2022-10-26 16:45:21.287093966 +1100 +@@ -0,0 +1 @@ ++## qa +diff -Naurp pcp-5.3.7.orig/qa/pcp-testsuite.te pcp-5.3.7/qa/pcp-testsuite.te +--- pcp-5.3.7.orig/qa/pcp-testsuite.te 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/qa/pcp-testsuite.te 2022-10-26 16:45:21.287093966 +1100 +@@ -0,0 +1,199 @@ ++# ++# Additional SELinux policy module for PCP QA ... this is for the ++# apps in the QA suite and/or additional apps or libraries (outside ++# PCP) that we use in exercising the PMDAs. ++# ++# This file is using the same form and same optional rule mechanisms ++# as pcp.te - all of the hints in src/selinux/README apply here too. ++# ++ ++policy_module(pcp-testsuite, 2.0.0) ++ ++require { ++ type user_home_t; ++ type hostname_exec_t; ++ type pcp_pmcd_t; ++ type usr_t; ++ type user_tmp_t; ++ ++ class file { write }; ++ class process { execstack signull }; ++ class capability audit_write; ++ class file { create execute execute_no_trans unlink write }; ++} ++ ++#============= pcp_pmcd_t ============== ++# ++ ++# type=AVC msg=audit(qa/457): avc: denied { write } for pid=PID comm="457.pipe" name="457.pipe.pid" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t user_home_t:file { write }; ++ ++# type=AVC msg=audit(qa/805): avc: denied { execute execute_no_trans } for pid=73096 comm="perl" name="805-72044.qshape" dev=DEV ino=INO scontext=unconfined_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t user_tmp_t:file { execute execute_no_trans }; ++ ++# type=AVC msg=audit(qa/789) avc: denied { audit_write } for pid=1 comm="su" capability=29 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=1 ++# type=AVC msg=audit(qa/789) avc: denied { audit_write } for pid=1 comm="sudo" capability=29 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=1 ++allow pcp_pmcd_t self:capability audit_write; ++ ++# type=AVC msg=audit(qa/789) avc: denied { execstack } for pid=1 comm="mysqladmin" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=process permissive=1 ++# type=AVC msg=audit(qa/789) avc: denied { execstack } for pid=1 comm="zmcontrol" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=process permissive=1 ++allow pcp_pmcd_t self:process execstack; ++ ++# type=AVC msg=audit(qa/789) avc: denied { create } for pid=1 comm="sh" name="???" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(qa/789) avc: denied { unlink } for pid=1 comm="zmcontrol" name="???" dev="dm-0" ino=84011089 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(qa/789) avc: denied { unlink } for pid=1 comm="zmcontrol" name="???" dev="dm-0" ino=84011091 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="sh" name="???" dev="dm-0" ino=84011093 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="sh" path="/opt/zimbra/data/tmp/zmcontrol.status.61LsA" dev="dm-0" ino=84011089 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(qa/789) avc: denied { write } for pid=1 comm="sh" path="/opt/zimbra/data/tmp/zmcontrol.status.tS7mV" dev="dm-0" ino=84011089 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file permissive=1 ++allow pcp_pmcd_t usr_t:file { create unlink write }; ++ ++optional_policy(` ++ require { ++ class file { map }; ++ } ++ # type=AVC msg=audit(qa/255): avc: denied { map } for pid=PID comm="broken_pmda_2_0" path=".../broken_pmda_2_0" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0 ++ allow pcp_pmcd_t user_home_t:file { map }; ++ # type=AVC msg=audit(qa/597): avc: denied { map } for pid=PID comm="hostname" path="/usr/bin/hostname" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 ++ allow pcp_pmcd_t hostname_exec_t:file { map }; ++') ++ ++optional_policy(` ++ require { ++ type initrc_tmp_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { add_name } for pid=PID comm="java" name="???" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { remove_name } for pid=PID comm="java" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { remove_name } for pid=PID comm="java" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { write } for pid=PID comm="java" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=1 ++ allow pcp_pmcd_t initrc_tmp_t:dir { add_name remove_name write }; ++ # type=AVC msg=audit(qa/789) avc: denied { create } for pid=PID comm="java" name="???" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { unlink } for pid=PID comm="java" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { unlink } for pid=PID comm="java" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t initrc_tmp_t:file { create unlink }; ++') ++ ++optional_policy(` ++ require { ++ type sudo_exec_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { execute } for pid=PID comm="zmmailboxdctl" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sudo_exec_t:s0 tclass=file permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { execute_no_trans } for pid=PID comm="zmmailboxdctl" path="/usr/bin/sudo" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sudo_exec_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t sudo_exec_t:file { execute execute_no_trans }; ++') ++ ++optional_policy(` ++ require { ++ class security { compute_av }; ++ type security_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { compute_av } for pid=PID comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:security_t:s0 tclass=security permissive=1 ++ allow pcp_pmcd_t security_t:security { compute_av }; ++') ++ ++optional_policy(` ++ require { ++ type chkpwd_exec_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { execute } for pid=PID comm="sudo" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:chkpwd_exec_t:s0 tclass=file permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { execute_no_trans } for pid=PID comm="sudo" path="/usr/sbin/unix_chkpwd" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:chkpwd_exec_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t chkpwd_exec_t:file { execute execute_no_trans }; ++') ++ ++optional_policy(` ++ require { ++ type initrc_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { signull } for pid=PID comm="java" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=process permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { signull } for pid=PID comm="ldap" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=process permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { signull } for pid=PID comm="zmmailboxdmgr" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=process permissive=1 ++ allow pcp_pmcd_t initrc_t:process { signull }; ++') ++ ++optional_policy(` ++ require { ++ type var_log_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { write } for pid=PID comm="zmcontrol" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:var_log_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t var_log_t:file { write }; ++') ++ ++optional_policy(` ++ require { ++ type lastlog_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { write } for pid=PID comm="su" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:lastlog_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t lastlog_t:file { write }; ++') ++ ++optional_policy(` ++ require { ++ type xauth_exec_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { execute } for pid=PID comm="su" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:xauth_exec_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t xauth_exec_t:file { execute }; ++') ++ ++optional_policy(` ++ require { ++ type logrotate_t; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { signull } for pid=PID comm="java" scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=process permissive=1 ++ allow logrotate_t pcp_pmcd_t:process { signull }; ++ # type=AVC msg=audit(qa/789) avc: denied { signull } for pid=PID comm="java" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tclass=process permissive=1 ++ allow pcp_pmcd_t logrotate_t:process { signull }; ++') ++ ++optional_policy(` ++ require { ++ class netlink_audit_socket { create nlmsg_relay }; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { create } for pid=PID comm="sudo" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_audit_socket permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { nlmsg_relay } for pid=PID comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_audit_socket permissive=1 ++ allow pcp_pmcd_t self:netlink_audit_socket { create nlmsg_relay }; ++') ++ ++optional_policy(` ++ require { ++ class netlink_selinux_socket { bind create }; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { bind } for pid=PID comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_selinux_socket permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { create } for pid=PID comm="su" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_selinux_socket permissive=1 ++ allow pcp_pmcd_t self:netlink_selinux_socket { bind create }; ++') ++ ++optional_policy(` ++ require { ++ class sock_file { write }; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { write } for pid=PID comm="mysqladmin" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=sock_file permissive=1 ++ allow pcp_pmcd_t usr_t:sock_file { write }; ++') ++ ++optional_policy(` ++ require { ++ class dir { add_name remove_name write }; ++ } ++ # type=AVC msg=audit(qa/789) avc: denied { add_name } for pid=PID comm="sh" name="???" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=dir permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { remove_name } for pid=PID comm="zmcontrol" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=dir permissive=1 ++ # type=AVC msg=audit(qa/789) avc: denied { write } for pid=PID comm="sh" name="???" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:usr_t:s0 tclass=dir permissive=1 ++ allow pcp_pmcd_t usr_t:dir { add_name remove_name write }; ++') ++ ++optional_policy(` ++ require { ++ # pmda.netcheck ++ class rawip_socket { create getopt setopt read write }; ++ } ++ # type=AVC msg=audit(qa/1160) avc: denied { create } for pid=PID comm="ping" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=rawip_socket permissive=1 ++ # type=AVC msg=audit(qa/1160) avc: denied { getopt } for pid=PID comm="ping" lport=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=rawip_socket permissive=1 ++ # type=AVC msg=audit(qa/1160) avc: denied { setopt } for pid=PID comm="ping" lport=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=rawip_socket permissive=1 ++ allow pcp_pmcd_t self:rawip_socket { create getopt setopt read write }; ++') ++ ++# type=AVC msg=audit(qa/789): avc: denied { write } for pid=PID comm="su" name="btmp" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:faillog_t:s0 tclass=file permissive=0 ++optional_policy(` ++ require { ++ type faillog_t; ++ } ++ allow pcp_pmcd_t faillog_t:file { write }; ++') +diff -Naurp pcp-5.3.7.orig/src/include/builddefs.in pcp-5.3.7/src/include/builddefs.in +--- pcp-5.3.7.orig/src/include/builddefs.in 2022-10-26 16:42:20.922360365 +1100 ++++ pcp-5.3.7/src/include/builddefs.in 2022-10-26 16:45:21.287093966 +1100 +@@ -246,7 +246,6 @@ PCP_DESKTOP_DIR = @pcp_desktop_dir@ + PCP_PMNS_DIR = @pcp_pmns_dir@ + PCP_PMNSADM_DIR = @pcp_pmnsadm_dir@ + PCP_SELINUX_DIR = @pcp_selinux_dir@ +-PCP_SELINUXADM_DIR = @pcp_selinuxadm_dir@ + PCP_BASHSHARE_DIR = @pcp_bashshare_dir@ + + NEED_OLD_TBL_HEADER = @need_old_tbl_header@ +@@ -270,54 +269,6 @@ ENABLE_SELINUX = @enable_selinux@ + ENABLE_DECOMPRESSION = @enable_decompression@ + ENABLE_LZMA = @enable_lzma@ + +-# selinux configuration bits +-# pcpupstream.te +-PCP_SELINUX_FILES_LIST_NON_AUTH_DIRS = @pcp_selinux_files_list_non_auth_dirs@ +-PCP_SELINUX_CAP_USERNS_PTRACE = @pcp_selinux_cap_userns_ptrace@ +-PCP_SELINUX_CONTAINER_RUNTIME = @pcp_selinux_container_runtime@ +-PCP_SELINUX_NSFS = @pcp_selinux_nsfs@ +-PCP_SELINUX_DOCKER_VAR_LIB = @pcp_selinux_docker_var_lib@ +-PCP_SELINUX_UNRESERVED_PORT = @pcp_selinux_unreserved_port@ +-PCP_SELINUX_TRACEFS = @pcp_selinux_tracefs@ +-PCP_SELINUX_HOSTNAME_EXEC_MAP = @pcp_selinux_hostname_exec_map@ +-PCP_SELINUX_UNCONFINED = @pcp_selinux_unconfined@ +-PCP_SELINUX_NUMAD = @pcp_selinux_numad@ +-PCP_SELINUX_BPF = @pcp_selinux_bpf@ +-PCP_SELINUX_DMA_DEVICE = @pcp_selinux_dma_device@ +-PCP_SELINUX_CONTAINER_VAR_RUN = @pcp_selinux_container_var_run@ +-PCP_SELINUX_RPCBIND_VAR_RUN = @pcp_selinux_rpcbind_var_run@ +-PCP_SELINUX_VIRT_VAR_RUN = @pcp_selinux_virt_var_run@ +-PCP_SELINUX_PROC_SECURITY = @pcp_selinux_proc_security@ +-PCP_SELINUX_SBD_EXEC = @pcp_selinux_sbd_exec@ +-PCP_SELINUX_FILES_MMAP_ALL_FILES = @pcp_selinux_files_mmap_all_files@ +-PCP_SELINUX_LOGGING_WATCH_ALL_LOG_DIRS_PATH = @pcp_selinux_logging_watch_all_log_dirs_path@ +-PCP_SELINUX_CAPABILITY2_SYSLOG = @pcp_selinux_capability2_syslog@ +-PCP_SELINUX_CAPABILITY2_BPF = @pcp_selinux_capability2_bpf@ +-PCP_SELINUX_ICMP_SOCKET_CLASS = @pcp_selinux_icmp_socket_class@ +-PCP_SELINUX_LOCKDOWN_CLASS = @pcp_selinux_lockdown_class@ +-PCP_SELINUX_GLUSTERD_LOG = @pcp_selinux_glusterd_log@ +-# pcpqa.te +-PCP_SELINUX_INITRC_TMP = @pcp_selinux_initrc_tmp@ +-PCP_SELINUX_SUDO_EXEC = @pcp_selinux_sudo_exec@ +-PCP_SELINUX_SECURITY = @pcp_selinux_security@ +-PCP_SELINUX_CHKPWD_EXEC = @pcp_selinux_chkpwd_exec@ +-PCP_SELINUX_INITRC = @pcp_selinux_initrc@ +-PCP_SELINUX_VAR_LOG = @pcp_selinux_var_log@ +-PCP_SELINUX_LASTLOG = @pcp_selinux_lastlog@ +-PCP_SELINUX_XAUTH_EXEC = @pcp_selinux_xauth_exec@ +-PCP_SELINUX_LOGROTATE = @pcp_selinux_logrotate@ +-PCP_SELINUX_FAILLOG = @pcp_selinux_faillog@ +-PCP_SELINUX_KMOD_EXEC = @pcp_selinux_kmod_exec@ +-PCP_SELINUX_NETLINK_SELINUX_SOCKET_CLASS = @pcp_selinux_netlink_selinux_socket_class@ +-PCP_SELINUX_NETLINK_AUDIT_SOCKET_CLASS = @pcp_selinux_netlink_audit_socket_class@ +-PCP_SELINUX_SOCK_FILE_CLASS = @pcp_selinux_sock_file_class@ +-PCP_SELINUX_SECURITY_CLASS = @pcp_selinux_security_class@ +-PCP_SELINUX_DIR_CLASS = @pcp_selinux_dir_class@ +-PCP_SELINUX_RAWIP_SOCKET_CLASS = @pcp_selinux_rawip_socket_class@ +-PCP_SELINUX_NETLINK_GENERIC_SOCKET_CLASS = @pcp_selinux_netlink_generic_socket_class@ +-PCP_SELINUX_NETLINK_TCPDIAG_SOCKET_CLASS = @pcp_selinux_netlink_tcpdiag_socket_class@ +-PCP_SELINUX_MDADM_CONF = @pcp_selinux_mdadm_conf@ +- + # for code supporting any modern version of perl + HAVE_PERL = @have_perl@ + +diff -Naurp pcp-5.3.7.orig/src/pmdas/kvm/kvmstat.c pcp-5.3.7/src/pmdas/kvm/kvmstat.c +--- pcp-5.3.7.orig/src/pmdas/kvm/kvmstat.c 2021-10-13 10:48:28.000000000 +1100 ++++ pcp-5.3.7/src/pmdas/kvm/kvmstat.c 2022-10-26 16:45:21.290093928 +1100 +@@ -2,7 +2,7 @@ + * Configurable Kernel Virtual Machine (KVM) PMDA + * + * Copyright (c) 2018 Fujitsu. +- * Copyright (c) 2018,2020 Red Hat. ++ * Copyright (c) 2018,2020,2022 Red Hat. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the +@@ -37,6 +37,8 @@ static pmdaNameSpace *pmns; + static char *username; + static char helppath[MAXPATHLEN]; + ++static int perf_event_setup(void); ++ + static int ntrace; + static char **trace_nametab; + static int ncpus; +@@ -271,6 +273,8 @@ kvm_trace_refresh(void) + size_t bufsize = ksize + sizeof(unsigned long long); + int i, sts, changed = 0; + ++ perf_event_setup(); ++ + if (ntrace == 0 || group_fd == NULL || kernel_lockdown) + return; + +@@ -380,9 +384,33 @@ perf_event(void) + closedir(dir); + return sts; + } ++ ++static int ++perf_event_setup(void) ++{ ++ static int setup; ++ ++ if (setup) ++ return setup; ++ setup = 1; ++ ++ if (tmetrictab != metrictab) { ++ int sts; ++ ++ group_fd = calloc(ncpus, sizeof(int)); ++ if ((sts = perf_event()) < 0) { ++ pmNotifyErr(LOG_INFO, "disabling perf_event support: %s", ++ pmErrStr(sts)); ++ free(group_fd); ++ group_fd = NULL; ++ } ++ } ++ return 0; ++} ++ + #else + static int +-perf_event(void) ++perf_event_setup(void) + { + return -EOPNOTSUPP; + } +@@ -698,16 +726,6 @@ kvm_init(pmdaInterface *dp) + tmetrics = nmetrics; + } + +- if (tmetrictab != metrictab) { +- group_fd = calloc(ncpus, sizeof(int)); +- if ((sts = perf_event()) < 0) { +- pmNotifyErr(LOG_INFO, "disabling perf_event support: %s", +- pmErrStr(sts)); +- free(group_fd); +- group_fd = NULL; +- } +- } +- + dp->version.seven.fetch = kvm_fetch; + dp->version.seven.label = kvm_label; + dp->version.seven.text = kvm_text; +diff -Naurp pcp-5.3.7.orig/src/selinux/.gitignore pcp-5.3.7/src/selinux/.gitignore +--- pcp-5.3.7.orig/src/selinux/.gitignore 2022-10-26 16:42:20.922360365 +1100 ++++ pcp-5.3.7/src/selinux/.gitignore 2022-10-26 16:45:21.288093953 +1100 +@@ -1,4 +1,4 @@ ++*.bz2 + *.cil +-*.te + *.pp + tmp +diff -Naurp pcp-5.3.7.orig/src/selinux/GNUlocaldefs pcp-5.3.7/src/selinux/GNUlocaldefs +--- pcp-5.3.7.orig/src/selinux/GNUlocaldefs 2022-10-26 16:42:20.923360352 +1100 ++++ pcp-5.3.7/src/selinux/GNUlocaldefs 1970-01-01 10:00:00.000000000 +1000 +@@ -1,158 +0,0 @@ +-ifeq "$(PCP_SELINUX_CONTAINER_RUNTIME)" "true" +-PCP_CONTAINER_RUNTIME_T="type container_runtime_t;" +-PCP_CONTAINER_RUNTIME_RULE="allow pcp_pmcd_t container_runtime_t:unix_stream_socket connectto;" +-else +-PCP_CONTAINER_RUNTIME_RULE="" +-PCP_CONTAINER_RUNTIME_T="" +-endif +- +-ifeq "$(PCP_SELINUX_NSFS)" "true" +-PCP_NSFS_T="type nsfs_t; \# filesys.used" +-PCP_NSFS_RULE="allow pcp_pmcd_t nsfs_t:file { read open getattr };" +-endif +- +-ifeq "$(PCP_SELINUX_DOCKER_VAR_LIB)" "true" +-PCP_DOCKER_VAR_LIB_T="type docker_var_lib_t;" +-PCP_DOCKER_VAR_LIB_RULE="allow pcp_pmcd_t docker_var_lib_t:dir search;" +-else +-PCP_DOCKER_VAR_LIB_T="" +-PCP_DOCKER_VAR_LIB_RULE="" +-endif +- +-ifeq "$(PCP_SELINUX_CAP_USERNS_PTRACE)" "true" +-PCP_CAPUSERNS_PTRACE="class cap_userns sys_ptrace; \# pmda.proc" +-PCP_CAPUSERNS_PTRACE_RULE_PMIE="allow pcp_pmie_t self:cap_userns sys_ptrace;" +-PCP_CAPUSERNS_PTRACE_RULE_PMCD="allow pcp_pmcd_t self:cap_userns sys_ptrace;" +-endif +- +-ifeq "$(PCP_SELINUX_UNRESERVED_PORT)" "true" +-PCP_UNRESERVED_PORT="type unreserved_port_t;" +-PCP_UNRESERVED_PORT_RULE_TCP="allow pcp_pmcd_t unreserved_port_t:tcp_socket { name_bind name_connect };" +-PCP_UNRESERVED_PORT_RULE_UDP="allow pcp_pmcd_t unreserved_port_t:udp_socket { name_bind };" +-PCP_UNRESERVED_PORT_RULE_PMLOGGER="allow pcp_pmlogger_t unreserved_port_t:tcp_socket { name_bind };" +-endif +- +-ifeq "$(PCP_SELINUX_TRACEFS)" "true" +-PCP_TRACEFS="type tracefs_t;" +-PCP_TRACEFS_FS_RULE="allow pcp_pmcd_t tracefs_t:filesystem mount;" +-PCP_TRACEFS_DIR_RULE="allow pcp_pmcd_t tracefs_t:dir { search read open };" +-PCP_TRACEFS_FILE_RULE="allow pcp_pmcd_t tracefs_t:file { getattr read open append write };" +-endif +- +-ifeq "$(PCP_SELINUX_HOSTNAME_EXEC_MAP)" "true" +-PCP_HOSTNAME_EXEC_MAP="map" +-PCP_TMP_MAP="map" +-PCP_FSADM_EXEC_MAP="map" +-PCP_SYSLOGD_VAR_RUN_MAP_RULE="allow pcp_pmcd_t syslogd_var_run_t:file map;" +-PCP_LDCONFIG_EXEC_MAP_RULE="allow pcp_pmcd_t ldconfig_exec_t:file map;" +-PCP_DEFAULT_MAP_RULE="allow pcp_pmcd_t default_t:file { map execute };" +-endif +- +-ifeq "$(PCP_SELINUX_FILES_MMAP_ALL_FILES)" "true" +-PCP_MMAP_ALL="files_mmap_all_files(pcp_domain);" +-endif +- +-ifeq "$(PCP_SELINUX_LOGGING_WATCH_ALL_LOG_DIRS_PATH)" "true" +-PCP_WATCH_ALL="logging_watch_all_log_dirs_path(pcp_domain);" +-PCP_WATCH_JOURNAL="logging_watch_journal_dir(pcp_domain);" +-endif +- +-ifeq "$(PCP_SELINUX_UNCONFINED)" "true" +-PCP_UNCONFINED_SERVICE="type unconfined_service_t;" +-PCP_PMLOGGER_UNCONFINED_SERVICE_RULE="allow pcp_pmlogger_t unconfined_service_t:process signal;" +-PCP_PMIE_UNCONFINED_SERVICE_RULE="allow pcp_pmie_t unconfined_service_t:process signal;" +-PCP_PMCD_UNCONFINED_SERVICE_RULE="allow pcp_pmcd_t unconfined_service_t:process signull;" +-endif +- +-ifeq "$(PCP_SELINUX_NUMAD)" "true" +-PCP_NUMAD_CONTEXT="type numad_t;" +-PCP_NUMAD_RULE="allow pcp_pmcd_t numad_t:msgq unix_read;" +-endif +- +-ifeq "$(PCP_SELINUX_BPF)" "true" +-PCP_BPF_CLASS="class bpf { map_create map_read map_write prog_load prog_run };" +-PCP_BPF_RULE="allow pcp_pmcd_t self:bpf { map_create map_read map_write prog_load prog_run };" +-endif +- +-ifeq "$(PCP_SELINUX_DMA_DEVICE)" "true" +-PCP_DMA_DEVICE="type dma_device_t;" +-PCP_DMA_DEVICE_RULE="allow pcp_pmcd_t dma_device_t:dir getattr;" +-endif +- +-ifeq "$(PCP_SELINUX_FILES_LIST_NON_AUTH_DIRS)" "true" +-PCP_SELINUX_MACRO_RULE="files_list_non_auth_dirs\(pcp_domain\)" +-else +-PCP_SELINUX_MACRO_RULE="files_list_non_security\(pcp_domain\)" +-endif +- +-ifeq "$(PCP_SELINUX_CONTAINER_VAR_RUN)" "true" +-PCP_CONTAINER_VAR_RUN_T="type container_var_run_t; \# pmda.podman" +-PCP_CONTAINER_VAR_RUN_RULE="allow pcp_pmcd_t container_var_run_t:sock_file { getattr write };" +-endif +- +-ifeq "$(PCP_SELINUX_RPCBIND_VAR_RUN)" "true" +-PCP_RPCBIND_VAR_RUN_T="type rpcbind_var_run_t; \# pmda.shping" +-PCP_RPCBIND_VAR_RUN_RULE="allow pcp_pmcd_t rpcbind_var_run_t:sock_file write;" +-endif +- +-ifeq "$(PCP_SELINUX_VIRT_VAR_RUN)" "true" +-PCP_VIRT_VAR_RUN_T="type virt_var_run_t; \# pmda.libvirt" +-PCP_VIRT_VAR_RUN_RULE="allow pcp_pmcd_t virt_var_run_t:sock_file write;" +-endif +- +-ifeq "$(PCP_SELINUX_PROC_SECURITY)" "true" +-PCP_PROC_SECURITY_T="type proc_security_t;" +-PCP_PROC_SECURITY_RULE="allow pcp_pmcd_t proc_security_t:file { getattr open read };" +-endif +- +-ifeq "$(PCP_SELINUX_SBD_EXEC)" "true" +-PCP_SBD_EXEC_T="type sbd_exec_t;" +-PCP_SBD_EXEC_RULE="allow pcp_pmcd_t sbd_exec_t:file { execute execute_no_trans };" +-endif +- +-ifeq "$(PCP_SELINUX_CAPABILITY2_SYSLOG)" "true" +-PCP_CAPABILITY2_SYSLOG_CLASS="class capability2 { syslog };" +-PCP_CAPABILITY2_SYSLOG_RULE="allow pcp_pmcd_t self:capability2 syslog;" +-endif +- +-ifeq "$(PCP_SELINUX_CAPABILITY2_BPF)" "true" +-PCP_CAPABILITY2_BPF_CLASS="class capability2 { bpf };" +-PCP_CAPABILITY2_BPF_RULE="allow pcp_pmcd_t self:capability2 bpf;" +-endif +- +-ifeq "$(PCP_SELINUX_ICMP_SOCKET_CLASS)" "false" +-ifeq "$(PCP_SELINUX_RAWIP_SOCKET_CLASS)" "true" +-PCP_RAWIP_SOCKET_CLASS="class rawip_socket { create getopt setopt read write }; \# pmda.netcheck" +-PCP_RAWIP_SOCKET_RULE="allow pcp_pmcd_t self:rawip_socket { create getopt setopt read write };" +-endif +-endif +- +-ifeq "$(PCP_SELINUX_ICMP_SOCKET_CLASS)" "true" +-PCP_ICMP_SOCKET_CLASS="class icmp_socket { create getopt setopt read write }; \# pmda.netcheck" +-PCP_ICMP_SOCKET_RULE="allow pcp_pmcd_t self:icmp_socket { create getopt setopt read write };" +-endif +- +-ifeq "$(PCP_SELINUX_NETLINK_GENERIC_SOCKET_CLASS)" "true" +-PCP_NETLINK_GENERIC_SOCKET_CLASS="class netlink_generic_socket { bind create getattr setopt write read };" +-PCP_NETLINK_GENERIC_SOCKET_RULE="allow pcp_pmcd_t self:netlink_generic_socket { bind create getattr setopt write read };" +-endif +- +-ifeq "$(PCP_SELINUX_NETLINK_TCPDIAG_SOCKET_CLASS)" "true" +-PCP_NETLINK_TCPDIAG_SOCKET_CLASS="class netlink_tcpdiag_socket { bind create getattr nlmsg_read setopt };" +-PCP_NETLINK_TCPDIAG_SOCKET_RULE="allow pcp_pmcd_t self:netlink_tcpdiag_socket { bind create getattr nlmsg_read setopt };" +-endif +- +-ifeq "$(PCP_SELINUX_LOCKDOWN_CLASS)" "true" +-PCP_LOCKDOWN_CLASS="class lockdown { integrity }; \# pmda.kvm" +-PCP_LOCKDOWN_RULE="allow pcp_pmcd_t self:lockdown integrity;" +-endif +- +-ifeq "$(PCP_SELINUX_KMOD_EXEC)" "true" +-PCP_KMOD_EXEC_T="type kmod_exec_t;" +-PCP_KMOD_EXEC_RULE="allow pcp_pmcd_t kmod_exec_t:file { execute execute_no_trans };" +-endif +- +-ifeq "$(PCP_SELINUX_MDADM_CONF)" "true" +-PCP_MDADM_CONF_T="type mdadm_conf_t;" +-PCP_MDADM_CONF_RULE="allow pcp_pmcd_t mdadm_conf_t:file { getattr open read };" +-endif +diff -Naurp pcp-5.3.7.orig/src/selinux/GNUmakefile pcp-5.3.7/src/selinux/GNUmakefile +--- pcp-5.3.7.orig/src/selinux/GNUmakefile 2022-10-26 16:42:20.923360352 +1100 ++++ pcp-5.3.7/src/selinux/GNUmakefile 2022-10-26 16:45:21.288093953 +1100 +@@ -14,111 +14,26 @@ + + TOPDIR = ../.. + include $(TOPDIR)/src/include/builddefs +-ifeq "$(ENABLE_SELINUX)" "true" +--include ./GNUlocaldefs +-endif +-IAM = pcpupstream +- +-LDIRT = $(IAM).cil $(IAM).pp $(IAM).mod $(IAM).te tmp \ +- $(IAM)-docker.cil $(IAM)-docker.pp $(IAM)-docker.mod \ +- $(IAM)-container.cil $(IAM)-container.pp $(IAM)-container.mod ++IAM = pcp + ++LDIRT = $(IAM).cil $(IAM).mod $(IAM).pp $(IAM).pp.bz2 ++LDIRDIRT = tmp + + default: build-me + + include $(BUILDRULES) + + ifeq "$(ENABLE_SELINUX)" "true" +-build-me: $(IAM).te selinux-setup.sh ++build-me: $(IAM).pp.bz2 + +-$(IAM).te: $(IAM).te.in +- $(SED) <$< >$@ \ +- -e 's+@PCP_CONTAINER_RUNTIME_T@+'$(PCP_CONTAINER_RUNTIME_T)'+' \ +- -e 's+@PCP_CONTAINER_RUNTIME_RULE@+'$(PCP_CONTAINER_RUNTIME_RULE)'+' \ +- -e 's+@PCP_NSFS_T@+'$(PCP_NSFS_T)'+' \ +- -e 's+@PCP_NSFS_RULE@+'$(PCP_NSFS_RULE)'+' \ +- -e 's+@PCP_DOCKER_VAR_LIB_T@+'$(PCP_DOCKER_VAR_LIB_T)'+' \ +- -e 's+@PCP_DOCKER_VAR_LIB_RULE@+'$(PCP_DOCKER_VAR_LIB_RULE)'+' \ +- -e 's+@PCP_CAPUSERNS_PTRACE@+'$(PCP_CAPUSERNS_PTRACE)'+' \ +- -e 's+@PCP_CAPUSERNS_PTRACE_RULE_PMIE@+'$(PCP_CAPUSERNS_PTRACE_RULE_PMIE)'+' \ +- -e 's+@PCP_CAPUSERNS_PTRACE_RULE_PMCD@+'$(PCP_CAPUSERNS_PTRACE_RULE_PMCD)'+' \ +- -e 's+@PCP_UNRESERVED_PORT@+'$(PCP_UNRESERVED_PORT)'+' \ +- -e 's+@PCP_UNRESERVED_PORT_RULE_TCP@+'$(PCP_UNRESERVED_PORT_RULE_TCP)'+' \ +- -e 's+@PCP_UNRESERVED_PORT_RULE_UDP@+'$(PCP_UNRESERVED_PORT_RULE_UDP)'+' \ +- -e 's+@PCP_UNRESERVED_PORT_RULE_PMLOGGER@+'$(PCP_UNRESERVED_PORT_RULE_PMLOGGER)'+' \ +- -e 's+@PCP_TRACEFS@+'$(PCP_TRACEFS)'+' \ +- -e 's+@PCP_TRACEFS_FS_RULE@+'$(PCP_TRACEFS_FS_RULE)'+' \ +- -e 's+@PCP_TRACEFS_DIR_RULE@+'$(PCP_TRACEFS_DIR_RULE)'+' \ +- -e 's+@PCP_TRACEFS_FILE_RULE@+'$(PCP_TRACEFS_FILE_RULE)'+' \ +- -e 's+@PCP_HOSTNAME_EXEC_MAP@+'$(PCP_HOSTNAME_EXEC_MAP)'+' \ +- -e 's+@PCP_TMP_MAP@+'$(PCP_TMP_MAP)'+' \ +- -e 's+@PCP_DEFAULT_MAP_RULE@+'$(PCP_DEFAULT_MAP_RULE)'+' \ +- -e 's+@PCP_LDCONFIG_EXEC_MAP_RULE@+'$(PCP_LDCONFIG_EXEC_MAP_RULE)'+' \ +- -e 's+@PCP_SYSLOGD_VAR_RUN_MAP_RULE@+'$(PCP_SYSLOGD_VAR_RUN_MAP_RULE)'+' \ +- -e 's+@PCP_UNCONFINED_SERVICE@+'$(PCP_UNCONFINED_SERVICE)'+' \ +- -e 's+@PCP_UNCONFINED_SERVICE_RULE@+'$(PCP_UNCONFINED_SERVICE_RULE)'+' \ +- -e 's+@PCP_PMCD_UNCONFINED_SERVICE_RULE@+'$(PCP_PMCD_UNCONFINED_SERVICE_RULE)'+' \ +- -e 's+@PCP_PMIE_UNCONFINED_SERVICE_RULE@+'$(PCP_PMIE_UNCONFINED_SERVICE_RULE)'+' \ +- -e 's+@PCP_PMLOGGER_UNCONFINED_SERVICE_RULE@+'$(PCP_PMLOGGER_UNCONFINED_SERVICE_RULE)'+' \ +- -e 's+@PCP_NUMAD_CONTEXT@+'$(PCP_NUMAD_CONTEXT)'+' \ +- -e 's+@PCP_NUMAD_RULE@+'$(PCP_NUMAD_RULE)'+' \ +- -e 's+@PCP_FSADM_EXEC_MAP@+'$(PCP_FSADM_EXEC_MAP)'+' \ +- -e 's+@PCP_MMAP_ALL@+'$(PCP_MMAP_ALL)'+' \ +- -e 's+@PCP_WATCH_ALL@+'$(PCP_WATCH_ALL)'+' \ +- -e 's+@PCP_WATCH_JOURNAL@+'$(PCP_WATCH_JOURNAL)'+' \ +- -e 's+@PCP_DMA_DEVICE@+'$(PCP_DMA_DEVICE)'+' \ +- -e 's+@PCP_DMA_DEVICE_RULE@+'$(PCP_DMA_DEVICE_RULE)'+' \ +- -e 's+@PCP_BPF_CLASS@+'$(PCP_BPF_CLASS)'+' \ +- -e 's+@PCP_BPF_RULE@+'$(PCP_BPF_RULE)'+' \ +- -e 's+@PCP_VIRT_VAR_RUN_T@+'$(PCP_VIRT_VAR_RUN_T)'+' \ +- -e 's+@PCP_VIRT_VAR_RUN_RULE@+'$(PCP_VIRT_VAR_RUN_RULE)'+' \ +- -e 's+@PCP_RPCBIND_VAR_RUN_T@+'$(PCP_RPCBIND_VAR_RUN_T)'+' \ +- -e 's+@PCP_RPCBIND_VAR_RUN_RULE@+'$(PCP_RPCBIND_VAR_RUN_RULE)'+' \ +- -e 's+@PCP_CONTAINER_VAR_RUN_T@+'$(PCP_CONTAINER_VAR_RUN_T)'+' \ +- -e 's+@PCP_CONTAINER_VAR_RUN_RULE@+'$(PCP_CONTAINER_VAR_RUN_RULE)'+' \ +- -e 's+@PCP_PROC_SECURITY_T@+'$(PCP_PROC_SECURITY_T)'+' \ +- -e 's+@PCP_PROC_SECURITY_RULE@+'$(PCP_PROC_SECURITY_RULE)'+' \ +- -e 's+@PCP_SBD_EXEC_T@+'$(PCP_SBD_EXEC_T)'+' \ +- -e 's+@PCP_SBD_EXEC_RULE@+'$(PCP_SBD_EXEC_RULE)'+' \ +- -e 's+@PCP_CAPABILITY2_SYSLOG_CLASS@+'$(PCP_CAPABILITY2_SYSLOG_CLASS)'+' \ +- -e 's+@PCP_CAPABILITY2_SYSLOG_RULE@+'$(PCP_CAPABILITY2_SYSLOG_RULE)'+' \ +- -e 's+@PCP_CAPABILITY2_BPF_CLASS@+'$(PCP_CAPABILITY2_BPF_CLASS)'+' \ +- -e 's+@PCP_CAPABILITY2_BPF_RULE@+'$(PCP_CAPABILITY2_BPF_RULE)'+' \ +- -e 's+@PCP_RAWIP_SOCKET_CLASS@+'$(PCP_RAWIP_SOCKET_CLASS)'+' \ +- -e 's+@PCP_RAWIP_SOCKET_RULE@+'$(PCP_RAWIP_SOCKET_RULE)'+' \ +- -e 's+@PCP_ICMP_SOCKET_CLASS@+'$(PCP_ICMP_SOCKET_CLASS)'+' \ +- -e 's+@PCP_ICMP_SOCKET_RULE@+'$(PCP_ICMP_SOCKET_RULE)'+' \ +- -e 's+@PCP_LOCKDOWN_CLASS@+'$(PCP_LOCKDOWN_CLASS)'+' \ +- -e 's+@PCP_LOCKDOWN_RULE@+'$(PCP_LOCKDOWN_RULE)'+' \ +- -e 's+@PCP_NETLINK_GENERIC_SOCKET_CLASS@+'$(PCP_NETLINK_GENERIC_SOCKET_CLASS)'+' \ +- -e 's+@PCP_NETLINK_GENERIC_SOCKET_RULE@+'$(PCP_NETLINK_GENERIC_SOCKET_RULE)'+' \ +- -e 's+@PCP_NETLINK_TCPDIAG_SOCKET_CLASS@+'$(PCP_NETLINK_TCPDIAG_SOCKET_CLASS)'+' \ +- -e 's+@PCP_NETLINK_TCPDIAG_SOCKET_RULE@+'$(PCP_NETLINK_TCPDIAG_SOCKET_RULE)'+' \ +- -e 's+@PCP_KMOD_EXEC_T@+'$(PCP_KMOD_EXEC_T)'+' \ +- -e 's+@PCP_KMOD_EXEC_RULE@+'$(PCP_KMOD_EXEC_RULE)'+' \ +- -e 's+@PCP_MDADM_CONF_T@+'$(PCP_MDADM_CONF_T)'+' \ +- -e 's+@PCP_MDADM_CONF_RULE@+'$(PCP_MDADM_CONF_RULE)'+' \ +- -e 's+@PCP_SELINUX_MACRO_RULE@+'$(PCP_SELINUX_MACRO_RULE)'+' \ +- -e 's+@PACKAGE_VERSION@+'$(PACKAGE_VERSION)'+' \ +- +- # END +- make -f /usr/share/selinux/devel/Makefile ++PACKAGES_SELINUX_DIR = $(PCP_SELINUX_DIR)/packages ++TARGETED_SELINUX_DIR = $(PCP_SELINUX_DIR)/packages/targeted + + install: default +- $(INSTALL) -m 755 selinux-setup.sh $(PCP_BINADM_DIR)/selinux-setup +- $(INSTALL) -m 755 -d $(PCP_SELINUXADM_DIR) + $(INSTALL) -m 755 -d $(PCP_SELINUX_DIR) +- $(INSTALL) -m 644 -t $(PCP_SELINUX_DIR)/$(IAM).pp $(IAM).pp $(PCP_SELINUXADM_DIR)/$(IAM).pp +- $(INSTALL) -m 644 -t $(PCP_SELINUX_DIR)/$(IAM).te $(IAM).te $(PCP_SELINUXADM_DIR)/$(IAM).te +-ifneq "$(PCP_DOCKER_VAR_LIB)" "" +- $(INSTALL) -m 644 -t $(PCP_SELINUX_DIR)/$(IAM)-docker.pp $(IAM)-docker.pp $(PCP_SELINUXADM_DIR)/$(IAM)-docker.pp +- $(INSTALL) -m 644 -t $(PCP_SELINUX_DIR)/$(IAM)-docker.te $(IAM)-docker.te $(PCP_SELINUXADM_DIR)/$(IAM)-docker.te +-endif +-ifneq "$(PCP_CONTAINER_RUNTIME_T)" "" +- $(INSTALL) -m 644 -t $(PCP_SELINUX_DIR)/$(IAM)-container.pp $(IAM)-container.pp $(PCP_SELINUXADM_DIR)/$(IAM)-container.pp +- $(INSTALL) -m 644 -t $(PCP_SELINUX_DIR)/$(IAM)-container.te $(IAM)-container.te $(PCP_SELINUXADM_DIR)/$(IAM)-container.te +-endif +- ++ $(INSTALL) -m 755 -d $(PACKAGES_SELINUX_DIR) ++ $(INSTALL) -m 755 -d $(TARGETED_SELINUX_DIR) ++ $(INSTALL) -m 644 $(IAM).pp.bz2 $(TARGETED_SELINUX_DIR)/$(IAM).pp.bz2 + else + build-me: + install: +@@ -127,3 +42,11 @@ endif + default_pcp: default + + install_pcp : install ++ ++$(IAM).pp: $(IAM).te $(IAM).fc $(IAM).if ++ # lots of duplicate definition from system container.if - filter out ++ $(MAKE) -f /usr/share/selinux/devel/Makefile $(IAM).pp 2>&1 | grep -v container.if ++ ++$(IAM).pp.bz2: $(IAM).pp ++ $(BZIP2) -9 < $^ > $@ ++ +diff -Naurp pcp-5.3.7.orig/src/selinux/next-xxx-yyy pcp-5.3.7/src/selinux/next-xxx-yyy +--- pcp-5.3.7.orig/src/selinux/next-xxx-yyy 2022-10-26 16:42:20.923360352 +1100 ++++ pcp-5.3.7/src/selinux/next-xxx-yyy 1970-01-01 10:00:00.000000000 +1000 +@@ -1,24 +0,0 @@ +-#!/bin/sh +-# +-# Get next XXX. and YYY.>NN> unique id for msg=audit(...) in +-# pcpupstream.te.in +-# +- +-for tag in XXX YYY +-do +- last=`grep msg= pcpupstream.te.in \ +- | sed -n \ +- -e '/audit('$tag/{' +-s/.*audit('$tag'\.// +-s/).*//p +-}' \ +- | sort -nr \ +- | head -1` +- if [ -z "$last" ] +- then +- echo "Botch: cannot find highest for $tag." +- exit 1 +- fi +- last=`expr $last + 1` +- echo "$tag.$last" +-done +diff -Naurp pcp-5.3.7.orig/src/selinux/pcp.fc pcp-5.3.7/src/selinux/pcp.fc +--- pcp-5.3.7.orig/src/selinux/pcp.fc 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/src/selinux/pcp.fc 2022-10-26 16:45:21.288093953 +1100 +@@ -0,0 +1,36 @@ ++/etc/rc\.d/init\.d/pmcd -- gen_context(system_u:object_r:pcp_pmcd_initrc_exec_t,s0) ++/etc/rc\.d/init\.d/pmlogger -- gen_context(system_u:object_r:pcp_pmlogger_initrc_exec_t,s0) ++/etc/rc\.d/init\.d/pmproxy -- gen_context(system_u:object_r:pcp_pmproxy_initrc_exec_t,s0) ++/etc/rc\.d/init\.d/pmie -- gen_context(system_u:object_r:pcp_pmie_initrc_exec_t,s0) ++ ++/usr/bin/pmie -- gen_context(system_u:object_r:pcp_pmie_exec_t,s0) ++/usr/bin/pmcd -- gen_context(system_u:object_r:pcp_pmcd_exec_t,s0) ++/usr/bin/pmlogger -- gen_context(system_u:object_r:pcp_pmlogger_exec_t,s0) ++/usr/bin/pmproxy -- gen_context(system_u:object_r:pcp_pmproxy_exec_t,s0) ++ ++ ++/usr/libexec/pcp/bin/pmcd -- gen_context(system_u:object_r:pcp_pmcd_exec_t,s0) ++/usr/libexec/pcp/bin/pmlogger -- gen_context(system_u:object_r:pcp_pmlogger_exec_t,s0) ++/usr/libexec/pcp/bin/pmproxy -- gen_context(system_u:object_r:pcp_pmproxy_exec_t,s0) ++/usr/libexec/pcp/bin/pmie -- gen_context(system_u:object_r:pcp_pmie_exec_t,s0) ++ ++/usr/libexec/pcp/lib/pmcd -- gen_context(system_u:object_r:pcp_pmcd_initrc_exec_t,s0) ++/usr/libexec/pcp/lib/pmlogger -- gen_context(system_u:object_r:pcp_pmlogger_initrc_exec_t,s0) ++/usr/libexec/pcp/lib/pmproxy -- gen_context(system_u:object_r:pcp_pmproxy_initrc_exec_t,s0) ++/usr/libexec/pcp/lib/pmie -- gen_context(system_u:object_r:pcp_pmie_initrc_exec_t,s0) ++ ++/usr/share/pcp/lib/pmie -- gen_context(system_u:object_r:pcp_pmie_exec_t,s0) ++ ++/usr/share/pcp/lib/pmlogger -- gen_context(system_u:object_r:pcp_pmlogger_exec_t,s0) ++ ++/var/lib/pcp(/.*)? gen_context(system_u:object_r:pcp_var_lib_t,s0) ++ ++/var/lib/pcp/pmdas/.*/Install -- gen_context(system_u:object_r:pcp_plugin_exec_t,s0) ++/var/lib/pcp/pmdas/.*/Remove -- gen_context(system_u:object_r:pcp_plugin_exec_t,s0) ++/var/lib/pcp/pmdas/.*/Upgrade -- gen_context(system_u:object_r:pcp_plugin_exec_t,s0) ++ ++/var/log/pcp(/.*)? gen_context(system_u:object_r:pcp_log_t,s0) ++ ++/var/run/pcp(/.*)? gen_context(system_u:object_r:pcp_var_run_t,s0) ++/var/run/pmcd\.socket -- gen_context(system_u:object_r:pcp_var_run_t,s0) ++/var/run/pmlogger\.primary\.socket -l gen_context(system_u:object_r:pcp_var_run_t,s0) +diff -Naurp pcp-5.3.7.orig/src/selinux/pcp.if pcp-5.3.7/src/selinux/pcp.if +--- pcp-5.3.7.orig/src/selinux/pcp.if 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/src/selinux/pcp.if 2022-10-27 13:17:16.258858295 +1100 +@@ -0,0 +1,417 @@ ++## The pcp command summarizes the status of a Performance Co-Pilot (PCP) installation ++ ++###################################### ++## ++## Creates types and rules for a basic ++## pcp daemon domain. ++## ++## ++## ++## Prefix for the domain. ++## ++## ++# ++ifndef(`pcp_domain_template',` ++ template(`pcp_domain_template',` ++ gen_require(` ++ attribute pcp_domain; ++ ') ++ ++ type pcp_$1_t, pcp_domain; ++ type pcp_$1_exec_t; ++ init_daemon_domain(pcp_$1_t, pcp_$1_exec_t) ++ ++ type pcp_$1_initrc_exec_t; ++ init_script_file(pcp_$1_initrc_exec_t) ++ ++ auth_use_nsswitch(pcp_$1_t) ++ ++ optional_policy(` ++ cron_system_entry(pcp_$1_t, pcp_$1_exec_t) ++ ') ++ ') ++') ++ ++###################################### ++## ++## Allow domain to read pcp lib files ++## ++## ++## ++## Prefix for the domain. ++## ++## ++# ++ifndef(`pcp_read_lib_files',` ++ interface(`pcp_read_lib_files',` ++ gen_require(` ++ type pcp_var_lib_t; ++ ') ++ files_search_var_lib($1) ++ read_files_pattern($1,pcp_var_lib_t,pcp_var_lib_t) ++ ') ++') ++ ++######################################## ++## ++## All of the rules required to administrate ++## an pcp environment ++## ++## ++## ++## Domain allowed access. ++## ++## ++## ++# ++ifndef(`pcp_admin',` ++ interface(`pcp_admin',` ++ gen_require(` ++ type pcp_pmcd_t; ++ type pcp_pmlogger_t; ++ type pcp_pmproxy_t; ++ type pcp_pmie_t; ++ type pcp_var_run_t; ++ ') ++ ++ allow $1 pcp_pmcd_t:process signal_perms; ++ ps_process_pattern($1, pcp_pmcd_t) ++ ++ allow $1 pcp_pmlogger_t:process signal_perms; ++ ps_process_pattern($1, pcp_pmlogger_t) ++ ++ allow $1 pcp_pmproxy_t:process signal_perms; ++ ps_process_pattern($1, pcp_pmproxy_t) ++ ++ allow $1 pcp_pmie_t:process signal_perms; ++ ps_process_pattern($1, pcp_pmie_t) ++ ++ tunable_policy(`deny_ptrace',`',` ++ allow $1 pcp_pmcd_t:process ptrace; ++ allow $1 pcp_pmlogger_t:process ptrace; ++ allow $1 pcp_pmproxy_t:process ptrace; ++ allow $1 pcp_pmie_t:process ptrace; ++ ') ++ ++ files_search_pids($1) ++ admin_pattern($1, pcp_var_run_t) ++ ') ++') ++ ++######################################## ++## ++## Allow the specified domain to execute pcp_pmie ++## in the caller domain. ++## ++## ++## ++## Domain allowed to transition. ++## ++## ++# ++ifndef(`pcp_pmie_exec',` ++ interface(`pcp_pmie_exec',` ++ gen_require(` ++ type pcp_pmie_exec_t; ++ ') ++ ++ corecmd_search_bin($1) ++ can_exec($1, pcp_pmie_exec_t) ++ ') ++') ++ ++######################################## ++## ++## Allow the specified domain to execute pcp_pmlogger ++## in the caller domain. ++## ++## ++## ++## Domain allowed to transition. ++## ++## ++# ++ifndef(`pcp_pmlogger_exec',` ++ interface(`pcp_pmlogger_exec',` ++ gen_require(` ++ type pcp_pmlogger_exec_t; ++ ') ++ ++ corecmd_search_bin($1) ++ can_exec($1, pcp_pmlogger_exec_t) ++ ') ++') ++ ++####################################### ++## ++## Transition to pcp named content ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`pcp_filetrans_named_content',` ++ interface(`pcp_filetrans_named_content',` ++ gen_require(` ++ type pcp_var_run_t; ++ ') ++ files_pid_filetrans($1, pcp_var_run_t, dir, "pcp") ++ ') ++') ++ ++####################################### ++## ++## Allow the specified domain to write to pcp sock file ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`pcp_write_pid_sock_file',` ++ interface(`pcp_write_pid_sock_file',` ++ gen_require(` ++ type pcp_var_run_t; ++ ') ++ files_search_pids($1) ++ write_sock_files_pattern($1, pcp_var_run_t, pcp_var_run_t) ++ ') ++') ++ ++######################################## ++## ++## Search process accounting data. ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`acct_search_data',` ++ interface(`acct_search_data',` ++ gen_require(` ++ type acct_data_t; ++ ') ++ ++ search_dirs_pattern($1, acct_data_t, acct_data_t) ++ ') ++') ++ ++######################################## ++## ++## Manage container lib files. ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`container_manage_lib_files',` ++ interface(`container_manage_lib_files',` ++ gen_require(` ++ type container_var_lib_t; ++ ') ++ ++ files_search_var_lib($1) ++ manage_files_pattern($1, container_var_lib_t, container_var_lib_t) ++ manage_lnk_files_pattern($1, container_var_lib_t, container_var_lib_t) ++ ') ++') ++ ++######################################## ++## ++## Mmap all files. ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`files_mmap_all_files',` ++ interface(`files_mmap_all_files',` ++ gen_require(` ++ attribute file_type; ++ ') ++ ++ allow $1 file_type:file map; ++ ') ++') ++ ++########################################### ++## ++## Watch the root directory. ++## ++## ++## ++## Domain allowed access ++## ++## ++# ++ifndef(`files_watch_root_dirs',` ++ interface(`files_watch_root_dirs',` ++ gen_require(` ++ type root_t; ++ ') ++ ++ allow $1 root_t:dir { getattr open read }; ++ ') ++') ++ ++######################################## ++## ++## Watch generic directories in /var. ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`files_watch_var_dirs',` ++ interface(`files_watch_var_dirs',` ++ gen_require(` ++ type var_t; ++ ') ++ ++ allow var_t var_t:dir search_dir_perms; ++ allow var_t var_t:dir { getattr open read }; ++ ') ++') ++ ++######################################## ++## ++## Search tracefs_t directories ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`fs_search_tracefs_dirs',` ++ interface(`fs_search_tracefs_dirs',` ++ gen_require(` ++ type tracefs_t; ++ ') ++ ++ search_dirs_pattern($1, tracefs_t, tracefs_t) ++ ') ++') ++ ++######################################## ++## ++## Manage glusterd log files ++## ++## ++## ++## Domain allowed access. ++## ++## ++# Definition ensuring compatibility with systems that do not have this interface ++# type=AVC msg=audit(N): avc: denied { open read write } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:glusterd_log_t:s0 tclass=file permissive=0 ++ifndef(`glusterd_manage_log',` ++ interface(`glusterd_manage_log',` ++ gen_require(` ++ type glusterd_log_t; ++ ') ++ ++ logging_search_logs($1) ++ manage_dirs_pattern($1, glusterd_log_t, glusterd_log_t) ++ manage_files_pattern($1, glusterd_log_t, glusterd_log_t) ++ manage_lnk_files_pattern($1, glusterd_log_t, glusterd_log_t) ++ ') ++') ++ ++######################################## ++## ++## Allow the caller manage perf_event ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`kernel_manage_perf_event',` ++ interface(`kernel_manage_perf_event',` ++ # manage_perf_event_perms unavailable on el7 ++ ifdef(`manage_perf_event_perms',` ++ gen_require(` ++ type $1; ++ ') ++ # perfmon, lockdown unavailable on el8 ++ # allow $1 self:capability2 perfmon; ++ # allow $1 self:lockdown confidentiality; ++ allow $1 self:perf_event manage_perf_event_perms; ++ ') ++ ') ++') ++ ++####################################### ++## ++## Watch all directories in the path for log directories. ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`logging_watch_all_log_dirs_path',` ++ interface(`logging_watch_all_log_dirs_path',` ++ gen_require(` ++ attribute logfile; ++ ') ++ ++ files_watch_root_dirs($1) ++ files_search_var($1) ++ files_watch_var_dirs($1) ++ allow $1 logfile:dir { search_dir_perms getattr open read }; ++ ') ++') ++ ++####################################### ++## ++## Watch the /run/log/journal directory. ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`logging_watch_journal_dir',` ++ interface(`logging_watch_journal_dir',` ++ gen_require(` ++ type syslogd_var_run_t; ++ ') ++ ++ allow $1 syslogd_var_run_t:dir { getattr open read }; ++ ') ++') ++ ++######################################## ++## ++## Send a signals to rpm. ++## ++## ++## ++## Domain allowed access. ++## ++## ++# ++ifndef(`rpm_script_signal',` ++ interface(`rpm_script_signal',` ++ gen_require(` ++ type rpm_script_t; ++ ') ++ ++ allow $1 rpm_script_t:process signal; ++ ') ++') +diff -Naurp pcp-5.3.7.orig/src/selinux/pcp.te pcp-5.3.7/src/selinux/pcp.te +--- pcp-5.3.7.orig/src/selinux/pcp.te 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/src/selinux/pcp.te 2022-10-26 16:45:21.289093941 +1100 +@@ -0,0 +1,986 @@ ++policy_module(pcp, 2.0.0) ++ ++######################################## ++# ++# Declarations ++# ++ ++ ++## ++##

++## Allow pcp to bind to all unreserved_ports ++##

++##
++gen_tunable(pcp_bind_all_unreserved_ports, false) ++ ++## ++##

++## Allow pcp to read generic logs ++##

++##
++gen_tunable(pcp_read_generic_logs, false) ++ ++attribute pcp_domain; ++ ++pcp_domain_template(pmcd) ++pcp_domain_template(pmlogger) ++pcp_domain_template(pmproxy) ++pcp_domain_template(pmie) ++pcp_domain_template(plugin) ++ ++type pcp_log_t; ++logging_log_file(pcp_log_t) ++ ++type pcp_var_lib_t; ++files_type(pcp_var_lib_t) ++ ++type pcp_var_run_t; ++files_pid_file(pcp_var_run_t) ++ ++type pcp_tmp_t; ++files_tmp_file(pcp_tmp_t) ++ ++type pcp_tmpfs_t; ++files_tmpfs_file(pcp_tmpfs_t) ++ ++######################################## ++# ++# pcp domain local policy ++# ++ ++allow pcp_domain self:capability { setuid setgid dac_read_search }; ++allow pcp_domain self:process signal_perms; ++allow pcp_domain self:tcp_socket create_stream_socket_perms; ++allow pcp_domain self:udp_socket create_socket_perms; ++allow pcp_domain self:netlink_route_socket create_socket_perms; ++allow pcp_domain self:unix_stream_socket connectto; ++ ++corenet_tcp_connect_all_ephemeral_ports(pcp_domain) ++ ++manage_dirs_pattern(pcp_domain, pcp_log_t, pcp_log_t) ++manage_files_pattern(pcp_domain, pcp_log_t, pcp_log_t) ++logging_log_filetrans(pcp_domain, pcp_log_t, { dir }) ++ ++manage_dirs_pattern(pcp_domain, pcp_var_lib_t, pcp_var_lib_t) ++manage_files_pattern(pcp_domain, pcp_var_lib_t, pcp_var_lib_t) ++manage_sock_files_pattern(pcp_domain, pcp_var_lib_t, pcp_var_lib_t) ++manage_lnk_files_pattern(pcp_domain, pcp_var_lib_t, pcp_var_lib_t) ++exec_files_pattern(pcp_domain, pcp_var_lib_t, pcp_var_lib_t) ++files_var_lib_filetrans(pcp_domain, pcp_var_lib_t, { dir}) ++ ++manage_dirs_pattern(pcp_domain, pcp_var_run_t, pcp_var_run_t) ++manage_files_pattern(pcp_domain, pcp_var_run_t, pcp_var_run_t) ++manage_sock_files_pattern(pcp_domain, pcp_var_run_t, pcp_var_run_t) ++manage_lnk_files_pattern(pcp_domain, pcp_var_run_t, pcp_var_run_t) ++files_pid_filetrans(pcp_domain, pcp_var_run_t, { dir file sock_file lnk_file }) ++ ++manage_dirs_pattern(pcp_domain, pcp_tmp_t, pcp_tmp_t) ++manage_files_pattern(pcp_domain, pcp_tmp_t, pcp_tmp_t) ++manage_sock_files_pattern(pcp_domain, pcp_tmp_t, pcp_tmp_t) ++files_tmp_filetrans(pcp_domain, pcp_tmp_t, { dir file sock_file }) ++ ++manage_dirs_pattern(pcp_domain, pcp_tmpfs_t, pcp_tmpfs_t) ++manage_files_pattern(pcp_domain, pcp_tmpfs_t, pcp_tmpfs_t) ++fs_tmpfs_filetrans(pcp_domain, pcp_tmpfs_t, { dir file }) ++can_exec(pcp_domain, pcp_tmpfs_t) ++ ++dev_read_urand(pcp_domain) ++ ++files_read_etc_files(pcp_domain) ++ ++fs_getattr_all_fs(pcp_domain) ++ ++miscfiles_read_generic_certs(pcp_domain) ++ ++sysnet_read_config(pcp_domain) ++ ++tunable_policy(`pcp_bind_all_unreserved_ports',` ++ corenet_sendrecv_all_server_packets(pcp_pmcd_t) ++ corenet_sendrecv_all_server_packets(pcp_pmlogger_t) ++ corenet_tcp_bind_all_unreserved_ports(pcp_pmcd_t) ++ corenet_tcp_bind_all_unreserved_ports(pcp_pmlogger_t) ++') ++ ++ ++######################################## ++# ++# pcp_pmcd local policy ++# ++ ++allow pcp_pmcd_t self:capability { dac_read_search dac_override ipc_owner net_admin sys_admin sys_ptrace }; ++allow pcp_pmcd_t self:process { setsched }; ++allow pcp_pmcd_t self:unix_dgram_socket create_socket_perms; ++allow pcp_pmcd_t self:cap_userns sys_ptrace; ++ ++kernel_get_sysvipc_info(pcp_pmcd_t) ++kernel_manage_perf_event(pcp_pmcd_t) ++kernel_read_debugfs(pcp_pmcd_t) ++kernel_read_network_state(pcp_pmcd_t) ++kernel_read_system_state(pcp_pmcd_t) ++kernel_read_state(pcp_pmcd_t) ++kernel_read_fs_sysctls(pcp_pmcd_t) ++kernel_read_rpc_sysctls(pcp_pmcd_t) ++kernel_search_network_sysctl(pcp_pmcd_t) ++kernel_read_net_sysctls(pcp_pmcd_t) ++ ++corecmd_exec_bin(pcp_pmcd_t) ++corecmd_exec_shell(pcp_pmcd_t) ++ ++corenet_all_recvfrom_netlabel(pcp_pmcd_t) ++corenet_tcp_sendrecv_generic_if(pcp_pmcd_t) ++corenet_tcp_sendrecv_generic_node(pcp_pmcd_t) ++ ++corenet_sendrecv_all_client_packets(pcp_pmcd_t) ++corenet_tcp_connect_all_ports(pcp_pmcd_t) ++corenet_tcp_sendrecv_all_ports(pcp_pmcd_t) ++ ++corenet_dontaudit_tcp_bind_all_reserved_ports(pcp_pmcd_t) ++corenet_dontaudit_udp_bind_all_reserved_ports(pcp_pmcd_t) ++ ++dev_read_sysfs(pcp_pmcd_t) ++dev_read_urand(pcp_pmcd_t) ++dev_rw_lvm_control(pcp_pmcd_t) ++ ++domain_read_all_domains_state(pcp_pmcd_t) ++domain_getattr_all_domains(pcp_pmcd_t) ++ ++dev_getattr_all_blk_files(pcp_pmcd_t) ++dev_getattr_all_chr_files(pcp_pmcd_t) ++ ++fs_getattr_all_fs(pcp_pmcd_t) ++fs_getattr_all_dirs(pcp_pmcd_t) ++fs_list_cgroup_dirs(pcp_pmcd_t) ++fs_read_cgroup_files(pcp_pmcd_t) ++fs_read_nfsd_files(pcp_pmcd_t) ++fs_search_tracefs_dirs(pcp_pmcd_t) ++ ++init_read_utmp(pcp_pmcd_t) ++ ++logging_send_syslog_msg(pcp_pmcd_t) ++ ++lvm_domtrans(pcp_pmcd_t) ++ ++storage_getattr_fixed_disk_dev(pcp_pmcd_t) ++storage_raw_read_fixed_disk(pcp_pmcd_t) ++ ++userdom_read_user_tmp_files(pcp_pmcd_t) ++userdom_manage_unpriv_user_semaphores(pcp_pmcd_t) ++ ++optional_policy(` ++ acct_search_data(pcp_pmcd_t) ++') ++ ++optional_policy(` ++ cron_read_pid_files(pcp_pmcd_t) ++') ++ ++optional_policy(` ++ container_manage_lib_files(pcp_pmcd_t) ++') ++ ++optional_policy(` ++ mock_read_lib_files(pcp_pmcd_t) ++') ++ ++optional_policy(` ++ mysql_stream_connect(pcp_pmcd_t) ++') ++ ++optional_policy(` ++ dbus_system_bus_client(pcp_pmcd_t) ++ ++ optional_policy(` ++ avahi_dbus_chat(pcp_pmcd_t) ++ ') ++') ++ ++optional_policy(` ++ postfix_read_config(pcp_pmcd_t) ++ postfix_search_spool(pcp_pmcd_t) ++') ++ ++optional_policy(` ++ raid_domtrans_mdadm(pcp_pmcd_t) ++ raid_access_check_mdadm(pcp_pmcd_t) ++') ++ ++tunable_policy(`pcp_read_generic_logs',` ++ logging_read_generic_logs(pcp_pmcd_t) ++ ++') ++ ++######################################## ++# ++# pcp_pmproxy local policy ++# ++ ++allow pcp_pmproxy_t self:process setsched; ++allow pcp_pmproxy_t self:unix_dgram_socket create_socket_perms; ++ ++kernel_search_network_sysctl(pcp_pmproxy_t) ++ ++logging_send_syslog_msg(pcp_pmproxy_t) ++ ++optional_policy(` ++ dbus_system_bus_client(pcp_pmproxy_t) ++ ++ optional_policy(` ++ avahi_dbus_chat(pcp_pmproxy_t) ++ ') ++') ++ ++######################################## ++# ++# pcp_pmie local policy ++# ++allow pcp_pmie_t self:capability { chown fsetid sys_ptrace }; ++allow pcp_pmie_t self:cap_userns sys_ptrace; ++allow pcp_pmie_t self:netlink_route_socket { create_socket_perms nlmsg_read }; ++allow pcp_pmie_t self:unix_dgram_socket { create_socket_perms sendto }; ++ ++allow pcp_pmie_t pcp_pmcd_t:unix_stream_socket connectto; ++ ++allow pcp_pmie_t pcp_pmcd_t:process signal; ++ ++kernel_read_net_sysctls(pcp_pmie_t) ++kernel_read_network_state(pcp_pmie_t) ++kernel_read_system_state(pcp_pmie_t) ++kernel_dontaudit_request_load_module(pcp_pmie_t) ++ ++can_exec(pcp_pmie_t, pcp_pmie_exec_t) ++ ++corecmd_exec_bin(pcp_pmie_t) ++corecmd_getattr_all_executables(pcp_pmie_t) ++ ++domain_read_all_domains_state(pcp_pmie_t) ++ ++fs_search_cgroup_dirs(pcp_pmie_t) ++ ++init_status(pcp_pmie_t) ++ ++logging_send_syslog_msg(pcp_pmie_t) ++ ++systemd_exec_systemctl(pcp_pmie_t) ++systemd_read_unit_files(pcp_pmie_t) ++systemd_search_unit_dirs(pcp_pmie_t) ++ ++userdom_read_user_tmp_files(pcp_pmie_t) ++ ++######################################## ++# ++# pcp_pmlogger local policy ++# ++ ++allow pcp_pmlogger_t self:capability { dac_read_search dac_override chown fowner sys_ptrace }; ++allow pcp_pmlogger_t self:process setpgid; ++allow pcp_pmlogger_t self:netlink_route_socket {create_socket_perms nlmsg_read }; ++ ++allow pcp_pmlogger_t pcp_pmcd_t:unix_stream_socket connectto; ++allow pcp_pmlogger_t self:unix_dgram_socket create_socket_perms; ++ ++allow pcp_pmlogger_t pcp_pmlogger_exec_t:file execute_no_trans; ++ ++dontaudit pcp_pmlogger_t self:cap_userns { sys_ptrace }; ++ ++kernel_read_system_state(pcp_pmlogger_t) ++kernel_read_network_state(pcp_pmlogger_t) ++kernel_read_all_sysctls(pcp_pmlogger_t) ++ ++corecmd_exec_bin(pcp_pmlogger_t) ++ ++corenet_tcp_bind_dey_sapi_port(pcp_pmlogger_t) ++corenet_tcp_bind_commplex_link_port(pcp_pmlogger_t) ++corenet_tcp_bind_generic_node(pcp_pmlogger_t) ++ ++domain_read_all_domains_state(pcp_pmlogger_t) ++ ++fs_mount_tracefs(pcp_pmlogger_t) ++fs_getattr_all_fs(pcp_pmlogger_t) ++ ++init_read_utmp(pcp_pmlogger_t) ++init_status(pcp_pmlogger_t) ++ ++logging_send_syslog_msg(pcp_pmlogger_t) ++ ++systemd_exec_systemctl(pcp_pmlogger_t) ++systemd_getattr_unit_files(pcp_pmlogger_t) ++ ++optional_policy(` ++ hostname_exec(pcp_pmlogger_t) ++') ++ ++optional_policy(` ++ rpm_script_signal(pcp_pmlogger_t) ++') ++ ++######################################## ++# ++# pcp_plugin local policy ++# ++ ++domtrans_pattern(pcp_domain, pcp_plugin_exec_t, pcp_plugin_t) ++ ++optional_policy(` ++ unconfined_domain(pcp_plugin_t) ++') ++ ++ ++######################################## ++# ++# pcp_plugin local policy (previously pcpupstream) ++# ++ ++require { ++ attribute domain; ++ attribute file_type; ++ attribute pcp_domain; ++ attribute userdomain; ++ ++ type configfs_t; #pcp.lio ++ type debugfs_t; ++ type default_t; ++ type device_t; ++ type fixed_disk_device_t; ++ type fs_t; ++ type fsadm_exec_t; ++ type gpmctl_t; ++ type haproxy_t; ++ type haproxy_var_lib_t; ++ type hostname_exec_t; ++ type init_t; ++ type initrc_tmp_t; ++ type kernel_t; ++ type kmsg_device_t; ++ type ldconfig_exec_t; ++ type mdadm_exec_t; ++ type modules_object_t; # pcp.lio, pcp.bcc ++ type named_exec_t; ++ type ndc_exec_t; ++ type ntop_port_t; ++ type pcp_log_t; ++ type pcp_pmcd_t; ++ type pcp_pmie_exec_t; # pmda.summary ++ type pcp_pmie_t; ++ type pcp_pmlogger_exec_t; ++ type pcp_pmlogger_t; ++ type pcp_pmproxy_t; ++ type pcp_tmp_t; ++ type pcp_tmpfs_t; ++ type pcp_var_lib_t; ++ type ping_exec_t; # pmda.netcheck ++ type postgresql_var_run_t; ++ type proc_kcore_t; ++ type proc_mdstat_t; ++ type proc_net_t; #RHBZ1517656 ++ type samba_var_t; # pmda.samba ++ type setfiles_exec_t; ++ type su_exec_t; ++ type sysctl_fs_t; #RHBZ1505888 ++ type sysctl_irq_t; #pmda.bcc ++ type sysctl_net_t; ++ type sysfs_t; #RHBZ1545245 ++ type syslogd_t; ++ type syslogd_var_run_t; ++ type system_cronjob_t; ++ type tmp_t; ++ type unconfined_t; #RHBZ1443632 ++ type user_home_t; ++ type user_tmp_t; ++ type var_run_t; ++ type virt_image_t; ++ type websm_port_t; # pmda.openmetrics ++ type xserver_misc_device_t; ++ ++ class blk_file { ioctl open read }; ++ class capability { net_raw }; # pmda.netcheck ++ class capability { kill dac_override sys_ptrace sys_pacct net_admin chown sys_chroot ipc_lock ipc_owner sys_resource fowner sys_rawio fsetid }; ++ class chr_file { open read write }; ++ class dbus { send_msg }; ++ class dir { add_name open read search write getattr lock ioctl }; ++ class fifo_file { getattr read open unlink lock ioctl write }; # qa/455 ++ class file { append create execute execute_no_trans getattr setattr ioctl lock open read write unlink }; ++ class filesystem { mount quotaget }; ++ class lnk_file { create read getattr setattr }; ++ class msgq { unix_read }; ++ class process { signull signal execmem setrlimit ptrace setcap }; #RHBZ1443632, pmda.netcheck (setcap) ++ class sem { unix_read associate getattr read }; ++ class shm { unix_read associate getattr read }; ++ class sock_file { getattr write }; #RHBZ1633211, RHBZ1449671 ++ class system { module_request }; ++ class tcp_socket { name_bind name_connect }; ++ class udp_socket { name_bind }; ++ class unix_dgram_socket { sendto }; ++ class unix_stream_socket connectto; ++} ++ ++optional_policy(` ++ require { ++ class bpf { map_create map_read map_write prog_load prog_run }; ++ } ++ #RHBZ1633211, RHBZ1693332 ++ allow pcp_pmcd_t self:bpf { map_create map_read map_write prog_load prog_run }; ++') ++ ++optional_policy(` ++ require { ++ class capability2 { bpf }; ++ } ++ #RHBZ1952374 ++ # pmda-bcc and pmda-bpftrace need the ability to run eBPF code ++ allow pcp_pmcd_t self:capability2 bpf; ++') ++ ++optional_policy(` ++ require { ++ class capability2 { syslog }; ++ } ++ # pmda-bcc needs the ability to read addresses in /proc/kallsyms ++ allow pcp_pmcd_t self:capability2 syslog; ++') ++ ++optional_policy(` ++ require { ++ type cluster_exec_t; ++ } ++ # pmda-hacluster (crm_mon, cibadmin, corosync-quorumtool, corosync-cfgtool) ++ # type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="sh" name="corosync-cfgtool" dev=DEV ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cluster_exec_t:s0 tclass=file permissive=0 ++ allow pcp_pmcd_t cluster_exec_t:file { execute execute_no_trans }; ++') ++ ++optional_policy(` ++ require { ++ type cluster_tmpfs_t; ++ } ++ # pmda-hacluster (crm_mon, cibadmin, corosync-quorumtool, corosync-cfgtool) ++ # type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="crm_mon" name="qb-request-stonith-ng-header" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cluster_tmpfs_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t cluster_tmpfs_t:file { write }; ++') ++ ++optional_policy(` ++ require { ++ type drbd_exec_t; ++ } ++ # pmda-hacluster (drbdsetup) ++ # type=AVC msg=audit(N): avc: denied { execute_no_trans } for pid=PID comm="sh" path="/usr/sbin/drbdsetup" dev="vda1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:drbd_exec_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t drbd_exec_t:file { execute execute_no_trans }; ++') ++ ++optional_policy(` ++ require { ++ class file { map }; ++ } ++ # type=AVC msg=audit(N): avc: denied { map } for pid=PID comm="pmie" path="/usr/bin/pmie" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_pmie_exec_t:s0 tclass=file permissive=0 ++ # type=AVC msg=audit(N): avc: denied { map } for pid=PID comm="ldconfig" path="/usr/sbin/ldconfig" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file permissive=1 ++ # type=AVC msg=audit(N): avc: denied { map } for pid=PID comm="smartctl" path="/usr/sbin/smartctl" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 ++ # type=AVC msg=audit(N): avc: denied { map } for pid=PID comm="pmdanvidia" path="/usr/lib64/libnvidia-ml.so" dev="dm-2" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:default_t:s0 tclass=file permissive=0 ++ allow pcp_pmcd_t default_t:file { map }; ++ allow pcp_pmcd_t fsadm_exec_t:file { map }; ++ allow pcp_pmcd_t hostname_exec_t:file { map }; ++ allow pcp_pmie_t hostname_exec_t:file { map }; ++ allow pcp_pmcd_t ldconfig_exec_t:file { map }; ++ allow pcp_pmcd_t pcp_pmie_exec_t:file { map }; ++ allow pcp_pmcd_t pcp_tmp_t:file { map }; ++ allow pcp_pmcd_t ping_exec_t:file { map }; ++ allow pcp_pmcd_t syslogd_var_run_t:file { map }; ++') ++ ++optional_policy(` ++ require { ++ class lockdown { integrity }; ++ } ++ # pmda.kvm ++ # type=AVC msg=audit(YYY.101): avc: denied { integrity } for pid=PID comm="pmdakvm" lockdown_reason="debugfs access" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=lockdown permissive=0 ++ allow pcp_pmcd_t self:lockdown integrity; ++') ++ ++optional_policy(` ++ require { ++ class rawip_socket { create getopt setopt read write }; ++ } ++ # pmda.netcheck ++ allow pcp_pmcd_t self:rawip_socket { create getopt setopt read write }; ++') ++ ++optional_policy(` ++ require { ++ class netlink_generic_socket { bind create getattr setopt write read }; ++ } ++ # pmda-hacluster requirements for checking drbdsetup ++ # type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="drbdsetup" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_generic_socket permissive=1 ++ allow pcp_pmcd_t self:netlink_generic_socket { bind create getattr setopt write read }; ++') ++ ++optional_policy(` ++ require { ++ class netlink_kobject_uevent_socket { getattr }; ++ } ++ # type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="python3" path="socket:[36479]" dev="sockfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=netlink_kobject_uevent_socket permissive=0 ++ allow pcp_pmcd_t self:netlink_kobject_uevent_socket { getattr read }; ++') ++ ++optional_policy(` ++ require { ++ class netlink_tcpdiag_socket { append bind connect create getattr getopt ioctl lock nlmsg_read nlmsg_write read setattr setopt shutdown write }; ++ } ++ # pmda-sockets ++ # type=AVC msg=audit(N): avc: denied { create } for pid=PID comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 ++ # type=AVC msg=audit(N): avc: denied { setopt } for pid=PID comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 ++ # type=AVC msg=audit(N): avc: denied { bind } for pid=PID comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 ++ # type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 ++ # type=AVC msg=audit(N): avc: denied { nlmsg_read } for pid=PID comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 ++ allow pcp_pmcd_t self:netlink_tcpdiag_socket { append bind connect create getattr getopt ioctl lock nlmsg_read nlmsg_write read setattr setopt shutdown write }; ++') ++ ++optional_policy(` ++ require { ++ type mdadm_conf_t; ++ } ++ allow pcp_pmcd_t mdadm_conf_t:file { getattr open read }; ++') ++ ++optional_policy(` ++ require { ++ type container_runtime_t; ++ type container_runtime_tmpfs_t; ++ type container_var_run_t; ++ } ++ # pmda.podman ++ # type=AVC msg=audit(N): avc: denied { getattr write } for pid=PID comm="pmdapodman" path="/run/podman/podman.sock" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:container_var_run_t:s0 tclass=sock_file permissive=0 ++ allow pcp_pmcd_t container_var_run_t:file { getattr read open }; ++ allow pcp_pmcd_t container_var_run_t:sock_file { getattr write }; ++ allow pcp_pmcd_t container_runtime_t:unix_stream_socket connectto; ++ allow pcp_pmcd_t container_runtime_tmpfs_t:dir getattr; ++') ++ ++optional_policy(` ++ require { ++ type docker_var_lib_t; ++ } ++ # pmda.docker ++ allow pcp_pmcd_t docker_var_lib_t:dir search; ++') ++ ++optional_policy(` ++ require { ++ type dma_device_t; ++ } ++ # type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="pmdaproc" path="/dev/dma_heap" dev="devtmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:dma_device_t:s0 tclass=dir permissive=0 ++ allow pcp_pmcd_t dma_device_t:dir getattr; ++') ++ ++optional_policy(` ++ require { ++ type kmod_exec_t; ++ } ++ # pmda-bcc ++ # type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="sh" name="kmod" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:kmod_exec_t:s0 tclass=file permissive=0 ++ # type=AVC msg=audit(N): avc: denied { execute_no_trans } for pid=PID comm="sh" path="/usr/bin/kmod" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:kmod_exec_t:s0 tclass=file permissive=0 ++ allow pcp_pmcd_t kmod_exec_t:file { execute execute_no_trans }; ++') ++ ++optional_policy(` ++ require { ++ type nsfs_t; ++ } ++ # pmdalinux filesys.used metric ++ # type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmdalinux" dev="nsfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t nsfs_t:file { read open getattr }; ++') ++optional_policy(` ++ require { ++ type numad_t; ++ } ++ # type=AVC msg=audit(N): avc: denied { unix_read } for pid=PID comm="pmdalinux" key=KEY scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:numad_t:s0 tclass=msgq permissive=0 ++ # type=AVC msg=audit(N): avc: denied { unix_read } for pid=PID comm="pmdalinux" key=KEY scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:numad_t:s0 tclass=msgq permissive=0 ++ allow pcp_pmcd_t numad_t:msgq unix_read; ++') ++ ++optional_policy(` ++ require { ++ type proc_security_t; ++ } ++ # type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="bpftrace" name="randomize_va_space" dev="proc" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:proc_security_t:s0 tclass=file permissive=0 ++ allow pcp_pmcd_t proc_security_t:file { getattr open read }; ++') ++ ++optional_policy(` ++ require { ++ type rpcbind_var_run_t; ++ } ++ # pmda.shping ++ allow pcp_pmcd_t rpcbind_var_run_t:sock_file write; ++') ++ ++optional_policy(` ++ require { ++ type sbd_exec_t; ++ } ++ # pmda-hacluster ++ # type=AVC msg=audit(N): avc: denied { execute_no_trans } for pid=PID comm="sh" path="/usr/sbin/sbd" dev="vda1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sbd_exec_t:s0 tclass=file permissive=1 ++ allow pcp_pmcd_t sbd_exec_t:file { execute execute_no_trans }; ++') ++ ++optional_policy(` ++ require { ++ type tracefs_t; ++ } ++ # pmda.perfevent, pmda.kvm ++ # type=AVC msg=audit(N): avc: denied { mount } for pid=PID comm="pmdaperfevent" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=filesystem permissive=0 ++ # type=AVC msg=audit(N): avc: denied { search } for pid=PID comm="pmdaperfevent" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 ++ # type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmdaperfevent" name="events" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 ++ # type=AVC msg=audit(N): avc: denied { open } for pid=PID comm="pmdaperfevent" path="/sys/kernel/debug/tracing/events" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 ++ # type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmdaperfevent" name="id" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=file permissive=0 ++ # type=AVC msg=audit(N): avc: denied { open } for pid=PID comm="pmdaperfevent" path="/sys/kernel/debug/tracing/events/gfs2/gfs2_glock_state_change/id" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=file permissive=0 ++ # type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmdakvm" name="kvm" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 ++ allow pcp_pmcd_t tracefs_t:filesystem { mount }; ++ allow pcp_pmcd_t tracefs_t:file { getattr read open append write }; ++ allow pcp_pmcd_t tracefs_t:dir { search read open }; ++') ++ ++optional_policy(` ++ require { ++ type unconfined_service_t; ++ } ++ #RHBZ1709237 ++ # type=AVC msg=audit(N): avc: denied { signull } for pid=PID comm="pmdaX" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=process permissive=0 ++ # type=AVC msg=audit(N): avc: denied { signal } for pid=PID comm="pmsignal" scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=process permissive=0 ++ # type=AVC msg=audit(N): avc: denied { signal } for pid=PID comm="pmsignal" scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=process permissive=0 ++ allow pcp_pmcd_t unconfined_service_t:process signull; ++ allow pcp_pmlogger_t unconfined_service_t:process signal; ++ allow pcp_pmie_t unconfined_service_t:process signal; ++') ++ ++optional_policy(` ++ require { ++ type unreserved_port_t; ++ } ++ # type=AVC msg=audit(N): avc: denied { name_bind } for pid=PID comm="pmdasimple" src=5650 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket permissive=0 ++ # type=AVC msg=audit(N): avc: denied { name_connect } for pid=PID comm="pmcd" dest=5650 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket permissive=0 ++ # type=AVC msg=audit(N): avc: denied { name_bind } for pid=PID comm="pmdastatsd" src=8126 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=0 ++ # type=AVC msg=audit(N): avc: denied { name_bind } for pid=PID comm=pmlogger src=4332 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket permissive=0 ++ allow pcp_pmcd_t unreserved_port_t:tcp_socket { name_bind name_connect }; ++ allow pcp_pmcd_t unreserved_port_t:udp_socket { name_bind }; ++ allow pcp_pmlogger_t unreserved_port_t:tcp_socket { name_bind }; ++') ++ ++optional_policy(` ++ require { ++ type virt_var_run_t; ++ } ++ # pmda.libvirt ++ # type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="python3" name="libvirt-sock-ro" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:virt_var_run_t:s0 tclass=sock_file permissive=0 ++ allow pcp_pmcd_t virt_var_run_t:sock_file write; ++') ++ ++#============= init_t ============== ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmcd" name="pmcd" dev="dm-1" ino=INO scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:pcp_log_t:s0 tclass=dir permissive=0 ++allow init_t pcp_log_t:dir read; ++ ++allow init_t pcp_log_t:file getattr; ++ ++# type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="pmcd" path="/var/lib/pcp/pmns/root" dev="dm-1" ino=INO scontext=system_u:system_r:init_t:s0 tcontext=unconfined_u:object_r:pcp_var_lib_t:s0 tclass=file permissive=0 ++allow init_t pcp_var_lib_t:dir { add_name read write }; ++ ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="pmcd" name="Rebuild" dev="dm-1" ino=INO scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:pcp_var_lib_t:s0 tclass=file permissive=0 ++# execute ++ ++allow init_t pcp_var_lib_t:file { append create execute execute_no_trans getattr ioctl open read write }; ++ ++allow init_t pcp_var_lib_t:lnk_file read; ++ ++# type=AVC msg=audit(N): avc: denied { open } for pid=PID comm="pmcd" path="/var/tmp/pcp.xxx/pcp.env.path" dev="dm-1" ino=INO scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file permissive=0 ++# ++allow init_t tmp_t:file open; ++ ++# type=USER_AVC msg=audit(N): pid=PID uid=INO auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for msgtype=method_return dest=:1.14778 spid=1 tpid=19555 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tclass=dbus permissive=0 exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?' ++allow init_t system_cronjob_t:dbus send_msg; ++ ++ ++#============= pcp_pmcd_t ============== ++ ++#SYN AVC for testing ++# type=AVC msg=audit(N): avc: denied { execute execute_no_trans open read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t user_home_t:file { execute execute_no_trans open read }; ++ ++# type=AVC msg=audit(N): avc: denied { getattr write } for pid=PID comm="pmdapodman" path="/run/user/N/podman/podman.sock" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=sock_file permissive=0 ++allow pcp_pmcd_t user_tmp_t:sock_file { getattr write }; ++ ++# type=AVC msg=audit(N): avc: denied { getattr write } for pid=PID comm="pmdapodman" path="/run/podman/podman.sock" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file permissive=0 ++allow pcp_pmcd_t var_run_t:sock_file { getattr write }; ++ ++# type=AVC msg=audit(N): avc: denied { append getattr ioctl open read write } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t debugfs_t:file { append getattr ioctl open read write }; ++allow pcp_pmcd_t debugfs_t:dir read; ++ ++# type=AVC msg=audit(N): avc: denied { execute execute_no_trans open read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_pmie_exec_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t pcp_pmie_exec_t:file { execute execute_no_trans open read }; ++ ++# type=AVC msg=audit(N): avc: denied { getattr open read unlink } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_var_lib_t:s0 tclass=fifo_file permissive=0 ++allow pcp_pmcd_t pcp_var_lib_t:fifo_file { getattr open read unlink }; #RHBZ1460131 ++ ++# type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:proc_kcore_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t proc_kcore_t:file getattr; ++ ++# type=AVC msg=audit(N): avc: denied { sys_chroot kill sys_resource } for pid=PID comm="pmdalinux" capability=18 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability ++# type=AVC msg=audit(N): avc: denied { chown } for pid=PID comm="pmdasimple" capability=0 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability ++# type=AVC msg=audit(N): avc: denied { sys_pacct } for pid=PID comm="pmdaproc" capability=20 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=0 ++allow pcp_pmcd_t self:capability { kill sys_pacct chown sys_chroot ipc_owner ipc_lock sys_resource }; ++ ++# type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="smbstatus" name="msg.lock" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:samba_var_t:s0 tclass=dir permissive=0 ++allow pcp_pmcd_t samba_var_t:dir { add_name write }; # pmda.samba ++allow pcp_pmcd_t samba_var_t:file { create }; # pmda.samba ++ ++# type=AVC msg=audit(N): avc: denied { name_connect } for pid=PID comm="python3" dest=9090 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:websm_port_t:s0 tclass=tcp_socket permissive=0 ++allow pcp_pmcd_t websm_port_t:tcp_socket name_connect; # pmda.openmetrics ++ ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="sh" name="8641" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=file permissive=0 ++# type=AVC msg=audit(N): avc: denied { execute_no_trans } for pid=PID comm="sh" path="/tmp/8641" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t pcp_tmp_t:file { execute execute_no_trans }; ++ ++# type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="sh" name="hostname" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="sh" name="hostname" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 ++# type=AVC msg=audit(N): avc: denied { open } for pid=PID comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 ++# type=AVC msg=audit(N): avc: denied { execute_no_trans } for pid=PID comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t hostname_exec_t:file { getattr execute read open execute_no_trans }; ++ ++# https://bugzilla.redhat.com/show_bug.cgi?id=2050094 ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="python3" path=2F6D656D66643A6C6962666669202864656C6574656429 dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmpfs_t:s0 tclass=file permissive=0 ++# libffi (used by Python/ctypes) wants to execute from memfd:libffi (a memory mapped file) ++# similar to selinux-policy PR: https://github.com/fedora-selinux/selinux-policy/pull/1019 ++can_exec(pcp_pmcd_t, pcp_tmpfs_t) ++ ++# type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="pmdaproc" path="/dev/gpmctl" dev="devtmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:gpmctl_t:s0 tclass=sock_file permissive=1 ++allow pcp_pmcd_t gpmctl_t:sock_file getattr; ++ ++# type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:haproxy_var_lib_t:s0 tclass=sock_file permissive=0 ++allow pcp_pmcd_t haproxy_var_lib_t:sock_file write; ++ ++# type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="pmdaxfs" name="stats_clear" dev="proc" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=file ++#RHBZ1505888 ++allow pcp_pmcd_t sysctl_fs_t:file write; ++ ++#RHBZ1545245 ++# type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir permissive=0 ++allow pcp_pmcd_t sysfs_t:dir write; ++ ++# pmda.bcc ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=lnk_file permissive=0 ++allow pcp_pmcd_t modules_object_t:lnk_file read; ++ ++# type=AVC msg=audit(N): avc: denied { execute execute_no_trans open read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:mdadm_exec_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t mdadm_exec_t:file { execute execute_no_trans open read }; ++ ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="pmdaX" name="unbound-control" dev="vda1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:named_exec_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t named_exec_t:file execute; ++allow pcp_pmcd_t ndc_exec_t:file { execute execute_no_trans }; ++ ++# type=AVC msg=audit(N): avc: denied { getattr open read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:proc_mdstat_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t proc_mdstat_t:file { getattr open read }; ++ ++#pmda.bcc ++# type=AVC msg=audit(N): avc: denied { execmem setrlimit ptrace } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_pmcd_t:s0 tclass=process permissive=0 ++allow pcp_pmcd_t self:process { execmem setrlimit ptrace }; ++ ++# type=AVC msg=audit(N): avc: denied { search } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sysctl_irq_t:s0 tclass=dir permissive=0 ++allow pcp_pmcd_t sysctl_irq_t:dir { search }; ++ ++# type=AVC msg=audit(N): avc: denied { signull } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:kernel_t:s0 tclass=process permissive=0 ++allow pcp_pmcd_t kernel_t:process signull; ++ ++# pmda-bcc -- failing to compile bpf files on Fedora 33 ++# type=AVC msg=audit(N): avc: denied { fsetid } for pid=PID comm="tar" capability=4 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=1 ++# type=AVC msg=audit(N): avc: denied { create } for pid=PID comm="tar" name="linux-event-codes.h" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=lnk_file permissive=1 ++# type=AVC msg=audit(N): avc: denied { setattr } for pid=PID comm="tar" name="linux-event-codes.h" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=lnk_file permissive=1 ++# type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="tar" path="/tmp/kheaders-.../include/dt-bindings/input/linux-event-codes.h" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=lnk_file permissive=1 ++allow pcp_pmcd_t pcp_tmp_t:lnk_file { create getattr setattr }; ++allow pcp_pmcd_t self:capability { fsetid }; ++ ++#RHBZ1690542 ++# type=AVC msg=audit(N): avc: denied { module_request } for pid=PID comm="pmdalinux" kmod="netdev-tun0" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=0 ++allow pcp_pmcd_t kernel_t:system module_request; ++ ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="zimbraprobe" name="su" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:su_exec_t:s0 tclass=file permissive=0 ++#pmdazimbra ++allow pcp_pmcd_t su_exec_t:file { execute execute_no_trans }; ++ ++# type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="python3" name=".s.PGSQL.5432" dev="tmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:postgresql_var_run_t:s0 tclass=sock_file permissive=0 ++allow pcp_pmcd_t postgresql_var_run_t:sock_file { write }; ++ ++allow pcp_pmcd_t ntop_port_t:tcp_socket name_connect; ++ ++allow pcp_pmcd_t pcp_log_t:fifo_file { getattr open read }; ++ ++allow pcp_pmcd_t virt_image_t:dir search; ++ ++allow pcp_pmcd_t syslogd_var_run_t:dir read; ++ ++allow pcp_pmcd_t syslogd_var_run_t:file { getattr open read }; ++ ++#============= pcp_pmlogger_t ============== ++# type=AVC msg=audit(N): avc: denied { open write } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:kmsg_device_t:s0 tclass=chr_file permissive=0 ++allow pcp_pmlogger_t kmsg_device_t:chr_file { open write }; ++ ++# type=AVC msg=audit(N): avc: denied { sys_ptrace } for pid=PID comm="ps" capability=19 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:system_r:pcp_pmlogger_t:s0 tclass=capability ++# type=AVC msg=audit(N): avc: denied { kill } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:pcp_pmlogger_t:s0 tclass=capability permissive=0 ++allow pcp_pmlogger_t self:capability { sys_ptrace fowner fsetid kill }; ++ ++# type=AVC msg=audit(N) : avc: denied { signal } for pid=PID comm=pmsignal scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process ++allow pcp_pmlogger_t unconfined_t:process signal; ++ ++# type=AVC msg=audit(N): avc: denied { setattr unlink } for pid=PID comm="mv" name="pmlogger_check.log" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0 ++allow pcp_pmlogger_t user_tmp_t:file { setattr unlink }; ++ ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="pmlogger_daily" name="setfiles" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:setfiles_exec_t:s0 tclass=file permissive=0 ++allow pcp_pmlogger_t setfiles_exec_t:file execute; ++ ++# type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="pmlogger" name="12" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=0 ++allow pcp_pmlogger_t initrc_tmp_t:dir { add_name read write }; ++allow pcp_pmlogger_t initrc_tmp_t:file create; ++ ++#============= pcp_pmie_t ============== ++# type=AVC msg=audit(N): avc: denied { execute execute_no_trans getattr open read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 ++allow pcp_pmie_t hostname_exec_t:file { execute execute_no_trans getattr open read }; ++ ++# type=AVC msg=audit(N): avc: denied { sys_ptrace } for pid=PID comm="ps" capability=19 scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:pcp_pmie_t:s0 tclass=capability permissive=0 ++allow pcp_pmie_t self:capability { chown fowner dac_override kill net_admin sys_ptrace fsetid }; ++ ++#RHBZ1517656 ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file permissive=0 ++allow pcp_pmie_t proc_net_t:file read; ++ ++#RHBZ2122883 ++# type=AVC audit(N): avc: denied { read } for pid=PID comm="pmie" name="net" dev="proc" ino=INO scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=lnk_file permissive=0 ++allow pcp_pmie_t proc_net_t:lnk_file read; ++ ++#RHBZ1743040 ++# type=AVC msg=audit(N): avc: denied { setrlimit } for pid=PID comm="systemctl" scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:pcp_pmie_t:s0 tclass=process permissive=0 ++allow pcp_pmie_t self:process setrlimit; ++ ++#RHBZ1623988 ++# type=AVC msg=audit(N): avc: denied { signal } for pid=PID comm="pmsignal" scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process permissive=1 ++allow pcp_pmie_t unconfined_t:process signal; ++ ++# type=AVC msg=audit(N): avc: denied { write } for pid=PID comm="pmie" name="02" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=0 ++allow pcp_pmie_t initrc_tmp_t:dir { add_name read write }; ++allow pcp_pmie_t initrc_tmp_t:file create; ++ ++#============= pmda-lio ============== ++# type=AVC msg=audit(N): avc: denied { open read search write } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:configfs_t:s0 tclass=dir permissive=0 ++allow pcp_pmcd_t configfs_t:dir { open read search write }; ++ ++# type=AVC msg=audit(N): avc: denied { getattr ioctl open read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:configfs_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t configfs_t:file { getattr ioctl open read }; ++ ++# type=AVC msg=audit(N): avc: denied { getattr read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:configfs_t:s0 tclass=lnk_file permissive=0 ++allow pcp_pmcd_t configfs_t:lnk_file { getattr read }; ++ ++# type=AVC msg=audit(N): avc: denied { execute execute_no_trans getattr open read } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t ldconfig_exec_t:file { execute execute_no_trans getattr open read }; ++ ++# type=AVC msg=audit(N): avc: denied { quotaget } for pid=PID comm="pmdaxfs" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0 ++allow pcp_pmcd_t fs_t:filesystem quotaget; ++ ++#============= pcp_pmproxy_t ============== ++# type=AVC msg=audit(N) : avc: denied { net_admin } for pid=PID comm=pmproxy capability=net_admin scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:system_r:pcp_pmproxy_t:s0 tclass=capability ++allow pcp_pmproxy_t self:capability { net_admin dac_override }; ++ ++# type=AVC msg=audit(N) : avc: denied { read } for pid=PID comm=pmproxy name=disable_ipv6 dev="proc" ino=INO scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file ++# type=AVC msg=audit(N) : avc: denied { open } for pid=PID comm=pmproxy path=/proc/sys/net/ipv6/conf/all/disable_ipv6 dev="proc" ino=INO scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file ++# type=AVC msg=audit(N) : avc: denied { getattr } for pid=PID comm=pmproxy path=/proc/sys/net/ipv6/conf/all/disable_ipv6 dev="proc" ino=INO scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file ++allow pcp_pmproxy_t sysctl_net_t:file { getattr open read }; ++ ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmproxy" name="unix" dev="proc" ino=INO scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file ++#RHBZ1517656 ++allow pcp_pmproxy_t proc_net_t:file read; ++ ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmproxy" name="pmlogger" dev="dm-92" ino=INO scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:pcp_log_t:s0 tclass=lnk_file ++allow pcp_pmproxy_t pcp_log_t:lnk_file read; ++ ++#============= pmda-smart ============== ++ ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="sh" name="smartctl" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(N): avc: denied { open } for pid=PID comm="sh" path="/usr/sbin/smartctl" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(N): avc: denied { execute_no_trans } for pid=PID comm="sh" path="/usr/sbin/smartctl" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="sh" name="smartctl" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(N): avc: denied { getattr } for pid=PID comm="sh" path="/usr/sbin/smartctl" dev="dm-1" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 ++# type=AVC msg=audit(N): avc: denied { sys_rawio } for pid=PID comm="smartctl" capability=17 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=1 ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="smartctl" name="sda" dev="devtmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file permissive=0 ++ ++allow pcp_pmcd_t fsadm_exec_t:file { execute execute_no_trans getattr open read }; ++allow pcp_pmcd_t fixed_disk_device_t:blk_file { open read ioctl }; ++ ++#============= pmda-nvidia ============== ++# type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="pmdanvidia" path="/usr/lib64/libnvidia-ml.so" dev="dm-2" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:default_t:s0 tclass=file permissive=0 ++allow pcp_pmcd_t default_t:file { execute }; ++ ++# type=AVC msg=audit(N): avc: denied { read write } for pid=PID comm="pmdanvidia" name="nvidiactl" dev="devtmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:xserver_misc_device_t:s0 tclass=chr_file permissive=0 ++allow pcp_pmcd_t xserver_misc_device_t:chr_file { open read write ioctl }; ++ ++# type=AVC msg=audit(N): avc: denied { read } for pid=PID comm="pmdanvidia" name="nvidia-cap2" dev="devtmpfs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:device_t:s0 tclass=chr_file permissive=0 ++allow pcp_pmcd_t device_t:chr_file { open read }; ++ ++# type=AVC msg=audit(N): avc: denied { sys_rawio } for pid=PID comm="pmdaX" name="/" dev="tracefs" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_pmcd_t:s0 tclass=capability permissive=0 ++allow pcp_pmcd_t self:capability sys_rawio; ++ ++optional_policy(` ++ require { ++ type openvswitch_exec_t; ++ } ++ # pmda.openvswitch ++ # type=AVC msg=audit(N): avc: denied { execute } for pid=PID comm="sh" name="ovs-vsctl" dev="dm-0" ino=INO scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:openvswitch_exec_t:s0 tclass=file permissive=0 ++ allow pcp_pmcd_t openvswitch_exec_t:file { execute execute_no_trans }; ++') ++ ++#============= pmda-netcheck ============== ++allow pcp_pmcd_t ping_exec_t:file { execute execute_no_trans }; ++allow pcp_pmcd_t self:capability net_raw; ++allow pcp_pmcd_t self:process setcap; ++ ++optional_policy(` ++ require { ++ class icmp_socket { create getopt setopt read write }; ++ } ++ # pmda.netcheck ++ allow pcp_pmcd_t self:icmp_socket { create getopt setopt read write }; ++') ++ ++# permit pcp_domain to read all dirs,files and fifo_file in attribute file_type ++optional_policy(` ++ files_list_non_auth_dirs(pcp_domain) ++') ++optional_policy(` ++ files_list_non_security(pcp_domain) ++') ++files_read_all_files(pcp_pmcd_t) ++files_read_all_files(pcp_pmie_t) ++files_read_all_files(pcp_pmlogger_t) ++files_read_all_files(pcp_pmproxy_t) ++ ++allow pcp_domain file_type:fifo_file read_fifo_file_perms; ++ ++# permit pcp_pmcd_t domain to read shared memory and semaphores of all domain on system ++allow pcp_domain domain:shm r_sem_perms; ++allow pcp_domain domain:sem r_shm_perms; ++allow pcp_domain userdomain:shm r_sem_perms; ++allow pcp_domain userdomain:sem r_shm_perms; ++ ++# permit pcp_domain stream connect to all domains ++allow pcp_domain domain:unix_stream_socket connectto; ++ ++# permit pcp_domain to connect to all ports. ++corenet_tcp_connect_all_ports(pcp_domain) ++ ++# all pcp_domain read access to all maps ++optional_policy(` ++ files_mmap_all_files(pcp_domain); ++') ++ ++# all pcp_domain watch access to all log files ++optional_policy(` ++ logging_watch_all_log_dirs_path(pcp_domain); ++') ++optional_policy(` ++ logging_watch_journal_dir(pcp_domain); ++') ++allow syslogd_t pcp_log_t:fifo_file { open read write }; +diff -Naurp pcp-5.3.7.orig/src/selinux/pcpupstream-container.if pcp-5.3.7/src/selinux/pcpupstream-container.if +--- pcp-5.3.7.orig/src/selinux/pcpupstream-container.if 2022-10-26 16:42:20.923360352 +1100 ++++ pcp-5.3.7/src/selinux/pcpupstream-container.if 1970-01-01 10:00:00.000000000 +1000 +@@ -1 +0,0 @@ +-## +diff -Naurp pcp-5.3.7.orig/src/selinux/pcpupstream-container.te pcp-5.3.7/src/selinux/pcpupstream-container.te +--- pcp-5.3.7.orig/src/selinux/pcpupstream-container.te 2022-10-26 16:42:20.924360340 +1100 ++++ pcp-5.3.7/src/selinux/pcpupstream-container.te 1970-01-01 10:00:00.000000000 +1000 +@@ -1,15 +0,0 @@ +-module pcpupstream-container 1.0; +- +-require { +- type container_runtime_t; +- type container_runtime_tmpfs_t; +- type container_var_run_t; +- type pcp_pmcd_t; +- class file { getattr read open }; +- class unix_stream_socket connectto; +- class dir getattr; +-} +- +-allow pcp_pmcd_t container_runtime_t:unix_stream_socket connectto; +-allow pcp_pmcd_t container_runtime_tmpfs_t:dir getattr; +-allow pcp_pmcd_t container_var_run_t:file { getattr read open }; +diff -Naurp pcp-5.3.7.orig/src/selinux/pcpupstream-docker.if pcp-5.3.7/src/selinux/pcpupstream-docker.if +--- pcp-5.3.7.orig/src/selinux/pcpupstream-docker.if 2022-10-26 16:42:20.924360340 +1100 ++++ pcp-5.3.7/src/selinux/pcpupstream-docker.if 1970-01-01 10:00:00.000000000 +1000 +@@ -1 +0,0 @@ +-## +diff -Naurp pcp-5.3.7.orig/src/selinux/pcpupstream-docker.te pcp-5.3.7/src/selinux/pcpupstream-docker.te +--- pcp-5.3.7.orig/src/selinux/pcpupstream-docker.te 2022-10-26 16:42:20.924360340 +1100 ++++ pcp-5.3.7/src/selinux/pcpupstream-docker.te 1970-01-01 10:00:00.000000000 +1000 +@@ -1,9 +0,0 @@ +-module pcpupstream-docker 1.0; +- +-require { +- type docker_var_lib_t; +- type pcp_pmcd_t; +- class dir { search }; +-} +- +-allow pcp_pmcd_t docker_var_lib_t:dir search; +diff -Naurp pcp-5.3.7.orig/src/selinux/pcpupstream.if pcp-5.3.7/src/selinux/pcpupstream.if +--- pcp-5.3.7.orig/src/selinux/pcpupstream.if 2022-10-26 16:42:20.924360340 +1100 ++++ pcp-5.3.7/src/selinux/pcpupstream.if 1970-01-01 10:00:00.000000000 +1000 +@@ -1,23 +0,0 @@ +-######################################## +-## +-## Manage glusterd log files +-## +-## +-## +-## Domain allowed access. +-## +-## +-# Definition ensuring compatibility with systems that do not have this interface +-#type=AVC msg=audit(XXX.28): avc: denied { open read write } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:glusterd_log_t:s0 tclass=file permissive=0 +-ifndef(`glusterd_manage_log',` +- interface(`glusterd_manage_log',` +- gen_require(` +- type glusterd_log_t; +- ') +- +- logging_search_logs($1) +- manage_dirs_pattern($1, glusterd_log_t, glusterd_log_t) +- manage_files_pattern($1, glusterd_log_t, glusterd_log_t) +- manage_lnk_files_pattern($1, glusterd_log_t, glusterd_log_t) +- ') +-') +diff -Naurp pcp-5.3.7.orig/src/selinux/pcpupstream.te.in pcp-5.3.7/src/selinux/pcpupstream.te.in +--- pcp-5.3.7.orig/src/selinux/pcpupstream.te.in 2022-10-26 16:42:20.924360340 +1100 ++++ pcp-5.3.7/src/selinux/pcpupstream.te.in 1970-01-01 10:00:00.000000000 +1000 +@@ -1,511 +0,0 @@ +-policy_module(pcpupstream,@PACKAGE_VERSION@); +- +-require { +- attribute domain; +- attribute file_type; +- attribute pcp_domain; +- attribute userdomain; +- +- type cluster_tmpfs_t; +- type configfs_t; #pcp.lio +- type debugfs_t; +- type default_t; +- type device_t; +- type drbd_exec_t; +- type fixed_disk_device_t; +- type fs_t; +- type fsadm_exec_t; +- type gpmctl_t; +- type haproxy_t; +- type haproxy_var_lib_t; +- type hostname_exec_t; +- type init_t; +- type initrc_tmp_t; +- type kernel_t; +- type kmsg_device_t; +- type ldconfig_exec_t; +- @PCP_MDADM_CONF_T@ +- type mdadm_exec_t; +- type modules_object_t; # pcp.lio, pcp.bcc +- type named_exec_t; +- type ndc_exec_t; +- type ntop_port_t; +- type openvswitch_exec_t; # pmda.openvswitch +- type pcp_log_t; +- type pcp_pmcd_t; +- type pcp_pmie_exec_t; # pmda.summary +- type pcp_pmie_t; +- type pcp_pmlogger_exec_t; +- type pcp_pmlogger_t; +- type pcp_pmproxy_t; +- type pcp_tmp_t; +- type pcp_var_lib_t; +- type ping_exec_t; # pmda.netcheck +- type postgresql_var_run_t; +- type proc_kcore_t; +- type proc_mdstat_t; +- type proc_net_t; #RHBZ1517656 +- type samba_var_t; # pmda.samba +- type setfiles_exec_t; +- type su_exec_t; +- type sysctl_fs_t; #RHBZ1505888 +- type sysctl_irq_t; #pmda.bcc +- type sysctl_net_t; +- type sysfs_t; #RHBZ1545245 +- type syslogd_t; +- type syslogd_var_run_t; +- type system_cronjob_t; +- type tmp_t; +- type unconfined_t; #RHBZ1443632 +- type user_home_t; +- type user_tmp_t; +- type var_run_t; +- type virt_image_t; +- type websm_port_t; # pmda.openmetrics +- type xserver_misc_device_t; +- @PCP_CONTAINER_VAR_RUN_T@ +- @PCP_DMA_DEVICE@ +- @PCP_KMOD_EXEC_T@ +- @PCP_NSFS_T@ +- @PCP_NUMAD_CONTEXT@ +- @PCP_PROC_SECURITY_T@ +- @PCP_RPCBIND_VAR_RUN_T@ +- @PCP_SBD_EXEC_T@ +- @PCP_TRACEFS@ +- @PCP_UNCONFINED_SERVICE@ +- @PCP_UNRESERVED_PORT@ +- @PCP_VIRT_VAR_RUN_T@ +- +- class blk_file { ioctl open read }; +- class capability net_raw; # pmda.netcheck +- class capability { kill dac_override sys_ptrace sys_pacct net_admin chown sys_chroot ipc_lock ipc_owner sys_resource fowner sys_rawio fsetid }; +- class chr_file { open read write }; +- class dbus { send_msg }; +- class dir { add_name open read search write getattr lock ioctl }; +- class fifo_file { getattr read open unlink lock ioctl write }; # qa/455 +- class file { append create execute execute_no_trans getattr setattr ioctl lock open read write unlink @PCP_HOSTNAME_EXEC_MAP@ }; +- class filesystem { mount quotaget }; +- class lnk_file { create read getattr setattr }; +- class msgq { unix_read }; +- class process { signull signal execmem setrlimit ptrace setcap }; #RHBZ1443632, pmda.netcheck (setcap) +- class sem { unix_read associate getattr read }; +- class shm { unix_read associate getattr read }; +- class sock_file { getattr write }; #RHBZ1633211, RHBZ1449671 +- class system { module_request }; +- class tcp_socket { name_bind name_connect }; +- class udp_socket { name_bind }; +- class unix_dgram_socket { sendto }; +- class unix_stream_socket connectto; +- @PCP_BPF_CLASS@ +- @PCP_CAPABILITY2_BPF_CLASS@ +- @PCP_CAPABILITY2_SYSLOG_CLASS@ +- @PCP_CAPUSERNS_PTRACE@ +- @PCP_ICMP_SOCKET_CLASS@ +- @PCP_LOCKDOWN_CLASS@ +- @PCP_NETLINK_GENERIC_SOCKET_CLASS@ +- @PCP_NETLINK_TCPDIAG_SOCKET_CLASS@ +- @PCP_RAWIP_SOCKET_CLASS@ +-} +- +-#============= init_t ============== +-# type=AVC msg=audit(YYY.1): avc: denied { read } for pid=21999 comm="pmcd" name="pmcd" dev="dm-1" ino=936441 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:pcp_log_t:s0 tclass=dir permissive=0 +-allow init_t pcp_log_t:dir read; +- +-allow init_t pcp_log_t:file getattr; +- +-# type=AVC msg=audit(YYY.2): avc: denied { getattr } for pid=21999 comm="pmcd" path="/var/lib/pcp/pmns/root" dev="dm-1" ino=945382 scontext=system_u:system_r:init_t:s0 tcontext=unconfined_u:object_r:pcp_var_lib_t:s0 tclass=file permissive=0 +-allow init_t pcp_var_lib_t:dir { add_name read write }; +- +-#type=AVC msg=audit(YYY.3): avc: denied { execute } for pid=21999 comm="pmcd" name="Rebuild" dev="dm-1" ino=937158 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:pcp_var_lib_t:s0 tclass=file permissive=0 +-# execute +- +-allow init_t pcp_var_lib_t:file { append create execute execute_no_trans getattr ioctl open read write }; +- +-allow init_t pcp_var_lib_t:lnk_file read; +- +-# type=AVC msg=audit(YYY.4): avc: denied { open } for pid=21901 comm="pmcd" path="/var/tmp/pcp.sQReBLg6R/pcp.env.path" dev="dm-1" ino=930323 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file permissive=0 +-# +-allow init_t tmp_t:file open; +- +-#type=USER_AVC msg=audit(YYY.5): pid=775 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for msgtype=method_return dest=:1.14778 spid=1 tpid=19555 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tclass=dbus permissive=0 exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?' +-allow init_t system_cronjob_t:dbus send_msg; +- +- +-#============= pcp_pmcd_t ============== +- +-#SYN AVC for testing +-#type=AVC msg=audit(XXX.4): avc: denied { execute execute_no_trans open read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t user_home_t:file { execute execute_no_trans }; +- +-#type=AVC msg=audit(XXX.90): avc: denied { getattr write } for pid=1514 comm="pmdapodman" path="/run/user/N/podman/podman.sock" dev="tmpfs" ino=228 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=sock_file permissive=0 +-allow pcp_pmcd_t user_tmp_t:sock_file { getattr write }; +- +-#type=AVC msg=audit(YYY.105): avc: denied { getattr write } for pid=14272 comm="pmdapodman" path="/run/podman/podman.sock" dev="tmpfs" ino=95030 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:container_var_run_t:s0 tclass=sock_file permissive=0 +-@PCP_CONTAINER_VAR_RUN_RULE@ +- +-#type=AVC msg=audit(XXX.98): avc: denied { getattr write } for pid=75540 comm="pmdapodman" path="/run/podman/podman.sock" dev="tmpfs" ino=51062 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file permissive=0 +-allow pcp_pmcd_t var_run_t:sock_file { getattr write }; +- +-#type=AVC msg=audit(XXX.6): avc: denied { append getattr ioctl open read write } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t debugfs_t:file { append getattr ioctl open read write }; +-allow pcp_pmcd_t debugfs_t:dir read; +- +-#type=AVC msg=audit(XXX.7): avc: denied { execute execute_no_trans open read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_pmie_exec_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(XXX.68): avc: denied { map } for pid=28290 comm="pmie" path="/usr/bin/pmie" dev="dm-0" ino=5443 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_pmie_exec_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t pcp_pmie_exec_t:file { execute execute_no_trans open read @PCP_HOSTNAME_EXEC_MAP@ }; +- +-#type=AVC msg=audit(XXX.8): avc: denied { getattr open read unlink } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_var_lib_t:s0 tclass=fifo_file permissive=0 +-allow pcp_pmcd_t pcp_var_lib_t:fifo_file { getattr open read unlink }; #RHBZ1460131 +- +-#type=AVC msg=audit(XXX.9): avc: denied { getattr } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:proc_kcore_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t proc_kcore_t:file getattr; +- +-#type=AVC msg=audit(XXX.73): avc: denied { read } for pid=YYYY comm="bpftrace" name="randomize_va_space" dev="proc" ino=178953675 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:proc_security_t:s0 tclass=file permissive=0 +-@PCP_PROC_SECURITY_RULE@ +- +-#type=AVC msg=audit(YYY.11): avc: denied { sys_chroot kill sys_resource } for pid=25873 comm="pmdalinux" capability=18 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability +-#type=AVC msg=audit(YYY.87): avc: denied { chown } for pid=8999 comm="pmdasimple" capability=0 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability +-#type=AVC msg=audit(YYY.98): avc: denied { sys_pacct } for pid=YYYY comm="pmdaproc" capability=20 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=0 +-allow pcp_pmcd_t self:capability { kill sys_pacct chown sys_chroot ipc_owner ipc_lock sys_resource }; +- +-#type=AVC msg=audit(YYY.12): avc: denied { read } for pid=29112 comm="pmdalinux" dev="nsfs" ino=4026532454 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=1 +-@PCP_NSFS_RULE@ +- +-#type=AVC msg=audit(YYY.13): avc: denied { name_bind } for pid=7079 comm="pmdasimple" src=5650 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket permissive=0 +-#type=AVC msg=audit(YYY.14): avc: denied { name_connect } for pid=29238 comm="pmcd" dest=5650 scontex =system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket permissive=0 +-@PCP_UNRESERVED_PORT_RULE_TCP@ +- +-#type=AVC msg=audit(YYY.93): avc: denied { name_bind } for pid=2279401 comm="pmdastatsd" src=8126 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=0 +-@PCP_UNRESERVED_PORT_RULE_UDP@ +- +-#type=AVC msg=audit(YYY.94): avc: denied { name_bind } for pid=9365 comm=pmlogger src=4332 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket permissive=0 +-@PCP_UNRESERVED_PORT_RULE_PMLOGGER@ +- +-#type=AVC msg=audit(YYY.97): avc: denied { write } for pid=3507787 comm="smbstatus" name="msg.lock" dev="dm-0" ino=283321 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:samba_var_t:s0 tclass=dir permissive=0 +-allow pcp_pmcd_t samba_var_t:dir { add_name write }; # pmda.samba +-allow pcp_pmcd_t samba_var_t:file { create }; # pmda.samba +- +-#type=AVC msg=audit(YYY.15): avc: denied { name_connect } for pid=13816 comm="python3" dest=9090 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:websm_port_t:s0 tclass=tcp_socket permissive=0 +-allow pcp_pmcd_t websm_port_t:tcp_socket name_connect; # pmda.openmetrics +- +-#type=AVC msg=audit(YYY.21): avc: denied { execute } for pid=8648 comm="sh" name="8641" dev="tmpfs" ino=246964 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(YYY.22): avc: denied { execute_no_trans } for pid=8648 comm="sh" path="/tmp/8641" dev="tmpfs" ino=246964 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t pcp_tmp_t:file { execute execute_no_trans @PCP_TMP_MAP@ }; +- +-#type=AVC msg=audit(YYY.23): avc: denied { getattr } for pid=8656 comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(YYY.24): avc: denied { execute } for pid=8656 comm="sh" name="hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(YYY.25): avc: denied { read } for pid=8656 comm="sh" name="hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(YYY.26): avc: denied { open } for pid=8657 comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(YYY.27): avc: denied { execute_no_trans } for pid=8657 comm="sh" path="/usr/bin/hostname" dev="dm-1" ino=1051243 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t hostname_exec_t:file { getattr execute read open execute_no_trans }; +- +-# pmda.perfevent +-#type=AVC msg=audit(YYY.28): avc: denied { mount } for pid=22090 comm="pmdaperfevent" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=filesystem permissive=0 +-#type=AVC msg=audit(YYY.29): avc: denied { search } for pid=22090 comm="pmdaperfevent" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 +-#type=AVC msg=audit(YYY.30): avc: denied { read } for pid=22090 comm="pmdaperfevent" name="events" dev="tracefs" ino=176 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 +-#type=AVC msg=audit(YYY.31): avc: denied { open } for pid=22090 comm="pmdaperfevent" path="/sys/kernel/debug/tracing/events" dev="tracefs" ino=176 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 +-@PCP_TRACEFS_FS_RULE@ +- +-#type=AVC msg=audit(YYY.32): avc: denied { read } for pid=22090 comm="pmdaperfevent" name="id" dev="tracefs" ino=321619 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(YYY.33): avc: denied { open } for pid=22090 comm="pmdaperfevent" path="/sys/kernel/debug/tracing/events/gfs2/gfs2_glock_state_change/id" dev="tracefs" ino=321619 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=file permissive=0 +-@PCP_TRACEFS_FILE_RULE@ +- +-# pmda.kvm +-#type=AVC msg=audit(YYY.88): avc: denied { read } for pid=2023 comm="pmdakvm" name="kvm" dev="tracefs" ino=18541 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:tracefs_t:s0 tclass=dir permissive=0 +-@PCP_TRACEFS_DIR_RULE@ +-#type=AVC msg=audit(YYY.101): avc: denied { integrity } for pid=1606 comm="pmdakvm" lockdown_reason="debugfs access" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=lockdown permissive=0 +-@PCP_LOCKDOWN_RULE@ +- +-#type=AVC msg=audit(YYY.37): avc: denied { getattr } for pid=YYYY comm="pmdaproc" path="/dev/gpmctl" dev="devtmpfs" ino=19750 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:gpmctl_t:s0 tclass=sock_file permissive=1 +-allow pcp_pmcd_t gpmctl_t:sock_file getattr; +- +-#type=AVC msg=audit(YYY.103): avc: denied { getattr } for pid=YYYY comm="pmdaproc" path="/dev/dma_heap" dev="devtmpfs" ino=150 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:dma_device_t:s0 tclass=dir permissive=0 +-@PCP_DMA_DEVICE_RULE@ +- +-#type=AVC msg=audit(XXX.16): avc: denied { write } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:haproxy_var_lib_t:s0 tclass=sock_file permissive=0 +-allow pcp_pmcd_t haproxy_var_lib_t:sock_file write; +- +-#type=AVC msg=audit(YYY.34): avc: denied { write } for pid=2967 comm="pmdaxfs" name="stats_clear" dev="proc" ino=87731 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=file +-#RHBZ1505888 +-allow pcp_pmcd_t sysctl_fs_t:file write; +- +-#type=AVC msg=audit(...): avc: denied { map } for pid=NNN comm="ldconfig" path="/usr/sbin/ldconfig" dev="dm-1" ino=1052382 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file permissive=1 +-@PCP_LDCONFIG_EXEC_MAP_RULE@ +- +-#RHBZ1545245 +-#type=AVC msg=audit(XXX.23): avc: denied { write } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir permissive=0 +-allow pcp_pmcd_t sysfs_t:dir write; +- +-# pmda.bcc +-#type=AVC msg=audit(XXX.24): avc: denied { read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=lnk_file permissive=0 +-allow pcp_pmcd_t modules_object_t:lnk_file read; +- +-#type=AVC msg=audit(XXX.26): avc: denied { execute execute_no_trans open read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:mdadm_exec_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t mdadm_exec_t:file { execute execute_no_trans open read }; +- +-@PCP_MDADM_CONF_RULE@ +- +-#type=AVC msg=audit(XXX.71): avc: denied { execute } for pid=YYYY comm="pmdaX" name="unbound-control" dev="vda1" ino=7050199 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:named_exec_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t named_exec_t:file execute; +-allow pcp_pmcd_t ndc_exec_t:file { execute execute_no_trans }; +- +-#type=AVC msg=audit(XXX.27): avc: denied { getattr open read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:proc_mdstat_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t proc_mdstat_t:file { getattr open read }; +- +-#type=AVC msg=audit(YYY.35): avc: denied { unix_read } for pid=1423 comm="pmdalinux" key=-559038737 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:numad_t:s0 tclass=msgq permissive=0 +-#type=AVC msg=audit(YYY.36): avc: denied { unix_read } for pid=1423 comm="pmdalinux" key=-559038737 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:numad_t:s0 tclass=msgq permissive=0 +-@PCP_NUMAD_RULE@ +- +-#pmda.bcc +-#type=AVC msg=audit(XXX.34): avc: denied { execmem setrlimit ptrace } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_pmcd_t:s0 tclass=process permissive=0 +-allow pcp_pmcd_t self:process { execmem setrlimit ptrace }; +- +-#type=AVC msg=audit(XXX.35): avc: denied { search } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sysctl_irq_t:s0 tclass=dir permissive=0 +-allow pcp_pmcd_t sysctl_irq_t:dir { search }; +- +-#RHBZ1633211, RHBZ1693332 +-@PCP_BPF_RULE@ +- +-#type=AVC msg=audit(XXX.41): avc: denied { signull } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:kernel_t:s0 tclass=process permissive=0 +-allow pcp_pmcd_t kernel_t:process signull; +- +-#RHBZ1709237 +-#type=AVC msg=audit(XXX.70): avc: denied { signull } for pid=YYYY comm="pmdaX" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=process permissive=0 +-@PCP_PMCD_UNCONFINED_SERVICE_RULE@ +- +-# pmda-bcc needs the ability to read addresses in /proc/kallsyms +-@PCP_CAPABILITY2_SYSLOG_RULE@ +- +-#RHBZ1952374 +-# pmda-bcc and pmda-bpftrace need the ability to run eBPF code +-@PCP_CAPABILITY2_BPF_RULE@ +- +-# pmda-bcc -- failing to compile bpf files on Fedora 33 +-# type=AVC msg=audit(XXX.91): avc: denied { fsetid } for pid=9109 comm="tar" capability=4 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=1 +-# type=AVC msg=audit(XXX.92): avc: denied { create } for pid=9109 comm="tar" name="linux-event-codes.h" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=lnk_file permissive=1 +-# type=AVC msg=audit(XXX.93): avc: denied { setattr } for pid=9109 comm="tar" name="linux-event-codes.h" dev="tmpfs" ino=190173 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=lnk_file permissive=1 +-# type=AVC msg=audit(XXX.94): avc: denied { getattr } for pid=9109 comm="tar" path="/tmp/kheaders-5.2.18-100.fc29.x86_64+debug-09fFcg/include/dt-bindings/input/linux-event-codes.h" dev="tmpfs" ino=190173 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_tmp_t:s0 tclass=lnk_file permissive=1 +-allow pcp_pmcd_t pcp_tmp_t:lnk_file { create getattr setattr }; +-allow pcp_pmcd_t self:capability { fsetid }; +- +-# pmda-bcc -- qa/1702 failure on Fedora 33 +-# type=AVC msg=audit(XXX.96): avc: denied { execute } for pid=2205945 comm="sh" name="kmod" dev="dm-0" ino=9462231 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:kmod_exec_t:s0 tclass=file permissive=0 +-# type=AVC msg=audit(XXX.97): avc: denied { execute_no_trans } for pid=40596 comm="sh" path="/usr/bin/kmod" dev="dm-0" ino=9462231 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:kmod_exec_t:s0 tclass=file permissive=0 +-# +-@PCP_KMOD_EXEC_RULE@ +- +-#RHBZ1690542 +-#type=AVC msg=audit(XXX.67): avc: denied { module_request } for pid=YYYY comm="pmdalinux" kmod="netdev-tun0" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=0 +-allow pcp_pmcd_t kernel_t:system module_request; +- +-# type=AVC msg=audit(YYY.83): avc: denied { execute } for pid=19060 comm="zimbraprobe" name="su" dev="dm-0" ino=26416761 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:su_exec_t:s0 tclass=file permissive=0 +-#pmdazimbra +-allow pcp_pmcd_t su_exec_t:file { execute execute_no_trans }; +- +-# type=AVC msg=audit(YYY.95): avc: denied { write } for pid=389594 comm="python3" name=".s.PGSQL.5432" dev="tmpfs" ino=746636 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:postgresql_var_run_t:s0 tclass=sock_file permissive=0 +-allow pcp_pmcd_t postgresql_var_run_t:sock_file { write }; +- +-# type=AVC msg=audit(YYY.104): avc: denied { sys_ptrace } for pid=9375 comm="pmdaproc" capability=19 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=cap_userns permissive=1 +-@PCP_CAPUSERNS_PTRACE_RULE_PMCD@ +- +-allow pcp_pmcd_t ntop_port_t:tcp_socket name_connect; +- +-allow pcp_pmcd_t pcp_log_t:fifo_file { getattr open read }; +- +-allow pcp_pmcd_t virt_image_t:dir search; +- +-allow pcp_pmcd_t syslogd_var_run_t:dir read; +- +-allow pcp_pmcd_t syslogd_var_run_t:file { getattr open read }; +-@PCP_SYSLOGD_VAR_RUN_MAP_RULE@ +- +-#============= pcp_pmlogger_t ============== +-#type=AVC msg=audit(XXX.44): avc: denied { open write } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:kmsg_device_t:s0 tclass=chr_file permissive=0 +-allow pcp_pmlogger_t kmsg_device_t:chr_file { open write }; +- +-# type=AVC msg=audit(YYY.43): avc: denied { sys_ptrace } for pid=21962 comm="ps" capability=19 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:system_r:pcp_pmlogger_t:s0 tclass=capability +-#type=AVC msg=audit(XXX.45): avc: denied { kill } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:pcp_pmlogger_t:s0 tclass=capability permissive=0 +-allow pcp_pmlogger_t self:capability { sys_ptrace fowner fsetid kill }; +- +-## type=AVC msg=audit(YYY.44) : avc: denied { signal } for pid=28414 comm=pmsignal scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process +-allow pcp_pmlogger_t unconfined_t:process signal; +- +-## type=AVC msg=audit(YYY.85): avc: denied { signal } for pid=31205 comm="pmsignal" scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=process permissive=0 +-@PCP_PMLOGGER_UNCONFINED_SERVICE_RULE@ +- +-#type=AVC msg=audit(XXX.95): avc: denied { setattr unlink } for pid=29153 comm="mv" name="pmlogger_check.log" dev="dm-0" ino=926794 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0 +-allow pcp_pmlogger_t user_tmp_t:file { setattr unlink }; +- +-#type=AVC msg=audit(XXX.72): avc: denied { execute } for pid=9634 comm="pmlogger_daily" name="setfiles" dev="dm-0" ino=34500334 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:setfiles_exec_t:s0 tclass=file permissive=0 +-allow pcp_pmlogger_t setfiles_exec_t:file execute; +- +-#type=AVC msg=audit(YYY.100): avc: denied { write } for pid=1797133 comm="pmlogger" name="12" dev="dm-0" ino=435470 scontext=system_u:system_r:pcp_pmlogger_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=0 +-allow pcp_pmlogger_t initrc_tmp_t:dir { add_name read write }; +-allow pcp_pmlogger_t initrc_tmp_t:file create; +- +-#============= pcp_pmie_t ============== +-#type=AVC msg=audit(XXX.49): avc: denied { execute execute_no_trans getattr open read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file permissive=0 +-allow pcp_pmie_t hostname_exec_t:file { execute execute_no_trans getattr open read @PCP_HOSTNAME_EXEC_MAP@ }; +- +-#type=AVC msg=audit(YYY.50): avc: denied { sys_ptrace } for pid=30881 comm="ps" capability=19 scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:pcp_pmie_t:s0 tclass=capability permissive=0 +-allow pcp_pmie_t self:capability { chown fowner dac_override kill net_admin sys_ptrace fsetid }; +- +-#RHBZ1517656 +-#type=AVC msg=audit(XXX.50): avc: denied { read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file permissive=0 +-allow pcp_pmie_t proc_net_t:file read; +- +-#RHBZ1635394 +-#type=AVC msg=audit(YYY.66): avc: denied { sys_ptrace } for pid=15683 comm="ps" capability=19 scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:pcp_pmie_t:s0 tclass=cap_userns permissive=0 +-@PCP_CAPUSERNS_PTRACE_RULE_PMIE@ +- +-#RHBZ1743040 +-#type=AVC msg=audit(YYY.91): avc: denied { setrlimit } for pid=2085 comm="systemctl" scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:pcp_pmie_t:s0 tclass=process permissive=0 +-allow pcp_pmie_t self:process setrlimit; +- +-#RHBZ1623988 +-#type=AVC msg=audit(YYY.65): avc: denied { signal } for pid=3106 comm="pmsignal" scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process permissive=1 +-allow pcp_pmie_t unconfined_t:process signal; +- +-#type=AVC msg=audit(YYY.86): avc: denied { signal } for pid=23951 comm="pmsignal" scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=process permissive=0 +-@PCP_PMIE_UNCONFINED_SERVICE_RULE@ +- +-#type=AVC msg=audit(YYY.99): avc: denied { write } for pid=1932480 comm="pmie" name="02" dev="dm-0" ino=435560 scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=dir permissive=0 +-allow pcp_pmie_t initrc_tmp_t:dir { add_name read write }; +-allow pcp_pmie_t initrc_tmp_t:file create; +- +-#============= pmda-lio ============== +-#type=AVC msg=audit(XXX.55): avc: denied { open read search write } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:configfs_t:s0 tclass=dir permissive=0 +-allow pcp_pmcd_t configfs_t:dir { open read search write }; +- +-#type=AVC msg=audit(XXX.56): avc: denied { getattr ioctl open read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:configfs_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t configfs_t:file { getattr ioctl open read }; +- +-#type=AVC msg=audit(XXX.57): avc: denied { getattr read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:configfs_t:s0 tclass=lnk_file permissive=0 +-allow pcp_pmcd_t configfs_t:lnk_file { getattr read }; +- +-#type=AVC msg=audit(XXX.58): avc: denied { execute execute_no_trans getattr open read } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t ldconfig_exec_t:file { execute execute_no_trans getattr open read }; +- +-#type=AVC msg=audit(XXX.74): avc: denied { quotaget } for pid=1385536 comm="pmdaxfs" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0 +-allow pcp_pmcd_t fs_t:filesystem quotaget; +- +-#============= pcp_pmproxy_t ============== +-#type=AVC msg=audit(YYY.67) : avc: denied { net_admin } for pid=6669 comm=pmproxy capability=net_admin scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:system_r:pcp_pmproxy_t:s0 tclass=capability +-allow pcp_pmproxy_t self:capability { net_admin dac_override }; +- +-#type=AVC msg=audit(YYY.68) : avc: denied { read } for pid=6669 comm=pmproxy name=disable_ipv6 dev="proc" ino=9994 scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file +-#type=AVC msg=audit(YYY.69) : avc: denied { open } for pid=9669 comm=pmproxy path=/proc/sys/net/ipv6/conf/all/disable_ipv6 dev="proc" ino=9994 scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file +-#type=AVC msg=audit(YYY.70) : avc: denied { getattr } for pid=9669 comm=pmproxy path=/proc/sys/net/ipv6/conf/all/disable_ipv6 dev="proc" ino=9994 scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file +-allow pcp_pmproxy_t sysctl_net_t:file { getattr open read }; +- +-#type=AVC msg=audit(YYY.72): avc: denied { read } for pid=28833 comm="pmproxy" name="unix" dev="proc" ino=4026532015 scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file +-#RHBZ1517656 +-allow pcp_pmproxy_t proc_net_t:file read; +- +-#type=AVC msg=audit(YYY.73): avc: denied { read } for pid=35314 comm="pmproxy" name="pmlogger" dev="dm-92" ino=134 scontext=system_u:system_r:pcp_pmproxy_t:s0 tcontext=system_u:object_r:pcp_log_t:s0 tclass=lnk_file +-allow pcp_pmproxy_t pcp_log_t:lnk_file read; +- +-#============= pmda-smart ============== +- +-#type=AVC msg=audit(YYY.75): avc: denied { read } for pid=8678 comm="sh" name="smartctl" dev="dm-1" ino=2249815 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 +-#type=AVC msg=audit(YYY.76): avc: denied { open } for pid=8678 comm="sh" path="/usr/sbin/smartctl" dev="dm-1" ino=2249815 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 +-#type=AVC msg=audit(YYY.77): avc: denied { execute_no_trans } for pid=8678 comm="sh" path="/usr/sbin/smartctl" dev="dm-1" ino=2249815 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 +-#type=AVC msg=audit(YYY.78): avc: denied { execute } for pid=8678 comm="sh" name="smartctl" dev="dm-1" ino=2249815 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 +-#type=AVC msg=audit(YYY.79): avc: denied { getattr } for pid=4770 comm="sh" path="/usr/sbin/smartctl" dev="dm-1" ino=2249815 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 +-#type=AVC msg=audit(YYY.80): avc: denied { map } for pid=8678 comm="smartctl" path="/usr/sbin/smartctl" dev="dm-1" ino=2249815 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1 +-#type=AVC msg=audit(YYY.81): avc: denied { sys_rawio } for pid=8678 comm="smartctl" capability=17 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability permissive=1 +-#type=AVC msg=audit(YYY.92): avc: denied { read } for pid=26828 comm="smartctl" name="sda" dev="devtmpfs" ino=9158 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file permissive=0 +- +-allow pcp_pmcd_t fsadm_exec_t:file { execute execute_no_trans getattr open read @PCP_FSADM_EXEC_MAP@ }; +-allow pcp_pmcd_t fixed_disk_device_t:blk_file { open read ioctl }; +- +-#============= pmda-nvidia ============== +-#type=AVC msg=audit(YYY.102): avc: denied { map } for pid=7034 comm="pmdanvidia" path="/usr/lib64/libnvidia-ml.so" dev="dm-2" ino=16267329 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:default_t:s0 tclass=file permissive=0 +-#type=AVC msg=audit(YYY.84): avc: denied { execute } for pid=19828 comm="pmdanvidia" path="/usr/lib64/libnvidia-ml.so" dev="dm-2" ino=16267329 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:default_t:s0 tclass=file permissive=0 +-@PCP_DEFAULT_MAP_RULE@ +- +-#type=AVC msg=audit(XXX.99): avc: denied { read write } for pid=10242 comm="pmdanvidia" name="nvidiactl" dev="devtmpfs" ino=723 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:xserver_misc_device_t:s0 tclass=chr_file permissive=0 +-allow pcp_pmcd_t xserver_misc_device_t:chr_file { open read write ioctl }; +- +-#type=AVC msg=audit(XXX.100): avc: denied { read } for pid=279604 comm="pmdanvidia" name="nvidia-cap2" dev="devtmpfs" ino=766 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:object_r:device_t:s0 tclass=chr_file permissive=0 +-allow pcp_pmcd_t device_t:chr_file { open read }; +- +-#type=AVC msg=audit(XXX.66): avc: denied { sys_rawio } for pid=YYYY comm="pmdaX" name="/" dev="tracefs" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:pcp_pmcd_t:s0 tclass=capability permissive=0 +-allow pcp_pmcd_t self:capability sys_rawio; +- +-#============= pmda-libvirt ============== +-#type=AVC msg=audit(YYY.90): avc: denied { write } for pid=30922 comm="python3" name="libvirt-sock-ro" dev="tmpfs" ino=25845 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:virt_var_run_t:s0 tclass=sock_file permissive=0 +-@PCP_VIRT_VAR_RUN_RULE@ +- +-#============= pmda-shping ============== +-@PCP_RPCBIND_VAR_RUN_RULE@ +- +-#============= pmda-openvswitch ============== +-#type=AVC msg=audit(YYY.96): avc: denied { execute } for pid=3248485 comm="sh" name="ovs-vsctl" dev="dm-0" ino=2403822 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:openvswitch_exec_t:s0 tclass=file permissive=0 +-allow pcp_pmcd_t openvswitch_exec_t:file { execute execute_no_trans }; +- +-#============= pmda-netcheck ============== +-allow pcp_pmcd_t ping_exec_t:file { execute execute_no_trans @PCP_HOSTNAME_EXEC_MAP@ }; +-allow pcp_pmcd_t self:capability net_raw; +-allow pcp_pmcd_t self:process setcap; +-@PCP_RAWIP_SOCKET_RULE@ +-@PCP_ICMP_SOCKET_RULE@ +- +-# permit pcp_pmcd_t domain to read all dirs,files and fifo_file in attribute file_type +-@PCP_SELINUX_MACRO_RULE@ +-files_read_all_files(pcp_pmcd_t) +-files_read_all_files(pcp_pmie_t) +-files_read_all_files(pcp_pmlogger_t) +-files_read_all_files(pcp_pmproxy_t) +- +-allow pcp_domain file_type:fifo_file read_fifo_file_perms; +- +-# permit pcp_pmcd_t domain to read shared memory and semaphores of all domain on system +-allow pcp_domain domain:shm r_sem_perms; +-allow pcp_domain domain:sem r_shm_perms; +-allow pcp_domain userdomain:shm r_sem_perms; +-allow pcp_domain userdomain:sem r_shm_perms; +- +-# permit pcp_domain stream connect to all domains +-allow pcp_domain domain:unix_stream_socket connectto; +- +-# permit pcp_domain to connect to all ports. +-corenet_tcp_connect_all_ports(pcp_domain) +- +-# all pcp_domain read access to all maps +-@PCP_MMAP_ALL@ +- +-# all pcp_domain watch access to all log files +-@PCP_WATCH_ALL@ +-@PCP_WATCH_JOURNAL@ +- +-#=========== pmda-hacluster ============ +-# pmda-hacluster requirements for checking crm_mon, cibadmin, corosync-quorumtool, corosync-cfgtool +-# type=AVC msg=audit(XXX.75): avc: denied { write } for pid=626777 comm="crm_mon" name="qb-request-stonith-ng-header" dev="tmpfs" ino=584198 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cluster_tmpfs_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(XXX.76): avc: denied { write } for pid=6402 comm="cibadmin" name="qb-request-cib_rw-header" dev="tmpfs" ino=1496 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cluster_tmpfs_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(XXX.77): avc: denied { write } for pid=6406 comm="corosync-quorum" name="qb-request-cmap-header" dev="tmpfs" ino=1545 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cluster_tmpfs_t:s0 tclass=file permissive=1 +-# type=AVC msg=audit(XXX.78): avc: denied { write } for pid=212252 comm="corosync-cfgtoo" name="qb-request-cfg-header" dev="tmpfs" ino=334 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cluster_tmpfs_t:s0 tclass=file permissive=1 +-allow pcp_pmcd_t cluster_tmpfs_t:file { write }; +- +-# pmda-hacluster requirements for checking drbdsetup +-# type=AVC msg=audit(XXX.79): avc: denied { execute_no_trans } for pid=627791 comm="sh" path="/usr/sbin/drbdsetup" dev="vda1" ino=972119 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:drbd_exec_t:s0 tclass=file permissive=1 +-allow pcp_pmcd_t drbd_exec_t:file { execute execute_no_trans }; +- +-# pmda-hacluster requirements for checking drbdsetup +-# type=AVC msg=audit(XXX.80): avc: denied { write } for pid=626006 comm="drbdsetup" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_generic_socket permissive=1 +-@PCP_NETLINK_GENERIC_SOCKET_RULE@ +- +-# pmda-hacluster requirements for checking sbd +-# type=AVC msg=audit(XXX.81): avc: denied { execute_no_trans } for pid=421434 comm="sh" path="/usr/sbin/sbd" dev="vda1" ino=1050019 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:sbd_exec_t:s0 tclass=file permissive=1 +-@PCP_SBD_EXEC_RULE@ +- +-#=========== pmda-sockets ============ +-# type=AVC msg=audit(XXX.85): avc: denied { create } for pid=YYYY comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 +-# type=AVC msg=audit(XXX.86): avc: denied { setopt } for pid=YYYY comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 +-# type=AVC msg=audit(XXX.87): avc: denied { bind } for pid=YYYY comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 +-# type=AVC msg=audit(XXX.88): avc: denied { getattr } for pid=YYYY comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 +-# type=AVC msg=audit(XXX.89): avc: denied { nlmsg_read } for pid=YYYY comm="ss" scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=netlink_tcpdiag_socket permissive=1 +-@PCP_NETLINK_TCPDIAG_SOCKET_RULE@ +- +-#============= syslogd_t ============== +-allow syslogd_t pcp_log_t:fifo_file { open read write }; +diff -Naurp pcp-5.3.7.orig/src/selinux/README pcp-5.3.7/src/selinux/README +--- pcp-5.3.7.orig/src/selinux/README 2022-10-26 16:42:20.924360340 +1100 ++++ pcp-5.3.7/src/selinux/README 2022-10-26 16:45:21.289093941 +1100 +@@ -2,17 +2,20 @@ PCP SELinux Module + + == TL;DR == + +-Dammit Jim, I'm a developer, not an SELinux expert! ++PCP is now using an "independent" selinux policy: ++https://fedoraproject.org/wiki/SELinux/IndependentPolicy + +-Ok ok, AVC denials are logged in /var/log/audit/audit.log. Pull out +-the relevant errors, and either, forward that along with the bug/pull +-request for us to add/fix, or run: ++PCP also makes extensive use of "optional" policy macros: ++https://selinuxproject.org/page/NB_RefPolicy#optional_policy_Macro + +-sudo grep '^type=AVC.*pcp' /var/log/audit/audit.log \ +-| audit2allow -w + +-which will verify that the AVC is not already covered in the pcp +-policy file. ++== Overview == ++ ++AVC denials are logged in /var/log/audit/audit.log. Run: ++ ++sudo grep '^type=AVC.*pcp' /var/log/audit/audit.log | audit2allow -w ++ ++(to verify that the AVC is not already covered in the pcp policy). + + Before going any further, consider the current SELinux mode. If it + is Enforcing, then you'll not be seeing any subsequent errors after +@@ -21,7 +24,7 @@ to Permissive mode, as in: + $ sudo setenforce Permissive + and repeating the failing operation (which should now pass!). + +-Just remember to turn Enforcing back on, if required, with: ++Remember to turn Enforcing mode back on with: + $ sudo setenforce Enforcing + + Now there are two options ... create and load your own module policy +@@ -31,8 +34,7 @@ Now there are two options ... create and + | audit2allow -M mypolicy + $ sudo semodule -i mypolicy.pp + +-Else merge the new rules into the PCP package rules, probably in +-src/selinux/pcpupstream.te.in. ++Else merge the new rules into pcp.te. + + $ sudo grep '^type=AVC.*pcp' /var/log/audit/audit.log \ + | audit2allow -m myrules +@@ -54,8 +56,8 @@ This will produce output something like + At which point you need to make sure all the "types" (pcp_pmcd_t + above), "classes" (capability chown above) and other elements in the + require { ... } clause are already mentioned in the require { ... } +-clause in src/selinux/pcpupstream.te.in. If they are missing, add +-them here. Note that classes may be sets, hence the form ++clause in src/selinux/pcp.te. If they are missing, add them here. ++Note that classes may be sets, hence the form + + class capability { kill ... chown ... }; + +@@ -65,41 +67,12 @@ rather than the singular form + + as reported by audit2allow -m. + +-Also, some of the "require" elements may be optional (not supported on +-all versions of SELinux), so watch out for things like +- +- @PCP_TRACEFS@ +- +-which becomes +- +- type tracefs_t; +- +-or +- +- +- +-and the corresponding conditional rules, like @PCP_TRACEFS_FS_RULE@, +-@PCP_TRACEFS_DIR_RULE@ and @PCP_TRACEFS_FILE_RULE@ +- +-Now go further down src/selinux/pcpupstream.te.in and add the "allow" +-clause from audit2allow -m, prefixed by the full text of the matching +-AVC line from audit.log as a comment, so something like: +- +- # type=AVC msg=audit(1554197433.052:5607): avc: denied { chown } for pid=8999 comm="pmdasimple" capability=0 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=capability +- allow pcp_pmcd_t self:capability chown; +- +-For documentation, it will help to replace the msg=audit(...) part +-with msg=audit(XXX.) (or YYY.) provided the (number) part is +-chosen to make the line unique across all type=AVC comments ... the +-src/selinux/next-xxx-yyy script will report the next available unique +-IDs for both XXX. and YYY.. ++At this stage, all new policy additions need to be conditional ++(i.e. annotated as "optional"). + + Be careful you understand what context accesses you're allowing with + this policy, and that they *should* be allowed. + +-If you choose the latter, please be a good samaritan and forward the +-relevant AVC denials upstream for the community to apply and ship the +-updated policy package. + + There's also a possibility that the AVC is covered by some dontaudit + rule. You can temporary disable dontaudit rules using: +@@ -110,73 +83,7 @@ There's also other than AVC audit events + and SELINUX_ERR that could be checked in case of unexplained issues: + + # ausearch -m avc,user_avc,selinux_err -i -ts recent +- +-== Full Recipe for Conditional Classes and/or Permissions == + +-or how to add PCP_SELINUX_FOO_SOMETHING +- +-where _SOMETHING (and _something) is empty (if "foo" is simply a +-type) or _T (and _t) or _CLASS (and _class) or something else +-(like as in "FOO_SOMETHING" is _). +- +-configure.ac +- +- additional logic in the types or class interrogation blocks +- to initially set pcp_selinux_foo_something to false, then +- conditionally set pcp_selinux_foo_something, and finally an extra +- AC_SUBST(pcp_selinux_foo_something) further down +- +-src/include/builddefs.in +- add +- PCP_SELINUX_FOO_SOMETHING = @pcp_selinux_foo_something@ +- +-src/selinux/GNUlocaldefs +- add +- ifeq "$(PCP_SELINUX_FOO_SOMETHING)" "true" +- PCP_FOO_T="... type ..." +- PCP_FOO_CLASS="... class ..." +- PCP_FOO_RULE="... rule ..." +- endif +- +- Note usually need one or two of these variable assignments (so +- type and rule, or class and rule, or rule alone), and these these +- could be complete type definitions, complete class definitions +- or a permission in a list for a class. +- +-src/selinux/pcpupstream.te.in +- in the require { ... } block add +- @PCP_FOO_T@ +- and/or +- @PCP_FOO_CLASS@ +- +- +-qa/GNUselinuxdefs +- ifeq "$(PCP_SELINUX_FOO_SOMETHING)" "true" +- ... gmake macro definitions for (PCP_FOO_T (types) or +- PCP_FOO_CLASS (classes)) and PCP_FOO_RULE for allowed +- accesses +- +-qa/GNUmakefile +- additional sed rules for one or more of the following: +- -e 's+@PCP_FOO_T@+'$(PCP_FOO_T)'+' \ +- -e 's+@PCP_FOO_CLASS@+'$(PCP_FOO_CLASS)'+' \ +- -e 's+@PCP_FOO_RULE@+'$(PCP_FOO_RULE)'+' \ +- +- To test this ... +- +- $ cd .. +- $ autoconf +- $ qa/admin/myconfigure -q +- importantly this runs configure and updates src/builddefs +- and you should see a PCP_SELINUX_FOO_SOMETHING = true +- (or possibly false) line added +- $ cd qa +- $ rm -f pcpqa.te +- $ make pcpqa.te +- $ sed -e 's/#.*//' pcpqa.te | grep @ +- should be no lines with an @, else there is a name +- mismatch somewhere between ../configure.ac -> +- ../src/builddefs.in -> ./GNUselinux -> ./GNUmakefile + + == Building == + +@@ -185,80 +92,28 @@ In the src/selinux directory + $ make clean + $ make + +-Ignore any errors off in other people's rules, like +- +- /usr/share/selinux/devel/include/contrib/container.if:242: Error: duplicate definition of container_systemctl(). Original definition on 324. +- +-there's not much we can do about those. + + == Installing == + +- $ sudo semodule -r pcpupstream.pp +- $ sudo semodule -X 400 -i pcpupstream.pp ++ $ sudo semodule -r pcp.pp ++ $ sudo semodule -X 200 -i pcp.pp + +-or if semodule is too old to understand -X 400 ++or if semodule is too old to understand -X 200 + +- $ sudo semodule -i pcpupstream.pp ++ $ sudo semodule -i pcp.pp + + verify installation with: + +- $ sudo semodule --list=full | grep pcpupstream ++ $ sudo semodule --list=full | grep pcp + + or if semodule is too old to understand --list=full + +- $ sudo semodule --list-modules | grep pcpupstream ++ $ sudo semodule --list-modules | grep pcp + + and to make sure QA is a happy camper + + $ sudo make install + +-== QA == +- +-Next go over to qa and possibly modify tests 1141, 1622 and 917. +- +-Add/delete/modify the matching AVC line changes from +-src/selinux/pcpupstream.te.in (without the comment # prefix) to the +-end of the here-is document in qa/1622. +- +-If you add, edit or remove "allow" lines in +-src/selinux/pcpupstream.te.in then you need to review the +-corresponding type=AVC line in qa/1622 and make sure they are +-consistent. +- +-And test 917.out.in may need some adjustment if you've added or +-deleted or amended the allow rules. +- +-== Bugs == +- +-https://bugzilla.redhat.com/show_bug.cgi?id=1337968 +-https://bugzilla.redhat.com/show_bug.cgi?id=1381127 +-https://bugzilla.redhat.com/show_bug.cgi?id=1398147 +-https://bugzilla.redhat.com/show_bug.cgi?id=1214090 +-https://bugzilla.redhat.com/show_bug.cgi?id=1336211 +- +-== PCP Context Types == +- +-# semanage fcontext -l | grep pcp +- +-/etc/rc\.d/init\.d/pmcd regular file system_u:object_r:pcp_pmcd_initrc_exec_t:s0 +-/etc/rc\.d/init\.d/pmie regular file system_u:object_r:pcp_pmie_initrc_exec_t:s0 +-/etc/rc\.d/init\.d/pmlogger regular file system_u:object_r:pcp_pmlogger_initrc_exec_t:s0 +-/etc/rc\.d/init\.d/pmproxy regular file system_u:object_r:pcp_pmproxy_initrc_exec_t:s0 +-/usr/bin/pmcd regular file system_u:object_r:pcp_pmcd_exec_t:s0 +-/usr/bin/pmie regular file system_u:object_r:pcp_pmie_exec_t:s0 +-/usr/bin/pmlogger regular file system_u:object_r:pcp_pmlogger_exec_t:s0 +-/usr/bin/pmproxy regular file system_u:object_r:pcp_pmproxy_exec_t:s0 +-/usr/libexec/pcp/bin/pmcd regular file system_u:object_r:pcp_pmcd_exec_t:s0 +-/usr/libexec/pcp/bin/pmie regular file system_u:object_r:pcp_pmie_exec_t:s0 +-/usr/libexec/pcp/bin/pmlogger regular file system_u:object_r:pcp_pmlogger_exec_t:s0 +-/usr/libexec/pcp/bin/pmproxy regular file system_u:object_r:pcp_pmproxy_exec_t:s0 +-/usr/share/pcp/lib/pmie regular file system_u:object_r:pcp_pmie_exec_t:s0 +-/usr/share/pcp/lib/pmlogger regular file system_u:object_r:pcp_pmlogger_exec_t:s0 +-/var/lib/pcp(/.*)? all files system_u:object_r:pcp_var_lib_t:s0 +-/var/log/pcp(/.*)? all files system_u:object_r:pcp_log_t:s0 +-/var/run/pcp(/.*)? all files system_u:object_r:pcp_var_run_t:s0 +-/var/run/pmcd\.socket regular file system_u:object_r:pcp_var_run_t:s0 +-/var/run/pmlogger\.primary\.socket symbolic link system_u:object_r:pcp_var_run_t:s0 + + == Background == + +@@ -335,13 +190,6 @@ decl 1: + allow [pcp_pmie_t] [hostname_exec_t] : [file] { execute execute_no_trans getattr open read }; + allow [pcp_pmie_t] self : [capability] { kill net_admin chown }; + +-== Additional Resources == +- +-http://equivocation.org/node/24 +-http://equivocation.org/node/27 +-http://equivocation.org/node/42 +-http://equivocation.org/node/51 +-http://equivocation.org/node/52 + + == Debugging Policy Package Notes == + +@@ -349,7 +197,7 @@ In instances where a policy package fail + error related to the cil file, you can use the following command to + extract the policy package to an equivalent state to debug: + +-# /usr/libexec/selinux/hll/pp /path/to/pcpupstream.pp /tmp/pcpupstream.cil ++# /usr/libexec/selinux/hll/pp /path/to/pcp.pp /tmp/pcp.cil + + It is then possible to inspect the offending cil file to determine the + missing context/class/type. +diff -Naurp pcp-5.3.7.orig/src/selinux/selinux-setup.sh pcp-5.3.7/src/selinux/selinux-setup.sh +--- pcp-5.3.7.orig/src/selinux/selinux-setup.sh 2022-10-26 16:42:20.924360340 +1100 ++++ pcp-5.3.7/src/selinux/selinux-setup.sh 1970-01-01 10:00:00.000000000 +1000 +@@ -1,60 +0,0 @@ +-#!/bin/sh +-# +-# selinux-setup - install or remove PCP selinux policy files +-# Usage: selinux-setup [install|remove] +-# +-# Copyright (c) 2018 Red Hat. +-# +-# This program is free software; you can redistribute it and/or modify it +-# under the terms of the GNU General Public License as published by the +-# Free Software Foundation; either version 2 of the License, or (at your +-# option) any later version. +-# +-# This program is distributed in the hope that it will be useful, but +-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +-# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +-# for more details. +-# +- +-trap "exit 0" 0 1 2 3 15 +-prog=`basename $0` +- +-if [ $# -lt 3 ] +-then +- echo "$prog: invalid arguments -- $@" 1>&2 +- exit +-fi +- +-# check all prerequisites and always exit cleanly for packagers +-test -x /usr/sbin/selinuxenabled || exit +-test -x /usr/sbin/semodule || exit +-/usr/sbin/selinuxenabled || exit +- +-selinuxdir="$1" +-command="$2" +-policy="$3" +- +-case "$command" +-in +- install) +- test -f "$selinuxdir/$policy.pp" || exit +- if semodule -h | grep -q -- "-X" >/dev/null 2>&1 +- then +- semodule -X 400 -i "$selinuxdir/$policy.pp" +- else +- semodule -i "$selinuxdir/$policy.pp" +- fi #semodule -X flag check +- ;; +- +- remove) +- semodule -l | grep "$policy" >/dev/null 2>&1 || exit +- if semodule -h | grep -q -- "-X" >/dev/null 2>&1 +- then +- semodule -X 400 -r "$policy" >/dev/null +- else +- semodule -r "$policy" >/dev/null +- fi #semodule -X flag check +- ;; +-esac +- +-exit diff --git a/SOURCES/redhat-bugzilla-2135314-pmfind-fix.patch b/SOURCES/redhat-bugzilla-2135314-pmfind-fix.patch new file mode 100644 index 0000000..fab03f6 --- /dev/null +++ b/SOURCES/redhat-bugzilla-2135314-pmfind-fix.patch @@ -0,0 +1,534 @@ +diff -Naurp pcp-5.3.7.orig/qa/1985 pcp-5.3.7/qa/1985 +--- pcp-5.3.7.orig/qa/1985 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/qa/1985 2022-10-19 21:32:03.971832371 +1100 +@@ -0,0 +1,38 @@ ++#!/bin/sh ++# PCP QA Test No. 1985 ++# Exercise a pmfind fix - valgrind-enabled variant. ++# ++# Copyright (c) 2022 Red Hat. All Rights Reserved. ++# ++ ++seq=`basename $0` ++echo "QA output created by $seq" ++ ++# get standard environment, filters and checks ++. ./common.product ++. ./common.filter ++. ./common.check ++ ++_check_valgrind ++ ++_cleanup() ++{ ++ cd $here ++ $sudo rm -rf $tmp $tmp.* ++} ++ ++status=0 # success is the default! ++$sudo rm -rf $tmp $tmp.* $seq.full ++trap "_cleanup; exit \$status" 0 1 2 3 15 ++ ++# real QA test starts here ++export seq ++./1986 --valgrind \ ++| $PCP_AWK_PROG ' ++skip == 1 && $1 == "===" { skip = 0 } ++/^=== std err ===/ { skip = 1 } ++skip == 0 { print } ++skip == 1 { print >>"'$here/$seq.full'" }' ++ ++# success, all done ++exit +diff -Naurp pcp-5.3.7.orig/qa/1985.out pcp-5.3.7/qa/1985.out +--- pcp-5.3.7.orig/qa/1985.out 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/qa/1985.out 2022-10-19 21:32:03.971832371 +1100 +@@ -0,0 +1,11 @@ ++QA output created by 1985 ++QA output created by 1986 --valgrind ++=== std out === ++SOURCE HOSTNAME ++=== filtered valgrind report === ++Memcheck, a memory error detector ++Command: pmfind -S -m probe=127.0.0.1/32 ++LEAK SUMMARY: ++definitely lost: 0 bytes in 0 blocks ++indirectly lost: 0 bytes in 0 blocks ++ERROR SUMMARY: 0 errors from 0 contexts ... +diff -Naurp pcp-5.3.7.orig/qa/1986 pcp-5.3.7/qa/1986 +--- pcp-5.3.7.orig/qa/1986 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/qa/1986 2022-10-19 21:32:03.971832371 +1100 +@@ -0,0 +1,62 @@ ++#!/bin/sh ++# PCP QA Test No. 1986 ++# Exercise libpcp_web timers pmfind regression fix. ++# ++# Copyright (c) 2022 Red Hat. All Rights Reserved. ++# ++ ++if [ $# -eq 0 ] ++then ++ seq=`basename $0` ++ echo "QA output created by $seq" ++else ++ # use $seq from caller, unless not set ++ [ -n "$seq" ] || seq=`basename $0` ++ echo "QA output created by `basename $0` $*" ++fi ++ ++# get standard environment, filters and checks ++. ./common.product ++. ./common.filter ++. ./common.check ++ ++do_valgrind=false ++if [ "$1" = "--valgrind" ] ++then ++ _check_valgrind ++ do_valgrind=true ++fi ++ ++test -x $PCP_BIN_DIR/pmfind || _notrun No support for pmfind ++ ++_cleanup() ++{ ++ cd $here ++ $sudo rm -rf $tmp $tmp.* ++} ++ ++status=0 # success is the default! ++hostname=`hostname || echo localhost` ++$sudo rm -rf $tmp $tmp.* $seq.full ++trap "_cleanup; exit \$status" 0 1 2 3 15 ++ ++_filter() ++{ ++ sed \ ++ -e "s@$tmp@TMP@g" \ ++ -e "s/ $hostname/ HOSTNAME/" \ ++ -e 's/^[a-f0-9][a-f0-9]* /SOURCE /' \ ++ # end ++} ++ ++# real QA test starts here ++if $do_valgrind ++then ++ _run_valgrind pmfind -S -m probe=127.0.0.1/32 ++else ++ pmfind -S -m probe=127.0.0.1/32 ++fi \ ++| _filter ++ ++# success, all done ++exit +diff -Naurp pcp-5.3.7.orig/qa/1986.out pcp-5.3.7/qa/1986.out +--- pcp-5.3.7.orig/qa/1986.out 1970-01-01 10:00:00.000000000 +1000 ++++ pcp-5.3.7/qa/1986.out 2022-10-19 21:32:03.971832371 +1100 +@@ -0,0 +1,2 @@ ++QA output created by 1986 ++SOURCE HOSTNAME +diff -Naurp pcp-5.3.7.orig/qa/group pcp-5.3.7/qa/group +--- pcp-5.3.7.orig/qa/group 2022-10-19 20:49:42.638708707 +1100 ++++ pcp-5.3.7/qa/group 2022-10-19 21:32:03.972832359 +1100 +@@ -1974,4 +1974,6 @@ x11 + 1957 libpcp local valgrind + 1978 atop local + 1984 pmlogconf pmda.redis local ++1985 pmfind local valgrind ++1986 pmfind local + 4751 libpcp threads valgrind local pcp helgrind +diff -Naurp pcp-5.3.7.orig/src/libpcp_web/src/webgroup.c pcp-5.3.7/src/libpcp_web/src/webgroup.c +--- pcp-5.3.7.orig/src/libpcp_web/src/webgroup.c 2021-11-01 13:02:26.000000000 +1100 ++++ pcp-5.3.7/src/libpcp_web/src/webgroup.c 2022-10-19 21:32:03.973832346 +1100 +@@ -287,11 +287,24 @@ webgroup_new_context(pmWebGroupSettings + } + + static void ++webgroup_timers_stop(struct webgroups *groups) ++{ ++ if (groups->active) { ++ uv_timer_stop(&groups->timer); ++ uv_close((uv_handle_t *)&groups->timer, NULL); ++ pmWebTimerRelease(groups->timerid); ++ groups->timerid = -1; ++ groups->active = 0; ++ } ++} ++ ++static void + webgroup_garbage_collect(struct webgroups *groups) + { + dictIterator *iterator; + dictEntry *entry; + context_t *cp; ++ unsigned int count = 0, drops = 0; + + if (pmDebugOptions.http || pmDebugOptions.libweb) + fprintf(stderr, "%s: started\n", "webgroup_garbage_collect"); +@@ -308,33 +321,40 @@ webgroup_garbage_collect(struct webgroup + uv_mutex_unlock(&groups->mutex); + webgroup_drop_context(cp, groups); + uv_mutex_lock(&groups->mutex); ++ drops++; + } ++ count++; + } + dictReleaseIterator(iterator); ++ ++ /* if dropping the last remaining context, do cleanup */ ++ if (groups->active && drops == count) { ++ if (pmDebugOptions.http || pmDebugOptions.libweb) ++ fprintf(stderr, "%s: freezing\n", "webgroup_garbage_collect"); ++ webgroup_timers_stop(groups); ++ } + uv_mutex_unlock(&groups->mutex); + } + + if (pmDebugOptions.http || pmDebugOptions.libweb) +- fprintf(stderr, "%s: finished\n", "webgroup_garbage_collect"); ++ fprintf(stderr, "%s: finished [%u drops from %u entries]\n", ++ "webgroup_garbage_collect", drops, count); + } + + static void + refresh_maps_metrics(void *data) + { + struct webgroups *groups = (struct webgroups *)data; ++ unsigned int value; + +- if (groups->metrics) { +- unsigned int value; +- +- value = dictSize(contextmap); +- mmv_set(groups->map, groups->metrics[CONTEXT_MAP_SIZE], &value); +- value = dictSize(namesmap); +- mmv_set(groups->map, groups->metrics[NAMES_MAP_SIZE], &value); +- value = dictSize(labelsmap); +- mmv_set(groups->map, groups->metrics[LABELS_MAP_SIZE], &value); +- value = dictSize(instmap); +- mmv_set(groups->map, groups->metrics[INST_MAP_SIZE], &value); +- } ++ value = contextmap? dictSize(contextmap) : 0; ++ mmv_set(groups->map, groups->metrics[CONTEXT_MAP_SIZE], &value); ++ value = namesmap? dictSize(namesmap) : 0; ++ mmv_set(groups->map, groups->metrics[NAMES_MAP_SIZE], &value); ++ value = labelsmap? dictSize(labelsmap) : 0; ++ mmv_set(groups->map, groups->metrics[LABELS_MAP_SIZE], &value); ++ value = instmap? dictSize(instmap) : 0; ++ mmv_set(groups->map, groups->metrics[INST_MAP_SIZE], &value); + } + + static void +@@ -487,6 +507,7 @@ pmWebGroupDestroy(pmWebGroupSettings *se + if (pmDebugOptions.libweb) + fprintf(stderr, "%s: destroy context %p gp=%p\n", "pmWebGroupDestroy", cp, gp); + ++ webgroup_deref_context(cp); + webgroup_drop_context(cp, gp); + } + sdsfree(msg); +@@ -2394,17 +2415,12 @@ pmWebGroupClose(pmWebGroupModule *module + + if (groups) { + /* walk the contexts, stop timers and free resources */ +- if (groups->active) { +- groups->active = 0; +- uv_timer_stop(&groups->timer); +- pmWebTimerRelease(groups->timerid); +- groups->timerid = -1; +- } + iterator = dictGetIterator(groups->contexts); + while ((entry = dictNext(iterator)) != NULL) + webgroup_drop_context((context_t *)dictGetVal(entry), NULL); + dictReleaseIterator(iterator); + dictRelease(groups->contexts); ++ webgroup_timers_stop(groups); + memset(groups, 0, sizeof(struct webgroups)); + free(groups); + } +diff -Naurp pcp-5.3.7.orig/src/pmfind/source.c pcp-5.3.7/src/pmfind/source.c +--- pcp-5.3.7.orig/src/pmfind/source.c 2021-02-17 15:27:41.000000000 +1100 ++++ pcp-5.3.7/src/pmfind/source.c 2022-10-19 21:32:03.973832346 +1100 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2020 Red Hat. ++ * Copyright (c) 2020,2022 Red Hat. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the +@@ -25,6 +25,7 @@ static pmWebGroupSettings settings; + typedef struct { + sds source; + sds hostspec; ++ unsigned int refcount; + } context_t; + + typedef struct { +@@ -38,22 +39,34 @@ typedef struct { + } sources_t; + + static void ++source_release(sources_t *sp, context_t *cp, sds ctx) ++{ ++ pmWebGroupDestroy(&settings, ctx, sp); ++ sdsfree(cp->hostspec); ++ sdsfree(cp->source); ++ free(cp); ++} ++ ++static void + sources_release(void *arg, const struct dictEntry *entry) + { + sources_t *sp = (sources_t *)arg; + context_t *cp = (context_t *)dictGetVal(entry); + sds ctx = (sds)entry->key; + +- pmWebGroupDestroy(&settings, ctx, sp); +- sdsfree(cp->hostspec); +- sdsfree(cp->source); ++ if (pmDebugOptions.discovery) ++ fprintf(stderr, "releasing context %s\n", ctx); ++ ++ source_release(sp, cp, ctx); + } + + static void +-sources_containers(sources_t *sp, sds id, dictEntry *uniq) ++sources_containers(sources_t *sp, context_t *cp, sds id, dictEntry *uniq) + { + uv_mutex_lock(&sp->mutex); +- sp->count++; /* issuing another PMWEBAPI request */ ++ /* issuing another PMWEBAPI request */ ++ sp->count++; ++ cp->refcount++; + uv_mutex_unlock(&sp->mutex); + + pmWebGroupScrape(&settings, id, sp->params, sp); +@@ -75,6 +88,7 @@ on_source_context(sds id, pmWebSource *s + + cp->source = sdsdup(src->source); + cp->hostspec = sdsdup(src->hostspec); ++ cp->refcount = 1; + + uv_mutex_lock(&sp->mutex); + dictAdd(sp->contexts, id, cp); +@@ -84,7 +98,7 @@ on_source_context(sds id, pmWebSource *s + if (entry) { /* source just discovered */ + printf("%s %s\n", src->source, src->hostspec); + if (containers) +- sources_containers(sp, id, entry); ++ sources_containers(sp, cp, id, entry); + } + } + +@@ -116,7 +130,9 @@ static void + on_source_done(sds context, int status, sds message, void *arg) + { + sources_t *sp = (sources_t *)arg; +- int count = 0, release = 0; ++ context_t *cp; ++ dictEntry *he; ++ int remove = 0, count = 0, release = 0; + + if (pmDebugOptions.discovery) + fprintf(stderr, "done on context %s (sts=%d)\n", context, status); +@@ -127,19 +143,26 @@ on_source_done(sds context, int status, + uv_mutex_lock(&sp->mutex); + if ((count = --sp->count) <= 0) + release = 1; ++ if ((he = dictFind(sp->contexts, context)) != NULL && ++ (cp = (context_t *)dictGetVal(he)) != NULL && ++ (--cp->refcount <= 0)) ++ remove = 1; + uv_mutex_unlock(&sp->mutex); + ++ if (remove) { ++ if (pmDebugOptions.discovery) ++ fprintf(stderr, "remove context %s\n", context); ++ source_release(sp, cp, context); ++ dictDelete(sp->contexts, context); ++ } ++ + if (release) { + unsigned long cursor = 0; +- +- if (pmDebugOptions.discovery) +- fprintf(stderr, "release context %s (sts=%d)\n", context, status); + do { + cursor = dictScan(sp->contexts, cursor, sources_release, NULL, sp); + } while (cursor); +- } else { +- if (pmDebugOptions.discovery) +- fprintf(stderr, "not yet releasing (count=%d)\n", count); ++ } else if (pmDebugOptions.discovery) { ++ fprintf(stderr, "not yet releasing (count=%d)\n", count); + } + } + +@@ -190,6 +213,7 @@ sources_discovery_start(uv_timer_t *arg) + } + + dictRelease(dp); ++ pmWebTimerClose(); + } + + /* +@@ -214,8 +238,8 @@ source_discovery(int count, char **urls) + uv_mutex_init(&find.mutex); + find.urls = urls; + find.count = count; /* at least one PMWEBAPI request for each url */ +- find.uniq = dictCreate(&sdsDictCallBacks, NULL); +- find.params = dictCreate(&sdsDictCallBacks, NULL); ++ find.uniq = dictCreate(&sdsKeyDictCallBacks, NULL); ++ find.params = dictCreate(&sdsOwnDictCallBacks, NULL); + dictAdd(find.params, sdsnew("name"), sdsnew("containers.state.running")); + find.contexts = dictCreate(&sdsKeyDictCallBacks, NULL); + +@@ -230,6 +254,7 @@ source_discovery(int count, char **urls) + + pmWebGroupSetup(&settings.module); + pmWebGroupSetEventLoop(&settings.module, loop); ++ pmWebTimerSetEventLoop(loop); + + /* + * Start a one-shot timer to add a start function into the loop +@@ -244,7 +269,9 @@ source_discovery(int count, char **urls) + /* + * Finished, release all resources acquired so far + */ ++ pmWebGroupClose(&settings.module); + uv_mutex_destroy(&find.mutex); ++ dictRelease(find.uniq); + dictRelease(find.params); + dictRelease(find.contexts); + return find.status; +diff -Naurp pcp-5.3.7.orig/src/pmproxy/src/server.c pcp-5.3.7/src/pmproxy/src/server.c +--- pcp-5.3.7.orig/src/pmproxy/src/server.c 2022-04-05 09:05:43.000000000 +1000 ++++ pcp-5.3.7/src/pmproxy/src/server.c 2022-10-19 21:31:43.831093354 +1100 +@@ -1,5 +1,5 @@ + /* +- * Copyright (c) 2018-2019,2021 Red Hat. ++ * Copyright (c) 2018-2019,2021-2022 Red Hat. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published +@@ -310,17 +310,21 @@ on_write_callback(uv_callback_t *handle, + struct client *client = (struct client *)request->writer.data; + int sts; + ++ (void)handle; + if (pmDebugOptions.af) + fprintf(stderr, "%s: client=%p\n", "on_write_callback", client); + + if (client->stream.secure == 0) { + sts = uv_write(&request->writer, (uv_stream_t *)&client->stream, + &request->buffer[0], request->nbuffers, request->callback); +- if (sts != 0) +- fprintf(stderr, "%s: ERROR uv_write failed\n", "on_write_callback"); ++ if (sts != 0) { ++ pmNotifyErr(LOG_ERR, "%s: %s - uv_write failed [%s]: %s\n", ++ pmGetProgname(), "on_write_callback", ++ uv_err_name(sts), uv_strerror(sts)); ++ client_close(client); ++ } + } else + secure_client_write(client, request); +- (void)handle; + return 0; + } + +@@ -455,14 +459,16 @@ on_client_connection(uv_stream_t *stream + uv_handle_t *handle; + + if (status != 0) { +- fprintf(stderr, "%s: client connection failed: %s\n", +- pmGetProgname(), uv_strerror(status)); ++ pmNotifyErr(LOG_ERR, "%s: %s - %s failed [%s]: %s\n", ++ pmGetProgname(), "on_client_connection", "connection", ++ uv_err_name(status), uv_strerror(status)); + return; + } + + if ((client = calloc(1, sizeof(*client))) == NULL) { +- fprintf(stderr, "%s: out-of-memory for new client\n", +- pmGetProgname()); ++ pmNotifyErr(LOG_ERR, "%s: %s - %s failed [%s]: %s\n", ++ pmGetProgname(), "on_client_connection", "calloc", ++ "ENOMEM", strerror(ENOMEM)); + return; + } + if (pmDebugOptions.context | pmDebugOptions.af) +@@ -476,16 +482,18 @@ on_client_connection(uv_stream_t *stream + + status = uv_tcp_init(proxy->events, &client->stream.u.tcp); + if (status != 0) { +- fprintf(stderr, "%s: client tcp init failed: %s\n", +- pmGetProgname(), uv_strerror(status)); ++ pmNotifyErr(LOG_ERR, "%s: %s - %s failed [%s]: %s\n", ++ pmGetProgname(), "on_client_connection", "uv_tcp_init", ++ uv_err_name(status), uv_strerror(status)); + client_put(client); + return; + } + + status = uv_accept(stream, (uv_stream_t *)&client->stream.u.tcp); + if (status != 0) { +- fprintf(stderr, "%s: client tcp init failed: %s\n", +- pmGetProgname(), uv_strerror(status)); ++ pmNotifyErr(LOG_ERR, "%s: %s - %s failed [%s]: %s\n", ++ pmGetProgname(), "on_client_connection", "uv_accept", ++ uv_err_name(status), uv_strerror(status)); + client_put(client); + return; + } +@@ -496,8 +504,9 @@ on_client_connection(uv_stream_t *stream + status = uv_read_start((uv_stream_t *)&client->stream.u.tcp, + on_buffer_alloc, on_client_read); + if (status != 0) { +- fprintf(stderr, "%s: client read start failed: %s\n", +- pmGetProgname(), uv_strerror(status)); ++ pmNotifyErr(LOG_ERR, "%s: %s - %s failed [%s]: %s\n", ++ pmGetProgname(), "on_client_connection", "uv_read_start", ++ uv_err_name(status), uv_strerror(status)); + client_close(client); + } + } +@@ -530,8 +539,9 @@ open_request_port(struct proxy *proxy, s + + sts = uv_listen((uv_stream_t *)&stream->u.tcp, maxpending, on_client_connection); + if (sts != 0) { +- fprintf(stderr, "%s: socket listen error %s\n", +- pmGetProgname(), uv_strerror(sts)); ++ pmNotifyErr(LOG_ERR, "%s: %s - uv_listen failed [%s]: %s\n", ++ pmGetProgname(), "open_request_port", ++ uv_err_name(sts), uv_strerror(sts)); + uv_close(handle, NULL); + return -ENOTCONN; + } +@@ -554,15 +564,23 @@ open_request_local(struct proxy *proxy, + uv_pipe_init(proxy->events, &stream->u.local, 0); + handle = (uv_handle_t *)&stream->u.local; + handle->data = (void *)proxy; +- uv_pipe_bind(&stream->u.local, name); ++ sts = uv_pipe_bind(&stream->u.local, name); ++ if (sts != 0) { ++ pmNotifyErr(LOG_ERR, "%s: %s - uv_pipe_bind %s failed [%s]: %s\n", ++ pmGetProgname(), "open_request_local", name, ++ uv_err_name(sts), uv_strerror(sts)); ++ uv_close(handle, NULL); ++ return -ENOTCONN; ++ } + #ifdef HAVE_UV_PIPE_CHMOD + uv_pipe_chmod(&stream->u.local, UV_READABLE | UV_WRITABLE); + #endif + + sts = uv_listen((uv_stream_t *)&stream->u.local, maxpending, on_client_connection); + if (sts != 0) { +- fprintf(stderr, "%s: local listen error %s\n", +- pmGetProgname(), uv_strerror(sts)); ++ pmNotifyErr(LOG_ERR, "%s: %s - %s failed [%s]: %s\n", ++ pmGetProgname(), "open_request_local", "uv_listen", ++ uv_err_name(sts), uv_strerror(sts)); + uv_close(handle, NULL); + return -ENOTCONN; + } diff --git a/SOURCES/redhat-build-jsonsl.patch b/SOURCES/redhat-build-jsonsl.patch new file mode 100644 index 0000000..c2a9d46 --- /dev/null +++ b/SOURCES/redhat-build-jsonsl.patch @@ -0,0 +1,50 @@ +diff --git a/src/pmdas/podman/.gitignore b/src/pmdas/podman/.gitignore +index a4f35e0f43..aea2c4052e 100644 +--- a/src/pmdas/podman/.gitignore ++++ b/src/pmdas/podman/.gitignore +@@ -2,8 +2,6 @@ deps/ + domain.h + pmdapodman + pmda_podman.so +-jsonsl.c +-jsonsl.h + help.dir + help.pag + exports +diff --git a/src/pmdas/podman/GNUmakefile b/src/pmdas/podman/GNUmakefile +index d6e58cfca5..1117a7a4e4 100644 +--- a/src/pmdas/podman/GNUmakefile ++++ b/src/pmdas/podman/GNUmakefile +@@ -83,6 +83,7 @@ domain.h: ../../pmns/stdpmid + $(OBJECTS): domain.h + pmda.o: $(VERSION_SCRIPT) + pmda.o: $(TOPDIR)/src/include/pcp/libpcp.h ++podman.o: $(JSONSL_HFILES) + + check:: $(CFILES) $(HFILES) + $(CLINT) $^ +diff --git a/src/pmdas/root/.gitignore b/src/pmdas/root/.gitignore +index 21f507f0dd..b78b1fd28a 100644 +--- a/src/pmdas/root/.gitignore ++++ b/src/pmdas/root/.gitignore +@@ -1,8 +1,6 @@ + deps/ + domain.h + pmdaroot +-jsonsl.c +-jsonsl.h + help.dir + help.pag + pmns +diff --git a/src/pmdas/root/GNUmakefile b/src/pmdas/root/GNUmakefile +index ed01a18fb8..b02d4ea834 100644 +--- a/src/pmdas/root/GNUmakefile ++++ b/src/pmdas/root/GNUmakefile +@@ -83,6 +83,7 @@ pmns : + $(LN_S) -f root_root pmns + + lxc.o root.o: $(TOPDIR)/src/include/pcp/libpcp.h ++podman.o: $(JSONSL_HFILES) + + check:: $(CFILES) $(HFILES) + $(CLINT) $^ diff --git a/SPECS/pcp.spec b/SPECS/pcp.spec index 50b75e9..70a10ee 100644 --- a/SPECS/pcp.spec +++ b/SPECS/pcp.spec @@ -1,6 +1,6 @@ Name: pcp Version: 5.3.7 -Release: 9%{?dist} +Release: 15%{?dist} Summary: System-level performance monitoring and performance management License: GPLv2+ and LGPLv2+ and CC-BY URL: https://pcp.io @@ -12,9 +12,12 @@ Patch1: redhat-bugzilla-1981886-pmdasockets-backporting.patch Patch2: redhat-bugzilla-2059461-pmie-systemd-fixup.patch Patch3: redhat-bugzilla-2081262-pmdaproc-cgroups-fix.patch Patch4: redhat-bugzilla-2059463-pmdapostfix-harden.patch -Patch5: redhat-bugzilla-2050094-bcc-selinux.patch -Patch6: redhat-bugzilla-2093751-sudoers-docs.patch -Patch7: redhat-bugzilla-2101574-farm-config.patch +Patch5: redhat-bugzilla-2083897-dstat-missed-ticks.patch +Patch6: redhat-bugzilla-2111742-selinux-policy.patch +Patch7: redhat-bugzilla-2093751-sudoers-docs.patch +Patch8: redhat-bugzilla-2101574-farm-config.patch +Patch9: redhat-bugzilla-2135314-pmfind-fix.patch +Patch10: redhat-build-jsonsl.patch # The additional linker flags break out-of-tree PMDAs. # https://bugzilla.redhat.com/show_bug.cgi?id=2043092 @@ -297,36 +300,27 @@ BuildRequires: qt5-qtsvg-devel Requires: bash xz gawk sed grep findutils which %{_hostname_executable} Requires: pcp-libs = %{version}-%{release} -%if !%{disable_selinux} +%if !%{disable_selinux} # rpm boolean dependencies are supported since RHEL 8 %if 0%{?fedora} >= 35 || 0%{?rhel} >= 8 -# This ensures that the pcp-selinux package and all it's dependencies are not pulled -# into containers and other systems that do not use SELinux +# This ensures that the pcp-selinux package and all its dependencies are +# not pulled into containers and other systems that do not use SELinux Requires: (pcp-selinux = %{version}-%{release} if selinux-policy-targeted) %else Requires: pcp-selinux = %{version}-%{release} %endif - %endif %global _confdir %{_sysconfdir}/pcp %global _logsdir %{_localstatedir}/log/pcp %global _pmnsdir %{_localstatedir}/lib/pcp/pmns -%global _pmnsexecdir %{_libexecdir}/pcp/pmns -%global _tempsdir %{_localstatedir}/lib/pcp/tmp %global _pmdasdir %{_localstatedir}/lib/pcp/pmdas %global _pmdasexecdir %{_libexecdir}/pcp/pmdas %global _testsdir %{_localstatedir}/lib/pcp/testsuite -%global _selinuxdir %{_localstatedir}/lib/pcp/selinux -%global _selinuxexecdir %{_libexecdir}/pcp/selinux -%global _logconfdir %{_localstatedir}/lib/pcp/config/pmlogconf +%global _ieconfigdir %{_localstatedir}/lib/pcp/config/pmie %global _ieconfdir %{_localstatedir}/lib/pcp/config/pmieconf -%global _tapsetdir %{_datadir}/systemtap/tapset -%global _bashcompdir %{_datadir}/bash-completion/completions -%global _pixmapdir %{_datadir}/pcp-gui/pixmaps -%global _hicolordir %{_datadir}/icons/hicolor -%global _booksdir %{_datadir}/doc/pcp-doc +%global _selinuxdir %{_datadir}/selinux/packages/targeted %if 0%{?fedora} >= 20 || 0%{?rhel} >= 8 %global _with_doc --with-docdir=%{_docdir}/%{name} @@ -447,14 +441,13 @@ else fi } -%global selinux_handle_policy() %{expand: -if [ %1 -ge 1 ] -then - %{_libexecdir}/pcp/bin/selinux-setup %{_selinuxdir} install %2 -elif [ %1 -eq 0 ] +%global run_pmieconf() %{expand: +if [ -w "%1" ] then - %{_libexecdir}/pcp/bin/selinux-setup %{_selinuxdir} remove %2 -fi + pmieconf -c enable "%2" +else + echo "WARNING: Cannot write to %1, skipping pmieconf enable of %2." >&2 +fi } %description @@ -2301,6 +2294,9 @@ updated policy package. %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 %build # the buildsubdir macro gets defined in %setup and is apparently only available in the next step (i.e. the %build step) @@ -2448,7 +2444,7 @@ total_manifest | keep 'tutorials|/html/|pcp-doc|man.*\.[1-9].*' | cull 'out' >pc total_manifest | keep 'testsuite|etc/systemd/system|libpcp_fault|pcp/fault.h' >pcp-testsuite-files basic_manifest | keep "$PCP_GUI|pcp-gui|applications|pixmaps|hicolor" | cull 'pmtime.h' >pcp-gui-files -basic_manifest | keep 'selinux' | cull 'tmp|GNUselinuxdefs' >pcp-selinux-files +basic_manifest | keep 'selinux' | cull 'tmp|testsuite' >pcp-selinux-files basic_manifest | keep 'zeroconf|daily[-_]report|/sa$' >pcp-zeroconf-files basic_manifest | grep -E -e 'pmiostat|pmrep|dstat|htop|pcp2csv' \ -e 'pcp-atop|pcp-dmcache|pcp-dstat|pcp-free|pcp-htop' \ @@ -2692,6 +2688,9 @@ done %endif %pre testsuite +%if !%{disable_selinux} +%selinux_relabel_pre -s targeted +%endif test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir} getent group pcpqa >/dev/null || groupadd -r pcpqa getent passwd pcpqa >/dev/null || \ @@ -2700,6 +2699,11 @@ chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null exit 0 %post testsuite +%if !%{disable_selinux} +semodule -r pcpqa >/dev/null 2>&1 || true +%selinux_modules_install -s targeted %{_selinuxdir}/pcp-testsuite.pp.bz2 +%selinux_relabel_post -s targeted +%endif chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null %if 0%{?rhel} %if !%{disable_systemd} @@ -2714,6 +2718,14 @@ chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null %endif exit 0 +%if !%{disable_selinux} +%postun testsuite +if [ $1 -eq 0 ]; then + %selinux_modules_uninstall -s targeted pcp-testsuite + %selinux_relabel_post -s targeted +fi +%endif + %pre getent group pcp >/dev/null || groupadd -r pcp getent passwd pcp >/dev/null || \ @@ -3000,6 +3012,7 @@ fi PCP_PMDAS_DIR=%{_pmdasdir} PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig PCP_PMCDCONF_PATH=%{_confdir}/pmcd/pmcd.conf +PCP_PMIECONFIG_DIR=%{_ieconfigdir} # auto-install important PMDAs for RH Support (if not present already) for PMDA in dm nfsclient openmetrics ; do if ! grep -q "$PMDA/pmda$PMDA" "$PCP_PMCDCONF_PATH" @@ -3008,7 +3021,7 @@ for PMDA in dm nfsclient openmetrics ; do fi done # auto-enable these usually optional pmie rules -pmieconf -c enable dmthin +%{run_pmieconf "$PCP_PMIECONFIG_DIR" dmthin} %if 0%{?rhel} %if !%{disable_systemd} systemctl restart pmcd pmlogger pmie >/dev/null 2>&1 @@ -3023,17 +3036,6 @@ pmieconf -c enable dmthin %endif %endif -%if !%{disable_selinux} -%post selinux -%{selinux_handle_policy "$1" "pcpupstream"} - -%triggerin selinux -- docker-selinux -%{selinux_handle_policy "$1" "pcpupstream-docker"} - -%triggerin selinux -- container-selinux -%{selinux_handle_policy "$1" "pcpupstream-container"} -%endif - %post PCP_PMNS_DIR=%{_pmnsdir} PCP_LOG_DIR=%{_logsdir} @@ -3072,14 +3074,21 @@ PCP_LOG_DIR=%{_logsdir} %endif %if !%{disable_selinux} -%preun selinux -%{selinux_handle_policy "$1" "pcpupstream"} - -%triggerun selinux -- docker-selinux -%{selinux_handle_policy "$1" "pcpupstream-docker"} +%pre selinux +%selinux_relabel_pre -s targeted -%triggerun selinux -- container-selinux -%{selinux_handle_policy "$1" "pcpupstream-container"} +%post selinux +semodule -r pcpupstream-container >/dev/null 2>&1 || true +semodule -r pcpupstream-docker >/dev/null 2>&1 || true +semodule -r pcpupstream >/dev/null 2>&1 || true +%selinux_modules_install -s targeted %{_selinuxdir}/pcp.pp.bz2 +%selinux_relabel_post -s targeted + +%postun selinux +if [ $1 -eq 0 ]; then + %selinux_modules_uninstall -s targeted pcp + %selinux_relabel_post -s targeted +fi %endif %files -f pcp-files.rpm @@ -3098,6 +3107,7 @@ PCP_LOG_DIR=%{_logsdir} %if !%{disable_selinux} %files selinux -f pcp-selinux-files.rpm +%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/targeted/active/modules/200/pcp %endif %if !%{disable_qt} @@ -3358,6 +3368,11 @@ PCP_LOG_DIR=%{_logsdir} %files zeroconf -f pcp-zeroconf-files.rpm %changelog +* Thu Oct 27 2022 Nathan Scott - 5.3.7-15 +- Backport independent selinux policy rework (BZ 2111742) +- Fix invalid memory access in pmfind utility (BZ 2135314) +- Allow pcp-dstat(1) missed ticks suppression (BZ 2083897) + * Mon Sep 05 2022 Nathan Scott - 5.3.7-9 - Additional selinux policy rules for pmdabcc (BZ 2050094) - Describe working sudoers requiretty configuration (BZ 2093751)