2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="src/include/pcp/pmapi.h"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars
='PACKAGE_CONFIGURE
660 have_bzip2ed_manpages
661 have_gzipped_manpages
682 pcp_pmloggercontrol_path
683 pcp_pmsnapcontrol_path
685 pcp_pmproxyoptions_path
686 pcp_pmmgroptions_path
687 pcp_pmwebdoptions_path
807 have_python_setuptools
808 have_python_jsonpointer
827 SYSTEMD_SYSTEMUNITDIR
927 program_transform_name
940 enable_option_checking
974 with_perl_installdirs
975 with_perl_install_base
986 ac_precious_vars
='build_alias
1005 SYSTEMD_SYSTEMUNITDIR
1012 libmicrohttpd_CFLAGS
1021 # Initialize some variables set by options.
1023 ac_init_version
=false
1024 ac_unrecognized_opts
=
1025 ac_unrecognized_sep
=
1026 # The variables have the same names as the options, with
1027 # dashes changed to underlines.
1028 cache_file
=/dev
/null
1035 program_transform_name
=s
,x
,x
,
1043 # Installation directory options.
1044 # These are left unexpanded so users can "make install exec_prefix=/foo"
1045 # and all the variables that are supposed to be based on exec_prefix
1046 # by default will actually change.
1047 # Use braces instead of parens because sh, perl, etc. also accept them.
1048 # (The list follows the same order as the GNU Coding Standards.)
1049 bindir
='${exec_prefix}/bin'
1050 sbindir
='${exec_prefix}/sbin'
1051 libexecdir
='${exec_prefix}/libexec'
1052 datarootdir
='${prefix}/share'
1053 datadir
='${datarootdir}'
1054 sysconfdir
='${prefix}/etc'
1055 sharedstatedir
='${prefix}/com'
1056 localstatedir
='${prefix}/var'
1057 includedir
='${prefix}/include'
1058 oldincludedir
='/usr/include'
1059 docdir
='${datarootdir}/doc/${PACKAGE}'
1060 infodir
='${datarootdir}/info'
1065 libdir
='${exec_prefix}/lib'
1066 localedir
='${datarootdir}/locale'
1067 mandir
='${datarootdir}/man'
1073 # If the previous option needs an argument, assign it.
1074 if test -n "$ac_prev"; then
1075 eval $ac_prev=\
$ac_option
1081 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1086 # Accept the important Cygnus configure options, so we can diagnose typos.
1088 case $ac_dashdash$ac_option in
1092 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1094 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1095 bindir
=$ac_optarg ;;
1097 -build |
--build |
--buil |
--bui |
--bu)
1098 ac_prev
=build_alias
;;
1099 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1100 build_alias
=$ac_optarg ;;
1102 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1103 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1104 ac_prev
=cache_file
;;
1105 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1106 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1107 cache_file
=$ac_optarg ;;
1109 --config-cache |
-C)
1110 cache_file
=config.cache
;;
1112 -datadir |
--datadir |
--datadi |
--datad)
1114 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1115 datadir
=$ac_optarg ;;
1117 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1118 |
--dataroo |
--dataro |
--datar)
1119 ac_prev
=datarootdir
;;
1120 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1121 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1122 datarootdir
=$ac_optarg ;;
1124 -disable-* |
--disable-*)
1125 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1128 as_fn_error $?
"invalid feature name: $ac_useropt"
1129 ac_useropt_orig
=$ac_useropt
1130 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1133 "enable_
$ac_useropt"
1135 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1136 ac_unrecognized_sep
=', ';;
1138 eval enable_
$ac_useropt=no
;;
1140 -docdir |
--docdir |
--docdi |
--doc |
--do)
1142 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1143 docdir
=$ac_optarg ;;
1145 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1147 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1148 dvidir
=$ac_optarg ;;
1150 -enable-* |
--enable-*)
1151 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1154 as_fn_error $?
"invalid feature name: $ac_useropt"
1155 ac_useropt_orig
=$ac_useropt
1156 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1159 "enable_
$ac_useropt"
1161 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1162 ac_unrecognized_sep
=', ';;
1164 eval enable_
$ac_useropt=\
$ac_optarg ;;
1166 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1167 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1168 |
--exec |
--exe |
--ex)
1169 ac_prev
=exec_prefix
;;
1170 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1171 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1172 |
--exec=* |
--exe=* |
--ex=*)
1173 exec_prefix
=$ac_optarg ;;
1175 -gas |
--gas |
--ga |
--g)
1176 # Obsolete; use --with-gas.
1179 -help |
--help |
--hel |
--he |
-h)
1180 ac_init_help
=long
;;
1181 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1182 ac_init_help
=recursive
;;
1183 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1184 ac_init_help
=short
;;
1186 -host |
--host |
--hos |
--ho)
1187 ac_prev
=host_alias
;;
1188 -host=* |
--host=* |
--hos=* |
--ho=*)
1189 host_alias
=$ac_optarg ;;
1191 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1193 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1195 htmldir
=$ac_optarg ;;
1197 -includedir |
--includedir |
--includedi |
--included |
--include \
1198 |
--includ |
--inclu |
--incl |
--inc)
1199 ac_prev
=includedir
;;
1200 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1201 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1202 includedir
=$ac_optarg ;;
1204 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1206 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1207 infodir
=$ac_optarg ;;
1209 -libdir |
--libdir |
--libdi |
--libd)
1211 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1212 libdir
=$ac_optarg ;;
1214 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1215 |
--libexe |
--libex |
--libe)
1216 ac_prev
=libexecdir
;;
1217 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1218 |
--libexe=* |
--libex=* |
--libe=*)
1219 libexecdir
=$ac_optarg ;;
1221 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1222 ac_prev
=localedir
;;
1223 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1224 localedir
=$ac_optarg ;;
1226 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1227 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1228 ac_prev
=localstatedir
;;
1229 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1230 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1231 localstatedir
=$ac_optarg ;;
1233 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1235 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1236 mandir
=$ac_optarg ;;
1238 -nfp |
--nfp |
--nf)
1239 # Obsolete; use --without-fp.
1242 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1243 |
--no-cr |
--no-c |
-n)
1246 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1247 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1250 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1251 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1252 |
--oldin |
--oldi |
--old |
--ol |
--o)
1253 ac_prev
=oldincludedir
;;
1254 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1255 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1256 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1257 oldincludedir
=$ac_optarg ;;
1259 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1261 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1262 prefix
=$ac_optarg ;;
1264 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1265 |
--program-pre |
--program-pr |
--program-p)
1266 ac_prev
=program_prefix
;;
1267 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1268 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1269 program_prefix
=$ac_optarg ;;
1271 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1272 |
--program-suf |
--program-su |
--program-s)
1273 ac_prev
=program_suffix
;;
1274 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1275 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1276 program_suffix
=$ac_optarg ;;
1278 -program-transform-name |
--program-transform-name \
1279 |
--program-transform-nam |
--program-transform-na \
1280 |
--program-transform-n |
--program-transform- \
1281 |
--program-transform |
--program-transfor \
1282 |
--program-transfo |
--program-transf \
1283 |
--program-trans |
--program-tran \
1284 |
--progr-tra |
--program-tr |
--program-t)
1285 ac_prev
=program_transform_name
;;
1286 -program-transform-name=* |
--program-transform-name=* \
1287 |
--program-transform-nam=* |
--program-transform-na=* \
1288 |
--program-transform-n=* |
--program-transform-=* \
1289 |
--program-transform=* |
--program-transfor=* \
1290 |
--program-transfo=* |
--program-transf=* \
1291 |
--program-trans=* |
--program-tran=* \
1292 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1293 program_transform_name
=$ac_optarg ;;
1295 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1297 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1298 pdfdir
=$ac_optarg ;;
1300 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1302 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1305 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1306 |
-silent |
--silent |
--silen |
--sile |
--sil)
1309 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1311 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1313 sbindir
=$ac_optarg ;;
1315 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1316 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1317 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1319 ac_prev
=sharedstatedir
;;
1320 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1321 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1322 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1324 sharedstatedir
=$ac_optarg ;;
1326 -site |
--site |
--sit)
1328 -site=* |
--site=* |
--sit=*)
1331 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1333 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1334 srcdir
=$ac_optarg ;;
1336 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1337 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1338 ac_prev
=sysconfdir
;;
1339 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1340 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1341 sysconfdir
=$ac_optarg ;;
1343 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1344 ac_prev
=target_alias
;;
1345 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1346 target_alias
=$ac_optarg ;;
1348 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1351 -version |
--version |
--versio |
--versi |
--vers |
-V)
1352 ac_init_version
=: ;;
1355 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1356 # Reject names that are not valid shell variable names.
1357 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1358 as_fn_error $?
"invalid package name: $ac_useropt"
1359 ac_useropt_orig
=$ac_useropt
1360 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1361 case $ac_user_opts in
1365 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1366 ac_unrecognized_sep
=', ';;
1368 eval with_
$ac_useropt=\
$ac_optarg ;;
1370 -without-* |
--without-*)
1371 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1374 as_fn_error $?
"invalid package name: $ac_useropt"
1375 ac_useropt_orig
=$ac_useropt
1376 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1377 case $ac_user_opts in
1381 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1382 ac_unrecognized_sep
=', ';;
1384 eval with_
$ac_useropt=no
;;
1387 # Obsolete; use --with-x.
1390 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1391 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1392 ac_prev
=x_includes
;;
1393 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1394 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1395 x_includes
=$ac_optarg ;;
1397 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1398 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1399 ac_prev
=x_libraries
;;
1400 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1401 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1402 x_libraries
=$ac_optarg ;;
1404 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1405 Try \`$0 --help' for more information"
1409 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 case $ac_envvar in #(
1412 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1413 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1415 eval $ac_envvar=\
$ac_optarg
1416 export $ac_envvar ;;
1419 # FIXME: should be removed in autoconf 3.0.
1420 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1421 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1422 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1423 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1429 if test -n "$ac_prev"; then
1430 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1431 as_fn_error $?
"missing argument to $ac_option"
1434 if test -n "$ac_unrecognized_opts"; then
1435 case $enable_option_checking in
1437 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1438 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1442 # Check all directory arguments for consistency.
1443 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val
=\$
$ac_var
1449 # Remove trailing slashes.
1452 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1453 eval $ac_var=\
$ac_val;;
1455 # Be sure to have absolute directory names.
1457 [\\/$
]* | ?
:[\\/]* ) continue;;
1458 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1460 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1463 # There might be people who depend on the old broken behavior: `$host'
1464 # used to hold the argument of --host etc.
1465 # FIXME: To remove some day.
1468 target
=$target_alias
1470 # FIXME: To remove some day.
1471 if test "x$host_alias" != x
; then
1472 if test "x$build_alias" = x
; then
1473 cross_compiling
=maybe
1474 elif test "x$build_alias" != "x$host_alias"; then
1480 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1482 test "$silent" = yes && exec 6>/dev
/null
1485 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1486 ac_ls_di
=`ls -di .` &&
1487 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1488 as_fn_error $?
"working directory cannot be determined"
1489 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1490 as_fn_error $?
"pwd does not report name of working directory"
1493 # Find the source files, if location was not specified.
1494 if test -z "$srcdir"; then
1495 ac_srcdir_defaulted
=yes
1496 # Try the directory containing this script, then the parent directory.
1497 ac_confdir
=`$as_dirname -- "$as_myself" ||
1498 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1499 X"$as_myself" : 'X\(//\)[^/]' \| \
1500 X"$as_myself" : 'X\(//\)$' \| \
1501 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1502 $as_echo X"$as_myself" |
1503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1525 ac_srcdir_defaulted
=no
1527 if test ! -r "$srcdir/$ac_unique_file"; then
1528 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1529 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1531 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1533 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var
in $ac_precious_vars; do
1546 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1548 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures this package to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking ...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are
in DIR
1618 --x-libraries=DIR X library files are
in DIR
1621 --build=BUILD configure
for building on BUILD
[guessed
]
1622 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1623 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1627 if test -n "$ac_init_help"; then
1632 --disable-option-checking ignore unrecognized
--enable/--with options
1633 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1634 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1635 --disable-ssp disable gcc stack-protector
1636 --disable-pie disable position-independent-executable
1637 --disable-visibility disable gcc symbol visibility
1638 --disable-shared disable core shared libary generation
1641 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1642 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1643 --with-64bit turn on
64 bit compilation mode
(default is platform
1645 --with-optimization enable optimization
for C
/C
++ code
(default is
yes)
1646 --with-threads enable support
for multiple threads
(default is on
)
1647 --with-secure-sockets enable support
for secure sockets
(default is on
)
1648 --with-static-probes enable support
for static probes
(default is on
)
1649 --with-infiniband enable support
for Infiniband metrics
(default is
1651 --with-user user account under
which daemons run
(default is
1653 --with-group user group under
which daemons run
(default is pcp
)
1654 --with-discovery enable support
for service discovery
(default is on
)
1655 --with-systemd enable support
for systemd services
(default is on
)
1656 --with-qt enable support
for tools requiring Qt
(default is
1658 --with-qt3d enable support
for 3D scene graph API
(default is
1660 --with-python enable support
for tools requiring Python
(default
1662 --with-python3 enable support
for tools requiring Python3
(default
1664 --with-books enable building of the PCP books
(default is off
)
1665 --with-books-brand=BRAND
1666 choose the docbook brand when building the PCP books
1668 --with-papi[=DIR|
=MODULE
]
1669 enable performance api counter pmda
(default is on
)
1670 The optional argument may be a full path of a PAPI
1671 installation prefix
, or a pkgconfig module name.
1672 --with-perfevent enable perfevent pmda
(default is on
)
1673 --with-pmdajson enable JSON pmda
(default is on
)
1674 --with-pmdasnmp enable SNMP pmda
(default is on
)
1675 --with-manager enable daemon manager
(default is on
)
1676 --with-webapi enable REST API daemon
(default is on
)
1677 --with-webjs enable building of webjs packages
(default is off
)
1678 --with-vector enable building of vector package
(default is off
)
1679 --with-parfait enable building of parfait package
(default is off
)
1680 --with-make path to GNU compatible
make(1) (default is empty
for
1682 --with-tar path to GNU compatible
tar(1) (default is empty
for
1684 --with-zip path to GNU compatible
zip(1) (default is empty
for
1686 --with-configdir configuration directory
[LOCALSTATEDIR
/pcp
/config
]
1687 --with-perl_installdirs perl installdirs
[vendor
]
1688 --with-perl_install_base
1689 perl install_base
[PREFIX
]
1690 --with-python_prefix python setup.py prefix
[PREFIX
]
1691 --with-x use the X Window System
1692 --with-rcdir rc directory
[SYSCONFDIR
/rc.d
]
1693 --with-sysconfigdir sysconfig directory
[SYSCONFDIR
/sysconfig
]
1694 --with-logdir log directory
[LOCALSTATEDIR
/log
/pcp
]
1695 --with-rundir run directory
[LOCALSTATEDIR
/run
/pcp
]
1696 --with-tmpdir tmp directory
[LOCALSTATEDIR
/tmp
]
1697 --with-docdir docs directory
[DOCDIR
/pcp-VERSION
]
1698 --with-demosdir run directory
[DATADIR
/pcp
/demos
]
1700 Some influential environment variables
:
1701 PKG_CONFIG path to pkg-config utility
1703 directories to add to pkg-config
's search path
1705 path overriding pkg-config's built-in search path
1706 CC C compiler
command
1707 CFLAGS C compiler flags
1708 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1709 nonstandard directory
<lib dir
>
1710 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1711 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1712 you have headers
in a nonstandard directory
<include dir
>
1713 CXX C
++ compiler
command
1714 CXXFLAGS C
++ compiler flags
1715 YACC The
`Yet Another Compiler Compiler' implementation to use.
1716 Defaults to the first program found out of: `bison
-y', `byacc',
1718 YFLAGS The list of arguments that will be passed by default to $YACC.
1719 This script will default YFLAGS to the empty string to avoid a
1720 default value of `-d' given by some make applications.
1723 C compiler flags for avahi, overriding pkg-config
1724 avahi_LIBS linker flags for avahi, overriding pkg-config
1725 SYSTEMD_SYSTEMUNITDIR
1726 value of systemdsystemunitdir for systemd, overriding pkg-config
1728 C compiler flags for ncurses, overriding pkg-config
1730 linker flags for ncurses, overriding pkg-config
1732 C compiler flags for SYSTEMD, overriding pkg-config
1734 linker flags for SYSTEMD, overriding pkg-config
1735 papi_CFLAGS C compiler flags for papi, overriding pkg-config
1736 papi_LIBS linker flags for papi, overriding pkg-config
1737 libmicrohttpd_CFLAGS
1738 C compiler flags for libmicrohttpd, overriding pkg-config
1740 linker flags for libmicrohttpd, overriding pkg-config
1742 C compiler flags for cairo, overriding pkg-config
1743 cairo_LIBS linker flags for cairo, overriding pkg-config
1744 XMKMF Path to xmkmf, Makefile generator for X Window System
1745 zlib_CFLAGS C compiler flags for zlib, overriding pkg-config
1746 zlib_LIBS linker flags for zlib, overriding pkg-config
1748 Use these variables to override the choices made by `configure' or to
help
1749 it to
find libraries and programs with nonstandard names
/locations.
1751 Report bugs to the package provider.
1756 if test "$ac_init_help" = "recursive"; then
1757 # If there are subdirs, report their specific --help.
1758 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1759 test -d "$ac_dir" ||
1760 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1765 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1767 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1768 # A ".." for each directory in $ac_dir_suffix.
1769 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1770 case $ac_top_builddir_sub in
1771 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1772 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1775 ac_abs_top_builddir
=$ac_pwd
1776 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1777 # for backward compatibility:
1778 ac_top_builddir
=$ac_top_build_prefix
1781 .
) # We are building in place.
1783 ac_top_srcdir
=$ac_top_builddir_sub
1784 ac_abs_top_srcdir
=$ac_pwd ;;
1785 [\\/]* | ?
:[\\/]* ) # Absolute name.
1786 ac_srcdir
=$srcdir$ac_dir_suffix;
1787 ac_top_srcdir
=$srcdir
1788 ac_abs_top_srcdir
=$srcdir ;;
1790 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1791 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1792 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1794 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1796 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1797 # Check for guested configure.
1798 if test -f "$ac_srcdir/configure.gnu"; then
1800 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1801 elif test -f "$ac_srcdir/configure"; then
1803 $SHELL "$ac_srcdir/configure" --help=recursive
1805 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1807 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1811 test -n "$ac_init_help" && exit $ac_status
1812 if $ac_init_version; then
1815 generated by GNU Autoconf
2.69
1817 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1818 This configure
script is free software
; the Free Software Foundation
1819 gives unlimited permission to copy
, distribute and modify it.
1824 ## ------------------------ ##
1825 ## Autoconf initialization. ##
1826 ## ------------------------ ##
1828 # ac_fn_c_try_compile LINENO
1829 # --------------------------
1830 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_compile
()
1833 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1834 rm -f conftest.
$ac_objext
1835 if { { ac_try
="$ac_compile"
1837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_compile") 2>conftest.err
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest.$ac_objext; then :
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 as_fn_set_status $ac_retval
1864 } # ac_fn_c_try_compile
1866 # ac_fn_c_try_link LINENO
1867 # -----------------------
1868 # Try to link conftest.$ac_ext, and return whether this succeeded.
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 rm -f conftest.$ac_objext conftest$ac_exeext
1873 if { { ac_try="$ac_link"
1875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1876 *) ac_try_echo
=$ac_try;;
1878 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879 $as_echo "$ac_try_echo"; } >&5
1880 (eval "$ac_link") 2>conftest.err
1882 if test -s conftest.err
; then
1883 grep -v '^ *+' conftest.err
>conftest.er1
1884 cat conftest.er1
>&5
1885 mv -f conftest.er1 conftest.err
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; } && {
1889 test -z "$ac_c_werror_flag" ||
1890 test ! -s conftest.err
1891 } && test -s conftest
$ac_exeext && {
1892 test "$cross_compiling" = yes ||
1893 test -x conftest
$ac_exeext
1897 $as_echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.
$ac_ext >&5
1902 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1903 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1904 # interfere with the next link command; also delete a directory that is
1905 # left behind by Apple's compiler. We do this before executing the actions.
1906 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 as_fn_set_status
$ac_retval
1910 } # ac_fn_c_try_link
1912 # ac_fn_cxx_try_compile LINENO
1913 # ----------------------------
1914 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1915 ac_fn_cxx_try_compile
()
1917 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1918 rm -f conftest.
$ac_objext
1919 if { { ac_try
="$ac_compile"
1921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_compile") 2>conftest.err
1928 if test -s conftest.err; then
1929 grep -v '^ *+' conftest.err >conftest.er1
1930 cat conftest.er1 >&5
1931 mv -f conftest.er1 conftest.err
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } && {
1935 test -z "$ac_cxx_werror_flag" ||
1936 test ! -s conftest.err
1937 } && test -s conftest.$ac_objext; then :
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1945 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 as_fn_set_status $ac_retval
1948 } # ac_fn_cxx_try_compile
1950 # ac_fn_c_try_cpp LINENO
1951 # ----------------------
1952 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 if { { ac_try="$ac_cpp conftest.$ac_ext"
1958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1959 *) ac_try_echo
=$ac_try;;
1961 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1965 if test -s conftest.err
; then
1966 grep -v '^ *+' conftest.err
>conftest.er1
1967 cat conftest.er1
>&5
1968 mv -f conftest.er1 conftest.err
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; } > conftest.i
&& {
1972 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1973 test ! -s conftest.err
1977 $as_echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.
$ac_ext >&5
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 as_fn_set_status
$ac_retval
1987 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1988 # -------------------------------------------------------
1989 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1990 # the include files in INCLUDES and setting the cache variable VAR
1992 ac_fn_c_check_header_mongrel
()
1994 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1995 if eval \
${$3+:} false
; then :
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if eval \
${$3+:} false
; then :
1999 $as_echo_n "(cached) " >&6
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2003 $as_echo "$ac_res" >&6; }
2005 # Is the header compilable?
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2007 $as_echo_n "checking $2 usability... " >&6; }
2008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2013 if ac_fn_c_try_compile
"$LINENO"; then :
2014 ac_header_compiler
=yes
2016 ac_header_compiler
=no
2018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2020 $as_echo "$ac_header_compiler" >&6; }
2022 # Is the header present?
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2024 $as_echo_n "checking $2 presence... " >&6; }
2025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2026 /* end confdefs.h. */
2029 if ac_fn_c_try_cpp
"$LINENO"; then :
2030 ac_header_preproc
=yes
2032 ac_header_preproc
=no
2034 rm -f conftest.err conftest.i conftest.
$ac_ext
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2036 $as_echo "$ac_header_preproc" >&6; }
2038 # So? What about this header?
2039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2042 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2048 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2050 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2052 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2054 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2056 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \
${$3+:} false
; then :
2062 $as_echo_n "(cached) " >&6
2064 eval "$3=\$ac_header_compiler"
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 } # ac_fn_c_check_header_mongrel
2074 # ac_fn_c_try_run LINENO
2075 # ----------------------
2076 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2077 # that executables *can* be run.
2080 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2081 if { { ac_try
="$ac_link"
2083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2084 *) ac_try_echo=$ac_try;;
2086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2087 $as_echo "$ac_try_echo"; } >&5
2088 (eval "$ac_link") 2>&5
2090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2091 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2092 { { case "(($ac_try" in
2093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2094 *) ac_try_echo
=$ac_try;;
2096 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2097 $as_echo "$ac_try_echo"; } >&5
2098 (eval "$ac_try") 2>&5
2100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2101 test $ac_status = 0; }; }; then :
2104 $as_echo "$as_me: program exited with status $ac_status" >&5
2105 $as_echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.
$ac_ext >&5
2108 ac_retval
=$ac_status
2110 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112 as_fn_set_status
$ac_retval
2116 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2117 # -------------------------------------------------------
2118 # Tests whether HEADER exists and can be compiled using the include files in
2119 # INCLUDES, setting the cache variable VAR accordingly.
2120 ac_fn_c_check_header_compile
()
2122 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2124 $as_echo_n "checking for $2... " >&6; }
2125 if eval \
${$3+:} false
; then :
2126 $as_echo_n "(cached) " >&6
2128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2133 if ac_fn_c_try_compile
"$LINENO"; then :
2138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2142 $as_echo "$ac_res" >&6; }
2143 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2145 } # ac_fn_c_check_header_compile
2147 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2148 # -------------------------------------------
2149 # Tests whether TYPE exists after having included INCLUDES, setting cache
2150 # variable VAR accordingly.
2151 ac_fn_c_check_type
()
2153 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if eval \
${$3+:} false
; then :
2157 $as_echo_n "(cached) " >&6
2160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2172 if ac_fn_c_try_compile
"$LINENO"; then :
2173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2185 if ac_fn_c_try_compile
"$LINENO"; then :
2190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2196 $as_echo "$ac_res" >&6; }
2197 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2199 } # ac_fn_c_check_type
2201 # ac_fn_c_check_func LINENO FUNC VAR
2202 # ----------------------------------
2203 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2204 ac_fn_c_check_func
()
2206 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2208 $as_echo_n "checking for $2... " >&6; }
2209 if eval \
${$3+:} false
; then :
2210 $as_echo_n "(cached) " >&6
2212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2213 /* end confdefs.h. */
2214 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2216 #define $2 innocuous_$2
2218 /* System header to define __stub macros and hopefully few prototypes,
2219 which can conflict with char $2 (); below.
2220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2221 <limits.h> exists even on freestanding compilers. */
2224 # include <limits.h>
2226 # include <assert.h>
2231 /* Override any GCC internal prototype to avoid an error.
2232 Use char because int might match the return type of a GCC
2233 builtin and then its argument prototype would still apply. */
2238 /* The GNU C library defines this for functions which it implements
2239 to always fail with ENOSYS. Some functions are actually named
2240 something starting with __ and the normal name is an alias. */
2241 #if defined __stub_$2 || defined __stub___$2
2253 if ac_fn_c_try_link
"$LINENO"; then :
2258 rm -f core conftest.err conftest.
$ac_objext \
2259 conftest
$ac_exeext conftest.
$ac_ext
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2263 $as_echo "$ac_res" >&6; }
2264 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2266 } # ac_fn_c_check_func
2267 cat >config.log
<<_ACEOF
2268 This file contains any messages produced by compilers while
2269 running configure, to aid debugging if configure makes a mistake.
2271 It was created by $as_me, which was
2272 generated by GNU Autoconf 2.69. Invocation command line was
2284 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2285 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2286 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2287 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2288 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2290 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2291 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2293 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2294 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2295 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2296 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2297 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2298 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2299 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir
=.
2308 $as_echo "PATH: $as_dir"
2324 # Keep a trace of the command line.
2325 # Strip out --no-create and --no-recursion so they do not pile up.
2326 # Strip out --silent because we don't want to record it for future runs.
2327 # Also quote any args containing shell meta-characters.
2328 # Make two passes to allow for proper duplicate-argument suppression.
2332 ac_must_keep_next
=false
2338 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2339 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2340 |
-silent |
--silent |
--silen |
--sile |
--sil)
2343 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2346 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2348 as_fn_append ac_configure_args1
" '$ac_arg'"
2349 if test $ac_must_keep_next = true
; then
2350 ac_must_keep_next
=false
# Got value, back to normal.
2353 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2354 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2355 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2356 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2357 case "$ac_configure_args0 " in
2358 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2361 -* ) ac_must_keep_next
=true
;;
2364 as_fn_append ac_configure_args
" '$ac_arg'"
2369 { ac_configure_args0
=; unset ac_configure_args0
;}
2370 { ac_configure_args1
=; unset ac_configure_args1
;}
2372 # When interrupted or exit'd, cleanup temporary files, and complete
2373 # config.log. We remove comments because anyway the quotes in there
2374 # would cause problems or look ugly.
2375 # WARNING: Use '\'' to represent an apostrophe within the trap.
2376 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2377 trap 'exit_status=$?
2378 # Save into config.log some information that might help in debugging.
2382 $as_echo "## ---------------- ##
2383 ## Cache variables. ##
2384 ## ---------------- ##"
2386 # The following way of writing the cache mishandles newlines in values,
2388 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2389 eval ac_val=\$$ac_var
2393 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2394 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2397 _ | IFS | as_nl) ;; #(
2398 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2399 *) { eval $ac_var=; unset $ac_var;} ;;
2404 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2405 *${as_nl}ac_space=\ *)
2407 "s/'\''/'\''\\\\'\'''\''/g;
2408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2411 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2418 $as_echo "## ----------------- ##
2419 ## Output variables. ##
2420 ## ----------------- ##"
2422 for ac_var in $ac_subst_vars
2424 eval ac_val=\$$ac_var
2426 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2428 $as_echo "$ac_var='\''$ac_val'\''"
2432 if test -n "$ac_subst_files"; then
2433 $as_echo "## ------------------- ##
2434 ## File substitutions. ##
2435 ## ------------------- ##"
2437 for ac_var
in $ac_subst_files
2439 eval ac_val
=\$
$ac_var
2441 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2443 $as_echo "$ac_var='\''$ac_val'\''"
2448 if test -s confdefs.h; then
2449 $as_echo "## ----------- ##
2456 test "$ac_signal" != 0 &&
2457 $as_echo "$as_me: caught signal $ac_signal"
2458 $as_echo "$as_me: exit $exit_status"
2460 rm -f core *.core core.conftest.* &&
2461 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2464 for ac_signal
in 1 2 13 15; do
2465 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2469 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2470 rm -f -r conftest
* confdefs.h
2472 $as_echo "/* confdefs.h */" > confdefs.h
2474 # Predefined preprocessor variables.
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_NAME "$PACKAGE_NAME"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_STRING "$PACKAGE_STRING"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2496 cat >>confdefs.h
<<_ACEOF
2497 #define PACKAGE_URL "$PACKAGE_URL"
2501 # Let the site file select an alternate cache file if it wants to.
2502 # Prefer an explicitly selected file to automatically selected ones.
2505 if test -n "$CONFIG_SITE"; then
2506 # We do not want a PATH search for config.site.
2507 case $CONFIG_SITE in #((
2508 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2509 */*) ac_site_file1
=$CONFIG_SITE;;
2510 *) ac_site_file1
=.
/$CONFIG_SITE;;
2512 elif test "x$prefix" != xNONE
; then
2513 ac_site_file1
=$prefix/share
/config.site
2514 ac_site_file2
=$prefix/etc
/config.site
2516 ac_site_file1
=$ac_default_prefix/share
/config.site
2517 ac_site_file2
=$ac_default_prefix/etc
/config.site
2519 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2521 test "x$ac_site_file" = xNONE
&& continue
2522 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2524 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2525 sed 's/^/| /' "$ac_site_file" >&5
2527 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 as_fn_error $?
"failed to load site script $ac_site_file
2530 See \`config.log' for more details" "$LINENO" 5; }
2534 if test -r "$cache_file"; then
2535 # Some versions of bash will fail to source /dev/null (special files
2536 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2537 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2539 $as_echo "$as_me: loading cache $cache_file" >&6;}
2541 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2542 *) .
"./$cache_file";;
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2547 $as_echo "$as_me: creating cache $cache_file" >&6;}
2551 # Check that the precious variables saved in the cache have kept the same
2553 ac_cache_corrupted
=false
2554 for ac_var
in $ac_precious_vars; do
2555 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2556 eval ac_new_set
=\
$ac_env_${ac_var}_set
2557 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2558 eval ac_new_val
=\
$ac_env_${ac_var}_value
2559 case $ac_old_set,$ac_new_set in
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2562 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2563 ac_cache_corrupted
=: ;;
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2566 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2567 ac_cache_corrupted
=: ;;
2570 if test "x$ac_old_val" != "x$ac_new_val"; then
2571 # differences in whitespace do not lead to failure.
2572 ac_old_val_w
=`echo x $ac_old_val`
2573 ac_new_val_w
=`echo x $ac_new_val`
2574 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2576 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2577 ac_cache_corrupted
=:
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2580 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2581 eval $ac_var=\
$ac_old_val
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2584 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2586 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2589 # Pass precious variables to config.status.
2590 if test "$ac_new_set" = set; then
2592 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2593 *) ac_arg
=$ac_var=$ac_new_val ;;
2595 case " $ac_configure_args " in
2596 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2597 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2601 if $ac_cache_corrupted; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2605 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2606 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2608 ## -------------------- ##
2609 ## Main body of script. ##
2610 ## -------------------- ##
2613 ac_cpp
='$CPP $CPPFLAGS'
2614 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2616 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2624 # Check whether --with-64bit was given.
2625 if test "${with_64bit+set}" = set; then :
2626 withval
=$with_64bit; use_64bit
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-64bit=$withval"
2631 # Check whether --with-optimization was given.
2632 if test "${with_optimization+set}" = set; then :
2633 withval
=$with_optimization; use_optimization
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-optimization=$withval"
2640 # Check whether --with-threads was given.
2641 if test "${with_threads+set}" = set; then :
2642 withval
=$with_threads; do_threads
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-threads=$withval"
2649 # Check whether --with-secure-sockets was given.
2650 if test "${with_secure_sockets+set}" = set; then :
2651 withval
=$with_secure_sockets; do_secure
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-secure-sockets=$withval"
2658 # Check whether --with-static-probes was given.
2659 if test "${with_static_probes+set}" = set; then :
2660 withval
=$with_static_probes; do_probes
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-static-probes=$withval"
2667 # Check whether --with-infiniband was given.
2668 if test "${with_infiniband+set}" = set; then :
2669 withval
=$with_infiniband; do_infiniband
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-infiniband=$withval"
2676 # Check whether --with-user was given.
2677 if test "${with_user+set}" = set; then :
2678 withval
=$with_user; pcp_user
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-user-account=$withval"
2686 # Check whether --with-group was given.
2687 if test "${with_group+set}" = set; then :
2688 withval
=$with_group; pcp_group
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-group-account=$withval"
2696 # Check whether --with-discovery was given.
2697 if test "${with_discovery+set}" = set; then :
2698 withval
=$with_discovery; do_discovery
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-discovery=$withval"
2705 # Check whether --with-systemd was given.
2706 if test "${with_systemd+set}" = set; then :
2707 withval
=$with_systemd; do_systemd
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-systemd=$withval"
2714 # Check whether --with-qt was given.
2715 if test "${with_qt+set}" = set; then :
2716 withval
=$with_qt; do_qt
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-qt=$withval"
2723 # Check whether --with-qt3d was given.
2724 if test "${with_qt3d+set}" = set; then :
2725 withval
=$with_qt3d; do_qt3d
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-qt3d=$withval"
2732 # Check whether --with-python was given.
2733 if test "${with_python+set}" = set; then :
2734 withval
=$with_python; do_python
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-python=$withval"
2741 # Check whether --with-python3 was given.
2742 if test "${with_python3+set}" = set; then :
2743 withval
=$with_python3; do_python3
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-python3=$withval"
2750 # Check whether --with-books was given.
2751 if test "${with_books+set}" = set; then :
2752 withval
=$with_books; do_books
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-books=$withval"
2759 # Check whether --with-books-brand was given.
2760 if test "${with_books_brand+set}" = set; then :
2761 withval
=$with_books_brand; do_books_brand
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-books-brand=$withval"
2763 do_books_brand
=common
2768 # Check whether --with-papi was given.
2769 if test "${with_papi+set}" = set; then :
2770 withval
=$with_papi; do_papi
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-papi=$withval"
2777 # Check whether --with-perfevent was given.
2778 if test "${with_perfevent+set}" = set; then :
2779 withval
=$with_perfevent; do_perfevent
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-perfevent=$withval"
2786 # Check whether --with-pmdajson was given.
2787 if test "${with_pmdajson+set}" = set; then :
2788 withval
=$with_pmdajson; do_pmdajson
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-pmdajson=$withval"
2795 # Check whether --with-pmdasnmp was given.
2796 if test "${with_pmdasnmp+set}" = set; then :
2797 withval
=$with_pmdasnmp; do_pmdasnmp
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-pmdasnmp=$withval"
2804 # Check whether --with-manager was given.
2805 if test "${with_manager+set}" = set; then :
2806 withval
=$with_manager; do_manager
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-manager=$withval"
2813 # Check whether --with-webapi was given.
2814 if test "${with_webapi+set}" = set; then :
2815 withval
=$with_webapi; do_webapi
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-webapi=$withval"
2822 # Check whether --with-webjs was given.
2823 if test "${with_webjs+set}" = set; then :
2824 withval
=$with_webjs; do_webjs
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-webjs=$withval"
2831 # Check whether --with-vector was given.
2832 if test "${with_vector+set}" = set; then :
2833 withval
=$with_vector; do_vector
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-vector=$withval"
2840 # Check whether --with-parfait was given.
2841 if test "${with_parfait+set}" = set; then :
2842 withval
=$with_parfait; do_parfait
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-parfait=$withval"
2850 # Check whether --with-make was given.
2851 if test "${with_make+set}" = set; then :
2852 withval
=$with_make; MAKE
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-make=$withval"
2859 # Check whether --with-tar was given.
2860 if test "${with_tar+set}" = set; then :
2861 withval
=$with_tar; TAR
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-tar=$withval"
2868 # Check whether --with-zip was given.
2869 if test "${with_zip+set}" = set; then :
2870 withval
=$with_zip; ZIP
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-zip=$withval"
2877 # Note: the following environment variables may be
2878 # set to override the defaults.
2880 # MAKE CC CPP LD LEX YACC INSTALL AWK SED ECHO
2884 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2885 if test -f "$ac_dir/install-sh"; then
2887 ac_install_sh
="$ac_aux_dir/install-sh -c"
2889 elif test -f "$ac_dir/install.sh"; then
2891 ac_install_sh
="$ac_aux_dir/install.sh -c"
2893 elif test -f "$ac_dir/shtool"; then
2895 ac_install_sh
="$ac_aux_dir/shtool install -c"
2899 if test -z "$ac_aux_dir"; then
2900 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2903 # These three variables are undocumented and unsupported,
2904 # and are intended to be withdrawn in a future Autoconf release.
2905 # They can cause serious problems if a builder's source tree is in a directory
2906 # whose full name contains unusual characters.
2907 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2908 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2909 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2912 # Make sure we can run config.sub.
2913 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2914 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2917 $as_echo_n "checking build system type... " >&6; }
2918 if ${ac_cv_build+:} false
; then :
2919 $as_echo_n "(cached) " >&6
2921 ac_build_alias
=$build_alias
2922 test "x$ac_build_alias" = x
&&
2923 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2924 test "x$ac_build_alias" = x
&&
2925 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2926 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2927 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2931 $as_echo "$ac_cv_build" >&6; }
2932 case $ac_cv_build in
2934 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2937 ac_save_IFS
=$IFS; IFS
='-'
2943 # Remember, the first character of IFS is used to create $*,
2944 # except with old shells:
2947 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2951 $as_echo_n "checking host system type... " >&6; }
2952 if ${ac_cv_host+:} false
; then :
2953 $as_echo_n "(cached) " >&6
2955 if test "x$host_alias" = x
; then
2956 ac_cv_host
=$ac_cv_build
2958 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2959 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2964 $as_echo "$ac_cv_host" >&6; }
2967 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2970 ac_save_IFS
=$IFS; IFS
='-'
2976 # Remember, the first character of IFS is used to create $*,
2977 # except with old shells:
2980 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2984 $as_echo_n "checking target system type... " >&6; }
2985 if ${ac_cv_target+:} false
; then :
2986 $as_echo_n "(cached) " >&6
2988 if test "x$target_alias" = x
; then
2989 ac_cv_target
=$ac_cv_host
2991 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2992 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2997 $as_echo "$ac_cv_target" >&6; }
2998 case $ac_cv_target in
3000 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3002 target
=$ac_cv_target
3003 ac_save_IFS
=$IFS; IFS
='-'
3009 # Remember, the first character of IFS is used to create $*,
3010 # except with old shells:
3013 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3016 # The aliases save the names the user supplied, while $host etc.
3017 # will get canonicalized.
3018 test -n "$target_alias" &&
3019 test "$program_prefix$program_suffix$program_transform_name" = \
3021 program_prefix
=${target_alias}-
3023 if test -z "$target"
3026 FATAL ERROR: Cannot guess your target, try explicit specification
3027 using --target or mailto: pcp@groups.io to ask.'
3028 rm -rf conftest conftest.
*
3031 target
=`echo $target | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
3032 target_os
=`echo $target_os | sed 's/solaris2\..*/solaris/'`
3033 target_os
=`echo $target_os | sed 's/^\([^-][^-]*\)-.*$/\1/' | sed 's/[\.0-9]*//g'`
3035 build
=`echo $build | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
3036 build_os
=`echo $build_os | sed 's/solaris2\..*/solaris/'`
3037 build_os
=`echo $build_os | sed 's/^\([^-][^-]*\)-.*$/\1/'`
3040 echo Building on
$build for $target
3041 echo "Build: os=$build_os cpu=$build_cpu"
3042 echo "Target: os=$target_os cpu=$target_cpu"
3044 if test "$cross_compiling" = "yes"; then
3045 if test -f .
/config.
$target_os; then
3046 . .
/config.
$target_os
3050 FATAL ERROR: Cannot perform cross-compilation without a file to source
3051 configuration information from (config.$target_os is missing)"
3052 rm -rf conftest conftest.
*
3059 target_distro
=$target_os
3060 if test $target_os = linux
3063 $as_echo "#define IS_LINUX 1" >>confdefs.h
3065 test -f /etc
/SuSE-release
&& target_distro
=suse
3066 test -f /etc
/fedora-release
&& target_distro
=fedora
3067 test -f /etc
/redhat-release
&& target_distro
=redhat
3068 test -f /etc
/debian_version
&& target_distro
=debian
3069 test -f /etc
/slackware-version
&& target_distro
=slackware
3070 test -f /etc
/gentoo-release
&& target_distro
=gentoo
3071 test -f /etc
/mandriva-release
&& target_distro
=mandriva
3072 test -f /etc
/arch-release
&& target_distro
=arch
3073 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3074 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3075 pcp_ps_all_flags
=-efw
3076 elif test $target_os = darwin
3079 $as_echo "#define IS_DARWIN 1" >>confdefs.h
3081 target_distro
=macosx
3082 version
=`sw_vers -productVersion | sed -e 's/\.//' -e 's/\..*//g'`
3083 CFLAGS
="-fPIC -no-cpp-precomp -fno-strict-aliasing -arch i386"
3084 if test $version -ge 106
3087 CFLAGS
="$CFLAGS -arch x86_64"
3090 pcp_platform_paths
='/usr/local/bin'
3091 pcp_ps_all_flags
="-axw -o user,pid,ppid,cpu,stime,tty,time,command"
3092 elif test $target_os = mingw
3095 $as_echo "#define IS_MINGW 1" >>confdefs.h
3097 CFLAGS
="-fno-strict-aliasing"
3098 pcp_platform_paths
=''
3099 pcp_ps_all_flags
=-efW
3100 elif test $target_os = solaris
3103 $as_echo "#define IS_SOLARIS 1" >>confdefs.h
3105 export CFLAGS_IF_GCC
="-fPIC -fno-strict-aliasing"
3106 export CFLAGS_IF_SUNCC
="-fPIC -xalias_level=any -D_XPG4_2 -D__EXTENSIONS__"
3107 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin:/opt/sfw/bin:/opt/csw/bin'
3108 pcp_ps_all_flags
=-ef
3109 elif test $target_os = aix
3112 $as_echo "#define IS_AIX 1" >>confdefs.h
3114 export CFLAGS
="-qcpluscmt"
3115 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3116 pcp_ps_all_flags
=-ef
3117 elif test $target_os = freebsd ||
test $target_os = kfreebsd
3120 $as_echo "#define IS_FREEBSD 1" >>confdefs.h
3122 test -f /etc
/debian_version
&& target_distro
=debian
3123 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3124 if test $target_os = kfreebsd
3126 pcp_ps_all_flags
=-efw
3128 pcp_ps_all_flags
=auxww
3130 pcp_platform_paths
='/usr/bin/X11'
3131 test -d /usr
/local
/bin
&& pcp_platform_paths
="$pcp_platform_paths:/usr/local/bin"
3132 test -d /usr
/bsd
&& pcp_platform_paths
="$pcp_platform_paths:/usr/bsd"
3133 elif test $target_os = gnu
3136 $as_echo "#define IS_GNU 1" >>confdefs.h
3138 test -f /etc
/debian_version
&& target_distro
=debian
3139 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3140 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3141 pcp_ps_all_flags
=-efw
3142 elif test $target_os = netbsdelf
3146 $as_echo "#define IS_NETBSD 1" >>confdefs.h
3148 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE -D_NETBSD_SOURCE"
3149 pcp_platform_paths
='/usr/pkg/bin'
3150 pcp_ps_all_flags
=auxww
3151 elif test $target_os = openbsd
3155 $as_echo "#define IS_OPENBSD 1" >>confdefs.h
3157 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3158 pcp_platform_paths
='/usr/local/bin'
3159 pcp_ps_all_flags
=auxww
3162 echo "FATAL ERROR: need platform-specific customization for \"$target_os\""
3163 rm -rf conftest conftest.
*
3169 if test "$use_optimization" = no
3171 optimization
="-O0 -g"
3173 optimization
="-O2 -g"
3184 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3185 if test -n "$ac_tool_prefix"; then
3186 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3187 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
3191 $as_echo_n "(cached) " >&6
3195 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
3198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3202 test -z "$as_dir" && as_dir
=.
3203 for ac_exec_ext
in '' $ac_executable_extensions; do
3204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3205 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
3217 if test -n "$PKG_CONFIG"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3219 $as_echo "$PKG_CONFIG" >&6; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3227 if test -z "$ac_cv_path_PKG_CONFIG"; then
3228 ac_pt_PKG_CONFIG
=$PKG_CONFIG
3229 # Extract the first word of "pkg-config", so it can be a program name with args.
3230 set dummy pkg-config
; ac_word
=$2
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232 $as_echo_n "checking for $ac_word... " >&6; }
3233 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
3234 $as_echo_n "(cached) " >&6
3236 case $ac_pt_PKG_CONFIG in
3238 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
3260 if test -n "$ac_pt_PKG_CONFIG"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3262 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3268 if test "x$ac_pt_PKG_CONFIG" = x
; then
3271 case $cross_compiling:$ac_tool_warned in
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275 ac_tool_warned
=yes ;;
3277 PKG_CONFIG
=$ac_pt_PKG_CONFIG
3280 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
3284 if test -n "$PKG_CONFIG"; then
3285 _pkg_min_version
=0.9.0
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3287 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3288 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3290 $as_echo "yes" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3297 if test -z "$PKG_CONFIG"; then
3298 as_fn_error $?
"cannot find a 'pkg-config' command" "$LINENO" 5
3303 ac_cpp
='$CPP $CPPFLAGS'
3304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3307 if test -n "$ac_tool_prefix"; then
3308 for ac_prog
in suncc egcc gcc cc
3310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3311 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if ${ac_cv_prog_CC+:} false
; then :
3315 $as_echo_n "(cached) " >&6
3317 if test -n "$CC"; then
3318 ac_cv_prog_CC
="$CC" # Let the user override the test.
3320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3324 test -z "$as_dir" && as_dir
=.
3325 for ac_exec_ext
in '' $ac_executable_extensions; do
3326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3327 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 if test -n "$CC"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3340 $as_echo "$CC" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3347 test -n "$CC" && break
3350 if test -z "$CC"; then
3352 for ac_prog
in suncc egcc gcc cc
3354 # Extract the first word of "$ac_prog", so it can be a program name with args.
3355 set dummy
$ac_prog; ac_word
=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3359 $as_echo_n "(cached) " >&6
3361 if test -n "$ac_ct_CC"; then
3362 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3368 test -z "$as_dir" && as_dir
=.
3369 for ac_exec_ext
in '' $ac_executable_extensions; do
3370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3371 ac_cv_prog_ac_ct_CC
="$ac_prog"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3382 if test -n "$ac_ct_CC"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3384 $as_echo "$ac_ct_CC" >&6; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3391 test -n "$ac_ct_CC" && break
3394 if test "x$ac_ct_CC" = x
; then
3397 case $cross_compiling:$ac_tool_warned in
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3401 ac_tool_warned
=yes ;;
3408 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error $?
"no acceptable C compiler found in \$PATH
3411 See \`config.log' for more details" "$LINENO" 5; }
3413 # Provide some information about the compiler.
3414 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3417 for ac_option
in --version -v -V -qversion; do
3418 { { ac_try
="$ac_compiler $ac_option >&5"
3420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3421 *) ac_try_echo=$ac_try;;
3423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3424 $as_echo "$ac_try_echo"; } >&5
3425 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3427 if test -s conftest.err; then
3429 ... rest of stderr output deleted ...
3430 10q' conftest.err >conftest.er1
3431 cat conftest.er1 >&5
3433 rm -f conftest.er1 conftest.err
3434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3435 test $ac_status = 0; }
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3449 ac_clean_files_save=$ac_clean_files
3450 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3451 # Try to create an executable without -o first, disregard a.out.
3452 # It will help us diagnose broken compilers, and finding out an intuition
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3455 $as_echo_n "checking whether the C compiler works... " >&6; }
3456 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3458 # The possible output files:
3459 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3462 for ac_file in $ac_files
3465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3466 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3471 if { { ac_try="$ac_link_default"
3473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3474 *) ac_try_echo
=$ac_try;;
3476 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477 $as_echo "$ac_try_echo"; } >&5
3478 (eval "$ac_link_default") 2>&5
3480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3481 test $ac_status = 0; }; then :
3482 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3483 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3484 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3485 # so that the user can short-circuit this test for compilers unknown to
3487 for ac_file
in $ac_files ''
3489 test -f "$ac_file" ||
continue
3491 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3494 # We found the default executable, but exeext='' is most
3498 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3500 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502 # We set ac_cv_exeext here because the later test for it is not
3503 # safe: cross compilers may not add the suffix if given an `-o'
3504 # argument, so we may need to know it at that point already.
3505 # Even if this section looks crufty: it has the advantage of
3512 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3517 if test -z "$ac_file"; then :
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519 $as_echo "no" >&6; }
3520 $as_echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.
$ac_ext >&5
3523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525 as_fn_error
77 "C compiler cannot create executables
3526 See \`config.log' for more details" "$LINENO" 5; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3529 $as_echo "yes" >&6; }
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3532 $as_echo_n "checking for C compiler default output file name... " >&6; }
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3534 $as_echo "$ac_file" >&6; }
3535 ac_exeext
=$ac_cv_exeext
3537 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3538 ac_clean_files
=$ac_clean_files_save
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3540 $as_echo_n "checking for suffix of executables... " >&6; }
3541 if { { ac_try
="$ac_link"
3543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3544 *) ac_try_echo=$ac_try;;
3546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547 $as_echo "$ac_try_echo"; } >&5
3548 (eval "$ac_link") 2>&5
3550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551 test $ac_status = 0; }; then :
3552 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3553 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3554 # work properly (i.e., refer to `conftest.exe'), while it won't with
3556 for ac_file
in conftest.exe conftest conftest.
*; do
3557 test -f "$ac_file" ||
continue
3559 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3560 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3569 See \`config.log' for more details" "$LINENO" 5; }
3571 rm -f conftest conftest
$ac_cv_exeext
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3573 $as_echo "$ac_cv_exeext" >&6; }
3575 rm -f conftest.
$ac_ext
3576 EXEEXT
=$ac_cv_exeext
3578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3584 FILE *f = fopen ("conftest.out", "w");
3585 return ferror (f) || fclose (f) != 0;
3591 ac_clean_files
="$ac_clean_files conftest.out"
3592 # Check that the compiler produces executables we can run. If not, either
3593 # the compiler is broken, or we cross compile.
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3595 $as_echo_n "checking whether we are cross compiling... " >&6; }
3596 if test "$cross_compiling" != yes; then
3597 { { ac_try
="$ac_link"
3599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603 $as_echo "$ac_try_echo"; } >&5
3604 (eval "$ac_link") 2>&5
3606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607 test $ac_status = 0; }
3608 if { ac_try='./conftest$ac_cv_exeext'
3609 { { case "(($ac_try" in
3610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3611 *) ac_try_echo
=$ac_try;;
3613 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3614 $as_echo "$ac_try_echo"; } >&5
3615 (eval "$ac_try") 2>&5
3617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618 test $ac_status = 0; }; }; then
3621 if test "$cross_compiling" = maybe
; then
3624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3626 as_fn_error $?
"cannot run C compiled programs.
3627 If you meant to cross compile, use \`--host'.
3628 See \`config.log' for more details" "$LINENO" 5; }
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3633 $as_echo "$cross_compiling" >&6; }
3635 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3636 ac_clean_files
=$ac_clean_files_save
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3638 $as_echo_n "checking for suffix of object files... " >&6; }
3639 if ${ac_cv_objext+:} false
; then :
3640 $as_echo_n "(cached) " >&6
3642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3653 rm -f conftest.o conftest.obj
3654 if { { ac_try
="$ac_compile"
3656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_compile") 2>&5
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; }; then :
3665 for ac_file in conftest.o conftest.obj conftest.*; do
3666 test -f "$ac_file" || continue;
3668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3669 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3674 $as_echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3680 See \
`config.log' for more details" "$LINENO" 5; }
3682 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3685 $as_echo "$ac_cv_objext" >&6; }
3686 OBJEXT=$ac_cv_objext
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3689 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3690 if ${ac_cv_c_compiler_gnu+:} false; then :
3691 $as_echo_n "(cached) " >&6
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3707 if ac_fn_c_try_compile "$LINENO"; then :
3712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3713 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3717 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3718 if test $ac_compiler_gnu = yes; then
3723 ac_test_CFLAGS=${CFLAGS+set}
3724 ac_save_CFLAGS=$CFLAGS
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3726 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3727 if ${ac_cv_prog_cc_g+:} false; then :
3728 $as_echo_n "(cached) " >&6
3730 ac_save_c_werror_flag=$ac_c_werror_flag
3731 ac_c_werror_flag=yes
3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3735 /* end confdefs.h. */
3745 if ac_fn_c_try_compile "$LINENO"; then :
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3760 if ac_fn_c_try_compile "$LINENO"; then :
3763 ac_c_werror_flag=$ac_save_c_werror_flag
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3776 if ac_fn_c_try_compile "$LINENO"; then :
3779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3784 ac_c_werror_flag=$ac_save_c_werror_flag
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3787 $as_echo "$ac_cv_prog_cc_g" >&6; }
3788 if test "$ac_test_CFLAGS" = set; then
3789 CFLAGS=$ac_save_CFLAGS
3790 elif test $ac_cv_prog_cc_g = yes; then
3791 if test "$GCC" = yes; then
3797 if test "$GCC" = yes; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3804 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3805 if ${ac_cv_prog_cc_c89+:} false; then :
3806 $as_echo_n "(cached) " >&6
3808 ac_cv_prog_cc_c89=no
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3815 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3816 struct buf { int x; };
3817 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3818 static char *e (p, i)
3824 static char *f (char * (*g) (char **, int), char **p, ...)
3829 s = g (p, va_arg (v,int));
3834 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3835 function prototypes and stuff, but not '\xHH' hex character constants.
3836 These don't provoke an error unfortunately, instead are silently treated
3837 as 'x'. The following induces an error, until -std is added to get
3838 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3839 array size at least. It's necessary to write '\x00'==0 to get something
3840 that's true only with -std. */
3841 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3843 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3844 inside strings and character constants. */
3846 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3848 int test (int i, double x);
3849 struct s1 {int (*f) (int a);};
3850 struct s2 {int (*f) (double a);};
3851 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3857 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3862 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3863 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3865 CC="$ac_save_CC $ac_arg"
3866 if ac_fn_c_try_compile "$LINENO"; then :
3867 ac_cv_prog_cc_c89=$ac_arg
3869 rm -f core conftest.err conftest.$ac_objext
3870 test "x$ac_cv_prog_cc_c89" != "xno" && break
3872 rm -f conftest.$ac_ext
3877 case "x$ac_cv_prog_cc_c89" in
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3880 $as_echo "none needed" >&6; } ;;
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3883 $as_echo "unsupported" >&6; } ;;
3885 CC="$CC $ac_cv_prog_cc_c89"
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3887 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3889 if test "x$ac_cv_prog_cc_c89" != xno; then :
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3899 if test $target_os = solaris
3901 # Extract the first word of "$CC", so it can be a program name with args.
3902 set dummy $CC; ac_word=$2
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904 $as_echo_n "checking for $ac_word... " >&6; }
3905 if ${ac_cv_path_CCPATH+:} false; then :
3906 $as_echo_n "(cached) " >&6
3910 ac_cv_path_CCPATH="$CCPATH" # Let the user override the test with a path.
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_path_CCPATH="$as_dir/$ac_word$ac_exec_ext"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 test -z "$ac_cv_path_CCPATH" && ac_cv_path_CCPATH="$CC"
3932 CCPATH=$ac_cv_path_CCPATH
3933 if test -n "$CCPATH"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCPATH" >&5
3935 $as_echo "$CCPATH" >&6; }
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3943 if test "$GCC" = "yes"
3945 CFLAGS="$CFLAGS $CFLAGS_IF_GCC"
3947 CFLAGS="$CFLAGS $CFLAGS_IF_SUNCC"
3949 if test "$use_64bit" = "no"
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64 bit Solaris host" >&5
3954 $as_echo_n "checking for 64 bit Solaris host... " >&6; }
3959 CFLAGS="$CFLAGS -m64"
3960 LDFLAGS="$LDFLAGS -m64"
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3962 $as_echo "yes" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3980 if echo "$CFLAGS" | grep 'D_FORTIFY_SOURCE' >/dev/null
3982 CFLAGS="-O $PCFLAGS"
3986 # Add some security-related gcc flags
3987 if echo "$CFLAGS" | grep stack-protector >/dev/null
3991 # Check whether --enable-ssp was given.
3992 if test "${enable_ssp+set}" = set; then :
3993 enableval=$enable_ssp;
3997 if test "x$cc_is_gcc" = xyes -a "x$enable_ssp" != xno ; then :
3999 save_CFLAGS="$CFLAGS"
4000 CFLAGS="$CFLAGS -O -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4005 if ac_fn_c_try_compile "$LINENO"; then :
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
4008 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
4009 PCFLAGS="$PCFLAGS -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
4013 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
4014 CFLAGS="$save_CFLAGS"
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4024 # Check for even more security-related gcc/linker flags, useful for daemons
4025 # Check whether --enable-pie was given.
4026 if test "${enable_pie+set}" = set; then :
4027 enableval=$enable_pie;
4030 if test "x$cc_is_gcc" = xyes -a "x$enable_pie" != xno; then :
4033 PIELDFLAGS='-pie -Wl,-z,relro -Wl,-z,now'
4034 save_CFLAGS="$CFLAGS"
4035 save_LDFLAGS="$LDFLAGS"
4036 CFLAGS="$CFLAGS $PIECFLAGS"
4037 LDFLAGS="$LDFLAGS $PIELDFLAGS"
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4042 if ac_fn_c_try_link "$LINENO"; then :
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
4045 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
4050 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
4055 rm -f core conftest.err conftest.$ac_objext \
4056 conftest$ac_exeext conftest.$ac_ext
4057 CFLAGS="$save_CFLAGS"
4058 LDFLAGS="$save_LDFLAGS"
4064 # Check for support for symbol hiding via gcc flags
4065 # Check whether --enable-visibility was given.
4066 if test "${enable_visibility+set}" = set; then :
4067 enableval=$enable_visibility;
4070 if test "x$cc_is_gcc" = xyes -a "$enable_visibility" != no; then :
4072 INVISIBILITY="-fvisibility=hidden"
4073 save_CFLAGS="$CFLAGS"
4074 CFLAGS="$CFLAGS -c $INVISIBILITY"
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4077 int visible () { return 0; }
4079 if ac_fn_c_try_compile "$LINENO"; then :
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&5
4082 $as_echo "$as_me: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&6;}
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fvisibility." >&5
4087 $as_echo "$as_me: Compiler does not support -fvisibility." >&6;}
4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 CFLAGS="$save_CFLAGS"
4098 ac_cpp='$CXXCPP $CPPFLAGS'
4099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4102 if test -z "$CXX"; then
4103 if test -n "$CCC"; then
4106 if test -n "$ac_tool_prefix"; then
4107 for ac_prog in eg++ g++ c++
4109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4110 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_CXX+:} false; then :
4114 $as_echo_n "(cached) " >&6
4116 if test -n "$CXX"; then
4117 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 if test -n "$CXX"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4139 $as_echo "$CXX" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4146 test -n "$CXX" && break
4149 if test -z "$CXX"; then
4151 for ac_prog in eg++ g++ c++
4153 # Extract the first word of "$ac_prog", so it can be a program name with args.
4154 set dummy $ac_prog; ac_word=$2
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156 $as_echo_n "checking for $ac_word... " >&6; }
4157 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4158 $as_echo_n "(cached) " >&6
4160 if test -n "$ac_ct_CXX"; then
4161 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4167 test -z "$as_dir" && as_dir=.
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4170 ac_cv_prog_ac_ct_CXX="$ac_prog"
4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4181 if test -n "$ac_ct_CXX"; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4183 $as_echo "$ac_ct_CXX" >&6; }
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186 $as_echo "no" >&6; }
4190 test -n "$ac_ct_CXX" && break
4193 if test "x$ac_ct_CXX" = x; then
4196 case $cross_compiling:$ac_tool_warned in
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4200 ac_tool_warned=yes ;;
4208 # Provide some information about the compiler.
4209 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4212 for ac_option in --version -v -V -qversion; do
4213 { { ac_try="$ac_compiler $ac_option >&5"
4215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4216 *) ac_try_echo
=$ac_try;;
4218 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4222 if test -s conftest.err
; then
4224 ... rest of stderr output deleted ...
4225 10q' conftest.err
>conftest.er1
4226 cat conftest.er1
>&5
4228 rm -f conftest.er1 conftest.err
4229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4230 test $ac_status = 0; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4234 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4235 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4236 $as_echo_n "(cached) " >&6
4238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4252 if ac_fn_cxx_try_compile
"$LINENO"; then :
4257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4258 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4262 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4263 if test $ac_compiler_gnu = yes; then
4268 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4269 ac_save_CXXFLAGS
=$CXXFLAGS
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4271 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4272 if ${ac_cv_prog_cxx_g+:} false
; then :
4273 $as_echo_n "(cached) " >&6
4275 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4276 ac_cxx_werror_flag
=yes
4279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4290 if ac_fn_cxx_try_compile
"$LINENO"; then :
4291 ac_cv_prog_cxx_g
=yes
4294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h. */
4305 if ac_fn_cxx_try_compile
"$LINENO"; then :
4308 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4321 if ac_fn_cxx_try_compile
"$LINENO"; then :
4322 ac_cv_prog_cxx_g
=yes
4324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4329 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4332 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4333 if test "$ac_test_CXXFLAGS" = set; then
4334 CXXFLAGS
=$ac_save_CXXFLAGS
4335 elif test $ac_cv_prog_cxx_g = yes; then
4336 if test "$GXX" = yes; then
4342 if test "$GXX" = yes; then
4349 ac_cpp
='$CPP $CPPFLAGS'
4350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C++ compiler" >&5
4357 $as_echo_n "checking for working C++ compiler... " >&6; }
4359 ac_cpp
='$CXXCPP $CPPFLAGS'
4360 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4361 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4362 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4371 const char gday[] = "G'day, world\n";
4376 if ac_fn_cxx_try_compile
"$LINENO"; then :
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4378 $as_echo "yes" >&6; }
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4381 $as_echo "no" >&6; }
4384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4386 ac_cpp
='$CPP $CPPFLAGS'
4387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4392 # Prevent shared libraries from being built for libpcp and other core libraries
4393 # Check whether --enable-shared was given.
4394 if test "${enable_shared+set}" = set; then :
4395 enableval
=$enable_shared; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --disable-shared=$withval"
4401 test -z "$AWK" && for ac_prog
in gawk
awk
4403 # Extract the first word of "$ac_prog", so it can be a program name with args.
4404 set dummy
$ac_prog; ac_word
=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_path_AWK+:} false
; then :
4408 $as_echo_n "(cached) " >&6
4412 ac_cv_path_AWK
="$AWK" # Let the user override the test with a path.
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_exec_ext
in '' $ac_executable_extensions; do
4421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4422 ac_cv_path_AWK
="$as_dir/$ac_word$ac_exec_ext"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 if test -n "$AWK"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4436 $as_echo "$AWK" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4443 test -n "$AWK" && break
4445 test -n "$AWK" || AWK
="/usr/bin/awk"
4458 if test -z "$SED"; then
4459 # Extract the first word of "sed", so it can be a program name with args.
4460 set dummy
sed; ac_word
=$2
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if ${ac_cv_path_SED+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4468 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="/bin/sed"
4491 if test -n "$SED"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4493 $as_echo "$SED" >&6; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4501 if test ! -x "$SED"; then
4502 as_fn_error $?
"cannot find a valid 'sed' command." "$LINENO" 5
4507 if test -z "$ECHO"; then
4508 # Extract the first word of "echo", so it can be a program name with args.
4509 set dummy
echo; ac_word
=$2
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511 $as_echo_n "checking for $ac_word... " >&6; }
4512 if ${ac_cv_path_ECHO+:} false
; then :
4513 $as_echo_n "(cached) " >&6
4517 ac_cv_path_ECHO
="$ECHO" # Let the user override the test with a path.
4520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir
=.
4525 for ac_exec_ext
in '' $ac_executable_extensions; do
4526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_path_ECHO
="$as_dir/$ac_word$ac_exec_ext"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO
="/bin/echo"
4539 ECHO
=$ac_cv_path_ECHO
4540 if test -n "$ECHO"; then
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4542 $as_echo "$ECHO" >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4550 if test ! -x "$ECHO"; then
4551 as_fn_error $?
"cannot find a valid 'echo' command." "$LINENO" 5
4556 if test -z "$FIND"; then
4557 # Extract the first word of "find", so it can be a program name with args.
4558 set dummy
find; ac_word
=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if ${ac_cv_path_FIND+:} false
; then :
4562 $as_echo_n "(cached) " >&6
4566 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
4569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4573 test -z "$as_dir" && as_dir
=.
4574 for ac_exec_ext
in '' $ac_executable_extensions; do
4575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4576 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
4577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="/usr/bin/find"
4588 FIND
=$ac_cv_path_FIND
4589 if test -n "$FIND"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
4591 $as_echo "$FIND" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4599 if test ! -x "$FIND"; then
4600 as_fn_error $?
"cannot find a valid 'find' command." "$LINENO" 5
4605 if test -z "$WHICH"; then
4606 # Extract the first word of "which", so it can be a program name with args.
4607 set dummy
which; ac_word
=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 $as_echo_n "checking for $ac_word... " >&6; }
4610 if ${ac_cv_path_WHICH+:} false
; then :
4611 $as_echo_n "(cached) " >&6
4615 ac_cv_path_WHICH
="$WHICH" # Let the user override the test with a path.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_path_WHICH
="$as_dir/$ac_word$ac_exec_ext"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 test -z "$ac_cv_path_WHICH" && ac_cv_path_WHICH
="/usr/bin/which"
4637 WHICH
=$ac_cv_path_WHICH
4638 if test -n "$WHICH"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WHICH" >&5
4640 $as_echo "$WHICH" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4648 if test ! -x "$WHICH"; then
4649 as_fn_error $?
"cannot find a valid 'which' command." "$LINENO" 5
4654 for ac_prog
in flex
lex
4656 # Extract the first word of "$ac_prog", so it can be a program name with args.
4657 set dummy
$ac_prog; ac_word
=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_LEX+:} false
; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$LEX"; then
4664 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_LEX
="$ac_prog"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 if test -n "$LEX"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4686 $as_echo "$LEX" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4693 test -n "$LEX" && break
4695 test -n "$LEX" || LEX
=":"
4697 if test "x$LEX" != "x:"; then
4698 cat >conftest.l
<<_ACEOF
4704 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
4705 yyless ((input () != 0)); }
4706 f { unput (yytext[0]); }
4707 . { BEGIN INITIAL; }
4709 #ifdef YYTEXT_POINTER
4710 extern char *yytext;
4715 return ! yylex () + ! yywrap ();
4718 { { ac_try
="$LEX conftest.l"
4720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4724 $as_echo "$ac_try_echo"; } >&5
4725 (eval "$LEX conftest.l") 2>&5
4727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4728 test $ac_status = 0; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4730 $as_echo_n "checking lex output file root... " >&6; }
4731 if ${ac_cv_prog_lex_root+:} false; then :
4732 $as_echo_n "(cached) " >&6
4735 if test -f lex.yy.c; then
4736 ac_cv_prog_lex_root=lex.yy
4737 elif test -f lexyy.c; then
4738 ac_cv_prog_lex_root=lexyy
4740 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4744 $as_echo "$ac_cv_prog_lex_root" >&6; }
4745 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4747 if test -z "${LEXLIB+set}"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4749 $as_echo_n "checking lex library... " >&6; }
4750 if ${ac_cv_lib_lex+:} false; then :
4751 $as_echo_n "(cached) " >&6
4755 ac_cv_lib_lex='none needed'
4756 for ac_lib in '' -lfl -ll; do
4757 LIBS="$ac_lib $ac_save_LIBS"
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4760 `cat $LEX_OUTPUT_ROOT.c
`
4762 if ac_fn_c_try_link "$LINENO"; then :
4763 ac_cv_lib_lex=$ac_lib
4765 rm -f core conftest.err conftest.$ac_objext \
4766 conftest$ac_exeext conftest.$ac_ext
4767 test "$ac_cv_lib_lex" != 'none needed' && break
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4773 $as_echo "$ac_cv_lib_lex" >&6; }
4774 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4779 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4780 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4781 $as_echo_n "(cached) " >&6
4783 # POSIX says lex can declare yytext either as a pointer or an array; the
4784 # default is implementation-dependent. Figure out which it is, since
4785 # not all implementations provide the %pointer and %array declarations.
4786 ac_cv_prog_lex_yytext_pointer=no
4788 LIBS="$LEXLIB $ac_save_LIBS"
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4792 #define YYTEXT_POINTER 1
4793 `cat $LEX_OUTPUT_ROOT.c
`
4795 if ac_fn_c_try_link "$LINENO"; then :
4796 ac_cv_prog_lex_yytext_pointer=yes
4798 rm -f core conftest.err conftest.$ac_objext \
4799 conftest$ac_exeext conftest.$ac_ext
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4804 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4805 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4807 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4810 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4813 lex=`$echo $LEX |
awk '{print $1}'`
4815 if test ! -x "$lex"; then
4816 as_fn_error $? "cannot find a valid 'lex'/'flex' command." "$LINENO" 5
4821 for ac_prog in 'bison -y' byacc
4823 # Extract the first word of "$ac_prog", so it can be a program name with args.
4824 set dummy $ac_prog; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_YACC+:} false; then :
4828 $as_echo_n "(cached) " >&6
4830 if test -n "$YACC"; then
4831 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_YACC="$ac_prog"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 YACC=$ac_cv_prog_YACC
4851 if test -n "$YACC"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4853 $as_echo "$YACC" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4860 test -n "$YACC" && break
4862 test -n "$YACC" || YACC="yacc"
4864 yacc=`$echo $YACC |
awk '{print $1}'`
4865 yacc=`$which "$yacc"`
4866 if test ! -x "$yacc"; then
4867 as_fn_error $? "cannot find a valid 'yacc'/'bison' command." "$LINENO" 5
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where unix-like sort(1) lives" >&5
4873 $as_echo_n "checking where unix-like sort(1) lives... " >&6; }
4874 if test $target_os = mingw; then
4875 for d in /bin /usr/bin /mingw/bin /mingw/usr/bin
4877 if test -x $d/sort; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sort" >&5
4886 $as_echo "$sort" >&6; }
4891 echo "FATAL ERROR: $sort -n failed!"
4892 rm -rf conftest conftest.*
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if echo uses -n or backslash-c to suppress newlines" >&5
4898 $as_echo_n "checking if echo uses -n or backslash-c to suppress newlines... " >&6; }
4899 if ( $echo "testing\c"; $echo 1,2,3 ) | grep c >/dev/null
4901 if ( $echo -n testing; $echo 1,2,3 ) | sed s/-n/xn/ | grep xn >/dev/null
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither?" >&5
4905 $as_echo "neither?" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -n" >&5
4909 $as_echo " -n" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: backslash-c" >&5
4914 $as_echo "backslash-c" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4920 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4921 if ${ac_cv_path_GREP+:} false; then :
4922 $as_echo_n "(cached) " >&6
4924 if test -z "$GREP"; then
4925 ac_path_GREP_found=false
4926 # Loop through the user's path and test for each of PROGNAME-LIST
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4931 test -z "$as_dir" && as_dir=.
4932 for ac_prog in grep ggrep; do
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4934 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4935 as_fn_executable_p "$ac_path_GREP" || continue
4936 # Check for GNU ac_path_GREP and select it if it is found.
4937 # Check for GNU $ac_path_GREP
4938 case `"$ac_path_GREP" --version 2>&1` in
4940 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4943 $as_echo_n 0123456789 >"conftest.in"
4946 cat "conftest.in" "conftest.in" >"conftest.tmp"
4947 mv "conftest.tmp" "conftest.in"
4948 cp "conftest.in" "conftest.nl"
4949 $as_echo 'GREP' >> "conftest.nl"
4950 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4951 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4952 as_fn_arith $ac_count + 1 && ac_count=$as_val
4953 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4954 # Best one so far, save it but keep looking for a better one
4955 ac_cv_path_GREP="$ac_path_GREP"
4956 ac_path_GREP_max=$ac_count
4958 # 10*(2^10) chars as input seems more than enough
4959 test $ac_count -gt 10 && break
4961 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4964 $ac_path_GREP_found && break 3
4969 if test -z "$ac_cv_path_GREP"; then
4970 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4973 ac_cv_path_GREP=$GREP
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4978 $as_echo "$ac_cv_path_GREP" >&6; }
4979 GREP="$ac_cv_path_GREP"
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4983 $as_echo_n "checking for egrep... " >&6; }
4984 if ${ac_cv_path_EGREP+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4988 then ac_cv_path_EGREP="$GREP -E"
4990 if test -z "$EGREP"; then
4991 ac_path_EGREP_found=false
4992 # Loop through the user's path and test for each of PROGNAME-LIST
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4997 test -z "$as_dir" && as_dir=.
4998 for ac_prog in egrep; do
4999 for ac_exec_ext in '' $ac_executable_extensions; do
5000 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5001 as_fn_executable_p "$ac_path_EGREP" || continue
5002 # Check for GNU ac_path_EGREP and select it if it is found.
5003 # Check for GNU $ac_path_EGREP
5004 case `"$ac_path_EGREP" --version 2>&1` in
5006 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5009 $as_echo_n 0123456789 >"conftest.in"
5012 cat "conftest.in" "conftest.in" >"conftest.tmp"
5013 mv "conftest.tmp" "conftest.in"
5014 cp "conftest.in" "conftest.nl"
5015 $as_echo 'EGREP' >> "conftest.nl"
5016 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5017 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5018 as_fn_arith $ac_count + 1 && ac_count=$as_val
5019 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5020 # Best one so far, save it but keep looking for a better one
5021 ac_cv_path_EGREP="$ac_path_EGREP"
5022 ac_path_EGREP_max=$ac_count
5024 # 10*(2^10) chars as input seems more than enough
5025 test $ac_count -gt 10 && break
5027 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5030 $ac_path_EGREP_found && break 3
5035 if test -z "$ac_cv_path_EGREP"; then
5036 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5039 ac_cv_path_EGREP=$EGREP
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5045 $as_echo "$ac_cv_path_EGREP" >&6; }
5046 EGREP="$ac_cv_path_EGREP"
5050 if test "$do_probes" = "check" -o "$do_probes" = "yes"
5053 for ac_prog in dtrace
5055 # Extract the first word of "$ac_prog", so it can be a program name with args.
5056 set dummy $ac_prog; ac_word=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if ${ac_cv_prog_DTRACE+:} false; then :
5060 $as_echo_n "(cached) " >&6
5062 if test -n "$DTRACE"; then
5063 ac_cv_prog_DTRACE="$DTRACE" # Let the user override the test.
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir=.
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_DTRACE="$ac_prog"
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 DTRACE=$ac_cv_prog_DTRACE
5083 if test -n "$DTRACE"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
5085 $as_echo "$DTRACE" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 test -n "$DTRACE" && break
5095 if test -z "$DTRACE"
5097 if test "$do_probes" = "yes"
5099 as_fn_error $? "cannot enable static probes - no dtrace executable" "$LINENO" 5
5104 ac_cpp='$CPP $CPPFLAGS'
5105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5109 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5110 # On Suns, sometimes $CPP names a directory.
5111 if test -n "$CPP" && test -d "$CPP"; then
5114 if test -z "$CPP"; then
5115 if ${ac_cv_prog_CPP+:} false; then :
5116 $as_echo_n "(cached) " >&6
5118 # Double quotes because CPP needs to be expanded
5119 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5122 for ac_c_preproc_warn_flag in '' yes
5124 # Use a header file that comes with gcc, so configuring glibc
5125 # with a fresh cross-compiler works.
5126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5127 # <limits.h> exists even on freestanding compilers.
5128 # On the NeXT, cc -E runs the code through the compiler's parser,
5129 # not just through cpp. "Syntax error" is here to catch this case.
5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h. */
5133 # include <limits.h>
5135 # include <assert.h>
5139 if ac_fn_c_try_cpp "$LINENO"; then :
5142 # Broken: fails on valid input.
5145 rm -f conftest.err conftest.i conftest.$ac_ext
5147 # OK, works on sane cases. Now check whether nonexistent headers
5148 # can be detected and how.
5149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5150 /* end confdefs.h. */
5151 #include <ac_nonexistent.h>
5153 if ac_fn_c_try_cpp "$LINENO"; then :
5154 # Broken: success on invalid input.
5157 # Passes both tests.
5161 rm -f conftest.err conftest.i conftest.$ac_ext
5164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5165 rm -f conftest.i conftest.err conftest.
$ac_ext
5166 if $ac_preproc_ok; then :
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5179 $as_echo "$CPP" >&6; }
5181 for ac_c_preproc_warn_flag
in '' yes
5183 # Use a header file that comes with gcc, so configuring glibc
5184 # with a fresh cross-compiler works.
5185 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5186 # <limits.h> exists even on freestanding compilers.
5187 # On the NeXT, cc -E runs the code through the compiler's parser,
5188 # not just through cpp. "Syntax error" is here to catch this case.
5189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5192 # include <limits.h>
5194 # include <assert.h>
5198 if ac_fn_c_try_cpp
"$LINENO"; then :
5201 # Broken: fails on valid input.
5204 rm -f conftest.err conftest.i conftest.
$ac_ext
5206 # OK, works on sane cases. Now check whether nonexistent headers
5207 # can be detected and how.
5208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5209 /* end confdefs.h. */
5210 #include <ac_nonexistent.h>
5212 if ac_fn_c_try_cpp
"$LINENO"; then :
5213 # Broken: success on invalid input.
5216 # Passes both tests.
5220 rm -f conftest.err conftest.i conftest.
$ac_ext
5223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5224 rm -f conftest.i conftest.err conftest.
$ac_ext
5225 if $ac_preproc_ok; then :
5228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5230 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5231 See \`config.log' for more details" "$LINENO" 5; }
5235 ac_cpp
='$CPP $CPPFLAGS'
5236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5242 $as_echo_n "checking for ANSI C header files... " >&6; }
5243 if ${ac_cv_header_stdc+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5261 if ac_fn_c_try_compile
"$LINENO"; then :
5262 ac_cv_header_stdc
=yes
5264 ac_cv_header_stdc
=no
5266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5268 if test $ac_cv_header_stdc = yes; then
5269 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5276 $EGREP "memchr" >/dev
/null
2>&1; then :
5279 ac_cv_header_stdc
=no
5285 if test $ac_cv_header_stdc = yes; then
5286 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5293 $EGREP "free" >/dev
/null
2>&1; then :
5296 ac_cv_header_stdc
=no
5302 if test $ac_cv_header_stdc = yes; then
5303 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5304 if test "$cross_compiling" = yes; then :
5307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5311 #if ((' ' & 0x0FF) == 0x020)
5312 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5313 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5315 # define ISLOWER(c) \
5316 (('a' <= (c) && (c) <= 'i') \
5317 || ('j' <= (c) && (c) <= 'r') \
5318 || ('s' <= (c) && (c) <= 'z'))
5319 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5322 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5327 for (i = 0; i < 256; i++)
5328 if (XOR (islower (i), ISLOWER (i))
5329 || toupper (i) != TOUPPER (i))
5334 if ac_fn_c_try_run
"$LINENO"; then :
5337 ac_cv_header_stdc
=no
5339 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5340 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5346 $as_echo "$ac_cv_header_stdc" >&6; }
5347 if test $ac_cv_header_stdc = yes; then
5349 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5353 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5354 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5355 inttypes.h stdint.h unistd.h
5357 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5358 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5360 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5361 cat >>confdefs.h
<<_ACEOF
5362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5370 for ac_header
in sys
/sdt.h
5372 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default"
5373 if test "x$ac_cv_header_sys_sdt_h" = xyes
; then :
5374 cat >>confdefs.h
<<_ACEOF
5375 #define HAVE_SYS_SDT_H 1
5378 if $enable_probes = true
5380 if test $target_os = kfreebsd
5383 elif test $target_os = freebsd
5385 rm -f conftest.d conftest.h
5386 cat <<End-of-File >conftest.d
5391 if dtrace
-s conftest.d
-h >/dev
/null
2>&1
5393 if test ! -f conftest.h
5396 if test "$do_probes" = "yes"
5398 as_fn_error $?
"cannot enable static probes - no .h from dtrace -h" "$LINENO" 5
5403 if test "$do_probes" = "yes"
5405 as_fn_error $?
"cannot enable static probes - dtrace failed" "$LINENO" 5
5414 if test "$do_probes" = "yes"
5416 as_fn_error $?
"cannot enable static probes - no SDT header" "$LINENO" 5
5424 if test "$enable_probes" = "true"
5427 $as_echo "#define HAVE_STATIC_PROBES 1" >>confdefs.h
5434 if test "x$do_discovery" != "xno"; then :
5436 # on Mac OS X, dns_sd.h
5438 # on Linux, aloha Avahi
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
5443 $as_echo_n "checking for avahi... " >&6; }
5445 if test -n "$avahi_CFLAGS"; then
5446 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
5447 elif test -n "$PKG_CONFIG"; then
5448 if test -n "$PKG_CONFIG" && \
5449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
5450 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
5452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5453 test $ac_status = 0; }; then
5454 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
5455 test "x$?" != "x0" && pkg_failed
=yes
5462 if test -n "$avahi_LIBS"; then
5463 pkg_cv_avahi_LIBS
="$avahi_LIBS"
5464 elif test -n "$PKG_CONFIG"; then
5465 if test -n "$PKG_CONFIG" && \
5466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
5467 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
5469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5470 test $ac_status = 0; }; then
5471 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
5472 test "x$?" != "x0" && pkg_failed
=yes
5482 if test $pkg_failed = yes; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5487 _pkg_short_errors_supported
=yes
5489 _pkg_short_errors_supported
=no
5491 if test $_pkg_short_errors_supported = yes; then
5492 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
5494 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
5496 # Put the nasty error message in config.log where it belongs
5497 echo "$avahi_PKG_ERRORS" >&5
5500 elif test $pkg_failed = untried
; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5505 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
5506 avahi_LIBS
=$pkg_cv_avahi_LIBS
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5508 $as_echo "yes" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5
5510 $as_echo_n "checking for avahi_client_new in -lavahi-client... " >&6; }
5511 if ${ac_cv_lib_avahi_client_avahi_client_new+:} false
; then :
5512 $as_echo_n "(cached) " >&6
5514 ac_check_lib_save_LIBS
=$LIBS
5515 LIBS
="-lavahi-client $LIBS"
5516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5519 /* Override any GCC internal prototype to avoid an error.
5520 Use char because int might match the return type of a GCC
5521 builtin and then its argument prototype would still apply. */
5525 char avahi_client_new ();
5529 return avahi_client_new ();
5534 if ac_fn_c_try_link
"$LINENO"; then :
5535 ac_cv_lib_avahi_client_avahi_client_new
=yes
5537 ac_cv_lib_avahi_client_avahi_client_new
=no
5539 rm -f core conftest.err conftest.
$ac_objext \
5540 conftest
$ac_exeext conftest.
$ac_ext
5541 LIBS
=$ac_check_lib_save_LIBS
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5
5544 $as_echo "$ac_cv_lib_avahi_client_avahi_client_new" >&6; }
5545 if test "x$ac_cv_lib_avahi_client_avahi_client_new" = xyes
; then :
5546 lib_for_avahi
="-lavahi-common -lavahi-client"
5553 for ac_header
in avahi-client
/publish.h
5555 ac_fn_c_check_header_mongrel
"$LINENO" "avahi-client/publish.h" "ac_cv_header_avahi_client_publish_h" "$ac_includes_default"
5556 if test "x$ac_cv_header_avahi_client_publish_h" = xyes
; then :
5557 cat >>confdefs.h
<<_ACEOF
5558 #define HAVE_AVAHI_CLIENT_PUBLISH_H 1
5567 for ac_header
in avahi-common
/alternative.h
5569 ac_fn_c_check_header_mongrel
"$LINENO" "avahi-common/alternative.h" "ac_cv_header_avahi_common_alternative_h" "$ac_includes_default"
5570 if test "x$ac_cv_header_avahi_common_alternative_h" = xyes
; then :
5571 cat >>confdefs.h
<<_ACEOF
5572 #define HAVE_AVAHI_COMMON_ALTERNATIVE_H 1
5582 if test "$enable_avahi" = "true"
5587 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
5589 enable_discovery
=true
5592 if test "$do_discovery" != "check" -a "$enable_discovery" != "true"
5594 as_fn_error $?
"cannot enable service discovery - no supported mechanisms" "$LINENO" 5
5596 if test "$enable_discovery" = "true"
5599 $as_echo "#define HAVE_SERVICE_DISCOVERY 1" >>confdefs.h
5607 enable_systemd
=false
5608 if test "x$do_systemd" != "xno"; then :
5613 if test -n "$SYSTEMD_SYSTEMUNITDIR"; then
5614 pkg_cv_SYSTEMD_SYSTEMUNITDIR
="$SYSTEMD_SYSTEMUNITDIR"
5615 elif test -n "$PKG_CONFIG"; then
5616 if test -n "$PKG_CONFIG" && \
5617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
5618 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
5620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5621 test $ac_status = 0; }; then
5622 pkg_cv_SYSTEMD_SYSTEMUNITDIR
=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/null`
5623 test "x$?" != "x0" && pkg_failed
=yes
5630 SYSTEMD_SYSTEMUNITDIR
=$pkg_cv_SYSTEMD_SYSTEMUNITDIR
5632 if test "x$SYSTEMD_SYSTEMUNITDIR" = x
""; then :
5633 enable_systemd
=false
5635 pcp_systemdunit_dir
=$SYSTEMD_SYSTEMUNITDIR
5638 if test -z "$pcp_systemdunit_dir"
5640 if test "$do_systemd" = "yes"
5642 as_fn_error $?
"cannot enable systemd support - no systemunitdir path" "$LINENO" 5
5644 enable_systemd
=false
5650 # NB: No AC_PREFIX_DEFAULT is needed, as the default configure invocation
5651 # targets a build for non-system directories such as /usr/local.
5652 # AC_PREFIX_DEFAULT([])
5655 PACKAGE_VERSION
=${PACKAGE_MAJOR}.${PACKAGE_MINOR}.${PACKAGE_REVISION}
5662 if test -z "$PACKAGE_BUILD_DATE" ; then
5663 PACKAGE_BUILD_DATE
=`date +%Y-%m-%d`
5667 if test -z "$PACKAGE_DISTRIBUTION" ; then
5668 PACKAGE_DISTRIBUTION
=$target_distro
5672 pm_version_current
=`awk </dev/null "BEGIN { print (${PACKAGE_MAJOR}*256+${PACKAGE_MINOR})*256+${PACKAGE_REVISION} }"`
5675 ac_config_headers
="$ac_config_headers src/include/pcp/config.h src/include/pcp/configsz.h"
5677 ac_config_files
="$ac_config_files src/include/pcp/platform_defs.h src/include/pcp/platformsz.h"
5679 cat >confcache
<<\_ACEOF
5680 # This file is a shell script that caches the results of configure
5681 # tests run on this system so they can be shared between configure
5682 # scripts and configure runs, see configure's option --config-cache.
5683 # It is not useful on other systems. If it contains results you don't
5684 # want to keep, you may remove or edit it.
5686 # config.status only pays attention to the cache file if you give it
5687 # the --recheck option to rerun configure.
5689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5695 # The following way of writing the cache mishandles newlines in values,
5696 # but we know of no workaround that is simple, portable, and efficient.
5697 # So, we kill variables containing newlines.
5698 # Ultrix sh set writes to stderr and can't be redirected directly,
5699 # and sets the high bit in the cache file unless we assign to the vars.
5701 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5702 eval ac_val
=\$
$ac_var
5706 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5707 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5710 _ | IFS | as_nl
) ;; #(
5711 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5712 *) { eval $ac_var=; unset $ac_var;} ;;
5718 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5719 *${as_nl}ac_space
=\
*)
5720 # `set' does not quote correctly, so add quotes: double-quote
5721 # substitution turns \\\\ into \\, and sed turns \\ into \.
5724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5727 # `set' quotes correctly as required by POSIX, so do not add quotes.
5728 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5739 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5741 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5742 if test -w "$cache_file"; then
5743 if test "x$cache_file" != "x/dev/null"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5745 $as_echo "$as_me: updating cache $cache_file" >&6;}
5746 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5747 cat confcache
>"$cache_file"
5749 case $cache_file in #(
5751 mv -f confcache
"$cache_file"$$
&&
5752 mv -f "$cache_file"$$
"$cache_file" ;; #(
5754 mv -f confcache
"$cache_file" ;;
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5760 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5765 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5766 # Let make expand exec_prefix.
5767 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5769 DEFS
=-DHAVE_CONFIG_H
5774 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5775 # 1. Remove the extension, and $U if already installed.
5776 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5777 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5778 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5779 # will be set to the directory where LIBOBJS objects are built.
5780 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5781 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5785 LTLIBOBJS
=$ac_ltlibobjs
5789 : "${CONFIG_STATUS=./config.status}"
5791 ac_clean_files_save
=$ac_clean_files
5792 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5794 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5796 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5798 # Generated by $as_me.
5799 # Run this file to recreate the current configuration.
5800 # Compiler output produced by configure, useful for debugging
5801 # configure, is in config.log if it exists.
5807 SHELL=\${CONFIG_SHELL-$SHELL}
5810 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5811 ## -------------------- ##
5812 ## M4sh Initialization. ##
5813 ## -------------------- ##
5815 # Be more Bourne compatible
5816 DUALCASE
=1; export DUALCASE
# for MKS sh
5817 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5820 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5821 # is contrary to our usage. Disable this feature.
5822 alias -g '${1+"$@"}'='"$@"'
5823 setopt NO_GLOB_SUBST
5825 case `(set -o) 2>/dev/null` in #(
5837 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5838 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5839 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5840 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5841 # Prefer a ksh shell builtin over an external printf program on Solaris,
5842 # but without wasting forks for bash or zsh.
5843 if test -z "$BASH_VERSION$ZSH_VERSION" \
5844 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5845 as_echo='print
-r --'
5846 as_echo_n='print
-rn --'
5847 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5848 as_echo='printf %s
\n'
5849 as_echo_n='printf %s
'
5851 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5852 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5853 as_echo_n='/usr
/ucb
/echo -n'
5855 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5856 as_echo_n_body='eval
5860 expr "X$arg" : "X\\(.*\\)$as_nl";
5861 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5863 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5865 export as_echo_n_body
5866 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5869 as_echo='sh
-c $as_echo_body as_echo
'
5872 # The user is always right.
5873 if test "${PATH_SEPARATOR+set}" != set; then
5875 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5876 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5883 # We need space, tab and new line, in precisely that order. Quoting is
5884 # there to prevent editors from complaining about space-tab.
5885 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5886 # splitting by setting IFS to empty value.)
5889 # Find who we are. Look in the path if we contain no directory separator.
5892 *[\\/]* ) as_myself=$0 ;;
5893 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir=.
5898 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5904 # We did not find ourselves, most probably we were run as `sh COMMAND'
5905 # in which case we are not to be found in the path.
5906 if test "x$as_myself" = x
; then
5909 if test ! -f "$as_myself"; then
5910 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5914 # Unset variables that we do not need and which cause bugs (e.g. in
5915 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5916 # suppresses any "Segmentation fault" message there. '((' could
5917 # trigger a bug in pdksh 5.2.14.
5918 for as_var
in BASH_ENV ENV MAIL MAILPATH
5919 do eval test x\
${$as_var+set} = xset \
5920 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5933 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5936 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5937 # ----------------------------------------
5938 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5939 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5940 # script with STATUS, using 1 if that was 0.
5943 as_status
=$1; test $as_status -eq 0 && as_status
=1
5945 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5946 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5948 $as_echo "$as_me: error: $2" >&2
5949 as_fn_exit
$as_status
5953 # as_fn_set_status STATUS
5954 # -----------------------
5955 # Set $? to STATUS, without forking.
5959 } # as_fn_set_status
5963 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5973 # Portably unset VAR.
5976 { eval $1=; unset $1;}
5978 as_unset
=as_fn_unset
5979 # as_fn_append VAR VALUE
5980 # ----------------------
5981 # Append the text in VALUE to the end of the definition contained in VAR. Take
5982 # advantage of any shell optimizations that allow amortized linear growth over
5983 # repeated appends, instead of the typical quadratic growth present in naive
5985 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5986 eval 'as_fn_append ()
5997 # as_fn_arith ARG...
5998 # ------------------
5999 # Perform arithmetic evaluation on the ARGs, and store the result in the
6000 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6001 # must be portable across $(()) and expr.
6002 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6003 eval 'as_fn_arith ()
6010 as_val
=`expr "$@" || test $? -eq 1`
6015 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6016 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6022 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6023 as_basename
=basename
6028 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6034 as_me
=`$as_basename -- "$0" ||
6035 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6036 X"$0" : 'X\(//\)$' \| \
6037 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6039 sed '/^.*\/\([^/][^/]*\)\/*$/{
6053 # Avoid depending upon Character Ranges.
6054 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6055 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6056 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6057 as_cr_digits
='0123456789'
6058 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6060 ECHO_C
= ECHO_N
= ECHO_T
=
6061 case `echo -n x` in #(((((
6063 case `echo 'xy\c'` in
6064 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6066 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6073 rm -f conf$$ conf$$.exe conf$$.
file
6074 if test -d conf$$.dir
; then
6075 rm -f conf$$.dir
/conf$$.
file
6078 mkdir conf$$.dir
2>/dev
/null
6080 if (echo >conf$$.
file) 2>/dev
/null
; then
6081 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6083 # ... but there are two gotchas:
6084 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6085 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6086 # In both cases, we have to default to `cp -pR'.
6087 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6089 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6097 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6098 rmdir conf$$.dir
2>/dev
/null
6103 # Create "$as_dir" as a directory, including parents if necessary.
6108 -*) as_dir
=.
/$as_dir;;
6110 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6114 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6115 *) as_qdir
=$as_dir;;
6117 as_dirs
="'$as_qdir' $as_dirs"
6118 as_dir
=`$as_dirname -- "$as_dir" ||
6119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6120 X"$as_dir" : 'X\(//\)[^/]' \| \
6121 X"$as_dir" : 'X\(//\)$' \| \
6122 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6123 $as_echo X"$as_dir" |
6124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6141 test -d "$as_dir" && break
6143 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6144 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6148 if mkdir
-p .
2>/dev
/null
; then
6149 as_mkdir_p
='mkdir -p "$as_dir"'
6151 test -d .
/-p && rmdir .
/-p
6156 # as_fn_executable_p FILE
6157 # -----------------------
6158 # Test if FILE is an executable regular file.
6159 as_fn_executable_p
()
6161 test -f "$1" && test -x "$1"
6162 } # as_fn_executable_p
6164 as_executable_p
=as_fn_executable_p
6166 # Sed expression to map a string onto a valid CPP name.
6167 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6169 # Sed expression to map a string onto a valid variable name.
6170 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6174 ## ----------------------------------- ##
6175 ## Main body of $CONFIG_STATUS script. ##
6176 ## ----------------------------------- ##
6178 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6181 # Save the log message, to keep $0 and so on meaningful, and to
6182 # report actual input values of CONFIG_FILES etc. instead of their
6183 # values after options handling.
6185 This file was extended by $as_me, which was
6186 generated by GNU Autoconf 2.69. Invocation command line was
6188 CONFIG_FILES = $CONFIG_FILES
6189 CONFIG_HEADERS = $CONFIG_HEADERS
6190 CONFIG_LINKS = $CONFIG_LINKS
6191 CONFIG_COMMANDS = $CONFIG_COMMANDS
6194 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6199 case $ac_config_files in *"
6200 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6203 case $ac_config_headers in *"
6204 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6209 # Files that config.status was made for.
6210 config_files="$ac_config_files"
6211 config_headers="$ac_config_headers"
6215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6217 \`$as_me' instantiates files and other configuration actions
6218 from templates according to the current configuration. Unless the files
6219 and actions are specified as TAGs, all are instantiated by default.
6221 Usage: $0 [OPTION]... [TAG]...
6223 -h, --help print this help, then exit
6224 -V, --version print version number and configuration settings, then exit
6225 --config print configuration, then exit
6226 -q, --quiet, --silent
6227 do not print progress messages
6228 -d, --debug don't remove temporary files
6229 --recheck update $as_me by reconfiguring in the same conditions
6230 --file=FILE[:TEMPLATE]
6231 instantiate the configuration file FILE
6232 --header=FILE[:TEMPLATE]
6233 instantiate the configuration header FILE
6235 Configuration files:
6238 Configuration headers:
6241 Report bugs to the package provider."
6244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6245 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6248 configured by $0, generated by GNU Autoconf 2.69,
6249 with options \\"\$ac_cs_config\\"
6251 Copyright (C) 2012 Free Software Foundation, Inc.
6252 This config.status script is free software; the Free Software Foundation
6253 gives unlimited permission to copy, distribute and modify it."
6257 test -n "\$AWK" || AWK=awk
6260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6261 # The default lists apply if the user does not specify any file.
6267 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6268 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6272 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6284 # Handling of the options.
6285 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6287 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6288 $as_echo "$ac_cs_version"; exit ;;
6289 --config |
--confi |
--conf |
--con |
--co |
--c )
6290 $as_echo "$ac_cs_config"; exit ;;
6291 --debug |
--debu |
--deb |
--de |
--d |
-d )
6293 --file |
--fil |
--fi |
--f )
6296 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6297 '') as_fn_error $?
"missing file argument" ;;
6299 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6300 ac_need_defaults
=false
;;
6301 --header |
--heade |
--head |
--hea )
6304 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6306 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6307 ac_need_defaults
=false
;;
6309 # Conflict between --help and --header
6310 as_fn_error $?
"ambiguous option: \`$1'
6311 Try \`$0 --help' for more information.";;
6312 --help |
--hel |
-h )
6313 $as_echo "$ac_cs_usage"; exit ;;
6314 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6315 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6319 -*) as_fn_error $?
"unrecognized option: \`$1'
6320 Try \`$0 --help' for more information." ;;
6322 *) as_fn_append ac_config_targets
" $1"
6323 ac_need_defaults
=false
;;
6329 ac_configure_extra_args
=
6331 if $ac_cs_silent; then
6333 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6338 if \$ac_cs_recheck; then
6339 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6341 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6342 CONFIG_SHELL='$SHELL'
6348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6352 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6353 ## Running $as_me. ##
6359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6364 # Handling of arguments.
6365 for ac_config_target
in $ac_config_targets
6367 case $ac_config_target in
6368 "src/include/pcp/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/config.h" ;;
6369 "src/include/pcp/configsz.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/configsz.h" ;;
6370 "src/include/pcp/platform_defs.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platform_defs.h" ;;
6371 "src/include/pcp/platformsz.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platformsz.h" ;;
6373 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6378 # If the user did not use the arguments to specify the items to instantiate,
6379 # then the envvar interface is used. Set only those that are not.
6380 # We use the long form for the default assignment because of an extremely
6381 # bizarre bug on SunOS 4.1.3.
6382 if $ac_need_defaults; then
6383 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6384 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6387 # Have a temporary directory for convenience. Make it in the build tree
6388 # simply because there is no reason against having it here, and in addition,
6389 # creating and moving files from /tmp can sometimes cause problems.
6390 # Hook for its removal unless debugging.
6391 # Note that there is a small window in which the directory will not be cleaned:
6392 # after its creation but before its name has been assigned to `$tmp'.
6396 trap 'exit_status=$?
6398 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6400 trap 'as_fn_exit 1' 1 2 13 15
6402 # Create a (secure) tmp directory for tmp files.
6405 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6409 tmp
=.
/conf$$
-$RANDOM
6410 (umask 077 && mkdir
"$tmp")
6411 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6414 # Set up the scripts for CONFIG_FILES section.
6415 # No need to generate them if there are no CONFIG_FILES.
6416 # This happens for instance with `./config.status config.h'.
6417 if test -n "$CONFIG_FILES"; then
6420 ac_cr
=`echo X | tr X '\015'`
6421 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6422 # But we know of no other shell where ac_cr would be empty at this
6423 # point, so we can use a bashism as a fallback.
6424 if test "x$ac_cr" = x
; then
6425 eval ac_cr
=\$
\'\\r
\'
6427 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6428 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6434 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6439 echo "cat >conf$$subs.awk <<_ACEOF" &&
6440 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6443 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6444 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6446 for ac_last_try in false false false false false :; do
6447 . ./conf$$subs.sh ||
6448 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6450 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6451 if test $ac_delim_n = $ac_delim_num; then
6453 elif $ac_last_try; then
6454 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6456 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6462 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6466 s/^/S["/; s
/!.
*/"]=/
6476 s/\(.\{148\}\)..*/\1/
6478 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6483 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6490 s/\(.\{148\}\)..*/\1/
6492 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6496 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6501 ' <conf$$subs.awk | sed '
6506 ' >>$CONFIG_STATUS || ac_write_fail=1
6507 rm -f conf$$subs.awk
6508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6510 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6511 for (key in S) S_is_set[key] = 1
6517 nfields = split(line, field, "@
")
6519 len = length(field[1])
6520 for (i = 2; i < nfields; i++) {
6522 keylen = length(key)
6523 if (S_is_set[key]) {
6525 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6526 len += length(value) + length(field[++i])
6537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6538 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6539 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6542 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6543 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6546 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6547 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6548 # trailing colons and then remove the whole line if VPATH becomes empty
6549 # (actually we leave an empty line to preserve line numbers).
6550 if test "x
$srcdir" = x.; then
6551 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6570 fi # test -n "$CONFIG_FILES"
6572 # Set up the scripts for CONFIG_HEADERS section.
6573 # No need to generate them if there are no CONFIG_HEADERS.
6574 # This happens for instance with `./config.status Makefile'.
6575 if test -n "$CONFIG_HEADERS"; then
6576 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6580 # Transform confdefs.h into an awk script `defines.awk', embedded as
6581 # here-document in config.status, that substitutes the proper values into
6582 # config.h.in to produce config.h.
6584 # Create a delimiter string that does not exist in confdefs.h, to ease
6585 # handling of long lines.
6587 for ac_last_try in false false :; do
6588 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6589 if test -z "$ac_tt"; then
6591 elif $ac_last_try; then
6592 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6594 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6598 # For the awk script, D is an array of macro values keyed by name,
6599 # likewise P contains macro parameters if any. Preserve backslash
6600 # newline sequences.
6602 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6604 s/.\{148\}/&'"$ac_delim"'/g
6607 s/^[ ]*#[ ]*define[ ][ ]*/ /
6614 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6616 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6620 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6621 D["\
1"]=" \
3\\\\\\n
"\\/p
6623 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6628 s/.\{148\}/&'"$ac_delim"'/g
6633 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6636 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6638 ' <confdefs.h | sed '
6639 s/'"$ac_delim"'/"\\\
6640 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6643 for (key in D) D_is_set[key] = 1
6646 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6648 split(line, arg, " ")
6649 if (arg[1] == "#") {
6653 defundef
= substr
(arg
[1], 2)
6656 split(mac1
, mac2
, "(") #)
6658 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6659 if (D_is_set
[macro
]) {
6660 # Preserve the white space surrounding the "#".
6661 print prefix
"define", macro P
[macro
] D
[macro
]
6664 # Replace #undef with comments. This is necessary, for example,
6665 # in the case of _POSIX_SOURCE, which is predefined and required
6666 # on some systems where configure will not decide to define it.
6667 if (defundef
== "undef") {
6668 print
"/*", prefix defundef
, macro
, "*/"
6676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6677 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6678 fi # test -n "$CONFIG_HEADERS"
6681 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
6686 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6688 case $ac_mode$ac_tag in
6690 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6691 :[FH
]-) ac_tag
=-:-;;
6692 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6709 -) ac_f
="$ac_tmp/stdin";;
6710 *) # Look for the file first in the build tree, then in the source tree
6711 # (if the path is not absolute). The absolute path cannot be DOS-style,
6712 # because $ac_f cannot contain `:'.
6716 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6718 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6720 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6721 as_fn_append ac_file_inputs
" '$ac_f'"
6724 # Let's still pretend it is `configure' which instantiates (i.e., don't
6725 # use $as_me), people would be surprised to read:
6726 # /* config.h. Generated by config.status. */
6727 configure_input
='Generated from '`
6728 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6730 if test x
"$ac_file" != x-
; then
6731 configure_input
="$ac_file. $configure_input"
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6733 $as_echo "$as_me: creating $ac_file" >&6;}
6735 # Neutralize special characters interpreted by sed in replacement strings.
6736 case $configure_input in #(
6737 *\
&* |
*\|
* |
*\\* )
6738 ac_sed_conf_input
=`$as_echo "$configure_input" |
6739 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6740 *) ac_sed_conf_input
=$configure_input;;
6744 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6745 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6750 ac_dir
=`$as_dirname -- "$ac_file" ||
6751 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6752 X"$ac_file" : 'X\(//\)[^/]' \| \
6753 X"$ac_file" : 'X\(//\)$' \| \
6754 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6755 $as_echo X"$ac_file" |
6756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6773 as_dir
="$ac_dir"; as_fn_mkdir_p
6777 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6779 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6780 # A ".." for each directory in $ac_dir_suffix.
6781 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6782 case $ac_top_builddir_sub in
6783 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6784 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6787 ac_abs_top_builddir
=$ac_pwd
6788 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6789 # for backward compatibility:
6790 ac_top_builddir
=$ac_top_build_prefix
6793 .
) # We are building in place.
6795 ac_top_srcdir
=$ac_top_builddir_sub
6796 ac_abs_top_srcdir
=$ac_pwd ;;
6797 [\\/]* | ?
:[\\/]* ) # Absolute name.
6798 ac_srcdir
=$srcdir$ac_dir_suffix;
6799 ac_top_srcdir
=$srcdir
6800 ac_abs_top_srcdir
=$srcdir ;;
6802 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6803 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6804 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6806 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6818 # If the template does not know about datarootdir, expand it.
6819 # FIXME: This hack should be removed a few years after 2.60.
6820 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6831 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6832 *datarootdir
*) ac_datarootdir_seen
=yes;;
6833 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6835 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6838 ac_datarootdir_hack='
6839 s&@datadir@&$datadir&g
6840 s&@docdir@&$docdir&g
6841 s&@infodir@&$infodir&g
6842 s&@localedir@&$localedir&g
6843 s&@mandir@&$mandir&g
6844 s&\\\${datarootdir}&$datarootdir&g' ;;
6848 # Neutralize VPATH when `$srcdir' = `.'.
6849 # Shell code in configure.ac might set extrasub.
6850 # FIXME: do we really want to maintain this feature?
6851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6852 ac_sed_extra="$ac_vpsub
6855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6857 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6858 s|@configure_input@|
$ac_sed_conf_input|
;t t
6859 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6860 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6861 s
&@srcdir@
&$ac_srcdir&;t t
6862 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6863 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6864 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6865 s
&@builddir@
&$ac_builddir&;t t
6866 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6867 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6868 $ac_datarootdir_hack
6870 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6871 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6873 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6874 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6875 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6876 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6878 which seems to be undefined. Please make sure it is defined" >&5
6879 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6880 which seems to be undefined. Please make sure it is defined" >&2;}
6882 rm -f "$ac_tmp/stdin"
6884 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6885 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6893 if test x"$ac_file" != x-; then
6895 $as_echo "/* $configure_input */" \
6896 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6897 } >"$ac_tmp/config.h" \
6898 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6899 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6901 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6904 mv "$ac_tmp/config.h" "$ac_file" \
6905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6908 $as_echo "/* $configure_input */" \
6909 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6910 || as_fn_error $? "could not create -" "$LINENO" 5
6922 ac_clean_files=$ac_clean_files_save
6924 test $ac_write_fail = 0 ||
6925 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6928 # configure is writing to config.log, and then calls config.status.
6929 # config.status does its own redirection, appending to config.log.
6930 # Unfortunately, on DOS this fails, as config.log is still kept open
6931 # by configure, so config.status won't be able to
write to it
; its
6932 # output is simply discarded. So we exec the FD to /dev/null,
6933 # effectively closing config.log, so it can be properly (re)opened and
6934 # appended to by config.status. When coming back to configure, we
6935 # need to make the FD available again.
6936 if test "$no_create" != yes; then
6938 ac_config_status_args
=
6939 test "$silent" = yes &&
6940 ac_config_status_args
="$ac_config_status_args --quiet"
6942 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6944 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6945 # would make configure fail if this is the last instruction.
6946 $ac_cs_success || as_fn_exit
1
6948 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6950 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6956 # Extract the first word of "$ac_prog", so it can be a program name with args.
6957 set dummy
$ac_prog; ac_word
=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_prog_GIT+:} false
; then :
6961 $as_echo_n "(cached) " >&6
6963 if test -n "$GIT"; then
6964 ac_cv_prog_GIT
="$GIT" # Let the user override the test.
6966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6970 test -z "$as_dir" && as_dir
=.
6971 for ac_exec_ext
in '' $ac_executable_extensions; do
6972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_GIT
="$ac_prog"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6984 if test -n "$GIT"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
6986 $as_echo "$GIT" >&6; }
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6993 test -n "$GIT" && break
6998 for ac_prog
in python
7000 # Extract the first word of "$ac_prog", so it can be a program name with args.
7001 set dummy
$ac_prog; ac_word
=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if ${ac_cv_prog_PYTHON+:} false
; then :
7005 $as_echo_n "(cached) " >&6
7007 if test -n "$PYTHON"; then
7008 ac_cv_prog_PYTHON
="$PYTHON" # Let the user override the test.
7010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir
=.
7015 for ac_exec_ext
in '' $ac_executable_extensions; do
7016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7017 ac_cv_prog_PYTHON
="$ac_prog"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7027 PYTHON
=$ac_cv_prog_PYTHON
7028 if test -n "$PYTHON"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
7030 $as_echo "$PYTHON" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7037 test -n "$PYTHON" && break
7039 test -n "$PYTHON" || PYTHON
="python2.7"
7043 for ac_prog
in python3
7045 # Extract the first word of "$ac_prog", so it can be a program name with args.
7046 set dummy
$ac_prog; ac_word
=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048 $as_echo_n "checking for $ac_word... " >&6; }
7049 if ${ac_cv_prog_PYTHON3+:} false
; then :
7050 $as_echo_n "(cached) " >&6
7052 if test -n "$PYTHON3"; then
7053 ac_cv_prog_PYTHON3
="$PYTHON3" # Let the user override the test.
7055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir
=.
7060 for ac_exec_ext
in '' $ac_executable_extensions; do
7061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7062 ac_cv_prog_PYTHON3
="$ac_prog"
7063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 PYTHON3
=$ac_cv_prog_PYTHON3
7073 if test -n "$PYTHON3"; then
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
7075 $as_echo "$PYTHON3" >&6; }
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 $as_echo "no" >&6; }
7082 test -n "$PYTHON3" && break
7084 test -n "$PYTHON3" || PYTHON3
="python3.4"
7088 enable_python2
=false
7089 if test "x$do_python" != "xno"; then :
7092 if test -z "$PYTHON"
7094 enable_python2
=false
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python version" >&5
7097 $as_echo_n "checking Python version... " >&6; }
7098 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 }'`
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5
7100 $as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; }
7101 if test "$PY_MAJOR" -lt 2; then
7102 echo WARNING
: Python version
2.6 or later does not seem to be installed.
7103 enable_python2
=false
7105 if test "$PY_MAJOR" -eq 2 -a "$PY_MINOR" -lt 6 ; then
7106 echo WARNING
: Python version
2.
$PY_MINOR is too old.
7107 echo Python version
2.6 or later is required
for Python builds.
7108 enable_python2
=false
7110 for ac_header
in python
${PY_MAJOR}.
${PY_MINOR}/Python.h
7112 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7113 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7114 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7115 cat >>confdefs.h
<<_ACEOF
7116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7121 echo WARNING
: Python version
$PY_MAJOR.
$PY_MINOR header
file missing.
7122 echo Cannot proceed with the Python
$PY_MAJOR installation found.
7123 enable_python2
=false
7133 if test "$do_python" != "check" -a "$enable_python2" != "true"
7135 as_fn_error $?
"cannot enable Python - no supported version found" "$LINENO" 5
7141 enable_python3
=false
7142 if test "x$do_python3" != "xno"; then :
7145 if test -z "$PYTHON3"
7147 enable_python3
=false
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python3 version" >&5
7150 $as_echo_n "checking Python3 version... " >&6; }
7151 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 }'`
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5
7153 $as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; }
7154 if test "$PY_MAJOR" -lt 3; then
7155 echo WARNING
: Python version
3.3 or later does not seem to be installed.
7156 enable_python3
=false
7158 if test "$PY_MAJOR" -eq 3 -a "$PY_MINOR" -lt 3 ; then
7159 echo WARNING
: Python version
3.
$PY_MINOR is too old.
7160 echo Python version
3.3 or later is required
for Python builds.
7161 enable_python3
=false
7163 for ac_header
in python
${PY_MAJOR}.
${PY_MINOR}m
/Python.h
7165 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7166 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7167 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7168 cat >>confdefs.h
<<_ACEOF
7169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7174 echo WARNING
: Python version
$PY_MAJOR.
$PY_MINOR header
file missing.
7175 echo Cannot proceed with the Python
$PY_MAJOR installation found.
7176 enable_python3
=false
7186 if test "$do_python3" != "check" -a "$enable_python3" != "true"
7188 as_fn_error $?
"cannot enable Python3 - no supported version found" "$LINENO" 5
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for any python version" >&5
7195 $as_echo_n "checking for any python version... " >&6; }
7196 if test "$cross_compiling" = "yes"; then
7198 echo "cross-compile -> \"$ans\"" >&5
7199 elif test "$enable_python2" = "true" -o "$enable_python3" = "true"
7206 if $have_python; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7207 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; }; fi
7210 if test "$enable_python3" = "true"
7212 pcp_python_prog
=$PYTHON3
7213 elif test "$enable_python2" = "true"
7215 pcp_python_prog
=$PYTHON
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module jsonpointer" >&5
7223 $as_echo_n "checking for Python module jsonpointer... " >&6; }
7228 txt
="import jsonpointer"
7230 $pcp_python_prog -c 'import sys;
7231 '"$txt" >>config.log
2>&1
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7235 $as_echo "yes" >&6; }
7236 eval have_python_jsonpointer
=true
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7240 eval have_python_jsonpointer
=false
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module setuptools" >&5
7245 $as_echo_n "checking for Python module setuptools... " >&6; }
7250 txt
="import setuptools"
7252 $pcp_python_prog -c 'import sys;
7253 '"$txt" >>config.log
2>&1
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7257 $as_echo "yes" >&6; }
7258 eval have_python_setuptools
=true
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7262 eval have_python_setuptools
=false
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module requests" >&5
7267 $as_echo_n "checking for Python module requests... " >&6; }
7272 txt
="import requests"
7274 $pcp_python_prog -c 'import sys;
7275 '"$txt" >>config.log
2>&1
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7279 $as_echo "yes" >&6; }
7280 eval have_python_requests
=true
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 $as_echo "no" >&6; }
7284 eval have_python_requests
=false
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module six" >&5
7289 $as_echo_n "checking for Python module six... " >&6; }
7296 $pcp_python_prog -c 'import sys;
7297 '"$txt" >>config.log
2>&1
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7301 $as_echo "yes" >&6; }
7302 eval have_python_six
=true
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7306 eval have_python_six
=false
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the json PMDA should be included" >&5
7312 $as_echo_n "checking if the json PMDA should be included... " >&6; }
7314 if test "x$do_pmdajson" = "xyes"; then :
7317 if test "x$do_pmdajson" = "xcheck"; then :
7319 $have_python_jsonpointer && $have_python_six && pmda_json
=true
7322 PMDA_JSON
=$pmda_json
7324 if $pmda_json; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7325 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }; fi
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module libvirt" >&5
7329 $as_echo_n "checking for Python module libvirt... " >&6; }
7334 txt
="import libvirt"
7336 $pcp_python_prog -c 'import sys;
7337 '"$txt" >>config.log
2>&1
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7341 $as_echo "yes" >&6; }
7342 eval have_python_libvirt
=true
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 $as_echo "no" >&6; }
7346 eval have_python_libvirt
=false
7353 # Extract the first word of "$ac_prog", so it can be a program name with args.
7354 set dummy
$ac_prog; ac_word
=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_PERL+:} false
; then :
7358 $as_echo_n "(cached) " >&6
7360 if test -n "$PERL"; then
7361 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir
=.
7368 for ac_exec_ext
in '' $ac_executable_extensions; do
7369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_prog_PERL
="$ac_prog"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 PERL
=$ac_cv_prog_PERL
7381 if test -n "$PERL"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
7383 $as_echo "$PERL" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7390 test -n "$PERL" && break
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for any perl version" >&5
7396 $as_echo_n "checking for any perl version... " >&6; }
7397 if test "$cross_compiling" = "yes"; then
7399 echo "cross-compile -> \"$ans\"" >&5
7400 elif test -n "$PERL"
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcp_perl_prog" >&5
7411 $as_echo "$pcp_perl_prog" >&6; }
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the SNMP PMDA should be included" >&5
7414 $as_echo_n "checking if the SNMP PMDA should be included... " >&6; }
7416 if test "x$do_pmdasnmp" = "xyes"; then :
7419 if test "x$do_pmdasnmp" = "xcheck"; then :
7421 if test "$have_perl" = true
7423 if $pcp_perl_prog -e "use Net::SNMP" >/dev
/null
2>&1
7430 PMDA_SNMP
=$pmda_snmp
7432 if $pmda_snmp; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7433 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }; fi
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the mysql PMDA should be included" >&5
7437 $as_echo_n "checking if the mysql PMDA should be included... " >&6; }
7439 if test "$have_perl" = true
7441 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7443 if $pcp_perl_prog -e "use DBD::mysql" >/dev
/null
2>&1
7449 PMDA_MYSQL
=$pmda_mysql
7451 if $pmda_mysql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7452 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }; fi
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postgresql PMDA should be included" >&5
7456 $as_echo_n "checking if the postgresql PMDA should be included... " >&6; }
7457 pmda_postgresql
=false
7458 if test "$have_perl" = true
7460 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7462 if $pcp_perl_prog -e "use DBD::Pg" >/dev
/null
2>&1
7464 pmda_postgresql
=true
7468 PMDA_POSTGRESQL
=$pmda_postgresql
7470 if $pmda_postgresql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7471 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }; fi
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the oracle PMDA should be included" >&5
7475 $as_echo_n "checking if the oracle PMDA should be included... " >&6; }
7477 if test "$have_perl" = true
7479 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7484 PMDA_ORACLE
=$pmda_oracle
7486 if $pmda_oracle; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7487 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }; fi
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the elasticsearch PMDA should be included" >&5
7491 $as_echo_n "checking if the elasticsearch PMDA should be included... " >&6; }
7492 pmda_elasticsearch
=false
7493 if test "$have_perl" = true
7495 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7497 pmda_elasticsearch
=true
7500 PMDA_ELASTICSEARCH
=$pmda_elasticsearch
7502 if $pmda_elasticsearch; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7503 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }; fi
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nginx PMDA should be included" >&5
7507 $as_echo_n "checking if the nginx PMDA should be included... " >&6; }
7509 if test "$have_perl" = true
7511 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7516 PMDA_NGINX
=$pmda_nginx
7518 if $pmda_nginx; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7519 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }; fi
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the activemq PMDA should be included" >&5
7523 $as_echo_n "checking if the activemq PMDA should be included... " >&6; }
7525 if test "$have_perl" = true
7527 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7532 PMDA_ACTIVEMQ
=$pmda_activemq
7534 if $pmda_activemq; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7535 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536 $as_echo "no" >&6; }; fi
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bind2 PMDA should be included" >&5
7539 $as_echo_n "checking if the bind2 PMDA should be included... " >&6; }
7541 if test "$have_perl" = true
7543 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7545 if $pcp_perl_prog -e "use XML::LibXML" >/dev
/null
2>&1
7551 PMDA_BIND2
=$pmda_bind2
7553 if $pmda_bind2; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7554 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }; fi
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nutcracker PMDA should be included" >&5
7558 $as_echo_n "checking if the nutcracker PMDA should be included... " >&6; }
7559 pmda_nutcracker
=false
7560 if test "$have_perl" = true
7562 if $pcp_perl_prog -e "use YAML::XS" >/dev
/null
2>&1
7564 if $pcp_perl_prog -e "use JSON" >/dev
/null
2>&1
7566 pmda_nutcracker
=true
7570 PMDA_NUTCRACKER
=$pmda_nutcracker
7572 if $pmda_nutcracker; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7573 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }; fi
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the libvirt PMDA should be included" >&5
7577 $as_echo_n "checking if the libvirt PMDA should be included... " >&6; }
7579 if test "$have_python" = true
7581 if $pcp_python_prog -c "import libvirt" >/dev
/null
2>&1
7583 if $pcp_python_prog -c "import lxml" >/dev
/null
2>&1
7589 PMDA_LIBVIRT
=$pmda_libvirt
7591 if $pmda_libvirt; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7592 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }; fi
7598 if test "x$do_qt" != "xno"; then :
7604 for ac_prog
in qmake-qt5 qmake-qt4 qmake
7606 # Extract the first word of "$ac_prog", so it can be a program name with args.
7607 set dummy
$ac_prog; ac_word
=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609 $as_echo_n "checking for $ac_word... " >&6; }
7610 if ${ac_cv_path_QMAKE+:} false
; then :
7611 $as_echo_n "(cached) " >&6
7615 ac_cv_path_QMAKE
="$QMAKE" # Let the user override the test with a path.
7618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7619 as_dummy
="$QTDIR/bin:/usr/bin:/usr/lib64/qt5/bin:/usr/lib/qt5/bin:/usr/lib64/qt4/bin:/usr/lib/qt4/bin:/usr/local/bin"
7620 for as_dir
in $as_dummy
7623 test -z "$as_dir" && as_dir
=.
7624 for ac_exec_ext
in '' $ac_executable_extensions; do
7625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7626 ac_cv_path_QMAKE
="$as_dir/$ac_word$ac_exec_ext"
7627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 QMAKE
=$ac_cv_path_QMAKE
7638 if test -n "$QMAKE"; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
7640 $as_echo "$QMAKE" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7647 test -n "$QMAKE" && break
7650 test "x$cc_is_gcc" = xyes
-a $target_os = solaris
&& QMAKE
="$QMAKE -spec solaris-g++"
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version" >&5
7658 $as_echo_n "checking Qt version... " >&6; }
7659 eval `$qmake --version | 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 }'`
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MAJOR.$QT_MINOR.$QT_POINT" >&5
7661 $as_echo "$QT_MAJOR.$QT_MINOR.$QT_POINT" >&6; }
7662 if test "$QT_MAJOR" -lt 4; then
7663 echo WARNING
: Qt version
4.4 or later does not seem to be installed.
7664 echo Cannot proceed with the Qt
$QT_MAJOR installation found.
7667 if test "$QT_MAJOR" -eq 4 -a "$QT_MINOR" -lt 4 ; then
7668 echo WARNING
: Qt version
4.
$QT_MINOR is too old.
7669 echo Qt version
4.4 or later is required
for Qt builds.
7674 if test "$do_qt" != "check" -a "$enable_qt" != "true"
7676 as_fn_error $?
"cannot enable Qt - no supported Qt installation found" "$LINENO" 5
7677 elif test "$enable_qt" = "true" -a "x$cxx" = "x"
7680 test "$do_qt" != "check" && \
7681 as_fn_error $?
"C++ compiler unavailable, cannot build Qt components" "$LINENO" 5
7682 elif test "$do_qt" = "debug"
7694 if test "x$do_qt3d" != "xno"; then :
7696 if test -f /usr
/include
/Coin
3/Inventor
/Qt
/SoQt.h
7698 enable_qt3d
=$enable_qt
7699 elif test -a "$do_qt3d" = "yes"
7701 as_fn_error $?
"cannot enable support for 3D scene graph API" "$LINENO" 5
7709 # Extract the first word of "gmake", so it can be a program name with args.
7710 set dummy gmake
; ac_word
=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7712 $as_echo_n "checking for $ac_word... " >&6; }
7713 if ${ac_cv_path_MAKE+:} false
; then :
7714 $as_echo_n "(cached) " >&6
7718 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
7721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7725 test -z "$as_dir" && as_dir
=.
7726 for ac_exec_ext
in '' $ac_executable_extensions; do
7727 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7728 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
7729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 MAKE
=$ac_cv_path_MAKE
7740 if test -n "$MAKE"; then
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
7742 $as_echo "$MAKE" >&6; }
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7745 $as_echo "no" >&6; }
7751 # look elsewhere ...
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make elsewhere" >&5
7753 $as_echo_n "checking for GNU make elsewhere... " >&6; }
7754 for f
in /usr
/local
/bin
/gmake
/usr
/freeware
/bin
/gmake
/usr
/local
/bin
/make /opt
/sfw
/bin
/gmake nowhere
7762 if test $f = nowhere
7764 # Check if /usr/bin/make is any good
7765 mver
=`/usr/bin/make --version 2>/dev/null | sed -n -e1p | cut -c1-8`
7766 if test "$mver" != "GNU Make"
7769 echo "FATAL ERROR: could not find GNU make anywhere"
7770 echo "You need to set \$MAKE as the full path to GNU make "
7771 echo "in the environment."
7772 rm -rf conftest conftest.
*
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
7779 $as_echo "$MAKE" >&6; }
7785 if test -z "$CPP"; then
7787 ac_cpp
='$CPP $CPPFLAGS'
7788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7792 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7793 # On Suns, sometimes $CPP names a directory.
7794 if test -n "$CPP" && test -d "$CPP"; then
7797 if test -z "$CPP"; then
7798 if ${ac_cv_prog_CPP+:} false
; then :
7799 $as_echo_n "(cached) " >&6
7801 # Double quotes because CPP needs to be expanded
7802 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7805 for ac_c_preproc_warn_flag
in '' yes
7807 # Use a header file that comes with gcc, so configuring glibc
7808 # with a fresh cross-compiler works.
7809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7810 # <limits.h> exists even on freestanding compilers.
7811 # On the NeXT, cc -E runs the code through the compiler's parser,
7812 # not just through cpp. "Syntax error" is here to catch this case.
7813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7816 # include <limits.h>
7818 # include <assert.h>
7822 if ac_fn_c_try_cpp
"$LINENO"; then :
7825 # Broken: fails on valid input.
7828 rm -f conftest.err conftest.i conftest.
$ac_ext
7830 # OK, works on sane cases. Now check whether nonexistent headers
7831 # can be detected and how.
7832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7834 #include <ac_nonexistent.h>
7836 if ac_fn_c_try_cpp
"$LINENO"; then :
7837 # Broken: success on invalid input.
7840 # Passes both tests.
7844 rm -f conftest.err conftest.i conftest.
$ac_ext
7847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7848 rm -f conftest.i conftest.err conftest.
$ac_ext
7849 if $ac_preproc_ok; then :
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7862 $as_echo "$CPP" >&6; }
7864 for ac_c_preproc_warn_flag
in '' yes
7866 # Use a header file that comes with gcc, so configuring glibc
7867 # with a fresh cross-compiler works.
7868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7869 # <limits.h> exists even on freestanding compilers.
7870 # On the NeXT, cc -E runs the code through the compiler's parser,
7871 # not just through cpp. "Syntax error" is here to catch this case.
7872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7873 /* end confdefs.h. */
7875 # include <limits.h>
7877 # include <assert.h>
7881 if ac_fn_c_try_cpp
"$LINENO"; then :
7884 # Broken: fails on valid input.
7887 rm -f conftest.err conftest.i conftest.
$ac_ext
7889 # OK, works on sane cases. Now check whether nonexistent headers
7890 # can be detected and how.
7891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 #include <ac_nonexistent.h>
7895 if ac_fn_c_try_cpp
"$LINENO"; then :
7896 # Broken: success on invalid input.
7899 # Passes both tests.
7903 rm -f conftest.err conftest.i conftest.
$ac_ext
7906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7907 rm -f conftest.i conftest.err conftest.
$ac_ext
7908 if $ac_preproc_ok; then :
7911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7913 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7914 See \`config.log' for more details" "$LINENO" 5; }
7918 ac_cpp
='$CPP $CPPFLAGS'
7919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7927 if test -z "$LD"; then
7928 # Extract the first word of "ld", so it can be a program name with args.
7929 set dummy ld
; ac_word
=$2
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7931 $as_echo_n "checking for $ac_word... " >&6; }
7932 if ${ac_cv_path_LD+:} false
; then :
7933 $as_echo_n "(cached) " >&6
7937 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
7940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7944 test -z "$as_dir" && as_dir
=.
7945 for ac_exec_ext
in '' $ac_executable_extensions; do
7946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7947 ac_cv_path_LD
="$as_dir/$ac_word$ac_exec_ext"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7955 test -z "$ac_cv_path_LD" && ac_cv_path_LD
="/usr/bin/ld"
7960 if test -n "$LD"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7962 $as_echo "$LD" >&6; }
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965 $as_echo "no" >&6; }
7973 if test -z "$PCP_USER_INSTALL" ; then
7974 pcp_user_install
=root
7976 pcp_user_install
="$PCP_USER_INSTALL"
7979 if test -z "$PCP_GROUP_INSTALL" ; then
7982 darwin|freebsd|netbsd|openbsd
)
7983 pcp_group_install
=wheel
7986 pcp_group_install
=root
7990 pcp_group_install
="$PCP_GROUP_INSTALL"
7994 if test -z "$TAR"; then
7995 for ac_prog
in gtar
tar
7997 # Extract the first word of "$ac_prog", so it can be a program name with args.
7998 set dummy
$ac_prog; ac_word
=$2
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8000 $as_echo_n "checking for $ac_word... " >&6; }
8001 if ${ac_cv_path_TAR+:} false
; then :
8002 $as_echo_n "(cached) " >&6
8006 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
8009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8013 test -z "$as_dir" && as_dir
=.
8014 for ac_exec_ext
in '' $ac_executable_extensions; do
8015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8016 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
8017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8028 if test -n "$TAR"; then
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
8030 $as_echo "$TAR" >&6; }
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
8037 test -n "$TAR" && break
8039 test -n "$TAR" || TAR
="tar"
8042 if test $target_os = darwin
-a -x /usr
/bin
/gnutar
8049 if test -z "$ZIP"; then
8050 # Extract the first word of "gzip", so it can be a program name with args.
8051 set dummy
gzip; ac_word
=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if ${ac_cv_path_ZIP+:} false
; then :
8055 $as_echo_n "(cached) " >&6
8059 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
8062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir
=.
8067 for ac_exec_ext
in '' $ac_executable_extensions; do
8068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8069 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8077 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="/bin/gzip"
8082 if test -n "$ZIP"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
8084 $as_echo "$ZIP" >&6; }
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087 $as_echo "no" >&6; }
8092 test ! -x "$ZIP" && ZIP
=/usr
/local
/bin
/gzip
8093 test ! -x "$ZIP" && ZIP
=/usr
/freeware
/bin
/gzip
8094 test ! -x "$ZIP" && ZIP
=/usr
/bin
/gzip
8096 test -z "$gzip" && gzip=no-gzip
8099 if test -z "$BZIP2"; then
8100 # Extract the first word of "bzip2", so it can be a program name with args.
8101 set dummy
bzip2; ac_word
=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_path_BZIP2+:} false
; then :
8105 $as_echo_n "(cached) " >&6
8109 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
8112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8116 test -z "$as_dir" && as_dir
=.
8117 for ac_exec_ext
in '' $ac_executable_extensions; do
8118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8119 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
8120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="/bin/bzip2"
8131 BZIP2
=$ac_cv_path_BZIP2
8132 if test -n "$BZIP2"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5
8134 $as_echo "$BZIP2" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8142 test ! -x "$BZIP2" && BZIP2
=/usr
/bin
/bzip2
8143 test ! -x "$BZIP2" && BZIP2
=/usr
/local
/bin
/bzip2
8144 test ! -x "$BZIP2" && BZIP2
=/usr
/freeware
/bin
/bzip2
8146 test -z "$bzip2" && bzip2=no-bzip2
8149 if test -z "$LZMA"; then
8150 # Extract the first word of "lzma", so it can be a program name with args.
8151 set dummy lzma
; ac_word
=$2
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8153 $as_echo_n "checking for $ac_word... " >&6; }
8154 if ${ac_cv_path_LZMA+:} false
; then :
8155 $as_echo_n "(cached) " >&6
8159 ac_cv_path_LZMA
="$LZMA" # Let the user override the test with a path.
8162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8166 test -z "$as_dir" && as_dir
=.
8167 for ac_exec_ext
in '' $ac_executable_extensions; do
8168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_path_LZMA
="$as_dir/$ac_word$ac_exec_ext"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8177 test -z "$ac_cv_path_LZMA" && ac_cv_path_LZMA
="/bin/lzma"
8181 LZMA
=$ac_cv_path_LZMA
8182 if test -n "$LZMA"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5
8184 $as_echo "$LZMA" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8192 test ! -x "$LZMA" && LZMA
=/usr
/bin
/lzma
8193 test ! -x "$LZMA" && LZMA
=/usr
/local
/bin
/lzma
8194 test ! -x "$LZMA" && LZMA
=/usr
/freeware
/bin
/lzma
8196 test -z "$lzma" && lzma
=no-lzma
8199 if test -z "$XZ"; then
8200 # Extract the first word of "xz", so it can be a program name with args.
8201 set dummy xz
; ac_word
=$2
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8203 $as_echo_n "checking for $ac_word... " >&6; }
8204 if ${ac_cv_path_XZ+:} false
; then :
8205 $as_echo_n "(cached) " >&6
8209 ac_cv_path_XZ
="$XZ" # Let the user override the test with a path.
8212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8216 test -z "$as_dir" && as_dir
=.
8217 for ac_exec_ext
in '' $ac_executable_extensions; do
8218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_path_XZ
="$as_dir/$ac_word$ac_exec_ext"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8227 test -z "$ac_cv_path_XZ" && ac_cv_path_XZ
="/bin/xz"
8232 if test -n "$XZ"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
8234 $as_echo "$XZ" >&6; }
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237 $as_echo "no" >&6; }
8242 test ! -x "$XZ" && XZ
=/usr
/bin
/xz
8243 test ! -x "$XZ" && XZ
=/usr
/local
/bin
/xz
8244 test ! -x "$XZ" && XZ
=/usr
/freeware
/bin
/xz
8246 test -z "$xz" && xz
=no-xz
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PackageMaker" >&5
8250 $as_echo_n "checking for PackageMaker... " >&6; }
8251 if test -z "$PACKAGE_MAKER"
8253 if test $target_os = darwin
8255 if test -x /Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8256 then # local XCode extras install
8257 package_maker
=/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (local install)" >&5
8259 $as_echo " yes (local install)" >&6; }
8260 elif test -x /Developer
/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8262 package_maker
=/Developer
/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (darwin 6.x)" >&5
8264 $as_echo " yes (darwin 6.x)" >&6; }
8265 elif test -x /Developer
/Applications
/Utilities
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (darwin 7.x)" >&5
8268 $as_echo " yes (darwin 7.x)" >&6; }
8269 package_maker
=/Developer
/Applications
/Utilities
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found!" >&5
8272 $as_echo " not found!" >&6; }
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PackageMaker not found, mac packages will not be made" >&5
8274 $as_echo "$as_me: WARNING: PackageMaker not found, mac packages will not be made" >&2;}
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278 $as_echo " no" >&6; }
8281 package_maker
="$PACKAGE_MAKER"
8285 if test -z "$HDIUTIL"; then
8286 # Extract the first word of "hdiutil", so it can be a program name with args.
8287 set dummy hdiutil
; ac_word
=$2
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8289 $as_echo_n "checking for $ac_word... " >&6; }
8290 if ${ac_cv_path_HDIUTIL+:} false
; then :
8291 $as_echo_n "(cached) " >&6
8295 ac_cv_path_HDIUTIL
="$HDIUTIL" # Let the user override the test with a path.
8298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8302 test -z "$as_dir" && as_dir
=.
8303 for ac_exec_ext
in '' $ac_executable_extensions; do
8304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8305 ac_cv_path_HDIUTIL
="$as_dir/$ac_word$ac_exec_ext"
8306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8316 HDIUTIL
=$ac_cv_path_HDIUTIL
8317 if test -n "$HDIUTIL"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HDIUTIL" >&5
8319 $as_echo "$HDIUTIL" >&6; }
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8330 if test -z "$MKINSTALLP"; then
8331 # Extract the first word of "mkinstallp", so it can be a program name with args.
8332 set dummy mkinstallp
; ac_word
=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if ${ac_cv_path_MKINSTALLP+:} false
; then :
8336 $as_echo_n "(cached) " >&6
8340 ac_cv_path_MKINSTALLP
="$MKINSTALLP" # Let the user override the test with a path.
8343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8347 test -z "$as_dir" && as_dir
=.
8348 for ac_exec_ext
in '' $ac_executable_extensions; do
8349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8350 ac_cv_path_MKINSTALLP
="$as_dir/$ac_word$ac_exec_ext"
8351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 MKINSTALLP
=$ac_cv_path_MKINSTALLP
8362 if test -n "$MKINSTALLP"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKINSTALLP" >&5
8364 $as_echo "$MKINSTALLP" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8372 mkinstallp
=$MKINSTALLP
8375 if test -z "$PKGMK"; then
8376 # Extract the first word of "pkgmk", so it can be a program name with args.
8377 set dummy pkgmk
; ac_word
=$2
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8379 $as_echo_n "checking for $ac_word... " >&6; }
8380 if ${ac_cv_path_PKGMK+:} false
; then :
8381 $as_echo_n "(cached) " >&6
8385 ac_cv_path_PKGMK
="$PKGMK" # Let the user override the test with a path.
8388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8392 test -z "$as_dir" && as_dir
=.
8393 for ac_exec_ext
in '' $ac_executable_extensions; do
8394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8395 ac_cv_path_PKGMK
="$as_dir/$ac_word$ac_exec_ext"
8396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8406 PKGMK
=$ac_cv_path_PKGMK
8407 if test -n "$PKGMK"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGMK" >&5
8409 $as_echo "$PKGMK" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 $as_echo "no" >&6; }
8420 if test -z "$DLLTOOL"; then
8421 # Extract the first word of "dlltool", so it can be a program name with args.
8422 set dummy dlltool
; ac_word
=$2
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8424 $as_echo_n "checking for $ac_word... " >&6; }
8425 if ${ac_cv_path_DLLTOOL+:} false
; then :
8426 $as_echo_n "(cached) " >&6
8430 ac_cv_path_DLLTOOL
="$DLLTOOL" # Let the user override the test with a path.
8433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8437 test -z "$as_dir" && as_dir
=.
8438 for ac_exec_ext
in '' $ac_executable_extensions; do
8439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8440 ac_cv_path_DLLTOOL
="$as_dir/$ac_word$ac_exec_ext"
8441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8451 DLLTOOL
=$ac_cv_path_DLLTOOL
8452 if test -n "$DLLTOOL"; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8454 $as_echo "$DLLTOOL" >&6; }
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8457 $as_echo "no" >&6; }
8465 if test -z "$RPMBUILD"; then
8466 # Extract the first word of "rpmbuild", so it can be a program name with args.
8467 set dummy rpmbuild
; ac_word
=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if ${ac_cv_path_RPMBUILD+:} false
; then :
8471 $as_echo_n "(cached) " >&6
8475 ac_cv_path_RPMBUILD
="$RPMBUILD" # Let the user override the test with a path.
8478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8482 test -z "$as_dir" && as_dir
=.
8483 for ac_exec_ext
in '' $ac_executable_extensions; do
8484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8485 ac_cv_path_RPMBUILD
="$as_dir/$ac_word$ac_exec_ext"
8486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8496 RPMBUILD
=$ac_cv_path_RPMBUILD
8497 if test -n "$RPMBUILD"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5
8499 $as_echo "$RPMBUILD" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8507 test $target_distro = slackware
&& RPMBUILD
=''
8511 if test -z "$RPM"; then
8512 # Extract the first word of "rpm", so it can be a program name with args.
8513 set dummy rpm
; ac_word
=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if ${ac_cv_path_RPM+:} false
; then :
8517 $as_echo_n "(cached) " >&6
8521 ac_cv_path_RPM
="$RPM" # Let the user override the test with a path.
8524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8528 test -z "$as_dir" && as_dir
=.
8529 for ac_exec_ext
in '' $ac_executable_extensions; do
8530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8531 ac_cv_path_RPM
="$as_dir/$ac_word$ac_exec_ext"
8532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8543 if test -n "$RPM"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5
8545 $as_echo "$RPM" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8553 test $target_distro = slackware
&& RPM
=''
8557 if test -n "$RPMBUILD" -a -x "$RPMBUILD"
8565 if test -z "$POD2MAN"; then
8566 # Extract the first word of "pod2man", so it can be a program name with args.
8567 set dummy pod2man
; ac_word
=$2
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8569 $as_echo_n "checking for $ac_word... " >&6; }
8570 if ${ac_cv_path_POD2MAN+:} false
; then :
8571 $as_echo_n "(cached) " >&6
8575 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
8578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8582 test -z "$as_dir" && as_dir
=.
8583 for ac_exec_ext
in '' $ac_executable_extensions; do
8584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8585 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
8586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8596 POD2MAN
=$ac_cv_path_POD2MAN
8597 if test -n "$POD2MAN"; then
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
8599 $as_echo "$POD2MAN" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602 $as_echo "no" >&6; }
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ExtUtils::MakeMaker is installed" >&5
8611 $as_echo_n "checking if ExtUtils::MakeMaker is installed... " >&6; }
8612 perl
-e "use ExtUtils::MakeMaker" 2>/dev
/null
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8616 $as_echo " yes" >&6; }
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8619 $as_echo " no" >&6; }
8621 echo "FATAL ERROR: Perl ExtUtils::MakeMaker module missing."
8622 echo "You can either install this from your distribution, or"
8623 echo "download from CPAN (Comprehensive Perl Archive Network)."
8624 rm -rf conftest conftest.
*
8628 # Extract the first word of "true", so it can be a program name with args.
8629 set dummy true
; ac_word
=$2
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8631 $as_echo_n "checking for $ac_word... " >&6; }
8632 if ${ac_cv_path_TRUEPROG+:} false
; then :
8633 $as_echo_n "(cached) " >&6
8637 ac_cv_path_TRUEPROG
="$TRUEPROG" # Let the user override the test with a path.
8640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8644 test -z "$as_dir" && as_dir
=.
8645 for ac_exec_ext
in '' $ac_executable_extensions; do
8646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8647 ac_cv_path_TRUEPROG
="$as_dir/$ac_word$ac_exec_ext"
8648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8658 TRUEPROG
=$ac_cv_path_TRUEPROG
8659 if test -n "$TRUEPROG"; then
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUEPROG" >&5
8661 $as_echo "$TRUEPROG" >&6; }
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8664 $as_echo "no" >&6; }
8669 if test -z "$MAKEDEPEND"; then
8670 # Extract the first word of "makedepend", so it can be a program name with args.
8671 set dummy makedepend
; ac_word
=$2
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8673 $as_echo_n "checking for $ac_word... " >&6; }
8674 if ${ac_cv_path_MAKEDEPEND+:} false
; then :
8675 $as_echo_n "(cached) " >&6
8679 ac_cv_path_MAKEDEPEND
="$MAKEDEPEND" # Let the user override the test with a path.
8682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8686 test -z "$as_dir" && as_dir
=.
8687 for ac_exec_ext
in '' $ac_executable_extensions; do
8688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8689 ac_cv_path_MAKEDEPEND
="$as_dir/$ac_word$ac_exec_ext"
8690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8697 test -z "$ac_cv_path_MAKEDEPEND" && ac_cv_path_MAKEDEPEND
="$TRUEPROG"
8701 MAKEDEPEND
=$ac_cv_path_MAKEDEPEND
8702 if test -n "$MAKEDEPEND"; then
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5
8704 $as_echo "$MAKEDEPEND" >&6; }
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8707 $as_echo "no" >&6; }
8712 makedepend
=$MAKEDEPEND
8715 if test -z "$MD5SUM"; then
8716 # Extract the first word of "md5sum", so it can be a program name with args.
8717 set dummy
md5sum; ac_word
=$2
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8719 $as_echo_n "checking for $ac_word... " >&6; }
8720 if ${ac_cv_path_MD5SUM+:} false
; then :
8721 $as_echo_n "(cached) " >&6
8725 ac_cv_path_MD5SUM
="$MD5SUM" # Let the user override the test with a path.
8728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8732 test -z "$as_dir" && as_dir
=.
8733 for ac_exec_ext
in '' $ac_executable_extensions; do
8734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8735 ac_cv_path_MD5SUM
="$as_dir/$ac_word$ac_exec_ext"
8736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8743 test -z "$ac_cv_path_MD5SUM" && ac_cv_path_MD5SUM
="$TRUEPROG"
8747 MD5SUM
=$ac_cv_path_MD5SUM
8748 if test -n "$MD5SUM"; then
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5
8750 $as_echo "$MD5SUM" >&6; }
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8753 $as_echo "no" >&6; }
8761 if test -z "$DPKG"; then
8762 # Extract the first word of "dpkg", so it can be a program name with args.
8763 set dummy dpkg
; ac_word
=$2
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8765 $as_echo_n "checking for $ac_word... " >&6; }
8766 if ${ac_cv_path_DPKG+:} false
; then :
8767 $as_echo_n "(cached) " >&6
8771 ac_cv_path_DPKG
="$DPKG" # Let the user override the test with a path.
8774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8778 test -z "$as_dir" && as_dir
=.
8779 for ac_exec_ext
in '' $ac_executable_extensions; do
8780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8781 ac_cv_path_DPKG
="$as_dir/$ac_word$ac_exec_ext"
8782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 DPKG
=$ac_cv_path_DPKG
8793 if test -n "$DPKG"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DPKG" >&5
8795 $as_echo "$DPKG" >&6; }
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8806 if test -z "$MAKEPKG"; then
8807 # Extract the first word of "makepkg", so it can be a program name with args.
8808 set dummy makepkg
; ac_word
=$2
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8810 $as_echo_n "checking for $ac_word... " >&6; }
8811 if ${ac_cv_path_MAKEPKG+:} false
; then :
8812 $as_echo_n "(cached) " >&6
8816 ac_cv_path_MAKEPKG
="$MAKEPKG" # Let the user override the test with a path.
8819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8823 test -z "$as_dir" && as_dir
=.
8824 for ac_exec_ext
in '' $ac_executable_extensions; do
8825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8826 ac_cv_path_MAKEPKG
="$as_dir/$ac_word$ac_exec_ext"
8827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8837 MAKEPKG
=$ac_cv_path_MAKEPKG
8838 if test -n "$MAKEPKG"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEPKG" >&5
8840 $as_echo "$MAKEPKG" >&6; }
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 $as_echo "no" >&6; }
8851 test -z "$PUBLICAN" && # Extract the first word of "publican", so it can be a program name with args.
8852 set dummy publican
; ac_word
=$2
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8854 $as_echo_n "checking for $ac_word... " >&6; }
8855 if ${ac_cv_path_PUBLICAN+:} false
; then :
8856 $as_echo_n "(cached) " >&6
8860 ac_cv_path_PUBLICAN
="$PUBLICAN" # Let the user override the test with a path.
8863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8867 test -z "$as_dir" && as_dir
=.
8868 for ac_exec_ext
in '' $ac_executable_extensions; do
8869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8870 ac_cv_path_PUBLICAN
="$as_dir/$ac_word$ac_exec_ext"
8871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8881 PUBLICAN
=$ac_cv_path_PUBLICAN
8882 if test -n "$PUBLICAN"; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PUBLICAN" >&5
8884 $as_echo "$PUBLICAN" >&6; }
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8887 $as_echo "no" >&6; }
8893 test -z "$DBLATEX" && # Extract the first word of "dblatex", so it can be a program name with args.
8894 set dummy dblatex
; ac_word
=$2
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8896 $as_echo_n "checking for $ac_word... " >&6; }
8897 if ${ac_cv_path_DBLATEX+:} false
; then :
8898 $as_echo_n "(cached) " >&6
8902 ac_cv_path_DBLATEX
="$DBLATEX" # Let the user override the test with a path.
8905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8909 test -z "$as_dir" && as_dir
=.
8910 for ac_exec_ext
in '' $ac_executable_extensions; do
8911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8912 ac_cv_path_DBLATEX
="$as_dir/$ac_word$ac_exec_ext"
8913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8923 DBLATEX
=$ac_cv_path_DBLATEX
8924 if test -n "$DBLATEX"; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
8926 $as_echo "$DBLATEX" >&6; }
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929 $as_echo "no" >&6; }
8935 test -z "$XMLTO" && # Extract the first word of "xmlto", so it can be a program name with args.
8936 set dummy xmlto
; ac_word
=$2
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8938 $as_echo_n "checking for $ac_word... " >&6; }
8939 if ${ac_cv_path_XMLTO+:} false
; then :
8940 $as_echo_n "(cached) " >&6
8944 ac_cv_path_XMLTO
="$XMLTO" # Let the user override the test with a path.
8947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8951 test -z "$as_dir" && as_dir
=.
8952 for ac_exec_ext
in '' $ac_executable_extensions; do
8953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8954 ac_cv_path_XMLTO
="$as_dir/$ac_word$ac_exec_ext"
8955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8965 XMLTO
=$ac_cv_path_XMLTO
8966 if test -n "$XMLTO"; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
8968 $as_echo "$XMLTO" >&6; }
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8979 if test "$do_books" = "check" -o "$do_books" = "yes"
8981 if test "$BOOK_TOOLCHAIN" != ""
8983 book_toolchain
=$BOOK_TOOLCHAIN
8984 elif test "$DBLATEX" != ""
8986 book_toolchain
=dblatex
8987 elif test "$PUBLICAN" != ""
8989 book_toolchain
=publican
8990 elif test "$XMLTO" != ""
8992 book_toolchain
=xmlto
8993 elif test "$do_books" = "yes"
8995 as_fn_error $?
"cannot enable books build - no toolchain found" "$LINENO" 5
9001 if test "$do_books_brand" != ""
9003 book_brand
=$do_books_brand
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9008 $as_echo_n "checking whether ln -s works... " >&6; }
9010 if test "$LN_S" = "ln -s"; then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9012 $as_echo "yes" >&6; }
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9015 $as_echo "no, using $LN_S" >&6; }
9018 if test $target_os = mingw
; then
9024 test -f /proc
/stat || mount
/proc
>/dev
/null
2>&1
9027 if test -n "$PROCPS"
9029 pcp_ps_prog
="$PROCPS"
9035 if test $target_os = mingw
9037 pcp_syslog_prog
=pcp-eventlog
9039 pcp_syslog_prog
=logger
9044 if test $target_os = solaris
9046 test -f /usr
/xpg
4/bin
/grep && grep=/usr
/xpg
4/bin
/grep
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc " >&5
9051 $as_echo_n "checking for /proc ... " >&6; }
9052 if test "$cross_compiling" = "yes"; then
9054 echo "cross-compile -> \"$ans\"" >&5
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9064 $as_echo "yes" >&6; }
9066 $as_echo "#define HAVE_PROCFS 1" >>confdefs.h
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9070 $as_echo "no" >&6; }
9074 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9075 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9077 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9078 if eval \
${$as_ac_Header+:} false
; then :
9079 $as_echo_n "(cached) " >&6
9081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9083 #include <sys/types.h>
9095 if ac_fn_c_try_compile
"$LINENO"; then :
9096 eval "$as_ac_Header=yes"
9098 eval "$as_ac_Header=no"
9100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9102 eval ac_res
=\$
$as_ac_Header
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9104 $as_echo "$ac_res" >&6; }
9105 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9106 cat >>confdefs.h
<<_ACEOF
9107 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9110 ac_header_dirent
=$ac_hdr; break
9114 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9115 if test $ac_header_dirent = dirent.h
; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9117 $as_echo_n "checking for library containing opendir... " >&6; }
9118 if ${ac_cv_search_opendir+:} false
; then :
9119 $as_echo_n "(cached) " >&6
9121 ac_func_search_save_LIBS
=$LIBS
9122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9125 /* Override any GCC internal prototype to avoid an error.
9126 Use char because int might match the return type of a GCC
9127 builtin and then its argument prototype would still apply. */
9140 for ac_lib
in '' dir
; do
9141 if test -z "$ac_lib"; then
9142 ac_res
="none required"
9145 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9147 if ac_fn_c_try_link
"$LINENO"; then :
9148 ac_cv_search_opendir
=$ac_res
9150 rm -f core conftest.err conftest.
$ac_objext \
9152 if ${ac_cv_search_opendir+:} false
; then :
9156 if ${ac_cv_search_opendir+:} false
; then :
9159 ac_cv_search_opendir
=no
9162 LIBS
=$ac_func_search_save_LIBS
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9165 $as_echo "$ac_cv_search_opendir" >&6; }
9166 ac_res
=$ac_cv_search_opendir
9167 if test "$ac_res" != no
; then :
9168 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9174 $as_echo_n "checking for library containing opendir... " >&6; }
9175 if ${ac_cv_search_opendir+:} false
; then :
9176 $as_echo_n "(cached) " >&6
9178 ac_func_search_save_LIBS
=$LIBS
9179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9197 for ac_lib
in '' x
; do
9198 if test -z "$ac_lib"; then
9199 ac_res
="none required"
9202 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9204 if ac_fn_c_try_link
"$LINENO"; then :
9205 ac_cv_search_opendir
=$ac_res
9207 rm -f core conftest.err conftest.
$ac_objext \
9209 if ${ac_cv_search_opendir+:} false
; then :
9213 if ${ac_cv_search_opendir+:} false
; then :
9216 ac_cv_search_opendir
=no
9219 LIBS
=$ac_func_search_save_LIBS
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9222 $as_echo "$ac_cv_search_opendir" >&6; }
9223 ac_res
=$ac_cv_search_opendir
9224 if test "$ac_res" != no
; then :
9225 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9232 $as_echo_n "checking for ANSI C header files... " >&6; }
9233 if ${ac_cv_header_stdc+:} false
; then :
9234 $as_echo_n "(cached) " >&6
9236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9237 /* end confdefs.h. */
9251 if ac_fn_c_try_compile
"$LINENO"; then :
9252 ac_cv_header_stdc
=yes
9254 ac_cv_header_stdc
=no
9256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9258 if test $ac_cv_header_stdc = yes; then
9259 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9261 /* end confdefs.h. */
9265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9266 $EGREP "memchr" >/dev
/null
2>&1; then :
9269 ac_cv_header_stdc
=no
9275 if test $ac_cv_header_stdc = yes; then
9276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9283 $EGREP "free" >/dev
/null
2>&1; then :
9286 ac_cv_header_stdc
=no
9292 if test $ac_cv_header_stdc = yes; then
9293 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9294 if test "$cross_compiling" = yes; then :
9297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9301 #if ((' ' & 0x0FF) == 0x020)
9302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9305 # define ISLOWER(c) \
9306 (('a' <= (c) && (c) <= 'i') \
9307 || ('j' <= (c) && (c) <= 'r') \
9308 || ('s' <= (c) && (c) <= 'z'))
9309 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9312 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9317 for (i = 0; i < 256; i++)
9318 if (XOR (islower (i), ISLOWER (i))
9319 || toupper (i) != TOUPPER (i))
9324 if ac_fn_c_try_run
"$LINENO"; then :
9327 ac_cv_header_stdc
=no
9329 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9330 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9336 $as_echo "$ac_cv_header_stdc" >&6; }
9337 if test $ac_cv_header_stdc = yes; then
9339 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9344 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9345 if ${ac_cv_header_sys_wait_h+:} false
; then :
9346 $as_echo_n "(cached) " >&6
9348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9350 #include <sys/types.h>
9351 #include <sys/wait.h>
9353 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9356 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9364 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9369 if ac_fn_c_try_compile
"$LINENO"; then :
9370 ac_cv_header_sys_wait_h
=yes
9372 ac_cv_header_sys_wait_h
=no
9374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9377 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9378 if test $ac_cv_header_sys_wait_h = yes; then
9380 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9384 for ac_header
in fcntl.h limits.h malloc.h
strings.h syslog.h
9386 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9387 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9388 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9389 cat >>confdefs.h
<<_ACEOF
9390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9397 for ac_header
in stddef.h sched.h dlfcn.h dl.h
9399 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9400 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9401 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9402 cat >>confdefs.h
<<_ACEOF
9403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9410 for ac_header
in sys
/times.h sys
/resource.h sys
/prctl.h
9412 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9413 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9414 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9415 cat >>confdefs.h
<<_ACEOF
9416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9423 for ac_header
in sys
/sysinfo.h sys
/systeminfo.h
9425 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9426 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9427 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9428 cat >>confdefs.h
<<_ACEOF
9429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9436 for ac_header
in endian.h standards.h sys
/byteorder.h
9438 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9439 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9440 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9441 cat >>confdefs.h
<<_ACEOF
9442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9449 for ac_header
in libgen.h sys
/mman.h sys
/un.h
9451 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9452 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9453 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9454 cat >>confdefs.h
<<_ACEOF
9455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9462 for ac_header
in values.h stdint.h ieeefp.h math.h
9464 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9465 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9466 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9467 cat >>confdefs.h
<<_ACEOF
9468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9475 for ac_header
in pwd.h grp.h regex.h sys
/wait.h
9477 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9478 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9479 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9480 cat >>confdefs.h
<<_ACEOF
9481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9488 for ac_header
in termio.h termios.h sys
/termios.h
9490 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9491 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9492 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9493 cat >>confdefs.h
<<_ACEOF
9494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9501 for ac_header
in sys
/ioctl.h sys
/select.h sys
/socket.h
9503 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9504 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9505 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9506 cat >>confdefs.h
<<_ACEOF
9507 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9514 for ac_header
in netdb.h
9516 ac_fn_c_check_header_mongrel
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
9517 if test "x$ac_cv_header_netdb_h" = xyes
; then :
9518 cat >>confdefs.h
<<_ACEOF
9519 #define HAVE_NETDB_H 1
9526 if test $target_os = darwin
-o $target_os = openbsd
9528 for ac_header
in net
/if.h
9530 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
9531 #include <sys/socket.h>
9533 if test "x$ac_cv_header_net_if_h" = xyes
; then :
9534 cat >>confdefs.h
<<_ACEOF
9535 #define HAVE_NET_IF_H 1
9543 for ac_header
in net
/if.h
9545 ac_fn_c_check_header_mongrel
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
9546 if test "x$ac_cv_header_net_if_h" = xyes
; then :
9547 cat >>confdefs.h
<<_ACEOF
9548 #define HAVE_NET_IF_H 1
9556 for ac_header
in netinet
/in.h netinet
/tcp.h arpa
/inet.h
9558 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9559 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9560 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9561 cat >>confdefs.h
<<_ACEOF
9562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9569 for ac_header
in windows.h winsock2.h ws2tcpip.h
9571 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9572 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9573 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9574 cat >>confdefs.h
<<_ACEOF
9575 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9582 for ac_header
in execinfo.h bits
/wordsize.h
9584 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9585 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9586 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9587 cat >>confdefs.h
<<_ACEOF
9588 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9595 for ac_header
in iptypes.h
9597 ac_fn_c_check_header_compile
"$LINENO" "iptypes.h" "ac_cv_header_iptypes_h" "#include <windows.h>
9599 if test "x$ac_cv_header_iptypes_h" = xyes
; then :
9600 cat >>confdefs.h
<<_ACEOF
9601 #define HAVE_IPTYPES_H 1
9608 for ac_header
in iphlpapi.h
9610 ac_fn_c_check_header_compile
"$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h" "#include <winsock2.h>
9612 if test "x$ac_cv_header_iphlpapi_h" = xyes
; then :
9613 cat >>confdefs.h
<<_ACEOF
9614 #define HAVE_IPHLPAPI_H 1
9621 for ac_header
in fts.h libzfs.h
9623 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9624 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9625 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9626 cat >>confdefs.h
<<_ACEOF
9627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9634 for ac_header
in sys
/statvfs.h sys
/statfs.h sys
/mount.h
9636 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9637 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9638 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9639 cat >>confdefs.h
<<_ACEOF
9640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h " >&5
9649 $as_echo_n "checking for sys/endian.h ... " >&6; }
9650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9653 #include <sys/endian.h>
9664 if ac_fn_c_try_compile
"$LINENO"; then :
9666 $as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9668 $as_echo "yes" >&6; }
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9671 $as_echo "no" >&6; }
9673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for machine/endian.h " >&5
9676 $as_echo_n "checking for machine/endian.h ... " >&6; }
9677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9680 #include <machine/endian.h>
9691 if ac_fn_c_try_compile
"$LINENO"; then :
9693 $as_echo "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9695 $as_echo "yes" >&6; }
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 $as_echo "no" >&6; }
9700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h (IRIX variant) " >&5
9703 $as_echo_n "checking for sys/endian.h (IRIX variant) ... " >&6; }
9704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9707 #include <standards.h>
9708 #include <sys/endian.h>
9719 if ac_fn_c_try_compile
"$LINENO"; then :
9721 $as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9723 $as_echo "yes" >&6; }
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9726 $as_echo "no" >&6; }
9728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9731 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9732 if ${ac_cv_c_const+:} false
; then :
9733 $as_echo_n "(cached) " >&6
9735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9743 /* Ultrix mips cc rejects this sort of thing. */
9744 typedef int charset[2];
9745 const charset cs = { 0, 0 };
9746 /* SunOS 4.1.1 cc rejects this. */
9747 char const *const *pcpcc;
9749 /* NEC SVR4.0.2 mips cc rejects this. */
9750 struct point {int x, y;};
9751 static struct point const zero = {0,0};
9752 /* AIX XL C 1.02.0.0 rejects this.
9753 It does not let you subtract one const X* pointer from another in
9754 an arm of an if-expression whose if-part is not a constant
9756 const char *g = "string";
9757 pcpcc = &g + (g ? g-g : 0);
9758 /* HPUX 7.0 cc rejects these. */
9760 ppc = (char**) pcpcc;
9761 pcpcc = (char const *const *) ppc;
9762 { /* SCO 3.2v4 cc rejects this sort of thing. */
9765 char const *s = 0 ? (char *) 0 : (char const *) 0;
9770 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9772 const int *foo = &x[0];
9775 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9776 typedef const int *iptr;
9780 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
9781 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9782 struct s { int j; const int *ap[3]; } bx;
9783 struct s *b = &bx; b->j = 5;
9785 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9789 return !cs[0] && !zero.x;
9796 if ac_fn_c_try_compile
"$LINENO"; then :
9801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9804 $as_echo "$ac_cv_c_const" >&6; }
9805 if test $ac_cv_c_const = no
; then
9807 $as_echo "#define const /**/" >>confdefs.h
9811 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9812 if test "x$ac_cv_type_off_t" = xyes
; then :
9816 cat >>confdefs.h
<<_ACEOF
9817 #define off_t long int
9822 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
9823 if test "x$ac_cv_type_pid_t" = xyes
; then :
9827 cat >>confdefs.h
<<_ACEOF
9833 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9834 if test "x$ac_cv_type_size_t" = xyes
; then :
9838 cat >>confdefs.h
<<_ACEOF
9839 #define size_t unsigned int
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9845 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9846 if ${ac_cv_header_time+:} false
; then :
9847 $as_echo_n "(cached) " >&6
9849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9851 #include <sys/types.h>
9852 #include <sys/time.h>
9858 if ((struct tm *) 0)
9864 if ac_fn_c_try_compile
"$LINENO"; then :
9865 ac_cv_header_time
=yes
9867 ac_cv_header_time
=no
9869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9872 $as_echo "$ac_cv_header_time" >&6; }
9873 if test $ac_cv_header_time = yes; then
9875 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9880 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9881 if ${ac_cv_struct_tm+:} false
; then :
9882 $as_echo_n "(cached) " >&6
9884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9886 #include <sys/types.h>
9893 int *p = &tm.tm_sec;
9899 if ac_fn_c_try_compile
"$LINENO"; then :
9900 ac_cv_struct_tm
=time.h
9902 ac_cv_struct_tm
=sys
/time.h
9904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9907 $as_echo "$ac_cv_struct_tm" >&6; }
9908 if test $ac_cv_struct_tm = sys
/time.h
; then
9910 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9915 $as_echo_n "checking for inline... " >&6; }
9916 if ${ac_cv_c_inline+:} false
; then :
9917 $as_echo_n "(cached) " >&6
9920 for ac_kw
in inline __inline__ __inline
; do
9921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9925 static $ac_kw foo_t static_foo () {return 0; }
9926 $ac_kw foo_t foo () {return 0; }
9930 if ac_fn_c_try_compile
"$LINENO"; then :
9931 ac_cv_c_inline
=$ac_kw
9933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9934 test "$ac_cv_c_inline" != no
&& break
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9939 $as_echo "$ac_cv_c_inline" >&6; }
9941 case $ac_cv_c_inline in
9944 case $ac_cv_c_inline in
9946 *) ac_val
=$ac_cv_c_inline;;
9948 cat >>confdefs.h
<<_ACEOF
9950 #define inline $ac_val
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5
9958 $as_echo_n "checking for regcomp in -lregex... " >&6; }
9959 if ${ac_cv_lib_regex_regcomp+:} false
; then :
9960 $as_echo_n "(cached) " >&6
9962 ac_check_lib_save_LIBS
=$LIBS
9963 LIBS
="-lregex $LIBS"
9964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9967 /* Override any GCC internal prototype to avoid an error.
9968 Use char because int might match the return type of a GCC
9969 builtin and then its argument prototype would still apply. */
9982 if ac_fn_c_try_link
"$LINENO"; then :
9983 ac_cv_lib_regex_regcomp
=yes
9985 ac_cv_lib_regex_regcomp
=no
9987 rm -f core conftest.err conftest.
$ac_objext \
9988 conftest
$ac_exeext conftest.
$ac_ext
9989 LIBS
=$ac_check_lib_save_LIBS
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5
9992 $as_echo "$ac_cv_lib_regex_regcomp" >&6; }
9993 if test "x$ac_cv_lib_regex_regcomp" = xyes
; then :
9994 cat >>confdefs.h
<<_ACEOF
9995 #define HAVE_LIBREGEX 1
9998 LIBS
="-lregex $LIBS"
10003 if test $ac_cv_lib_regex_regcomp = yes
10005 lib_for_regex
="-lregex"
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
10012 $as_echo_n "checking for ncurses... " >&6; }
10014 if test -n "$ncurses_CFLAGS"; then
10015 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
10016 elif test -n "$PKG_CONFIG"; then
10017 if test -n "$PKG_CONFIG" && \
10018 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
10019 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
10021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10022 test $ac_status = 0; }; then
10023 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
10024 test "x$?" != "x0" && pkg_failed
=yes
10031 if test -n "$ncurses_LIBS"; then
10032 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
10033 elif test -n "$PKG_CONFIG"; then
10034 if test -n "$PKG_CONFIG" && \
10035 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
10036 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
10038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10039 test $ac_status = 0; }; then
10040 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
10041 test "x$?" != "x0" && pkg_failed
=yes
10051 if test $pkg_failed = yes; then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10053 $as_echo "no" >&6; }
10055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10056 _pkg_short_errors_supported
=yes
10058 _pkg_short_errors_supported
=no
10060 if test $_pkg_short_errors_supported = yes; then
10061 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
10063 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
10065 # Put the nasty error message in config.log where it belongs
10066 echo "$ncurses_PKG_ERRORS" >&5
10069 elif test $pkg_failed = untried
; then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10071 $as_echo "no" >&6; }
10074 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
10075 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10077 $as_echo "yes" >&6; }
10080 HAVE_NCURSES
=$have_ncurses
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
10086 $as_echo_n "checking for SYSTEMD... " >&6; }
10088 if test -n "$SYSTEMD_CFLAGS"; then
10089 pkg_cv_SYSTEMD_CFLAGS
="$SYSTEMD_CFLAGS"
10090 elif test -n "$PKG_CONFIG"; then
10091 if test -n "$PKG_CONFIG" && \
10092 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
10093 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
10095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10096 test $ac_status = 0; }; then
10097 pkg_cv_SYSTEMD_CFLAGS
=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
10098 test "x$?" != "x0" && pkg_failed
=yes
10105 if test -n "$SYSTEMD_LIBS"; then
10106 pkg_cv_SYSTEMD_LIBS
="$SYSTEMD_LIBS"
10107 elif test -n "$PKG_CONFIG"; then
10108 if test -n "$PKG_CONFIG" && \
10109 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
10110 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
10112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10113 test $ac_status = 0; }; then
10114 pkg_cv_SYSTEMD_LIBS
=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
10115 test "x$?" != "x0" && pkg_failed
=yes
10125 if test $pkg_failed = yes; then
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10127 $as_echo "no" >&6; }
10129 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10130 _pkg_short_errors_supported
=yes
10132 _pkg_short_errors_supported
=no
10134 if test $_pkg_short_errors_supported = yes; then
10135 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
10137 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
10139 # Put the nasty error message in config.log where it belongs
10140 echo "$SYSTEMD_PKG_ERRORS" >&5
10143 elif test $pkg_failed = untried
; then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10145 $as_echo "no" >&6; }
10148 SYSTEMD_CFLAGS
=$pkg_cv_SYSTEMD_CFLAGS
10149 SYSTEMD_LIBS
=$pkg_cv_SYSTEMD_LIBS
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10151 $as_echo "yes" >&6; }
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
10161 $as_echo_n "checking for SYSTEMD... " >&6; }
10163 if test -n "$SYSTEMD_CFLAGS"; then
10164 pkg_cv_SYSTEMD_CFLAGS
="$SYSTEMD_CFLAGS"
10165 elif test -n "$PKG_CONFIG"; then
10166 if test -n "$PKG_CONFIG" && \
10167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
10168 ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
10170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10171 test $ac_status = 0; }; then
10172 pkg_cv_SYSTEMD_CFLAGS
=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
10173 test "x$?" != "x0" && pkg_failed
=yes
10180 if test -n "$SYSTEMD_LIBS"; then
10181 pkg_cv_SYSTEMD_LIBS
="$SYSTEMD_LIBS"
10182 elif test -n "$PKG_CONFIG"; then
10183 if test -n "$PKG_CONFIG" && \
10184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
10185 ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
10187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10188 test $ac_status = 0; }; then
10189 pkg_cv_SYSTEMD_LIBS
=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
10190 test "x$?" != "x0" && pkg_failed
=yes
10200 if test $pkg_failed = yes; then
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10202 $as_echo "no" >&6; }
10204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10205 _pkg_short_errors_supported
=yes
10207 _pkg_short_errors_supported
=no
10209 if test $_pkg_short_errors_supported = yes; then
10210 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
10212 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
10214 # Put the nasty error message in config.log where it belongs
10215 echo "$SYSTEMD_PKG_ERRORS" >&5
10218 elif test $pkg_failed = untried
; then
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10220 $as_echo "no" >&6; }
10223 SYSTEMD_CFLAGS
=$pkg_cv_SYSTEMD_CFLAGS
10224 SYSTEMD_LIBS
=$pkg_cv_SYSTEMD_LIBS
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10226 $as_echo "yes" >&6; }
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the systemd PMDA should be included" >&5
10231 $as_echo_n "checking if the systemd PMDA should be included... " >&6; }
10232 PMDA_SYSTEMD
=$pmda_systemd
10234 if $pmda_systemd; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10235 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10236 $as_echo "no" >&6; }; fi
10238 pmda_infiniband
=false
10239 if test "x$do_infiniband" != "xno"; then :
10241 for ac_header
in infiniband
/umad.h
10243 ac_fn_c_check_header_mongrel
"$LINENO" "infiniband/umad.h" "ac_cv_header_infiniband_umad_h" "$ac_includes_default"
10244 if test "x$ac_cv_header_infiniband_umad_h" = xyes
; then :
10245 cat >>confdefs.h
<<_ACEOF
10246 #define HAVE_INFINIBAND_UMAD_H 1
10249 for ac_header
in infiniband
/mad.h
10251 ac_fn_c_check_header_mongrel
"$LINENO" "infiniband/mad.h" "ac_cv_header_infiniband_mad_h" "$ac_includes_default"
10252 if test "x$ac_cv_header_infiniband_mad_h" = xyes
; then :
10253 cat >>confdefs.h
<<_ACEOF
10254 #define HAVE_INFINIBAND_MAD_H 1
10256 pmda_infiniband
=true
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for madrpc_init in -libmad" >&5
10269 $as_echo_n "checking for madrpc_init in -libmad... " >&6; }
10270 if ${ac_cv_lib_ibmad_madrpc_init+:} false
; then :
10271 $as_echo_n "(cached) " >&6
10273 ac_check_lib_save_LIBS
=$LIBS
10274 LIBS
="-libmad $LIBS"
10275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10284 char madrpc_init ();
10288 return madrpc_init ();
10293 if ac_fn_c_try_link
"$LINENO"; then :
10294 ac_cv_lib_ibmad_madrpc_init
=yes
10296 ac_cv_lib_ibmad_madrpc_init
=no
10298 rm -f core conftest.err conftest.
$ac_objext \
10299 conftest
$ac_exeext conftest.
$ac_ext
10300 LIBS
=$ac_check_lib_save_LIBS
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_madrpc_init" >&5
10303 $as_echo "$ac_cv_lib_ibmad_madrpc_init" >&6; }
10304 if test "x$ac_cv_lib_ibmad_madrpc_init" = xyes
; then :
10305 cat >>confdefs.h
<<_ACEOF
10306 #define HAVE_LIBIBMAD 1
10309 LIBS
="-libmad $LIBS"
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umad_init in -libumad" >&5
10314 $as_echo_n "checking for umad_init in -libumad... " >&6; }
10315 if ${ac_cv_lib_ibumad_umad_init+:} false
; then :
10316 $as_echo_n "(cached) " >&6
10318 ac_check_lib_save_LIBS
=$LIBS
10319 LIBS
="-libumad $LIBS"
10320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10321 /* end confdefs.h. */
10323 /* Override any GCC internal prototype to avoid an error.
10324 Use char because int might match the return type of a GCC
10325 builtin and then its argument prototype would still apply. */
10333 return umad_init ();
10338 if ac_fn_c_try_link
"$LINENO"; then :
10339 ac_cv_lib_ibumad_umad_init
=yes
10341 ac_cv_lib_ibumad_umad_init
=no
10343 rm -f core conftest.err conftest.
$ac_objext \
10344 conftest
$ac_exeext conftest.
$ac_ext
10345 LIBS
=$ac_check_lib_save_LIBS
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibumad_umad_init" >&5
10348 $as_echo "$ac_cv_lib_ibumad_umad_init" >&6; }
10349 if test "x$ac_cv_lib_ibumad_umad_init" = xyes
; then :
10350 cat >>confdefs.h
<<_ACEOF
10351 #define HAVE_LIBIBUMAD 1
10354 LIBS
="-libumad $LIBS"
10358 if test $ac_cv_lib_ibmad_madrpc_init = yes -a $ac_cv_lib_ibumad_umad_init = yes
10360 IB_LIBS
="-libmad -libumad"
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for port_performance_query_via" >&5
10363 $as_echo_n "checking for port_performance_query_via... " >&6; }
10364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10373 char port_performance_query_via ();
10377 return port_performance_query_via ();
10382 if ac_fn_c_try_link
"$LINENO"; then :
10384 $as_echo "#define HAVE_PORT_PERFORMANCE_QUERY_VIA 1" >>confdefs.h
10386 have_port_performance_query_via
=true
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10388 $as_echo "yes" >&6; }
10390 have_port_performance_query_via
=false
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10392 $as_echo "no" >&6; }
10394 rm -f core conftest.err conftest.
$ac_objext \
10395 conftest
$ac_exeext conftest.
$ac_ext
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pma_query_via" >&5
10397 $as_echo_n "checking for pma_query_via... " >&6; }
10398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10399 /* end confdefs.h. */
10401 /* Override any GCC internal prototype to avoid an error.
10402 Use char because int might match the return type of a GCC
10403 builtin and then its argument prototype would still apply. */
10407 char pma_query_via ();
10411 return pma_query_via ();
10416 if ac_fn_c_try_link
"$LINENO"; then :
10418 $as_echo "#define HAVE_PMA_QUERY_VIA 1" >>confdefs.h
10420 have_pma_query_via
=true
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10422 $as_echo "yes" >&6; }
10424 have_pma_query_via
=false
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10426 $as_echo "no" >&6; }
10428 rm -f core conftest.err conftest.
$ac_objext \
10429 conftest
$ac_exeext conftest.
$ac_ext
10431 if test $have_pma_query_via -o $have_port_performance_query_via
10435 pmda_infiniband
=false
10438 pmda_infiniband
=false
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the infiniband PMDA should be included" >&5
10445 $as_echo_n "checking if the infiniband PMDA should be included... " >&6; }
10446 PMDA_INFINIBAND
=$pmda_infiniband
10448 if $pmda_infiniband; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10449 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10450 $as_echo "no" >&6; }; fi
10453 if test "x$do_papi" != "xno"; then :
10457 saved_LDFLAGS
="$LDFLAGS"
10458 saved_CFLAGS
="$CFLAGS"
10461 CFLAGS
="$papi_CFLAGS"
10462 LDFLAGS
="$papi_LIBS"
10468 PAPI_ROOTDIR
=$do_papi;
10469 CFLAGS
="-I$PAPI_ROOTDIR/include"
10470 LDFLAGS
="-L$PAPI_ROOTDIR/lib"
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for papi" >&5
10476 $as_echo_n "checking for papi... " >&6; }
10478 if test -n "$papi_CFLAGS"; then
10479 pkg_cv_papi_CFLAGS
="$papi_CFLAGS"
10480 elif test -n "$PKG_CONFIG"; then
10481 if test -n "$PKG_CONFIG" && \
10482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$do_papi\""; } >&5
10483 ($PKG_CONFIG --exists --print-errors "$do_papi") 2>&5
10485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10486 test $ac_status = 0; }; then
10487 pkg_cv_papi_CFLAGS
=`$PKG_CONFIG --cflags "$do_papi" 2>/dev/null`
10488 test "x$?" != "x0" && pkg_failed
=yes
10495 if test -n "$papi_LIBS"; then
10496 pkg_cv_papi_LIBS
="$papi_LIBS"
10497 elif test -n "$PKG_CONFIG"; then
10498 if test -n "$PKG_CONFIG" && \
10499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$do_papi\""; } >&5
10500 ($PKG_CONFIG --exists --print-errors "$do_papi") 2>&5
10502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10503 test $ac_status = 0; }; then
10504 pkg_cv_papi_LIBS
=`$PKG_CONFIG --libs "$do_papi" 2>/dev/null`
10505 test "x$?" != "x0" && pkg_failed
=yes
10515 if test $pkg_failed = yes; then
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 $as_echo "no" >&6; }
10519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10520 _pkg_short_errors_supported
=yes
10522 _pkg_short_errors_supported
=no
10524 if test $_pkg_short_errors_supported = yes; then
10525 papi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$do_papi" 2>&1`
10527 papi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$do_papi" 2>&1`
10529 # Put the nasty error message in config.log where it belongs
10530 echo "$papi_PKG_ERRORS" >&5
10532 as_fn_error $?
"Package requirements ($do_papi) were not met:
10536 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10537 installed software in a non-standard prefix.
10539 Alternatively, you may set the environment variables papi_CFLAGS
10540 and papi_LIBS to avoid the need to call pkg-config.
10541 See the pkg-config man page for more details." "$LINENO" 5
10542 elif test $pkg_failed = untried
; then
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10544 $as_echo "no" >&6; }
10545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10547 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
10548 is in your PATH or set the PKG_CONFIG environment variable to the full
10549 path to pkg-config.
10551 Alternatively, you may set the environment variables papi_CFLAGS
10552 and papi_LIBS to avoid the need to call pkg-config.
10553 See the pkg-config man page for more details.
10555 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10556 See \`config.log' for more details" "$LINENO" 5; }
10558 papi_CFLAGS
=$pkg_cv_papi_CFLAGS
10559 papi_LIBS
=$pkg_cv_papi_LIBS
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10561 $as_echo "yes" >&6; }
10563 CFLAGS
="$papi_CFLAGS"
10564 LDFLAGS
="$papi_LIBS"
10569 # $papi_LIBS may include -lpapi harmlessly redudantly with AC_CHECK_LIB
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PAPI_library_init in -lpapi" >&5
10571 $as_echo_n "checking for PAPI_library_init in -lpapi... " >&6; }
10572 if ${ac_cv_lib_papi_PAPI_library_init+:} false
; then :
10573 $as_echo_n "(cached) " >&6
10575 ac_check_lib_save_LIBS
=$LIBS
10576 LIBS
="-lpapi $LIBS"
10577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10586 char PAPI_library_init ();
10590 return PAPI_library_init ();
10595 if ac_fn_c_try_link
"$LINENO"; then :
10596 ac_cv_lib_papi_PAPI_library_init
=yes
10598 ac_cv_lib_papi_PAPI_library_init
=no
10600 rm -f core conftest.err conftest.
$ac_objext \
10601 conftest
$ac_exeext conftest.
$ac_ext
10602 LIBS
=$ac_check_lib_save_LIBS
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_papi_PAPI_library_init" >&5
10605 $as_echo "$ac_cv_lib_papi_PAPI_library_init" >&6; }
10606 if test "x$ac_cv_lib_papi_PAPI_library_init" = xyes
; then :
10607 papi_libs
="$LDFLAGS -lpapi"
10612 for ac_header
in papi.h
10614 ac_fn_c_check_header_mongrel
"$LINENO" "papi.h" "ac_cv_header_papi_h" "$ac_includes_default"
10615 if test "x$ac_cv_header_papi_h" = xyes
; then :
10616 cat >>confdefs.h
<<_ACEOF
10617 #define HAVE_PAPI_H 1
10619 papi_cflags
="$CFLAGS"
10626 if test "$do_papi" != "check" -a "$enable_papi" != "true"
10628 as_fn_error $?
"PAPI is not installed, cannot enable the PAPI PMDA" "$LINENO" 5
10630 pmda_papi
=$enable_papi
10633 CFLAGS
="$saved_CFLAGS"
10634 LDFLAGS
="$saved_LDFLAGS"
10635 PAPI_CFLAGS
=$papi_cflags
10637 PAPI_LIBS
=$papi_libs
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the papi PMDA should be included" >&5
10642 $as_echo_n "checking if the papi PMDA should be included... " >&6; }
10643 PMDA_PAPI
=$pmda_papi
10645 if $pmda_papi; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10646 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10647 $as_echo "no" >&6; }; fi
10649 if test "x$pmda_papi" = "xtrue"; then :
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct PAPI_component_info_t has a disabled field" >&5
10652 $as_echo_n "checking whether struct PAPI_component_info_t has a disabled field... " >&6; }
10653 cat <<End-of-File >conftest.c
10655 int main() { PAPI_component_info_t *c; c->disabled = 0; }
10657 (eval $ac_compile) 2>conftest.out
10658 cat conftest.out
>&5
10659 if test -s conftest.out
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10662 $as_echo "no" >&6; }
10665 $as_echo "#define HAVE_PAPI_DISABLED_COMP 1" >>confdefs.h
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10668 $as_echo "yes" >&6; }
10675 pmda_perfevent
=false
10676 if test "x$do_perfevent" != "xno" ; then :
10678 enable_perfevent
=true
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pfm_get_os_event_encoding in -lpfm" >&5
10682 $as_echo_n "checking for pfm_get_os_event_encoding in -lpfm... " >&6; }
10683 if ${ac_cv_lib_pfm_pfm_get_os_event_encoding+:} false
; then :
10684 $as_echo_n "(cached) " >&6
10686 ac_check_lib_save_LIBS
=$LIBS
10688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10691 /* Override any GCC internal prototype to avoid an error.
10692 Use char because int might match the return type of a GCC
10693 builtin and then its argument prototype would still apply. */
10697 char pfm_get_os_event_encoding ();
10701 return pfm_get_os_event_encoding ();
10706 if ac_fn_c_try_link
"$LINENO"; then :
10707 ac_cv_lib_pfm_pfm_get_os_event_encoding
=yes
10709 ac_cv_lib_pfm_pfm_get_os_event_encoding
=no
10711 rm -f core conftest.err conftest.
$ac_objext \
10712 conftest
$ac_exeext conftest.
$ac_ext
10713 LIBS
=$ac_check_lib_save_LIBS
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pfm_pfm_get_os_event_encoding" >&5
10716 $as_echo "$ac_cv_lib_pfm_pfm_get_os_event_encoding" >&6; }
10717 if test "x$ac_cv_lib_pfm_pfm_get_os_event_encoding" = xyes
; then :
10720 enable_perfevent
=false
10723 for ac_header
in perfmon
/pfmlib_perf_event.h
10725 ac_fn_c_check_header_mongrel
"$LINENO" "perfmon/pfmlib_perf_event.h" "ac_cv_header_perfmon_pfmlib_perf_event_h" "$ac_includes_default"
10726 if test "x$ac_cv_header_perfmon_pfmlib_perf_event_h" = xyes
; then :
10727 cat >>confdefs.h
<<_ACEOF
10728 #define HAVE_PERFMON_PFMLIB_PERF_EVENT_H 1
10732 enable_perfevent
=false
10737 if test "$do_perfevent" != "check" -a "$enable_perfevent" != "true"
10739 as_fn_error $?
"libpfm is not installed, cannot enable the perfevent PMDA" "$LINENO" 5
10741 pmda_perfevent
=$enable_perfevent
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the perfevent PMDA should be included" >&5
10749 $as_echo_n "checking if the perfevent PMDA should be included... " >&6; }
10750 PMDA_PERFEVENT
=$pmda_perfevent
10752 if $pmda_perfevent; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10753 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10754 $as_echo "no" >&6; }; fi
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmlib > 4.4.2" >&5
10759 $as_echo_n "checking for rpmlib > 4.4.2... " >&6; }
10760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10762 #include <rpm/header.h>
10766 (void)HEADERGET_EXT;
10771 if ac_fn_c_try_compile
"$LINENO"; then :
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10773 $as_echo "yes" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10777 $as_echo "no" >&6; }
10779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the rpm PMDA should be included" >&5
10781 $as_echo_n "checking if the rpm PMDA should be included... " >&6; }
10784 if $pmda_rpm; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10785 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10786 $as_echo "no" >&6; }; fi
10790 for ac_prog
in qshape
10792 # Extract the first word of "$ac_prog", so it can be a program name with args.
10793 set dummy
$ac_prog; ac_word
=$2
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10795 $as_echo_n "checking for $ac_word... " >&6; }
10796 if ${ac_cv_prog_QSHAPE+:} false
; then :
10797 $as_echo_n "(cached) " >&6
10799 if test -n "$QSHAPE"; then
10800 ac_cv_prog_QSHAPE
="$QSHAPE" # Let the user override the test.
10802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10803 as_dummy
="path=$PATH:/usr/sbin"
10804 for as_dir
in $as_dummy
10807 test -z "$as_dir" && as_dir
=.
10808 for ac_exec_ext
in '' $ac_executable_extensions; do
10809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10810 ac_cv_prog_QSHAPE
="$ac_prog"
10811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10820 QSHAPE
=$ac_cv_prog_QSHAPE
10821 if test -n "$QSHAPE"; then
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QSHAPE" >&5
10823 $as_echo "$QSHAPE" >&6; }
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10826 $as_echo "no" >&6; }
10830 test -n "$QSHAPE" && break
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postfix PMDA should be included" >&5
10834 $as_echo_n "checking if the postfix PMDA should be included... " >&6; }
10835 if test -n "$QSHAPE"
10839 for script in /usr
/share
/doc
/packages
/postfix-doc
/auxiliary
/qshape
/qshape.pl
10841 if test -f "$script"
10848 PMDA_POSTFIX
=$pmda_postfix
10850 if $pmda_postfix; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10851 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10852 $as_echo "no" >&6; }; fi
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmicrohttpd" >&5
10857 $as_echo_n "checking for libmicrohttpd... " >&6; }
10859 if test -n "$libmicrohttpd_CFLAGS"; then
10860 pkg_cv_libmicrohttpd_CFLAGS
="$libmicrohttpd_CFLAGS"
10861 elif test -n "$PKG_CONFIG"; then
10862 if test -n "$PKG_CONFIG" && \
10863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.9\""; } >&5
10864 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.9") 2>&5
10866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10867 test $ac_status = 0; }; then
10868 pkg_cv_libmicrohttpd_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd > 0.9.9" 2>/dev/null`
10869 test "x$?" != "x0" && pkg_failed
=yes
10876 if test -n "$libmicrohttpd_LIBS"; then
10877 pkg_cv_libmicrohttpd_LIBS
="$libmicrohttpd_LIBS"
10878 elif test -n "$PKG_CONFIG"; then
10879 if test -n "$PKG_CONFIG" && \
10880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.9\""; } >&5
10881 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.9") 2>&5
10883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10884 test $ac_status = 0; }; then
10885 pkg_cv_libmicrohttpd_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd > 0.9.9" 2>/dev/null`
10886 test "x$?" != "x0" && pkg_failed
=yes
10896 if test $pkg_failed = yes; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10898 $as_echo "no" >&6; }
10900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10901 _pkg_short_errors_supported
=yes
10903 _pkg_short_errors_supported
=no
10905 if test $_pkg_short_errors_supported = yes; then
10906 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd > 0.9.9" 2>&1`
10908 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd > 0.9.9" 2>&1`
10910 # Put the nasty error message in config.log where it belongs
10911 echo "$libmicrohttpd_PKG_ERRORS" >&5
10913 have_libmicrohttpd
=false
10914 elif test $pkg_failed = untried
; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10916 $as_echo "no" >&6; }
10917 have_libmicrohttpd
=false
10919 libmicrohttpd_CFLAGS
=$pkg_cv_libmicrohttpd_CFLAGS
10920 libmicrohttpd_LIBS
=$pkg_cv_libmicrohttpd_LIBS
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10922 $as_echo "yes" >&6; }
10923 have_libmicrohttpd
=true
10925 HAVE_LIBMICROHTTPD
=$have_libmicrohttpd
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo" >&5
10931 $as_echo_n "checking for cairo... " >&6; }
10933 if test -n "$cairo_CFLAGS"; then
10934 pkg_cv_cairo_CFLAGS
="$cairo_CFLAGS"
10935 elif test -n "$PKG_CONFIG"; then
10936 if test -n "$PKG_CONFIG" && \
10937 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2\""; } >&5
10938 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2") 2>&5
10940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10941 test $ac_status = 0; }; then
10942 pkg_cv_cairo_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>/dev/null`
10943 test "x$?" != "x0" && pkg_failed
=yes
10950 if test -n "$cairo_LIBS"; then
10951 pkg_cv_cairo_LIBS
="$cairo_LIBS"
10952 elif test -n "$PKG_CONFIG"; then
10953 if test -n "$PKG_CONFIG" && \
10954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2\""; } >&5
10955 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2") 2>&5
10957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10958 test $ac_status = 0; }; then
10959 pkg_cv_cairo_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>/dev/null`
10960 test "x$?" != "x0" && pkg_failed
=yes
10970 if test $pkg_failed = yes; then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972 $as_echo "no" >&6; }
10974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10975 _pkg_short_errors_supported
=yes
10977 _pkg_short_errors_supported
=no
10979 if test $_pkg_short_errors_supported = yes; then
10980 cairo_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>&1`
10982 cairo_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>&1`
10984 # Put the nasty error message in config.log where it belongs
10985 echo "$cairo_PKG_ERRORS" >&5
10988 elif test $pkg_failed = untried
; then
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10990 $as_echo "no" >&6; }
10993 cairo_CFLAGS
=$pkg_cv_cairo_CFLAGS
10994 cairo_LIBS
=$pkg_cv_cairo_LIBS
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10996 $as_echo "yes" >&6; }
10999 HAVE_CAIRO
=$have_cairo
11002 enable_webapi
=false
11003 if test "x$do_webapi" != "xno"; then :
11007 if test "$have_libmicrohttpd" != "true"
11009 enable_webapi
=false
11010 test "$do_webapi" != "check" && \
11011 as_fn_error $?
"libmicrohttpd is not installed, cannot enable the web API" "$LINENO" 5
11012 elif test "$do_webapi" != "check" -a "x$cxx" = "x"
11014 enable_webapi
=false
11015 test "$do_webapi" != "check" && \
11016 as_fn_error $?
"C++ compiler unavailable, cannot enable the web API" "$LINENO" 5
11022 enable_manager
=false
11023 if test "x$do_manager" != "xno"; then :
11025 enable_manager
=true
11027 if test "$target_os" = "mingw"
11029 enable_manager
=false
11030 test "$do_manager" != "check" && \
11031 as_fn_error $?
"MinGW build, cannot enable daemon manager" "$LINENO" 5
11032 elif test "x$cxx" = "x"
11034 enable_manager
=false
11035 test "$do_manager" != "check" && \
11036 as_fn_error $?
"C++ compiler unavailable, cannot enable daemon manager" "$LINENO" 5
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compilation features for daemon manager" >&5
11039 $as_echo_n "checking compilation features for daemon manager... " >&6; }
11040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11042 #ifndef _XOPEN_SOURCE
11043 #define _XOPEN_SOURCE 600
11055 if ac_fn_c_try_compile
"$LINENO"; then :
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11057 $as_echo "yes" >&6; }
11059 enable_manager
=false
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11061 $as_echo "no" >&6; }
11063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11069 $as_echo_n "checking return type of signal handlers... " >&6; }
11070 if ${ac_cv_type_signal+:} false
; then :
11071 $as_echo_n "(cached) " >&6
11073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11075 #include <sys/types.h>
11076 #include <signal.h>
11081 return *(signal (0, 0)) (0) == 1;
11086 if ac_fn_c_try_compile
"$LINENO"; then :
11087 ac_cv_type_signal
=int
11089 ac_cv_type_signal
=void
11091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11094 $as_echo "$ac_cv_type_signal" >&6; }
11096 cat >>confdefs.h
<<_ACEOF
11097 #define RETSIGTYPE $ac_cv_type_signal
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5
11102 $as_echo_n "checking for wait3 that fills in rusage... " >&6; }
11103 if ${ac_cv_func_wait3_rusage+:} false
; then :
11104 $as_echo_n "(cached) " >&6
11106 if test "$cross_compiling" = yes; then :
11107 ac_cv_func_wait3_rusage
=no
11109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11111 $ac_includes_default
11112 #include <sys/time.h>
11113 #include <sys/resource.h>
11114 #include <sys/wait.h>
11115 /* HP-UX has wait3 but does not fill in rusage at all. */
11121 /* Use a field that we can force nonzero --
11122 voluntary context switches.
11123 For systems like NeXT and OSF/1 that don't set it,
11124 also use the system CPU time. And page faults (I/O) for Linux. */
11126 r.ru_stime.tv_sec = 0;
11127 r.ru_stime.tv_usec = 0;
11128 r.ru_majflt = r.ru_minflt = 0;
11131 case 0: /* Child. */
11132 sleep(1); /* Give up the CPU. */
11135 case -1: /* What can we do? */
11138 default: /* Parent. */
11140 /* Avoid "text file busy" from rm on fast HP-UX machines. */
11142 return (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
11143 && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
11147 if ac_fn_c_try_run
"$LINENO"; then :
11148 ac_cv_func_wait3_rusage
=yes
11150 ac_cv_func_wait3_rusage
=no
11152 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11153 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5
11158 $as_echo "$ac_cv_func_wait3_rusage" >&6; }
11159 if test $ac_cv_func_wait3_rusage = yes; then
11161 $as_echo "#define HAVE_WAIT3 1" >>confdefs.h
11165 for ac_func
in vprintf
11167 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
11168 if test "x$ac_cv_func_vprintf" = xyes
; then :
11169 cat >>confdefs.h
<<_ACEOF
11170 #define HAVE_VPRINTF 1
11173 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
11174 if test "x$ac_cv_func__doprnt" = xyes
; then :
11176 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
11184 for ac_func
in mktime nanosleep
usleep unsetenv
11186 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11187 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11188 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11189 cat >>confdefs.h
<<_ACEOF
11190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11196 for ac_func
in select socket gethostname getpeerucred getpeereid
11198 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11199 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11200 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11201 cat >>confdefs.h
<<_ACEOF
11202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11208 for ac_func
in uname syslog __clone pipe2 fcntl ioctl
11210 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11211 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11212 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11213 cat >>confdefs.h
<<_ACEOF
11214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11220 for ac_func
in prctl setlinebuf waitpid atexit
kill
11222 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11223 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11224 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11225 cat >>confdefs.h
<<_ACEOF
11226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11232 for ac_func
in chown fchmod getcwd scandir mkstemp
11234 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11235 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11236 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11237 cat >>confdefs.h
<<_ACEOF
11238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11244 for ac_func
in brk sbrk posix_memalign memalign valloc
11246 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11247 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11248 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11249 cat >>confdefs.h
<<_ACEOF
11250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11256 for ac_func
in signal sighold sigrelse tcgetattr
11258 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11259 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11260 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11261 cat >>confdefs.h
<<_ACEOF
11262 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11268 for ac_func
in regex regcmp regexec regcomp
11270 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11271 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11272 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11273 cat >>confdefs.h
<<_ACEOF
11274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11280 for ac_func
in strtod strtol strtoll strtoull strndup strchrnul
11282 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11283 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11284 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11285 cat >>confdefs.h
<<_ACEOF
11286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11292 for ac_func
in getuid getgid
11294 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11295 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11296 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11297 cat >>confdefs.h
<<_ACEOF
11298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11304 for ac_func
in getgrent getgrent_r getgrnam getgrnam_r getgrgid getgrgid_r
11306 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11307 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11308 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11309 cat >>confdefs.h
<<_ACEOF
11310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11316 for ac_func
in getpwent getpwent_r getpwnam getpwnam_r getpwuid getpwuid_r
11318 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11319 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11320 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11321 cat >>confdefs.h
<<_ACEOF
11322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11328 for ac_func
in sysinfo trace_back_stack backtrace
11330 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11331 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11332 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11333 cat >>confdefs.h
<<_ACEOF
11334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11340 for ac_func
in sendmsg recvmsg setns
11342 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11343 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11344 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11345 cat >>confdefs.h
<<_ACEOF
11346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11353 if test $target_os != linux
-a $target_os != freebsd
-a $target_os != kfreebsd
-a $target_os != netbsd
; then
11354 for ac_func
in readdir64
11356 ac_fn_c_check_func
"$LINENO" "readdir64" "ac_cv_func_readdir64"
11357 if test "x$ac_cv_func_readdir64" = xyes
; then :
11358 cat >>confdefs.h
<<_ACEOF
11359 #define HAVE_READDIR64 1
11367 if test $target_os = solaris
11369 ac_fn_c_check_type
"$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default"
11370 if test "x$ac_cv_type___int32_t" = xyes
; then :
11374 cat >>confdefs.h
<<_ACEOF
11375 #define __int32_t int32_t
11380 ac_fn_c_check_type
"$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default"
11381 if test "x$ac_cv_type___uint32_t" = xyes
; then :
11385 cat >>confdefs.h
<<_ACEOF
11386 #define __uint32_t uint32_t
11391 ac_fn_c_check_type
"$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default"
11392 if test "x$ac_cv_type___int64_t" = xyes
; then :
11396 cat >>confdefs.h
<<_ACEOF
11397 #define __int64_t int64_t
11402 ac_fn_c_check_type
"$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default"
11403 if test "x$ac_cv_type___uint64_t" = xyes
; then :
11407 cat >>confdefs.h
<<_ACEOF
11408 #define __uint64_t uint64_t
11413 ac_fn_c_check_type
"$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
11414 if test "x$ac_cv_type_uint_t" = xyes
; then :
11418 cat >>confdefs.h
<<_ACEOF
11419 #define uint_t u_int32_t
11425 ac_fn_c_check_type
"$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default"
11426 if test "x$ac_cv_type___int32_t" = xyes
; then :
11430 cat >>confdefs.h
<<_ACEOF
11431 #define __int32_t int
11436 ac_fn_c_check_type
"$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default"
11437 if test "x$ac_cv_type___uint32_t" = xyes
; then :
11441 cat >>confdefs.h
<<_ACEOF
11442 #define __uint32_t unsigned int
11447 ac_fn_c_check_type
"$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default"
11448 if test "x$ac_cv_type___int64_t" = xyes
; then :
11452 cat >>confdefs.h
<<_ACEOF
11453 #define __int64_t long long
11458 ac_fn_c_check_type
"$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default"
11459 if test "x$ac_cv_type___uint64_t" = xyes
; then :
11463 cat >>confdefs.h
<<_ACEOF
11464 #define __uint64_t unsigned long long
11469 ac_fn_c_check_type
"$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
11470 if test "x$ac_cv_type_uint_t" = xyes
; then :
11474 cat >>confdefs.h
<<_ACEOF
11475 #define uint_t unsigned int
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __psint_t " >&5
11483 $as_echo_n "checking for __psint_t ... " >&6; }
11484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 #include <sys/types.h>
11488 #include <stdlib.h>
11489 #include <stddef.h>
11499 if ac_fn_c_try_compile
"$LINENO"; then :
11501 $as_echo "#define HAVE___PSINT_T 1" >>confdefs.h
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11503 $as_echo "yes" >&6; }
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11506 $as_echo "no" >&6; }
11508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t " >&5
11511 $as_echo_n "checking for ptrdiff_t ... " >&6; }
11512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11515 #include <stddef.h>
11516 #ifdef HAVE_MALLOC_H
11517 #include <malloc.h>
11528 if ac_fn_c_try_compile
"$LINENO"; then :
11530 $as_echo "#define HAVE_PTRDIFF_T 1" >>confdefs.h
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11532 $as_echo "yes" >&6; }
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11535 $as_echo "no" >&6; }
11537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t " >&5
11540 $as_echo_n "checking for uid_t ... " >&6; }
11541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11544 #include <sys/types.h>
11557 if ac_fn_c_try_compile
"$LINENO"; then :
11559 $as_echo "#define HAVE_UID_T 1" >>confdefs.h
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11561 $as_echo "yes" >&6; }
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11564 $as_echo "no" >&6; }
11566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gid_t " >&5
11568 $as_echo_n "checking for gid_t ... " >&6; }
11569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 #include <sys/types.h>
11585 if ac_fn_c_try_compile
"$LINENO"; then :
11587 $as_echo "#define HAVE_GID_T 1" >>confdefs.h
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11589 $as_echo "yes" >&6; }
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11592 $as_echo "no" >&6; }
11594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SID " >&5
11596 $as_echo_n "checking for SID ... " >&6; }
11597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 #ifdef HAVE_WINDOWS_H
11601 #include <windows.h>
11612 if ac_fn_c_try_compile
"$LINENO"; then :
11614 $as_echo "#define HAVE_SID 1" >>confdefs.h
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11616 $as_echo "yes" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619 $as_echo "no" >&6; }
11621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t " >&5
11624 $as_echo_n "checking for socklen_t ... " >&6; }
11625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 #include <sys/types.h>
11629 #ifdef HAVE_SYS_SOCKET_H
11630 #include <sys/socket.h>
11641 if ac_fn_c_try_compile
"$LINENO"; then :
11643 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11645 $as_echo "yes" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11648 $as_echo "no" >&6; }
11650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11665 if ac_fn_c_try_compile
"$LINENO"; then :
11667 $as_echo "#define HAVE_CONST_LONGLONG 1" >>confdefs.h
11670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11675 #include <stdlib.h>
11676 #include <unistd.h>
11681 char **x = _environ;
11686 if ac_fn_c_try_link
"$LINENO"; then :
11688 $as_echo "#define HAVE_UNDERBAR_ENVIRON 1" >>confdefs.h
11691 rm -f core conftest.err conftest.
$ac_objext \
11692 conftest
$ac_exeext conftest.
$ac_ext
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_TERMCHILD constant in sys/prctl.h" >&5
11695 $as_echo_n "checking for PR_TERMCHILD constant in sys/prctl.h... " >&6; }
11696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 #ifdef HAVE_SYS_PRCTL_H
11700 #include <sys/prctl.h>
11706 int i = PR_TERMCHILD;
11711 if ac_fn_c_try_compile
"$LINENO"; then :
11713 $as_echo "#define HAVE_PR_TERMCHILD 1" >>confdefs.h
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11715 $as_echo "yes" >&6; }
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11718 $as_echo "no" >&6; }
11720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_SET_PDEATHSIG constant in sys/prctl.h" >&5
11723 $as_echo_n "checking for PR_SET_PDEATHSIG constant in sys/prctl.h... " >&6; }
11724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11727 #ifdef HAVE_SYS_PRCTL_H
11728 #include <sys/prctl.h>
11734 int i = PR_SET_PDEATHSIG;
11739 if ac_fn_c_try_compile
"$LINENO"; then :
11741 $as_echo "#define HAVE_PR_SET_PDEATHSIG 1" >>confdefs.h
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11743 $as_echo "yes" >&6; }
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
11751 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
11752 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
11753 $as_echo_n "(cached) " >&6
11755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11757 #include <sys/types.h>
11758 #include <termios.h>
11764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11765 $EGREP "yes" >/dev
/null
2>&1; then :
11766 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
11768 ac_cv_sys_tiocgwinsz_in_termios_h
=no
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
11774 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
11776 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
11778 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
11779 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
11780 $as_echo_n "(cached) " >&6
11782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11784 #include <sys/types.h>
11785 #include <sys/ioctl.h>
11791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11792 $EGREP "yes" >/dev
/null
2>&1; then :
11793 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
11795 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
11801 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
11803 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
11805 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -rdynamic" >&5
11812 $as_echo_n "checking if linker supports -rdynamic... " >&6; }
11813 save_CFLAGS
="$CFLAGS"
11815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11826 if ac_fn_c_try_link
"$LINENO"; then :
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11828 $as_echo "yes" >&6; }
11829 rdynamic_flag
=-rdynamic
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11836 rm -f core conftest.err conftest.
$ac_objext \
11837 conftest
$ac_exeext conftest.
$ac_ext
11838 CFLAGS
="$save_CFLAGS"
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether const arg for scandir() select method" >&5
11843 $as_echo_n "checking whether const arg for scandir() select method... " >&6; }
11844 cat <<End-of-File >conftest.c
11845 #include <stdlib.h>
11846 #include <unistd.h>
11847 #include <dirent.h>
11849 my_select(const struct dirent *foo) { return 0; }
11850 int main() { struct dirent **list; return scandir(".", &list, my_select, NULL); }
11852 (eval $ac_compile) 2>conftest.out
11853 cat conftest.out
>&5
11854 if test -s conftest.out
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11860 $as_echo "#define HAVE_CONST_DIRENT 1" >>confdefs.h
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11863 $as_echo "yes" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dirent has a d_off field" >&5
11868 $as_echo_n "checking whether struct dirent has a d_off field... " >&6; }
11869 cat <<End-of-File >conftest.c
11870 #include <stdlib.h>
11871 #include <unistd.h>
11872 #include <dirent.h>
11873 int main() { struct dirent d; d.d_off = 0; }
11875 (eval $ac_compile) 2>conftest.out
11876 cat conftest.out
>&5
11877 if test -s conftest.out
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11880 $as_echo "no" >&6; }
11883 $as_echo "#define HAVE_DIRENT_D_OFF 1" >>confdefs.h
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11886 $as_echo "yes" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if printf %p produces 0x prefix" >&5
11891 $as_echo_n "checking if printf %p produces 0x prefix... " >&6; }
11892 if test "$cross_compiling" = "yes"; then
11893 ans
=$printf_p_prefix
11894 echo "cross-compile -> \"$ans\"" >&5
11896 cat <<End-of-File >conftest.c
11898 int main(int argc, char **argv) { printf("%p", argv); return(0); }
11900 (eval $ac_compile) 2>&5
11901 (eval $ac_link) 2>&5
11903 echo "./conftest -> \"$ans\"" >&5
11909 $as_echo "#define HAVE_PRINTF_P_PFX 1" >>confdefs.h
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11912 $as_echo "yes" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11919 rm -rf conftest conftest.
*
11923 # need to deal with this sort of cpp output ...
11924 # typedef long pid_t;
11925 # typedef unsigned int pid_t;
11926 # typedef unsigned int pid_t __attribute__ ((__mode__ (__SI__)));
11927 # __extension__ typedef int pid_t;
11933 # typedef ... *pid;
11934 # and chaining of the form
11935 # typedef long __pid_t;
11936 # typedef __pid_t pid_t;
11938 _raw
=`$CPP conftest.c \
11940 -e 's/[ ]__attribute__ ((.*));/;/' \
11941 -e 's/__extension__[ ][ ]*//' \
11943 /bozo/ { print; next }
11944 $1 == "typedef" { printf "%s",$0
11950 if ($0 ~ /{/) depth = 1
11953 wantsemi == 1 { printf " %s",$0
11954 if ($0 ~ /{/) depth++
11956 if ($0 ~ /}/) depth--
11957 if (depth > 0) next
11970 $1 == "typedef" { map[$NF] = ""
11971 for (i = 2; i < NF; i++) {
11975 map[$NF] = map[$NF] " " $i
11977 print $NF " -> " map[$NF] >"conftest.debug"
11980 $2 == "bozo" { t = $1
11981 printf "best guess: %s",t >"conftest.debug"
11982 while (map[t] != "") {
11984 printf " -> %s",t >"conftest.debug"
11986 print "" >"conftest.debug"
11995 unsigned|
'unsigned int')
12001 'long long'|
'long long int')
12002 if test $target_os = mingw
; then
12008 'unsigned long'|
'unsigned long int'|
'long unsigned int')
12011 'unsigned long long'|
'unsigned long long int')
12012 if test $target_os = mingw
; then
12018 *\
*) # pointer to a something
12021 struct\
*) # not much can be done here ...
12026 echo "FATAL ERROR: don't know what to do with type \"$_raw\""
12027 echo "... typedef mapping ..."
12029 rm -rf conftest conftest.
*
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pid_t" >&5
12036 $as_echo_n "checking printf type for pid_t... " >&6; }
12037 if test "$cross_compiling" = "yes"; then
12038 ans
=$printf_fmt_pid
12039 echo "cross-compile -> \"$ans\"" >&5
12042 cat <<End-of-File >conftest.c
12043 #include <sys/types.h>
12044 #include <unistd.h>
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pid" >&5
12051 $as_echo "$fmt_pid" >&6; }
12053 rm -rf conftest.c conftest.debug
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for int64_t " >&5
12056 $as_echo_n "checking printf type for int64_t ... " >&6; }
12057 if test "$cross_compiling" = "yes"; then
12058 ans
=$printf_fmt_int64
12059 echo "cross-compile -> \"$ans\"" >&5
12061 cat <<End-of-File >conftest.c
12063 #include <stdint.h>
12064 #include <inttypes.h>
12067 printf("\"%s\"\n", __PRI64_PREFIX "d");
12072 (eval $ac_link) 2>&5
12073 if test -x .
/conftest
12076 echo "./conftest -> \"$ans\"" >&5
12080 cat <<End-of-File >conftest.c
12082 #include <stdint.h>
12083 #include <string.h>
12087 int64_t bozo = 0x12345678abcdLL;
12088 sprintf(buf, "%lx", bozo);
12089 if (strcmp(buf, "12345678abcd") == 0)
12090 printf("\"ld\"\n");
12092 sprintf(buf, "%llx", bozo);
12093 if (strcmp(buf, "12345678abcd") == 0)
12094 printf("\"lld\"\n");
12099 (eval $ac_link) 2>&5
12100 if test -x .
/conftest
12103 echo "./conftest -> \"$ans\"" >&5
12109 echo 'FATAL ERROR: Cannot determine printf format for int64_t type'
12110 rm -rf conftest conftest.
*
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$fmt_int64\"" >&5
12115 $as_echo "\"$fmt_int64\"" >&6; }
12117 fmt_uint64
=`echo $fmt_int64 | sed -e 's/d"/u"/'`
12119 rm -rf conftest.
* conftest
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking strtol or strtoll for int64_t" >&5
12122 $as_echo_n "checking strtol or strtoll for int64_t... " >&6; }
12123 if test "$cross_compiling" = "yes"; then
12125 echo "cross-compile -> \"$ans\"" >&5
12127 cat <<End-of-File >conftest.c
12129 #include <stdlib.h>
12132 long long int value = -1;
12133 value = strtol("1234567812345678", NULL, 16);
12134 if (value == 0x1234567812345678LL) {
12135 printf("strotol\n");
12138 value = strtoll("1234567812345678", NULL, 16);
12139 if (value == 0x1234567812345678LL) {
12140 printf("strtoll\n");
12146 (eval $ac_compile) 2>&5
12147 (eval $ac_link) 2>&5
12149 echo "./conftest -> \"$ans\"" >&5
12154 $as_echo "#define strtoint64 strtol" >>confdefs.h
12156 $as_echo "#define strtouint64 strtoul" >>confdefs.h
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtol" >&5
12159 $as_echo "strtol" >&6; }
12162 $as_echo "#define strtoint64 strtoll" >>confdefs.h
12164 $as_echo "#define strtouint64 strtoull" >>confdefs.h
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtoll" >&5
12167 $as_echo "strtoll" >&6; }
12170 $as_echo "#define strtoint64 strtoll" >>confdefs.h
12172 $as_echo "#define strtouint64 strtoull" >>confdefs.h
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming strtoll" >&5
12175 $as_echo "assuming strtoll" >&6; }
12178 rm -rf conftest conftest.
*
12180 if test "$do_threads" = "check" -o "$do_threads" = "yes"
12182 for ac_header
in pthread.h
12184 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
12185 if test "x$ac_cv_header_pthread_h" = xyes
; then :
12186 cat >>confdefs.h
<<_ACEOF
12187 #define HAVE_PTHREAD_H 1
12192 if test "$do_threads" = "yes"
12194 as_fn_error $?
"cannot enable multi-threaded mode - no pthread.h" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_t in pthread.h" >&5
12203 $as_echo_n "checking for pthread_mutex_t in pthread.h... " >&6; }
12204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12206 #include <pthread.h>
12210 pthread_mutex_t mymutex;
12215 if ac_fn_c_try_compile
"$LINENO"; then :
12217 $as_echo "#define HAVE_PTHREAD_MUTEX_T 1" >>confdefs.h
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12219 $as_echo "yes" >&6; }
12222 if test "$do_threads" = "yes"
12224 as_fn_error $?
"cannot enable multi-threaded mode - no mutexes" "$LINENO" 5
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227 $as_echo "no" >&6; }
12231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where pthread_create() is defined" >&5
12234 $as_echo_n "checking where pthread_create() is defined... " >&6; }
12235 for cand
in "" pthreads pthread
; do
12239 LIBS
=`echo $LIBS -l$cand`
12241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 #include <pthread.h>
12250 pthread_create(NULL, NULL, NULL, NULL);
12256 if ac_fn_c_try_link
"$LINENO"; then :
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: lib${cand:-c}" >&5
12258 $as_echo "lib${cand:-c}" >&6; }
12261 lib_for_pthreads
="$cand"
12263 lib_for_pthreads
="-l$cand"
12268 rm -f core conftest.err conftest.
$ac_objext \
12269 conftest
$ac_exeext conftest.
$ac_ext
12274 if test "$ac_cv_header_pthread_h" = "yes"
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pthread_t" >&5
12277 $as_echo_n "checking printf type for pthread_t... " >&6; }
12278 cat <<End-of-File >conftest.c
12279 #include <pthread.h>
12283 fmt_pthread
="$_fmt"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pthread" >&5
12285 $as_echo "$fmt_pthread" >&6; }
12287 rm -rf conftest.c conftest.debug
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports __thread" >&5
12290 $as_echo_n "checking if compiler supports __thread... " >&6; }
12291 if test $target_os = netbsd
12293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12295 #include <pthread.h>
12296 #if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 5 )
12309 if ac_fn_c_try_compile
"$LINENO"; then :
12311 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12313 $as_echo "yes" >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12316 $as_echo "no" >&6; }
12318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12322 #include <pthread.h>
12332 if ac_fn_c_try_compile
"$LINENO"; then :
12334 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12336 $as_echo "yes" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_barrier_t in pthread.h" >&5
12345 $as_echo_n "checking for pthread_barrier_t in pthread.h... " >&6; }
12346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h. */
12348 #include <pthread.h>
12352 pthread_barrier_t mybarrier;
12357 if ac_fn_c_try_compile
"$LINENO"; then :
12359 $as_echo "#define HAVE_PTHREAD_BARRIER_T 1" >>confdefs.h
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12361 $as_echo "yes" >&6; }
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12364 $as_echo "no" >&6; }
12366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof suseconds_t" >&5
12371 $as_echo_n "checking sizeof suseconds_t... " >&6; }
12372 if test "$cross_compiling" = "yes"; then
12373 ans
=$sizeof_suseconds_t
12374 echo "cross-compile -> \"$ans\"" >&5
12376 cat <<End-of-File >conftest.c
12377 #include <sys/time.h>
12378 main() { printf("%d", (int)sizeof(suseconds_t)); }
12380 (eval $ac_compile) 2>&5
12381 (eval $ac_link) 2>&5
12383 echo "./conftest -> \"$ans\"" >&5
12384 rm -rf conftest conftest.
*
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12387 $as_echo "$ans" >&6; }
12389 cat >>confdefs.h
<<_ACEOF
12390 #define SIZEOF_SUSECONDS_T $ans
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof time_t" >&5
12395 $as_echo_n "checking sizeof time_t... " >&6; }
12396 if test "$cross_compiling" = "yes"; then
12398 echo "cross-compile -> \"$ans\"" >&5
12400 cat <<End-of-File >conftest.c
12401 #include <sys/time.h>
12402 main() { printf("%d", (int)sizeof(time_t)); }
12404 (eval $ac_compile) 2>&5
12405 (eval $ac_link) 2>&5
12407 echo "./conftest -> \"$ans\"" >&5
12408 rm -rf conftest conftest.
*
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12411 $as_echo "$ans" >&6; }
12413 cat >>confdefs.h
<<_ACEOF
12414 #define SIZEOF_TIME_T $ans
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof long" >&5
12419 $as_echo_n "checking sizeof long... " >&6; }
12420 if test "$cross_compiling" = "yes"; then
12422 echo "cross-compile -> \"$ans\"" >&5
12424 cat <<End-of-File >conftest.c
12426 main() { printf("%d", (int)sizeof(long)); }
12428 (eval $ac_compile) 2>&5
12429 (eval $ac_link) 2>&5
12431 echo "./conftest -> \"$ans\"" >&5
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12434 $as_echo "$ans" >&6; }
12435 if test "$ans" = 4; then
12437 $as_echo "#define HAVE_32BIT_LONG 1" >>confdefs.h
12439 elif test "$ans" = 8; then
12441 $as_echo "#define HAVE_64BIT_LONG 1" >>confdefs.h
12445 echo "FATAL ERROR: size of long is not 32 or 64 bits, cannot proceed."
12446 echo "sizeof(char *) -> $ans"
12447 rm -rf conftest conftest.
*
12450 rm -rf conftest conftest.
*
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof pointer" >&5
12453 $as_echo_n "checking sizeof pointer... " >&6; }
12454 if test "$cross_compiling" = "yes"; then
12455 ans
=$sizeof_pointer
12456 echo "cross-compile -> \"$ans\"" >&5
12458 cat <<End-of-File >conftest.c
12460 main() { printf("%d", (int)sizeof(char *)); }
12462 (eval $ac_compile) 2>&5
12463 (eval $ac_link) 2>&5
12465 echo "./conftest -> \"$ans\"" >&5
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12468 $as_echo "$ans" >&6; }
12469 if test "$ans" = 4; then
12471 $as_echo "#define HAVE_32BIT_PTR 1" >>confdefs.h
12474 elif test "$ans" = 8; then
12476 $as_echo "#define HAVE_64BIT_PTR 1" >>confdefs.h
12481 echo "FATAL ERROR: size of pointer is not 32 or 64 bits, cannot proceed."
12482 echo "sizeof(char *) -> $ans"
12483 rm -rf conftest conftest.
*
12486 rm -rf conftest conftest.
*
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof int" >&5
12489 $as_echo_n "checking sizeof int... " >&6; }
12490 if test "$cross_compiling" = "yes"; then
12492 echo "cross-compile -> \"$ans\"" >&5
12494 cat <<End-of-File >conftest.c
12496 main() { printf("%d", (int)sizeof(int)); }
12498 (eval $ac_compile) 2>&5
12499 (eval $ac_link) 2>&5
12501 echo "./conftest -> \"$ans\"" >&5
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12504 $as_echo "$ans" >&6; }
12505 if test "$ans" != 4
12508 echo "FATAL ERROR: sizeof(int) is not 32 bits, cannot proceed."
12509 echo "Note: 32-bit ints are assumed in the PCP external file formats and"
12510 echo " the over-the-wire PDU formats"
12511 rm -rf conftest conftest.
*
12514 rm -rf conftest conftest.
*
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bit fields allocated left-to-right" >&5
12517 $as_echo_n "checking if bit fields allocated left-to-right... " >&6; }
12518 if test "$cross_compiling" = "yes"; then
12519 ans
=$bit_field_scheme
12520 echo "cross-compile -> \"$ans\"" >&5
12522 cat <<End-of-File >conftest.c
12523 union { struct { unsigned int b:4; unsigned int c:4; } a; int p; } u;
12524 main() { u.a.b = 1; u.a.c = 2; printf("%0*x", 2*sizeof(int), u.p); }
12526 (eval $ac_compile) 2>&5
12527 (eval $ac_link) 2>&5
12529 echo "./conftest -> \"$ans\"" >&5
12534 # left-to-right starting from MSB (SGI cc on MIPS), or
12535 # left-to-right ending at LSB
12537 $as_echo "#define HAVE_BITFIELDS_LTOR 1" >>confdefs.h
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12540 $as_echo "yes" >&6; }
12543 # right-to-left ending at MSB, or
12544 # right-to-left starting from LSB (gcc in Intel)
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12546 $as_echo "no" >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
12550 $as_echo "unknown" >&6; }
12551 echo "FATAL ERROR: could not fathom your compiler's bit field allocation scheme"
12552 rm -f conftest conftest.
*
12556 rm -rf conftest conftest.
*
12558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 #include <stdlib.h>
12562 #include <unistd.h>
12569 double y = (double)x;
12575 if ac_fn_c_try_link
"$LINENO"; then :
12577 $as_echo "#define HAVE_CAST_U64_DOUBLE 1" >>confdefs.h
12580 rm -f core conftest.err conftest.
$ac_objext \
12581 conftest
$ac_exeext conftest.
$ac_ext
12583 for ac_func
in basename
12585 ac_fn_c_check_func
"$LINENO" "basename" "ac_cv_func_basename"
12586 if test "x$ac_cv_func_basename" = xyes
; then :
12587 cat >>confdefs.h
<<_ACEOF
12588 #define HAVE_BASENAME 1
12594 if test $ac_cv_func_basename = yes
12597 $as_echo "#define HAVE_BASENAME 1" >>confdefs.h
12600 $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h
12602 lib_for_basename
=""
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basename in -lgen" >&5
12605 $as_echo_n "checking for basename in -lgen... " >&6; }
12606 if ${ac_cv_lib_gen_basename+:} false
; then :
12607 $as_echo_n "(cached) " >&6
12609 ac_check_lib_save_LIBS
=$LIBS
12611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12624 return basename ();
12629 if ac_fn_c_try_link
"$LINENO"; then :
12630 ac_cv_lib_gen_basename
=yes
12632 ac_cv_lib_gen_basename
=no
12634 rm -f core conftest.err conftest.
$ac_objext \
12635 conftest
$ac_exeext conftest.
$ac_ext
12636 LIBS
=$ac_check_lib_save_LIBS
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_basename" >&5
12639 $as_echo "$ac_cv_lib_gen_basename" >&6; }
12640 if test "x$ac_cv_lib_gen_basename" = xyes
; then :
12641 cat >>confdefs.h
<<_ACEOF
12642 #define HAVE_LIBGEN 1
12649 if test $ac_cv_lib_gen_basename = yes
12652 $as_echo "#define HAVE_BASENAME 1" >>confdefs.h
12655 $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h
12657 lib_for_basename
="-lgen"
12659 lib_for_basename
="-lpcp"
12664 lib_for_clock_gettime
=
12665 for ac_func
in clock_gettime
12667 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
12668 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
12669 cat >>confdefs.h
<<_ACEOF
12670 #define HAVE_CLOCK_GETTIME 1
12676 if test $ac_cv_func_clock_gettime = no
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12679 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12680 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
12681 $as_echo_n "(cached) " >&6
12683 ac_check_lib_save_LIBS
=$LIBS
12685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12694 char clock_gettime ();
12698 return clock_gettime ();
12703 if ac_fn_c_try_link
"$LINENO"; then :
12704 ac_cv_lib_rt_clock_gettime
=yes
12706 ac_cv_lib_rt_clock_gettime
=no
12708 rm -f core conftest.err conftest.
$ac_objext \
12709 conftest
$ac_exeext conftest.
$ac_ext
12710 LIBS
=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12713 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12714 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
12715 cat >>confdefs.h
<<_ACEOF
12716 #define HAVE_LIBRT 1
12723 if test $ac_cv_lib_rt_clock_gettime = yes
12726 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
12734 for ac_func
in dlopen
12736 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12737 if test "x$ac_cv_func_dlopen" = xyes
; then :
12738 cat >>confdefs.h
<<_ACEOF
12739 #define HAVE_DLOPEN 1
12745 if test $ac_cv_func_dlopen = no
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12748 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12749 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12750 $as_echo_n "(cached) " >&6
12752 ac_check_lib_save_LIBS
=$LIBS
12754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12772 if ac_fn_c_try_link
"$LINENO"; then :
12773 ac_cv_lib_dl_dlopen
=yes
12775 ac_cv_lib_dl_dlopen
=no
12777 rm -f core conftest.err conftest.
$ac_objext \
12778 conftest
$ac_exeext conftest.
$ac_ext
12779 LIBS
=$ac_check_lib_save_LIBS
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12782 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12783 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12784 cat >>confdefs.h
<<_ACEOF
12785 #define HAVE_LIBDL 1
12792 if test $ac_cv_lib_dl_dlopen = yes
12795 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12797 lib_for_dlopen
=-ldl
12803 for ac_func
in flog10
12805 ac_fn_c_check_func
"$LINENO" "flog10" "ac_cv_func_flog10"
12806 if test "x$ac_cv_func_flog10" = xyes
; then :
12807 cat >>confdefs.h
<<_ACEOF
12808 #define HAVE_FLOG10 1
12814 if test $ac_cv_func_flog10 = no
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flog10 in -lm" >&5
12817 $as_echo_n "checking for flog10 in -lm... " >&6; }
12818 if ${ac_cv_lib_m_flog10+:} false
; then :
12819 $as_echo_n "(cached) " >&6
12821 ac_check_lib_save_LIBS
=$LIBS
12823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12826 /* Override any GCC internal prototype to avoid an error.
12827 Use char because int might match the return type of a GCC
12828 builtin and then its argument prototype would still apply. */
12841 if ac_fn_c_try_link
"$LINENO"; then :
12842 ac_cv_lib_m_flog10
=yes
12844 ac_cv_lib_m_flog10
=no
12846 rm -f core conftest.err conftest.
$ac_objext \
12847 conftest
$ac_exeext conftest.
$ac_ext
12848 LIBS
=$ac_check_lib_save_LIBS
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_flog10" >&5
12851 $as_echo "$ac_cv_lib_m_flog10" >&6; }
12852 if test "x$ac_cv_lib_m_flog10" = xyes
; then :
12853 cat >>confdefs.h
<<_ACEOF
12854 #define HAVE_LIBM 1
12861 if test $ac_cv_lib_m_flog10 = yes
12864 $as_echo "#define HAVE_FLOG10 1" >>confdefs.h
12870 $as_echo "#define HAVE_FLOG10 1" >>confdefs.h
12875 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12876 if test "x$ac_cv_func_pow" = xyes
; then :
12877 cat >>confdefs.h
<<_ACEOF
12884 if test $ac_cv_func_pow = no
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12887 $as_echo_n "checking for pow in -lm... " >&6; }
12888 if ${ac_cv_lib_m_pow+:} false
; then :
12889 $as_echo_n "(cached) " >&6
12891 ac_check_lib_save_LIBS
=$LIBS
12893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12911 if ac_fn_c_try_link
"$LINENO"; then :
12912 ac_cv_lib_m_pow
=yes
12916 rm -f core conftest.err conftest.
$ac_objext \
12917 conftest
$ac_exeext conftest.
$ac_ext
12918 LIBS
=$ac_check_lib_save_LIBS
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12921 $as_echo "$ac_cv_lib_m_pow" >&6; }
12922 if test "x$ac_cv_lib_m_pow" = xyes
; then :
12923 cat >>confdefs.h
<<_ACEOF
12924 #define HAVE_LIBM 1
12931 if test $ac_cv_lib_m_pow = yes
12934 $as_echo "#define HAVE_POW 1" >>confdefs.h
12940 $as_echo "#define HAVE_POW 1" >>confdefs.h
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify()" >&5
12944 $as_echo_n "checking for fpclassify()... " >&6; }
12945 ac_cv_func_fpclassify
=no
12946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12955 double x = 123.456;
12956 if (fpclassify(x) == FP_NAN) exit(1);
12962 if ac_fn_c_try_link
"$LINENO"; then :
12963 ac_cv_func_fpclassify
=yes
12965 rm -f core conftest.err conftest.
$ac_objext \
12966 conftest
$ac_exeext conftest.
$ac_ext
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5
12968 $as_echo "$ac_cv_func_fpclassify" >&6; }
12969 if test $ac_cv_func_fpclassify = no
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify() with -lm" >&5
12972 $as_echo_n "checking for fpclassify() with -lm... " >&6; }
12975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12984 double x = 123.456;
12985 if (fpclassify(x) == FP_NAN) exit(1);
12991 if ac_fn_c_try_link
"$LINENO"; then :
12992 ac_cv_func_fpclassify
=yes
12994 rm -f core conftest.err conftest.
$ac_objext \
12995 conftest
$ac_exeext conftest.
$ac_ext
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5
12997 $as_echo "$ac_cv_func_fpclassify" >&6; }
12998 if test $ac_cv_func_fpclassify = yes
13004 if test $ac_cv_func_fpclassify = yes
13007 $as_echo "#define HAVE_FPCLASSIFY 1" >>confdefs.h
13010 for ac_func
in isnan
13012 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
13013 if test "x$ac_cv_func_isnan" = xyes
; then :
13014 cat >>confdefs.h
<<_ACEOF
13015 #define HAVE_ISNAN 1
13021 if test $ac_cv_func_isnan = no
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
13024 $as_echo_n "checking for isnan in -lm... " >&6; }
13025 if ${ac_cv_lib_m_isnan+:} false
; then :
13026 $as_echo_n "(cached) " >&6
13028 ac_check_lib_save_LIBS
=$LIBS
13030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13048 if ac_fn_c_try_link
"$LINENO"; then :
13049 ac_cv_lib_m_isnan
=yes
13051 ac_cv_lib_m_isnan
=no
13053 rm -f core conftest.err conftest.
$ac_objext \
13054 conftest
$ac_exeext conftest.
$ac_ext
13055 LIBS
=$ac_check_lib_save_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
13058 $as_echo "$ac_cv_lib_m_isnan" >&6; }
13059 if test "x$ac_cv_lib_m_isnan" = xyes
; then :
13060 cat >>confdefs.h
<<_ACEOF
13061 #define HAVE_LIBM 1
13068 if test $ac_cv_lib_m_isnan = yes
13071 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
13076 for ac_func
in isnanf
13078 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
13079 if test "x$ac_cv_func_isnanf" = xyes
; then :
13080 cat >>confdefs.h
<<_ACEOF
13081 #define HAVE_ISNANF 1
13087 if test $ac_cv_func_isnanf = no
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf in -lm" >&5
13090 $as_echo_n "checking for isnanf in -lm... " >&6; }
13091 if ${ac_cv_lib_m_isnanf+:} false
; then :
13092 $as_echo_n "(cached) " >&6
13094 ac_check_lib_save_LIBS
=$LIBS
13096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13097 /* end confdefs.h. */
13099 /* Override any GCC internal prototype to avoid an error.
13100 Use char because int might match the return type of a GCC
13101 builtin and then its argument prototype would still apply. */
13114 if ac_fn_c_try_link
"$LINENO"; then :
13115 ac_cv_lib_m_isnanf
=yes
13117 ac_cv_lib_m_isnanf
=no
13119 rm -f core conftest.err conftest.
$ac_objext \
13120 conftest
$ac_exeext conftest.
$ac_ext
13121 LIBS
=$ac_check_lib_save_LIBS
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnanf" >&5
13124 $as_echo "$ac_cv_lib_m_isnanf" >&6; }
13125 if test "x$ac_cv_lib_m_isnanf" = xyes
; then :
13126 cat >>confdefs.h
<<_ACEOF
13127 #define HAVE_LIBM 1
13134 if test $ac_cv_lib_m_isnanf = yes
13137 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
13145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13147 #include <signal.h>
13156 if ac_fn_c_try_link
"$LINENO"; then :
13158 $as_echo "#define HAVE_SIGPF 1" >>confdefs.h
13161 rm -f core conftest.err conftest.
$ac_objext \
13162 conftest
$ac_exeext conftest.
$ac_ext
13164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13166 #include <signal.h>
13170 int x = SA_SIGINFO;
13175 if ac_fn_c_try_link
"$LINENO"; then :
13177 $as_echo "#define HAVE_SA_SIGINFO 1" >>confdefs.h
13180 rm -f core conftest.err conftest.
$ac_objext \
13181 conftest
$ac_exeext conftest.
$ac_ext
13183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13185 #include <signal.h>
13194 if ac_fn_c_try_link
"$LINENO"; then :
13196 $as_echo "#define HAVE_SIGPIPE 1" >>confdefs.h
13199 rm -f core conftest.err conftest.
$ac_objext \
13200 conftest
$ac_exeext conftest.
$ac_ext
13202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13203 /* end confdefs.h. */
13204 #include <signal.h>
13213 if ac_fn_c_try_link
"$LINENO"; then :
13215 $as_echo "#define HAVE_SIGHUP 1" >>confdefs.h
13218 rm -f core conftest.err conftest.
$ac_objext \
13219 conftest
$ac_exeext conftest.
$ac_ext
13221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13222 /* end confdefs.h. */
13223 #include <signal.h>
13232 if ac_fn_c_try_link
"$LINENO"; then :
13234 $as_echo "#define HAVE_SIGBUS 1" >>confdefs.h
13237 rm -f core conftest.err conftest.
$ac_objext \
13238 conftest
$ac_exeext conftest.
$ac_ext
13240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13242 #include <sys/wait.h>
13246 typedef void (*SIGRET)(int);
13247 SIGRET x = SIG_IGN;
13253 if ac_fn_c_try_link
"$LINENO"; then :
13255 $as_echo "#define HAVE_WAIT_INCLUDES_SIGNAL 1" >>confdefs.h
13258 rm -f core conftest.err conftest.
$ac_objext \
13259 conftest
$ac_exeext conftest.
$ac_ext
13261 have_stat_type
=false
13262 have_stat_name
=false
13263 if test $have_stat_name = false
13265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13267 #include <sys/stat.h>
13270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13271 $EGREP "[ ]st_mtimespec" >/dev
/null
2>&1; then :
13272 have_stat_name
=true
;
13274 $as_echo "#define HAVE_ST_MTIME_WITH_SPEC 1" >>confdefs.h
13280 if test $have_stat_name = false
-a $target_os != darwin
-a $target_os != linux
-a $target_os != kfreebsd
-a $target_os != netbsd
13282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13284 #include <sys/stat.h>
13287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13288 $EGREP "[ ]st_mtime" >/dev
/null
2>&1; then :
13289 have_stat_name
=true
;
13291 $as_echo "#define HAVE_ST_MTIME_WITH_E 1" >>confdefs.h
13297 if test $have_stat_type = false
13299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13301 #include <sys/stat.h>
13304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13305 $EGREP "timestruc_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13306 have_stat_type
=true
;
13308 $as_echo "#define HAVE_STAT_TIMESTRUC 1" >>confdefs.h
13314 if test $have_stat_type = false
13316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13318 #include <sys/stat.h>
13321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13322 $EGREP "timespec_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13323 have_stat_type
=true
;
13325 $as_echo "#define HAVE_STAT_TIMESPEC_T 1" >>confdefs.h
13331 if test $have_stat_type = false
13333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13335 #include <sys/stat.h>
13338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13339 $EGREP "timespec[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13340 have_stat_type
=true
;
13342 $as_echo "#define HAVE_STAT_TIMESPEC 1" >>confdefs.h
13348 if test $have_stat_type = false
13350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13352 #include <sys/stat.h>
13355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13356 $EGREP "time_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13357 have_stat_type
=true
;
13359 $as_echo "#define HAVE_STAT_TIME_T 1" >>confdefs.h
13365 if test $have_stat_type = false
13367 echo 'FATAL ERROR: Cannot determine struct stat time types.'
13368 rm -rf conftest conftest.
*
13373 pcp_etc_dir
=`eval echo $sysconfdir`
13374 pcp_etc_dir
=`eval echo $pcp_etc_dir`
13376 pcp_saslconf_dir
=`eval echo $sysconfdir/sasl2`
13377 pcp_saslconf_dir
=`eval echo $pcp_saslconf_dir`
13379 pcp_sysconf_dir
=`eval echo $sysconfdir/pcp`
13380 pcp_sysconf_dir
=`eval echo $pcp_sysconf_dir`
13382 pcp_pmcdconf_path
=$pcp_sysconf_dir/pmcd
/pmcd.conf
13383 pcp_pmcdrclocal_path
=$pcp_sysconf_dir/pmcd
/rc.
local
13384 pcp_pmcdoptions_path
=$pcp_sysconf_dir/pmcd
/pmcd.options
13385 pcp_pmwebdoptions_path
=$pcp_sysconf_dir/pmwebd
/pmwebd.options
13386 pcp_pmmgroptions_path
=$pcp_sysconf_dir/pmmgr
/pmmgr.options
13387 pcp_pmproxyoptions_path
=$pcp_sysconf_dir/pmproxy
/pmproxy.options
13388 pcp_pmiecontrol_path
=$pcp_sysconf_dir/pmie
/control
13389 pcp_pmsnapcontrol_path
=$pcp_sysconf_dir/pmsnap
/control
13390 pcp_pmloggercontrol_path
=$pcp_sysconf_dir/pmlogger
/control
13401 pcp_share_dir
=`eval echo $datarootdir/pcp`
13402 pcp_share_dir
=`eval echo $pcp_share_dir`
13405 pcp_binadm_dir
=`eval echo $libexecdir/pcp/bin`
13406 pcp_binadm_dir
=`eval echo $pcp_binadm_dir`
13409 pcp_var_dir
=`eval echo $localstatedir/lib/pcp`
13410 pcp_var_dir
=`eval echo $pcp_var_dir`
13414 # Check whether --with-configdir was given.
13415 if test "${with_configdir+set}" = set; then :
13416 withval
=$with_configdir; pcp_config_dir
=$withval
13418 pcp_config_dir
=$pcp_var_dir/config
13422 pcp_pmdas_dir
=$pcp_var_dir/pmdas
13425 pcp_lib_dir
=`eval echo $libdir`
13426 pcp_lib_dir
=`eval echo $pcp_lib_dir`
13427 pcp_lib32_dir
=`echo $pcp_lib_dir | sed -e s,64,, -e s,//,/,`
13432 # Check whether --with-perl_installdirs was given.
13433 if test "${with_perl_installdirs+set}" = set; then :
13434 withval
=$with_perl_installdirs; perl_installdirs
=$withval
13436 perl_installdirs
=vendor
13439 perl_installdirs
=`eval echo $perl_installdirs`
13440 perl_installdirs
=`eval echo $perl_installdirs`
13443 # Check whether --with-perl_install_base was given.
13444 if test "${with_perl_install_base+set}" = set; then :
13445 withval
=$with_perl_install_base; perl_install_base
=$withval
13447 perl_install_base
=$prefix
13450 perl_install_base
=`eval echo $perl_install_base`
13451 perl_install_base
=`eval echo $perl_install_base`
13455 # Check whether --with-python_prefix was given.
13456 if test "${with_python_prefix+set}" = set; then :
13457 withval
=$with_python_prefix; python_prefix
=$withval
13459 python_prefix
=$prefix
13462 python_prefix
=`eval echo $python_prefix`
13463 python_prefix
=`eval echo $python_prefix`
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13467 $as_echo_n "checking for X... " >&6; }
13470 # Check whether --with-x was given.
13471 if test "${with_x+set}" = set; then :
13475 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13476 if test "x$with_x" = xno
; then
13477 # The user explicitly disabled X.
13480 case $x_includes,$x_libraries in #(
13481 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13482 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13483 $as_echo_n "(cached) " >&6
13485 # One or both of the vars are not set, and there is no cached value.
13486 ac_x_includes
=no ac_x_libraries
=no
13487 rm -f -r conftest.dir
13488 if mkdir conftest.dir
; then
13490 cat >Imakefile
<<'_ACEOF'
13492 @echo incroot='${INCROOT}'
13494 @echo usrlibdir='${USRLIBDIR}'
13496 @echo libdir='${LIBDIR}'
13498 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13499 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13500 for ac_var
in incroot usrlibdir libdir
; do
13501 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13503 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13504 for ac_extension
in a so sl dylib la dll
; do
13505 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13506 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13507 ac_im_usrlibdir
=$ac_im_libdir; break
13510 # Screen out bogus values from the imake configuration. They are
13511 # bogus both because they are the default anyway, and because
13512 # using them would break gcc on systems where it needs fixed includes.
13513 case $ac_im_incroot in
13514 /usr
/include
) ac_x_includes
= ;;
13515 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13517 case $ac_im_usrlibdir in
13518 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13519 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13523 rm -f -r conftest.dir
13526 # Standard set of common directories for X headers.
13527 # Check X11 before X11Rn because it is often a symlink to the current release.
13541 /usr/local/X11/include
13542 /usr/local/X11R7/include
13543 /usr/local/X11R6/include
13544 /usr/local/X11R5/include
13545 /usr/local/X11R4/include
13547 /usr/local/include/X11
13548 /usr/local/include/X11R7
13549 /usr/local/include/X11R6
13550 /usr/local/include/X11R5
13551 /usr/local/include/X11R4
13555 /usr/XFree86/include/X11
13559 /usr/unsupported/include
13560 /usr/athena/include
13561 /usr/local/x11r5/include
13562 /usr/lpp/Xamples/include
13564 /usr/openwin/include
13565 /usr/openwin/share/include'
13567 if test "$ac_x_includes" = no
; then
13568 # Guess where to find include files, by looking for Xlib.h.
13569 # First, try using that file with no special directory specified.
13570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 #include <X11/Xlib.h>
13574 if ac_fn_c_try_cpp
"$LINENO"; then :
13575 # We can compile using X headers with no special include directory.
13578 for ac_dir
in $ac_x_header_dirs; do
13579 if test -r "$ac_dir/X11/Xlib.h"; then
13580 ac_x_includes
=$ac_dir
13585 rm -f conftest.err conftest.i conftest.
$ac_ext
13586 fi # $ac_x_includes = no
13588 if test "$ac_x_libraries" = no
; then
13589 # Check for the libraries.
13590 # See if we find them without any special options.
13591 # Don't add to $LIBS permanently.
13594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h. */
13596 #include <X11/Xlib.h>
13605 if ac_fn_c_try_link
"$LINENO"; then :
13607 # We can link X programs with no special library path.
13611 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13613 # Don't even attempt the hair of trying to link an X program!
13614 for ac_extension
in a so sl dylib la dll
; do
13615 if test -r "$ac_dir/libX11.$ac_extension"; then
13616 ac_x_libraries
=$ac_dir
13622 rm -f core conftest.err conftest.
$ac_objext \
13623 conftest
$ac_exeext conftest.
$ac_ext
13624 fi # $ac_x_libraries = no
13626 case $ac_x_includes,$ac_x_libraries in #(
13627 no
,* |
*,no |
*\'*)
13628 # Didn't find X, or a directory has "'" in its name.
13629 ac_cv_have_x
="have_x=no";; #(
13631 # Record where we found X for the cache.
13632 ac_cv_have_x
="have_x=yes\
13633 ac_x_includes='$ac_x_includes'\
13634 ac_x_libraries='$ac_x_libraries'"
13640 eval "$ac_cv_have_x"
13643 if test "$have_x" != yes; then
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13645 $as_echo "$have_x" >&6; }
13648 # If each of the values was on the command line, it overrides each guess.
13649 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13650 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13651 # Update the cache value to reflect the command line values.
13652 ac_cv_have_x
="have_x=yes\
13653 ac_x_includes='$x_includes'\
13654 ac_x_libraries='$x_libraries'"
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13656 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13659 if test "$no_x" = yes; then
13660 # Not all programs may use this symbol, but it does not hurt to define it.
13662 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
13664 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13666 if test -n "$x_includes"; then
13667 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13670 # It would also be nice to do this for all -L options, not just this one.
13671 if test -n "$x_libraries"; then
13672 X_LIBS
="$X_LIBS -L$x_libraries"
13673 # For Solaris; some versions of Sun CC require a space after -R and
13674 # others require no space. Words are not sufficient . . . .
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13676 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
13677 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13678 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13679 ac_c_werror_flag
=yes
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13691 if ac_fn_c_try_link
"$LINENO"; then :
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13693 $as_echo "no" >&6; }
13694 X_LIBS
="$X_LIBS -R$x_libraries"
13696 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13708 if ac_fn_c_try_link
"$LINENO"; then :
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13710 $as_echo "yes" >&6; }
13711 X_LIBS
="$X_LIBS -R $x_libraries"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13714 $as_echo "neither works" >&6; }
13716 rm -f core conftest.err conftest.
$ac_objext \
13717 conftest
$ac_exeext conftest.
$ac_ext
13719 rm -f core conftest.err conftest.
$ac_objext \
13720 conftest
$ac_exeext conftest.
$ac_ext
13721 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13722 LIBS
=$ac_xsave_LIBS
13725 # Check for system-dependent libraries X programs must link with.
13726 # Do this before checking for the system-independent R6 libraries
13727 # (-lICE), since we may need -lsocket or whatever for X linking.
13729 if test "$ISC" = yes; then
13730 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13732 # Martyn Johnson says this is needed for Ultrix, if the X
13733 # libraries were built with DECnet support. And Karl Berry says
13734 # the Alpha needs dnet_stub (dnet does not exist).
13735 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13739 /* Override any GCC internal prototype to avoid an error.
13740 Use char because int might match the return type of a GCC
13741 builtin and then its argument prototype would still apply. */
13745 char XOpenDisplay ();
13749 return XOpenDisplay ();
13754 if ac_fn_c_try_link
"$LINENO"; then :
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13758 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13759 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
13760 $as_echo_n "(cached) " >&6
13762 ac_check_lib_save_LIBS
=$LIBS
13763 LIBS
="-ldnet $LIBS"
13764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13767 /* Override any GCC internal prototype to avoid an error.
13768 Use char because int might match the return type of a GCC
13769 builtin and then its argument prototype would still apply. */
13777 return dnet_ntoa ();
13782 if ac_fn_c_try_link
"$LINENO"; then :
13783 ac_cv_lib_dnet_dnet_ntoa
=yes
13785 ac_cv_lib_dnet_dnet_ntoa
=no
13787 rm -f core conftest.err conftest.
$ac_objext \
13788 conftest
$ac_exeext conftest.
$ac_ext
13789 LIBS
=$ac_check_lib_save_LIBS
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13792 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13793 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
13794 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13797 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13799 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13800 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
13801 $as_echo_n "(cached) " >&6
13803 ac_check_lib_save_LIBS
=$LIBS
13804 LIBS
="-ldnet_stub $LIBS"
13805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13818 return dnet_ntoa ();
13823 if ac_fn_c_try_link
"$LINENO"; then :
13824 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13826 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13828 rm -f core conftest.err conftest.
$ac_objext \
13829 conftest
$ac_exeext conftest.
$ac_ext
13830 LIBS
=$ac_check_lib_save_LIBS
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13833 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13834 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
13835 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13840 rm -f core conftest.err conftest.
$ac_objext \
13841 conftest
$ac_exeext conftest.
$ac_ext
13842 LIBS
="$ac_xsave_LIBS"
13844 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13845 # to get the SysV transport functions.
13846 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13848 # The nsl library prevents programs from opening the X display
13849 # on Irix 5.2, according to T.E. Dickey.
13850 # The functions gethostbyname, getservbyname, and inet_addr are
13851 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13852 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13853 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
13857 if test $ac_cv_func_gethostbyname = no
; then
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13859 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13860 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
13861 $as_echo_n "(cached) " >&6
13863 ac_check_lib_save_LIBS
=$LIBS
13865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13868 /* Override any GCC internal prototype to avoid an error.
13869 Use char because int might match the return type of a GCC
13870 builtin and then its argument prototype would still apply. */
13874 char gethostbyname ();
13878 return gethostbyname ();
13883 if ac_fn_c_try_link
"$LINENO"; then :
13884 ac_cv_lib_nsl_gethostbyname
=yes
13886 ac_cv_lib_nsl_gethostbyname
=no
13888 rm -f core conftest.err conftest.
$ac_objext \
13889 conftest
$ac_exeext conftest.
$ac_ext
13890 LIBS
=$ac_check_lib_save_LIBS
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13893 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13894 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
13895 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13898 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13900 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13901 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
13902 $as_echo_n "(cached) " >&6
13904 ac_check_lib_save_LIBS
=$LIBS
13906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13909 /* Override any GCC internal prototype to avoid an error.
13910 Use char because int might match the return type of a GCC
13911 builtin and then its argument prototype would still apply. */
13915 char gethostbyname ();
13919 return gethostbyname ();
13924 if ac_fn_c_try_link
"$LINENO"; then :
13925 ac_cv_lib_bsd_gethostbyname
=yes
13927 ac_cv_lib_bsd_gethostbyname
=no
13929 rm -f core conftest.err conftest.
$ac_objext \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 LIBS
=$ac_check_lib_save_LIBS
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13934 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13935 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
13936 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13942 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13943 # socket/setsockopt and other routines are undefined under SCO ODT
13944 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13945 # on later versions), says Simon Leinen: it contains gethostby*
13946 # variants that don't use the name server (or something). -lsocket
13947 # must be given before -lnsl if both are needed. We assume that
13948 # if connect needs -lnsl, so does gethostbyname.
13949 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13950 if test "x$ac_cv_func_connect" = xyes
; then :
13954 if test $ac_cv_func_connect = no
; then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13956 $as_echo_n "checking for connect in -lsocket... " >&6; }
13957 if ${ac_cv_lib_socket_connect+:} false
; then :
13958 $as_echo_n "(cached) " >&6
13960 ac_check_lib_save_LIBS
=$LIBS
13961 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13965 /* Override any GCC internal prototype to avoid an error.
13966 Use char because int might match the return type of a GCC
13967 builtin and then its argument prototype would still apply. */
13980 if ac_fn_c_try_link
"$LINENO"; then :
13981 ac_cv_lib_socket_connect
=yes
13983 ac_cv_lib_socket_connect
=no
13985 rm -f core conftest.err conftest.
$ac_objext \
13986 conftest
$ac_exeext conftest.
$ac_ext
13987 LIBS
=$ac_check_lib_save_LIBS
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13990 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13991 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
13992 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13997 # Guillermo Gomez says -lposix is necessary on A/UX.
13998 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
13999 if test "x$ac_cv_func_remove" = xyes
; then :
14003 if test $ac_cv_func_remove = no
; then
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14005 $as_echo_n "checking for remove in -lposix... " >&6; }
14006 if ${ac_cv_lib_posix_remove+:} false
; then :
14007 $as_echo_n "(cached) " >&6
14009 ac_check_lib_save_LIBS
=$LIBS
14010 LIBS
="-lposix $LIBS"
14011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14014 /* Override any GCC internal prototype to avoid an error.
14015 Use char because int might match the return type of a GCC
14016 builtin and then its argument prototype would still apply. */
14029 if ac_fn_c_try_link
"$LINENO"; then :
14030 ac_cv_lib_posix_remove
=yes
14032 ac_cv_lib_posix_remove
=no
14034 rm -f core conftest.err conftest.
$ac_objext \
14035 conftest
$ac_exeext conftest.
$ac_ext
14036 LIBS
=$ac_check_lib_save_LIBS
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14039 $as_echo "$ac_cv_lib_posix_remove" >&6; }
14040 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
14041 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14046 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14047 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14048 if test "x$ac_cv_func_shmat" = xyes
; then :
14052 if test $ac_cv_func_shmat = no
; then
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14054 $as_echo_n "checking for shmat in -lipc... " >&6; }
14055 if ${ac_cv_lib_ipc_shmat+:} false
; then :
14056 $as_echo_n "(cached) " >&6
14058 ac_check_lib_save_LIBS
=$LIBS
14060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14078 if ac_fn_c_try_link
"$LINENO"; then :
14079 ac_cv_lib_ipc_shmat
=yes
14081 ac_cv_lib_ipc_shmat
=no
14083 rm -f core conftest.err conftest.
$ac_objext \
14084 conftest
$ac_exeext conftest.
$ac_ext
14085 LIBS
=$ac_check_lib_save_LIBS
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14088 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
14089 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
14090 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14096 # Check for libraries that X11R6 Xt/Xaw programs need.
14097 ac_save_LDFLAGS
=$LDFLAGS
14098 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14099 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14100 # check for ICE first), but we must link in the order -lSM -lICE or
14101 # we get undefined symbols. So assume we have SM if we have ICE.
14102 # These have to be linked with before -lX11, unlike the other
14103 # libraries we check for below, so use a different variable.
14104 # John Interrante, Karl Berry
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14106 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
14107 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
14108 $as_echo_n "(cached) " >&6
14110 ac_check_lib_save_LIBS
=$LIBS
14111 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14115 /* Override any GCC internal prototype to avoid an error.
14116 Use char because int might match the return type of a GCC
14117 builtin and then its argument prototype would still apply. */
14121 char IceConnectionNumber ();
14125 return IceConnectionNumber ();
14130 if ac_fn_c_try_link
"$LINENO"; then :
14131 ac_cv_lib_ICE_IceConnectionNumber
=yes
14133 ac_cv_lib_ICE_IceConnectionNumber
=no
14135 rm -f core conftest.err conftest.
$ac_objext \
14136 conftest
$ac_exeext conftest.
$ac_ext
14137 LIBS
=$ac_check_lib_save_LIBS
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14140 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14141 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
14142 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14145 LDFLAGS
=$ac_save_LDFLAGS
14149 pcp_x11_incflags
=$X_CFLAGS
14151 pcp_x11_libflags
=$X_LIBS
14153 pcp_x11_extra
=$X_EXTRA_LIBS
14155 pcp_x11_pre
=$X_PRE_LIBS
14158 have_manpages
=false
14159 have_gzipped_manpages
=false
14160 have_bzip2ed_manpages
=false
14161 have_lzmaed_manpages
=false
14162 have_xzed_manpages
=false
14163 need_old_tbl_header
=false
14165 pcp_man_dir
=`eval echo $mandir`
14166 pcp_man_dir
=`eval echo $pcp_man_dir`
14168 for d
in /usr
/man
/usr
/share
/man
$pcp_man_dir
14170 for sd
in man1 sman1
14172 if test -f $d/$sd/man
.1.gz
14174 have_gzipped_manpages
=true
14176 man_header
=`$ZIP -d < $d/$sd/man.1.gz | head -1`
14178 elif test -f $d/$sd/man
.1.bz2
14180 have_bzip2ed_manpages
=true
14182 man_header
=`$BZIP2 -d < $d/$sd/man.1.bz2 | head -1`
14184 elif test -f $d/$sd/man
.1.lzma
14186 have_lzmaed_manpages
=true
14188 man_header
=`$LZMA -d < $d/$sd/man.1.lzma | head -1`
14190 elif test -f $d/$sd/man
.1.xz
14192 have_xzed_manpages
=true
14194 man_header
=`$XZ -d < $d/$sd/man.1.xz | head -1`
14196 elif test -f $d/$sd/man
.1
14198 man_header
=`head -1 $d/$sd/man.1`
14204 if test x
"$man_header" = "x'\\\" t" -o x
"$man_header" = "x'\\\" te" ; then
14205 need_old_tbl_header
=true
14215 pcp_bin_dir
=`eval echo $bindir`
14216 pcp_bin_dir
=`eval echo $pcp_bin_dir`
14219 pcp_sbin_dir
=`eval echo $sbindir`
14220 pcp_sbin_dir
=`eval echo $pcp_sbin_dir`
14223 pcp_inc_dir
=`eval echo $includedir/pcp`
14224 pcp_inc_dir
=`eval echo $pcp_inc_dir`
14227 if test $target_os = linux
; then
14228 pcp_books_dir
=`eval echo $datarootdir/doc/pcp-doc`
14230 pcp_books_dir
=`eval echo $datarootdir/doc/pcp`
14232 pcp_books_dir
=`eval echo $pcp_books_dir`
14233 pcp_html_dir
=`eval echo $pcp_books_dir/html`
14237 if test $target_os = linux
; then
14238 pcp_icons_dir
=`eval echo $datarootdir/pcp-gui/pixmaps`
14240 pcp_icons_dir
=`eval echo $datarootdir/pcp/pixmaps`
14242 pcp_icons_dir
=`eval echo $pcp_icons_dir`
14245 pcp_desktop_dir
=`eval echo $datarootdir/applications`
14246 pcp_desktop_dir
=`eval echo $pcp_desktop_dir`
14250 # Check whether --with-rcdir was given.
14251 if test "${with_rcdir+set}" = set; then :
14252 withval
=$with_rcdir; pcp_rc_dir
=$withval
14257 pcp_rc_dir
="$pcp_share_dir/lib"
14259 pcp_rc_dir
="$pcp_etc_dir/init.d"
14266 # Check whether --with-sysconfigdir was given.
14267 if test "${with_sysconfigdir+set}" = set; then :
14268 withval
=$with_sysconfigdir; pcp_sysconfig_dir
=$withval
14270 pcp_sysconfig_dir
=$pcp_etc_dir/sysconfig
14276 # Check whether --with-logdir was given.
14277 if test "${with_logdir+set}" = set; then :
14278 withval
=$with_logdir; pcp_log_dir
=$withval
14280 pcp_log_dir
=$localstatedir/log
/pcp
14283 pcp_log_dir
=`eval echo $pcp_log_dir`
14284 pcp_log_dir
=`eval echo $pcp_log_dir`
14288 # Check whether --with-rundir was given.
14289 if test "${with_rundir+set}" = set; then :
14290 withval
=$with_rundir; pcp_run_dir
=$withval
14292 pcp_run_dir
=$localstatedir/run
/pcp
14295 pcp_run_dir
=`eval echo $pcp_run_dir`
14296 pcp_run_dir
=`eval echo $pcp_run_dir`
14300 # Check whether --with-tmpdir was given.
14301 if test "${with_tmpdir+set}" = set; then :
14302 withval
=$with_tmpdir; pcp_tmpfile_dir
=$withval
14304 pcp_tmpfile_dir
=$localstatedir/tmp
14307 pcp_tmpfile_dir
=`eval echo $pcp_tmpfile_dir`
14308 pcp_tmpfile_dir
=`eval echo $pcp_tmpfile_dir`
14311 pcp_tmp_dir
=`eval echo $pcp_var_dir/tmp`
14315 # Check whether --with-docdir was given.
14316 if test "${with_docdir+set}" = set; then :
14317 withval
=$with_docdir; pcp_doc_dir
=$withval
14319 PACKAGE
=pcp-
${PACKAGE_VERSION}; pcp_doc_dir
=$docdir
14322 pcp_doc_dir
=`eval echo $pcp_doc_dir`
14323 pcp_doc_dir
=`eval echo $pcp_doc_dir`
14327 # Check whether --with-demosdir was given.
14328 if test "${with_demosdir+set}" = set; then :
14329 withval
=$with_demosdir; pcp_demos_dir
=$withval
14331 pcp_demos_dir
=$pcp_share_dir/demos
14336 if test -z "$XCONFIRM"
14338 # Extract the first word of "xconfirm", so it can be a program name with args.
14339 set dummy xconfirm
; ac_word
=$2
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14341 $as_echo_n "checking for $ac_word... " >&6; }
14342 if ${ac_cv_path_ac_xconfirm_prog+:} false
; then :
14343 $as_echo_n "(cached) " >&6
14345 case $ac_xconfirm_prog in
14347 ac_cv_path_ac_xconfirm_prog
="$ac_xconfirm_prog" # Let the user override the test with a path.
14350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14351 for as_dir
in $PATH
14354 test -z "$as_dir" && as_dir
=.
14355 for ac_exec_ext
in '' $ac_executable_extensions; do
14356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14357 ac_cv_path_ac_xconfirm_prog
="$as_dir/$ac_word$ac_exec_ext"
14358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 test -z "$ac_cv_path_ac_xconfirm_prog" && ac_cv_path_ac_xconfirm_prog
="$pcp_bin_dir/pmconfirm"
14369 ac_xconfirm_prog
=$ac_cv_path_ac_xconfirm_prog
14370 if test -n "$ac_xconfirm_prog"; then
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_xconfirm_prog" >&5
14372 $as_echo "$ac_xconfirm_prog" >&6; }
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14375 $as_echo "no" >&6; }
14380 ac_xconfirm_prog
=$XCONFIRM
14384 if test "$ac_cv_header_fcntl_h" = "yes"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FNDELAY in fcntl.h" >&5
14387 $as_echo_n "checking for FNDELAY in fcntl.h... " >&6; }
14388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14399 if ac_fn_c_try_compile
"$LINENO"; then :
14401 $as_echo "#define HAVE_FNDELAY 1" >>confdefs.h
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14404 $as_echo "yes" >&6; }
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14407 $as_echo "no" >&6; }
14409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14412 if test "$ac_cv_header_libzfs_h" = "yes"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 5-argument style zpool_vdev_name" >&5
14415 $as_echo_n "checking for 5-argument style zpool_vdev_name... " >&6; }
14416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14418 #include <libzfs.h>
14422 libzfs_handle_t *zh;
14423 zpool_handle_t *zp;
14425 (void) zpool_vdev_name(zh, zp, np, B_FALSE, B_FALSE);
14431 if ac_fn_c_try_compile
"$LINENO"; then :
14433 $as_echo "#define HAVE_ZPOOL_VDEV_NAME_5ARG 1" >>confdefs.h
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14436 $as_echo "yes" >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14439 $as_echo "no" >&6; }
14441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zpool_vdev_name" >&5
14444 $as_echo_n "checking for 4-argument style zpool_vdev_name... " >&6; }
14445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 #include <libzfs.h>
14451 libzfs_handle_t *zh;
14452 zpool_handle_t *zp;
14454 (void) zpool_vdev_name(zh, zp, np, B_FALSE);
14460 if ac_fn_c_try_compile
"$LINENO"; then :
14462 $as_echo "#define HAVE_ZPOOL_VDEV_NAME_4ARG 1" >>confdefs.h
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14465 $as_echo "yes" >&6; }
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14468 $as_echo "no" >&6; }
14470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14473 if test "$do_secure" = "check" -o "$do_secure" = "yes"
14477 saved_CFLAGS
="$CFLAGS"
14478 saved_CPPFLAGS
="$CPPFLAGS"
14479 NSS_INC_DIRS
="-I/usr/include/nss -I/usr/include/nss3"
14480 NSPR_INC_DIRS
="-I/usr/include/nspr -I/usr/include/nspr4"
14481 CFLAGS
="$CFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS"
14482 CPPFLAGS
="$CPPFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS"
14484 for ac_header
in nss
/nss.h
14486 ac_fn_c_check_header_mongrel
"$LINENO" "nss/nss.h" "ac_cv_header_nss_nss_h" "$ac_includes_default"
14487 if test "x$ac_cv_header_nss_nss_h" = xyes
; then :
14488 cat >>confdefs.h
<<_ACEOF
14489 #define HAVE_NSS_NSS_H 1
14491 NSSCFLAGS
=-I/usr
/include
/nss
14494 for ac_header
in nss
3/nss.h
14496 ac_fn_c_check_header_mongrel
"$LINENO" "nss3/nss.h" "ac_cv_header_nss3_nss_h" "$ac_includes_default"
14497 if test "x$ac_cv_header_nss3_nss_h" = xyes
; then :
14498 cat >>confdefs.h
<<_ACEOF
14499 #define HAVE_NSS3_NSS_H 1
14501 NSSCFLAGS
=-I/usr
/include
/nss3
14504 enable_secure
=false
14505 if test "$do_secure" = "yes"
14507 as_fn_error $?
"cannot enable secure sockets mode - no NSS header" "$LINENO" 5
14521 for ac_header
in nspr
/nspr.h
14523 ac_fn_c_check_header_mongrel
"$LINENO" "nspr/nspr.h" "ac_cv_header_nspr_nspr_h" "$ac_includes_default"
14524 if test "x$ac_cv_header_nspr_nspr_h" = xyes
; then :
14525 cat >>confdefs.h
<<_ACEOF
14526 #define HAVE_NSPR_NSPR_H 1
14528 NSPRCFLAGS
=-I/usr
/include
/nspr
14531 for ac_header
in nspr
4/nspr.h
14533 ac_fn_c_check_header_mongrel
"$LINENO" "nspr4/nspr.h" "ac_cv_header_nspr4_nspr_h" "$ac_includes_default"
14534 if test "x$ac_cv_header_nspr4_nspr_h" = xyes
; then :
14535 cat >>confdefs.h
<<_ACEOF
14536 #define HAVE_NSPR4_NSPR_H 1
14538 NSPRCFLAGS
=-I/usr
/include
/nspr4
14541 enable_secure
=false
14542 if test "$do_secure" = "yes"
14544 as_fn_error $?
"cannot enable secure sockets mode - no NSPR header" "$LINENO" 5
14558 for ac_header
in sasl
/sasl.h
14560 ac_fn_c_check_header_mongrel
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
14561 if test "x$ac_cv_header_sasl_sasl_h" = xyes
; then :
14562 cat >>confdefs.h
<<_ACEOF
14563 #define HAVE_SASL_SASL_H 1
14565 SASLCFLAGS
=-I/usr
/include
/sasl
14568 enable_secure
=false
14569 if test "$do_secure" = "yes"
14571 as_fn_error $?
"cannot enable secure sockets mode - no SASL header" "$LINENO" 5
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_server_init in -lsasl2" >&5
14581 $as_echo_n "checking for sasl_server_init in -lsasl2... " >&6; }
14582 if ${ac_cv_lib_sasl2_sasl_server_init+:} false
; then :
14583 $as_echo_n "(cached) " >&6
14585 ac_check_lib_save_LIBS
=$LIBS
14586 LIBS
="-lsasl2 $LIBS"
14587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14596 char sasl_server_init ();
14600 return sasl_server_init ();
14605 if ac_fn_c_try_link
"$LINENO"; then :
14606 ac_cv_lib_sasl2_sasl_server_init
=yes
14608 ac_cv_lib_sasl2_sasl_server_init
=no
14610 rm -f core conftest.err conftest.
$ac_objext \
14611 conftest
$ac_exeext conftest.
$ac_ext
14612 LIBS
=$ac_check_lib_save_LIBS
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_server_init" >&5
14615 $as_echo "$ac_cv_lib_sasl2_sasl_server_init" >&6; }
14616 if test "x$ac_cv_lib_sasl2_sasl_server_init" = xyes
; then :
14617 lib_for_sasl
="-lsasl2"
14620 enable_secure
=false
14621 if test "$do_secure" = "yes"
14623 as_fn_error $?
"cannot enable secure sockets mode - no SASL library" "$LINENO" 5
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl" >&5
14631 $as_echo_n "checking for SSL_ImportFD in -lssl... " >&6; }
14632 if ${ac_cv_lib_ssl_SSL_ImportFD+:} false
; then :
14633 $as_echo_n "(cached) " >&6
14635 ac_check_lib_save_LIBS
=$LIBS
14637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 /* Override any GCC internal prototype to avoid an error.
14641 Use char because int might match the return type of a GCC
14642 builtin and then its argument prototype would still apply. */
14646 char SSL_ImportFD ();
14650 return SSL_ImportFD ();
14655 if ac_fn_c_try_link
"$LINENO"; then :
14656 ac_cv_lib_ssl_SSL_ImportFD
=yes
14658 ac_cv_lib_ssl_SSL_ImportFD
=no
14660 rm -f core conftest.err conftest.
$ac_objext \
14661 conftest
$ac_exeext conftest.
$ac_ext
14662 LIBS
=$ac_check_lib_save_LIBS
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ImportFD" >&5
14665 $as_echo "$ac_cv_lib_ssl_SSL_ImportFD" >&6; }
14666 if test "x$ac_cv_lib_ssl_SSL_ImportFD" = xyes
; then :
14667 lib_for_ssl
="-lssl"
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl3" >&5
14671 $as_echo_n "checking for SSL_ImportFD in -lssl3... " >&6; }
14672 if ${ac_cv_lib_ssl3_SSL_ImportFD+:} false
; then :
14673 $as_echo_n "(cached) " >&6
14675 ac_check_lib_save_LIBS
=$LIBS
14676 LIBS
="-lssl3 $LIBS"
14677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 /* Override any GCC internal prototype to avoid an error.
14681 Use char because int might match the return type of a GCC
14682 builtin and then its argument prototype would still apply. */
14686 char SSL_ImportFD ();
14690 return SSL_ImportFD ();
14695 if ac_fn_c_try_link
"$LINENO"; then :
14696 ac_cv_lib_ssl3_SSL_ImportFD
=yes
14698 ac_cv_lib_ssl3_SSL_ImportFD
=no
14700 rm -f core conftest.err conftest.
$ac_objext \
14701 conftest
$ac_exeext conftest.
$ac_ext
14702 LIBS
=$ac_check_lib_save_LIBS
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl3_SSL_ImportFD" >&5
14705 $as_echo "$ac_cv_lib_ssl3_SSL_ImportFD" >&6; }
14706 if test "x$ac_cv_lib_ssl3_SSL_ImportFD" = xyes
; then :
14707 lib_for_ssl
="-lssl3"
14710 enable_secure
=false
14711 if test "$do_secure" = "yes"
14713 as_fn_error $?
"cannot enable secure sockets mode - no SSL library" "$LINENO" 5
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss" >&5
14724 $as_echo_n "checking for NSS_Init in -lnss... " >&6; }
14725 if ${ac_cv_lib_nss_NSS_Init+:} false
; then :
14726 $as_echo_n "(cached) " >&6
14728 ac_check_lib_save_LIBS
=$LIBS
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14743 return NSS_Init ();
14748 if ac_fn_c_try_link
"$LINENO"; then :
14749 ac_cv_lib_nss_NSS_Init
=yes
14751 ac_cv_lib_nss_NSS_Init
=no
14753 rm -f core conftest.err conftest.
$ac_objext \
14754 conftest
$ac_exeext conftest.
$ac_ext
14755 LIBS
=$ac_check_lib_save_LIBS
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss_NSS_Init" >&5
14758 $as_echo "$ac_cv_lib_nss_NSS_Init" >&6; }
14759 if test "x$ac_cv_lib_nss_NSS_Init" = xyes
; then :
14760 lib_for_nss
="-lnss"
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss3" >&5
14764 $as_echo_n "checking for NSS_Init in -lnss3... " >&6; }
14765 if ${ac_cv_lib_nss3_NSS_Init+:} false
; then :
14766 $as_echo_n "(cached) " >&6
14768 ac_check_lib_save_LIBS
=$LIBS
14769 LIBS
="-lnss3 $LIBS"
14770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14773 /* Override any GCC internal prototype to avoid an error.
14774 Use char because int might match the return type of a GCC
14775 builtin and then its argument prototype would still apply. */
14783 return NSS_Init ();
14788 if ac_fn_c_try_link
"$LINENO"; then :
14789 ac_cv_lib_nss3_NSS_Init
=yes
14791 ac_cv_lib_nss3_NSS_Init
=no
14793 rm -f core conftest.err conftest.
$ac_objext \
14794 conftest
$ac_exeext conftest.
$ac_ext
14795 LIBS
=$ac_check_lib_save_LIBS
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Init" >&5
14798 $as_echo "$ac_cv_lib_nss3_NSS_Init" >&6; }
14799 if test "x$ac_cv_lib_nss3_NSS_Init" = xyes
; then :
14800 lib_for_nss
="-lnss3"
14803 enable_secure
=false
14804 if test "$do_secure" = "yes"
14806 as_fn_error $?
"cannot enable secure sockets mode - no NSS library" "$LINENO" 5
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr" >&5
14817 $as_echo_n "checking for PR_Init in -lnspr... " >&6; }
14818 if ${ac_cv_lib_nspr_PR_Init+:} false
; then :
14819 $as_echo_n "(cached) " >&6
14821 ac_check_lib_save_LIBS
=$LIBS
14822 LIBS
="-lnspr $LIBS"
14823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14826 /* Override any GCC internal prototype to avoid an error.
14827 Use char because int might match the return type of a GCC
14828 builtin and then its argument prototype would still apply. */
14841 if ac_fn_c_try_link
"$LINENO"; then :
14842 ac_cv_lib_nspr_PR_Init
=yes
14844 ac_cv_lib_nspr_PR_Init
=no
14846 rm -f core conftest.err conftest.
$ac_objext \
14847 conftest
$ac_exeext conftest.
$ac_ext
14848 LIBS
=$ac_check_lib_save_LIBS
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr_PR_Init" >&5
14851 $as_echo "$ac_cv_lib_nspr_PR_Init" >&6; }
14852 if test "x$ac_cv_lib_nspr_PR_Init" = xyes
; then :
14853 lib_for_nspr
="-lnspr"
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr4" >&5
14857 $as_echo_n "checking for PR_Init in -lnspr4... " >&6; }
14858 if ${ac_cv_lib_nspr4_PR_Init+:} false
; then :
14859 $as_echo_n "(cached) " >&6
14861 ac_check_lib_save_LIBS
=$LIBS
14862 LIBS
="-lnspr4 $LIBS"
14863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14866 /* Override any GCC internal prototype to avoid an error.
14867 Use char because int might match the return type of a GCC
14868 builtin and then its argument prototype would still apply. */
14881 if ac_fn_c_try_link
"$LINENO"; then :
14882 ac_cv_lib_nspr4_PR_Init
=yes
14884 ac_cv_lib_nspr4_PR_Init
=no
14886 rm -f core conftest.err conftest.
$ac_objext \
14887 conftest
$ac_exeext conftest.
$ac_ext
14888 LIBS
=$ac_check_lib_save_LIBS
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr4_PR_Init" >&5
14891 $as_echo "$ac_cv_lib_nspr4_PR_Init" >&6; }
14892 if test "x$ac_cv_lib_nspr4_PR_Init" = xyes
; then :
14893 lib_for_nspr
="-lnspr4"
14896 enable_secure
=false
14897 if test "$do_secure" = "yes"
14899 as_fn_error $?
"cannot enable secure sockets mode - no NSPR library" "$LINENO" 5
14909 if test "$enable_secure" = "true"
14912 $as_echo "#define HAVE_SECURE_SOCKETS 1" >>confdefs.h
14917 CPPFLAGS
="$saved_CPPFLAGS"
14918 CFLAGS
="$saved_CFLAGS"
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add_4 in -latomic" >&5
14922 $as_echo_n "checking for __atomic_fetch_add_4 in -latomic... " >&6; }
14923 if ${ac_cv_lib_atomic___atomic_fetch_add_4+:} false
; then :
14924 $as_echo_n "(cached) " >&6
14926 ac_check_lib_save_LIBS
=$LIBS
14927 LIBS
="-latomic $LIBS"
14928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14937 char __atomic_fetch_add_4 ();
14941 return __atomic_fetch_add_4 ();
14946 if ac_fn_c_try_link
"$LINENO"; then :
14947 ac_cv_lib_atomic___atomic_fetch_add_4
=yes
14949 ac_cv_lib_atomic___atomic_fetch_add_4
=no
14951 rm -f core conftest.err conftest.
$ac_objext \
14952 conftest
$ac_exeext conftest.
$ac_ext
14953 LIBS
=$ac_check_lib_save_LIBS
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_fetch_add_4" >&5
14956 $as_echo "$ac_cv_lib_atomic___atomic_fetch_add_4" >&6; }
14957 if test "x$ac_cv_lib_atomic___atomic_fetch_add_4" = xyes
; then :
14958 lib_for_atomic
="-latomic"
14963 if test -f /usr
/include
/sn
/arsess.h
14965 pcp_mpi_dirs
=libpcp_mpi\ libpcp_mpiread
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_un in sys/un.h" >&5
14972 $as_echo_n "checking for struct sockaddr_un in sys/un.h... " >&6; }
14973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14976 #include <sys/types.h>
14977 #ifdef HAVE_SYS_SOCKET_H
14978 #include <sys/socket.h>
14980 #ifdef HAVE_SYS_UN_H
14981 #include <sys/un.h>
14987 struct sockaddr_un sa; sa.sun_family = AF_UNIX;
14992 if ac_fn_c_try_compile
"$LINENO"; then :
14994 $as_echo "#define HAVE_STRUCT_SOCKADDR_UN 1" >>confdefs.h
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14996 $as_echo "yes" >&6; }
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14999 $as_echo "no" >&6; }
15001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ucred in sys/socket.h" >&5
15004 $as_echo_n "checking for struct ucred in sys/socket.h... " >&6; }
15005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 #include <sys/types.h>
15009 #ifdef HAVE_SYS_SOCKET_H
15010 #include <sys/socket.h>
15012 #ifdef HAVE_SYS_UN_H
15013 #include <sys/un.h>
15019 struct ucred ucred; ucred.uid = 0;
15024 if ac_fn_c_try_compile
"$LINENO"; then :
15026 $as_echo "#define HAVE_STRUCT_UCRED 1" >>confdefs.h
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15028 $as_echo "yes" >&6; }
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15031 $as_echo "no" >&6; }
15033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in time.h" >&5
15036 $as_echo_n "checking for struct timespec in time.h... " >&6; }
15037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15045 struct timespec foo;
15050 if ac_fn_c_try_compile
"$LINENO"; then :
15052 $as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15054 $as_echo "yes" >&6; }
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15057 $as_echo "no" >&6; }
15059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for altzone in time.h" >&5
15062 $as_echo_n "checking for altzone in time.h... " >&6; }
15063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15071 time_t az = altzone;
15076 if ac_fn_c_try_compile
"$LINENO"; then :
15078 $as_echo "#define HAVE_ALTZONE 1" >>confdefs.h
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15080 $as_echo "yes" >&6; }
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15083 $as_echo "no" >&6; }
15085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strftime knows about %z" >&5
15088 $as_echo_n "checking if strftime knows about %z... " >&6; }
15089 if test "$cross_compiling" = yes; then :
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15091 $as_echo "no" >&6; }
15093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15099 time_t t = time(NULL);
15100 struct tm * t1 = localtime (&t);
15101 if (strftime (b, 32, "%z", t1) < 3)
15103 if (strcmp(b, "%z") == 0)
15109 if ac_fn_c_try_run
"$LINENO"; then :
15111 $as_echo "#define HAVE_STRFTIME_z 1" >>confdefs.h
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15113 $as_echo "yes" >&6; }
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15116 $as_echo "no" >&6; }
15118 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15119 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r returns char *" >&5
15124 $as_echo_n "checking if strerror_r returns char *... " >&6; }
15125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 #include <string.h>
15131 strerror_r(0, NULL, 0)[0];
15136 if ac_fn_c_try_compile
"$LINENO"; then :
15138 $as_echo "#define HAVE_STRERROR_R_PTR 1" >>confdefs.h
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15140 $as_echo "yes" >&6; }
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15143 $as_echo "no" >&6; }
15145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15151 ac_fn_c_check_func
"$LINENO" "readline" "ac_cv_func_readline"
15152 if test "x$ac_cv_func_readline" = xyes
; then :
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
15157 $as_echo_n "checking for readline in -lreadline... " >&6; }
15158 if ${ac_cv_lib_readline_readline+:} false
; then :
15159 $as_echo_n "(cached) " >&6
15161 ac_check_lib_save_LIBS
=$LIBS
15162 LIBS
="-lreadline $LIBS"
15163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15176 return readline ();
15181 if ac_fn_c_try_link
"$LINENO"; then :
15182 ac_cv_lib_readline_readline
=yes
15184 ac_cv_lib_readline_readline
=no
15186 rm -f core conftest.err conftest.
$ac_objext \
15187 conftest
$ac_exeext conftest.
$ac_ext
15188 LIBS
=$ac_check_lib_save_LIBS
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
15191 $as_echo "$ac_cv_lib_readline_readline" >&6; }
15192 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
15193 cat >>confdefs.h
<<_ACEOF
15194 #define HAVE_LIBREADLINE 1
15197 LIBS
="-lreadline $LIBS"
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5
15202 $as_echo_n "checking for add_history in -lreadline... " >&6; }
15203 if ${ac_cv_lib_readline_add_history+:} false
; then :
15204 $as_echo_n "(cached) " >&6
15206 ac_check_lib_save_LIBS
=$LIBS
15207 LIBS
="-lreadline -lcurses $LIBS"
15208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15211 /* Override any GCC internal prototype to avoid an error.
15212 Use char because int might match the return type of a GCC
15213 builtin and then its argument prototype would still apply. */
15217 char add_history ();
15221 return add_history ();
15226 if ac_fn_c_try_link
"$LINENO"; then :
15227 ac_cv_lib_readline_add_history
=yes
15229 ac_cv_lib_readline_add_history
=no
15231 rm -f core conftest.err conftest.
$ac_objext \
15232 conftest
$ac_exeext conftest.
$ac_ext
15233 LIBS
=$ac_check_lib_save_LIBS
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5
15236 $as_echo "$ac_cv_lib_readline_add_history" >&6; }
15237 if test "x$ac_cv_lib_readline_add_history" = xyes
; then :
15238 cat >>confdefs.h
<<_ACEOF
15239 #define HAVE_LIBREADLINE 1
15242 LIBS
="-lreadline $LIBS"
15252 if test $ac_cv_func_readline = yes
15255 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15257 elif test $ac_cv_lib_readline_readline = yes
15260 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15262 lib_for_readline
=-lreadline
15263 elif test $ac_cv_lib_readline_add_history = yes
15266 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15268 lib_for_curses
=-lcurses
15269 lib_for_readline
=-lreadline
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
15278 $as_echo_n "checking for zlib... " >&6; }
15280 if test -n "$zlib_CFLAGS"; then
15281 pkg_cv_zlib_CFLAGS
="$zlib_CFLAGS"
15282 elif test -n "$PKG_CONFIG"; then
15283 if test -n "$PKG_CONFIG" && \
15284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5
15285 ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5
15287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15288 test $ac_status = 0; }; then
15289 pkg_cv_zlib_CFLAGS
=`$PKG_CONFIG --cflags "zlib >= 1.0.0" 2>/dev/null`
15290 test "x$?" != "x0" && pkg_failed
=yes
15297 if test -n "$zlib_LIBS"; then
15298 pkg_cv_zlib_LIBS
="$zlib_LIBS"
15299 elif test -n "$PKG_CONFIG"; then
15300 if test -n "$PKG_CONFIG" && \
15301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5
15302 ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5
15304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15305 test $ac_status = 0; }; then
15306 pkg_cv_zlib_LIBS
=`$PKG_CONFIG --libs "zlib >= 1.0.0" 2>/dev/null`
15307 test "x$?" != "x0" && pkg_failed
=yes
15317 if test $pkg_failed = yes; then
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15319 $as_echo "no" >&6; }
15321 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15322 _pkg_short_errors_supported
=yes
15324 _pkg_short_errors_supported
=no
15326 if test $_pkg_short_errors_supported = yes; then
15327 zlib_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1`
15329 zlib_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1`
15331 # Put the nasty error message in config.log where it belongs
15332 echo "$zlib_PKG_ERRORS" >&5
15335 elif test $pkg_failed = untried
; then
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15337 $as_echo "no" >&6; }
15340 zlib_CFLAGS
=$pkg_cv_zlib_CFLAGS
15341 zlib_LIBS
=$pkg_cv_zlib_LIBS
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15343 $as_echo "yes" >&6; }
15346 HAVE_ZLIB
=$have_zlib
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AI_ADDRCONFIG" >&5
15350 $as_echo_n "checking for AI_ADDRCONFIG... " >&6; }
15351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15355 int test = AI_ADDRCONFIG;
15366 if ac_fn_c_try_compile
"$LINENO"; then :
15368 $as_echo "#define HAVE_AI_ADDRCONFIG 1" >>confdefs.h
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15370 $as_echo "yes" >&6; }
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15373 $as_echo "no" >&6; }
15375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15379 if test -f .
/build
/tar
/parfait.
tar.gz
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: adding Parfait package to the build" >&5
15382 $as_echo "$as_me: adding Parfait package to the build" >&6;}
15388 if test -f .
/build
/tar
/vector.
tar.gz
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: adding Vector webapp to the build" >&5
15391 $as_echo "$as_me: adding Vector webapp to the build" >&6;}
15397 if test -f .
/build
/tar
/webjs.
tar.gz
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: adding webjs webapps to the build" >&5
15400 $as_echo "$as_me: adding webjs webapps to the build" >&6;}
15408 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"
15410 cat >confcache
<<\_ACEOF
15411 # This file is a shell script that caches the results of configure
15412 # tests run on this system so they can be shared between configure
15413 # scripts and configure runs, see configure's option --config-cache.
15414 # It is not useful on other systems. If it contains results you don't
15415 # want to keep, you may remove or edit it.
15417 # config.status only pays attention to the cache file if you give it
15418 # the --recheck option to rerun configure.
15420 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15421 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15422 # following values.
15426 # The following way of writing the cache mishandles newlines in values,
15427 # but we know of no workaround that is simple, portable, and efficient.
15428 # So, we kill variables containing newlines.
15429 # Ultrix sh set writes to stderr and can't be redirected directly,
15430 # and sets the high bit in the cache file unless we assign to the vars.
15432 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15433 eval ac_val
=\$
$ac_var
15437 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15438 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15441 _ | IFS | as_nl
) ;; #(
15442 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15443 *) { eval $ac_var=; unset $ac_var;} ;;
15449 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15450 *${as_nl}ac_space
=\
*)
15451 # `set' does not quote correctly, so add quotes: double-quote
15452 # substitution turns \\\\ into \\, and sed turns \\ into \.
15455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15458 # `set' quotes correctly as required by POSIX, so do not add quotes.
15459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15468 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15470 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15472 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15473 if test -w "$cache_file"; then
15474 if test "x$cache_file" != "x/dev/null"; then
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15476 $as_echo "$as_me: updating cache $cache_file" >&6;}
15477 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15478 cat confcache
>"$cache_file"
15480 case $cache_file in #(
15482 mv -f confcache
"$cache_file"$$
&&
15483 mv -f "$cache_file"$$
"$cache_file" ;; #(
15485 mv -f confcache
"$cache_file" ;;
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15491 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15496 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15497 # Let make expand exec_prefix.
15498 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15500 DEFS
=-DHAVE_CONFIG_H
15505 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15506 # 1. Remove the extension, and $U if already installed.
15507 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15508 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15509 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15510 # will be set to the directory where LIBOBJS objects are built.
15511 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15512 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15514 LIBOBJS
=$ac_libobjs
15516 LTLIBOBJS
=$ac_ltlibobjs
15520 : "${CONFIG_STATUS=./config.status}"
15522 ac_clean_files_save
=$ac_clean_files
15523 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15525 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15527 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15529 # Generated by $as_me.
15530 # Run this file to recreate the current configuration.
15531 # Compiler output produced by configure, useful for debugging
15532 # configure, is in config.log if it exists.
15535 ac_cs_recheck=false
15538 SHELL=\${CONFIG_SHELL-$SHELL}
15541 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15542 ## -------------------- ##
15543 ## M4sh Initialization. ##
15544 ## -------------------- ##
15546 # Be more Bourne compatible
15547 DUALCASE
=1; export DUALCASE
# for MKS sh
15548 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15551 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15552 # is contrary to our usage. Disable this feature.
15553 alias -g '${1+"$@"}'='"$@"'
15554 setopt NO_GLOB_SUBST
15556 case `(set -o) 2>/dev/null` in #(
15568 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15569 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15570 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15572 # Prefer a ksh shell builtin over an external printf program on Solaris,
15573 # but without wasting forks for bash or zsh.
15574 if test -z "$BASH_VERSION$ZSH_VERSION" \
15575 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15576 as_echo='print
-r --'
15577 as_echo_n='print
-rn --'
15578 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15579 as_echo='printf %s
\n'
15580 as_echo_n='printf %s
'
15582 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15583 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15584 as_echo_n='/usr
/ucb
/echo -n'
15586 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15587 as_echo_n_body='eval
15591 expr "X$arg" : "X\\(.*\\)$as_nl";
15592 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15594 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15596 export as_echo_n_body
15597 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15599 export as_echo_body
15600 as_echo='sh
-c $as_echo_body as_echo
'
15603 # The user is always right.
15604 if test "${PATH_SEPARATOR+set}" != set; then
15606 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15607 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15614 # We need space, tab and new line, in precisely that order. Quoting is
15615 # there to prevent editors from complaining about space-tab.
15616 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15617 # splitting by setting IFS to empty value.)
15620 # Find who we are. Look in the path if we contain no directory separator.
15623 *[\\/]* ) as_myself=$0 ;;
15624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15625 for as_dir in $PATH
15628 test -z "$as_dir" && as_dir=.
15629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15635 # We did not find ourselves, most probably we were run as `sh COMMAND'
15636 # in which case we are not to be found in the path.
15637 if test "x$as_myself" = x
; then
15640 if test ! -f "$as_myself"; then
15641 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15645 # Unset variables that we do not need and which cause bugs (e.g. in
15646 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15647 # suppresses any "Segmentation fault" message there. '((' could
15648 # trigger a bug in pdksh 5.2.14.
15649 for as_var
in BASH_ENV ENV MAIL MAILPATH
15650 do eval test x\
${$as_var+set} = xset \
15651 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15664 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15667 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15668 # ----------------------------------------
15669 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15670 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15671 # script with STATUS, using 1 if that was 0.
15674 as_status
=$1; test $as_status -eq 0 && as_status
=1
15676 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15677 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15679 $as_echo "$as_me: error: $2" >&2
15680 as_fn_exit
$as_status
15684 # as_fn_set_status STATUS
15685 # -----------------------
15686 # Set $? to STATUS, without forking.
15687 as_fn_set_status
()
15690 } # as_fn_set_status
15692 # as_fn_exit STATUS
15693 # -----------------
15694 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15698 as_fn_set_status
$1
15704 # Portably unset VAR.
15707 { eval $1=; unset $1;}
15709 as_unset
=as_fn_unset
15710 # as_fn_append VAR VALUE
15711 # ----------------------
15712 # Append the text in VALUE to the end of the definition contained in VAR. Take
15713 # advantage of any shell optimizations that allow amortized linear growth over
15714 # repeated appends, instead of the typical quadratic growth present in naive
15716 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15717 eval 'as_fn_append ()
15728 # as_fn_arith ARG...
15729 # ------------------
15730 # Perform arithmetic evaluation on the ARGs, and store the result in the
15731 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15732 # must be portable across $(()) and expr.
15733 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15734 eval 'as_fn_arith ()
15741 as_val
=`expr "$@" || test $? -eq 1`
15746 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15747 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15753 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15754 as_basename
=basename
15759 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15765 as_me
=`$as_basename -- "$0" ||
15766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15767 X"$0" : 'X\(//\)$' \| \
15768 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15770 sed '/^.*\/\([^/][^/]*\)\/*$/{
15784 # Avoid depending upon Character Ranges.
15785 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15786 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15787 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15788 as_cr_digits
='0123456789'
15789 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15791 ECHO_C
= ECHO_N
= ECHO_T
=
15792 case `echo -n x` in #(((((
15794 case `echo 'xy\c'` in
15795 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15797 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15804 rm -f conf$$ conf$$.exe conf$$.
file
15805 if test -d conf$$.dir
; then
15806 rm -f conf$$.dir
/conf$$.
file
15809 mkdir conf$$.dir
2>/dev
/null
15811 if (echo >conf$$.
file) 2>/dev
/null
; then
15812 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15814 # ... but there are two gotchas:
15815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15817 # In both cases, we have to default to `cp -pR'.
15818 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15820 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15828 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15829 rmdir conf$$.dir
2>/dev
/null
15834 # Create "$as_dir" as a directory, including parents if necessary.
15839 -*) as_dir
=.
/$as_dir;;
15841 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15845 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15846 *) as_qdir
=$as_dir;;
15848 as_dirs
="'$as_qdir' $as_dirs"
15849 as_dir
=`$as_dirname -- "$as_dir" ||
15850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15851 X"$as_dir" : 'X\(//\)[^/]' \| \
15852 X"$as_dir" : 'X\(//\)$' \| \
15853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15854 $as_echo X"$as_dir" |
15855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15859 /^X\(\/\/\)[^/].*/{
15872 test -d "$as_dir" && break
15874 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15875 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15879 if mkdir
-p .
2>/dev
/null
; then
15880 as_mkdir_p
='mkdir -p "$as_dir"'
15882 test -d .
/-p && rmdir .
/-p
15887 # as_fn_executable_p FILE
15888 # -----------------------
15889 # Test if FILE is an executable regular file.
15890 as_fn_executable_p
()
15892 test -f "$1" && test -x "$1"
15893 } # as_fn_executable_p
15894 as_test_x
='test -x'
15895 as_executable_p
=as_fn_executable_p
15897 # Sed expression to map a string onto a valid CPP name.
15898 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15900 # Sed expression to map a string onto a valid variable name.
15901 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15905 ## ----------------------------------- ##
15906 ## Main body of $CONFIG_STATUS script. ##
15907 ## ----------------------------------- ##
15909 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15912 # Save the log message, to keep $0 and so on meaningful, and to
15913 # report actual input values of CONFIG_FILES etc. instead of their
15914 # values after options handling.
15916 This file was extended by $as_me, which was
15917 generated by GNU Autoconf 2.69. Invocation command line was
15919 CONFIG_FILES = $CONFIG_FILES
15920 CONFIG_HEADERS = $CONFIG_HEADERS
15921 CONFIG_LINKS = $CONFIG_LINKS
15922 CONFIG_COMMANDS = $CONFIG_COMMANDS
15925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15930 case $ac_config_files in *"
15931 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15934 case $ac_config_headers in *"
15935 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15940 # Files that config.status was made for.
15941 config_files="$ac_config_files"
15942 config_headers="$ac_config_headers"
15946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15948 \`$as_me' instantiates files and other configuration actions
15949 from templates according to the current configuration. Unless the files
15950 and actions are specified as TAGs, all are instantiated by default.
15952 Usage: $0 [OPTION]... [TAG]...
15954 -h, --help print this help, then exit
15955 -V, --version print version number and configuration settings, then exit
15956 --config print configuration, then exit
15957 -q, --quiet, --silent
15958 do not print progress messages
15959 -d, --debug don't remove temporary files
15960 --recheck update $as_me by reconfiguring in the same conditions
15961 --file=FILE[:TEMPLATE]
15962 instantiate the configuration file FILE
15963 --header=FILE[:TEMPLATE]
15964 instantiate the configuration header FILE
15966 Configuration files:
15969 Configuration headers:
15972 Report bugs to the package provider."
15975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15976 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15979 configured by $0, generated by GNU Autoconf 2.69,
15980 with options \\"\$ac_cs_config\\"
15982 Copyright (C) 2012 Free Software Foundation, Inc.
15983 This config.status script is free software; the Free Software Foundation
15984 gives unlimited permission to copy, distribute and modify it."
15988 test -n "\$AWK" || AWK=awk
15991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15992 # The default lists apply if the user does not specify any file.
15998 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15999 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16003 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16015 # Handling of the options.
16016 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16018 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16019 $as_echo "$ac_cs_version"; exit ;;
16020 --config |
--confi |
--conf |
--con |
--co |
--c )
16021 $as_echo "$ac_cs_config"; exit ;;
16022 --debug |
--debu |
--deb |
--de |
--d |
-d )
16024 --file |
--fil |
--fi |
--f )
16027 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16028 '') as_fn_error $?
"missing file argument" ;;
16030 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16031 ac_need_defaults
=false
;;
16032 --header |
--heade |
--head |
--hea )
16035 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16037 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16038 ac_need_defaults
=false
;;
16040 # Conflict between --help and --header
16041 as_fn_error $?
"ambiguous option: \`$1'
16042 Try \`$0 --help' for more information.";;
16043 --help |
--hel |
-h )
16044 $as_echo "$ac_cs_usage"; exit ;;
16045 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16046 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16049 # This is an error.
16050 -*) as_fn_error $?
"unrecognized option: \`$1'
16051 Try \`$0 --help' for more information." ;;
16053 *) as_fn_append ac_config_targets
" $1"
16054 ac_need_defaults
=false
;;
16060 ac_configure_extra_args
=
16062 if $ac_cs_silent; then
16064 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16069 if \$ac_cs_recheck; then
16070 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16072 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16073 CONFIG_SHELL='$SHELL'
16074 export CONFIG_SHELL
16079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16083 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16084 ## Running $as_me. ##
16090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16095 # Handling of arguments.
16096 for ac_config_target
in $ac_config_targets
16098 case $ac_config_target in
16099 "src/include/pcp/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/config.h" ;;
16100 "src/include/pcp/configsz.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/configsz.h" ;;
16101 "src/include/pcp/platform_defs.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platform_defs.h" ;;
16102 "src/include/pcp/platformsz.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platformsz.h" ;;
16103 "src/include/builddefs") CONFIG_FILES
="$CONFIG_FILES src/include/builddefs" ;;
16104 "src/include/pcp.conf") CONFIG_FILES
="$CONFIG_FILES src/include/pcp.conf" ;;
16105 "pcp.lsm") CONFIG_FILES
="$CONFIG_FILES pcp.lsm" ;;
16106 "debian/pcp.preinst.head") CONFIG_FILES
="$CONFIG_FILES debian/pcp.preinst.head" ;;
16107 "debian/pcp.postinst.head") CONFIG_FILES
="$CONFIG_FILES debian/pcp.postinst.head" ;;
16108 "build/tar/preinstall.head") CONFIG_FILES
="$CONFIG_FILES build/tar/preinstall.head" ;;
16109 "build/tar/postinstall.head") CONFIG_FILES
="$CONFIG_FILES build/tar/postinstall.head" ;;
16110 "build/GNUlocaldefs") CONFIG_FILES
="$CONFIG_FILES build/GNUlocaldefs" ;;
16111 "build/mac/uninstall-pcp") CONFIG_FILES
="$CONFIG_FILES build/mac/uninstall-pcp" ;;
16113 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16118 # If the user did not use the arguments to specify the items to instantiate,
16119 # then the envvar interface is used. Set only those that are not.
16120 # We use the long form for the default assignment because of an extremely
16121 # bizarre bug on SunOS 4.1.3.
16122 if $ac_need_defaults; then
16123 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16124 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16127 # Have a temporary directory for convenience. Make it in the build tree
16128 # simply because there is no reason against having it here, and in addition,
16129 # creating and moving files from /tmp can sometimes cause problems.
16130 # Hook for its removal unless debugging.
16131 # Note that there is a small window in which the directory will not be cleaned:
16132 # after its creation but before its name has been assigned to `$tmp'.
16136 trap 'exit_status=$?
16137 : "${ac_tmp:=$tmp}"
16138 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16140 trap 'as_fn_exit 1' 1 2 13 15
16142 # Create a (secure) tmp directory for tmp files.
16145 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16149 tmp
=.
/conf$$
-$RANDOM
16150 (umask 077 && mkdir
"$tmp")
16151 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16154 # Set up the scripts for CONFIG_FILES section.
16155 # No need to generate them if there are no CONFIG_FILES.
16156 # This happens for instance with `./config.status config.h'.
16157 if test -n "$CONFIG_FILES"; then
16160 ac_cr
=`echo X | tr X '\015'`
16161 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16162 # But we know of no other shell where ac_cr would be empty at this
16163 # point, so we can use a bashism as a fallback.
16164 if test "x$ac_cr" = x
; then
16165 eval ac_cr
=\$
\'\\r
\'
16167 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16168 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16171 ac_cs_awk_cr
=$ac_cr
16174 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16179 echo "cat >conf$$subs.awk <<_ACEOF" &&
16180 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16182 } >conf$$subs.sh ||
16183 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16184 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16186 for ac_last_try in false false false false false :; do
16187 . ./conf$$subs.sh ||
16188 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16190 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16191 if test $ac_delim_n = $ac_delim_num; then
16193 elif $ac_last_try; then
16194 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16196 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16199 rm -f conf$$subs.sh
16201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16202 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16206 s/^/S["/; s
/!.
*/"]=/
16216 s/\(.\{148\}\)..*/\1/
16218 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16223 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16230 s/\(.\{148\}\)..*/\1/
16232 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16236 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16241 ' <conf$$subs.awk | sed '
16246 ' >>$CONFIG_STATUS || ac_write_fail=1
16247 rm -f conf$$subs.awk
16248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16250 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16251 for (key in S) S_is_set[key] = 1
16257 nfields = split(line, field, "@
")
16259 len = length(field[1])
16260 for (i = 2; i < nfields; i++) {
16262 keylen = length(key)
16263 if (S_is_set[key]) {
16265 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16266 len += length(value) + length(field[++i])
16277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16278 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16279 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16282 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16283 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16286 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16287 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16288 # trailing colons and then remove the whole line if VPATH becomes empty
16289 # (actually we leave an empty line to preserve line numbers).
16290 if test "x
$srcdir" = x.; then
16291 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16310 fi # test -n "$CONFIG_FILES"
16312 # Set up the scripts for CONFIG_HEADERS section.
16313 # No need to generate them if there are no CONFIG_HEADERS.
16314 # This happens for instance with `./config.status Makefile'.
16315 if test -n "$CONFIG_HEADERS"; then
16316 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16320 # Transform confdefs.h into an awk script `defines.awk', embedded as
16321 # here-document in config.status, that substitutes the proper values into
16322 # config.h.in to produce config.h.
16324 # Create a delimiter string that does not exist in confdefs.h, to ease
16325 # handling of long lines.
16327 for ac_last_try in false false :; do
16328 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16329 if test -z "$ac_tt"; then
16331 elif $ac_last_try; then
16332 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16334 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16338 # For the awk script, D is an array of macro values keyed by name,
16339 # likewise P contains macro parameters if any. Preserve backslash
16340 # newline sequences.
16342 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16344 s/.\{148\}/&'"$ac_delim"'/g
16347 s/^[ ]*#[ ]*define[ ][ ]*/ /
16354 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16356 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16360 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16361 D["\
1"]=" \
3\\\\\\n
"\\/p
16363 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16368 s/.\{148\}/&'"$ac_delim"'/g
16373 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16376 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16378 ' <confdefs.h | sed '
16379 s/'"$ac_delim"'/"\\\
16380 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16383 for (key in D) D_is_set[key] = 1
16386 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16388 split(line, arg, " ")
16389 if (arg[1] == "#") {
16393 defundef
= substr
(arg
[1], 2)
16396 split(mac1
, mac2
, "(") #)
16398 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16399 if (D_is_set
[macro
]) {
16400 # Preserve the white space surrounding the "#".
16401 print prefix
"define", macro P
[macro
] D
[macro
]
16404 # Replace #undef with comments. This is necessary, for example,
16405 # in the case of _POSIX_SOURCE, which is predefined and required
16406 # on some systems where configure will not decide to define it.
16407 if (defundef
== "undef") {
16408 print
"/*", prefix defundef
, macro
, "*/"
16416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16417 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16418 fi # test -n "$CONFIG_HEADERS"
16421 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16426 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16428 case $ac_mode$ac_tag in
16430 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16431 :[FH
]-) ac_tag
=-:-;;
16432 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16449 -) ac_f
="$ac_tmp/stdin";;
16450 *) # Look for the file first in the build tree, then in the source tree
16451 # (if the path is not absolute). The absolute path cannot be DOS-style,
16452 # because $ac_f cannot contain `:'.
16456 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16458 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16460 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16461 as_fn_append ac_file_inputs
" '$ac_f'"
16464 # Let's still pretend it is `configure' which instantiates (i.e., don't
16465 # use $as_me), people would be surprised to read:
16466 # /* config.h. Generated by config.status. */
16467 configure_input
='Generated from '`
16468 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16470 if test x
"$ac_file" != x-
; then
16471 configure_input
="$ac_file. $configure_input"
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16473 $as_echo "$as_me: creating $ac_file" >&6;}
16475 # Neutralize special characters interpreted by sed in replacement strings.
16476 case $configure_input in #(
16477 *\
&* |
*\|
* |
*\\* )
16478 ac_sed_conf_input
=`$as_echo "$configure_input" |
16479 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16480 *) ac_sed_conf_input
=$configure_input;;
16484 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16485 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16490 ac_dir
=`$as_dirname -- "$ac_file" ||
16491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16492 X"$ac_file" : 'X\(//\)[^/]' \| \
16493 X"$ac_file" : 'X\(//\)$' \| \
16494 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16495 $as_echo X"$ac_file" |
16496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16500 /^X\(\/\/\)[^/].*/{
16513 as_dir
="$ac_dir"; as_fn_mkdir_p
16517 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16519 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16520 # A ".." for each directory in $ac_dir_suffix.
16521 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16522 case $ac_top_builddir_sub in
16523 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16524 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16527 ac_abs_top_builddir
=$ac_pwd
16528 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16529 # for backward compatibility:
16530 ac_top_builddir
=$ac_top_build_prefix
16533 .
) # We are building in place.
16535 ac_top_srcdir
=$ac_top_builddir_sub
16536 ac_abs_top_srcdir
=$ac_pwd ;;
16537 [\\/]* | ?
:[\\/]* ) # Absolute name.
16538 ac_srcdir
=$srcdir$ac_dir_suffix;
16539 ac_top_srcdir
=$srcdir
16540 ac_abs_top_srcdir
=$srcdir ;;
16541 *) # Relative name.
16542 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16543 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16544 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16546 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16558 # If the template does not know about datarootdir, expand it.
16559 # FIXME: This hack should be removed a few years after 2.60.
16560 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16571 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16572 *datarootdir
*) ac_datarootdir_seen
=yes;;
16573 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16575 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16578 ac_datarootdir_hack='
16579 s&@datadir@&$datadir&g
16580 s&@docdir@&$docdir&g
16581 s&@infodir@&$infodir&g
16582 s&@localedir@&$localedir&g
16583 s&@mandir@&$mandir&g
16584 s&\\\${datarootdir}&$datarootdir&g' ;;
16588 # Neutralize VPATH when `$srcdir' = `.'.
16589 # Shell code in configure.ac might set extrasub.
16590 # FIXME: do we really want to maintain this feature?
16591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16592 ac_sed_extra="$ac_vpsub
16595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16597 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16598 s|@configure_input@|
$ac_sed_conf_input|
;t t
16599 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16600 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16601 s
&@srcdir@
&$ac_srcdir&;t t
16602 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16603 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16604 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16605 s
&@builddir@
&$ac_builddir&;t t
16606 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16607 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16608 $ac_datarootdir_hack
16610 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16611 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16613 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16614 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16615 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16616 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16618 which seems to be undefined. Please make sure it is defined" >&5
16619 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16620 which seems to be undefined. Please make sure it is defined" >&2;}
16622 rm -f "$ac_tmp/stdin"
16624 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16625 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16627 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16633 if test x"$ac_file" != x-; then
16635 $as_echo "/* $configure_input */" \
16636 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16637 } >"$ac_tmp/config.h" \
16638 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16639 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16641 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16644 mv "$ac_tmp/config.h" "$ac_file" \
16645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16648 $as_echo "/* $configure_input */" \
16649 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16650 || as_fn_error $? "could not create -" "$LINENO" 5
16662 ac_clean_files=$ac_clean_files_save
16664 test $ac_write_fail = 0 ||
16665 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16668 # configure is writing to config.log, and then calls config.status.
16669 # config.status does its own redirection, appending to config.log.
16670 # Unfortunately, on DOS this fails, as config.log is still kept open
16671 # by configure, so config.status won't be able to
write to it
; its
16672 # output is simply discarded. So we exec the FD to /dev/null,
16673 # effectively closing config.log, so it can be properly (re)opened and
16674 # appended to by config.status. When coming back to configure, we
16675 # need to make the FD available again.
16676 if test "$no_create" != yes; then
16678 ac_config_status_args
=
16679 test "$silent" = yes &&
16680 ac_config_status_args
="$ac_config_status_args --quiet"
16682 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16684 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16685 # would make configure fail if this is the last instruction.
16686 $ac_cs_success || as_fn_exit
1
16688 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16690 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}