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
809 have_python_setuptools
810 have_python_jsonpointer
829 SYSTEMD_SYSTEMUNITDIR
929 program_transform_name
942 enable_option_checking
977 with_perl_installdirs
978 with_perl_install_base
989 ac_precious_vars
='build_alias
1008 SYSTEMD_SYSTEMUNITDIR
1015 libmicrohttpd_CFLAGS
1024 # Initialize some variables set by options.
1026 ac_init_version
=false
1027 ac_unrecognized_opts
=
1028 ac_unrecognized_sep
=
1029 # The variables have the same names as the options, with
1030 # dashes changed to underlines.
1031 cache_file
=/dev
/null
1038 program_transform_name
=s
,x
,x
,
1046 # Installation directory options.
1047 # These are left unexpanded so users can "make install exec_prefix=/foo"
1048 # and all the variables that are supposed to be based on exec_prefix
1049 # by default will actually change.
1050 # Use braces instead of parens because sh, perl, etc. also accept them.
1051 # (The list follows the same order as the GNU Coding Standards.)
1052 bindir
='${exec_prefix}/bin'
1053 sbindir
='${exec_prefix}/sbin'
1054 libexecdir
='${exec_prefix}/libexec'
1055 datarootdir
='${prefix}/share'
1056 datadir
='${datarootdir}'
1057 sysconfdir
='${prefix}/etc'
1058 sharedstatedir
='${prefix}/com'
1059 localstatedir
='${prefix}/var'
1060 includedir
='${prefix}/include'
1061 oldincludedir
='/usr/include'
1062 docdir
='${datarootdir}/doc/${PACKAGE}'
1063 infodir
='${datarootdir}/info'
1068 libdir
='${exec_prefix}/lib'
1069 localedir
='${datarootdir}/locale'
1070 mandir
='${datarootdir}/man'
1076 # If the previous option needs an argument, assign it.
1077 if test -n "$ac_prev"; then
1078 eval $ac_prev=\
$ac_option
1084 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1089 # Accept the important Cygnus configure options, so we can diagnose typos.
1091 case $ac_dashdash$ac_option in
1095 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1097 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1098 bindir
=$ac_optarg ;;
1100 -build |
--build |
--buil |
--bui |
--bu)
1101 ac_prev
=build_alias
;;
1102 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1103 build_alias
=$ac_optarg ;;
1105 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1106 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1107 ac_prev
=cache_file
;;
1108 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1109 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1110 cache_file
=$ac_optarg ;;
1112 --config-cache |
-C)
1113 cache_file
=config.cache
;;
1115 -datadir |
--datadir |
--datadi |
--datad)
1117 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1118 datadir
=$ac_optarg ;;
1120 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1121 |
--dataroo |
--dataro |
--datar)
1122 ac_prev
=datarootdir
;;
1123 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1124 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1125 datarootdir
=$ac_optarg ;;
1127 -disable-* |
--disable-*)
1128 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1131 as_fn_error $?
"invalid feature name: $ac_useropt"
1132 ac_useropt_orig
=$ac_useropt
1133 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1136 "enable_
$ac_useropt"
1138 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1139 ac_unrecognized_sep
=', ';;
1141 eval enable_
$ac_useropt=no
;;
1143 -docdir |
--docdir |
--docdi |
--doc |
--do)
1145 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1146 docdir
=$ac_optarg ;;
1148 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1150 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1151 dvidir
=$ac_optarg ;;
1153 -enable-* |
--enable-*)
1154 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1157 as_fn_error $?
"invalid feature name: $ac_useropt"
1158 ac_useropt_orig
=$ac_useropt
1159 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1162 "enable_
$ac_useropt"
1164 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1165 ac_unrecognized_sep
=', ';;
1167 eval enable_
$ac_useropt=\
$ac_optarg ;;
1169 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1170 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1171 |
--exec |
--exe |
--ex)
1172 ac_prev
=exec_prefix
;;
1173 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1174 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1175 |
--exec=* |
--exe=* |
--ex=*)
1176 exec_prefix
=$ac_optarg ;;
1178 -gas |
--gas |
--ga |
--g)
1179 # Obsolete; use --with-gas.
1182 -help |
--help |
--hel |
--he |
-h)
1183 ac_init_help
=long
;;
1184 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1185 ac_init_help
=recursive
;;
1186 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1187 ac_init_help
=short
;;
1189 -host |
--host |
--hos |
--ho)
1190 ac_prev
=host_alias
;;
1191 -host=* |
--host=* |
--hos=* |
--ho=*)
1192 host_alias
=$ac_optarg ;;
1194 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1196 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1198 htmldir
=$ac_optarg ;;
1200 -includedir |
--includedir |
--includedi |
--included |
--include \
1201 |
--includ |
--inclu |
--incl |
--inc)
1202 ac_prev
=includedir
;;
1203 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1204 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1205 includedir
=$ac_optarg ;;
1207 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1209 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1210 infodir
=$ac_optarg ;;
1212 -libdir |
--libdir |
--libdi |
--libd)
1214 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1215 libdir
=$ac_optarg ;;
1217 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1218 |
--libexe |
--libex |
--libe)
1219 ac_prev
=libexecdir
;;
1220 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1221 |
--libexe=* |
--libex=* |
--libe=*)
1222 libexecdir
=$ac_optarg ;;
1224 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1225 ac_prev
=localedir
;;
1226 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1227 localedir
=$ac_optarg ;;
1229 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1230 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1231 ac_prev
=localstatedir
;;
1232 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1233 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1234 localstatedir
=$ac_optarg ;;
1236 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1238 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1239 mandir
=$ac_optarg ;;
1241 -nfp |
--nfp |
--nf)
1242 # Obsolete; use --without-fp.
1245 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1246 |
--no-cr |
--no-c |
-n)
1249 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1250 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1253 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1254 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1255 |
--oldin |
--oldi |
--old |
--ol |
--o)
1256 ac_prev
=oldincludedir
;;
1257 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1258 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1259 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1260 oldincludedir
=$ac_optarg ;;
1262 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1264 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1265 prefix
=$ac_optarg ;;
1267 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1268 |
--program-pre |
--program-pr |
--program-p)
1269 ac_prev
=program_prefix
;;
1270 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1271 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1272 program_prefix
=$ac_optarg ;;
1274 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1275 |
--program-suf |
--program-su |
--program-s)
1276 ac_prev
=program_suffix
;;
1277 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1278 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1279 program_suffix
=$ac_optarg ;;
1281 -program-transform-name |
--program-transform-name \
1282 |
--program-transform-nam |
--program-transform-na \
1283 |
--program-transform-n |
--program-transform- \
1284 |
--program-transform |
--program-transfor \
1285 |
--program-transfo |
--program-transf \
1286 |
--program-trans |
--program-tran \
1287 |
--progr-tra |
--program-tr |
--program-t)
1288 ac_prev
=program_transform_name
;;
1289 -program-transform-name=* |
--program-transform-name=* \
1290 |
--program-transform-nam=* |
--program-transform-na=* \
1291 |
--program-transform-n=* |
--program-transform-=* \
1292 |
--program-transform=* |
--program-transfor=* \
1293 |
--program-transfo=* |
--program-transf=* \
1294 |
--program-trans=* |
--program-tran=* \
1295 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1296 program_transform_name
=$ac_optarg ;;
1298 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1300 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1301 pdfdir
=$ac_optarg ;;
1303 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1305 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1308 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1309 |
-silent |
--silent |
--silen |
--sile |
--sil)
1312 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1314 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1316 sbindir
=$ac_optarg ;;
1318 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1319 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1320 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1322 ac_prev
=sharedstatedir
;;
1323 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1324 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1325 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1327 sharedstatedir
=$ac_optarg ;;
1329 -site |
--site |
--sit)
1331 -site=* |
--site=* |
--sit=*)
1334 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1336 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1337 srcdir
=$ac_optarg ;;
1339 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1340 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1341 ac_prev
=sysconfdir
;;
1342 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1343 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1344 sysconfdir
=$ac_optarg ;;
1346 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1347 ac_prev
=target_alias
;;
1348 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1349 target_alias
=$ac_optarg ;;
1351 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1354 -version |
--version |
--versio |
--versi |
--vers |
-V)
1355 ac_init_version
=: ;;
1358 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1359 # Reject names that are not valid shell variable names.
1360 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1361 as_fn_error $?
"invalid package name: $ac_useropt"
1362 ac_useropt_orig
=$ac_useropt
1363 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1364 case $ac_user_opts in
1368 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1369 ac_unrecognized_sep
=', ';;
1371 eval with_
$ac_useropt=\
$ac_optarg ;;
1373 -without-* |
--without-*)
1374 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1375 # Reject names that are not valid shell variable names.
1376 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1377 as_fn_error $?
"invalid package name: $ac_useropt"
1378 ac_useropt_orig
=$ac_useropt
1379 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1380 case $ac_user_opts in
1384 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1385 ac_unrecognized_sep
=', ';;
1387 eval with_
$ac_useropt=no
;;
1390 # Obsolete; use --with-x.
1393 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1394 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1395 ac_prev
=x_includes
;;
1396 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1397 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1398 x_includes
=$ac_optarg ;;
1400 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1401 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1402 ac_prev
=x_libraries
;;
1403 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1404 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1405 x_libraries
=$ac_optarg ;;
1407 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1408 Try \`$0 --help' for more information"
1412 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1413 # Reject names that are not valid shell variable names.
1414 case $ac_envvar in #(
1415 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1416 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1418 eval $ac_envvar=\
$ac_optarg
1419 export $ac_envvar ;;
1422 # FIXME: should be removed in autoconf 3.0.
1423 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1425 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1432 if test -n "$ac_prev"; then
1433 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1434 as_fn_error $?
"missing argument to $ac_option"
1437 if test -n "$ac_unrecognized_opts"; then
1438 case $enable_option_checking in
1440 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1441 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1445 # Check all directory arguments for consistency.
1446 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1447 datadir sysconfdir sharedstatedir localstatedir includedir \
1448 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1449 libdir localedir mandir
1451 eval ac_val
=\$
$ac_var
1452 # Remove trailing slashes.
1455 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1456 eval $ac_var=\
$ac_val;;
1458 # Be sure to have absolute directory names.
1460 [\\/$
]* | ?
:[\\/]* ) continue;;
1461 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1463 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1466 # There might be people who depend on the old broken behavior: `$host'
1467 # used to hold the argument of --host etc.
1468 # FIXME: To remove some day.
1471 target
=$target_alias
1473 # FIXME: To remove some day.
1474 if test "x$host_alias" != x
; then
1475 if test "x$build_alias" = x
; then
1476 cross_compiling
=maybe
1477 elif test "x$build_alias" != "x$host_alias"; then
1483 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1485 test "$silent" = yes && exec 6>/dev
/null
1488 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1489 ac_ls_di
=`ls -di .` &&
1490 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1491 as_fn_error $?
"working directory cannot be determined"
1492 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1493 as_fn_error $?
"pwd does not report name of working directory"
1496 # Find the source files, if location was not specified.
1497 if test -z "$srcdir"; then
1498 ac_srcdir_defaulted
=yes
1499 # Try the directory containing this script, then the parent directory.
1500 ac_confdir
=`$as_dirname -- "$as_myself" ||
1501 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1502 X"$as_myself" : 'X\(//\)[^/]' \| \
1503 X"$as_myself" : 'X\(//\)$' \| \
1504 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1505 $as_echo X"$as_myself" |
1506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1524 if test ! -r "$srcdir/$ac_unique_file"; then
1528 ac_srcdir_defaulted
=no
1530 if test ! -r "$srcdir/$ac_unique_file"; then
1531 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1532 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1534 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1536 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1538 # When building in place, set srcdir=.
1539 if test "$ac_abs_confdir" = "$ac_pwd"; then
1542 # Remove unnecessary trailing slashes from srcdir.
1543 # Double slashes in file names in object file debugging info
1544 # mess up M-x gdb in Emacs.
1546 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1548 for ac_var
in $ac_precious_vars; do
1549 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1550 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1551 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1552 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1556 # Report the --help message.
1558 if test "$ac_init_help" = "long"; then
1559 # Omit some internal or obsolete options to make the list less imposing.
1560 # This message is too long to be a string in the A/UX 3.1 sh.
1562 \`configure' configures this package to adapt to many kinds of systems.
1564 Usage: $0 [OPTION]... [VAR=VALUE]...
1566 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1567 VAR=VALUE. See below for descriptions of some of the useful variables.
1569 Defaults for the options are specified in brackets.
1572 -h, --help display this help and exit
1573 --help=short display options specific to this package
1574 --help=recursive display the short help of all the included packages
1575 -V, --version display version information and exit
1576 -q, --quiet, --silent do not print \`checking ...' messages
1577 --cache-file=FILE cache test results in FILE [disabled]
1578 -C, --config-cache alias for \`--cache-file=config.cache'
1579 -n, --no-create do not create output files
1580 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1582 Installation directories:
1583 --prefix=PREFIX install architecture-independent files in PREFIX
1584 [$ac_default_prefix]
1585 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1588 By default, \`make install' will install all the files in
1589 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1590 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1591 for instance \`--prefix=\$HOME'.
1593 For better control, use the options below.
1595 Fine tuning of the installation directories:
1596 --bindir=DIR user executables [EPREFIX/bin]
1597 --sbindir=DIR system admin executables [EPREFIX/sbin]
1598 --libexecdir=DIR program executables [EPREFIX/libexec]
1599 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1600 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1601 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1602 --libdir=DIR object code libraries [EPREFIX/lib]
1603 --includedir=DIR C header files [PREFIX/include]
1604 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1605 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1606 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1607 --infodir=DIR info documentation [DATAROOTDIR/info]
1608 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1609 --mandir=DIR man documentation [DATAROOTDIR/man]
1610 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1611 --htmldir=DIR html documentation [DOCDIR]
1612 --dvidir=DIR dvi documentation [DOCDIR]
1613 --pdfdir=DIR pdf documentation [DOCDIR]
1614 --psdir=DIR ps documentation [DOCDIR]
1620 --x-includes=DIR X include files are
in DIR
1621 --x-libraries=DIR X library files are
in DIR
1624 --build=BUILD configure
for building on BUILD
[guessed
]
1625 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1626 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1630 if test -n "$ac_init_help"; then
1635 --disable-option-checking ignore unrecognized
--enable/--with options
1636 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1637 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1638 --disable-ssp disable gcc stack-protector
1639 --disable-pie disable position-independent-executable
1640 --disable-visibility disable gcc symbol visibility
1641 --disable-shared disable core shared libary generation
1644 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1645 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1646 --with-64bit turn on
64 bit compilation mode
(default is platform
1648 --with-optimization enable optimization
for C
/C
++ code
(default is
yes)
1649 --with-threads enable support
for multiple threads
(default is on
)
1650 --with-secure-sockets enable support
for secure sockets
(default is on
)
1651 --with-static-probes enable support
for static probes
(default is on
)
1652 --with-infiniband enable support
for Infiniband metrics
(default is
1654 --with-user user account under
which daemons run
(default is
1656 --with-group user group under
which daemons run
(default is pcp
)
1657 --with-discovery enable support
for service discovery
(default is on
)
1658 --with-systemd enable support
for systemd services
(default is on
)
1659 --with-qt enable support
for tools requiring Qt
(default is
1661 --with-qt3d enable support
for 3D scene graph API
(default is
1663 --with-python enable support
for tools requiring Python
(default
1665 --with-python3 enable support
for tools requiring Python3
(default
1667 --with-books enable building of the PCP books
(default is off
)
1668 --with-books-brand=BRAND
1669 choose the docbook brand when building the PCP books
1671 --with-papi[=DIR|
=MODULE
]
1672 enable performance api counter pmda
(default is on
)
1673 The optional argument may be a full path of a PAPI
1674 installation prefix
, or a pkgconfig module name.
1675 --with-perfevent enable perfevent pmda
(default is on
)
1676 --with-pmdajson enable JSON pmda
(default is on
)
1677 --with-pmdasnmp enable SNMP pmda
(default is on
)
1678 --with-manager enable daemon manager
(default is on
)
1679 --with-webapi enable REST API daemon
(default is on
)
1680 --with-webjs enable building of webjs packages
(default is off
)
1681 --with-vector enable building of vector package
(default is off
)
1682 --with-parfait enable building of parfait package
(default is off
)
1683 --with-selinux enable building of selinux package
(default is on
)
1684 --with-make path to GNU compatible
make(1) (default is empty
for
1686 --with-tar path to GNU compatible
tar(1) (default is empty
for
1688 --with-zip path to GNU compatible
zip(1) (default is empty
for
1690 --with-configdir configuration directory
[LOCALSTATEDIR
/pcp
/config
]
1691 --with-perl_installdirs perl installdirs
[vendor
]
1692 --with-perl_install_base
1693 perl install_base
[PREFIX
]
1694 --with-python_prefix python setup.py prefix
[PREFIX
]
1695 --with-x use the X Window System
1696 --with-rcdir rc directory
[SYSCONFDIR
/rc.d
]
1697 --with-sysconfigdir sysconfig directory
[SYSCONFDIR
/sysconfig
]
1698 --with-logdir log directory
[LOCALSTATEDIR
/log
/pcp
]
1699 --with-rundir run directory
[LOCALSTATEDIR
/run
/pcp
]
1700 --with-tmpdir tmp directory
[LOCALSTATEDIR
/tmp
]
1701 --with-docdir docs directory
[DOCDIR
/pcp-VERSION
]
1702 --with-demosdir run directory
[DATADIR
/pcp
/demos
]
1704 Some influential environment variables
:
1705 PKG_CONFIG path to pkg-config utility
1707 directories to add to pkg-config
's search path
1709 path overriding pkg-config's built-in search path
1710 CC C compiler
command
1711 CFLAGS C compiler flags
1712 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1713 nonstandard directory
<lib dir
>
1714 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1715 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1716 you have headers
in a nonstandard directory
<include dir
>
1717 CXX C
++ compiler
command
1718 CXXFLAGS C
++ compiler flags
1719 YACC The
`Yet Another Compiler Compiler' implementation to use.
1720 Defaults to the first program found out of: `bison
-y', `byacc',
1722 YFLAGS The list of arguments that will be passed by default to $YACC.
1723 This script will default YFLAGS to the empty string to avoid a
1724 default value of `-d' given by some make applications.
1727 C compiler flags for avahi, overriding pkg-config
1728 avahi_LIBS linker flags for avahi, overriding pkg-config
1729 SYSTEMD_SYSTEMUNITDIR
1730 value of systemdsystemunitdir for systemd, overriding pkg-config
1732 C compiler flags for ncurses, overriding pkg-config
1734 linker flags for ncurses, overriding pkg-config
1736 C compiler flags for SYSTEMD, overriding pkg-config
1738 linker flags for SYSTEMD, overriding pkg-config
1739 papi_CFLAGS C compiler flags for papi, overriding pkg-config
1740 papi_LIBS linker flags for papi, overriding pkg-config
1741 libmicrohttpd_CFLAGS
1742 C compiler flags for libmicrohttpd, overriding pkg-config
1744 linker flags for libmicrohttpd, overriding pkg-config
1746 C compiler flags for cairo, overriding pkg-config
1747 cairo_LIBS linker flags for cairo, overriding pkg-config
1748 XMKMF Path to xmkmf, Makefile generator for X Window System
1749 zlib_CFLAGS C compiler flags for zlib, overriding pkg-config
1750 zlib_LIBS linker flags for zlib, overriding pkg-config
1752 Use these variables to override the choices made by `configure' or to
help
1753 it to
find libraries and programs with nonstandard names
/locations.
1755 Report bugs to the package provider.
1760 if test "$ac_init_help" = "recursive"; then
1761 # If there are subdirs, report their specific --help.
1762 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1763 test -d "$ac_dir" ||
1764 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1769 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1771 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1772 # A ".." for each directory in $ac_dir_suffix.
1773 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1774 case $ac_top_builddir_sub in
1775 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1776 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1779 ac_abs_top_builddir
=$ac_pwd
1780 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1781 # for backward compatibility:
1782 ac_top_builddir
=$ac_top_build_prefix
1785 .
) # We are building in place.
1787 ac_top_srcdir
=$ac_top_builddir_sub
1788 ac_abs_top_srcdir
=$ac_pwd ;;
1789 [\\/]* | ?
:[\\/]* ) # Absolute name.
1790 ac_srcdir
=$srcdir$ac_dir_suffix;
1791 ac_top_srcdir
=$srcdir
1792 ac_abs_top_srcdir
=$srcdir ;;
1794 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1795 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1796 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1798 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1800 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1801 # Check for guested configure.
1802 if test -f "$ac_srcdir/configure.gnu"; then
1804 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1805 elif test -f "$ac_srcdir/configure"; then
1807 $SHELL "$ac_srcdir/configure" --help=recursive
1809 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1811 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1815 test -n "$ac_init_help" && exit $ac_status
1816 if $ac_init_version; then
1819 generated by GNU Autoconf
2.69
1821 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1822 This configure
script is free software
; the Free Software Foundation
1823 gives unlimited permission to copy
, distribute and modify it.
1828 ## ------------------------ ##
1829 ## Autoconf initialization. ##
1830 ## ------------------------ ##
1832 # ac_fn_c_try_compile LINENO
1833 # --------------------------
1834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_c_try_compile
()
1837 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1838 rm -f conftest.
$ac_objext
1839 if { { ac_try
="$ac_compile"
1841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_compile") 2>conftest.err
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest.$ac_objext; then :
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status $ac_retval
1868 } # ac_fn_c_try_compile
1870 # ac_fn_c_try_link LINENO
1871 # -----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 rm -f conftest.$ac_objext conftest$ac_exeext
1877 if { { ac_try="$ac_link"
1879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1880 *) ac_try_echo
=$ac_try;;
1882 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>conftest.err
1886 if test -s conftest.err
; then
1887 grep -v '^ *+' conftest.err
>conftest.er1
1888 cat conftest.er1
>&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_c_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest
$ac_exeext && {
1896 test "$cross_compiling" = yes ||
1897 test -x conftest
$ac_exeext
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.
$ac_ext >&5
1906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908 # interfere with the next link command; also delete a directory that is
1909 # left behind by Apple's compiler. We do this before executing the actions.
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 as_fn_set_status
$ac_retval
1914 } # ac_fn_c_try_link
1916 # ac_fn_cxx_try_compile LINENO
1917 # ----------------------------
1918 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_cxx_try_compile
()
1921 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1922 rm -f conftest.
$ac_objext
1923 if { { ac_try
="$ac_compile"
1925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_compile") 2>conftest.err
1932 if test -s conftest.err; then
1933 grep -v '^ *+' conftest.err >conftest.er1
1934 cat conftest.er1 >&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_cxx_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest.$ac_objext; then :
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.$ac_ext >&5
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 as_fn_set_status $ac_retval
1952 } # ac_fn_cxx_try_compile
1954 # ac_fn_c_try_cpp LINENO
1955 # ----------------------
1956 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_cpp conftest.$ac_ext"
1962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1963 *) ac_try_echo
=$ac_try;;
1965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1969 if test -s conftest.err
; then
1970 grep -v '^ *+' conftest.err
>conftest.er1
1971 cat conftest.er1
>&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } > conftest.i
&& {
1976 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1977 test ! -s conftest.err
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.
$ac_ext >&5
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status
$ac_retval
1991 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1992 # -------------------------------------------------------
1993 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1994 # the include files in INCLUDES and setting the cache variable VAR
1996 ac_fn_c_check_header_mongrel
()
1998 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1999 if eval \
${$3+:} false
; then :
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001 $as_echo_n "checking for $2... " >&6; }
2002 if eval \
${$3+:} false
; then :
2003 $as_echo_n "(cached) " >&6
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2009 # Is the header compilable?
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2011 $as_echo_n "checking $2 usability... " >&6; }
2012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2017 if ac_fn_c_try_compile
"$LINENO"; then :
2018 ac_header_compiler
=yes
2020 ac_header_compiler
=no
2022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2024 $as_echo "$ac_header_compiler" >&6; }
2026 # Is the header present?
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2028 $as_echo_n "checking $2 presence... " >&6; }
2029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2033 if ac_fn_c_try_cpp
"$LINENO"; then :
2034 ac_header_preproc
=yes
2036 ac_header_preproc
=no
2038 rm -f conftest.err conftest.i conftest.
$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2040 $as_echo "$ac_header_preproc" >&6; }
2042 # So? What about this header?
2043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2046 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2048 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2052 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2054 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2056 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2058 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2060 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064 $as_echo_n "checking for $2... " >&6; }
2065 if eval \
${$3+:} false
; then :
2066 $as_echo_n "(cached) " >&6
2068 eval "$3=\$ac_header_compiler"
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076 } # ac_fn_c_check_header_mongrel
2078 # ac_fn_c_try_run LINENO
2079 # ----------------------
2080 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2081 # that executables *can* be run.
2084 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2085 if { { ac_try
="$ac_link"
2087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2088 *) ac_try_echo=$ac_try;;
2090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 $as_echo "$ac_try_echo"; } >&5
2092 (eval "$ac_link") 2>&5
2094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2095 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2096 { { case "(($ac_try" in
2097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2098 *) ac_try_echo
=$ac_try;;
2100 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2101 $as_echo "$ac_try_echo"; } >&5
2102 (eval "$ac_try") 2>&5
2104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2105 test $ac_status = 0; }; }; then :
2108 $as_echo "$as_me: program exited with status $ac_status" >&5
2109 $as_echo "$as_me: failed program was:" >&5
2110 sed 's/^/| /' conftest.
$ac_ext >&5
2112 ac_retval
=$ac_status
2114 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2116 as_fn_set_status
$ac_retval
2120 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2121 # -------------------------------------------------------
2122 # Tests whether HEADER exists and can be compiled using the include files in
2123 # INCLUDES, setting the cache variable VAR accordingly.
2124 ac_fn_c_check_header_compile
()
2126 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2128 $as_echo_n "checking for $2... " >&6; }
2129 if eval \
${$3+:} false
; then :
2130 $as_echo_n "(cached) " >&6
2132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2137 if ac_fn_c_try_compile
"$LINENO"; then :
2142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2146 $as_echo "$ac_res" >&6; }
2147 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149 } # ac_fn_c_check_header_compile
2151 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2152 # -------------------------------------------
2153 # Tests whether TYPE exists after having included INCLUDES, setting cache
2154 # variable VAR accordingly.
2155 ac_fn_c_check_type
()
2157 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2159 $as_echo_n "checking for $2... " >&6; }
2160 if eval \
${$3+:} false
; then :
2161 $as_echo_n "(cached) " >&6
2164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2165 /* end confdefs.h. */
2176 if ac_fn_c_try_compile
"$LINENO"; then :
2177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2189 if ac_fn_c_try_compile
"$LINENO"; then :
2194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2203 } # ac_fn_c_check_type
2205 # ac_fn_c_check_func LINENO FUNC VAR
2206 # ----------------------------------
2207 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2208 ac_fn_c_check_func
()
2210 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2212 $as_echo_n "checking for $2... " >&6; }
2213 if eval \
${$3+:} false
; then :
2214 $as_echo_n "(cached) " >&6
2216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2218 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2220 #define $2 innocuous_$2
2222 /* System header to define __stub macros and hopefully few prototypes,
2223 which can conflict with char $2 (); below.
2224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2225 <limits.h> exists even on freestanding compilers. */
2228 # include <limits.h>
2230 # include <assert.h>
2235 /* Override any GCC internal prototype to avoid an error.
2236 Use char because int might match the return type of a GCC
2237 builtin and then its argument prototype would still apply. */
2242 /* The GNU C library defines this for functions which it implements
2243 to always fail with ENOSYS. Some functions are actually named
2244 something starting with __ and the normal name is an alias. */
2245 #if defined __stub_$2 || defined __stub___$2
2257 if ac_fn_c_try_link
"$LINENO"; then :
2262 rm -f core conftest.err conftest.
$ac_objext \
2263 conftest
$ac_exeext conftest.
$ac_ext
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2270 } # ac_fn_c_check_func
2271 cat >config.log
<<_ACEOF
2272 This file contains any messages produced by compilers while
2273 running configure, to aid debugging if configure makes a mistake.
2275 It was created by $as_me, which was
2276 generated by GNU Autoconf 2.69. Invocation command line was
2288 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2289 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2290 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2291 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2292 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2294 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2295 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2297 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2298 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2299 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2300 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2301 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2302 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2303 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir
=.
2312 $as_echo "PATH: $as_dir"
2328 # Keep a trace of the command line.
2329 # Strip out --no-create and --no-recursion so they do not pile up.
2330 # Strip out --silent because we don't want to record it for future runs.
2331 # Also quote any args containing shell meta-characters.
2332 # Make two passes to allow for proper duplicate-argument suppression.
2336 ac_must_keep_next
=false
2342 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2343 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2344 |
-silent |
--silent |
--silen |
--sile |
--sil)
2347 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2350 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2352 as_fn_append ac_configure_args1
" '$ac_arg'"
2353 if test $ac_must_keep_next = true
; then
2354 ac_must_keep_next
=false
# Got value, back to normal.
2357 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2358 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2359 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2360 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2361 case "$ac_configure_args0 " in
2362 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2365 -* ) ac_must_keep_next
=true
;;
2368 as_fn_append ac_configure_args
" '$ac_arg'"
2373 { ac_configure_args0
=; unset ac_configure_args0
;}
2374 { ac_configure_args1
=; unset ac_configure_args1
;}
2376 # When interrupted or exit'd, cleanup temporary files, and complete
2377 # config.log. We remove comments because anyway the quotes in there
2378 # would cause problems or look ugly.
2379 # WARNING: Use '\'' to represent an apostrophe within the trap.
2380 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2381 trap 'exit_status=$?
2382 # Save into config.log some information that might help in debugging.
2386 $as_echo "## ---------------- ##
2387 ## Cache variables. ##
2388 ## ---------------- ##"
2390 # The following way of writing the cache mishandles newlines in values,
2392 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2393 eval ac_val=\$$ac_var
2397 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2398 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2401 _ | IFS | as_nl) ;; #(
2402 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2403 *) { eval $ac_var=; unset $ac_var;} ;;
2408 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2409 *${as_nl}ac_space=\ *)
2411 "s/'\''/'\''\\\\'\'''\''/g;
2412 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2415 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2422 $as_echo "## ----------------- ##
2423 ## Output variables. ##
2424 ## ----------------- ##"
2426 for ac_var in $ac_subst_vars
2428 eval ac_val=\$$ac_var
2430 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432 $as_echo "$ac_var='\''$ac_val'\''"
2436 if test -n "$ac_subst_files"; then
2437 $as_echo "## ------------------- ##
2438 ## File substitutions. ##
2439 ## ------------------- ##"
2441 for ac_var
in $ac_subst_files
2443 eval ac_val
=\$
$ac_var
2445 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2447 $as_echo "$ac_var='\''$ac_val'\''"
2452 if test -s confdefs.h; then
2453 $as_echo "## ----------- ##
2460 test "$ac_signal" != 0 &&
2461 $as_echo "$as_me: caught signal $ac_signal"
2462 $as_echo "$as_me: exit $exit_status"
2464 rm -f core *.core core.conftest.* &&
2465 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2468 for ac_signal
in 1 2 13 15; do
2469 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2473 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2474 rm -f -r conftest
* confdefs.h
2476 $as_echo "/* confdefs.h */" > confdefs.h
2478 # Predefined preprocessor variables.
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_NAME "$PACKAGE_NAME"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_STRING "$PACKAGE_STRING"
2496 cat >>confdefs.h
<<_ACEOF
2497 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2500 cat >>confdefs.h
<<_ACEOF
2501 #define PACKAGE_URL "$PACKAGE_URL"
2505 # Let the site file select an alternate cache file if it wants to.
2506 # Prefer an explicitly selected file to automatically selected ones.
2509 if test -n "$CONFIG_SITE"; then
2510 # We do not want a PATH search for config.site.
2511 case $CONFIG_SITE in #((
2512 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2513 */*) ac_site_file1
=$CONFIG_SITE;;
2514 *) ac_site_file1
=.
/$CONFIG_SITE;;
2516 elif test "x$prefix" != xNONE
; then
2517 ac_site_file1
=$prefix/share
/config.site
2518 ac_site_file2
=$prefix/etc
/config.site
2520 ac_site_file1
=$ac_default_prefix/share
/config.site
2521 ac_site_file2
=$ac_default_prefix/etc
/config.site
2523 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2525 test "x$ac_site_file" = xNONE
&& continue
2526 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2528 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2529 sed 's/^/| /' "$ac_site_file" >&5
2531 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2533 as_fn_error $?
"failed to load site script $ac_site_file
2534 See \`config.log' for more details" "$LINENO" 5; }
2538 if test -r "$cache_file"; then
2539 # Some versions of bash will fail to source /dev/null (special files
2540 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2541 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2543 $as_echo "$as_me: loading cache $cache_file" >&6;}
2545 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2546 *) .
"./$cache_file";;
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2551 $as_echo "$as_me: creating cache $cache_file" >&6;}
2555 # Check that the precious variables saved in the cache have kept the same
2557 ac_cache_corrupted
=false
2558 for ac_var
in $ac_precious_vars; do
2559 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2560 eval ac_new_set
=\
$ac_env_${ac_var}_set
2561 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2562 eval ac_new_val
=\
$ac_env_${ac_var}_value
2563 case $ac_old_set,$ac_new_set in
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2566 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2567 ac_cache_corrupted
=: ;;
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2570 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2571 ac_cache_corrupted
=: ;;
2574 if test "x$ac_old_val" != "x$ac_new_val"; then
2575 # differences in whitespace do not lead to failure.
2576 ac_old_val_w
=`echo x $ac_old_val`
2577 ac_new_val_w
=`echo x $ac_new_val`
2578 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2580 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2581 ac_cache_corrupted
=:
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2584 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2585 eval $ac_var=\
$ac_old_val
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2588 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2590 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2593 # Pass precious variables to config.status.
2594 if test "$ac_new_set" = set; then
2596 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2597 *) ac_arg
=$ac_var=$ac_new_val ;;
2599 case " $ac_configure_args " in
2600 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2601 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2605 if $ac_cache_corrupted; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2609 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2610 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2612 ## -------------------- ##
2613 ## Main body of script. ##
2614 ## -------------------- ##
2617 ac_cpp
='$CPP $CPPFLAGS'
2618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2628 # Check whether --with-64bit was given.
2629 if test "${with_64bit+set}" = set; then :
2630 withval
=$with_64bit; use_64bit
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-64bit=$withval"
2635 # Check whether --with-optimization was given.
2636 if test "${with_optimization+set}" = set; then :
2637 withval
=$with_optimization; use_optimization
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-optimization=$withval"
2644 # Check whether --with-threads was given.
2645 if test "${with_threads+set}" = set; then :
2646 withval
=$with_threads; do_threads
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-threads=$withval"
2653 # Check whether --with-secure-sockets was given.
2654 if test "${with_secure_sockets+set}" = set; then :
2655 withval
=$with_secure_sockets; do_secure
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-secure-sockets=$withval"
2662 # Check whether --with-static-probes was given.
2663 if test "${with_static_probes+set}" = set; then :
2664 withval
=$with_static_probes; do_probes
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-static-probes=$withval"
2671 # Check whether --with-infiniband was given.
2672 if test "${with_infiniband+set}" = set; then :
2673 withval
=$with_infiniband; do_infiniband
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-infiniband=$withval"
2680 # Check whether --with-user was given.
2681 if test "${with_user+set}" = set; then :
2682 withval
=$with_user; pcp_user
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-user-account=$withval"
2690 # Check whether --with-group was given.
2691 if test "${with_group+set}" = set; then :
2692 withval
=$with_group; pcp_group
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-group-account=$withval"
2700 # Check whether --with-discovery was given.
2701 if test "${with_discovery+set}" = set; then :
2702 withval
=$with_discovery; do_discovery
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-discovery=$withval"
2709 # Check whether --with-systemd was given.
2710 if test "${with_systemd+set}" = set; then :
2711 withval
=$with_systemd; do_systemd
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-systemd=$withval"
2718 # Check whether --with-qt was given.
2719 if test "${with_qt+set}" = set; then :
2720 withval
=$with_qt; do_qt
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-qt=$withval"
2727 # Check whether --with-qt3d was given.
2728 if test "${with_qt3d+set}" = set; then :
2729 withval
=$with_qt3d; do_qt3d
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-qt3d=$withval"
2736 # Check whether --with-python was given.
2737 if test "${with_python+set}" = set; then :
2738 withval
=$with_python; do_python
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-python=$withval"
2745 # Check whether --with-python3 was given.
2746 if test "${with_python3+set}" = set; then :
2747 withval
=$with_python3; do_python3
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-python3=$withval"
2754 # Check whether --with-books was given.
2755 if test "${with_books+set}" = set; then :
2756 withval
=$with_books; do_books
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-books=$withval"
2763 # Check whether --with-books-brand was given.
2764 if test "${with_books_brand+set}" = set; then :
2765 withval
=$with_books_brand; do_books_brand
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-books-brand=$withval"
2767 do_books_brand
=common
2772 # Check whether --with-papi was given.
2773 if test "${with_papi+set}" = set; then :
2774 withval
=$with_papi; do_papi
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-papi=$withval"
2781 # Check whether --with-perfevent was given.
2782 if test "${with_perfevent+set}" = set; then :
2783 withval
=$with_perfevent; do_perfevent
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-perfevent=$withval"
2790 # Check whether --with-pmdajson was given.
2791 if test "${with_pmdajson+set}" = set; then :
2792 withval
=$with_pmdajson; do_pmdajson
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-pmdajson=$withval"
2799 # Check whether --with-pmdasnmp was given.
2800 if test "${with_pmdasnmp+set}" = set; then :
2801 withval
=$with_pmdasnmp; do_pmdasnmp
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-pmdasnmp=$withval"
2808 # Check whether --with-manager was given.
2809 if test "${with_manager+set}" = set; then :
2810 withval
=$with_manager; do_manager
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-manager=$withval"
2817 # Check whether --with-webapi was given.
2818 if test "${with_webapi+set}" = set; then :
2819 withval
=$with_webapi; do_webapi
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-webapi=$withval"
2826 # Check whether --with-webjs was given.
2827 if test "${with_webjs+set}" = set; then :
2828 withval
=$with_webjs; do_webjs
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-webjs=$withval"
2835 # Check whether --with-vector was given.
2836 if test "${with_vector+set}" = set; then :
2837 withval
=$with_vector; do_vector
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-vector=$withval"
2844 # Check whether --with-parfait was given.
2845 if test "${with_parfait+set}" = set; then :
2846 withval
=$with_parfait; do_parfait
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-parfait=$withval"
2853 # Check whether --with-selinux was given.
2854 if test "${with_selinux+set}" = set; then :
2855 withval
=$with_selinux; do_selinux
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-selinux=$withval"
2862 # Check whether --with-make was given.
2863 if test "${with_make+set}" = set; then :
2864 withval
=$with_make; MAKE
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-make=$withval"
2871 # Check whether --with-tar was given.
2872 if test "${with_tar+set}" = set; then :
2873 withval
=$with_tar; TAR
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-tar=$withval"
2880 # Check whether --with-zip was given.
2881 if test "${with_zip+set}" = set; then :
2882 withval
=$with_zip; ZIP
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-zip=$withval"
2890 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2891 if test -f "$ac_dir/install-sh"; then
2893 ac_install_sh
="$ac_aux_dir/install-sh -c"
2895 elif test -f "$ac_dir/install.sh"; then
2897 ac_install_sh
="$ac_aux_dir/install.sh -c"
2899 elif test -f "$ac_dir/shtool"; then
2901 ac_install_sh
="$ac_aux_dir/shtool install -c"
2905 if test -z "$ac_aux_dir"; then
2906 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2909 # These three variables are undocumented and unsupported,
2910 # and are intended to be withdrawn in a future Autoconf release.
2911 # They can cause serious problems if a builder's source tree is in a directory
2912 # whose full name contains unusual characters.
2913 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2914 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2915 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2918 # Make sure we can run config.sub.
2919 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2920 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2923 $as_echo_n "checking build system type... " >&6; }
2924 if ${ac_cv_build+:} false
; then :
2925 $as_echo_n "(cached) " >&6
2927 ac_build_alias
=$build_alias
2928 test "x$ac_build_alias" = x
&&
2929 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2930 test "x$ac_build_alias" = x
&&
2931 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2932 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2933 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2937 $as_echo "$ac_cv_build" >&6; }
2938 case $ac_cv_build in
2940 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2943 ac_save_IFS
=$IFS; IFS
='-'
2949 # Remember, the first character of IFS is used to create $*,
2950 # except with old shells:
2953 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2957 $as_echo_n "checking host system type... " >&6; }
2958 if ${ac_cv_host+:} false
; then :
2959 $as_echo_n "(cached) " >&6
2961 if test "x$host_alias" = x
; then
2962 ac_cv_host
=$ac_cv_build
2964 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2965 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2970 $as_echo "$ac_cv_host" >&6; }
2973 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2976 ac_save_IFS
=$IFS; IFS
='-'
2982 # Remember, the first character of IFS is used to create $*,
2983 # except with old shells:
2986 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2990 $as_echo_n "checking target system type... " >&6; }
2991 if ${ac_cv_target+:} false
; then :
2992 $as_echo_n "(cached) " >&6
2994 if test "x$target_alias" = x
; then
2995 ac_cv_target
=$ac_cv_host
2997 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2998 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3003 $as_echo "$ac_cv_target" >&6; }
3004 case $ac_cv_target in
3006 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3008 target
=$ac_cv_target
3009 ac_save_IFS
=$IFS; IFS
='-'
3015 # Remember, the first character of IFS is used to create $*,
3016 # except with old shells:
3019 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3022 # The aliases save the names the user supplied, while $host etc.
3023 # will get canonicalized.
3024 test -n "$target_alias" &&
3025 test "$program_prefix$program_suffix$program_transform_name" = \
3027 program_prefix
=${target_alias}-
3029 if test -z "$target"
3032 FATAL ERROR: Cannot guess your target, try explicit specification
3033 using --target or mailto: pcp@groups.io to ask.'
3034 rm -rf conftest conftest.
*
3037 target
=`echo $target | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
3038 target_os
=`echo $target_os | sed 's/solaris2\..*/solaris/'`
3039 target_os
=`echo $target_os | sed 's/^\([^-][^-]*\)-.*$/\1/' | sed 's/[\.0-9]*//g'`
3041 build
=`echo $build | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
3042 build_os
=`echo $build_os | sed 's/solaris2\..*/solaris/'`
3043 build_os
=`echo $build_os | sed 's/^\([^-][^-]*\)-.*$/\1/'`
3046 echo Building on
$build for $target
3047 echo "Build: os=$build_os cpu=$build_cpu"
3048 echo "Target: os=$target_os cpu=$target_cpu"
3050 if test "$cross_compiling" = "yes"; then
3051 if test -f .
/config.
$target_os; then
3052 . .
/config.
$target_os
3056 FATAL ERROR: Cannot perform cross-compilation without a file to source
3057 configuration information from (config.$target_os is missing)"
3058 rm -rf conftest conftest.
*
3065 target_distro
=$target_os
3066 if test $target_os = linux
3069 $as_echo "#define IS_LINUX 1" >>confdefs.h
3071 test -f /etc
/SuSE-release
&& target_distro
=suse
3072 test -f /etc
/fedora-release
&& target_distro
=fedora
3073 test -f /etc
/redhat-release
&& target_distro
=redhat
3074 test -f /etc
/debian_version
&& target_distro
=debian
3075 test -f /etc
/slackware-version
&& target_distro
=slackware
3076 test -f /etc
/gentoo-release
&& target_distro
=gentoo
3077 test -f /etc
/mandriva-release
&& target_distro
=mandriva
3078 test -f /etc
/arch-release
&& target_distro
=arch
3079 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3080 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3081 pcp_ps_all_flags
=-efw
3082 elif test $target_os = darwin
3085 $as_echo "#define IS_DARWIN 1" >>confdefs.h
3087 target_distro
=macosx
3088 version
=`sw_vers -productVersion | sed -e 's/\.//' -e 's/\..*//g'`
3089 CFLAGS
="-fPIC -no-cpp-precomp -fno-strict-aliasing -arch i386"
3090 if test $version -ge 106
3093 CFLAGS
="$CFLAGS -arch x86_64"
3096 pcp_platform_paths
='/usr/local/bin'
3097 pcp_ps_all_flags
="-axw -o user,pid,ppid,cpu,stime,tty,time,command"
3098 elif test $target_os = mingw
3101 $as_echo "#define IS_MINGW 1" >>confdefs.h
3103 CFLAGS
="-fno-strict-aliasing"
3104 pcp_platform_paths
=''
3105 pcp_ps_all_flags
=-efW
3106 elif test $target_os = solaris
3109 $as_echo "#define IS_SOLARIS 1" >>confdefs.h
3111 export CFLAGS_IF_GCC
="-fPIC -fno-strict-aliasing"
3112 export CFLAGS_IF_SUNCC
="-fPIC -xalias_level=any -D_XPG4_2 -D__EXTENSIONS__"
3113 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin:/opt/sfw/bin:/opt/csw/bin'
3114 pcp_ps_all_flags
=-ef
3115 elif test $target_os = aix
3118 $as_echo "#define IS_AIX 1" >>confdefs.h
3120 export CFLAGS
="-qcpluscmt"
3121 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3122 pcp_ps_all_flags
=-ef
3123 elif test $target_os = freebsd ||
test $target_os = kfreebsd
3126 $as_echo "#define IS_FREEBSD 1" >>confdefs.h
3128 test -f /etc
/debian_version
&& target_distro
=debian
3129 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3130 if test $target_os = kfreebsd
3132 pcp_ps_all_flags
=-efw
3134 pcp_ps_all_flags
=auxww
3136 pcp_platform_paths
='/usr/bin/X11'
3137 test -d /usr
/local
/bin
&& pcp_platform_paths
="$pcp_platform_paths:/usr/local/bin"
3138 test -d /usr
/bsd
&& pcp_platform_paths
="$pcp_platform_paths:/usr/bsd"
3139 elif test $target_os = gnu
3142 $as_echo "#define IS_GNU 1" >>confdefs.h
3144 test -f /etc
/debian_version
&& target_distro
=debian
3145 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3146 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3147 pcp_ps_all_flags
=-efw
3148 elif test $target_os = netbsdelf
3152 $as_echo "#define IS_NETBSD 1" >>confdefs.h
3154 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE -D_NETBSD_SOURCE"
3155 pcp_platform_paths
='/usr/pkg/bin'
3156 pcp_ps_all_flags
=auxww
3157 elif test $target_os = openbsd
3161 $as_echo "#define IS_OPENBSD 1" >>confdefs.h
3163 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3164 pcp_platform_paths
='/usr/local/bin'
3165 pcp_ps_all_flags
=auxww
3168 echo "FATAL ERROR: need platform-specific customization for \"$target_os\""
3169 rm -rf conftest conftest.
*
3175 if test "$use_optimization" = no
3177 optimization
="-O0 -g"
3179 optimization
="-O2 -g"
3190 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3191 if test -n "$ac_tool_prefix"; then
3192 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3193 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
3197 $as_echo_n "(cached) " >&6
3201 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
3204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir
=.
3209 for ac_exec_ext
in '' $ac_executable_extensions; do
3210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3211 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
3223 if test -n "$PKG_CONFIG"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3225 $as_echo "$PKG_CONFIG" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3233 if test -z "$ac_cv_path_PKG_CONFIG"; then
3234 ac_pt_PKG_CONFIG
=$PKG_CONFIG
3235 # Extract the first word of "pkg-config", so it can be a program name with args.
3236 set dummy pkg-config
; ac_word
=$2
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238 $as_echo_n "checking for $ac_word... " >&6; }
3239 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
3240 $as_echo_n "(cached) " >&6
3242 case $ac_pt_PKG_CONFIG in
3244 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir
=.
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
3266 if test -n "$ac_pt_PKG_CONFIG"; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3268 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271 $as_echo "no" >&6; }
3274 if test "x$ac_pt_PKG_CONFIG" = x
; then
3277 case $cross_compiling:$ac_tool_warned in
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3281 ac_tool_warned
=yes ;;
3283 PKG_CONFIG
=$ac_pt_PKG_CONFIG
3286 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
3290 if test -n "$PKG_CONFIG"; then
3291 _pkg_min_version
=0.9.0
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3293 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3294 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3296 $as_echo "yes" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3303 if test -z "$PKG_CONFIG"; then
3304 as_fn_error $?
"cannot find a 'pkg-config' command" "$LINENO" 5
3309 ac_cpp
='$CPP $CPPFLAGS'
3310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3313 if test -n "$ac_tool_prefix"; then
3314 for ac_prog
in suncc egcc gcc cc
3316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3317 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3319 $as_echo_n "checking for $ac_word... " >&6; }
3320 if ${ac_cv_prog_CC+:} false
; then :
3321 $as_echo_n "(cached) " >&6
3323 if test -n "$CC"; then
3324 ac_cv_prog_CC
="$CC" # Let the user override the test.
3326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3330 test -z "$as_dir" && as_dir
=.
3331 for ac_exec_ext
in '' $ac_executable_extensions; do
3332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3333 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 if test -n "$CC"; then
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3346 $as_echo "$CC" >&6; }
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3349 $as_echo "no" >&6; }
3353 test -n "$CC" && break
3356 if test -z "$CC"; then
3358 for ac_prog
in suncc egcc gcc cc
3360 # Extract the first word of "$ac_prog", so it can be a program name with args.
3361 set dummy
$ac_prog; ac_word
=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$ac_ct_CC"; then
3368 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir
=.
3375 for ac_exec_ext
in '' $ac_executable_extensions; do
3376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3377 ac_cv_prog_ac_ct_CC
="$ac_prog"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3388 if test -n "$ac_ct_CC"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3390 $as_echo "$ac_ct_CC" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3397 test -n "$ac_ct_CC" && break
3400 if test "x$ac_ct_CC" = x
; then
3403 case $cross_compiling:$ac_tool_warned in
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3407 ac_tool_warned
=yes ;;
3414 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3416 as_fn_error $?
"no acceptable C compiler found in \$PATH
3417 See \`config.log' for more details" "$LINENO" 5; }
3419 # Provide some information about the compiler.
3420 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3423 for ac_option
in --version -v -V -qversion; do
3424 { { ac_try
="$ac_compiler $ac_option >&5"
3426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3430 $as_echo "$ac_try_echo"; } >&5
3431 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3433 if test -s conftest.err; then
3435 ... rest of stderr output deleted ...
3436 10q' conftest.err >conftest.er1
3437 cat conftest.er1 >&5
3439 rm -f conftest.er1 conftest.err
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3455 ac_clean_files_save=$ac_clean_files
3456 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3457 # Try to create an executable without -o first, disregard a.out.
3458 # It will help us diagnose broken compilers, and finding out an intuition
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3461 $as_echo_n "checking whether the C compiler works... " >&6; }
3462 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3464 # The possible output files:
3465 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3468 for ac_file in $ac_files
3471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3472 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3477 if { { ac_try="$ac_link_default"
3479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3480 *) ac_try_echo
=$ac_try;;
3482 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_link_default") 2>&5
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; then :
3488 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3489 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3490 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3491 # so that the user can short-circuit this test for compilers unknown to
3493 for ac_file
in $ac_files ''
3495 test -f "$ac_file" ||
continue
3497 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3500 # We found the default executable, but exeext='' is most
3504 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3506 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3508 # We set ac_cv_exeext here because the later test for it is not
3509 # safe: cross compilers may not add the suffix if given an `-o'
3510 # argument, so we may need to know it at that point already.
3511 # Even if this section looks crufty: it has the advantage of
3518 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3523 if test -z "$ac_file"; then :
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3526 $as_echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.
$ac_ext >&5
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error
77 "C compiler cannot create executables
3532 See \`config.log' for more details" "$LINENO" 5; }
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3535 $as_echo "yes" >&6; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3538 $as_echo_n "checking for C compiler default output file name... " >&6; }
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3540 $as_echo "$ac_file" >&6; }
3541 ac_exeext
=$ac_cv_exeext
3543 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3544 ac_clean_files
=$ac_clean_files_save
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3546 $as_echo_n "checking for suffix of executables... " >&6; }
3547 if { { ac_try
="$ac_link"
3549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553 $as_echo "$ac_try_echo"; } >&5
3554 (eval "$ac_link") 2>&5
3556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557 test $ac_status = 0; }; then :
3558 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3559 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3560 # work properly (i.e., refer to `conftest.exe'), while it won't with
3562 for ac_file
in conftest.exe conftest conftest.
*; do
3563 test -f "$ac_file" ||
continue
3565 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3566 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3574 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3575 See \`config.log' for more details" "$LINENO" 5; }
3577 rm -f conftest conftest
$ac_cv_exeext
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3579 $as_echo "$ac_cv_exeext" >&6; }
3581 rm -f conftest.
$ac_ext
3582 EXEEXT
=$ac_cv_exeext
3584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3590 FILE *f = fopen ("conftest.out", "w");
3591 return ferror (f) || fclose (f) != 0;
3597 ac_clean_files
="$ac_clean_files conftest.out"
3598 # Check that the compiler produces executables we can run. If not, either
3599 # the compiler is broken, or we cross compile.
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3601 $as_echo_n "checking whether we are cross compiling... " >&6; }
3602 if test "$cross_compiling" != yes; then
3603 { { ac_try
="$ac_link"
3605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3606 *) ac_try_echo=$ac_try;;
3608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3609 $as_echo "$ac_try_echo"; } >&5
3610 (eval "$ac_link") 2>&5
3612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3613 test $ac_status = 0; }
3614 if { ac_try='./conftest$ac_cv_exeext'
3615 { { case "(($ac_try" in
3616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3617 *) ac_try_echo
=$ac_try;;
3619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621 (eval "$ac_try") 2>&5
3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624 test $ac_status = 0; }; }; then
3627 if test "$cross_compiling" = maybe
; then
3630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3632 as_fn_error $?
"cannot run C compiled programs.
3633 If you meant to cross compile, use \`--host'.
3634 See \`config.log' for more details" "$LINENO" 5; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3639 $as_echo "$cross_compiling" >&6; }
3641 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3642 ac_clean_files
=$ac_clean_files_save
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3644 $as_echo_n "checking for suffix of object files... " >&6; }
3645 if ${ac_cv_objext+:} false
; then :
3646 $as_echo_n "(cached) " >&6
3648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 rm -f conftest.o conftest.obj
3660 if { { ac_try
="$ac_compile"
3662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3663 *) ac_try_echo=$ac_try;;
3665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3666 $as_echo "$ac_try_echo"; } >&5
3667 (eval "$ac_compile") 2>&5
3669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3670 test $ac_status = 0; }; then :
3671 for ac_file in conftest.o conftest.obj conftest.*; do
3672 test -f "$ac_file" || continue;
3674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3675 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3680 $as_echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5
3683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3686 See \
`config.log' for more details" "$LINENO" 5; }
3688 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3691 $as_echo "$ac_cv_objext" >&6; }
3692 OBJEXT=$ac_cv_objext
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3695 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3696 if ${ac_cv_c_compiler_gnu+:} false; then :
3697 $as_echo_n "(cached) " >&6
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3713 if ac_fn_c_try_compile "$LINENO"; then :
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3723 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3724 if test $ac_compiler_gnu = yes; then
3729 ac_test_CFLAGS=${CFLAGS+set}
3730 ac_save_CFLAGS=$CFLAGS
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3732 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3733 if ${ac_cv_prog_cc_g+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 ac_save_c_werror_flag=$ac_c_werror_flag
3737 ac_c_werror_flag=yes
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3751 if ac_fn_c_try_compile "$LINENO"; then :
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3769 ac_c_werror_flag=$ac_save_c_werror_flag
3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3782 if ac_fn_c_try_compile "$LINENO"; then :
3785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790 ac_c_werror_flag=$ac_save_c_werror_flag
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3793 $as_echo "$ac_cv_prog_cc_g" >&6; }
3794 if test "$ac_test_CFLAGS" = set; then
3795 CFLAGS=$ac_save_CFLAGS
3796 elif test $ac_cv_prog_cc_g = yes; then
3797 if test "$GCC" = yes; then
3803 if test "$GCC" = yes; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3810 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3811 if ${ac_cv_prog_cc_c89+:} false; then :
3812 $as_echo_n "(cached) " >&6
3814 ac_cv_prog_cc_c89=no
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3822 struct buf { int x; };
3823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3824 static char *e (p, i)
3830 static char *f (char * (*g) (char **, int), char **p, ...)
3835 s = g (p, va_arg (v,int));
3840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3841 function prototypes and stuff, but not '\xHH' hex character constants.
3842 These don't provoke an error unfortunately, instead are silently treated
3843 as 'x'. The following induces an error, until -std is added to get
3844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3845 array size at least. It's necessary to write '\x00'==0 to get something
3846 that's true only with -std. */
3847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3849 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3850 inside strings and character constants. */
3852 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3854 int test (int i, double x);
3855 struct s1 {int (*f) (int a);};
3856 struct s2 {int (*f) (double a);};
3857 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3863 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3868 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3869 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3871 CC="$ac_save_CC $ac_arg"
3872 if ac_fn_c_try_compile "$LINENO"; then :
3873 ac_cv_prog_cc_c89=$ac_arg
3875 rm -f core conftest.err conftest.$ac_objext
3876 test "x$ac_cv_prog_cc_c89" != "xno" && break
3878 rm -f conftest.$ac_ext
3883 case "x$ac_cv_prog_cc_c89" in
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3886 $as_echo "none needed" >&6; } ;;
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3889 $as_echo "unsupported" >&6; } ;;
3891 CC="$CC $ac_cv_prog_cc_c89"
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3893 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3895 if test "x$ac_cv_prog_cc_c89" != xno; then :
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905 if test $target_os = solaris
3907 # Extract the first word of "$CC", so it can be a program name with args.
3908 set dummy $CC; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_path_CCPATH+:} false; then :
3912 $as_echo_n "(cached) " >&6
3916 ac_cv_path_CCPATH="$CCPATH" # Let the user override the test with a path.
3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 test -z "$as_dir" && as_dir=.
3924 for ac_exec_ext in '' $ac_executable_extensions; do
3925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926 ac_cv_path_CCPATH="$as_dir/$ac_word$ac_exec_ext"
3927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 test -z "$ac_cv_path_CCPATH" && ac_cv_path_CCPATH="$CC"
3938 CCPATH=$ac_cv_path_CCPATH
3939 if test -n "$CCPATH"; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCPATH" >&5
3941 $as_echo "$CCPATH" >&6; }
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3944 $as_echo "no" >&6; }
3949 if test "$GCC" = "yes"
3951 CFLAGS="$CFLAGS $CFLAGS_IF_GCC"
3953 CFLAGS="$CFLAGS $CFLAGS_IF_SUNCC"
3955 if test "$use_64bit" = "no"
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64 bit Solaris host" >&5
3960 $as_echo_n "checking for 64 bit Solaris host... " >&6; }
3965 CFLAGS="$CFLAGS -m64"
3966 LDFLAGS="$LDFLAGS -m64"
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3968 $as_echo "yes" >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3986 if echo "$CFLAGS" | grep 'D_FORTIFY_SOURCE' >/dev/null
3988 CFLAGS="-O $PCFLAGS"
3992 if echo "$CFLAGS" | grep stack-protector >/dev/null
3996 # Check whether --enable-ssp was given.
3997 if test "${enable_ssp+set}" = set; then :
3998 enableval=$enable_ssp;
4002 if test "x$cc_is_gcc" = xyes -a "x$enable_ssp" != xno ; then :
4004 save_CFLAGS="$CFLAGS"
4005 CFLAGS="$CFLAGS -O -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4010 if ac_fn_c_try_compile "$LINENO"; then :
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
4013 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
4014 PCFLAGS="$PCFLAGS -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
4018 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
4019 CFLAGS="$save_CFLAGS"
4022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 # Check whether --enable-pie was given.
4030 if test "${enable_pie+set}" = set; then :
4031 enableval=$enable_pie;
4034 if test "x$cc_is_gcc" = xyes -a "x$enable_pie" != xno; then :
4037 PIELDFLAGS='-pie -Wl,-z,relro -Wl,-z,now'
4038 save_CFLAGS="$CFLAGS"
4039 save_LDFLAGS="$LDFLAGS"
4040 CFLAGS="$CFLAGS $PIECFLAGS"
4041 LDFLAGS="$LDFLAGS $PIELDFLAGS"
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4046 if ac_fn_c_try_link "$LINENO"; then :
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
4049 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
4054 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
4059 rm -f core conftest.err conftest.$ac_objext \
4060 conftest$ac_exeext conftest.$ac_ext
4061 CFLAGS="$save_CFLAGS"
4062 LDFLAGS="$save_LDFLAGS"
4068 # Check whether --enable-visibility was given.
4069 if test "${enable_visibility+set}" = set; then :
4070 enableval=$enable_visibility;
4073 if test "x$cc_is_gcc" = xyes -a "$enable_visibility" != no; then :
4075 INVISIBILITY="-fvisibility=hidden"
4076 save_CFLAGS="$CFLAGS"
4077 CFLAGS="$CFLAGS -c $INVISIBILITY"
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4080 int visible () { return 0; }
4082 if ac_fn_c_try_compile "$LINENO"; then :
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&5
4085 $as_echo "$as_me: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&6;}
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fvisibility." >&5
4090 $as_echo "$as_me: Compiler does not support -fvisibility." >&6;}
4094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095 CFLAGS="$save_CFLAGS"
4101 ac_cpp='$CXXCPP $CPPFLAGS'
4102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4105 if test -z "$CXX"; then
4106 if test -n "$CCC"; then
4109 if test -n "$ac_tool_prefix"; then
4110 for ac_prog in eg++ g++ c++
4112 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4113 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4115 $as_echo_n "checking for $ac_word... " >&6; }
4116 if ${ac_cv_prog_CXX+:} false; then :
4117 $as_echo_n "(cached) " >&6
4119 if test -n "$CXX"; then
4120 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4126 test -z "$as_dir" && as_dir=.
4127 for ac_exec_ext in '' $ac_executable_extensions; do
4128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4129 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4140 if test -n "$CXX"; then
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4142 $as_echo "$CXX" >&6; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4149 test -n "$CXX" && break
4152 if test -z "$CXX"; then
4154 for ac_prog in eg++ g++ c++
4156 # Extract the first word of "$ac_prog", so it can be a program name with args.
4157 set dummy $ac_prog; ac_word=$2
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159 $as_echo_n "checking for $ac_word... " >&6; }
4160 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4161 $as_echo_n "(cached) " >&6
4163 if test -n "$ac_ct_CXX"; then
4164 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir=.
4171 for ac_exec_ext in '' $ac_executable_extensions; do
4172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4173 ac_cv_prog_ac_ct_CXX="$ac_prog"
4174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4184 if test -n "$ac_ct_CXX"; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4186 $as_echo "$ac_ct_CXX" >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4189 $as_echo "no" >&6; }
4193 test -n "$ac_ct_CXX" && break
4196 if test "x$ac_ct_CXX" = x; then
4199 case $cross_compiling:$ac_tool_warned in
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4203 ac_tool_warned=yes ;;
4211 # Provide some information about the compiler.
4212 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4215 for ac_option in --version -v -V -qversion; do
4216 { { ac_try="$ac_compiler $ac_option >&5"
4218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4219 *) ac_try_echo
=$ac_try;;
4221 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4225 if test -s conftest.err
; then
4227 ... rest of stderr output deleted ...
4228 10q' conftest.err
>conftest.er1
4229 cat conftest.er1
>&5
4231 rm -f conftest.er1 conftest.err
4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233 test $ac_status = 0; }
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4237 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4238 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4239 $as_echo_n "(cached) " >&6
4241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4255 if ac_fn_cxx_try_compile
"$LINENO"; then :
4260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4261 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4265 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4266 if test $ac_compiler_gnu = yes; then
4271 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4272 ac_save_CXXFLAGS
=$CXXFLAGS
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4274 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4275 if ${ac_cv_prog_cxx_g+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4279 ac_cxx_werror_flag
=yes
4282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4293 if ac_fn_cxx_try_compile
"$LINENO"; then :
4294 ac_cv_prog_cxx_g
=yes
4297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4308 if ac_fn_cxx_try_compile
"$LINENO"; then :
4311 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4324 if ac_fn_cxx_try_compile
"$LINENO"; then :
4325 ac_cv_prog_cxx_g
=yes
4327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4332 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4335 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4336 if test "$ac_test_CXXFLAGS" = set; then
4337 CXXFLAGS
=$ac_save_CXXFLAGS
4338 elif test $ac_cv_prog_cxx_g = yes; then
4339 if test "$GXX" = yes; then
4345 if test "$GXX" = yes; then
4352 ac_cpp
='$CPP $CPPFLAGS'
4353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C++ compiler" >&5
4360 $as_echo_n "checking for working C++ compiler... " >&6; }
4362 ac_cpp
='$CXXCPP $CPPFLAGS'
4363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4374 const char gday[] = "G'day, world\n";
4379 if ac_fn_cxx_try_compile
"$LINENO"; then :
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4381 $as_echo "yes" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4389 ac_cpp
='$CPP $CPPFLAGS'
4390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4395 # Check whether --enable-shared was given.
4396 if test "${enable_shared+set}" = set; then :
4397 enableval
=$enable_shared; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --disable-shared=$withval"
4403 test -z "$AWK" && for ac_prog
in gawk
awk
4405 # Extract the first word of "$ac_prog", so it can be a program name with args.
4406 set dummy
$ac_prog; ac_word
=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if ${ac_cv_path_AWK+:} false
; then :
4410 $as_echo_n "(cached) " >&6
4414 ac_cv_path_AWK
="$AWK" # Let the user override the test with a path.
4417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir
=.
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4424 ac_cv_path_AWK
="$as_dir/$ac_word$ac_exec_ext"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 if test -n "$AWK"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4438 $as_echo "$AWK" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$AWK" && break
4447 test -n "$AWK" || AWK
="/usr/bin/awk"
4460 if test -z "$SED"; then
4461 # Extract the first word of "sed", so it can be a program name with args.
4462 set dummy
sed; ac_word
=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if ${ac_cv_path_SED+:} false
; then :
4466 $as_echo_n "(cached) " >&6
4470 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
4473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4477 test -z "$as_dir" && as_dir
=.
4478 for ac_exec_ext
in '' $ac_executable_extensions; do
4479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
4481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="/bin/sed"
4493 if test -n "$SED"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4495 $as_echo "$SED" >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4498 $as_echo "no" >&6; }
4503 if test ! -x "$SED"; then
4504 as_fn_error $?
"cannot find a valid 'sed' command." "$LINENO" 5
4509 if test -z "$ECHO"; then
4510 # Extract the first word of "echo", so it can be a program name with args.
4511 set dummy
echo; ac_word
=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_path_ECHO+:} false
; then :
4515 $as_echo_n "(cached) " >&6
4519 ac_cv_path_ECHO
="$ECHO" # Let the user override the test with a path.
4522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4526 test -z "$as_dir" && as_dir
=.
4527 for ac_exec_ext
in '' $ac_executable_extensions; do
4528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4529 ac_cv_path_ECHO
="$as_dir/$ac_word$ac_exec_ext"
4530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO
="/bin/echo"
4541 ECHO
=$ac_cv_path_ECHO
4542 if test -n "$ECHO"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4544 $as_echo "$ECHO" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4552 if test ! -x "$ECHO"; then
4553 as_fn_error $?
"cannot find a valid 'echo' command." "$LINENO" 5
4558 if test -z "$FIND"; then
4559 # Extract the first word of "find", so it can be a program name with args.
4560 set dummy
find; ac_word
=$2
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4562 $as_echo_n "checking for $ac_word... " >&6; }
4563 if ${ac_cv_path_FIND+:} false
; then :
4564 $as_echo_n "(cached) " >&6
4568 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir
=.
4576 for ac_exec_ext
in '' $ac_executable_extensions; do
4577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="/usr/bin/find"
4590 FIND
=$ac_cv_path_FIND
4591 if test -n "$FIND"; then
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
4593 $as_echo "$FIND" >&6; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4596 $as_echo "no" >&6; }
4601 if test ! -x "$FIND"; then
4602 as_fn_error $?
"cannot find a valid 'find' command." "$LINENO" 5
4607 if test -z "$WHICH"; then
4608 # Extract the first word of "which", so it can be a program name with args.
4609 set dummy
which; ac_word
=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if ${ac_cv_path_WHICH+:} false
; then :
4613 $as_echo_n "(cached) " >&6
4617 ac_cv_path_WHICH
="$WHICH" # Let the user override the test with a path.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4627 ac_cv_path_WHICH
="$as_dir/$ac_word$ac_exec_ext"
4628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 test -z "$ac_cv_path_WHICH" && ac_cv_path_WHICH
="/usr/bin/which"
4639 WHICH
=$ac_cv_path_WHICH
4640 if test -n "$WHICH"; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WHICH" >&5
4642 $as_echo "$WHICH" >&6; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4650 if test ! -x "$WHICH"; then
4651 as_fn_error $?
"cannot find a valid 'which' command." "$LINENO" 5
4656 for ac_prog
in flex
lex
4658 # Extract the first word of "$ac_prog", so it can be a program name with args.
4659 set dummy
$ac_prog; ac_word
=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_LEX+:} false
; then :
4663 $as_echo_n "(cached) " >&6
4665 if test -n "$LEX"; then
4666 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 test -z "$as_dir" && as_dir
=.
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_LEX
="$ac_prog"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 if test -n "$LEX"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4688 $as_echo "$LEX" >&6; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4695 test -n "$LEX" && break
4697 test -n "$LEX" || LEX
=":"
4699 if test "x$LEX" != "x:"; then
4700 cat >conftest.l
<<_ACEOF
4706 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
4707 yyless ((input () != 0)); }
4708 f { unput (yytext[0]); }
4709 . { BEGIN INITIAL; }
4711 #ifdef YYTEXT_POINTER
4712 extern char *yytext;
4717 return ! yylex () + ! yywrap ();
4720 { { ac_try
="$LEX conftest.l"
4722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4726 $as_echo "$ac_try_echo"; } >&5
4727 (eval "$LEX conftest.l") 2>&5
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4732 $as_echo_n "checking lex output file root... " >&6; }
4733 if ${ac_cv_prog_lex_root+:} false; then :
4734 $as_echo_n "(cached) " >&6
4737 if test -f lex.yy.c; then
4738 ac_cv_prog_lex_root=lex.yy
4739 elif test -f lexyy.c; then
4740 ac_cv_prog_lex_root=lexyy
4742 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4746 $as_echo "$ac_cv_prog_lex_root" >&6; }
4747 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4749 if test -z "${LEXLIB+set}"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4751 $as_echo_n "checking lex library... " >&6; }
4752 if ${ac_cv_lib_lex+:} false; then :
4753 $as_echo_n "(cached) " >&6
4757 ac_cv_lib_lex='none needed'
4758 for ac_lib in '' -lfl -ll; do
4759 LIBS="$ac_lib $ac_save_LIBS"
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 `cat $LEX_OUTPUT_ROOT.c
`
4764 if ac_fn_c_try_link "$LINENO"; then :
4765 ac_cv_lib_lex=$ac_lib
4767 rm -f core conftest.err conftest.$ac_objext \
4768 conftest$ac_exeext conftest.$ac_ext
4769 test "$ac_cv_lib_lex" != 'none needed' && break
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4775 $as_echo "$ac_cv_lib_lex" >&6; }
4776 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4781 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4782 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 # POSIX says lex can declare yytext either as a pointer or an array; the
4786 # default is implementation-dependent. Figure out which it is, since
4787 # not all implementations provide the %pointer and %array declarations.
4788 ac_cv_prog_lex_yytext_pointer=no
4790 LIBS="$LEXLIB $ac_save_LIBS"
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4794 #define YYTEXT_POINTER 1
4795 `cat $LEX_OUTPUT_ROOT.c
`
4797 if ac_fn_c_try_link "$LINENO"; then :
4798 ac_cv_prog_lex_yytext_pointer=yes
4800 rm -f core conftest.err conftest.$ac_objext \
4801 conftest$ac_exeext conftest.$ac_ext
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4806 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4807 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4809 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4812 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4815 lex=`$echo $LEX |
awk '{print $1}'`
4817 if test ! -x "$lex"; then
4818 as_fn_error $? "cannot find a valid 'lex'/'flex' command." "$LINENO" 5
4823 for ac_prog in 'bison -y' byacc
4825 # Extract the first word of "$ac_prog", so it can be a program name with args.
4826 set dummy $ac_prog; ac_word=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_YACC+:} false; then :
4830 $as_echo_n "(cached) " >&6
4832 if test -n "$YACC"; then
4833 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_YACC="$ac_prog"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 YACC=$ac_cv_prog_YACC
4853 if test -n "$YACC"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4855 $as_echo "$YACC" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4862 test -n "$YACC" && break
4864 test -n "$YACC" || YACC="yacc"
4866 yacc=`$echo $YACC |
awk '{print $1}'`
4867 yacc=`$which "$yacc"`
4868 if test ! -x "$yacc"; then
4869 as_fn_error $? "cannot find a valid 'yacc'/'bison' command." "$LINENO" 5
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where unix-like sort(1) lives" >&5
4875 $as_echo_n "checking where unix-like sort(1) lives... " >&6; }
4876 if test $target_os = mingw; then
4877 for d in /bin /usr/bin /mingw/bin /mingw/usr/bin
4879 if test -x $d/sort; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sort" >&5
4888 $as_echo "$sort" >&6; }
4893 echo "FATAL ERROR: $sort -n failed!"
4894 rm -rf conftest conftest.*
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if echo uses -n or backslash-c to suppress newlines" >&5
4900 $as_echo_n "checking if echo uses -n or backslash-c to suppress newlines... " >&6; }
4901 if ( $echo "testing\c"; $echo 1,2,3 ) | grep c >/dev/null
4903 if ( $echo -n testing; $echo 1,2,3 ) | sed s/-n/xn/ | grep xn >/dev/null
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither?" >&5
4907 $as_echo "neither?" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -n" >&5
4911 $as_echo " -n" >&6; }
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: backslash-c" >&5
4916 $as_echo "backslash-c" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4922 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4923 if ${ac_cv_path_GREP+:} false; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -z "$GREP"; then
4927 ac_path_GREP_found=false
4928 # Loop through the user's path and test for each of PROGNAME-LIST
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4933 test -z "$as_dir" && as_dir=.
4934 for ac_prog in grep ggrep; do
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4937 as_fn_executable_p "$ac_path_GREP" || continue
4938 # Check for GNU ac_path_GREP and select it if it is found.
4939 # Check for GNU $ac_path_GREP
4940 case `"$ac_path_GREP" --version 2>&1` in
4942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4945 $as_echo_n 0123456789 >"conftest.in"
4948 cat "conftest.in" "conftest.in" >"conftest.tmp"
4949 mv "conftest.tmp" "conftest.in"
4950 cp "conftest.in" "conftest.nl"
4951 $as_echo 'GREP' >> "conftest.nl"
4952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4954 as_fn_arith $ac_count + 1 && ac_count=$as_val
4955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4956 # Best one so far, save it but keep looking for a better one
4957 ac_cv_path_GREP="$ac_path_GREP"
4958 ac_path_GREP_max=$ac_count
4960 # 10*(2^10) chars as input seems more than enough
4961 test $ac_count -gt 10 && break
4963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4966 $ac_path_GREP_found && break 3
4971 if test -z "$ac_cv_path_GREP"; then
4972 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4975 ac_cv_path_GREP=$GREP
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4980 $as_echo "$ac_cv_path_GREP" >&6; }
4981 GREP="$ac_cv_path_GREP"
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4985 $as_echo_n "checking for egrep... " >&6; }
4986 if ${ac_cv_path_EGREP+:} false; then :
4987 $as_echo_n "(cached) " >&6
4989 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4990 then ac_cv_path_EGREP="$GREP -E"
4992 if test -z "$EGREP"; then
4993 ac_path_EGREP_found=false
4994 # Loop through the user's path and test for each of PROGNAME-LIST
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4999 test -z "$as_dir" && as_dir=.
5000 for ac_prog in egrep; do
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5003 as_fn_executable_p "$ac_path_EGREP" || continue
5004 # Check for GNU ac_path_EGREP and select it if it is found.
5005 # Check for GNU $ac_path_EGREP
5006 case `"$ac_path_EGREP" --version 2>&1` in
5008 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5011 $as_echo_n 0123456789 >"conftest.in"
5014 cat "conftest.in" "conftest.in" >"conftest.tmp"
5015 mv "conftest.tmp" "conftest.in"
5016 cp "conftest.in" "conftest.nl"
5017 $as_echo 'EGREP' >> "conftest.nl"
5018 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5019 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5020 as_fn_arith $ac_count + 1 && ac_count=$as_val
5021 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5022 # Best one so far, save it but keep looking for a better one
5023 ac_cv_path_EGREP="$ac_path_EGREP"
5024 ac_path_EGREP_max=$ac_count
5026 # 10*(2^10) chars as input seems more than enough
5027 test $ac_count -gt 10 && break
5029 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5032 $ac_path_EGREP_found && break 3
5037 if test -z "$ac_cv_path_EGREP"; then
5038 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5041 ac_cv_path_EGREP=$EGREP
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5047 $as_echo "$ac_cv_path_EGREP" >&6; }
5048 EGREP="$ac_cv_path_EGREP"
5052 if test "$do_probes" = "check" -o "$do_probes" = "yes"
5055 for ac_prog in dtrace
5057 # Extract the first word of "$ac_prog", so it can be a program name with args.
5058 set dummy $ac_prog; ac_word=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5060 $as_echo_n "checking for $ac_word... " >&6; }
5061 if ${ac_cv_prog_DTRACE+:} false; then :
5062 $as_echo_n "(cached) " >&6
5064 if test -n "$DTRACE"; then
5065 ac_cv_prog_DTRACE="$DTRACE" # Let the user override the test.
5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 test -z "$as_dir" && as_dir=.
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074 ac_cv_prog_DTRACE="$ac_prog"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 DTRACE=$ac_cv_prog_DTRACE
5085 if test -n "$DTRACE"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
5087 $as_echo "$DTRACE" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5090 $as_echo "no" >&6; }
5094 test -n "$DTRACE" && break
5097 if test -z "$DTRACE"
5099 if test "$do_probes" = "yes"
5101 as_fn_error $? "cannot enable static probes - no dtrace executable" "$LINENO" 5
5106 ac_cpp='$CPP $CPPFLAGS'
5107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5111 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5112 # On Suns, sometimes $CPP names a directory.
5113 if test -n "$CPP" && test -d "$CPP"; then
5116 if test -z "$CPP"; then
5117 if ${ac_cv_prog_CPP+:} false; then :
5118 $as_echo_n "(cached) " >&6
5120 # Double quotes because CPP needs to be expanded
5121 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5124 for ac_c_preproc_warn_flag in '' yes
5126 # Use a header file that comes with gcc, so configuring glibc
5127 # with a fresh cross-compiler works.
5128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5129 # <limits.h> exists even on freestanding compilers.
5130 # On the NeXT, cc -E runs the code through the compiler's parser,
5131 # not just through cpp. "Syntax error" is here to catch this case.
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5135 # include <limits.h>
5137 # include <assert.h>
5141 if ac_fn_c_try_cpp "$LINENO"; then :
5144 # Broken: fails on valid input.
5147 rm -f conftest.err conftest.i conftest.$ac_ext
5149 # OK, works on sane cases. Now check whether nonexistent headers
5150 # can be detected and how.
5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5153 #include <ac_nonexistent.h>
5155 if ac_fn_c_try_cpp "$LINENO"; then :
5156 # Broken: success on invalid input.
5159 # Passes both tests.
5163 rm -f conftest.err conftest.i conftest.$ac_ext
5166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5167 rm -f conftest.i conftest.err conftest.
$ac_ext
5168 if $ac_preproc_ok; then :
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5181 $as_echo "$CPP" >&6; }
5183 for ac_c_preproc_warn_flag
in '' yes
5185 # Use a header file that comes with gcc, so configuring glibc
5186 # with a fresh cross-compiler works.
5187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5188 # <limits.h> exists even on freestanding compilers.
5189 # On the NeXT, cc -E runs the code through the compiler's parser,
5190 # not just through cpp. "Syntax error" is here to catch this case.
5191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5194 # include <limits.h>
5196 # include <assert.h>
5200 if ac_fn_c_try_cpp
"$LINENO"; then :
5203 # Broken: fails on valid input.
5206 rm -f conftest.err conftest.i conftest.
$ac_ext
5208 # OK, works on sane cases. Now check whether nonexistent headers
5209 # can be detected and how.
5210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5212 #include <ac_nonexistent.h>
5214 if ac_fn_c_try_cpp
"$LINENO"; then :
5215 # Broken: success on invalid input.
5218 # Passes both tests.
5222 rm -f conftest.err conftest.i conftest.
$ac_ext
5225 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5226 rm -f conftest.i conftest.err conftest.
$ac_ext
5227 if $ac_preproc_ok; then :
5230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5232 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5233 See \`config.log' for more details" "$LINENO" 5; }
5237 ac_cpp
='$CPP $CPPFLAGS'
5238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5244 $as_echo_n "checking for ANSI C header files... " >&6; }
5245 if ${ac_cv_header_stdc+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5263 if ac_fn_c_try_compile
"$LINENO"; then :
5264 ac_cv_header_stdc
=yes
5266 ac_cv_header_stdc
=no
5268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5270 if test $ac_cv_header_stdc = yes; then
5271 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "memchr" >/dev
/null
2>&1; then :
5281 ac_cv_header_stdc
=no
5287 if test $ac_cv_header_stdc = yes; then
5288 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5295 $EGREP "free" >/dev
/null
2>&1; then :
5298 ac_cv_header_stdc
=no
5304 if test $ac_cv_header_stdc = yes; then
5305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5306 if test "$cross_compiling" = yes; then :
5309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5313 #if ((' ' & 0x0FF) == 0x020)
5314 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5315 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5317 # define ISLOWER(c) \
5318 (('a' <= (c) && (c) <= 'i') \
5319 || ('j' <= (c) && (c) <= 'r') \
5320 || ('s' <= (c) && (c) <= 'z'))
5321 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5324 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5329 for (i = 0; i < 256; i++)
5330 if (XOR (islower (i), ISLOWER (i))
5331 || toupper (i) != TOUPPER (i))
5336 if ac_fn_c_try_run
"$LINENO"; then :
5339 ac_cv_header_stdc
=no
5341 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5342 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5348 $as_echo "$ac_cv_header_stdc" >&6; }
5349 if test $ac_cv_header_stdc = yes; then
5351 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5355 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5356 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5357 inttypes.h stdint.h unistd.h
5359 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5360 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5362 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5363 cat >>confdefs.h
<<_ACEOF
5364 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5372 for ac_header
in sys
/sdt.h
5374 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default"
5375 if test "x$ac_cv_header_sys_sdt_h" = xyes
; then :
5376 cat >>confdefs.h
<<_ACEOF
5377 #define HAVE_SYS_SDT_H 1
5380 if $enable_probes = true
5382 if test $target_os = kfreebsd
5385 elif test $target_os = freebsd
5387 rm -f conftest.d conftest.h
5388 cat <<End-of-File >conftest.d
5393 if dtrace
-s conftest.d
-h >/dev
/null
2>&1
5395 if test ! -f conftest.h
5398 if test "$do_probes" = "yes"
5400 as_fn_error $?
"cannot enable static probes - no .h from dtrace -h" "$LINENO" 5
5405 if test "$do_probes" = "yes"
5407 as_fn_error $?
"cannot enable static probes - dtrace failed" "$LINENO" 5
5416 if test "$do_probes" = "yes"
5418 as_fn_error $?
"cannot enable static probes - no SDT header" "$LINENO" 5
5426 if test "$enable_probes" = "true"
5429 $as_echo "#define HAVE_STATIC_PROBES 1" >>confdefs.h
5436 if test "x$do_discovery" != "xno"; then :
5438 # on Mac OS X, dns_sd.h
5440 # on Linux, aloha Avahi
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
5445 $as_echo_n "checking for avahi... " >&6; }
5447 if test -n "$avahi_CFLAGS"; then
5448 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
5449 elif test -n "$PKG_CONFIG"; then
5450 if test -n "$PKG_CONFIG" && \
5451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
5452 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
5454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5455 test $ac_status = 0; }; then
5456 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
5457 test "x$?" != "x0" && pkg_failed
=yes
5464 if test -n "$avahi_LIBS"; then
5465 pkg_cv_avahi_LIBS
="$avahi_LIBS"
5466 elif test -n "$PKG_CONFIG"; then
5467 if test -n "$PKG_CONFIG" && \
5468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
5469 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
5471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5472 test $ac_status = 0; }; then
5473 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
5474 test "x$?" != "x0" && pkg_failed
=yes
5484 if test $pkg_failed = yes; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5489 _pkg_short_errors_supported
=yes
5491 _pkg_short_errors_supported
=no
5493 if test $_pkg_short_errors_supported = yes; then
5494 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
5496 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
5498 # Put the nasty error message in config.log where it belongs
5499 echo "$avahi_PKG_ERRORS" >&5
5502 elif test $pkg_failed = untried
; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5507 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
5508 avahi_LIBS
=$pkg_cv_avahi_LIBS
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5510 $as_echo "yes" >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5
5512 $as_echo_n "checking for avahi_client_new in -lavahi-client... " >&6; }
5513 if ${ac_cv_lib_avahi_client_avahi_client_new+:} false
; then :
5514 $as_echo_n "(cached) " >&6
5516 ac_check_lib_save_LIBS
=$LIBS
5517 LIBS
="-lavahi-client $LIBS"
5518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5519 /* end confdefs.h. */
5521 /* Override any GCC internal prototype to avoid an error.
5522 Use char because int might match the return type of a GCC
5523 builtin and then its argument prototype would still apply. */
5527 char avahi_client_new ();
5531 return avahi_client_new ();
5536 if ac_fn_c_try_link
"$LINENO"; then :
5537 ac_cv_lib_avahi_client_avahi_client_new
=yes
5539 ac_cv_lib_avahi_client_avahi_client_new
=no
5541 rm -f core conftest.err conftest.
$ac_objext \
5542 conftest
$ac_exeext conftest.
$ac_ext
5543 LIBS
=$ac_check_lib_save_LIBS
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5
5546 $as_echo "$ac_cv_lib_avahi_client_avahi_client_new" >&6; }
5547 if test "x$ac_cv_lib_avahi_client_avahi_client_new" = xyes
; then :
5548 lib_for_avahi
="-lavahi-common -lavahi-client"
5555 for ac_header
in avahi-client
/publish.h
5557 ac_fn_c_check_header_mongrel
"$LINENO" "avahi-client/publish.h" "ac_cv_header_avahi_client_publish_h" "$ac_includes_default"
5558 if test "x$ac_cv_header_avahi_client_publish_h" = xyes
; then :
5559 cat >>confdefs.h
<<_ACEOF
5560 #define HAVE_AVAHI_CLIENT_PUBLISH_H 1
5569 for ac_header
in avahi-common
/alternative.h
5571 ac_fn_c_check_header_mongrel
"$LINENO" "avahi-common/alternative.h" "ac_cv_header_avahi_common_alternative_h" "$ac_includes_default"
5572 if test "x$ac_cv_header_avahi_common_alternative_h" = xyes
; then :
5573 cat >>confdefs.h
<<_ACEOF
5574 #define HAVE_AVAHI_COMMON_ALTERNATIVE_H 1
5584 if test "$enable_avahi" = "true"
5589 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
5591 enable_discovery
=true
5594 if test "$do_discovery" != "check" -a "$enable_discovery" != "true"
5596 as_fn_error $?
"cannot enable service discovery - no supported mechanisms" "$LINENO" 5
5598 if test "$enable_discovery" = "true"
5601 $as_echo "#define HAVE_SERVICE_DISCOVERY 1" >>confdefs.h
5609 enable_systemd
=false
5610 if test "x$do_systemd" != "xno"; then :
5615 if test -n "$SYSTEMD_SYSTEMUNITDIR"; then
5616 pkg_cv_SYSTEMD_SYSTEMUNITDIR
="$SYSTEMD_SYSTEMUNITDIR"
5617 elif test -n "$PKG_CONFIG"; then
5618 if test -n "$PKG_CONFIG" && \
5619 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
5620 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
5622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5623 test $ac_status = 0; }; then
5624 pkg_cv_SYSTEMD_SYSTEMUNITDIR
=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/null`
5625 test "x$?" != "x0" && pkg_failed
=yes
5632 SYSTEMD_SYSTEMUNITDIR
=$pkg_cv_SYSTEMD_SYSTEMUNITDIR
5634 if test "x$SYSTEMD_SYSTEMUNITDIR" = x
""; then :
5635 enable_systemd
=false
5637 pcp_systemdunit_dir
=$SYSTEMD_SYSTEMUNITDIR
5640 if test -z "$pcp_systemdunit_dir"
5642 if test "$do_systemd" = "yes"
5644 as_fn_error $?
"cannot enable systemd support - no systemunitdir path" "$LINENO" 5
5646 enable_systemd
=false
5654 PACKAGE_VERSION
=${PACKAGE_MAJOR}.${PACKAGE_MINOR}.${PACKAGE_REVISION}
5661 if test -z "$PACKAGE_BUILD_DATE" ; then
5662 PACKAGE_BUILD_DATE
=`date +%Y-%m-%d`
5666 if test -z "$PACKAGE_DISTRIBUTION" ; then
5667 PACKAGE_DISTRIBUTION
=$target_distro
5671 pm_version_current
=`awk </dev/null "BEGIN { print (${PACKAGE_MAJOR}*256+${PACKAGE_MINOR})*256+${PACKAGE_REVISION} }"`
5674 ac_config_headers
="$ac_config_headers src/include/pcp/config.h src/include/pcp/configsz.h"
5676 ac_config_files
="$ac_config_files src/include/pcp/platform_defs.h src/include/pcp/platformsz.h"
5678 cat >confcache
<<\_ACEOF
5679 # This file is a shell script that caches the results of configure
5680 # tests run on this system so they can be shared between configure
5681 # scripts and configure runs, see configure's option --config-cache.
5682 # It is not useful on other systems. If it contains results you don't
5683 # want to keep, you may remove or edit it.
5685 # config.status only pays attention to the cache file if you give it
5686 # the --recheck option to rerun configure.
5688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5694 # The following way of writing the cache mishandles newlines in values,
5695 # but we know of no workaround that is simple, portable, and efficient.
5696 # So, we kill variables containing newlines.
5697 # Ultrix sh set writes to stderr and can't be redirected directly,
5698 # and sets the high bit in the cache file unless we assign to the vars.
5700 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5701 eval ac_val
=\$
$ac_var
5705 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5709 _ | IFS | as_nl
) ;; #(
5710 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5711 *) { eval $ac_var=; unset $ac_var;} ;;
5717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5718 *${as_nl}ac_space
=\
*)
5719 # `set' does not quote correctly, so add quotes: double-quote
5720 # substitution turns \\\\ into \\, and sed turns \\ into \.
5723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5726 # `set' quotes correctly as required by POSIX, so do not add quotes.
5727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5740 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5741 if test -w "$cache_file"; then
5742 if test "x$cache_file" != "x/dev/null"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5744 $as_echo "$as_me: updating cache $cache_file" >&6;}
5745 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5746 cat confcache
>"$cache_file"
5748 case $cache_file in #(
5750 mv -f confcache
"$cache_file"$$
&&
5751 mv -f "$cache_file"$$
"$cache_file" ;; #(
5753 mv -f confcache
"$cache_file" ;;
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5759 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5764 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5765 # Let make expand exec_prefix.
5766 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5768 DEFS
=-DHAVE_CONFIG_H
5773 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5774 # 1. Remove the extension, and $U if already installed.
5775 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5776 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5778 # will be set to the directory where LIBOBJS objects are built.
5779 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5780 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5784 LTLIBOBJS
=$ac_ltlibobjs
5788 : "${CONFIG_STATUS=./config.status}"
5790 ac_clean_files_save
=$ac_clean_files
5791 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5793 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5795 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5797 # Generated by $as_me.
5798 # Run this file to recreate the current configuration.
5799 # Compiler output produced by configure, useful for debugging
5800 # configure, is in config.log if it exists.
5806 SHELL=\${CONFIG_SHELL-$SHELL}
5809 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5810 ## -------------------- ##
5811 ## M4sh Initialization. ##
5812 ## -------------------- ##
5814 # Be more Bourne compatible
5815 DUALCASE
=1; export DUALCASE
# for MKS sh
5816 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5819 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5820 # is contrary to our usage. Disable this feature.
5821 alias -g '${1+"$@"}'='"$@"'
5822 setopt NO_GLOB_SUBST
5824 case `(set -o) 2>/dev/null` in #(
5836 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5837 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5838 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5839 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5840 # Prefer a ksh shell builtin over an external printf program on Solaris,
5841 # but without wasting forks for bash or zsh.
5842 if test -z "$BASH_VERSION$ZSH_VERSION" \
5843 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5844 as_echo='print
-r --'
5845 as_echo_n='print
-rn --'
5846 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5847 as_echo='printf %s
\n'
5848 as_echo_n='printf %s
'
5850 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5851 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5852 as_echo_n='/usr
/ucb
/echo -n'
5854 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5855 as_echo_n_body='eval
5859 expr "X$arg" : "X\\(.*\\)$as_nl";
5860 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5862 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5864 export as_echo_n_body
5865 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5868 as_echo='sh
-c $as_echo_body as_echo
'
5871 # The user is always right.
5872 if test "${PATH_SEPARATOR+set}" != set; then
5874 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5875 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5882 # We need space, tab and new line, in precisely that order. Quoting is
5883 # there to prevent editors from complaining about space-tab.
5884 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5885 # splitting by setting IFS to empty value.)
5888 # Find who we are. Look in the path if we contain no directory separator.
5891 *[\\/]* ) as_myself=$0 ;;
5892 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir=.
5897 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5903 # We did not find ourselves, most probably we were run as `sh COMMAND'
5904 # in which case we are not to be found in the path.
5905 if test "x$as_myself" = x
; then
5908 if test ! -f "$as_myself"; then
5909 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5913 # Unset variables that we do not need and which cause bugs (e.g. in
5914 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5915 # suppresses any "Segmentation fault" message there. '((' could
5916 # trigger a bug in pdksh 5.2.14.
5917 for as_var
in BASH_ENV ENV MAIL MAILPATH
5918 do eval test x\
${$as_var+set} = xset \
5919 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5932 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5935 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5936 # ----------------------------------------
5937 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5938 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5939 # script with STATUS, using 1 if that was 0.
5942 as_status
=$1; test $as_status -eq 0 && as_status
=1
5944 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5945 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5947 $as_echo "$as_me: error: $2" >&2
5948 as_fn_exit
$as_status
5952 # as_fn_set_status STATUS
5953 # -----------------------
5954 # Set $? to STATUS, without forking.
5958 } # as_fn_set_status
5962 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5972 # Portably unset VAR.
5975 { eval $1=; unset $1;}
5977 as_unset
=as_fn_unset
5978 # as_fn_append VAR VALUE
5979 # ----------------------
5980 # Append the text in VALUE to the end of the definition contained in VAR. Take
5981 # advantage of any shell optimizations that allow amortized linear growth over
5982 # repeated appends, instead of the typical quadratic growth present in naive
5984 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5985 eval 'as_fn_append ()
5996 # as_fn_arith ARG...
5997 # ------------------
5998 # Perform arithmetic evaluation on the ARGs, and store the result in the
5999 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6000 # must be portable across $(()) and expr.
6001 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6002 eval 'as_fn_arith ()
6009 as_val
=`expr "$@" || test $? -eq 1`
6014 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6015 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6021 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6022 as_basename
=basename
6027 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6033 as_me
=`$as_basename -- "$0" ||
6034 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6035 X"$0" : 'X\(//\)$' \| \
6036 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6038 sed '/^.*\/\([^/][^/]*\)\/*$/{
6052 # Avoid depending upon Character Ranges.
6053 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6054 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6055 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6056 as_cr_digits
='0123456789'
6057 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6059 ECHO_C
= ECHO_N
= ECHO_T
=
6060 case `echo -n x` in #(((((
6062 case `echo 'xy\c'` in
6063 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6065 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6072 rm -f conf$$ conf$$.exe conf$$.
file
6073 if test -d conf$$.dir
; then
6074 rm -f conf$$.dir
/conf$$.
file
6077 mkdir conf$$.dir
2>/dev
/null
6079 if (echo >conf$$.
file) 2>/dev
/null
; then
6080 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6082 # ... but there are two gotchas:
6083 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6084 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6085 # In both cases, we have to default to `cp -pR'.
6086 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6088 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6096 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6097 rmdir conf$$.dir
2>/dev
/null
6102 # Create "$as_dir" as a directory, including parents if necessary.
6107 -*) as_dir
=.
/$as_dir;;
6109 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6113 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6114 *) as_qdir
=$as_dir;;
6116 as_dirs
="'$as_qdir' $as_dirs"
6117 as_dir
=`$as_dirname -- "$as_dir" ||
6118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6119 X"$as_dir" : 'X\(//\)[^/]' \| \
6120 X"$as_dir" : 'X\(//\)$' \| \
6121 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6122 $as_echo X"$as_dir" |
6123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6140 test -d "$as_dir" && break
6142 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6143 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6147 if mkdir
-p .
2>/dev
/null
; then
6148 as_mkdir_p
='mkdir -p "$as_dir"'
6150 test -d .
/-p && rmdir .
/-p
6155 # as_fn_executable_p FILE
6156 # -----------------------
6157 # Test if FILE is an executable regular file.
6158 as_fn_executable_p
()
6160 test -f "$1" && test -x "$1"
6161 } # as_fn_executable_p
6163 as_executable_p
=as_fn_executable_p
6165 # Sed expression to map a string onto a valid CPP name.
6166 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6168 # Sed expression to map a string onto a valid variable name.
6169 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6173 ## ----------------------------------- ##
6174 ## Main body of $CONFIG_STATUS script. ##
6175 ## ----------------------------------- ##
6177 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6180 # Save the log message, to keep $0 and so on meaningful, and to
6181 # report actual input values of CONFIG_FILES etc. instead of their
6182 # values after options handling.
6184 This file was extended by $as_me, which was
6185 generated by GNU Autoconf 2.69. Invocation command line was
6187 CONFIG_FILES = $CONFIG_FILES
6188 CONFIG_HEADERS = $CONFIG_HEADERS
6189 CONFIG_LINKS = $CONFIG_LINKS
6190 CONFIG_COMMANDS = $CONFIG_COMMANDS
6193 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6198 case $ac_config_files in *"
6199 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6202 case $ac_config_headers in *"
6203 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6208 # Files that config.status was made for.
6209 config_files="$ac_config_files"
6210 config_headers="$ac_config_headers"
6214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6216 \`$as_me' instantiates files and other configuration actions
6217 from templates according to the current configuration. Unless the files
6218 and actions are specified as TAGs, all are instantiated by default.
6220 Usage: $0 [OPTION]... [TAG]...
6222 -h, --help print this help, then exit
6223 -V, --version print version number and configuration settings, then exit
6224 --config print configuration, then exit
6225 -q, --quiet, --silent
6226 do not print progress messages
6227 -d, --debug don't remove temporary files
6228 --recheck update $as_me by reconfiguring in the same conditions
6229 --file=FILE[:TEMPLATE]
6230 instantiate the configuration file FILE
6231 --header=FILE[:TEMPLATE]
6232 instantiate the configuration header FILE
6234 Configuration files:
6237 Configuration headers:
6240 Report bugs to the package provider."
6243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6244 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6247 configured by $0, generated by GNU Autoconf 2.69,
6248 with options \\"\$ac_cs_config\\"
6250 Copyright (C) 2012 Free Software Foundation, Inc.
6251 This config.status script is free software; the Free Software Foundation
6252 gives unlimited permission to copy, distribute and modify it."
6256 test -n "\$AWK" || AWK=awk
6259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6260 # The default lists apply if the user does not specify any file.
6266 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6267 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6271 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6283 # Handling of the options.
6284 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6286 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6287 $as_echo "$ac_cs_version"; exit ;;
6288 --config |
--confi |
--conf |
--con |
--co |
--c )
6289 $as_echo "$ac_cs_config"; exit ;;
6290 --debug |
--debu |
--deb |
--de |
--d |
-d )
6292 --file |
--fil |
--fi |
--f )
6295 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6296 '') as_fn_error $?
"missing file argument" ;;
6298 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6299 ac_need_defaults
=false
;;
6300 --header |
--heade |
--head |
--hea )
6303 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6305 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6306 ac_need_defaults
=false
;;
6308 # Conflict between --help and --header
6309 as_fn_error $?
"ambiguous option: \`$1'
6310 Try \`$0 --help' for more information.";;
6311 --help |
--hel |
-h )
6312 $as_echo "$ac_cs_usage"; exit ;;
6313 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6314 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6318 -*) as_fn_error $?
"unrecognized option: \`$1'
6319 Try \`$0 --help' for more information." ;;
6321 *) as_fn_append ac_config_targets
" $1"
6322 ac_need_defaults
=false
;;
6328 ac_configure_extra_args
=
6330 if $ac_cs_silent; then
6332 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6337 if \$ac_cs_recheck; then
6338 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6340 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6341 CONFIG_SHELL='$SHELL'
6347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6351 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6352 ## Running $as_me. ##
6358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6363 # Handling of arguments.
6364 for ac_config_target
in $ac_config_targets
6366 case $ac_config_target in
6367 "src/include/pcp/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/config.h" ;;
6368 "src/include/pcp/configsz.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/configsz.h" ;;
6369 "src/include/pcp/platform_defs.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platform_defs.h" ;;
6370 "src/include/pcp/platformsz.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platformsz.h" ;;
6372 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6377 # If the user did not use the arguments to specify the items to instantiate,
6378 # then the envvar interface is used. Set only those that are not.
6379 # We use the long form for the default assignment because of an extremely
6380 # bizarre bug on SunOS 4.1.3.
6381 if $ac_need_defaults; then
6382 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6383 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6386 # Have a temporary directory for convenience. Make it in the build tree
6387 # simply because there is no reason against having it here, and in addition,
6388 # creating and moving files from /tmp can sometimes cause problems.
6389 # Hook for its removal unless debugging.
6390 # Note that there is a small window in which the directory will not be cleaned:
6391 # after its creation but before its name has been assigned to `$tmp'.
6395 trap 'exit_status=$?
6397 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6399 trap 'as_fn_exit 1' 1 2 13 15
6401 # Create a (secure) tmp directory for tmp files.
6404 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6408 tmp
=.
/conf$$
-$RANDOM
6409 (umask 077 && mkdir
"$tmp")
6410 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6413 # Set up the scripts for CONFIG_FILES section.
6414 # No need to generate them if there are no CONFIG_FILES.
6415 # This happens for instance with `./config.status config.h'.
6416 if test -n "$CONFIG_FILES"; then
6419 ac_cr
=`echo X | tr X '\015'`
6420 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6421 # But we know of no other shell where ac_cr would be empty at this
6422 # point, so we can use a bashism as a fallback.
6423 if test "x$ac_cr" = x
; then
6424 eval ac_cr
=\$
\'\\r
\'
6426 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6427 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6433 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6438 echo "cat >conf$$subs.awk <<_ACEOF" &&
6439 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6442 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6443 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6445 for ac_last_try in false false false false false :; do
6446 . ./conf$$subs.sh ||
6447 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6449 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6450 if test $ac_delim_n = $ac_delim_num; then
6452 elif $ac_last_try; then
6453 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6455 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6461 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6465 s/^/S["/; s
/!.
*/"]=/
6475 s/\(.\{148\}\)..*/\1/
6477 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6482 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6489 s/\(.\{148\}\)..*/\1/
6491 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6495 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6500 ' <conf$$subs.awk | sed '
6505 ' >>$CONFIG_STATUS || ac_write_fail=1
6506 rm -f conf$$subs.awk
6507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6509 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6510 for (key in S) S_is_set[key] = 1
6516 nfields = split(line, field, "@
")
6518 len = length(field[1])
6519 for (i = 2; i < nfields; i++) {
6521 keylen = length(key)
6522 if (S_is_set[key]) {
6524 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6525 len += length(value) + length(field[++i])
6536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6537 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6538 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6541 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6542 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6545 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6546 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6547 # trailing colons and then remove the whole line if VPATH becomes empty
6548 # (actually we leave an empty line to preserve line numbers).
6549 if test "x
$srcdir" = x.; then
6550 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6569 fi # test -n "$CONFIG_FILES"
6571 # Set up the scripts for CONFIG_HEADERS section.
6572 # No need to generate them if there are no CONFIG_HEADERS.
6573 # This happens for instance with `./config.status Makefile'.
6574 if test -n "$CONFIG_HEADERS"; then
6575 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6579 # Transform confdefs.h into an awk script `defines.awk', embedded as
6580 # here-document in config.status, that substitutes the proper values into
6581 # config.h.in to produce config.h.
6583 # Create a delimiter string that does not exist in confdefs.h, to ease
6584 # handling of long lines.
6586 for ac_last_try in false false :; do
6587 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6588 if test -z "$ac_tt"; then
6590 elif $ac_last_try; then
6591 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6593 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6597 # For the awk script, D is an array of macro values keyed by name,
6598 # likewise P contains macro parameters if any. Preserve backslash
6599 # newline sequences.
6601 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6603 s/.\{148\}/&'"$ac_delim"'/g
6606 s/^[ ]*#[ ]*define[ ][ ]*/ /
6613 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6615 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6619 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6620 D["\
1"]=" \
3\\\\\\n
"\\/p
6622 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6627 s/.\{148\}/&'"$ac_delim"'/g
6632 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6635 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6637 ' <confdefs.h | sed '
6638 s/'"$ac_delim"'/"\\\
6639 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6642 for (key in D) D_is_set[key] = 1
6645 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6647 split(line, arg, " ")
6648 if (arg[1] == "#") {
6652 defundef
= substr
(arg
[1], 2)
6655 split(mac1
, mac2
, "(") #)
6657 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6658 if (D_is_set
[macro
]) {
6659 # Preserve the white space surrounding the "#".
6660 print prefix
"define", macro P
[macro
] D
[macro
]
6663 # Replace #undef with comments. This is necessary, for example,
6664 # in the case of _POSIX_SOURCE, which is predefined and required
6665 # on some systems where configure will not decide to define it.
6666 if (defundef
== "undef") {
6667 print
"/*", prefix defundef
, macro
, "*/"
6675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6676 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6677 fi # test -n "$CONFIG_HEADERS"
6680 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
6685 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6687 case $ac_mode$ac_tag in
6689 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6690 :[FH
]-) ac_tag
=-:-;;
6691 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6708 -) ac_f
="$ac_tmp/stdin";;
6709 *) # Look for the file first in the build tree, then in the source tree
6710 # (if the path is not absolute). The absolute path cannot be DOS-style,
6711 # because $ac_f cannot contain `:'.
6715 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6717 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6719 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6720 as_fn_append ac_file_inputs
" '$ac_f'"
6723 # Let's still pretend it is `configure' which instantiates (i.e., don't
6724 # use $as_me), people would be surprised to read:
6725 # /* config.h. Generated by config.status. */
6726 configure_input
='Generated from '`
6727 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6729 if test x
"$ac_file" != x-
; then
6730 configure_input
="$ac_file. $configure_input"
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6732 $as_echo "$as_me: creating $ac_file" >&6;}
6734 # Neutralize special characters interpreted by sed in replacement strings.
6735 case $configure_input in #(
6736 *\
&* |
*\|
* |
*\\* )
6737 ac_sed_conf_input
=`$as_echo "$configure_input" |
6738 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6739 *) ac_sed_conf_input
=$configure_input;;
6743 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6744 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6749 ac_dir
=`$as_dirname -- "$ac_file" ||
6750 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6751 X"$ac_file" : 'X\(//\)[^/]' \| \
6752 X"$ac_file" : 'X\(//\)$' \| \
6753 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6754 $as_echo X"$ac_file" |
6755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6772 as_dir
="$ac_dir"; as_fn_mkdir_p
6776 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6778 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6779 # A ".." for each directory in $ac_dir_suffix.
6780 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6781 case $ac_top_builddir_sub in
6782 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6783 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6786 ac_abs_top_builddir
=$ac_pwd
6787 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6788 # for backward compatibility:
6789 ac_top_builddir
=$ac_top_build_prefix
6792 .
) # We are building in place.
6794 ac_top_srcdir
=$ac_top_builddir_sub
6795 ac_abs_top_srcdir
=$ac_pwd ;;
6796 [\\/]* | ?
:[\\/]* ) # Absolute name.
6797 ac_srcdir
=$srcdir$ac_dir_suffix;
6798 ac_top_srcdir
=$srcdir
6799 ac_abs_top_srcdir
=$srcdir ;;
6801 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6802 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6803 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6805 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6817 # If the template does not know about datarootdir, expand it.
6818 # FIXME: This hack should be removed a few years after 2.60.
6819 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6830 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6831 *datarootdir
*) ac_datarootdir_seen
=yes;;
6832 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6834 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6837 ac_datarootdir_hack='
6838 s&@datadir@&$datadir&g
6839 s&@docdir@&$docdir&g
6840 s&@infodir@&$infodir&g
6841 s&@localedir@&$localedir&g
6842 s&@mandir@&$mandir&g
6843 s&\\\${datarootdir}&$datarootdir&g' ;;
6847 # Neutralize VPATH when `$srcdir' = `.'.
6848 # Shell code in configure.ac might set extrasub.
6849 # FIXME: do we really want to maintain this feature?
6850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6851 ac_sed_extra="$ac_vpsub
6854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6856 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6857 s|@configure_input@|
$ac_sed_conf_input|
;t t
6858 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6859 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6860 s
&@srcdir@
&$ac_srcdir&;t t
6861 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6862 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6863 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6864 s
&@builddir@
&$ac_builddir&;t t
6865 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6866 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6867 $ac_datarootdir_hack
6869 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6870 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6872 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6873 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6874 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6875 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6877 which seems to be undefined. Please make sure it is defined" >&5
6878 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6879 which seems to be undefined. Please make sure it is defined" >&2;}
6881 rm -f "$ac_tmp/stdin"
6883 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6884 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6886 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6892 if test x"$ac_file" != x-; then
6894 $as_echo "/* $configure_input */" \
6895 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6896 } >"$ac_tmp/config.h" \
6897 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6898 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6900 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6903 mv "$ac_tmp/config.h" "$ac_file" \
6904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6907 $as_echo "/* $configure_input */" \
6908 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6909 || as_fn_error $? "could not create -" "$LINENO" 5
6921 ac_clean_files=$ac_clean_files_save
6923 test $ac_write_fail = 0 ||
6924 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6927 # configure is writing to config.log, and then calls config.status.
6928 # config.status does its own redirection, appending to config.log.
6929 # Unfortunately, on DOS this fails, as config.log is still kept open
6930 # by configure, so config.status won't be able to
write to it
; its
6931 # output is simply discarded. So we exec the FD to /dev/null,
6932 # effectively closing config.log, so it can be properly (re)opened and
6933 # appended to by config.status. When coming back to configure, we
6934 # need to make the FD available again.
6935 if test "$no_create" != yes; then
6937 ac_config_status_args
=
6938 test "$silent" = yes &&
6939 ac_config_status_args
="$ac_config_status_args --quiet"
6941 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6943 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6944 # would make configure fail if this is the last instruction.
6945 $ac_cs_success || as_fn_exit
1
6947 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6949 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6955 # Extract the first word of "$ac_prog", so it can be a program name with args.
6956 set dummy
$ac_prog; ac_word
=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_prog_GIT+:} false
; then :
6960 $as_echo_n "(cached) " >&6
6962 if test -n "$GIT"; then
6963 ac_cv_prog_GIT
="$GIT" # Let the user override the test.
6965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6969 test -z "$as_dir" && as_dir
=.
6970 for ac_exec_ext
in '' $ac_executable_extensions; do
6971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6972 ac_cv_prog_GIT
="$ac_prog"
6973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983 if test -n "$GIT"; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
6985 $as_echo "$GIT" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6992 test -n "$GIT" && break
6997 for ac_prog
in python
6999 # Extract the first word of "$ac_prog", so it can be a program name with args.
7000 set dummy
$ac_prog; ac_word
=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_PYTHON+:} false
; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$PYTHON"; then
7007 ac_cv_prog_PYTHON
="$PYTHON" # Let the user override the test.
7009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir
=.
7014 for ac_exec_ext
in '' $ac_executable_extensions; do
7015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_PYTHON
="$ac_prog"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 PYTHON
=$ac_cv_prog_PYTHON
7027 if test -n "$PYTHON"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
7029 $as_echo "$PYTHON" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7036 test -n "$PYTHON" && break
7038 test -n "$PYTHON" || PYTHON
="python2.7"
7042 for ac_prog
in python3
7044 # Extract the first word of "$ac_prog", so it can be a program name with args.
7045 set dummy
$ac_prog; ac_word
=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if ${ac_cv_prog_PYTHON3+:} false
; then :
7049 $as_echo_n "(cached) " >&6
7051 if test -n "$PYTHON3"; then
7052 ac_cv_prog_PYTHON3
="$PYTHON3" # Let the user override the test.
7054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir
=.
7059 for ac_exec_ext
in '' $ac_executable_extensions; do
7060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7061 ac_cv_prog_PYTHON3
="$ac_prog"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 PYTHON3
=$ac_cv_prog_PYTHON3
7072 if test -n "$PYTHON3"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
7074 $as_echo "$PYTHON3" >&6; }
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7077 $as_echo "no" >&6; }
7081 test -n "$PYTHON3" && break
7083 test -n "$PYTHON3" || PYTHON3
="python3.4"
7087 enable_python2
=false
7088 if test "x$do_python" != "xno"; then :
7091 if test -z "$PYTHON"
7093 enable_python2
=false
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python version" >&5
7096 $as_echo_n "checking Python version... " >&6; }
7097 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 }'`
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5
7099 $as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; }
7100 if test "$PY_MAJOR" -lt 2; then
7101 echo WARNING
: Python version
2.6 or later does not seem to be installed.
7102 enable_python2
=false
7104 if test "$PY_MAJOR" -eq 2 -a "$PY_MINOR" -lt 6 ; then
7105 echo WARNING
: Python version
2.
$PY_MINOR is too old.
7106 echo Python version
2.6 or later is required
for Python builds.
7107 enable_python2
=false
7109 for ac_header
in python
${PY_MAJOR}.
${PY_MINOR}/Python.h
7111 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7112 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7113 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7114 cat >>confdefs.h
<<_ACEOF
7115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7120 echo WARNING
: Python version
$PY_MAJOR.
$PY_MINOR header
file missing.
7121 echo Cannot proceed with the Python
$PY_MAJOR installation found.
7122 enable_python2
=false
7132 if test "$do_python" != "check" -a "$enable_python2" != "true"
7134 as_fn_error $?
"cannot enable Python - no supported version found" "$LINENO" 5
7140 enable_python3
=false
7141 if test "x$do_python3" != "xno"; then :
7144 if test -z "$PYTHON3"
7146 enable_python3
=false
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python3 version" >&5
7149 $as_echo_n "checking Python3 version... " >&6; }
7150 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 }'`
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5
7152 $as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; }
7153 if test "$PY_MAJOR" -lt 3; then
7154 echo WARNING
: Python version
3.3 or later does not seem to be installed.
7155 enable_python3
=false
7157 if test "$PY_MAJOR" -eq 3 -a "$PY_MINOR" -lt 3 ; then
7158 echo WARNING
: Python version
3.
$PY_MINOR is too old.
7159 echo Python version
3.3 or later is required
for Python builds.
7160 enable_python3
=false
7162 for ac_header
in python
${PY_MAJOR}.
${PY_MINOR}m
/Python.h
7164 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7165 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7166 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7167 cat >>confdefs.h
<<_ACEOF
7168 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7173 echo WARNING
: Python version
$PY_MAJOR.
$PY_MINOR header
file missing.
7174 echo Cannot proceed with the Python
$PY_MAJOR installation found.
7175 enable_python3
=false
7185 if test "$do_python3" != "check" -a "$enable_python3" != "true"
7187 as_fn_error $?
"cannot enable Python3 - no supported version found" "$LINENO" 5
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for any python version" >&5
7194 $as_echo_n "checking for any python version... " >&6; }
7195 if test "$cross_compiling" = "yes"; then
7197 echo "cross-compile -> \"$ans\"" >&5
7198 elif test "$enable_python2" = "true" -o "$enable_python3" = "true"
7205 if $have_python; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7206 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207 $as_echo "no" >&6; }; fi
7209 if test "$enable_python3" = "true"
7211 pcp_python_prog
=$PYTHON3
7212 elif test "$enable_python2" = "true"
7214 pcp_python_prog
=$PYTHON
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module jsonpointer" >&5
7222 $as_echo_n "checking for Python module jsonpointer... " >&6; }
7227 txt
="import jsonpointer"
7229 $pcp_python_prog -c 'import sys;
7230 '"$txt" >>config.log
2>&1
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7234 $as_echo "yes" >&6; }
7235 eval have_python_jsonpointer
=true
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238 $as_echo "no" >&6; }
7239 eval have_python_jsonpointer
=false
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module setuptools" >&5
7244 $as_echo_n "checking for Python module setuptools... " >&6; }
7249 txt
="import setuptools"
7251 $pcp_python_prog -c 'import sys;
7252 '"$txt" >>config.log
2>&1
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7256 $as_echo "yes" >&6; }
7257 eval have_python_setuptools
=true
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7260 $as_echo "no" >&6; }
7261 eval have_python_setuptools
=false
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module requests" >&5
7266 $as_echo_n "checking for Python module requests... " >&6; }
7271 txt
="import requests"
7273 $pcp_python_prog -c 'import sys;
7274 '"$txt" >>config.log
2>&1
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7278 $as_echo "yes" >&6; }
7279 eval have_python_requests
=true
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 $as_echo "no" >&6; }
7283 eval have_python_requests
=false
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module six" >&5
7288 $as_echo_n "checking for Python module six... " >&6; }
7295 $pcp_python_prog -c 'import sys;
7296 '"$txt" >>config.log
2>&1
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7300 $as_echo "yes" >&6; }
7301 eval have_python_six
=true
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7305 eval have_python_six
=false
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the json PMDA should be included" >&5
7311 $as_echo_n "checking if the json PMDA should be included... " >&6; }
7313 if test "x$do_pmdajson" = "xyes"; then :
7316 if test "x$do_pmdajson" = "xcheck"; then :
7318 $have_python_jsonpointer && $have_python_six && pmda_json
=true
7321 PMDA_JSON
=$pmda_json
7323 if $pmda_json; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7324 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325 $as_echo "no" >&6; }; fi
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module libvirt" >&5
7328 $as_echo_n "checking for Python module libvirt... " >&6; }
7333 txt
="import libvirt"
7335 $pcp_python_prog -c 'import sys;
7336 '"$txt" >>config.log
2>&1
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7340 $as_echo "yes" >&6; }
7341 eval have_python_libvirt
=true
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 $as_echo "no" >&6; }
7345 eval have_python_libvirt
=false
7352 # Extract the first word of "$ac_prog", so it can be a program name with args.
7353 set dummy
$ac_prog; ac_word
=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_prog_PERL+:} false
; then :
7357 $as_echo_n "(cached) " >&6
7359 if test -n "$PERL"; then
7360 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
7362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir
=.
7367 for ac_exec_ext
in '' $ac_executable_extensions; do
7368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7369 ac_cv_prog_PERL
="$ac_prog"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 PERL
=$ac_cv_prog_PERL
7380 if test -n "$PERL"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
7382 $as_echo "$PERL" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
7389 test -n "$PERL" && break
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for any perl version" >&5
7395 $as_echo_n "checking for any perl version... " >&6; }
7396 if test "$cross_compiling" = "yes"; then
7398 echo "cross-compile -> \"$ans\"" >&5
7399 elif test -n "$PERL"
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcp_perl_prog" >&5
7410 $as_echo "$pcp_perl_prog" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the SNMP PMDA should be included" >&5
7413 $as_echo_n "checking if the SNMP PMDA should be included... " >&6; }
7415 if test "x$do_pmdasnmp" = "xyes"; then :
7418 if test "x$do_pmdasnmp" = "xcheck"; then :
7420 if test "$have_perl" = true
7422 if $pcp_perl_prog -e "use Net::SNMP" >/dev
/null
2>&1
7429 PMDA_SNMP
=$pmda_snmp
7431 if $pmda_snmp; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7432 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }; fi
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the mysql PMDA should be included" >&5
7436 $as_echo_n "checking if the mysql PMDA should be included... " >&6; }
7438 if test "$have_perl" = true
7440 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7442 if $pcp_perl_prog -e "use DBD::mysql" >/dev
/null
2>&1
7448 PMDA_MYSQL
=$pmda_mysql
7450 if $pmda_mysql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7451 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }; fi
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postgresql PMDA should be included" >&5
7455 $as_echo_n "checking if the postgresql PMDA should be included... " >&6; }
7456 pmda_postgresql
=false
7457 if test "$have_perl" = true
7459 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7461 if $pcp_perl_prog -e "use DBD::Pg" >/dev
/null
2>&1
7463 pmda_postgresql
=true
7467 PMDA_POSTGRESQL
=$pmda_postgresql
7469 if $pmda_postgresql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7470 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }; fi
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the oracle PMDA should be included" >&5
7474 $as_echo_n "checking if the oracle PMDA should be included... " >&6; }
7476 if test "$have_perl" = true
7478 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7483 PMDA_ORACLE
=$pmda_oracle
7485 if $pmda_oracle; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7486 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }; fi
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the elasticsearch PMDA should be included" >&5
7490 $as_echo_n "checking if the elasticsearch PMDA should be included... " >&6; }
7491 pmda_elasticsearch
=false
7492 if test "$have_perl" = true
7494 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7496 pmda_elasticsearch
=true
7499 PMDA_ELASTICSEARCH
=$pmda_elasticsearch
7501 if $pmda_elasticsearch; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7502 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }; fi
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nginx PMDA should be included" >&5
7506 $as_echo_n "checking if the nginx PMDA should be included... " >&6; }
7508 if test "$have_perl" = true
7510 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7515 PMDA_NGINX
=$pmda_nginx
7517 if $pmda_nginx; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7518 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }; fi
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the activemq PMDA should be included" >&5
7522 $as_echo_n "checking if the activemq PMDA should be included... " >&6; }
7524 if test "$have_perl" = true
7526 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7531 PMDA_ACTIVEMQ
=$pmda_activemq
7533 if $pmda_activemq; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7534 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7535 $as_echo "no" >&6; }; fi
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the bind2 PMDA should be included" >&5
7538 $as_echo_n "checking if the bind2 PMDA should be included... " >&6; }
7540 if test "$have_perl" = true
7542 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7544 if $pcp_perl_prog -e "use XML::LibXML" >/dev
/null
2>&1
7546 if $pcp_perl_prog -e "use File::Slurp" >/dev
/null
2>&1
7553 PMDA_BIND2
=$pmda_bind2
7555 if $pmda_bind2; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7556 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557 $as_echo "no" >&6; }; fi
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nutcracker PMDA should be included" >&5
7560 $as_echo_n "checking if the nutcracker PMDA should be included... " >&6; }
7561 pmda_nutcracker
=false
7562 if test "$have_perl" = true
7564 if $pcp_perl_prog -e "use YAML::XS" >/dev
/null
2>&1
7566 if $pcp_perl_prog -e "use JSON" >/dev
/null
2>&1
7568 pmda_nutcracker
=true
7572 PMDA_NUTCRACKER
=$pmda_nutcracker
7574 if $pmda_nutcracker; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7575 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }; fi
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the libvirt PMDA should be included" >&5
7579 $as_echo_n "checking if the libvirt PMDA should be included... " >&6; }
7581 if test "$have_python" = true
7583 if $pcp_python_prog -c "import libvirt" >/dev
/null
2>&1
7585 if $pcp_python_prog -c "import lxml" >/dev
/null
2>&1
7591 PMDA_LIBVIRT
=$pmda_libvirt
7593 if $pmda_libvirt; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7594 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }; fi
7600 if test "x$do_qt" != "xno"; then :
7606 for ac_prog
in qmake-qt5 qmake-qt4 qmake
7608 # Extract the first word of "$ac_prog", so it can be a program name with args.
7609 set dummy
$ac_prog; ac_word
=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_path_QMAKE+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7617 ac_cv_path_QMAKE
="$QMAKE" # Let the user override the test with a path.
7620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7621 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"
7622 for as_dir
in $as_dummy
7625 test -z "$as_dir" && as_dir
=.
7626 for ac_exec_ext
in '' $ac_executable_extensions; do
7627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7628 ac_cv_path_QMAKE
="$as_dir/$ac_word$ac_exec_ext"
7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639 QMAKE
=$ac_cv_path_QMAKE
7640 if test -n "$QMAKE"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
7642 $as_echo "$QMAKE" >&6; }
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7649 test -n "$QMAKE" && break
7652 test "x$cc_is_gcc" = xyes
-a $target_os = solaris
&& QMAKE
="$QMAKE -spec solaris-g++"
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version" >&5
7660 $as_echo_n "checking Qt version... " >&6; }
7661 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 }'`
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MAJOR.$QT_MINOR.$QT_POINT" >&5
7663 $as_echo "$QT_MAJOR.$QT_MINOR.$QT_POINT" >&6; }
7664 if test "$QT_MAJOR" -lt 4; then
7665 echo WARNING
: Qt version
4.4 or later does not seem to be installed.
7666 echo Cannot proceed with the Qt
$QT_MAJOR installation found.
7669 if test "$QT_MAJOR" -eq 4 -a "$QT_MINOR" -lt 4 ; then
7670 echo WARNING
: Qt version
4.
$QT_MINOR is too old.
7671 echo Qt version
4.4 or later is required
for Qt builds.
7676 if test "$do_qt" != "check" -a "$enable_qt" != "true"
7678 as_fn_error $?
"cannot enable Qt - no supported Qt installation found" "$LINENO" 5
7679 elif test "$enable_qt" = "true" -a "x$cxx" = "x"
7682 test "$do_qt" != "check" && \
7683 as_fn_error $?
"C++ compiler unavailable, cannot build Qt components" "$LINENO" 5
7684 elif test "$do_qt" = "debug"
7696 if test "x$do_qt3d" != "xno"; then :
7698 if test -f /usr
/include
/Coin
3/Inventor
/Qt
/SoQt.h
7700 enable_qt3d
=$enable_qt
7701 elif test -a "$do_qt3d" = "yes"
7703 as_fn_error $?
"cannot enable support for 3D scene graph API" "$LINENO" 5
7711 # Extract the first word of "gmake", so it can be a program name with args.
7712 set dummy gmake
; ac_word
=$2
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7714 $as_echo_n "checking for $ac_word... " >&6; }
7715 if ${ac_cv_path_MAKE+:} false
; then :
7716 $as_echo_n "(cached) " >&6
7720 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
7723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7727 test -z "$as_dir" && as_dir
=.
7728 for ac_exec_ext
in '' $ac_executable_extensions; do
7729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7730 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7741 MAKE
=$ac_cv_path_MAKE
7742 if test -n "$MAKE"; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
7744 $as_echo "$MAKE" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7753 # look elsewhere ...
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make elsewhere" >&5
7755 $as_echo_n "checking for GNU make elsewhere... " >&6; }
7756 for f
in /usr
/local
/bin
/gmake
/usr
/freeware
/bin
/gmake
/usr
/local
/bin
/make /opt
/sfw
/bin
/gmake nowhere
7764 if test $f = nowhere
7766 # Check if /usr/bin/make is any good
7767 mver
=`/usr/bin/make --version 2>/dev/null | sed -n -e1p | cut -c1-8`
7768 if test "$mver" != "GNU Make"
7771 echo "FATAL ERROR: could not find GNU make anywhere"
7772 echo "You need to set \$MAKE as the full path to GNU make "
7773 echo "in the environment."
7774 rm -rf conftest conftest.
*
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
7781 $as_echo "$MAKE" >&6; }
7787 if test -z "$CPP"; then
7789 ac_cpp
='$CPP $CPPFLAGS'
7790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7794 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7795 # On Suns, sometimes $CPP names a directory.
7796 if test -n "$CPP" && test -d "$CPP"; then
7799 if test -z "$CPP"; then
7800 if ${ac_cv_prog_CPP+:} false
; then :
7801 $as_echo_n "(cached) " >&6
7803 # Double quotes because CPP needs to be expanded
7804 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7807 for ac_c_preproc_warn_flag
in '' yes
7809 # Use a header file that comes with gcc, so configuring glibc
7810 # with a fresh cross-compiler works.
7811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7812 # <limits.h> exists even on freestanding compilers.
7813 # On the NeXT, cc -E runs the code through the compiler's parser,
7814 # not just through cpp. "Syntax error" is here to catch this case.
7815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7816 /* end confdefs.h. */
7818 # include <limits.h>
7820 # include <assert.h>
7824 if ac_fn_c_try_cpp
"$LINENO"; then :
7827 # Broken: fails on valid input.
7830 rm -f conftest.err conftest.i conftest.
$ac_ext
7832 # OK, works on sane cases. Now check whether nonexistent headers
7833 # can be detected and how.
7834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7835 /* end confdefs.h. */
7836 #include <ac_nonexistent.h>
7838 if ac_fn_c_try_cpp
"$LINENO"; then :
7839 # Broken: success on invalid input.
7842 # Passes both tests.
7846 rm -f conftest.err conftest.i conftest.
$ac_ext
7849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7850 rm -f conftest.i conftest.err conftest.
$ac_ext
7851 if $ac_preproc_ok; then :
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7864 $as_echo "$CPP" >&6; }
7866 for ac_c_preproc_warn_flag
in '' yes
7868 # Use a header file that comes with gcc, so configuring glibc
7869 # with a fresh cross-compiler works.
7870 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7871 # <limits.h> exists even on freestanding compilers.
7872 # On the NeXT, cc -E runs the code through the compiler's parser,
7873 # not just through cpp. "Syntax error" is here to catch this case.
7874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7877 # include <limits.h>
7879 # include <assert.h>
7883 if ac_fn_c_try_cpp
"$LINENO"; then :
7886 # Broken: fails on valid input.
7889 rm -f conftest.err conftest.i conftest.
$ac_ext
7891 # OK, works on sane cases. Now check whether nonexistent headers
7892 # can be detected and how.
7893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7895 #include <ac_nonexistent.h>
7897 if ac_fn_c_try_cpp
"$LINENO"; then :
7898 # Broken: success on invalid input.
7901 # Passes both tests.
7905 rm -f conftest.err conftest.i conftest.
$ac_ext
7908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7909 rm -f conftest.i conftest.err conftest.
$ac_ext
7910 if $ac_preproc_ok; then :
7913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7915 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7916 See \`config.log' for more details" "$LINENO" 5; }
7920 ac_cpp
='$CPP $CPPFLAGS'
7921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7929 if test -z "$LD"; then
7930 # Extract the first word of "ld", so it can be a program name with args.
7931 set dummy ld
; ac_word
=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if ${ac_cv_path_LD+:} false
; then :
7935 $as_echo_n "(cached) " >&6
7939 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
7942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7946 test -z "$as_dir" && as_dir
=.
7947 for ac_exec_ext
in '' $ac_executable_extensions; do
7948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_path_LD
="$as_dir/$ac_word$ac_exec_ext"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7957 test -z "$ac_cv_path_LD" && ac_cv_path_LD
="/usr/bin/ld"
7962 if test -n "$LD"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7964 $as_echo "$LD" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7975 if test -z "$PCP_USER_INSTALL" ; then
7976 pcp_user_install
=root
7978 pcp_user_install
="$PCP_USER_INSTALL"
7981 if test -z "$PCP_GROUP_INSTALL" ; then
7984 darwin|freebsd|netbsd|openbsd
)
7985 pcp_group_install
=wheel
7988 pcp_group_install
=root
7992 pcp_group_install
="$PCP_GROUP_INSTALL"
7996 if test -z "$TAR"; then
7997 for ac_prog
in gtar
tar
7999 # Extract the first word of "$ac_prog", so it can be a program name with args.
8000 set dummy
$ac_prog; ac_word
=$2
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8002 $as_echo_n "checking for $ac_word... " >&6; }
8003 if ${ac_cv_path_TAR+:} false
; then :
8004 $as_echo_n "(cached) " >&6
8008 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
8011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir
=.
8016 for ac_exec_ext
in '' $ac_executable_extensions; do
8017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 if test -n "$TAR"; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
8032 $as_echo "$TAR" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035 $as_echo "no" >&6; }
8039 test -n "$TAR" && break
8041 test -n "$TAR" || TAR
="tar"
8044 if test $target_os = darwin
-a -x /usr
/bin
/gnutar
8051 if test -z "$ZIP"; then
8052 # Extract the first word of "gzip", so it can be a program name with args.
8053 set dummy
gzip; ac_word
=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_path_ZIP+:} false
; then :
8057 $as_echo_n "(cached) " >&6
8061 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
8064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8068 test -z "$as_dir" && as_dir
=.
8069 for ac_exec_ext
in '' $ac_executable_extensions; do
8070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8071 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="/bin/gzip"
8084 if test -n "$ZIP"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
8086 $as_echo "$ZIP" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8094 test ! -x "$ZIP" && ZIP
=/usr
/local
/bin
/gzip
8095 test ! -x "$ZIP" && ZIP
=/usr
/freeware
/bin
/gzip
8096 test ! -x "$ZIP" && ZIP
=/usr
/bin
/gzip
8098 test -z "$gzip" && gzip=no-gzip
8101 if test -z "$BZIP2"; then
8102 # Extract the first word of "bzip2", so it can be a program name with args.
8103 set dummy
bzip2; ac_word
=$2
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8105 $as_echo_n "checking for $ac_word... " >&6; }
8106 if ${ac_cv_path_BZIP2+:} false
; then :
8107 $as_echo_n "(cached) " >&6
8111 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
8114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8118 test -z "$as_dir" && as_dir
=.
8119 for ac_exec_ext
in '' $ac_executable_extensions; do
8120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8129 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="/bin/bzip2"
8133 BZIP2
=$ac_cv_path_BZIP2
8134 if test -n "$BZIP2"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5
8136 $as_echo "$BZIP2" >&6; }
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8144 test ! -x "$BZIP2" && BZIP2
=/usr
/bin
/bzip2
8145 test ! -x "$BZIP2" && BZIP2
=/usr
/local
/bin
/bzip2
8146 test ! -x "$BZIP2" && BZIP2
=/usr
/freeware
/bin
/bzip2
8148 test -z "$bzip2" && bzip2=no-bzip2
8151 if test -z "$LZMA"; then
8152 # Extract the first word of "lzma", so it can be a program name with args.
8153 set dummy lzma
; ac_word
=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if ${ac_cv_path_LZMA+:} false
; then :
8157 $as_echo_n "(cached) " >&6
8161 ac_cv_path_LZMA
="$LZMA" # Let the user override the test with a path.
8164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8168 test -z "$as_dir" && as_dir
=.
8169 for ac_exec_ext
in '' $ac_executable_extensions; do
8170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8171 ac_cv_path_LZMA
="$as_dir/$ac_word$ac_exec_ext"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8179 test -z "$ac_cv_path_LZMA" && ac_cv_path_LZMA
="/bin/lzma"
8183 LZMA
=$ac_cv_path_LZMA
8184 if test -n "$LZMA"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5
8186 $as_echo "$LZMA" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8189 $as_echo "no" >&6; }
8194 test ! -x "$LZMA" && LZMA
=/usr
/bin
/lzma
8195 test ! -x "$LZMA" && LZMA
=/usr
/local
/bin
/lzma
8196 test ! -x "$LZMA" && LZMA
=/usr
/freeware
/bin
/lzma
8198 test -z "$lzma" && lzma
=no-lzma
8201 if test -z "$XZ"; then
8202 # Extract the first word of "xz", so it can be a program name with args.
8203 set dummy xz
; ac_word
=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if ${ac_cv_path_XZ+:} false
; then :
8207 $as_echo_n "(cached) " >&6
8211 ac_cv_path_XZ
="$XZ" # Let the user override the test with a path.
8214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8218 test -z "$as_dir" && as_dir
=.
8219 for ac_exec_ext
in '' $ac_executable_extensions; do
8220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8221 ac_cv_path_XZ
="$as_dir/$ac_word$ac_exec_ext"
8222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8229 test -z "$ac_cv_path_XZ" && ac_cv_path_XZ
="/bin/xz"
8234 if test -n "$XZ"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
8236 $as_echo "$XZ" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8244 test ! -x "$XZ" && XZ
=/usr
/bin
/xz
8245 test ! -x "$XZ" && XZ
=/usr
/local
/bin
/xz
8246 test ! -x "$XZ" && XZ
=/usr
/freeware
/bin
/xz
8248 test -z "$xz" && xz
=no-xz
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PackageMaker" >&5
8252 $as_echo_n "checking for PackageMaker... " >&6; }
8253 if test -z "$PACKAGE_MAKER"
8255 if test $target_os = darwin
8257 if test -x /Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8258 then # local XCode extras install
8259 package_maker
=/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (local install)" >&5
8261 $as_echo " yes (local install)" >&6; }
8262 elif test -x /Developer
/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8264 package_maker
=/Developer
/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (darwin 6.x)" >&5
8266 $as_echo " yes (darwin 6.x)" >&6; }
8267 elif test -x /Developer
/Applications
/Utilities
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (darwin 7.x)" >&5
8270 $as_echo " yes (darwin 7.x)" >&6; }
8271 package_maker
=/Developer
/Applications
/Utilities
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found!" >&5
8274 $as_echo " not found!" >&6; }
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PackageMaker not found, mac packages will not be made" >&5
8276 $as_echo "$as_me: WARNING: PackageMaker not found, mac packages will not be made" >&2;}
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo " no" >&6; }
8283 package_maker
="$PACKAGE_MAKER"
8287 if test -z "$HDIUTIL"; then
8288 # Extract the first word of "hdiutil", so it can be a program name with args.
8289 set dummy hdiutil
; ac_word
=$2
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8291 $as_echo_n "checking for $ac_word... " >&6; }
8292 if ${ac_cv_path_HDIUTIL+:} false
; then :
8293 $as_echo_n "(cached) " >&6
8297 ac_cv_path_HDIUTIL
="$HDIUTIL" # Let the user override the test with a path.
8300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8304 test -z "$as_dir" && as_dir
=.
8305 for ac_exec_ext
in '' $ac_executable_extensions; do
8306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8307 ac_cv_path_HDIUTIL
="$as_dir/$ac_word$ac_exec_ext"
8308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 HDIUTIL
=$ac_cv_path_HDIUTIL
8319 if test -n "$HDIUTIL"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HDIUTIL" >&5
8321 $as_echo "$HDIUTIL" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8332 if test -z "$MKINSTALLP"; then
8333 # Extract the first word of "mkinstallp", so it can be a program name with args.
8334 set dummy mkinstallp
; ac_word
=$2
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8336 $as_echo_n "checking for $ac_word... " >&6; }
8337 if ${ac_cv_path_MKINSTALLP+:} false
; then :
8338 $as_echo_n "(cached) " >&6
8342 ac_cv_path_MKINSTALLP
="$MKINSTALLP" # Let the user override the test with a path.
8345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8349 test -z "$as_dir" && as_dir
=.
8350 for ac_exec_ext
in '' $ac_executable_extensions; do
8351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8352 ac_cv_path_MKINSTALLP
="$as_dir/$ac_word$ac_exec_ext"
8353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 MKINSTALLP
=$ac_cv_path_MKINSTALLP
8364 if test -n "$MKINSTALLP"; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKINSTALLP" >&5
8366 $as_echo "$MKINSTALLP" >&6; }
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 $as_echo "no" >&6; }
8374 mkinstallp
=$MKINSTALLP
8377 if test -z "$PKGMK"; then
8378 # Extract the first word of "pkgmk", so it can be a program name with args.
8379 set dummy pkgmk
; ac_word
=$2
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8381 $as_echo_n "checking for $ac_word... " >&6; }
8382 if ${ac_cv_path_PKGMK+:} false
; then :
8383 $as_echo_n "(cached) " >&6
8387 ac_cv_path_PKGMK
="$PKGMK" # Let the user override the test with a path.
8390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8394 test -z "$as_dir" && as_dir
=.
8395 for ac_exec_ext
in '' $ac_executable_extensions; do
8396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8397 ac_cv_path_PKGMK
="$as_dir/$ac_word$ac_exec_ext"
8398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8408 PKGMK
=$ac_cv_path_PKGMK
8409 if test -n "$PKGMK"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGMK" >&5
8411 $as_echo "$PKGMK" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8422 if test -z "$DLLTOOL"; then
8423 # Extract the first word of "dlltool", so it can be a program name with args.
8424 set dummy dlltool
; ac_word
=$2
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426 $as_echo_n "checking for $ac_word... " >&6; }
8427 if ${ac_cv_path_DLLTOOL+:} false
; then :
8428 $as_echo_n "(cached) " >&6
8432 ac_cv_path_DLLTOOL
="$DLLTOOL" # Let the user override the test with a path.
8435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8439 test -z "$as_dir" && as_dir
=.
8440 for ac_exec_ext
in '' $ac_executable_extensions; do
8441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8442 ac_cv_path_DLLTOOL
="$as_dir/$ac_word$ac_exec_ext"
8443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8453 DLLTOOL
=$ac_cv_path_DLLTOOL
8454 if test -n "$DLLTOOL"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8456 $as_echo "$DLLTOOL" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8467 if test -z "$RPMBUILD"; then
8468 # Extract the first word of "rpmbuild", so it can be a program name with args.
8469 set dummy rpmbuild
; ac_word
=$2
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8471 $as_echo_n "checking for $ac_word... " >&6; }
8472 if ${ac_cv_path_RPMBUILD+:} false
; then :
8473 $as_echo_n "(cached) " >&6
8477 ac_cv_path_RPMBUILD
="$RPMBUILD" # Let the user override the test with a path.
8480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8484 test -z "$as_dir" && as_dir
=.
8485 for ac_exec_ext
in '' $ac_executable_extensions; do
8486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8487 ac_cv_path_RPMBUILD
="$as_dir/$ac_word$ac_exec_ext"
8488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8498 RPMBUILD
=$ac_cv_path_RPMBUILD
8499 if test -n "$RPMBUILD"; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5
8501 $as_echo "$RPMBUILD" >&6; }
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8504 $as_echo "no" >&6; }
8509 test $target_distro = slackware
&& RPMBUILD
=''
8513 if test -z "$RPM"; then
8514 # Extract the first word of "rpm", so it can be a program name with args.
8515 set dummy rpm
; ac_word
=$2
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8517 $as_echo_n "checking for $ac_word... " >&6; }
8518 if ${ac_cv_path_RPM+:} false
; then :
8519 $as_echo_n "(cached) " >&6
8523 ac_cv_path_RPM
="$RPM" # Let the user override the test with a path.
8526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8530 test -z "$as_dir" && as_dir
=.
8531 for ac_exec_ext
in '' $ac_executable_extensions; do
8532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8533 ac_cv_path_RPM
="$as_dir/$ac_word$ac_exec_ext"
8534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8545 if test -n "$RPM"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5
8547 $as_echo "$RPM" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550 $as_echo "no" >&6; }
8555 test $target_distro = slackware
&& RPM
=''
8559 if test -n "$RPMBUILD" -a -x "$RPMBUILD"
8567 if test -z "$POD2MAN"; then
8568 # Extract the first word of "pod2man", so it can be a program name with args.
8569 set dummy pod2man
; ac_word
=$2
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8571 $as_echo_n "checking for $ac_word... " >&6; }
8572 if ${ac_cv_path_POD2MAN+:} false
; then :
8573 $as_echo_n "(cached) " >&6
8577 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
8580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8584 test -z "$as_dir" && as_dir
=.
8585 for ac_exec_ext
in '' $ac_executable_extensions; do
8586 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8587 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
8588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8598 POD2MAN
=$ac_cv_path_POD2MAN
8599 if test -n "$POD2MAN"; then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
8601 $as_echo "$POD2MAN" >&6; }
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8604 $as_echo "no" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ExtUtils::MakeMaker is installed" >&5
8613 $as_echo_n "checking if ExtUtils::MakeMaker is installed... " >&6; }
8614 perl
-e "use ExtUtils::MakeMaker" 2>/dev
/null
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8618 $as_echo " yes" >&6; }
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8621 $as_echo " no" >&6; }
8623 echo "FATAL ERROR: Perl ExtUtils::MakeMaker module missing."
8624 echo "You can either install this from your distribution, or"
8625 echo "download from CPAN (Comprehensive Perl Archive Network)."
8626 rm -rf conftest conftest.
*
8630 # Extract the first word of "true", so it can be a program name with args.
8631 set dummy true
; ac_word
=$2
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8633 $as_echo_n "checking for $ac_word... " >&6; }
8634 if ${ac_cv_path_TRUEPROG+:} false
; then :
8635 $as_echo_n "(cached) " >&6
8639 ac_cv_path_TRUEPROG
="$TRUEPROG" # Let the user override the test with a path.
8642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8646 test -z "$as_dir" && as_dir
=.
8647 for ac_exec_ext
in '' $ac_executable_extensions; do
8648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8649 ac_cv_path_TRUEPROG
="$as_dir/$ac_word$ac_exec_ext"
8650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8660 TRUEPROG
=$ac_cv_path_TRUEPROG
8661 if test -n "$TRUEPROG"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUEPROG" >&5
8663 $as_echo "$TRUEPROG" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 $as_echo "no" >&6; }
8671 if test -z "$MAKEDEPEND"; then
8672 # Extract the first word of "makedepend", so it can be a program name with args.
8673 set dummy makedepend
; ac_word
=$2
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8675 $as_echo_n "checking for $ac_word... " >&6; }
8676 if ${ac_cv_path_MAKEDEPEND+:} false
; then :
8677 $as_echo_n "(cached) " >&6
8681 ac_cv_path_MAKEDEPEND
="$MAKEDEPEND" # Let the user override the test with a path.
8684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8688 test -z "$as_dir" && as_dir
=.
8689 for ac_exec_ext
in '' $ac_executable_extensions; do
8690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8691 ac_cv_path_MAKEDEPEND
="$as_dir/$ac_word$ac_exec_ext"
8692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8699 test -z "$ac_cv_path_MAKEDEPEND" && ac_cv_path_MAKEDEPEND
="$TRUEPROG"
8703 MAKEDEPEND
=$ac_cv_path_MAKEDEPEND
8704 if test -n "$MAKEDEPEND"; then
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5
8706 $as_echo "$MAKEDEPEND" >&6; }
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8709 $as_echo "no" >&6; }
8714 makedepend
=$MAKEDEPEND
8717 if test -z "$MD5SUM"; then
8718 # Extract the first word of "md5sum", so it can be a program name with args.
8719 set dummy
md5sum; ac_word
=$2
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8721 $as_echo_n "checking for $ac_word... " >&6; }
8722 if ${ac_cv_path_MD5SUM+:} false
; then :
8723 $as_echo_n "(cached) " >&6
8727 ac_cv_path_MD5SUM
="$MD5SUM" # Let the user override the test with a path.
8730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8734 test -z "$as_dir" && as_dir
=.
8735 for ac_exec_ext
in '' $ac_executable_extensions; do
8736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8737 ac_cv_path_MD5SUM
="$as_dir/$ac_word$ac_exec_ext"
8738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8745 test -z "$ac_cv_path_MD5SUM" && ac_cv_path_MD5SUM
="$TRUEPROG"
8749 MD5SUM
=$ac_cv_path_MD5SUM
8750 if test -n "$MD5SUM"; then
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5
8752 $as_echo "$MD5SUM" >&6; }
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8755 $as_echo "no" >&6; }
8763 if test -z "$DPKG"; then
8764 # Extract the first word of "dpkg", so it can be a program name with args.
8765 set dummy dpkg
; ac_word
=$2
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8767 $as_echo_n "checking for $ac_word... " >&6; }
8768 if ${ac_cv_path_DPKG+:} false
; then :
8769 $as_echo_n "(cached) " >&6
8773 ac_cv_path_DPKG
="$DPKG" # Let the user override the test with a path.
8776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8780 test -z "$as_dir" && as_dir
=.
8781 for ac_exec_ext
in '' $ac_executable_extensions; do
8782 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8783 ac_cv_path_DPKG
="$as_dir/$ac_word$ac_exec_ext"
8784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 DPKG
=$ac_cv_path_DPKG
8795 if test -n "$DPKG"; then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DPKG" >&5
8797 $as_echo "$DPKG" >&6; }
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8800 $as_echo "no" >&6; }
8808 if test -z "$MAKEPKG"; then
8809 # Extract the first word of "makepkg", so it can be a program name with args.
8810 set dummy makepkg
; ac_word
=$2
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8812 $as_echo_n "checking for $ac_word... " >&6; }
8813 if ${ac_cv_path_MAKEPKG+:} false
; then :
8814 $as_echo_n "(cached) " >&6
8818 ac_cv_path_MAKEPKG
="$MAKEPKG" # Let the user override the test with a path.
8821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8825 test -z "$as_dir" && as_dir
=.
8826 for ac_exec_ext
in '' $ac_executable_extensions; do
8827 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8828 ac_cv_path_MAKEPKG
="$as_dir/$ac_word$ac_exec_ext"
8829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8839 MAKEPKG
=$ac_cv_path_MAKEPKG
8840 if test -n "$MAKEPKG"; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEPKG" >&5
8842 $as_echo "$MAKEPKG" >&6; }
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845 $as_echo "no" >&6; }
8853 test -z "$PUBLICAN" && # Extract the first word of "publican", so it can be a program name with args.
8854 set dummy publican
; ac_word
=$2
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8856 $as_echo_n "checking for $ac_word... " >&6; }
8857 if ${ac_cv_path_PUBLICAN+:} false
; then :
8858 $as_echo_n "(cached) " >&6
8862 ac_cv_path_PUBLICAN
="$PUBLICAN" # Let the user override the test with a path.
8865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir
=.
8870 for ac_exec_ext
in '' $ac_executable_extensions; do
8871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8872 ac_cv_path_PUBLICAN
="$as_dir/$ac_word$ac_exec_ext"
8873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8883 PUBLICAN
=$ac_cv_path_PUBLICAN
8884 if test -n "$PUBLICAN"; then
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PUBLICAN" >&5
8886 $as_echo "$PUBLICAN" >&6; }
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889 $as_echo "no" >&6; }
8895 test -z "$DBLATEX" && # Extract the first word of "dblatex", so it can be a program name with args.
8896 set dummy dblatex
; ac_word
=$2
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8898 $as_echo_n "checking for $ac_word... " >&6; }
8899 if ${ac_cv_path_DBLATEX+:} false
; then :
8900 $as_echo_n "(cached) " >&6
8904 ac_cv_path_DBLATEX
="$DBLATEX" # Let the user override the test with a path.
8907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8911 test -z "$as_dir" && as_dir
=.
8912 for ac_exec_ext
in '' $ac_executable_extensions; do
8913 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8914 ac_cv_path_DBLATEX
="$as_dir/$ac_word$ac_exec_ext"
8915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8925 DBLATEX
=$ac_cv_path_DBLATEX
8926 if test -n "$DBLATEX"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
8928 $as_echo "$DBLATEX" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8931 $as_echo "no" >&6; }
8937 test -z "$XMLTO" && # Extract the first word of "xmlto", so it can be a program name with args.
8938 set dummy xmlto
; ac_word
=$2
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8940 $as_echo_n "checking for $ac_word... " >&6; }
8941 if ${ac_cv_path_XMLTO+:} false
; then :
8942 $as_echo_n "(cached) " >&6
8946 ac_cv_path_XMLTO
="$XMLTO" # Let the user override the test with a path.
8949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8953 test -z "$as_dir" && as_dir
=.
8954 for ac_exec_ext
in '' $ac_executable_extensions; do
8955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8956 ac_cv_path_XMLTO
="$as_dir/$ac_word$ac_exec_ext"
8957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8967 XMLTO
=$ac_cv_path_XMLTO
8968 if test -n "$XMLTO"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
8970 $as_echo "$XMLTO" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8981 if test "$do_books" = "check" -o "$do_books" = "yes"
8983 if test "$BOOK_TOOLCHAIN" != ""
8985 book_toolchain
=$BOOK_TOOLCHAIN
8986 elif test "$DBLATEX" != ""
8988 book_toolchain
=dblatex
8989 elif test "$PUBLICAN" != ""
8991 book_toolchain
=publican
8992 elif test "$XMLTO" != ""
8994 book_toolchain
=xmlto
8995 elif test "$do_books" = "yes"
8997 as_fn_error $?
"cannot enable books build - no toolchain found" "$LINENO" 5
9003 if test "$do_books_brand" != ""
9005 book_brand
=$do_books_brand
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9010 $as_echo_n "checking whether ln -s works... " >&6; }
9012 if test "$LN_S" = "ln -s"; then
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9014 $as_echo "yes" >&6; }
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9017 $as_echo "no, using $LN_S" >&6; }
9020 if test $target_os = mingw
; then
9026 test -f /proc
/stat || mount
/proc
>/dev
/null
2>&1
9029 if test -n "$PROCPS"
9031 pcp_ps_prog
="$PROCPS"
9037 if test $target_os = mingw
9039 pcp_syslog_prog
=pcp-eventlog
9041 pcp_syslog_prog
=logger
9046 if test $target_os = solaris
9048 test -f /usr
/xpg
4/bin
/grep && grep=/usr
/xpg
4/bin
/grep
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc " >&5
9053 $as_echo_n "checking for /proc ... " >&6; }
9054 if test "$cross_compiling" = "yes"; then
9056 echo "cross-compile -> \"$ans\"" >&5
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9066 $as_echo "yes" >&6; }
9068 $as_echo "#define HAVE_PROCFS 1" >>confdefs.h
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9072 $as_echo "no" >&6; }
9076 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9077 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9079 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9080 if eval \
${$as_ac_Header+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9085 #include <sys/types.h>
9097 if ac_fn_c_try_compile
"$LINENO"; then :
9098 eval "$as_ac_Header=yes"
9100 eval "$as_ac_Header=no"
9102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9104 eval ac_res
=\$
$as_ac_Header
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9106 $as_echo "$ac_res" >&6; }
9107 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9108 cat >>confdefs.h
<<_ACEOF
9109 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9112 ac_header_dirent
=$ac_hdr; break
9116 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9117 if test $ac_header_dirent = dirent.h
; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9119 $as_echo_n "checking for library containing opendir... " >&6; }
9120 if ${ac_cv_search_opendir+:} false
; then :
9121 $as_echo_n "(cached) " >&6
9123 ac_func_search_save_LIBS
=$LIBS
9124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9125 /* end confdefs.h. */
9127 /* Override any GCC internal prototype to avoid an error.
9128 Use char because int might match the return type of a GCC
9129 builtin and then its argument prototype would still apply. */
9142 for ac_lib
in '' dir
; do
9143 if test -z "$ac_lib"; then
9144 ac_res
="none required"
9147 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9149 if ac_fn_c_try_link
"$LINENO"; then :
9150 ac_cv_search_opendir
=$ac_res
9152 rm -f core conftest.err conftest.
$ac_objext \
9154 if ${ac_cv_search_opendir+:} false
; then :
9158 if ${ac_cv_search_opendir+:} false
; then :
9161 ac_cv_search_opendir
=no
9164 LIBS
=$ac_func_search_save_LIBS
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9167 $as_echo "$ac_cv_search_opendir" >&6; }
9168 ac_res
=$ac_cv_search_opendir
9169 if test "$ac_res" != no
; then :
9170 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9176 $as_echo_n "checking for library containing opendir... " >&6; }
9177 if ${ac_cv_search_opendir+:} false
; then :
9178 $as_echo_n "(cached) " >&6
9180 ac_func_search_save_LIBS
=$LIBS
9181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9184 /* Override any GCC internal prototype to avoid an error.
9185 Use char because int might match the return type of a GCC
9186 builtin and then its argument prototype would still apply. */
9199 for ac_lib
in '' x
; do
9200 if test -z "$ac_lib"; then
9201 ac_res
="none required"
9204 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9206 if ac_fn_c_try_link
"$LINENO"; then :
9207 ac_cv_search_opendir
=$ac_res
9209 rm -f core conftest.err conftest.
$ac_objext \
9211 if ${ac_cv_search_opendir+:} false
; then :
9215 if ${ac_cv_search_opendir+:} false
; then :
9218 ac_cv_search_opendir
=no
9221 LIBS
=$ac_func_search_save_LIBS
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9224 $as_echo "$ac_cv_search_opendir" >&6; }
9225 ac_res
=$ac_cv_search_opendir
9226 if test "$ac_res" != no
; then :
9227 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9234 $as_echo_n "checking for ANSI C header files... " >&6; }
9235 if ${ac_cv_header_stdc+:} false
; then :
9236 $as_echo_n "(cached) " >&6
9238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9253 if ac_fn_c_try_compile
"$LINENO"; then :
9254 ac_cv_header_stdc
=yes
9256 ac_cv_header_stdc
=no
9258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9260 if test $ac_cv_header_stdc = yes; then
9261 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9268 $EGREP "memchr" >/dev
/null
2>&1; then :
9271 ac_cv_header_stdc
=no
9277 if test $ac_cv_header_stdc = yes; then
9278 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9285 $EGREP "free" >/dev
/null
2>&1; then :
9288 ac_cv_header_stdc
=no
9294 if test $ac_cv_header_stdc = yes; then
9295 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9296 if test "$cross_compiling" = yes; then :
9299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9303 #if ((' ' & 0x0FF) == 0x020)
9304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9307 # define ISLOWER(c) \
9308 (('a' <= (c) && (c) <= 'i') \
9309 || ('j' <= (c) && (c) <= 'r') \
9310 || ('s' <= (c) && (c) <= 'z'))
9311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9319 for (i = 0; i < 256; i++)
9320 if (XOR (islower (i), ISLOWER (i))
9321 || toupper (i) != TOUPPER (i))
9326 if ac_fn_c_try_run
"$LINENO"; then :
9329 ac_cv_header_stdc
=no
9331 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9332 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9338 $as_echo "$ac_cv_header_stdc" >&6; }
9339 if test $ac_cv_header_stdc = yes; then
9341 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9346 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9347 if ${ac_cv_header_sys_wait_h+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9352 #include <sys/types.h>
9353 #include <sys/wait.h>
9355 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9358 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9366 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9371 if ac_fn_c_try_compile
"$LINENO"; then :
9372 ac_cv_header_sys_wait_h
=yes
9374 ac_cv_header_sys_wait_h
=no
9376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9379 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9380 if test $ac_cv_header_sys_wait_h = yes; then
9382 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9386 for ac_header
in fcntl.h limits.h malloc.h
strings.h syslog.h
9388 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9389 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9390 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9391 cat >>confdefs.h
<<_ACEOF
9392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9399 for ac_header
in stddef.h sched.h dlfcn.h dl.h
9401 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9402 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9403 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9404 cat >>confdefs.h
<<_ACEOF
9405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9412 for ac_header
in sys
/times.h sys
/resource.h sys
/prctl.h
9414 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9415 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9416 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9417 cat >>confdefs.h
<<_ACEOF
9418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9425 for ac_header
in sys
/sysinfo.h sys
/systeminfo.h
9427 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9428 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9429 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9430 cat >>confdefs.h
<<_ACEOF
9431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9438 for ac_header
in endian.h standards.h sys
/byteorder.h
9440 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9441 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9442 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9443 cat >>confdefs.h
<<_ACEOF
9444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9451 for ac_header
in libgen.h sys
/mman.h sys
/un.h
9453 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9454 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9455 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9456 cat >>confdefs.h
<<_ACEOF
9457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9464 for ac_header
in values.h stdint.h ieeefp.h math.h
9466 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9467 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9468 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9469 cat >>confdefs.h
<<_ACEOF
9470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9477 for ac_header
in pwd.h grp.h regex.h sys
/wait.h
9479 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9480 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9481 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9482 cat >>confdefs.h
<<_ACEOF
9483 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9490 for ac_header
in termio.h termios.h sys
/termios.h
9492 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9493 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9494 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9495 cat >>confdefs.h
<<_ACEOF
9496 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9503 for ac_header
in sys
/ioctl.h sys
/select.h sys
/socket.h
9505 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9506 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9507 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9508 cat >>confdefs.h
<<_ACEOF
9509 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9516 for ac_header
in netdb.h
9518 ac_fn_c_check_header_mongrel
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
9519 if test "x$ac_cv_header_netdb_h" = xyes
; then :
9520 cat >>confdefs.h
<<_ACEOF
9521 #define HAVE_NETDB_H 1
9528 if test $target_os = darwin
-o $target_os = openbsd
9530 for ac_header
in net
/if.h
9532 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
9533 #include <sys/socket.h>
9535 if test "x$ac_cv_header_net_if_h" = xyes
; then :
9536 cat >>confdefs.h
<<_ACEOF
9537 #define HAVE_NET_IF_H 1
9545 for ac_header
in net
/if.h
9547 ac_fn_c_check_header_mongrel
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
9548 if test "x$ac_cv_header_net_if_h" = xyes
; then :
9549 cat >>confdefs.h
<<_ACEOF
9550 #define HAVE_NET_IF_H 1
9558 for ac_header
in netinet
/in.h netinet
/tcp.h arpa
/inet.h
9560 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9561 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9562 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9563 cat >>confdefs.h
<<_ACEOF
9564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9571 for ac_header
in windows.h winsock2.h ws2tcpip.h
9573 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9574 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9575 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9576 cat >>confdefs.h
<<_ACEOF
9577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9584 for ac_header
in execinfo.h bits
/wordsize.h
9586 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9587 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9588 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9589 cat >>confdefs.h
<<_ACEOF
9590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9597 for ac_header
in iptypes.h
9599 ac_fn_c_check_header_compile
"$LINENO" "iptypes.h" "ac_cv_header_iptypes_h" "#include <windows.h>
9601 if test "x$ac_cv_header_iptypes_h" = xyes
; then :
9602 cat >>confdefs.h
<<_ACEOF
9603 #define HAVE_IPTYPES_H 1
9610 for ac_header
in iphlpapi.h
9612 ac_fn_c_check_header_compile
"$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h" "#include <winsock2.h>
9614 if test "x$ac_cv_header_iphlpapi_h" = xyes
; then :
9615 cat >>confdefs.h
<<_ACEOF
9616 #define HAVE_IPHLPAPI_H 1
9623 for ac_header
in fts.h libzfs.h
9625 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9626 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9627 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9628 cat >>confdefs.h
<<_ACEOF
9629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9636 for ac_header
in sys
/statvfs.h sys
/statfs.h sys
/mount.h
9638 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9639 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9640 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9641 cat >>confdefs.h
<<_ACEOF
9642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h " >&5
9651 $as_echo_n "checking for sys/endian.h ... " >&6; }
9652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 #include <sys/endian.h>
9666 if ac_fn_c_try_compile
"$LINENO"; then :
9668 $as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9670 $as_echo "yes" >&6; }
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9673 $as_echo "no" >&6; }
9675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for machine/endian.h " >&5
9678 $as_echo_n "checking for machine/endian.h ... " >&6; }
9679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 #include <machine/endian.h>
9693 if ac_fn_c_try_compile
"$LINENO"; then :
9695 $as_echo "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9697 $as_echo "yes" >&6; }
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9700 $as_echo "no" >&6; }
9702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h (IRIX variant) " >&5
9705 $as_echo_n "checking for sys/endian.h (IRIX variant) ... " >&6; }
9706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9707 /* end confdefs.h. */
9709 #include <standards.h>
9710 #include <sys/endian.h>
9721 if ac_fn_c_try_compile
"$LINENO"; then :
9723 $as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9725 $as_echo "yes" >&6; }
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9728 $as_echo "no" >&6; }
9730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9733 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9734 if ${ac_cv_c_const+:} false
; then :
9735 $as_echo_n "(cached) " >&6
9737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9745 /* Ultrix mips cc rejects this sort of thing. */
9746 typedef int charset[2];
9747 const charset cs = { 0, 0 };
9748 /* SunOS 4.1.1 cc rejects this. */
9749 char const *const *pcpcc;
9751 /* NEC SVR4.0.2 mips cc rejects this. */
9752 struct point {int x, y;};
9753 static struct point const zero = {0,0};
9754 /* AIX XL C 1.02.0.0 rejects this.
9755 It does not let you subtract one const X* pointer from another in
9756 an arm of an if-expression whose if-part is not a constant
9758 const char *g = "string";
9759 pcpcc = &g + (g ? g-g : 0);
9760 /* HPUX 7.0 cc rejects these. */
9762 ppc = (char**) pcpcc;
9763 pcpcc = (char const *const *) ppc;
9764 { /* SCO 3.2v4 cc rejects this sort of thing. */
9767 char const *s = 0 ? (char *) 0 : (char const *) 0;
9772 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9774 const int *foo = &x[0];
9777 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9778 typedef const int *iptr;
9782 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
9783 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9784 struct s { int j; const int *ap[3]; } bx;
9785 struct s *b = &bx; b->j = 5;
9787 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9791 return !cs[0] && !zero.x;
9798 if ac_fn_c_try_compile
"$LINENO"; then :
9803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9806 $as_echo "$ac_cv_c_const" >&6; }
9807 if test $ac_cv_c_const = no
; then
9809 $as_echo "#define const /**/" >>confdefs.h
9813 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9814 if test "x$ac_cv_type_off_t" = xyes
; then :
9818 cat >>confdefs.h
<<_ACEOF
9819 #define off_t long int
9824 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
9825 if test "x$ac_cv_type_pid_t" = xyes
; then :
9829 cat >>confdefs.h
<<_ACEOF
9835 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9836 if test "x$ac_cv_type_size_t" = xyes
; then :
9840 cat >>confdefs.h
<<_ACEOF
9841 #define size_t unsigned int
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9847 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9848 if ${ac_cv_header_time+:} false
; then :
9849 $as_echo_n "(cached) " >&6
9851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9853 #include <sys/types.h>
9854 #include <sys/time.h>
9860 if ((struct tm *) 0)
9866 if ac_fn_c_try_compile
"$LINENO"; then :
9867 ac_cv_header_time
=yes
9869 ac_cv_header_time
=no
9871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9874 $as_echo "$ac_cv_header_time" >&6; }
9875 if test $ac_cv_header_time = yes; then
9877 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9882 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9883 if ${ac_cv_struct_tm+:} false
; then :
9884 $as_echo_n "(cached) " >&6
9886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9887 /* end confdefs.h. */
9888 #include <sys/types.h>
9895 int *p = &tm.tm_sec;
9901 if ac_fn_c_try_compile
"$LINENO"; then :
9902 ac_cv_struct_tm
=time.h
9904 ac_cv_struct_tm
=sys
/time.h
9906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9909 $as_echo "$ac_cv_struct_tm" >&6; }
9910 if test $ac_cv_struct_tm = sys
/time.h
; then
9912 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9917 $as_echo_n "checking for inline... " >&6; }
9918 if ${ac_cv_c_inline+:} false
; then :
9919 $as_echo_n "(cached) " >&6
9922 for ac_kw
in inline __inline__ __inline
; do
9923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9927 static $ac_kw foo_t static_foo () {return 0; }
9928 $ac_kw foo_t foo () {return 0; }
9932 if ac_fn_c_try_compile
"$LINENO"; then :
9933 ac_cv_c_inline
=$ac_kw
9935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9936 test "$ac_cv_c_inline" != no
&& break
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9941 $as_echo "$ac_cv_c_inline" >&6; }
9943 case $ac_cv_c_inline in
9946 case $ac_cv_c_inline in
9948 *) ac_val
=$ac_cv_c_inline;;
9950 cat >>confdefs.h
<<_ACEOF
9952 #define inline $ac_val
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5
9960 $as_echo_n "checking for regcomp in -lregex... " >&6; }
9961 if ${ac_cv_lib_regex_regcomp+:} false
; then :
9962 $as_echo_n "(cached) " >&6
9964 ac_check_lib_save_LIBS
=$LIBS
9965 LIBS
="-lregex $LIBS"
9966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9969 /* Override any GCC internal prototype to avoid an error.
9970 Use char because int might match the return type of a GCC
9971 builtin and then its argument prototype would still apply. */
9984 if ac_fn_c_try_link
"$LINENO"; then :
9985 ac_cv_lib_regex_regcomp
=yes
9987 ac_cv_lib_regex_regcomp
=no
9989 rm -f core conftest.err conftest.
$ac_objext \
9990 conftest
$ac_exeext conftest.
$ac_ext
9991 LIBS
=$ac_check_lib_save_LIBS
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5
9994 $as_echo "$ac_cv_lib_regex_regcomp" >&6; }
9995 if test "x$ac_cv_lib_regex_regcomp" = xyes
; then :
9996 cat >>confdefs.h
<<_ACEOF
9997 #define HAVE_LIBREGEX 1
10000 LIBS
="-lregex $LIBS"
10005 if test $ac_cv_lib_regex_regcomp = yes
10007 lib_for_regex
="-lregex"
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
10014 $as_echo_n "checking for ncurses... " >&6; }
10016 if test -n "$ncurses_CFLAGS"; then
10017 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
10018 elif test -n "$PKG_CONFIG"; then
10019 if test -n "$PKG_CONFIG" && \
10020 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
10021 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
10023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10024 test $ac_status = 0; }; then
10025 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
10026 test "x$?" != "x0" && pkg_failed
=yes
10033 if test -n "$ncurses_LIBS"; then
10034 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
10035 elif test -n "$PKG_CONFIG"; then
10036 if test -n "$PKG_CONFIG" && \
10037 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
10038 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
10040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10041 test $ac_status = 0; }; then
10042 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
10043 test "x$?" != "x0" && pkg_failed
=yes
10053 if test $pkg_failed = yes; then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10055 $as_echo "no" >&6; }
10057 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10058 _pkg_short_errors_supported
=yes
10060 _pkg_short_errors_supported
=no
10062 if test $_pkg_short_errors_supported = yes; then
10063 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
10065 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
10067 # Put the nasty error message in config.log where it belongs
10068 echo "$ncurses_PKG_ERRORS" >&5
10071 elif test $pkg_failed = untried
; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10073 $as_echo "no" >&6; }
10076 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
10077 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10079 $as_echo "yes" >&6; }
10082 HAVE_NCURSES
=$have_ncurses
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
10088 $as_echo_n "checking for SYSTEMD... " >&6; }
10090 if test -n "$SYSTEMD_CFLAGS"; then
10091 pkg_cv_SYSTEMD_CFLAGS
="$SYSTEMD_CFLAGS"
10092 elif test -n "$PKG_CONFIG"; then
10093 if test -n "$PKG_CONFIG" && \
10094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
10095 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
10097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10098 test $ac_status = 0; }; then
10099 pkg_cv_SYSTEMD_CFLAGS
=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
10100 test "x$?" != "x0" && pkg_failed
=yes
10107 if test -n "$SYSTEMD_LIBS"; then
10108 pkg_cv_SYSTEMD_LIBS
="$SYSTEMD_LIBS"
10109 elif test -n "$PKG_CONFIG"; then
10110 if test -n "$PKG_CONFIG" && \
10111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
10112 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
10114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10115 test $ac_status = 0; }; then
10116 pkg_cv_SYSTEMD_LIBS
=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
10117 test "x$?" != "x0" && pkg_failed
=yes
10127 if test $pkg_failed = yes; then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10129 $as_echo "no" >&6; }
10131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10132 _pkg_short_errors_supported
=yes
10134 _pkg_short_errors_supported
=no
10136 if test $_pkg_short_errors_supported = yes; then
10137 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
10139 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
10141 # Put the nasty error message in config.log where it belongs
10142 echo "$SYSTEMD_PKG_ERRORS" >&5
10145 elif test $pkg_failed = untried
; then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10147 $as_echo "no" >&6; }
10150 SYSTEMD_CFLAGS
=$pkg_cv_SYSTEMD_CFLAGS
10151 SYSTEMD_LIBS
=$pkg_cv_SYSTEMD_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10153 $as_echo "yes" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
10163 $as_echo_n "checking for SYSTEMD... " >&6; }
10165 if test -n "$SYSTEMD_CFLAGS"; then
10166 pkg_cv_SYSTEMD_CFLAGS
="$SYSTEMD_CFLAGS"
10167 elif test -n "$PKG_CONFIG"; then
10168 if test -n "$PKG_CONFIG" && \
10169 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
10170 ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
10172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10173 test $ac_status = 0; }; then
10174 pkg_cv_SYSTEMD_CFLAGS
=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
10175 test "x$?" != "x0" && pkg_failed
=yes
10182 if test -n "$SYSTEMD_LIBS"; then
10183 pkg_cv_SYSTEMD_LIBS
="$SYSTEMD_LIBS"
10184 elif test -n "$PKG_CONFIG"; then
10185 if test -n "$PKG_CONFIG" && \
10186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
10187 ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
10189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10190 test $ac_status = 0; }; then
10191 pkg_cv_SYSTEMD_LIBS
=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
10192 test "x$?" != "x0" && pkg_failed
=yes
10202 if test $pkg_failed = yes; then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10204 $as_echo "no" >&6; }
10206 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10207 _pkg_short_errors_supported
=yes
10209 _pkg_short_errors_supported
=no
10211 if test $_pkg_short_errors_supported = yes; then
10212 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
10214 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
10216 # Put the nasty error message in config.log where it belongs
10217 echo "$SYSTEMD_PKG_ERRORS" >&5
10220 elif test $pkg_failed = untried
; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10222 $as_echo "no" >&6; }
10225 SYSTEMD_CFLAGS
=$pkg_cv_SYSTEMD_CFLAGS
10226 SYSTEMD_LIBS
=$pkg_cv_SYSTEMD_LIBS
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10228 $as_echo "yes" >&6; }
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the systemd PMDA should be included" >&5
10233 $as_echo_n "checking if the systemd PMDA should be included... " >&6; }
10234 PMDA_SYSTEMD
=$pmda_systemd
10236 if $pmda_systemd; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10237 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10238 $as_echo "no" >&6; }; fi
10240 pmda_infiniband
=false
10241 if test "x$do_infiniband" != "xno"; then :
10243 for ac_header
in infiniband
/umad.h
10245 ac_fn_c_check_header_mongrel
"$LINENO" "infiniband/umad.h" "ac_cv_header_infiniband_umad_h" "$ac_includes_default"
10246 if test "x$ac_cv_header_infiniband_umad_h" = xyes
; then :
10247 cat >>confdefs.h
<<_ACEOF
10248 #define HAVE_INFINIBAND_UMAD_H 1
10251 for ac_header
in infiniband
/mad.h
10253 ac_fn_c_check_header_mongrel
"$LINENO" "infiniband/mad.h" "ac_cv_header_infiniband_mad_h" "$ac_includes_default"
10254 if test "x$ac_cv_header_infiniband_mad_h" = xyes
; then :
10255 cat >>confdefs.h
<<_ACEOF
10256 #define HAVE_INFINIBAND_MAD_H 1
10258 pmda_infiniband
=true
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for madrpc_init in -libmad" >&5
10271 $as_echo_n "checking for madrpc_init in -libmad... " >&6; }
10272 if ${ac_cv_lib_ibmad_madrpc_init+:} false
; then :
10273 $as_echo_n "(cached) " >&6
10275 ac_check_lib_save_LIBS
=$LIBS
10276 LIBS
="-libmad $LIBS"
10277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10280 /* Override any GCC internal prototype to avoid an error.
10281 Use char because int might match the return type of a GCC
10282 builtin and then its argument prototype would still apply. */
10286 char madrpc_init ();
10290 return madrpc_init ();
10295 if ac_fn_c_try_link
"$LINENO"; then :
10296 ac_cv_lib_ibmad_madrpc_init
=yes
10298 ac_cv_lib_ibmad_madrpc_init
=no
10300 rm -f core conftest.err conftest.
$ac_objext \
10301 conftest
$ac_exeext conftest.
$ac_ext
10302 LIBS
=$ac_check_lib_save_LIBS
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_madrpc_init" >&5
10305 $as_echo "$ac_cv_lib_ibmad_madrpc_init" >&6; }
10306 if test "x$ac_cv_lib_ibmad_madrpc_init" = xyes
; then :
10307 cat >>confdefs.h
<<_ACEOF
10308 #define HAVE_LIBIBMAD 1
10311 LIBS
="-libmad $LIBS"
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umad_init in -libumad" >&5
10316 $as_echo_n "checking for umad_init in -libumad... " >&6; }
10317 if ${ac_cv_lib_ibumad_umad_init+:} false
; then :
10318 $as_echo_n "(cached) " >&6
10320 ac_check_lib_save_LIBS
=$LIBS
10321 LIBS
="-libumad $LIBS"
10322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10335 return umad_init ();
10340 if ac_fn_c_try_link
"$LINENO"; then :
10341 ac_cv_lib_ibumad_umad_init
=yes
10343 ac_cv_lib_ibumad_umad_init
=no
10345 rm -f core conftest.err conftest.
$ac_objext \
10346 conftest
$ac_exeext conftest.
$ac_ext
10347 LIBS
=$ac_check_lib_save_LIBS
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibumad_umad_init" >&5
10350 $as_echo "$ac_cv_lib_ibumad_umad_init" >&6; }
10351 if test "x$ac_cv_lib_ibumad_umad_init" = xyes
; then :
10352 cat >>confdefs.h
<<_ACEOF
10353 #define HAVE_LIBIBUMAD 1
10356 LIBS
="-libumad $LIBS"
10360 if test $ac_cv_lib_ibmad_madrpc_init = yes -a $ac_cv_lib_ibumad_umad_init = yes
10362 IB_LIBS
="-libmad -libumad"
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for port_performance_query_via" >&5
10365 $as_echo_n "checking for port_performance_query_via... " >&6; }
10366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10375 char port_performance_query_via ();
10379 return port_performance_query_via ();
10384 if ac_fn_c_try_link
"$LINENO"; then :
10386 $as_echo "#define HAVE_PORT_PERFORMANCE_QUERY_VIA 1" >>confdefs.h
10388 have_port_performance_query_via
=true
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10390 $as_echo "yes" >&6; }
10392 have_port_performance_query_via
=false
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10394 $as_echo "no" >&6; }
10396 rm -f core conftest.err conftest.
$ac_objext \
10397 conftest
$ac_exeext conftest.
$ac_ext
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pma_query_via" >&5
10399 $as_echo_n "checking for pma_query_via... " >&6; }
10400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10409 char pma_query_via ();
10413 return pma_query_via ();
10418 if ac_fn_c_try_link
"$LINENO"; then :
10420 $as_echo "#define HAVE_PMA_QUERY_VIA 1" >>confdefs.h
10422 have_pma_query_via
=true
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10424 $as_echo "yes" >&6; }
10426 have_pma_query_via
=false
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10428 $as_echo "no" >&6; }
10430 rm -f core conftest.err conftest.
$ac_objext \
10431 conftest
$ac_exeext conftest.
$ac_ext
10433 if test $have_pma_query_via -o $have_port_performance_query_via
10437 pmda_infiniband
=false
10440 pmda_infiniband
=false
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the infiniband PMDA should be included" >&5
10447 $as_echo_n "checking if the infiniband PMDA should be included... " >&6; }
10448 PMDA_INFINIBAND
=$pmda_infiniband
10450 if $pmda_infiniband; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10451 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10452 $as_echo "no" >&6; }; fi
10455 if test "x$do_papi" != "xno"; then :
10459 saved_LDFLAGS
="$LDFLAGS"
10460 saved_CFLAGS
="$CFLAGS"
10463 CFLAGS
="$papi_CFLAGS"
10464 LDFLAGS
="$papi_LIBS"
10470 PAPI_ROOTDIR
=$do_papi;
10471 CFLAGS
="-I$PAPI_ROOTDIR/include"
10472 LDFLAGS
="-L$PAPI_ROOTDIR/lib"
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for papi" >&5
10478 $as_echo_n "checking for papi... " >&6; }
10480 if test -n "$papi_CFLAGS"; then
10481 pkg_cv_papi_CFLAGS
="$papi_CFLAGS"
10482 elif test -n "$PKG_CONFIG"; then
10483 if test -n "$PKG_CONFIG" && \
10484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$do_papi\""; } >&5
10485 ($PKG_CONFIG --exists --print-errors "$do_papi") 2>&5
10487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10488 test $ac_status = 0; }; then
10489 pkg_cv_papi_CFLAGS
=`$PKG_CONFIG --cflags "$do_papi" 2>/dev/null`
10490 test "x$?" != "x0" && pkg_failed
=yes
10497 if test -n "$papi_LIBS"; then
10498 pkg_cv_papi_LIBS
="$papi_LIBS"
10499 elif test -n "$PKG_CONFIG"; then
10500 if test -n "$PKG_CONFIG" && \
10501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$do_papi\""; } >&5
10502 ($PKG_CONFIG --exists --print-errors "$do_papi") 2>&5
10504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10505 test $ac_status = 0; }; then
10506 pkg_cv_papi_LIBS
=`$PKG_CONFIG --libs "$do_papi" 2>/dev/null`
10507 test "x$?" != "x0" && pkg_failed
=yes
10517 if test $pkg_failed = yes; then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10519 $as_echo "no" >&6; }
10521 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10522 _pkg_short_errors_supported
=yes
10524 _pkg_short_errors_supported
=no
10526 if test $_pkg_short_errors_supported = yes; then
10527 papi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$do_papi" 2>&1`
10529 papi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$do_papi" 2>&1`
10531 # Put the nasty error message in config.log where it belongs
10532 echo "$papi_PKG_ERRORS" >&5
10534 as_fn_error $?
"Package requirements ($do_papi) were not met:
10538 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10539 installed software in a non-standard prefix.
10541 Alternatively, you may set the environment variables papi_CFLAGS
10542 and papi_LIBS to avoid the need to call pkg-config.
10543 See the pkg-config man page for more details." "$LINENO" 5
10544 elif test $pkg_failed = untried
; then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10546 $as_echo "no" >&6; }
10547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10549 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
10550 is in your PATH or set the PKG_CONFIG environment variable to the full
10551 path to pkg-config.
10553 Alternatively, you may set the environment variables papi_CFLAGS
10554 and papi_LIBS to avoid the need to call pkg-config.
10555 See the pkg-config man page for more details.
10557 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10558 See \`config.log' for more details" "$LINENO" 5; }
10560 papi_CFLAGS
=$pkg_cv_papi_CFLAGS
10561 papi_LIBS
=$pkg_cv_papi_LIBS
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10563 $as_echo "yes" >&6; }
10565 CFLAGS
="$papi_CFLAGS"
10566 LDFLAGS
="$papi_LIBS"
10571 # $papi_LIBS may include -lpapi harmlessly redudantly with AC_CHECK_LIB
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PAPI_library_init in -lpapi" >&5
10573 $as_echo_n "checking for PAPI_library_init in -lpapi... " >&6; }
10574 if ${ac_cv_lib_papi_PAPI_library_init+:} false
; then :
10575 $as_echo_n "(cached) " >&6
10577 ac_check_lib_save_LIBS
=$LIBS
10578 LIBS
="-lpapi $LIBS"
10579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10588 char PAPI_library_init ();
10592 return PAPI_library_init ();
10597 if ac_fn_c_try_link
"$LINENO"; then :
10598 ac_cv_lib_papi_PAPI_library_init
=yes
10600 ac_cv_lib_papi_PAPI_library_init
=no
10602 rm -f core conftest.err conftest.
$ac_objext \
10603 conftest
$ac_exeext conftest.
$ac_ext
10604 LIBS
=$ac_check_lib_save_LIBS
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_papi_PAPI_library_init" >&5
10607 $as_echo "$ac_cv_lib_papi_PAPI_library_init" >&6; }
10608 if test "x$ac_cv_lib_papi_PAPI_library_init" = xyes
; then :
10609 papi_libs
="$LDFLAGS -lpapi"
10614 for ac_header
in papi.h
10616 ac_fn_c_check_header_mongrel
"$LINENO" "papi.h" "ac_cv_header_papi_h" "$ac_includes_default"
10617 if test "x$ac_cv_header_papi_h" = xyes
; then :
10618 cat >>confdefs.h
<<_ACEOF
10619 #define HAVE_PAPI_H 1
10621 papi_cflags
="$CFLAGS"
10628 if test "$do_papi" != "check" -a "$enable_papi" != "true"
10630 as_fn_error $?
"PAPI is not installed, cannot enable the PAPI PMDA" "$LINENO" 5
10632 pmda_papi
=$enable_papi
10635 CFLAGS
="$saved_CFLAGS"
10636 LDFLAGS
="$saved_LDFLAGS"
10637 PAPI_CFLAGS
=$papi_cflags
10639 PAPI_LIBS
=$papi_libs
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the papi PMDA should be included" >&5
10644 $as_echo_n "checking if the papi PMDA should be included... " >&6; }
10645 PMDA_PAPI
=$pmda_papi
10647 if $pmda_papi; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10648 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10649 $as_echo "no" >&6; }; fi
10651 if test "x$pmda_papi" = "xtrue"; then :
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct PAPI_component_info_t has a disabled field" >&5
10654 $as_echo_n "checking whether struct PAPI_component_info_t has a disabled field... " >&6; }
10655 cat <<End-of-File >conftest.c
10657 int main() { PAPI_component_info_t *c; c->disabled = 0; }
10659 (eval $ac_compile) 2>conftest.out
10660 cat conftest.out
>&5
10661 if test -s conftest.out
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10664 $as_echo "no" >&6; }
10667 $as_echo "#define HAVE_PAPI_DISABLED_COMP 1" >>confdefs.h
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10670 $as_echo "yes" >&6; }
10677 pmda_perfevent
=false
10678 if test "x$do_perfevent" != "xno" ; then :
10680 enable_perfevent
=true
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pfm_get_os_event_encoding in -lpfm" >&5
10684 $as_echo_n "checking for pfm_get_os_event_encoding in -lpfm... " >&6; }
10685 if ${ac_cv_lib_pfm_pfm_get_os_event_encoding+:} false
; then :
10686 $as_echo_n "(cached) " >&6
10688 ac_check_lib_save_LIBS
=$LIBS
10690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10699 char pfm_get_os_event_encoding ();
10703 return pfm_get_os_event_encoding ();
10708 if ac_fn_c_try_link
"$LINENO"; then :
10709 ac_cv_lib_pfm_pfm_get_os_event_encoding
=yes
10711 ac_cv_lib_pfm_pfm_get_os_event_encoding
=no
10713 rm -f core conftest.err conftest.
$ac_objext \
10714 conftest
$ac_exeext conftest.
$ac_ext
10715 LIBS
=$ac_check_lib_save_LIBS
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pfm_pfm_get_os_event_encoding" >&5
10718 $as_echo "$ac_cv_lib_pfm_pfm_get_os_event_encoding" >&6; }
10719 if test "x$ac_cv_lib_pfm_pfm_get_os_event_encoding" = xyes
; then :
10722 enable_perfevent
=false
10725 for ac_header
in perfmon
/pfmlib_perf_event.h
10727 ac_fn_c_check_header_mongrel
"$LINENO" "perfmon/pfmlib_perf_event.h" "ac_cv_header_perfmon_pfmlib_perf_event_h" "$ac_includes_default"
10728 if test "x$ac_cv_header_perfmon_pfmlib_perf_event_h" = xyes
; then :
10729 cat >>confdefs.h
<<_ACEOF
10730 #define HAVE_PERFMON_PFMLIB_PERF_EVENT_H 1
10734 enable_perfevent
=false
10739 if test "$do_perfevent" != "check" -a "$enable_perfevent" != "true"
10741 as_fn_error $?
"libpfm is not installed, cannot enable the perfevent PMDA" "$LINENO" 5
10743 pmda_perfevent
=$enable_perfevent
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the perfevent PMDA should be included" >&5
10751 $as_echo_n "checking if the perfevent PMDA should be included... " >&6; }
10752 PMDA_PERFEVENT
=$pmda_perfevent
10754 if $pmda_perfevent; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10755 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10756 $as_echo "no" >&6; }; fi
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmlib > 4.4.2" >&5
10761 $as_echo_n "checking for rpmlib > 4.4.2... " >&6; }
10762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10764 #include <rpm/header.h>
10768 (void)HEADERGET_EXT;
10773 if ac_fn_c_try_compile
"$LINENO"; then :
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10775 $as_echo "yes" >&6; }
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10779 $as_echo "no" >&6; }
10781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the rpm PMDA should be included" >&5
10783 $as_echo_n "checking if the rpm PMDA should be included... " >&6; }
10786 if $pmda_rpm; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10787 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10788 $as_echo "no" >&6; }; fi
10792 for ac_prog
in qshape
10794 # Extract the first word of "$ac_prog", so it can be a program name with args.
10795 set dummy
$ac_prog; ac_word
=$2
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10797 $as_echo_n "checking for $ac_word... " >&6; }
10798 if ${ac_cv_prog_QSHAPE+:} false
; then :
10799 $as_echo_n "(cached) " >&6
10801 if test -n "$QSHAPE"; then
10802 ac_cv_prog_QSHAPE
="$QSHAPE" # Let the user override the test.
10804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10805 as_dummy
="path=$PATH:/usr/sbin"
10806 for as_dir
in $as_dummy
10809 test -z "$as_dir" && as_dir
=.
10810 for ac_exec_ext
in '' $ac_executable_extensions; do
10811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10812 ac_cv_prog_QSHAPE
="$ac_prog"
10813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10822 QSHAPE
=$ac_cv_prog_QSHAPE
10823 if test -n "$QSHAPE"; then
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QSHAPE" >&5
10825 $as_echo "$QSHAPE" >&6; }
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10828 $as_echo "no" >&6; }
10832 test -n "$QSHAPE" && break
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postfix PMDA should be included" >&5
10836 $as_echo_n "checking if the postfix PMDA should be included... " >&6; }
10837 if test -n "$QSHAPE"
10841 for script in /usr
/share
/doc
/packages
/postfix-doc
/auxiliary
/qshape
/qshape.pl
10843 if test -f "$script"
10850 PMDA_POSTFIX
=$pmda_postfix
10852 if $pmda_postfix; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10853 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10854 $as_echo "no" >&6; }; fi
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmicrohttpd" >&5
10859 $as_echo_n "checking for libmicrohttpd... " >&6; }
10861 if test -n "$libmicrohttpd_CFLAGS"; then
10862 pkg_cv_libmicrohttpd_CFLAGS
="$libmicrohttpd_CFLAGS"
10863 elif test -n "$PKG_CONFIG"; then
10864 if test -n "$PKG_CONFIG" && \
10865 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.9\""; } >&5
10866 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.9") 2>&5
10868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10869 test $ac_status = 0; }; then
10870 pkg_cv_libmicrohttpd_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd > 0.9.9" 2>/dev/null`
10871 test "x$?" != "x0" && pkg_failed
=yes
10878 if test -n "$libmicrohttpd_LIBS"; then
10879 pkg_cv_libmicrohttpd_LIBS
="$libmicrohttpd_LIBS"
10880 elif test -n "$PKG_CONFIG"; then
10881 if test -n "$PKG_CONFIG" && \
10882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.9\""; } >&5
10883 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.9") 2>&5
10885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10886 test $ac_status = 0; }; then
10887 pkg_cv_libmicrohttpd_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd > 0.9.9" 2>/dev/null`
10888 test "x$?" != "x0" && pkg_failed
=yes
10898 if test $pkg_failed = yes; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10900 $as_echo "no" >&6; }
10902 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10903 _pkg_short_errors_supported
=yes
10905 _pkg_short_errors_supported
=no
10907 if test $_pkg_short_errors_supported = yes; then
10908 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd > 0.9.9" 2>&1`
10910 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd > 0.9.9" 2>&1`
10912 # Put the nasty error message in config.log where it belongs
10913 echo "$libmicrohttpd_PKG_ERRORS" >&5
10915 have_libmicrohttpd
=false
10916 elif test $pkg_failed = untried
; then
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10918 $as_echo "no" >&6; }
10919 have_libmicrohttpd
=false
10921 libmicrohttpd_CFLAGS
=$pkg_cv_libmicrohttpd_CFLAGS
10922 libmicrohttpd_LIBS
=$pkg_cv_libmicrohttpd_LIBS
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10924 $as_echo "yes" >&6; }
10925 have_libmicrohttpd
=true
10927 HAVE_LIBMICROHTTPD
=$have_libmicrohttpd
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo" >&5
10933 $as_echo_n "checking for cairo... " >&6; }
10935 if test -n "$cairo_CFLAGS"; then
10936 pkg_cv_cairo_CFLAGS
="$cairo_CFLAGS"
10937 elif test -n "$PKG_CONFIG"; then
10938 if test -n "$PKG_CONFIG" && \
10939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2\""; } >&5
10940 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2") 2>&5
10942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10943 test $ac_status = 0; }; then
10944 pkg_cv_cairo_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>/dev/null`
10945 test "x$?" != "x0" && pkg_failed
=yes
10952 if test -n "$cairo_LIBS"; then
10953 pkg_cv_cairo_LIBS
="$cairo_LIBS"
10954 elif test -n "$PKG_CONFIG"; then
10955 if test -n "$PKG_CONFIG" && \
10956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2\""; } >&5
10957 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2") 2>&5
10959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10960 test $ac_status = 0; }; then
10961 pkg_cv_cairo_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>/dev/null`
10962 test "x$?" != "x0" && pkg_failed
=yes
10972 if test $pkg_failed = yes; then
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10974 $as_echo "no" >&6; }
10976 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10977 _pkg_short_errors_supported
=yes
10979 _pkg_short_errors_supported
=no
10981 if test $_pkg_short_errors_supported = yes; then
10982 cairo_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>&1`
10984 cairo_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>&1`
10986 # Put the nasty error message in config.log where it belongs
10987 echo "$cairo_PKG_ERRORS" >&5
10990 elif test $pkg_failed = untried
; then
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10992 $as_echo "no" >&6; }
10995 cairo_CFLAGS
=$pkg_cv_cairo_CFLAGS
10996 cairo_LIBS
=$pkg_cv_cairo_LIBS
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10998 $as_echo "yes" >&6; }
11001 HAVE_CAIRO
=$have_cairo
11004 enable_webapi
=false
11005 if test "x$do_webapi" != "xno"; then :
11009 if test "$have_libmicrohttpd" != "true"
11011 enable_webapi
=false
11012 test "$do_webapi" != "check" && \
11013 as_fn_error $?
"libmicrohttpd is not installed, cannot enable the web API" "$LINENO" 5
11014 elif test "$do_webapi" != "check" -a "x$cxx" = "x"
11016 enable_webapi
=false
11017 test "$do_webapi" != "check" && \
11018 as_fn_error $?
"C++ compiler unavailable, cannot enable the web API" "$LINENO" 5
11024 enable_manager
=false
11025 if test "x$do_manager" != "xno"; then :
11027 enable_manager
=true
11029 if test "$target_os" = "mingw"
11031 enable_manager
=false
11032 test "$do_manager" != "check" && \
11033 as_fn_error $?
"MinGW build, cannot enable daemon manager" "$LINENO" 5
11034 elif test "x$cxx" = "x"
11036 enable_manager
=false
11037 test "$do_manager" != "check" && \
11038 as_fn_error $?
"C++ compiler unavailable, cannot enable daemon manager" "$LINENO" 5
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compilation features for daemon manager" >&5
11041 $as_echo_n "checking compilation features for daemon manager... " >&6; }
11042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11044 #ifndef _XOPEN_SOURCE
11045 #define _XOPEN_SOURCE 600
11057 if ac_fn_c_try_compile
"$LINENO"; then :
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11059 $as_echo "yes" >&6; }
11061 enable_manager
=false
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11063 $as_echo "no" >&6; }
11065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11070 enable_selinux
=false
11071 if test "x$do_selinux" != "xno"; then :
11073 if test -f /usr
/share
/selinux
/devel
/Makefile
11075 enable_selinux
=true
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11078 $as_echo "no" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11087 $as_echo_n "checking return type of signal handlers... " >&6; }
11088 if ${ac_cv_type_signal+:} false
; then :
11089 $as_echo_n "(cached) " >&6
11091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11093 #include <sys/types.h>
11094 #include <signal.h>
11099 return *(signal (0, 0)) (0) == 1;
11104 if ac_fn_c_try_compile
"$LINENO"; then :
11105 ac_cv_type_signal
=int
11107 ac_cv_type_signal
=void
11109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11112 $as_echo "$ac_cv_type_signal" >&6; }
11114 cat >>confdefs.h
<<_ACEOF
11115 #define RETSIGTYPE $ac_cv_type_signal
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5
11120 $as_echo_n "checking for wait3 that fills in rusage... " >&6; }
11121 if ${ac_cv_func_wait3_rusage+:} false
; then :
11122 $as_echo_n "(cached) " >&6
11124 if test "$cross_compiling" = yes; then :
11125 ac_cv_func_wait3_rusage
=no
11127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 $ac_includes_default
11130 #include <sys/time.h>
11131 #include <sys/resource.h>
11132 #include <sys/wait.h>
11133 /* HP-UX has wait3 but does not fill in rusage at all. */
11139 /* Use a field that we can force nonzero --
11140 voluntary context switches.
11141 For systems like NeXT and OSF/1 that don't set it,
11142 also use the system CPU time. And page faults (I/O) for Linux. */
11144 r.ru_stime.tv_sec = 0;
11145 r.ru_stime.tv_usec = 0;
11146 r.ru_majflt = r.ru_minflt = 0;
11149 case 0: /* Child. */
11150 sleep(1); /* Give up the CPU. */
11153 case -1: /* What can we do? */
11156 default: /* Parent. */
11158 /* Avoid "text file busy" from rm on fast HP-UX machines. */
11160 return (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
11161 && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
11165 if ac_fn_c_try_run
"$LINENO"; then :
11166 ac_cv_func_wait3_rusage
=yes
11168 ac_cv_func_wait3_rusage
=no
11170 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11171 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5
11176 $as_echo "$ac_cv_func_wait3_rusage" >&6; }
11177 if test $ac_cv_func_wait3_rusage = yes; then
11179 $as_echo "#define HAVE_WAIT3 1" >>confdefs.h
11183 for ac_func
in vprintf
11185 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
11186 if test "x$ac_cv_func_vprintf" = xyes
; then :
11187 cat >>confdefs.h
<<_ACEOF
11188 #define HAVE_VPRINTF 1
11191 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
11192 if test "x$ac_cv_func__doprnt" = xyes
; then :
11194 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
11202 for ac_func
in mktime nanosleep
usleep unsetenv
11204 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11205 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11206 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11207 cat >>confdefs.h
<<_ACEOF
11208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11214 for ac_func
in select socket gethostname getpeerucred getpeereid
11216 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11217 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11218 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11219 cat >>confdefs.h
<<_ACEOF
11220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11226 for ac_func
in uname syslog __clone pipe2 fcntl ioctl
11228 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11229 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11230 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11231 cat >>confdefs.h
<<_ACEOF
11232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11238 for ac_func
in prctl setlinebuf waitpid atexit
kill
11240 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11241 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11242 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11243 cat >>confdefs.h
<<_ACEOF
11244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11250 for ac_func
in chown fchmod getcwd scandir mkstemp
11252 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11253 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11254 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11255 cat >>confdefs.h
<<_ACEOF
11256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11262 for ac_func
in brk sbrk posix_memalign memalign valloc
11264 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11265 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11266 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11267 cat >>confdefs.h
<<_ACEOF
11268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11274 for ac_func
in signal sighold sigrelse tcgetattr
11276 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11277 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11278 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11279 cat >>confdefs.h
<<_ACEOF
11280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11286 for ac_func
in regex regcmp regexec regcomp
11288 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11289 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11290 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11291 cat >>confdefs.h
<<_ACEOF
11292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11298 for ac_func
in strtod strtol strtoll strtoull strndup strchrnul
11300 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11301 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11302 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11303 cat >>confdefs.h
<<_ACEOF
11304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11310 for ac_func
in getuid getgid
11312 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11313 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11314 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11315 cat >>confdefs.h
<<_ACEOF
11316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11322 for ac_func
in getgrent getgrent_r getgrnam getgrnam_r getgrgid getgrgid_r
11324 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11325 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11326 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11327 cat >>confdefs.h
<<_ACEOF
11328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11334 for ac_func
in getpwent getpwent_r getpwnam getpwnam_r getpwuid getpwuid_r
11336 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11337 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11338 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11339 cat >>confdefs.h
<<_ACEOF
11340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11346 for ac_func
in sysinfo trace_back_stack backtrace
11348 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11349 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11350 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11351 cat >>confdefs.h
<<_ACEOF
11352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11358 for ac_func
in sendmsg recvmsg setns
11360 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11361 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11362 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11363 cat >>confdefs.h
<<_ACEOF
11364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11371 if test $target_os != linux
-a $target_os != freebsd
-a $target_os != kfreebsd
-a $target_os != netbsd
; then
11372 for ac_func
in readdir64
11374 ac_fn_c_check_func
"$LINENO" "readdir64" "ac_cv_func_readdir64"
11375 if test "x$ac_cv_func_readdir64" = xyes
; then :
11376 cat >>confdefs.h
<<_ACEOF
11377 #define HAVE_READDIR64 1
11385 if test $target_os = solaris
11387 ac_fn_c_check_type
"$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default"
11388 if test "x$ac_cv_type___int32_t" = xyes
; then :
11392 cat >>confdefs.h
<<_ACEOF
11393 #define __int32_t int32_t
11398 ac_fn_c_check_type
"$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default"
11399 if test "x$ac_cv_type___uint32_t" = xyes
; then :
11403 cat >>confdefs.h
<<_ACEOF
11404 #define __uint32_t uint32_t
11409 ac_fn_c_check_type
"$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default"
11410 if test "x$ac_cv_type___int64_t" = xyes
; then :
11414 cat >>confdefs.h
<<_ACEOF
11415 #define __int64_t int64_t
11420 ac_fn_c_check_type
"$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default"
11421 if test "x$ac_cv_type___uint64_t" = xyes
; then :
11425 cat >>confdefs.h
<<_ACEOF
11426 #define __uint64_t uint64_t
11431 ac_fn_c_check_type
"$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
11432 if test "x$ac_cv_type_uint_t" = xyes
; then :
11436 cat >>confdefs.h
<<_ACEOF
11437 #define uint_t u_int32_t
11443 ac_fn_c_check_type
"$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default"
11444 if test "x$ac_cv_type___int32_t" = xyes
; then :
11448 cat >>confdefs.h
<<_ACEOF
11449 #define __int32_t int
11454 ac_fn_c_check_type
"$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default"
11455 if test "x$ac_cv_type___uint32_t" = xyes
; then :
11459 cat >>confdefs.h
<<_ACEOF
11460 #define __uint32_t unsigned int
11465 ac_fn_c_check_type
"$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default"
11466 if test "x$ac_cv_type___int64_t" = xyes
; then :
11470 cat >>confdefs.h
<<_ACEOF
11471 #define __int64_t long long
11476 ac_fn_c_check_type
"$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default"
11477 if test "x$ac_cv_type___uint64_t" = xyes
; then :
11481 cat >>confdefs.h
<<_ACEOF
11482 #define __uint64_t unsigned long long
11487 ac_fn_c_check_type
"$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
11488 if test "x$ac_cv_type_uint_t" = xyes
; then :
11492 cat >>confdefs.h
<<_ACEOF
11493 #define uint_t unsigned int
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __psint_t " >&5
11501 $as_echo_n "checking for __psint_t ... " >&6; }
11502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11505 #include <sys/types.h>
11506 #include <stdlib.h>
11507 #include <stddef.h>
11517 if ac_fn_c_try_compile
"$LINENO"; then :
11519 $as_echo "#define HAVE___PSINT_T 1" >>confdefs.h
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11521 $as_echo "yes" >&6; }
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11524 $as_echo "no" >&6; }
11526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t " >&5
11529 $as_echo_n "checking for ptrdiff_t ... " >&6; }
11530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 #include <stddef.h>
11534 #ifdef HAVE_MALLOC_H
11535 #include <malloc.h>
11546 if ac_fn_c_try_compile
"$LINENO"; then :
11548 $as_echo "#define HAVE_PTRDIFF_T 1" >>confdefs.h
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11550 $as_echo "yes" >&6; }
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11553 $as_echo "no" >&6; }
11555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t " >&5
11558 $as_echo_n "checking for uid_t ... " >&6; }
11559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11562 #include <sys/types.h>
11575 if ac_fn_c_try_compile
"$LINENO"; then :
11577 $as_echo "#define HAVE_UID_T 1" >>confdefs.h
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11579 $as_echo "yes" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11582 $as_echo "no" >&6; }
11584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gid_t " >&5
11586 $as_echo_n "checking for gid_t ... " >&6; }
11587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 #include <sys/types.h>
11603 if ac_fn_c_try_compile
"$LINENO"; then :
11605 $as_echo "#define HAVE_GID_T 1" >>confdefs.h
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11607 $as_echo "yes" >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11610 $as_echo "no" >&6; }
11612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SID " >&5
11614 $as_echo_n "checking for SID ... " >&6; }
11615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 #ifdef HAVE_WINDOWS_H
11619 #include <windows.h>
11630 if ac_fn_c_try_compile
"$LINENO"; then :
11632 $as_echo "#define HAVE_SID 1" >>confdefs.h
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11634 $as_echo "yes" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 $as_echo "no" >&6; }
11639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t " >&5
11642 $as_echo_n "checking for socklen_t ... " >&6; }
11643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 #include <sys/types.h>
11647 #ifdef HAVE_SYS_SOCKET_H
11648 #include <sys/socket.h>
11659 if ac_fn_c_try_compile
"$LINENO"; then :
11661 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11663 $as_echo "yes" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11683 if ac_fn_c_try_compile
"$LINENO"; then :
11685 $as_echo "#define HAVE_CONST_LONGLONG 1" >>confdefs.h
11688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11693 #include <stdlib.h>
11694 #include <unistd.h>
11699 char **x = _environ;
11704 if ac_fn_c_try_link
"$LINENO"; then :
11706 $as_echo "#define HAVE_UNDERBAR_ENVIRON 1" >>confdefs.h
11709 rm -f core conftest.err conftest.
$ac_objext \
11710 conftest
$ac_exeext conftest.
$ac_ext
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_TERMCHILD constant in sys/prctl.h" >&5
11713 $as_echo_n "checking for PR_TERMCHILD constant in sys/prctl.h... " >&6; }
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 #ifdef HAVE_SYS_PRCTL_H
11718 #include <sys/prctl.h>
11724 int i = PR_TERMCHILD;
11729 if ac_fn_c_try_compile
"$LINENO"; then :
11731 $as_echo "#define HAVE_PR_TERMCHILD 1" >>confdefs.h
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11733 $as_echo "yes" >&6; }
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11736 $as_echo "no" >&6; }
11738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_SET_PDEATHSIG constant in sys/prctl.h" >&5
11741 $as_echo_n "checking for PR_SET_PDEATHSIG constant in sys/prctl.h... " >&6; }
11742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 #ifdef HAVE_SYS_PRCTL_H
11746 #include <sys/prctl.h>
11752 int i = PR_SET_PDEATHSIG;
11757 if ac_fn_c_try_compile
"$LINENO"; then :
11759 $as_echo "#define HAVE_PR_SET_PDEATHSIG 1" >>confdefs.h
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11761 $as_echo "yes" >&6; }
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11764 $as_echo "no" >&6; }
11766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
11769 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
11770 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
11771 $as_echo_n "(cached) " >&6
11773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11775 #include <sys/types.h>
11776 #include <termios.h>
11782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11783 $EGREP "yes" >/dev
/null
2>&1; then :
11784 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
11786 ac_cv_sys_tiocgwinsz_in_termios_h
=no
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
11792 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
11794 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
11796 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
11797 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
11798 $as_echo_n "(cached) " >&6
11800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11802 #include <sys/types.h>
11803 #include <sys/ioctl.h>
11809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11810 $EGREP "yes" >/dev
/null
2>&1; then :
11811 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
11813 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
11819 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
11821 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
11823 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -rdynamic" >&5
11830 $as_echo_n "checking if linker supports -rdynamic... " >&6; }
11831 save_CFLAGS
="$CFLAGS"
11833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11844 if ac_fn_c_try_link
"$LINENO"; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11846 $as_echo "yes" >&6; }
11847 rdynamic_flag
=-rdynamic
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11854 rm -f core conftest.err conftest.
$ac_objext \
11855 conftest
$ac_exeext conftest.
$ac_ext
11856 CFLAGS
="$save_CFLAGS"
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether const arg for scandir() select method" >&5
11861 $as_echo_n "checking whether const arg for scandir() select method... " >&6; }
11862 cat <<End-of-File >conftest.c
11863 #include <stdlib.h>
11864 #include <unistd.h>
11865 #include <dirent.h>
11867 my_select(const struct dirent *foo) { return 0; }
11868 int main() { struct dirent **list; return scandir(".", &list, my_select, NULL); }
11870 (eval $ac_compile) 2>conftest.out
11871 cat conftest.out
>&5
11872 if test -s conftest.out
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11878 $as_echo "#define HAVE_CONST_DIRENT 1" >>confdefs.h
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11881 $as_echo "yes" >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dirent has a d_off field" >&5
11886 $as_echo_n "checking whether struct dirent has a d_off field... " >&6; }
11887 cat <<End-of-File >conftest.c
11888 #include <stdlib.h>
11889 #include <unistd.h>
11890 #include <dirent.h>
11891 int main() { struct dirent d; d.d_off = 0; }
11893 (eval $ac_compile) 2>conftest.out
11894 cat conftest.out
>&5
11895 if test -s conftest.out
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11898 $as_echo "no" >&6; }
11901 $as_echo "#define HAVE_DIRENT_D_OFF 1" >>confdefs.h
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11904 $as_echo "yes" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if printf %p produces 0x prefix" >&5
11909 $as_echo_n "checking if printf %p produces 0x prefix... " >&6; }
11910 if test "$cross_compiling" = "yes"; then
11911 ans
=$printf_p_prefix
11912 echo "cross-compile -> \"$ans\"" >&5
11914 cat <<End-of-File >conftest.c
11916 int main(int argc, char **argv) { printf("%p", argv); return(0); }
11918 (eval $ac_compile) 2>&5
11919 (eval $ac_link) 2>&5
11921 echo "./conftest -> \"$ans\"" >&5
11927 $as_echo "#define HAVE_PRINTF_P_PFX 1" >>confdefs.h
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11930 $as_echo "yes" >&6; }
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11934 $as_echo "no" >&6; }
11937 rm -rf conftest conftest.
*
11941 # need to deal with this sort of cpp output ...
11942 # typedef long pid_t;
11943 # typedef unsigned int pid_t;
11944 # typedef unsigned int pid_t __attribute__ ((__mode__ (__SI__)));
11945 # __extension__ typedef int pid_t;
11951 # typedef ... *pid;
11952 # and chaining of the form
11953 # typedef long __pid_t;
11954 # typedef __pid_t pid_t;
11956 _raw
=`$CPP conftest.c \
11958 -e 's/[ ]__attribute__ ((.*));/;/' \
11959 -e 's/__extension__[ ][ ]*//' \
11961 /bozo/ { print; next }
11962 $1 == "typedef" { printf "%s",$0
11968 if ($0 ~ /{/) depth = 1
11971 wantsemi == 1 { printf " %s",$0
11972 if ($0 ~ /{/) depth++
11974 if ($0 ~ /}/) depth--
11975 if (depth > 0) next
11988 $1 == "typedef" { map[$NF] = ""
11989 for (i = 2; i < NF; i++) {
11993 map[$NF] = map[$NF] " " $i
11995 print $NF " -> " map[$NF] >"conftest.debug"
11998 $2 == "bozo" { t = $1
11999 printf "best guess: %s",t >"conftest.debug"
12000 while (map[t] != "") {
12002 printf " -> %s",t >"conftest.debug"
12004 print "" >"conftest.debug"
12013 unsigned|
'unsigned int')
12019 'long long'|
'long long int')
12020 if test $target_os = mingw
; then
12026 'unsigned long'|
'unsigned long int'|
'long unsigned int')
12029 'unsigned long long'|
'unsigned long long int')
12030 if test $target_os = mingw
; then
12036 *\
*) # pointer to a something
12039 struct\
*) # not much can be done here ...
12044 echo "FATAL ERROR: don't know what to do with type \"$_raw\""
12045 echo "... typedef mapping ..."
12047 rm -rf conftest conftest.
*
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pid_t" >&5
12054 $as_echo_n "checking printf type for pid_t... " >&6; }
12055 if test "$cross_compiling" = "yes"; then
12056 ans
=$printf_fmt_pid
12057 echo "cross-compile -> \"$ans\"" >&5
12060 cat <<End-of-File >conftest.c
12061 #include <sys/types.h>
12062 #include <unistd.h>
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pid" >&5
12069 $as_echo "$fmt_pid" >&6; }
12071 rm -rf conftest.c conftest.debug
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for int64_t " >&5
12074 $as_echo_n "checking printf type for int64_t ... " >&6; }
12075 if test "$cross_compiling" = "yes"; then
12076 ans
=$printf_fmt_int64
12077 echo "cross-compile -> \"$ans\"" >&5
12079 cat <<End-of-File >conftest.c
12081 #include <stdint.h>
12082 #include <inttypes.h>
12085 printf("\"%s\"\n", __PRI64_PREFIX "d");
12090 (eval $ac_link) 2>&5
12091 if test -x .
/conftest
12094 echo "./conftest -> \"$ans\"" >&5
12098 cat <<End-of-File >conftest.c
12100 #include <stdint.h>
12101 #include <string.h>
12105 int64_t bozo = 0x12345678abcdLL;
12106 sprintf(buf, "%lx", bozo);
12107 if (strcmp(buf, "12345678abcd") == 0)
12108 printf("\"ld\"\n");
12110 sprintf(buf, "%llx", bozo);
12111 if (strcmp(buf, "12345678abcd") == 0)
12112 printf("\"lld\"\n");
12117 (eval $ac_link) 2>&5
12118 if test -x .
/conftest
12121 echo "./conftest -> \"$ans\"" >&5
12127 echo 'FATAL ERROR: Cannot determine printf format for int64_t type'
12128 rm -rf conftest conftest.
*
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$fmt_int64\"" >&5
12133 $as_echo "\"$fmt_int64\"" >&6; }
12135 fmt_uint64
=`echo $fmt_int64 | sed -e 's/d"/u"/'`
12137 rm -rf conftest.
* conftest
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking strtol or strtoll for int64_t" >&5
12140 $as_echo_n "checking strtol or strtoll for int64_t... " >&6; }
12141 if test "$cross_compiling" = "yes"; then
12143 echo "cross-compile -> \"$ans\"" >&5
12145 cat <<End-of-File >conftest.c
12147 #include <stdlib.h>
12150 long long int value = -1;
12151 value = strtol("1234567812345678", NULL, 16);
12152 if (value == 0x1234567812345678LL) {
12153 printf("strotol\n");
12156 value = strtoll("1234567812345678", NULL, 16);
12157 if (value == 0x1234567812345678LL) {
12158 printf("strtoll\n");
12164 (eval $ac_compile) 2>&5
12165 (eval $ac_link) 2>&5
12167 echo "./conftest -> \"$ans\"" >&5
12172 $as_echo "#define strtoint64 strtol" >>confdefs.h
12174 $as_echo "#define strtouint64 strtoul" >>confdefs.h
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtol" >&5
12177 $as_echo "strtol" >&6; }
12180 $as_echo "#define strtoint64 strtoll" >>confdefs.h
12182 $as_echo "#define strtouint64 strtoull" >>confdefs.h
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtoll" >&5
12185 $as_echo "strtoll" >&6; }
12188 $as_echo "#define strtoint64 strtoll" >>confdefs.h
12190 $as_echo "#define strtouint64 strtoull" >>confdefs.h
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming strtoll" >&5
12193 $as_echo "assuming strtoll" >&6; }
12196 rm -rf conftest conftest.
*
12198 if test "$do_threads" = "check" -o "$do_threads" = "yes"
12200 for ac_header
in pthread.h
12202 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
12203 if test "x$ac_cv_header_pthread_h" = xyes
; then :
12204 cat >>confdefs.h
<<_ACEOF
12205 #define HAVE_PTHREAD_H 1
12210 if test "$do_threads" = "yes"
12212 as_fn_error $?
"cannot enable multi-threaded mode - no pthread.h" "$LINENO" 5
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_t in pthread.h" >&5
12221 $as_echo_n "checking for pthread_mutex_t in pthread.h... " >&6; }
12222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12224 #include <pthread.h>
12228 pthread_mutex_t mymutex;
12233 if ac_fn_c_try_compile
"$LINENO"; then :
12235 $as_echo "#define HAVE_PTHREAD_MUTEX_T 1" >>confdefs.h
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12237 $as_echo "yes" >&6; }
12240 if test "$do_threads" = "yes"
12242 as_fn_error $?
"cannot enable multi-threaded mode - no mutexes" "$LINENO" 5
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245 $as_echo "no" >&6; }
12249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where pthread_create() is defined" >&5
12252 $as_echo_n "checking where pthread_create() is defined... " >&6; }
12253 for cand
in "" pthreads pthread
; do
12257 LIBS
=`echo $LIBS -l$cand`
12259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12262 #include <pthread.h>
12268 pthread_create(NULL, NULL, NULL, NULL);
12274 if ac_fn_c_try_link
"$LINENO"; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: lib${cand:-c}" >&5
12276 $as_echo "lib${cand:-c}" >&6; }
12279 lib_for_pthreads
="$cand"
12281 lib_for_pthreads
="-l$cand"
12286 rm -f core conftest.err conftest.
$ac_objext \
12287 conftest
$ac_exeext conftest.
$ac_ext
12292 if test "$ac_cv_header_pthread_h" = "yes"
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pthread_t" >&5
12295 $as_echo_n "checking printf type for pthread_t... " >&6; }
12296 cat <<End-of-File >conftest.c
12297 #include <pthread.h>
12301 fmt_pthread
="$_fmt"
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pthread" >&5
12303 $as_echo "$fmt_pthread" >&6; }
12305 rm -rf conftest.c conftest.debug
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports __thread" >&5
12308 $as_echo_n "checking if compiler supports __thread... " >&6; }
12309 if test $target_os = netbsd
12311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12313 #include <pthread.h>
12314 #if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 5 )
12327 if ac_fn_c_try_compile
"$LINENO"; then :
12329 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12331 $as_echo "yes" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340 #include <pthread.h>
12350 if ac_fn_c_try_compile
"$LINENO"; then :
12352 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12354 $as_echo "yes" >&6; }
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12357 $as_echo "no" >&6; }
12359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_barrier_t in pthread.h" >&5
12363 $as_echo_n "checking for pthread_barrier_t in pthread.h... " >&6; }
12364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #include <pthread.h>
12370 pthread_barrier_t mybarrier;
12375 if ac_fn_c_try_compile
"$LINENO"; then :
12377 $as_echo "#define HAVE_PTHREAD_BARRIER_T 1" >>confdefs.h
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12379 $as_echo "yes" >&6; }
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12382 $as_echo "no" >&6; }
12384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof suseconds_t" >&5
12389 $as_echo_n "checking sizeof suseconds_t... " >&6; }
12390 if test "$cross_compiling" = "yes"; then
12391 ans
=$sizeof_suseconds_t
12392 echo "cross-compile -> \"$ans\"" >&5
12394 cat <<End-of-File >conftest.c
12395 #include <sys/time.h>
12396 main() { printf("%d", (int)sizeof(suseconds_t)); }
12398 (eval $ac_compile) 2>&5
12399 (eval $ac_link) 2>&5
12401 echo "./conftest -> \"$ans\"" >&5
12402 rm -rf conftest conftest.
*
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12405 $as_echo "$ans" >&6; }
12407 cat >>confdefs.h
<<_ACEOF
12408 #define SIZEOF_SUSECONDS_T $ans
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof time_t" >&5
12413 $as_echo_n "checking sizeof time_t... " >&6; }
12414 if test "$cross_compiling" = "yes"; then
12416 echo "cross-compile -> \"$ans\"" >&5
12418 cat <<End-of-File >conftest.c
12419 #include <sys/time.h>
12420 main() { printf("%d", (int)sizeof(time_t)); }
12422 (eval $ac_compile) 2>&5
12423 (eval $ac_link) 2>&5
12425 echo "./conftest -> \"$ans\"" >&5
12426 rm -rf conftest conftest.
*
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12429 $as_echo "$ans" >&6; }
12431 cat >>confdefs.h
<<_ACEOF
12432 #define SIZEOF_TIME_T $ans
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof long" >&5
12437 $as_echo_n "checking sizeof long... " >&6; }
12438 if test "$cross_compiling" = "yes"; then
12440 echo "cross-compile -> \"$ans\"" >&5
12442 cat <<End-of-File >conftest.c
12444 main() { printf("%d", (int)sizeof(long)); }
12446 (eval $ac_compile) 2>&5
12447 (eval $ac_link) 2>&5
12449 echo "./conftest -> \"$ans\"" >&5
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12452 $as_echo "$ans" >&6; }
12453 if test "$ans" = 4; then
12455 $as_echo "#define HAVE_32BIT_LONG 1" >>confdefs.h
12457 elif test "$ans" = 8; then
12459 $as_echo "#define HAVE_64BIT_LONG 1" >>confdefs.h
12463 echo "FATAL ERROR: size of long is not 32 or 64 bits, cannot proceed."
12464 echo "sizeof(char *) -> $ans"
12465 rm -rf conftest conftest.
*
12468 rm -rf conftest conftest.
*
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof pointer" >&5
12471 $as_echo_n "checking sizeof pointer... " >&6; }
12472 if test "$cross_compiling" = "yes"; then
12473 ans
=$sizeof_pointer
12474 echo "cross-compile -> \"$ans\"" >&5
12476 cat <<End-of-File >conftest.c
12478 main() { printf("%d", (int)sizeof(char *)); }
12480 (eval $ac_compile) 2>&5
12481 (eval $ac_link) 2>&5
12483 echo "./conftest -> \"$ans\"" >&5
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12486 $as_echo "$ans" >&6; }
12487 if test "$ans" = 4; then
12489 $as_echo "#define HAVE_32BIT_PTR 1" >>confdefs.h
12492 elif test "$ans" = 8; then
12494 $as_echo "#define HAVE_64BIT_PTR 1" >>confdefs.h
12499 echo "FATAL ERROR: size of pointer is not 32 or 64 bits, cannot proceed."
12500 echo "sizeof(char *) -> $ans"
12501 rm -rf conftest conftest.
*
12504 rm -rf conftest conftest.
*
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof int" >&5
12507 $as_echo_n "checking sizeof int... " >&6; }
12508 if test "$cross_compiling" = "yes"; then
12510 echo "cross-compile -> \"$ans\"" >&5
12512 cat <<End-of-File >conftest.c
12514 main() { printf("%d", (int)sizeof(int)); }
12516 (eval $ac_compile) 2>&5
12517 (eval $ac_link) 2>&5
12519 echo "./conftest -> \"$ans\"" >&5
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12522 $as_echo "$ans" >&6; }
12523 if test "$ans" != 4
12526 echo "FATAL ERROR: sizeof(int) is not 32 bits, cannot proceed."
12527 echo "Note: 32-bit ints are assumed in the PCP external file formats and"
12528 echo " the over-the-wire PDU formats"
12529 rm -rf conftest conftest.
*
12532 rm -rf conftest conftest.
*
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bit fields allocated left-to-right" >&5
12535 $as_echo_n "checking if bit fields allocated left-to-right... " >&6; }
12536 if test "$cross_compiling" = "yes"; then
12537 ans
=$bit_field_scheme
12538 echo "cross-compile -> \"$ans\"" >&5
12540 cat <<End-of-File >conftest.c
12541 union { struct { unsigned int b:4; unsigned int c:4; } a; int p; } u;
12542 main() { u.a.b = 1; u.a.c = 2; printf("%0*x", 2*sizeof(int), u.p); }
12544 (eval $ac_compile) 2>&5
12545 (eval $ac_link) 2>&5
12547 echo "./conftest -> \"$ans\"" >&5
12552 # left-to-right starting from MSB (SGI cc on MIPS), or
12553 # left-to-right ending at LSB
12555 $as_echo "#define HAVE_BITFIELDS_LTOR 1" >>confdefs.h
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12558 $as_echo "yes" >&6; }
12561 # right-to-left ending at MSB, or
12562 # right-to-left starting from LSB (gcc in Intel)
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12564 $as_echo "no" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
12568 $as_echo "unknown" >&6; }
12569 echo "FATAL ERROR: could not fathom your compiler's bit field allocation scheme"
12570 rm -f conftest conftest.
*
12574 rm -rf conftest conftest.
*
12576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12579 #include <stdlib.h>
12580 #include <unistd.h>
12587 double y = (double)x;
12593 if ac_fn_c_try_link
"$LINENO"; then :
12595 $as_echo "#define HAVE_CAST_U64_DOUBLE 1" >>confdefs.h
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12601 for ac_func
in basename
12603 ac_fn_c_check_func
"$LINENO" "basename" "ac_cv_func_basename"
12604 if test "x$ac_cv_func_basename" = xyes
; then :
12605 cat >>confdefs.h
<<_ACEOF
12606 #define HAVE_BASENAME 1
12612 if test $ac_cv_func_basename = yes
12615 $as_echo "#define HAVE_BASENAME 1" >>confdefs.h
12618 $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h
12620 lib_for_basename
=""
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basename in -lgen" >&5
12623 $as_echo_n "checking for basename in -lgen... " >&6; }
12624 if ${ac_cv_lib_gen_basename+:} false
; then :
12625 $as_echo_n "(cached) " >&6
12627 ac_check_lib_save_LIBS
=$LIBS
12629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12642 return basename ();
12647 if ac_fn_c_try_link
"$LINENO"; then :
12648 ac_cv_lib_gen_basename
=yes
12650 ac_cv_lib_gen_basename
=no
12652 rm -f core conftest.err conftest.
$ac_objext \
12653 conftest
$ac_exeext conftest.
$ac_ext
12654 LIBS
=$ac_check_lib_save_LIBS
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_basename" >&5
12657 $as_echo "$ac_cv_lib_gen_basename" >&6; }
12658 if test "x$ac_cv_lib_gen_basename" = xyes
; then :
12659 cat >>confdefs.h
<<_ACEOF
12660 #define HAVE_LIBGEN 1
12667 if test $ac_cv_lib_gen_basename = yes
12670 $as_echo "#define HAVE_BASENAME 1" >>confdefs.h
12673 $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h
12675 lib_for_basename
="-lgen"
12677 lib_for_basename
="-lpcp"
12682 lib_for_clock_gettime
=
12683 for ac_func
in clock_gettime
12685 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
12686 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
12687 cat >>confdefs.h
<<_ACEOF
12688 #define HAVE_CLOCK_GETTIME 1
12694 if test $ac_cv_func_clock_gettime = no
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12697 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12698 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
12699 $as_echo_n "(cached) " >&6
12701 ac_check_lib_save_LIBS
=$LIBS
12703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12712 char clock_gettime ();
12716 return clock_gettime ();
12721 if ac_fn_c_try_link
"$LINENO"; then :
12722 ac_cv_lib_rt_clock_gettime
=yes
12724 ac_cv_lib_rt_clock_gettime
=no
12726 rm -f core conftest.err conftest.
$ac_objext \
12727 conftest
$ac_exeext conftest.
$ac_ext
12728 LIBS
=$ac_check_lib_save_LIBS
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12731 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12732 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
12733 cat >>confdefs.h
<<_ACEOF
12734 #define HAVE_LIBRT 1
12741 if test $ac_cv_lib_rt_clock_gettime = yes
12744 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
12752 for ac_func
in dlopen
12754 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12755 if test "x$ac_cv_func_dlopen" = xyes
; then :
12756 cat >>confdefs.h
<<_ACEOF
12757 #define HAVE_DLOPEN 1
12763 if test $ac_cv_func_dlopen = no
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12766 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12767 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 ac_check_lib_save_LIBS
=$LIBS
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12790 if ac_fn_c_try_link
"$LINENO"; then :
12791 ac_cv_lib_dl_dlopen
=yes
12793 ac_cv_lib_dl_dlopen
=no
12795 rm -f core conftest.err conftest.
$ac_objext \
12796 conftest
$ac_exeext conftest.
$ac_ext
12797 LIBS
=$ac_check_lib_save_LIBS
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12800 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12801 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12802 cat >>confdefs.h
<<_ACEOF
12803 #define HAVE_LIBDL 1
12810 if test $ac_cv_lib_dl_dlopen = yes
12813 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12815 lib_for_dlopen
=-ldl
12821 for ac_func
in flog10
12823 ac_fn_c_check_func
"$LINENO" "flog10" "ac_cv_func_flog10"
12824 if test "x$ac_cv_func_flog10" = xyes
; then :
12825 cat >>confdefs.h
<<_ACEOF
12826 #define HAVE_FLOG10 1
12832 if test $ac_cv_func_flog10 = no
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flog10 in -lm" >&5
12835 $as_echo_n "checking for flog10 in -lm... " >&6; }
12836 if ${ac_cv_lib_m_flog10+:} false
; then :
12837 $as_echo_n "(cached) " >&6
12839 ac_check_lib_save_LIBS
=$LIBS
12841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12859 if ac_fn_c_try_link
"$LINENO"; then :
12860 ac_cv_lib_m_flog10
=yes
12862 ac_cv_lib_m_flog10
=no
12864 rm -f core conftest.err conftest.
$ac_objext \
12865 conftest
$ac_exeext conftest.
$ac_ext
12866 LIBS
=$ac_check_lib_save_LIBS
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_flog10" >&5
12869 $as_echo "$ac_cv_lib_m_flog10" >&6; }
12870 if test "x$ac_cv_lib_m_flog10" = xyes
; then :
12871 cat >>confdefs.h
<<_ACEOF
12872 #define HAVE_LIBM 1
12879 if test $ac_cv_lib_m_flog10 = yes
12882 $as_echo "#define HAVE_FLOG10 1" >>confdefs.h
12888 $as_echo "#define HAVE_FLOG10 1" >>confdefs.h
12893 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12894 if test "x$ac_cv_func_pow" = xyes
; then :
12895 cat >>confdefs.h
<<_ACEOF
12902 if test $ac_cv_func_pow = no
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12905 $as_echo_n "checking for pow in -lm... " >&6; }
12906 if ${ac_cv_lib_m_pow+:} false
; then :
12907 $as_echo_n "(cached) " >&6
12909 ac_check_lib_save_LIBS
=$LIBS
12911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12912 /* end confdefs.h. */
12914 /* Override any GCC internal prototype to avoid an error.
12915 Use char because int might match the return type of a GCC
12916 builtin and then its argument prototype would still apply. */
12929 if ac_fn_c_try_link
"$LINENO"; then :
12930 ac_cv_lib_m_pow
=yes
12934 rm -f core conftest.err conftest.
$ac_objext \
12935 conftest
$ac_exeext conftest.
$ac_ext
12936 LIBS
=$ac_check_lib_save_LIBS
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12939 $as_echo "$ac_cv_lib_m_pow" >&6; }
12940 if test "x$ac_cv_lib_m_pow" = xyes
; then :
12941 cat >>confdefs.h
<<_ACEOF
12942 #define HAVE_LIBM 1
12949 if test $ac_cv_lib_m_pow = yes
12952 $as_echo "#define HAVE_POW 1" >>confdefs.h
12958 $as_echo "#define HAVE_POW 1" >>confdefs.h
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify()" >&5
12962 $as_echo_n "checking for fpclassify()... " >&6; }
12963 ac_cv_func_fpclassify
=no
12964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12965 /* end confdefs.h. */
12973 double x = 123.456;
12974 if (fpclassify(x) == FP_NAN) exit(1);
12980 if ac_fn_c_try_link
"$LINENO"; then :
12981 ac_cv_func_fpclassify
=yes
12983 rm -f core conftest.err conftest.
$ac_objext \
12984 conftest
$ac_exeext conftest.
$ac_ext
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5
12986 $as_echo "$ac_cv_func_fpclassify" >&6; }
12987 if test $ac_cv_func_fpclassify = no
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify() with -lm" >&5
12990 $as_echo_n "checking for fpclassify() with -lm... " >&6; }
12993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
13002 double x = 123.456;
13003 if (fpclassify(x) == FP_NAN) exit(1);
13009 if ac_fn_c_try_link
"$LINENO"; then :
13010 ac_cv_func_fpclassify
=yes
13012 rm -f core conftest.err conftest.
$ac_objext \
13013 conftest
$ac_exeext conftest.
$ac_ext
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5
13015 $as_echo "$ac_cv_func_fpclassify" >&6; }
13016 if test $ac_cv_func_fpclassify = yes
13022 if test $ac_cv_func_fpclassify = yes
13025 $as_echo "#define HAVE_FPCLASSIFY 1" >>confdefs.h
13028 for ac_func
in isnan
13030 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
13031 if test "x$ac_cv_func_isnan" = xyes
; then :
13032 cat >>confdefs.h
<<_ACEOF
13033 #define HAVE_ISNAN 1
13039 if test $ac_cv_func_isnan = no
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
13042 $as_echo_n "checking for isnan in -lm... " >&6; }
13043 if ${ac_cv_lib_m_isnan+:} false
; then :
13044 $as_echo_n "(cached) " >&6
13046 ac_check_lib_save_LIBS
=$LIBS
13048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13051 /* Override any GCC internal prototype to avoid an error.
13052 Use char because int might match the return type of a GCC
13053 builtin and then its argument prototype would still apply. */
13066 if ac_fn_c_try_link
"$LINENO"; then :
13067 ac_cv_lib_m_isnan
=yes
13069 ac_cv_lib_m_isnan
=no
13071 rm -f core conftest.err conftest.
$ac_objext \
13072 conftest
$ac_exeext conftest.
$ac_ext
13073 LIBS
=$ac_check_lib_save_LIBS
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
13076 $as_echo "$ac_cv_lib_m_isnan" >&6; }
13077 if test "x$ac_cv_lib_m_isnan" = xyes
; then :
13078 cat >>confdefs.h
<<_ACEOF
13079 #define HAVE_LIBM 1
13086 if test $ac_cv_lib_m_isnan = yes
13089 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
13094 for ac_func
in isnanf
13096 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
13097 if test "x$ac_cv_func_isnanf" = xyes
; then :
13098 cat >>confdefs.h
<<_ACEOF
13099 #define HAVE_ISNANF 1
13105 if test $ac_cv_func_isnanf = no
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf in -lm" >&5
13108 $as_echo_n "checking for isnanf in -lm... " >&6; }
13109 if ${ac_cv_lib_m_isnanf+:} false
; then :
13110 $as_echo_n "(cached) " >&6
13112 ac_check_lib_save_LIBS
=$LIBS
13114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13115 /* end confdefs.h. */
13117 /* Override any GCC internal prototype to avoid an error.
13118 Use char because int might match the return type of a GCC
13119 builtin and then its argument prototype would still apply. */
13132 if ac_fn_c_try_link
"$LINENO"; then :
13133 ac_cv_lib_m_isnanf
=yes
13135 ac_cv_lib_m_isnanf
=no
13137 rm -f core conftest.err conftest.
$ac_objext \
13138 conftest
$ac_exeext conftest.
$ac_ext
13139 LIBS
=$ac_check_lib_save_LIBS
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnanf" >&5
13142 $as_echo "$ac_cv_lib_m_isnanf" >&6; }
13143 if test "x$ac_cv_lib_m_isnanf" = xyes
; then :
13144 cat >>confdefs.h
<<_ACEOF
13145 #define HAVE_LIBM 1
13152 if test $ac_cv_lib_m_isnanf = yes
13155 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
13163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13165 #include <signal.h>
13174 if ac_fn_c_try_link
"$LINENO"; then :
13176 $as_echo "#define HAVE_SIGPF 1" >>confdefs.h
13179 rm -f core conftest.err conftest.
$ac_objext \
13180 conftest
$ac_exeext conftest.
$ac_ext
13182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13184 #include <signal.h>
13188 int x = SA_SIGINFO;
13193 if ac_fn_c_try_link
"$LINENO"; then :
13195 $as_echo "#define HAVE_SA_SIGINFO 1" >>confdefs.h
13198 rm -f core conftest.err conftest.
$ac_objext \
13199 conftest
$ac_exeext conftest.
$ac_ext
13201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13203 #include <signal.h>
13212 if ac_fn_c_try_link
"$LINENO"; then :
13214 $as_echo "#define HAVE_SIGPIPE 1" >>confdefs.h
13217 rm -f core conftest.err conftest.
$ac_objext \
13218 conftest
$ac_exeext conftest.
$ac_ext
13220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13222 #include <signal.h>
13231 if ac_fn_c_try_link
"$LINENO"; then :
13233 $as_echo "#define HAVE_SIGHUP 1" >>confdefs.h
13236 rm -f core conftest.err conftest.
$ac_objext \
13237 conftest
$ac_exeext conftest.
$ac_ext
13239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h. */
13241 #include <signal.h>
13250 if ac_fn_c_try_link
"$LINENO"; then :
13252 $as_echo "#define HAVE_SIGBUS 1" >>confdefs.h
13255 rm -f core conftest.err conftest.
$ac_objext \
13256 conftest
$ac_exeext conftest.
$ac_ext
13258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13260 #include <sys/wait.h>
13264 typedef void (*SIGRET)(int);
13265 SIGRET x = SIG_IGN;
13271 if ac_fn_c_try_link
"$LINENO"; then :
13273 $as_echo "#define HAVE_WAIT_INCLUDES_SIGNAL 1" >>confdefs.h
13276 rm -f core conftest.err conftest.
$ac_objext \
13277 conftest
$ac_exeext conftest.
$ac_ext
13279 have_stat_type
=false
13280 have_stat_name
=false
13281 if test $have_stat_name = false
13283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13285 #include <sys/stat.h>
13288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13289 $EGREP "[ ]st_mtimespec" >/dev
/null
2>&1; then :
13290 have_stat_name
=true
;
13292 $as_echo "#define HAVE_ST_MTIME_WITH_SPEC 1" >>confdefs.h
13298 if test $have_stat_name = false
-a $target_os != darwin
-a $target_os != linux
-a $target_os != kfreebsd
-a $target_os != netbsd
13300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h. */
13302 #include <sys/stat.h>
13305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13306 $EGREP "[ ]st_mtime" >/dev
/null
2>&1; then :
13307 have_stat_name
=true
;
13309 $as_echo "#define HAVE_ST_MTIME_WITH_E 1" >>confdefs.h
13315 if test $have_stat_type = false
13317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13319 #include <sys/stat.h>
13322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13323 $EGREP "timestruc_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13324 have_stat_type
=true
;
13326 $as_echo "#define HAVE_STAT_TIMESTRUC 1" >>confdefs.h
13332 if test $have_stat_type = false
13334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13336 #include <sys/stat.h>
13339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13340 $EGREP "timespec_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13341 have_stat_type
=true
;
13343 $as_echo "#define HAVE_STAT_TIMESPEC_T 1" >>confdefs.h
13349 if test $have_stat_type = false
13351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13353 #include <sys/stat.h>
13356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13357 $EGREP "timespec[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13358 have_stat_type
=true
;
13360 $as_echo "#define HAVE_STAT_TIMESPEC 1" >>confdefs.h
13366 if test $have_stat_type = false
13368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13370 #include <sys/stat.h>
13373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13374 $EGREP "time_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13375 have_stat_type
=true
;
13377 $as_echo "#define HAVE_STAT_TIME_T 1" >>confdefs.h
13383 if test $have_stat_type = false
13385 echo 'FATAL ERROR: Cannot determine struct stat time types.'
13386 rm -rf conftest conftest.
*
13391 pcp_etc_dir
=`eval echo $sysconfdir`
13392 pcp_etc_dir
=`eval echo $pcp_etc_dir`
13394 pcp_saslconf_dir
=`eval echo $sysconfdir/sasl2`
13395 pcp_saslconf_dir
=`eval echo $pcp_saslconf_dir`
13397 pcp_sysconf_dir
=`eval echo $sysconfdir/pcp`
13398 pcp_sysconf_dir
=`eval echo $pcp_sysconf_dir`
13400 pcp_pmcdconf_path
=$pcp_sysconf_dir/pmcd
/pmcd.conf
13401 pcp_pmcdrclocal_path
=$pcp_sysconf_dir/pmcd
/rc.
local
13402 pcp_pmcdoptions_path
=$pcp_sysconf_dir/pmcd
/pmcd.options
13403 pcp_pmwebdoptions_path
=$pcp_sysconf_dir/pmwebd
/pmwebd.options
13404 pcp_pmmgroptions_path
=$pcp_sysconf_dir/pmmgr
/pmmgr.options
13405 pcp_pmproxyoptions_path
=$pcp_sysconf_dir/pmproxy
/pmproxy.options
13406 pcp_pmiecontrol_path
=$pcp_sysconf_dir/pmie
/control
13407 pcp_pmsnapcontrol_path
=$pcp_sysconf_dir/pmsnap
/control
13408 pcp_pmloggercontrol_path
=$pcp_sysconf_dir/pmlogger
/control
13419 pcp_share_dir
=`eval echo $datarootdir/pcp`
13420 pcp_share_dir
=`eval echo $pcp_share_dir`
13423 pcp_binadm_dir
=`eval echo $libexecdir/pcp/bin`
13424 pcp_binadm_dir
=`eval echo $pcp_binadm_dir`
13427 pcp_var_dir
=`eval echo $localstatedir/lib/pcp`
13428 pcp_var_dir
=`eval echo $pcp_var_dir`
13432 # Check whether --with-configdir was given.
13433 if test "${with_configdir+set}" = set; then :
13434 withval
=$with_configdir; pcp_config_dir
=$withval
13436 pcp_config_dir
=$pcp_var_dir/config
13440 pcp_pmdas_dir
=$pcp_var_dir/pmdas
13443 pcp_selinux_dir
=$pcp_var_dir/selinux
13446 pcp_lib_dir
=`eval echo $libdir`
13447 pcp_lib_dir
=`eval echo $pcp_lib_dir`
13448 pcp_lib32_dir
=`echo $pcp_lib_dir | sed -e s,64,, -e s,//,/,`
13453 # Check whether --with-perl_installdirs was given.
13454 if test "${with_perl_installdirs+set}" = set; then :
13455 withval
=$with_perl_installdirs; perl_installdirs
=$withval
13457 perl_installdirs
=vendor
13460 perl_installdirs
=`eval echo $perl_installdirs`
13461 perl_installdirs
=`eval echo $perl_installdirs`
13464 # Check whether --with-perl_install_base was given.
13465 if test "${with_perl_install_base+set}" = set; then :
13466 withval
=$with_perl_install_base; perl_install_base
=$withval
13468 perl_install_base
=$prefix
13471 perl_install_base
=`eval echo $perl_install_base`
13472 perl_install_base
=`eval echo $perl_install_base`
13476 # Check whether --with-python_prefix was given.
13477 if test "${with_python_prefix+set}" = set; then :
13478 withval
=$with_python_prefix; python_prefix
=$withval
13480 python_prefix
=$prefix
13483 python_prefix
=`eval echo $python_prefix`
13484 python_prefix
=`eval echo $python_prefix`
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13488 $as_echo_n "checking for X... " >&6; }
13491 # Check whether --with-x was given.
13492 if test "${with_x+set}" = set; then :
13496 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13497 if test "x$with_x" = xno
; then
13498 # The user explicitly disabled X.
13501 case $x_includes,$x_libraries in #(
13502 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13503 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13504 $as_echo_n "(cached) " >&6
13506 # One or both of the vars are not set, and there is no cached value.
13507 ac_x_includes
=no ac_x_libraries
=no
13508 rm -f -r conftest.dir
13509 if mkdir conftest.dir
; then
13511 cat >Imakefile
<<'_ACEOF'
13513 @echo incroot='${INCROOT}'
13515 @echo usrlibdir='${USRLIBDIR}'
13517 @echo libdir='${LIBDIR}'
13519 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13520 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13521 for ac_var
in incroot usrlibdir libdir
; do
13522 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13524 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13525 for ac_extension
in a so sl dylib la dll
; do
13526 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13527 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13528 ac_im_usrlibdir
=$ac_im_libdir; break
13531 # Screen out bogus values from the imake configuration. They are
13532 # bogus both because they are the default anyway, and because
13533 # using them would break gcc on systems where it needs fixed includes.
13534 case $ac_im_incroot in
13535 /usr
/include
) ac_x_includes
= ;;
13536 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13538 case $ac_im_usrlibdir in
13539 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13540 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13544 rm -f -r conftest.dir
13547 # Standard set of common directories for X headers.
13548 # Check X11 before X11Rn because it is often a symlink to the current release.
13562 /usr/local/X11/include
13563 /usr/local/X11R7/include
13564 /usr/local/X11R6/include
13565 /usr/local/X11R5/include
13566 /usr/local/X11R4/include
13568 /usr/local/include/X11
13569 /usr/local/include/X11R7
13570 /usr/local/include/X11R6
13571 /usr/local/include/X11R5
13572 /usr/local/include/X11R4
13576 /usr/XFree86/include/X11
13580 /usr/unsupported/include
13581 /usr/athena/include
13582 /usr/local/x11r5/include
13583 /usr/lpp/Xamples/include
13585 /usr/openwin/include
13586 /usr/openwin/share/include'
13588 if test "$ac_x_includes" = no
; then
13589 # Guess where to find include files, by looking for Xlib.h.
13590 # First, try using that file with no special directory specified.
13591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13593 #include <X11/Xlib.h>
13595 if ac_fn_c_try_cpp
"$LINENO"; then :
13596 # We can compile using X headers with no special include directory.
13599 for ac_dir
in $ac_x_header_dirs; do
13600 if test -r "$ac_dir/X11/Xlib.h"; then
13601 ac_x_includes
=$ac_dir
13606 rm -f conftest.err conftest.i conftest.
$ac_ext
13607 fi # $ac_x_includes = no
13609 if test "$ac_x_libraries" = no
; then
13610 # Check for the libraries.
13611 # See if we find them without any special options.
13612 # Don't add to $LIBS permanently.
13615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 #include <X11/Xlib.h>
13626 if ac_fn_c_try_link
"$LINENO"; then :
13628 # We can link X programs with no special library path.
13632 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13634 # Don't even attempt the hair of trying to link an X program!
13635 for ac_extension
in a so sl dylib la dll
; do
13636 if test -r "$ac_dir/libX11.$ac_extension"; then
13637 ac_x_libraries
=$ac_dir
13643 rm -f core conftest.err conftest.
$ac_objext \
13644 conftest
$ac_exeext conftest.
$ac_ext
13645 fi # $ac_x_libraries = no
13647 case $ac_x_includes,$ac_x_libraries in #(
13648 no
,* |
*,no |
*\'*)
13649 # Didn't find X, or a directory has "'" in its name.
13650 ac_cv_have_x
="have_x=no";; #(
13652 # Record where we found X for the cache.
13653 ac_cv_have_x
="have_x=yes\
13654 ac_x_includes='$ac_x_includes'\
13655 ac_x_libraries='$ac_x_libraries'"
13661 eval "$ac_cv_have_x"
13664 if test "$have_x" != yes; then
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13666 $as_echo "$have_x" >&6; }
13669 # If each of the values was on the command line, it overrides each guess.
13670 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13671 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13672 # Update the cache value to reflect the command line values.
13673 ac_cv_have_x
="have_x=yes\
13674 ac_x_includes='$x_includes'\
13675 ac_x_libraries='$x_libraries'"
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13677 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13680 if test "$no_x" = yes; then
13681 # Not all programs may use this symbol, but it does not hurt to define it.
13683 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
13685 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13687 if test -n "$x_includes"; then
13688 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13691 # It would also be nice to do this for all -L options, not just this one.
13692 if test -n "$x_libraries"; then
13693 X_LIBS
="$X_LIBS -L$x_libraries"
13694 # For Solaris; some versions of Sun CC require a space after -R and
13695 # others require no space. Words are not sufficient . . . .
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13697 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
13698 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13699 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13700 ac_c_werror_flag
=yes
13701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13712 if ac_fn_c_try_link
"$LINENO"; then :
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13714 $as_echo "no" >&6; }
13715 X_LIBS
="$X_LIBS -R$x_libraries"
13717 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13729 if ac_fn_c_try_link
"$LINENO"; then :
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13731 $as_echo "yes" >&6; }
13732 X_LIBS
="$X_LIBS -R $x_libraries"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13735 $as_echo "neither works" >&6; }
13737 rm -f core conftest.err conftest.
$ac_objext \
13738 conftest
$ac_exeext conftest.
$ac_ext
13740 rm -f core conftest.err conftest.
$ac_objext \
13741 conftest
$ac_exeext conftest.
$ac_ext
13742 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13743 LIBS
=$ac_xsave_LIBS
13746 # Check for system-dependent libraries X programs must link with.
13747 # Do this before checking for the system-independent R6 libraries
13748 # (-lICE), since we may need -lsocket or whatever for X linking.
13750 if test "$ISC" = yes; then
13751 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13753 # Martyn Johnson says this is needed for Ultrix, if the X
13754 # libraries were built with DECnet support. And Karl Berry says
13755 # the Alpha needs dnet_stub (dnet does not exist).
13756 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13760 /* Override any GCC internal prototype to avoid an error.
13761 Use char because int might match the return type of a GCC
13762 builtin and then its argument prototype would still apply. */
13766 char XOpenDisplay ();
13770 return XOpenDisplay ();
13775 if ac_fn_c_try_link
"$LINENO"; then :
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13779 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13780 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
13781 $as_echo_n "(cached) " >&6
13783 ac_check_lib_save_LIBS
=$LIBS
13784 LIBS
="-ldnet $LIBS"
13785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13786 /* end confdefs.h. */
13788 /* Override any GCC internal prototype to avoid an error.
13789 Use char because int might match the return type of a GCC
13790 builtin and then its argument prototype would still apply. */
13798 return dnet_ntoa ();
13803 if ac_fn_c_try_link
"$LINENO"; then :
13804 ac_cv_lib_dnet_dnet_ntoa
=yes
13806 ac_cv_lib_dnet_dnet_ntoa
=no
13808 rm -f core conftest.err conftest.
$ac_objext \
13809 conftest
$ac_exeext conftest.
$ac_ext
13810 LIBS
=$ac_check_lib_save_LIBS
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13813 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13814 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
13815 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13818 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13820 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13821 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
13822 $as_echo_n "(cached) " >&6
13824 ac_check_lib_save_LIBS
=$LIBS
13825 LIBS
="-ldnet_stub $LIBS"
13826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13829 /* Override any GCC internal prototype to avoid an error.
13830 Use char because int might match the return type of a GCC
13831 builtin and then its argument prototype would still apply. */
13839 return dnet_ntoa ();
13844 if ac_fn_c_try_link
"$LINENO"; then :
13845 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13847 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13849 rm -f core conftest.err conftest.
$ac_objext \
13850 conftest
$ac_exeext conftest.
$ac_ext
13851 LIBS
=$ac_check_lib_save_LIBS
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13854 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13855 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
13856 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13861 rm -f core conftest.err conftest.
$ac_objext \
13862 conftest
$ac_exeext conftest.
$ac_ext
13863 LIBS
="$ac_xsave_LIBS"
13865 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13866 # to get the SysV transport functions.
13867 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13869 # The nsl library prevents programs from opening the X display
13870 # on Irix 5.2, according to T.E. Dickey.
13871 # The functions gethostbyname, getservbyname, and inet_addr are
13872 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13873 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13874 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
13878 if test $ac_cv_func_gethostbyname = no
; then
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13880 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13881 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
13882 $as_echo_n "(cached) " >&6
13884 ac_check_lib_save_LIBS
=$LIBS
13886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13895 char gethostbyname ();
13899 return gethostbyname ();
13904 if ac_fn_c_try_link
"$LINENO"; then :
13905 ac_cv_lib_nsl_gethostbyname
=yes
13907 ac_cv_lib_nsl_gethostbyname
=no
13909 rm -f core conftest.err conftest.
$ac_objext \
13910 conftest
$ac_exeext conftest.
$ac_ext
13911 LIBS
=$ac_check_lib_save_LIBS
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13914 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13915 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
13916 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13919 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13921 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13922 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
13923 $as_echo_n "(cached) " >&6
13925 ac_check_lib_save_LIBS
=$LIBS
13927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13930 /* Override any GCC internal prototype to avoid an error.
13931 Use char because int might match the return type of a GCC
13932 builtin and then its argument prototype would still apply. */
13936 char gethostbyname ();
13940 return gethostbyname ();
13945 if ac_fn_c_try_link
"$LINENO"; then :
13946 ac_cv_lib_bsd_gethostbyname
=yes
13948 ac_cv_lib_bsd_gethostbyname
=no
13950 rm -f core conftest.err conftest.
$ac_objext \
13951 conftest
$ac_exeext conftest.
$ac_ext
13952 LIBS
=$ac_check_lib_save_LIBS
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13955 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13956 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
13957 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13963 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13964 # socket/setsockopt and other routines are undefined under SCO ODT
13965 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13966 # on later versions), says Simon Leinen: it contains gethostby*
13967 # variants that don't use the name server (or something). -lsocket
13968 # must be given before -lnsl if both are needed. We assume that
13969 # if connect needs -lnsl, so does gethostbyname.
13970 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13971 if test "x$ac_cv_func_connect" = xyes
; then :
13975 if test $ac_cv_func_connect = no
; then
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13977 $as_echo_n "checking for connect in -lsocket... " >&6; }
13978 if ${ac_cv_lib_socket_connect+:} false
; then :
13979 $as_echo_n "(cached) " >&6
13981 ac_check_lib_save_LIBS
=$LIBS
13982 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13986 /* Override any GCC internal prototype to avoid an error.
13987 Use char because int might match the return type of a GCC
13988 builtin and then its argument prototype would still apply. */
14001 if ac_fn_c_try_link
"$LINENO"; then :
14002 ac_cv_lib_socket_connect
=yes
14004 ac_cv_lib_socket_connect
=no
14006 rm -f core conftest.err conftest.
$ac_objext \
14007 conftest
$ac_exeext conftest.
$ac_ext
14008 LIBS
=$ac_check_lib_save_LIBS
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14011 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14012 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
14013 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14018 # Guillermo Gomez says -lposix is necessary on A/UX.
14019 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
14020 if test "x$ac_cv_func_remove" = xyes
; then :
14024 if test $ac_cv_func_remove = no
; then
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14026 $as_echo_n "checking for remove in -lposix... " >&6; }
14027 if ${ac_cv_lib_posix_remove+:} false
; then :
14028 $as_echo_n "(cached) " >&6
14030 ac_check_lib_save_LIBS
=$LIBS
14031 LIBS
="-lposix $LIBS"
14032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14035 /* Override any GCC internal prototype to avoid an error.
14036 Use char because int might match the return type of a GCC
14037 builtin and then its argument prototype would still apply. */
14050 if ac_fn_c_try_link
"$LINENO"; then :
14051 ac_cv_lib_posix_remove
=yes
14053 ac_cv_lib_posix_remove
=no
14055 rm -f core conftest.err conftest.
$ac_objext \
14056 conftest
$ac_exeext conftest.
$ac_ext
14057 LIBS
=$ac_check_lib_save_LIBS
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14060 $as_echo "$ac_cv_lib_posix_remove" >&6; }
14061 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
14062 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14067 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14068 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
14069 if test "x$ac_cv_func_shmat" = xyes
; then :
14073 if test $ac_cv_func_shmat = no
; then
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14075 $as_echo_n "checking for shmat in -lipc... " >&6; }
14076 if ${ac_cv_lib_ipc_shmat+:} false
; then :
14077 $as_echo_n "(cached) " >&6
14079 ac_check_lib_save_LIBS
=$LIBS
14081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14084 /* Override any GCC internal prototype to avoid an error.
14085 Use char because int might match the return type of a GCC
14086 builtin and then its argument prototype would still apply. */
14099 if ac_fn_c_try_link
"$LINENO"; then :
14100 ac_cv_lib_ipc_shmat
=yes
14102 ac_cv_lib_ipc_shmat
=no
14104 rm -f core conftest.err conftest.
$ac_objext \
14105 conftest
$ac_exeext conftest.
$ac_ext
14106 LIBS
=$ac_check_lib_save_LIBS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14109 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
14110 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
14111 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14117 # Check for libraries that X11R6 Xt/Xaw programs need.
14118 ac_save_LDFLAGS
=$LDFLAGS
14119 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14120 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14121 # check for ICE first), but we must link in the order -lSM -lICE or
14122 # we get undefined symbols. So assume we have SM if we have ICE.
14123 # These have to be linked with before -lX11, unlike the other
14124 # libraries we check for below, so use a different variable.
14125 # John Interrante, Karl Berry
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14127 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
14128 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
14129 $as_echo_n "(cached) " >&6
14131 ac_check_lib_save_LIBS
=$LIBS
14132 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14136 /* Override any GCC internal prototype to avoid an error.
14137 Use char because int might match the return type of a GCC
14138 builtin and then its argument prototype would still apply. */
14142 char IceConnectionNumber ();
14146 return IceConnectionNumber ();
14151 if ac_fn_c_try_link
"$LINENO"; then :
14152 ac_cv_lib_ICE_IceConnectionNumber
=yes
14154 ac_cv_lib_ICE_IceConnectionNumber
=no
14156 rm -f core conftest.err conftest.
$ac_objext \
14157 conftest
$ac_exeext conftest.
$ac_ext
14158 LIBS
=$ac_check_lib_save_LIBS
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14161 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14162 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
14163 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14166 LDFLAGS
=$ac_save_LDFLAGS
14170 pcp_x11_incflags
=$X_CFLAGS
14172 pcp_x11_libflags
=$X_LIBS
14174 pcp_x11_extra
=$X_EXTRA_LIBS
14176 pcp_x11_pre
=$X_PRE_LIBS
14179 have_manpages
=false
14180 have_gzipped_manpages
=false
14181 have_bzip2ed_manpages
=false
14182 have_lzmaed_manpages
=false
14183 have_xzed_manpages
=false
14184 need_old_tbl_header
=false
14186 pcp_man_dir
=`eval echo $mandir`
14187 pcp_man_dir
=`eval echo $pcp_man_dir`
14189 for d
in /usr
/man
/usr
/share
/man
$pcp_man_dir
14191 for sd
in man1 sman1
14193 if test -f $d/$sd/man
.1.gz
14195 have_gzipped_manpages
=true
14197 man_header
=`$ZIP -d < $d/$sd/man.1.gz | head -1`
14199 elif test -f $d/$sd/man
.1.bz2
14201 have_bzip2ed_manpages
=true
14203 man_header
=`$BZIP2 -d < $d/$sd/man.1.bz2 | head -1`
14205 elif test -f $d/$sd/man
.1.lzma
14207 have_lzmaed_manpages
=true
14209 man_header
=`$LZMA -d < $d/$sd/man.1.lzma | head -1`
14211 elif test -f $d/$sd/man
.1.xz
14213 have_xzed_manpages
=true
14215 man_header
=`$XZ -d < $d/$sd/man.1.xz | head -1`
14217 elif test -f $d/$sd/man
.1
14219 man_header
=`head -1 $d/$sd/man.1`
14225 if test x
"$man_header" = "x'\\\" t" -o x
"$man_header" = "x'\\\" te" ; then
14226 need_old_tbl_header
=true
14236 pcp_bin_dir
=`eval echo $bindir`
14237 pcp_bin_dir
=`eval echo $pcp_bin_dir`
14240 pcp_sbin_dir
=`eval echo $sbindir`
14241 pcp_sbin_dir
=`eval echo $pcp_sbin_dir`
14244 pcp_inc_dir
=`eval echo $includedir/pcp`
14245 pcp_inc_dir
=`eval echo $pcp_inc_dir`
14248 if test $target_os = linux
; then
14249 pcp_books_dir
=`eval echo $datarootdir/doc/pcp-doc`
14251 pcp_books_dir
=`eval echo $datarootdir/doc/pcp`
14253 pcp_books_dir
=`eval echo $pcp_books_dir`
14254 pcp_html_dir
=`eval echo $pcp_books_dir/html`
14258 if test $target_os = linux
; then
14259 pcp_icons_dir
=`eval echo $datarootdir/pcp-gui/pixmaps`
14261 pcp_icons_dir
=`eval echo $datarootdir/pcp/pixmaps`
14263 pcp_icons_dir
=`eval echo $pcp_icons_dir`
14266 pcp_desktop_dir
=`eval echo $datarootdir/applications`
14267 pcp_desktop_dir
=`eval echo $pcp_desktop_dir`
14271 # Check whether --with-rcdir was given.
14272 if test "${with_rcdir+set}" = set; then :
14273 withval
=$with_rcdir; pcp_rc_dir
=$withval
14278 pcp_rc_dir
="$pcp_share_dir/lib"
14280 pcp_rc_dir
="$pcp_etc_dir/init.d"
14287 # Check whether --with-sysconfigdir was given.
14288 if test "${with_sysconfigdir+set}" = set; then :
14289 withval
=$with_sysconfigdir; pcp_sysconfig_dir
=$withval
14291 pcp_sysconfig_dir
=$pcp_etc_dir/sysconfig
14297 # Check whether --with-logdir was given.
14298 if test "${with_logdir+set}" = set; then :
14299 withval
=$with_logdir; pcp_log_dir
=$withval
14301 pcp_log_dir
=$localstatedir/log
/pcp
14304 pcp_log_dir
=`eval echo $pcp_log_dir`
14305 pcp_log_dir
=`eval echo $pcp_log_dir`
14309 # Check whether --with-rundir was given.
14310 if test "${with_rundir+set}" = set; then :
14311 withval
=$with_rundir; pcp_run_dir
=$withval
14313 pcp_run_dir
=$localstatedir/run
/pcp
14316 pcp_run_dir
=`eval echo $pcp_run_dir`
14317 pcp_run_dir
=`eval echo $pcp_run_dir`
14321 # Check whether --with-tmpdir was given.
14322 if test "${with_tmpdir+set}" = set; then :
14323 withval
=$with_tmpdir; pcp_tmpfile_dir
=$withval
14325 pcp_tmpfile_dir
=$localstatedir/tmp
14328 pcp_tmpfile_dir
=`eval echo $pcp_tmpfile_dir`
14329 pcp_tmpfile_dir
=`eval echo $pcp_tmpfile_dir`
14332 pcp_tmp_dir
=`eval echo $pcp_var_dir/tmp`
14336 # Check whether --with-docdir was given.
14337 if test "${with_docdir+set}" = set; then :
14338 withval
=$with_docdir; pcp_doc_dir
=$withval
14340 PACKAGE
=pcp-
${PACKAGE_VERSION}; pcp_doc_dir
=$docdir
14343 pcp_doc_dir
=`eval echo $pcp_doc_dir`
14344 pcp_doc_dir
=`eval echo $pcp_doc_dir`
14348 # Check whether --with-demosdir was given.
14349 if test "${with_demosdir+set}" = set; then :
14350 withval
=$with_demosdir; pcp_demos_dir
=$withval
14352 pcp_demos_dir
=$pcp_share_dir/demos
14357 if test -z "$XCONFIRM"
14359 # Extract the first word of "xconfirm", so it can be a program name with args.
14360 set dummy xconfirm
; ac_word
=$2
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14362 $as_echo_n "checking for $ac_word... " >&6; }
14363 if ${ac_cv_path_ac_xconfirm_prog+:} false
; then :
14364 $as_echo_n "(cached) " >&6
14366 case $ac_xconfirm_prog in
14368 ac_cv_path_ac_xconfirm_prog
="$ac_xconfirm_prog" # Let the user override the test with a path.
14371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14372 for as_dir
in $PATH
14375 test -z "$as_dir" && as_dir
=.
14376 for ac_exec_ext
in '' $ac_executable_extensions; do
14377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14378 ac_cv_path_ac_xconfirm_prog
="$as_dir/$ac_word$ac_exec_ext"
14379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14386 test -z "$ac_cv_path_ac_xconfirm_prog" && ac_cv_path_ac_xconfirm_prog
="$pcp_bin_dir/pmconfirm"
14390 ac_xconfirm_prog
=$ac_cv_path_ac_xconfirm_prog
14391 if test -n "$ac_xconfirm_prog"; then
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_xconfirm_prog" >&5
14393 $as_echo "$ac_xconfirm_prog" >&6; }
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14396 $as_echo "no" >&6; }
14401 ac_xconfirm_prog
=$XCONFIRM
14405 if test "$ac_cv_header_fcntl_h" = "yes"
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FNDELAY in fcntl.h" >&5
14408 $as_echo_n "checking for FNDELAY in fcntl.h... " >&6; }
14409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14420 if ac_fn_c_try_compile
"$LINENO"; then :
14422 $as_echo "#define HAVE_FNDELAY 1" >>confdefs.h
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14425 $as_echo "yes" >&6; }
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14428 $as_echo "no" >&6; }
14430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14433 if test "$ac_cv_header_libzfs_h" = "yes"
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 5-argument style zpool_vdev_name" >&5
14436 $as_echo_n "checking for 5-argument style zpool_vdev_name... " >&6; }
14437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14439 #include <libzfs.h>
14443 libzfs_handle_t *zh;
14444 zpool_handle_t *zp;
14446 (void) zpool_vdev_name(zh, zp, np, B_FALSE, B_FALSE);
14452 if ac_fn_c_try_compile
"$LINENO"; then :
14454 $as_echo "#define HAVE_ZPOOL_VDEV_NAME_5ARG 1" >>confdefs.h
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14457 $as_echo "yes" >&6; }
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14460 $as_echo "no" >&6; }
14462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zpool_vdev_name" >&5
14465 $as_echo_n "checking for 4-argument style zpool_vdev_name... " >&6; }
14466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14468 #include <libzfs.h>
14472 libzfs_handle_t *zh;
14473 zpool_handle_t *zp;
14475 (void) zpool_vdev_name(zh, zp, np, B_FALSE);
14481 if ac_fn_c_try_compile
"$LINENO"; then :
14483 $as_echo "#define HAVE_ZPOOL_VDEV_NAME_4ARG 1" >>confdefs.h
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14486 $as_echo "yes" >&6; }
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14489 $as_echo "no" >&6; }
14491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14494 if test "$do_secure" = "check" -o "$do_secure" = "yes"
14498 saved_CFLAGS
="$CFLAGS"
14499 saved_CPPFLAGS
="$CPPFLAGS"
14500 NSS_INC_DIRS
="-I/usr/include/nss -I/usr/include/nss3"
14501 NSPR_INC_DIRS
="-I/usr/include/nspr -I/usr/include/nspr4"
14502 CFLAGS
="$CFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS"
14503 CPPFLAGS
="$CPPFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS"
14505 for ac_header
in nss
/nss.h
14507 ac_fn_c_check_header_mongrel
"$LINENO" "nss/nss.h" "ac_cv_header_nss_nss_h" "$ac_includes_default"
14508 if test "x$ac_cv_header_nss_nss_h" = xyes
; then :
14509 cat >>confdefs.h
<<_ACEOF
14510 #define HAVE_NSS_NSS_H 1
14512 NSSCFLAGS
=-I/usr
/include
/nss
14515 for ac_header
in nss
3/nss.h
14517 ac_fn_c_check_header_mongrel
"$LINENO" "nss3/nss.h" "ac_cv_header_nss3_nss_h" "$ac_includes_default"
14518 if test "x$ac_cv_header_nss3_nss_h" = xyes
; then :
14519 cat >>confdefs.h
<<_ACEOF
14520 #define HAVE_NSS3_NSS_H 1
14522 NSSCFLAGS
=-I/usr
/include
/nss3
14525 enable_secure
=false
14526 if test "$do_secure" = "yes"
14528 as_fn_error $?
"cannot enable secure sockets mode - no NSS header" "$LINENO" 5
14542 for ac_header
in nspr
/nspr.h
14544 ac_fn_c_check_header_mongrel
"$LINENO" "nspr/nspr.h" "ac_cv_header_nspr_nspr_h" "$ac_includes_default"
14545 if test "x$ac_cv_header_nspr_nspr_h" = xyes
; then :
14546 cat >>confdefs.h
<<_ACEOF
14547 #define HAVE_NSPR_NSPR_H 1
14549 NSPRCFLAGS
=-I/usr
/include
/nspr
14552 for ac_header
in nspr
4/nspr.h
14554 ac_fn_c_check_header_mongrel
"$LINENO" "nspr4/nspr.h" "ac_cv_header_nspr4_nspr_h" "$ac_includes_default"
14555 if test "x$ac_cv_header_nspr4_nspr_h" = xyes
; then :
14556 cat >>confdefs.h
<<_ACEOF
14557 #define HAVE_NSPR4_NSPR_H 1
14559 NSPRCFLAGS
=-I/usr
/include
/nspr4
14562 enable_secure
=false
14563 if test "$do_secure" = "yes"
14565 as_fn_error $?
"cannot enable secure sockets mode - no NSPR header" "$LINENO" 5
14579 for ac_header
in sasl
/sasl.h
14581 ac_fn_c_check_header_mongrel
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
14582 if test "x$ac_cv_header_sasl_sasl_h" = xyes
; then :
14583 cat >>confdefs.h
<<_ACEOF
14584 #define HAVE_SASL_SASL_H 1
14586 SASLCFLAGS
=-I/usr
/include
/sasl
14589 enable_secure
=false
14590 if test "$do_secure" = "yes"
14592 as_fn_error $?
"cannot enable secure sockets mode - no SASL header" "$LINENO" 5
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_server_init in -lsasl2" >&5
14602 $as_echo_n "checking for sasl_server_init in -lsasl2... " >&6; }
14603 if ${ac_cv_lib_sasl2_sasl_server_init+:} false
; then :
14604 $as_echo_n "(cached) " >&6
14606 ac_check_lib_save_LIBS
=$LIBS
14607 LIBS
="-lsasl2 $LIBS"
14608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14611 /* Override any GCC internal prototype to avoid an error.
14612 Use char because int might match the return type of a GCC
14613 builtin and then its argument prototype would still apply. */
14617 char sasl_server_init ();
14621 return sasl_server_init ();
14626 if ac_fn_c_try_link
"$LINENO"; then :
14627 ac_cv_lib_sasl2_sasl_server_init
=yes
14629 ac_cv_lib_sasl2_sasl_server_init
=no
14631 rm -f core conftest.err conftest.
$ac_objext \
14632 conftest
$ac_exeext conftest.
$ac_ext
14633 LIBS
=$ac_check_lib_save_LIBS
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_server_init" >&5
14636 $as_echo "$ac_cv_lib_sasl2_sasl_server_init" >&6; }
14637 if test "x$ac_cv_lib_sasl2_sasl_server_init" = xyes
; then :
14638 lib_for_sasl
="-lsasl2"
14641 enable_secure
=false
14642 if test "$do_secure" = "yes"
14644 as_fn_error $?
"cannot enable secure sockets mode - no SASL library" "$LINENO" 5
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl" >&5
14652 $as_echo_n "checking for SSL_ImportFD in -lssl... " >&6; }
14653 if ${ac_cv_lib_ssl_SSL_ImportFD+:} false
; then :
14654 $as_echo_n "(cached) " >&6
14656 ac_check_lib_save_LIBS
=$LIBS
14658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14661 /* Override any GCC internal prototype to avoid an error.
14662 Use char because int might match the return type of a GCC
14663 builtin and then its argument prototype would still apply. */
14667 char SSL_ImportFD ();
14671 return SSL_ImportFD ();
14676 if ac_fn_c_try_link
"$LINENO"; then :
14677 ac_cv_lib_ssl_SSL_ImportFD
=yes
14679 ac_cv_lib_ssl_SSL_ImportFD
=no
14681 rm -f core conftest.err conftest.
$ac_objext \
14682 conftest
$ac_exeext conftest.
$ac_ext
14683 LIBS
=$ac_check_lib_save_LIBS
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ImportFD" >&5
14686 $as_echo "$ac_cv_lib_ssl_SSL_ImportFD" >&6; }
14687 if test "x$ac_cv_lib_ssl_SSL_ImportFD" = xyes
; then :
14688 lib_for_ssl
="-lssl"
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl3" >&5
14692 $as_echo_n "checking for SSL_ImportFD in -lssl3... " >&6; }
14693 if ${ac_cv_lib_ssl3_SSL_ImportFD+:} false
; then :
14694 $as_echo_n "(cached) " >&6
14696 ac_check_lib_save_LIBS
=$LIBS
14697 LIBS
="-lssl3 $LIBS"
14698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14707 char SSL_ImportFD ();
14711 return SSL_ImportFD ();
14716 if ac_fn_c_try_link
"$LINENO"; then :
14717 ac_cv_lib_ssl3_SSL_ImportFD
=yes
14719 ac_cv_lib_ssl3_SSL_ImportFD
=no
14721 rm -f core conftest.err conftest.
$ac_objext \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 LIBS
=$ac_check_lib_save_LIBS
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl3_SSL_ImportFD" >&5
14726 $as_echo "$ac_cv_lib_ssl3_SSL_ImportFD" >&6; }
14727 if test "x$ac_cv_lib_ssl3_SSL_ImportFD" = xyes
; then :
14728 lib_for_ssl
="-lssl3"
14731 enable_secure
=false
14732 if test "$do_secure" = "yes"
14734 as_fn_error $?
"cannot enable secure sockets mode - no SSL library" "$LINENO" 5
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss" >&5
14745 $as_echo_n "checking for NSS_Init in -lnss... " >&6; }
14746 if ${ac_cv_lib_nss_NSS_Init+:} false
; then :
14747 $as_echo_n "(cached) " >&6
14749 ac_check_lib_save_LIBS
=$LIBS
14751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14764 return NSS_Init ();
14769 if ac_fn_c_try_link
"$LINENO"; then :
14770 ac_cv_lib_nss_NSS_Init
=yes
14772 ac_cv_lib_nss_NSS_Init
=no
14774 rm -f core conftest.err conftest.
$ac_objext \
14775 conftest
$ac_exeext conftest.
$ac_ext
14776 LIBS
=$ac_check_lib_save_LIBS
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss_NSS_Init" >&5
14779 $as_echo "$ac_cv_lib_nss_NSS_Init" >&6; }
14780 if test "x$ac_cv_lib_nss_NSS_Init" = xyes
; then :
14781 lib_for_nss
="-lnss"
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss3" >&5
14785 $as_echo_n "checking for NSS_Init in -lnss3... " >&6; }
14786 if ${ac_cv_lib_nss3_NSS_Init+:} false
; then :
14787 $as_echo_n "(cached) " >&6
14789 ac_check_lib_save_LIBS
=$LIBS
14790 LIBS
="-lnss3 $LIBS"
14791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14804 return NSS_Init ();
14809 if ac_fn_c_try_link
"$LINENO"; then :
14810 ac_cv_lib_nss3_NSS_Init
=yes
14812 ac_cv_lib_nss3_NSS_Init
=no
14814 rm -f core conftest.err conftest.
$ac_objext \
14815 conftest
$ac_exeext conftest.
$ac_ext
14816 LIBS
=$ac_check_lib_save_LIBS
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Init" >&5
14819 $as_echo "$ac_cv_lib_nss3_NSS_Init" >&6; }
14820 if test "x$ac_cv_lib_nss3_NSS_Init" = xyes
; then :
14821 lib_for_nss
="-lnss3"
14824 enable_secure
=false
14825 if test "$do_secure" = "yes"
14827 as_fn_error $?
"cannot enable secure sockets mode - no NSS library" "$LINENO" 5
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr" >&5
14838 $as_echo_n "checking for PR_Init in -lnspr... " >&6; }
14839 if ${ac_cv_lib_nspr_PR_Init+:} false
; then :
14840 $as_echo_n "(cached) " >&6
14842 ac_check_lib_save_LIBS
=$LIBS
14843 LIBS
="-lnspr $LIBS"
14844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14847 /* Override any GCC internal prototype to avoid an error.
14848 Use char because int might match the return type of a GCC
14849 builtin and then its argument prototype would still apply. */
14862 if ac_fn_c_try_link
"$LINENO"; then :
14863 ac_cv_lib_nspr_PR_Init
=yes
14865 ac_cv_lib_nspr_PR_Init
=no
14867 rm -f core conftest.err conftest.
$ac_objext \
14868 conftest
$ac_exeext conftest.
$ac_ext
14869 LIBS
=$ac_check_lib_save_LIBS
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr_PR_Init" >&5
14872 $as_echo "$ac_cv_lib_nspr_PR_Init" >&6; }
14873 if test "x$ac_cv_lib_nspr_PR_Init" = xyes
; then :
14874 lib_for_nspr
="-lnspr"
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr4" >&5
14878 $as_echo_n "checking for PR_Init in -lnspr4... " >&6; }
14879 if ${ac_cv_lib_nspr4_PR_Init+:} false
; then :
14880 $as_echo_n "(cached) " >&6
14882 ac_check_lib_save_LIBS
=$LIBS
14883 LIBS
="-lnspr4 $LIBS"
14884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 /* Override any GCC internal prototype to avoid an error.
14888 Use char because int might match the return type of a GCC
14889 builtin and then its argument prototype would still apply. */
14902 if ac_fn_c_try_link
"$LINENO"; then :
14903 ac_cv_lib_nspr4_PR_Init
=yes
14905 ac_cv_lib_nspr4_PR_Init
=no
14907 rm -f core conftest.err conftest.
$ac_objext \
14908 conftest
$ac_exeext conftest.
$ac_ext
14909 LIBS
=$ac_check_lib_save_LIBS
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr4_PR_Init" >&5
14912 $as_echo "$ac_cv_lib_nspr4_PR_Init" >&6; }
14913 if test "x$ac_cv_lib_nspr4_PR_Init" = xyes
; then :
14914 lib_for_nspr
="-lnspr4"
14917 enable_secure
=false
14918 if test "$do_secure" = "yes"
14920 as_fn_error $?
"cannot enable secure sockets mode - no NSPR library" "$LINENO" 5
14930 if test "$enable_secure" = "true"
14933 $as_echo "#define HAVE_SECURE_SOCKETS 1" >>confdefs.h
14938 CPPFLAGS
="$saved_CPPFLAGS"
14939 CFLAGS
="$saved_CFLAGS"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add_4 in -latomic" >&5
14943 $as_echo_n "checking for __atomic_fetch_add_4 in -latomic... " >&6; }
14944 if ${ac_cv_lib_atomic___atomic_fetch_add_4+:} false
; then :
14945 $as_echo_n "(cached) " >&6
14947 ac_check_lib_save_LIBS
=$LIBS
14948 LIBS
="-latomic $LIBS"
14949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14958 char __atomic_fetch_add_4 ();
14962 return __atomic_fetch_add_4 ();
14967 if ac_fn_c_try_link
"$LINENO"; then :
14968 ac_cv_lib_atomic___atomic_fetch_add_4
=yes
14970 ac_cv_lib_atomic___atomic_fetch_add_4
=no
14972 rm -f core conftest.err conftest.
$ac_objext \
14973 conftest
$ac_exeext conftest.
$ac_ext
14974 LIBS
=$ac_check_lib_save_LIBS
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_fetch_add_4" >&5
14977 $as_echo "$ac_cv_lib_atomic___atomic_fetch_add_4" >&6; }
14978 if test "x$ac_cv_lib_atomic___atomic_fetch_add_4" = xyes
; then :
14979 lib_for_atomic
="-latomic"
14984 if test -f /usr
/include
/sn
/arsess.h
14986 pcp_mpi_dirs
=libpcp_mpi\ libpcp_mpiread
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_un in sys/un.h" >&5
14993 $as_echo_n "checking for struct sockaddr_un in sys/un.h... " >&6; }
14994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14997 #include <sys/types.h>
14998 #ifdef HAVE_SYS_SOCKET_H
14999 #include <sys/socket.h>
15001 #ifdef HAVE_SYS_UN_H
15002 #include <sys/un.h>
15008 struct sockaddr_un sa; sa.sun_family = AF_UNIX;
15013 if ac_fn_c_try_compile
"$LINENO"; then :
15015 $as_echo "#define HAVE_STRUCT_SOCKADDR_UN 1" >>confdefs.h
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15017 $as_echo "yes" >&6; }
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15020 $as_echo "no" >&6; }
15022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ucred in sys/socket.h" >&5
15025 $as_echo_n "checking for struct ucred in sys/socket.h... " >&6; }
15026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15029 #include <sys/types.h>
15030 #ifdef HAVE_SYS_SOCKET_H
15031 #include <sys/socket.h>
15033 #ifdef HAVE_SYS_UN_H
15034 #include <sys/un.h>
15040 struct ucred ucred; ucred.uid = 0;
15045 if ac_fn_c_try_compile
"$LINENO"; then :
15047 $as_echo "#define HAVE_STRUCT_UCRED 1" >>confdefs.h
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15049 $as_echo "yes" >&6; }
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15052 $as_echo "no" >&6; }
15054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in time.h" >&5
15057 $as_echo_n "checking for struct timespec in time.h... " >&6; }
15058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15066 struct timespec foo;
15071 if ac_fn_c_try_compile
"$LINENO"; then :
15073 $as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15075 $as_echo "yes" >&6; }
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15078 $as_echo "no" >&6; }
15080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for altzone in time.h" >&5
15083 $as_echo_n "checking for altzone in time.h... " >&6; }
15084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15092 time_t az = altzone;
15097 if ac_fn_c_try_compile
"$LINENO"; then :
15099 $as_echo "#define HAVE_ALTZONE 1" >>confdefs.h
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15101 $as_echo "yes" >&6; }
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15104 $as_echo "no" >&6; }
15106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strftime knows about %z" >&5
15109 $as_echo_n "checking if strftime knows about %z... " >&6; }
15110 if test "$cross_compiling" = yes; then :
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15112 $as_echo "no" >&6; }
15114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15115 /* end confdefs.h. */
15120 time_t t = time(NULL);
15121 struct tm * t1 = localtime (&t);
15122 if (strftime (b, 32, "%z", t1) < 3)
15124 if (strcmp(b, "%z") == 0)
15130 if ac_fn_c_try_run
"$LINENO"; then :
15132 $as_echo "#define HAVE_STRFTIME_z 1" >>confdefs.h
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15134 $as_echo "yes" >&6; }
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15137 $as_echo "no" >&6; }
15139 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15140 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r returns char *" >&5
15145 $as_echo_n "checking if strerror_r returns char *... " >&6; }
15146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15147 /* end confdefs.h. */
15148 #include <string.h>
15152 strerror_r(0, NULL, 0)[0];
15157 if ac_fn_c_try_compile
"$LINENO"; then :
15159 $as_echo "#define HAVE_STRERROR_R_PTR 1" >>confdefs.h
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15161 $as_echo "yes" >&6; }
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15164 $as_echo "no" >&6; }
15166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15172 ac_fn_c_check_func
"$LINENO" "readline" "ac_cv_func_readline"
15173 if test "x$ac_cv_func_readline" = xyes
; then :
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
15178 $as_echo_n "checking for readline in -lreadline... " >&6; }
15179 if ${ac_cv_lib_readline_readline+:} false
; then :
15180 $as_echo_n "(cached) " >&6
15182 ac_check_lib_save_LIBS
=$LIBS
15183 LIBS
="-lreadline $LIBS"
15184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15197 return readline ();
15202 if ac_fn_c_try_link
"$LINENO"; then :
15203 ac_cv_lib_readline_readline
=yes
15205 ac_cv_lib_readline_readline
=no
15207 rm -f core conftest.err conftest.
$ac_objext \
15208 conftest
$ac_exeext conftest.
$ac_ext
15209 LIBS
=$ac_check_lib_save_LIBS
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
15212 $as_echo "$ac_cv_lib_readline_readline" >&6; }
15213 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
15214 cat >>confdefs.h
<<_ACEOF
15215 #define HAVE_LIBREADLINE 1
15218 LIBS
="-lreadline $LIBS"
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5
15223 $as_echo_n "checking for add_history in -lreadline... " >&6; }
15224 if ${ac_cv_lib_readline_add_history+:} false
; then :
15225 $as_echo_n "(cached) " >&6
15227 ac_check_lib_save_LIBS
=$LIBS
15228 LIBS
="-lreadline -lcurses $LIBS"
15229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15232 /* Override any GCC internal prototype to avoid an error.
15233 Use char because int might match the return type of a GCC
15234 builtin and then its argument prototype would still apply. */
15238 char add_history ();
15242 return add_history ();
15247 if ac_fn_c_try_link
"$LINENO"; then :
15248 ac_cv_lib_readline_add_history
=yes
15250 ac_cv_lib_readline_add_history
=no
15252 rm -f core conftest.err conftest.
$ac_objext \
15253 conftest
$ac_exeext conftest.
$ac_ext
15254 LIBS
=$ac_check_lib_save_LIBS
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5
15257 $as_echo "$ac_cv_lib_readline_add_history" >&6; }
15258 if test "x$ac_cv_lib_readline_add_history" = xyes
; then :
15259 cat >>confdefs.h
<<_ACEOF
15260 #define HAVE_LIBREADLINE 1
15263 LIBS
="-lreadline $LIBS"
15273 if test $ac_cv_func_readline = yes
15276 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15278 elif test $ac_cv_lib_readline_readline = yes
15281 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15283 lib_for_readline
=-lreadline
15284 elif test $ac_cv_lib_readline_add_history = yes
15287 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15289 lib_for_curses
=-lcurses
15290 lib_for_readline
=-lreadline
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
15299 $as_echo_n "checking for zlib... " >&6; }
15301 if test -n "$zlib_CFLAGS"; then
15302 pkg_cv_zlib_CFLAGS
="$zlib_CFLAGS"
15303 elif test -n "$PKG_CONFIG"; then
15304 if test -n "$PKG_CONFIG" && \
15305 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5
15306 ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5
15308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15309 test $ac_status = 0; }; then
15310 pkg_cv_zlib_CFLAGS
=`$PKG_CONFIG --cflags "zlib >= 1.0.0" 2>/dev/null`
15311 test "x$?" != "x0" && pkg_failed
=yes
15318 if test -n "$zlib_LIBS"; then
15319 pkg_cv_zlib_LIBS
="$zlib_LIBS"
15320 elif test -n "$PKG_CONFIG"; then
15321 if test -n "$PKG_CONFIG" && \
15322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5
15323 ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5
15325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15326 test $ac_status = 0; }; then
15327 pkg_cv_zlib_LIBS
=`$PKG_CONFIG --libs "zlib >= 1.0.0" 2>/dev/null`
15328 test "x$?" != "x0" && pkg_failed
=yes
15338 if test $pkg_failed = yes; then
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15340 $as_echo "no" >&6; }
15342 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15343 _pkg_short_errors_supported
=yes
15345 _pkg_short_errors_supported
=no
15347 if test $_pkg_short_errors_supported = yes; then
15348 zlib_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1`
15350 zlib_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1`
15352 # Put the nasty error message in config.log where it belongs
15353 echo "$zlib_PKG_ERRORS" >&5
15356 elif test $pkg_failed = untried
; then
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15358 $as_echo "no" >&6; }
15361 zlib_CFLAGS
=$pkg_cv_zlib_CFLAGS
15362 zlib_LIBS
=$pkg_cv_zlib_LIBS
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15364 $as_echo "yes" >&6; }
15367 HAVE_ZLIB
=$have_zlib
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AI_ADDRCONFIG" >&5
15371 $as_echo_n "checking for AI_ADDRCONFIG... " >&6; }
15372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15376 int test = AI_ADDRCONFIG;
15387 if ac_fn_c_try_compile
"$LINENO"; then :
15389 $as_echo "#define HAVE_AI_ADDRCONFIG 1" >>confdefs.h
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15391 $as_echo "yes" >&6; }
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15394 $as_echo "no" >&6; }
15396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15400 if test -f .
/build
/tar
/parfait.
tar.gz
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: adding Parfait package to the build" >&5
15403 $as_echo "$as_me: adding Parfait package to the build" >&6;}
15409 if test -f .
/build
/tar
/vector.
tar.gz
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: adding Vector webapp to the build" >&5
15412 $as_echo "$as_me: adding Vector webapp to the build" >&6;}
15418 if test -f .
/build
/tar
/webjs.
tar.gz
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: adding webjs webapps to the build" >&5
15421 $as_echo "$as_me: adding webjs webapps to the build" >&6;}
15429 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"
15431 cat >confcache
<<\_ACEOF
15432 # This file is a shell script that caches the results of configure
15433 # tests run on this system so they can be shared between configure
15434 # scripts and configure runs, see configure's option --config-cache.
15435 # It is not useful on other systems. If it contains results you don't
15436 # want to keep, you may remove or edit it.
15438 # config.status only pays attention to the cache file if you give it
15439 # the --recheck option to rerun configure.
15441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15443 # following values.
15447 # The following way of writing the cache mishandles newlines in values,
15448 # but we know of no workaround that is simple, portable, and efficient.
15449 # So, we kill variables containing newlines.
15450 # Ultrix sh set writes to stderr and can't be redirected directly,
15451 # and sets the high bit in the cache file unless we assign to the vars.
15453 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15454 eval ac_val
=\$
$ac_var
15458 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15459 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15462 _ | IFS | as_nl
) ;; #(
15463 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15464 *) { eval $ac_var=; unset $ac_var;} ;;
15470 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15471 *${as_nl}ac_space
=\
*)
15472 # `set' does not quote correctly, so add quotes: double-quote
15473 # substitution turns \\\\ into \\, and sed turns \\ into \.
15476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15479 # `set' quotes correctly as required by POSIX, so do not add quotes.
15480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15489 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15491 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15493 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15494 if test -w "$cache_file"; then
15495 if test "x$cache_file" != "x/dev/null"; then
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15497 $as_echo "$as_me: updating cache $cache_file" >&6;}
15498 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15499 cat confcache
>"$cache_file"
15501 case $cache_file in #(
15503 mv -f confcache
"$cache_file"$$
&&
15504 mv -f "$cache_file"$$
"$cache_file" ;; #(
15506 mv -f confcache
"$cache_file" ;;
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15512 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15517 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15518 # Let make expand exec_prefix.
15519 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15521 DEFS
=-DHAVE_CONFIG_H
15526 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15527 # 1. Remove the extension, and $U if already installed.
15528 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15529 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15530 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15531 # will be set to the directory where LIBOBJS objects are built.
15532 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15533 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15535 LIBOBJS
=$ac_libobjs
15537 LTLIBOBJS
=$ac_ltlibobjs
15541 : "${CONFIG_STATUS=./config.status}"
15543 ac_clean_files_save
=$ac_clean_files
15544 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15546 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15548 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15550 # Generated by $as_me.
15551 # Run this file to recreate the current configuration.
15552 # Compiler output produced by configure, useful for debugging
15553 # configure, is in config.log if it exists.
15556 ac_cs_recheck=false
15559 SHELL=\${CONFIG_SHELL-$SHELL}
15562 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15563 ## -------------------- ##
15564 ## M4sh Initialization. ##
15565 ## -------------------- ##
15567 # Be more Bourne compatible
15568 DUALCASE
=1; export DUALCASE
# for MKS sh
15569 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15572 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15573 # is contrary to our usage. Disable this feature.
15574 alias -g '${1+"$@"}'='"$@"'
15575 setopt NO_GLOB_SUBST
15577 case `(set -o) 2>/dev/null` in #(
15589 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15590 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15591 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15592 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15593 # Prefer a ksh shell builtin over an external printf program on Solaris,
15594 # but without wasting forks for bash or zsh.
15595 if test -z "$BASH_VERSION$ZSH_VERSION" \
15596 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15597 as_echo='print
-r --'
15598 as_echo_n='print
-rn --'
15599 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15600 as_echo='printf %s
\n'
15601 as_echo_n='printf %s
'
15603 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15604 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15605 as_echo_n='/usr
/ucb
/echo -n'
15607 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15608 as_echo_n_body='eval
15612 expr "X$arg" : "X\\(.*\\)$as_nl";
15613 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15615 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15617 export as_echo_n_body
15618 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15620 export as_echo_body
15621 as_echo='sh
-c $as_echo_body as_echo
'
15624 # The user is always right.
15625 if test "${PATH_SEPARATOR+set}" != set; then
15627 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15628 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15635 # We need space, tab and new line, in precisely that order. Quoting is
15636 # there to prevent editors from complaining about space-tab.
15637 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15638 # splitting by setting IFS to empty value.)
15641 # Find who we are. Look in the path if we contain no directory separator.
15644 *[\\/]* ) as_myself=$0 ;;
15645 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15646 for as_dir in $PATH
15649 test -z "$as_dir" && as_dir=.
15650 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15656 # We did not find ourselves, most probably we were run as `sh COMMAND'
15657 # in which case we are not to be found in the path.
15658 if test "x$as_myself" = x
; then
15661 if test ! -f "$as_myself"; then
15662 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15666 # Unset variables that we do not need and which cause bugs (e.g. in
15667 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15668 # suppresses any "Segmentation fault" message there. '((' could
15669 # trigger a bug in pdksh 5.2.14.
15670 for as_var
in BASH_ENV ENV MAIL MAILPATH
15671 do eval test x\
${$as_var+set} = xset \
15672 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15685 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15688 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15689 # ----------------------------------------
15690 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15691 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15692 # script with STATUS, using 1 if that was 0.
15695 as_status
=$1; test $as_status -eq 0 && as_status
=1
15697 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15698 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15700 $as_echo "$as_me: error: $2" >&2
15701 as_fn_exit
$as_status
15705 # as_fn_set_status STATUS
15706 # -----------------------
15707 # Set $? to STATUS, without forking.
15708 as_fn_set_status
()
15711 } # as_fn_set_status
15713 # as_fn_exit STATUS
15714 # -----------------
15715 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15719 as_fn_set_status
$1
15725 # Portably unset VAR.
15728 { eval $1=; unset $1;}
15730 as_unset
=as_fn_unset
15731 # as_fn_append VAR VALUE
15732 # ----------------------
15733 # Append the text in VALUE to the end of the definition contained in VAR. Take
15734 # advantage of any shell optimizations that allow amortized linear growth over
15735 # repeated appends, instead of the typical quadratic growth present in naive
15737 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15738 eval 'as_fn_append ()
15749 # as_fn_arith ARG...
15750 # ------------------
15751 # Perform arithmetic evaluation on the ARGs, and store the result in the
15752 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15753 # must be portable across $(()) and expr.
15754 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15755 eval 'as_fn_arith ()
15762 as_val
=`expr "$@" || test $? -eq 1`
15767 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15768 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15774 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15775 as_basename
=basename
15780 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15786 as_me
=`$as_basename -- "$0" ||
15787 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15788 X"$0" : 'X\(//\)$' \| \
15789 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15791 sed '/^.*\/\([^/][^/]*\)\/*$/{
15805 # Avoid depending upon Character Ranges.
15806 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15807 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15808 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15809 as_cr_digits
='0123456789'
15810 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15812 ECHO_C
= ECHO_N
= ECHO_T
=
15813 case `echo -n x` in #(((((
15815 case `echo 'xy\c'` in
15816 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15818 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15825 rm -f conf$$ conf$$.exe conf$$.
file
15826 if test -d conf$$.dir
; then
15827 rm -f conf$$.dir
/conf$$.
file
15830 mkdir conf$$.dir
2>/dev
/null
15832 if (echo >conf$$.
file) 2>/dev
/null
; then
15833 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15835 # ... but there are two gotchas:
15836 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15837 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15838 # In both cases, we have to default to `cp -pR'.
15839 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15841 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15849 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15850 rmdir conf$$.dir
2>/dev
/null
15855 # Create "$as_dir" as a directory, including parents if necessary.
15860 -*) as_dir
=.
/$as_dir;;
15862 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15866 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15867 *) as_qdir
=$as_dir;;
15869 as_dirs
="'$as_qdir' $as_dirs"
15870 as_dir
=`$as_dirname -- "$as_dir" ||
15871 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15872 X"$as_dir" : 'X\(//\)[^/]' \| \
15873 X"$as_dir" : 'X\(//\)$' \| \
15874 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15875 $as_echo X"$as_dir" |
15876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15880 /^X\(\/\/\)[^/].*/{
15893 test -d "$as_dir" && break
15895 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15896 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15900 if mkdir
-p .
2>/dev
/null
; then
15901 as_mkdir_p
='mkdir -p "$as_dir"'
15903 test -d .
/-p && rmdir .
/-p
15908 # as_fn_executable_p FILE
15909 # -----------------------
15910 # Test if FILE is an executable regular file.
15911 as_fn_executable_p
()
15913 test -f "$1" && test -x "$1"
15914 } # as_fn_executable_p
15915 as_test_x
='test -x'
15916 as_executable_p
=as_fn_executable_p
15918 # Sed expression to map a string onto a valid CPP name.
15919 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15921 # Sed expression to map a string onto a valid variable name.
15922 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15926 ## ----------------------------------- ##
15927 ## Main body of $CONFIG_STATUS script. ##
15928 ## ----------------------------------- ##
15930 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15933 # Save the log message, to keep $0 and so on meaningful, and to
15934 # report actual input values of CONFIG_FILES etc. instead of their
15935 # values after options handling.
15937 This file was extended by $as_me, which was
15938 generated by GNU Autoconf 2.69. Invocation command line was
15940 CONFIG_FILES = $CONFIG_FILES
15941 CONFIG_HEADERS = $CONFIG_HEADERS
15942 CONFIG_LINKS = $CONFIG_LINKS
15943 CONFIG_COMMANDS = $CONFIG_COMMANDS
15946 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15951 case $ac_config_files in *"
15952 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15955 case $ac_config_headers in *"
15956 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15961 # Files that config.status was made for.
15962 config_files="$ac_config_files"
15963 config_headers="$ac_config_headers"
15967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15969 \`$as_me' instantiates files and other configuration actions
15970 from templates according to the current configuration. Unless the files
15971 and actions are specified as TAGs, all are instantiated by default.
15973 Usage: $0 [OPTION]... [TAG]...
15975 -h, --help print this help, then exit
15976 -V, --version print version number and configuration settings, then exit
15977 --config print configuration, then exit
15978 -q, --quiet, --silent
15979 do not print progress messages
15980 -d, --debug don't remove temporary files
15981 --recheck update $as_me by reconfiguring in the same conditions
15982 --file=FILE[:TEMPLATE]
15983 instantiate the configuration file FILE
15984 --header=FILE[:TEMPLATE]
15985 instantiate the configuration header FILE
15987 Configuration files:
15990 Configuration headers:
15993 Report bugs to the package provider."
15996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15997 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16000 configured by $0, generated by GNU Autoconf 2.69,
16001 with options \\"\$ac_cs_config\\"
16003 Copyright (C) 2012 Free Software Foundation, Inc.
16004 This config.status script is free software; the Free Software Foundation
16005 gives unlimited permission to copy, distribute and modify it."
16009 test -n "\$AWK" || AWK=awk
16012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16013 # The default lists apply if the user does not specify any file.
16019 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16020 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16024 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16036 # Handling of the options.
16037 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16039 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16040 $as_echo "$ac_cs_version"; exit ;;
16041 --config |
--confi |
--conf |
--con |
--co |
--c )
16042 $as_echo "$ac_cs_config"; exit ;;
16043 --debug |
--debu |
--deb |
--de |
--d |
-d )
16045 --file |
--fil |
--fi |
--f )
16048 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16049 '') as_fn_error $?
"missing file argument" ;;
16051 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16052 ac_need_defaults
=false
;;
16053 --header |
--heade |
--head |
--hea )
16056 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16058 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16059 ac_need_defaults
=false
;;
16061 # Conflict between --help and --header
16062 as_fn_error $?
"ambiguous option: \`$1'
16063 Try \`$0 --help' for more information.";;
16064 --help |
--hel |
-h )
16065 $as_echo "$ac_cs_usage"; exit ;;
16066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16067 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16070 # This is an error.
16071 -*) as_fn_error $?
"unrecognized option: \`$1'
16072 Try \`$0 --help' for more information." ;;
16074 *) as_fn_append ac_config_targets
" $1"
16075 ac_need_defaults
=false
;;
16081 ac_configure_extra_args
=
16083 if $ac_cs_silent; then
16085 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16090 if \$ac_cs_recheck; then
16091 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16093 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16094 CONFIG_SHELL='$SHELL'
16095 export CONFIG_SHELL
16100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16104 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16105 ## Running $as_me. ##
16111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16116 # Handling of arguments.
16117 for ac_config_target
in $ac_config_targets
16119 case $ac_config_target in
16120 "src/include/pcp/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/config.h" ;;
16121 "src/include/pcp/configsz.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/configsz.h" ;;
16122 "src/include/pcp/platform_defs.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platform_defs.h" ;;
16123 "src/include/pcp/platformsz.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platformsz.h" ;;
16124 "src/include/builddefs") CONFIG_FILES
="$CONFIG_FILES src/include/builddefs" ;;
16125 "src/include/pcp.conf") CONFIG_FILES
="$CONFIG_FILES src/include/pcp.conf" ;;
16126 "pcp.lsm") CONFIG_FILES
="$CONFIG_FILES pcp.lsm" ;;
16127 "debian/pcp.preinst.head") CONFIG_FILES
="$CONFIG_FILES debian/pcp.preinst.head" ;;
16128 "debian/pcp.postinst.head") CONFIG_FILES
="$CONFIG_FILES debian/pcp.postinst.head" ;;
16129 "build/tar/preinstall.head") CONFIG_FILES
="$CONFIG_FILES build/tar/preinstall.head" ;;
16130 "build/tar/postinstall.head") CONFIG_FILES
="$CONFIG_FILES build/tar/postinstall.head" ;;
16131 "build/GNUlocaldefs") CONFIG_FILES
="$CONFIG_FILES build/GNUlocaldefs" ;;
16132 "build/mac/uninstall-pcp") CONFIG_FILES
="$CONFIG_FILES build/mac/uninstall-pcp" ;;
16134 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16139 # If the user did not use the arguments to specify the items to instantiate,
16140 # then the envvar interface is used. Set only those that are not.
16141 # We use the long form for the default assignment because of an extremely
16142 # bizarre bug on SunOS 4.1.3.
16143 if $ac_need_defaults; then
16144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16145 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16148 # Have a temporary directory for convenience. Make it in the build tree
16149 # simply because there is no reason against having it here, and in addition,
16150 # creating and moving files from /tmp can sometimes cause problems.
16151 # Hook for its removal unless debugging.
16152 # Note that there is a small window in which the directory will not be cleaned:
16153 # after its creation but before its name has been assigned to `$tmp'.
16157 trap 'exit_status=$?
16158 : "${ac_tmp:=$tmp}"
16159 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16161 trap 'as_fn_exit 1' 1 2 13 15
16163 # Create a (secure) tmp directory for tmp files.
16166 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16170 tmp
=.
/conf$$
-$RANDOM
16171 (umask 077 && mkdir
"$tmp")
16172 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16175 # Set up the scripts for CONFIG_FILES section.
16176 # No need to generate them if there are no CONFIG_FILES.
16177 # This happens for instance with `./config.status config.h'.
16178 if test -n "$CONFIG_FILES"; then
16181 ac_cr
=`echo X | tr X '\015'`
16182 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16183 # But we know of no other shell where ac_cr would be empty at this
16184 # point, so we can use a bashism as a fallback.
16185 if test "x$ac_cr" = x
; then
16186 eval ac_cr
=\$
\'\\r
\'
16188 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16189 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16192 ac_cs_awk_cr
=$ac_cr
16195 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16200 echo "cat >conf$$subs.awk <<_ACEOF" &&
16201 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16203 } >conf$$subs.sh ||
16204 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16205 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16207 for ac_last_try in false false false false false :; do
16208 . ./conf$$subs.sh ||
16209 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16211 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16212 if test $ac_delim_n = $ac_delim_num; then
16214 elif $ac_last_try; then
16215 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16217 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16220 rm -f conf$$subs.sh
16222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16223 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16227 s/^/S["/; s
/!.
*/"]=/
16237 s/\(.\{148\}\)..*/\1/
16239 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16244 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16251 s/\(.\{148\}\)..*/\1/
16253 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16257 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16262 ' <conf$$subs.awk | sed '
16267 ' >>$CONFIG_STATUS || ac_write_fail=1
16268 rm -f conf$$subs.awk
16269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16271 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16272 for (key in S) S_is_set[key] = 1
16278 nfields = split(line, field, "@
")
16280 len = length(field[1])
16281 for (i = 2; i < nfields; i++) {
16283 keylen = length(key)
16284 if (S_is_set[key]) {
16286 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16287 len += length(value) + length(field[++i])
16298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16299 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16300 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16303 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16304 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16307 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16308 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16309 # trailing colons and then remove the whole line if VPATH becomes empty
16310 # (actually we leave an empty line to preserve line numbers).
16311 if test "x
$srcdir" = x.; then
16312 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16331 fi # test -n "$CONFIG_FILES"
16333 # Set up the scripts for CONFIG_HEADERS section.
16334 # No need to generate them if there are no CONFIG_HEADERS.
16335 # This happens for instance with `./config.status Makefile'.
16336 if test -n "$CONFIG_HEADERS"; then
16337 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16341 # Transform confdefs.h into an awk script `defines.awk', embedded as
16342 # here-document in config.status, that substitutes the proper values into
16343 # config.h.in to produce config.h.
16345 # Create a delimiter string that does not exist in confdefs.h, to ease
16346 # handling of long lines.
16348 for ac_last_try in false false :; do
16349 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16350 if test -z "$ac_tt"; then
16352 elif $ac_last_try; then
16353 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16355 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16359 # For the awk script, D is an array of macro values keyed by name,
16360 # likewise P contains macro parameters if any. Preserve backslash
16361 # newline sequences.
16363 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16365 s/.\{148\}/&'"$ac_delim"'/g
16368 s/^[ ]*#[ ]*define[ ][ ]*/ /
16375 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16377 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16381 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16382 D["\
1"]=" \
3\\\\\\n
"\\/p
16384 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16389 s/.\{148\}/&'"$ac_delim"'/g
16394 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16397 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16399 ' <confdefs.h | sed '
16400 s/'"$ac_delim"'/"\\\
16401 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16404 for (key in D) D_is_set[key] = 1
16407 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16409 split(line, arg, " ")
16410 if (arg[1] == "#") {
16414 defundef
= substr
(arg
[1], 2)
16417 split(mac1
, mac2
, "(") #)
16419 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16420 if (D_is_set
[macro
]) {
16421 # Preserve the white space surrounding the "#".
16422 print prefix
"define", macro P
[macro
] D
[macro
]
16425 # Replace #undef with comments. This is necessary, for example,
16426 # in the case of _POSIX_SOURCE, which is predefined and required
16427 # on some systems where configure will not decide to define it.
16428 if (defundef
== "undef") {
16429 print
"/*", prefix defundef
, macro
, "*/"
16437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16438 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16439 fi # test -n "$CONFIG_HEADERS"
16442 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16447 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16449 case $ac_mode$ac_tag in
16451 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16452 :[FH
]-) ac_tag
=-:-;;
16453 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16470 -) ac_f
="$ac_tmp/stdin";;
16471 *) # Look for the file first in the build tree, then in the source tree
16472 # (if the path is not absolute). The absolute path cannot be DOS-style,
16473 # because $ac_f cannot contain `:'.
16477 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16479 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16481 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16482 as_fn_append ac_file_inputs
" '$ac_f'"
16485 # Let's still pretend it is `configure' which instantiates (i.e., don't
16486 # use $as_me), people would be surprised to read:
16487 # /* config.h. Generated by config.status. */
16488 configure_input
='Generated from '`
16489 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16491 if test x
"$ac_file" != x-
; then
16492 configure_input
="$ac_file. $configure_input"
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16494 $as_echo "$as_me: creating $ac_file" >&6;}
16496 # Neutralize special characters interpreted by sed in replacement strings.
16497 case $configure_input in #(
16498 *\
&* |
*\|
* |
*\\* )
16499 ac_sed_conf_input
=`$as_echo "$configure_input" |
16500 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16501 *) ac_sed_conf_input
=$configure_input;;
16505 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16506 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16511 ac_dir
=`$as_dirname -- "$ac_file" ||
16512 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16513 X"$ac_file" : 'X\(//\)[^/]' \| \
16514 X"$ac_file" : 'X\(//\)$' \| \
16515 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16516 $as_echo X"$ac_file" |
16517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16521 /^X\(\/\/\)[^/].*/{
16534 as_dir
="$ac_dir"; as_fn_mkdir_p
16538 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16540 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16541 # A ".." for each directory in $ac_dir_suffix.
16542 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16543 case $ac_top_builddir_sub in
16544 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16545 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16548 ac_abs_top_builddir
=$ac_pwd
16549 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16550 # for backward compatibility:
16551 ac_top_builddir
=$ac_top_build_prefix
16554 .
) # We are building in place.
16556 ac_top_srcdir
=$ac_top_builddir_sub
16557 ac_abs_top_srcdir
=$ac_pwd ;;
16558 [\\/]* | ?
:[\\/]* ) # Absolute name.
16559 ac_srcdir
=$srcdir$ac_dir_suffix;
16560 ac_top_srcdir
=$srcdir
16561 ac_abs_top_srcdir
=$srcdir ;;
16562 *) # Relative name.
16563 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16564 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16565 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16567 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16579 # If the template does not know about datarootdir, expand it.
16580 # FIXME: This hack should be removed a few years after 2.60.
16581 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16592 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16593 *datarootdir
*) ac_datarootdir_seen
=yes;;
16594 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16596 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16599 ac_datarootdir_hack='
16600 s&@datadir@&$datadir&g
16601 s&@docdir@&$docdir&g
16602 s&@infodir@&$infodir&g
16603 s&@localedir@&$localedir&g
16604 s&@mandir@&$mandir&g
16605 s&\\\${datarootdir}&$datarootdir&g' ;;
16609 # Neutralize VPATH when `$srcdir' = `.'.
16610 # Shell code in configure.ac might set extrasub.
16611 # FIXME: do we really want to maintain this feature?
16612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16613 ac_sed_extra="$ac_vpsub
16616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16618 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16619 s|@configure_input@|
$ac_sed_conf_input|
;t t
16620 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16621 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16622 s
&@srcdir@
&$ac_srcdir&;t t
16623 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16624 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16625 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16626 s
&@builddir@
&$ac_builddir&;t t
16627 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16628 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16629 $ac_datarootdir_hack
16631 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16632 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16634 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16635 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16636 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16637 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16639 which seems to be undefined. Please make sure it is defined" >&5
16640 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16641 which seems to be undefined. Please make sure it is defined" >&2;}
16643 rm -f "$ac_tmp/stdin"
16645 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16646 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16654 if test x"$ac_file" != x-; then
16656 $as_echo "/* $configure_input */" \
16657 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16658 } >"$ac_tmp/config.h" \
16659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16660 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16662 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16665 mv "$ac_tmp/config.h" "$ac_file" \
16666 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16669 $as_echo "/* $configure_input */" \
16670 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16671 || as_fn_error $? "could not create -" "$LINENO" 5
16683 ac_clean_files=$ac_clean_files_save
16685 test $ac_write_fail = 0 ||
16686 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16689 # configure is writing to config.log, and then calls config.status.
16690 # config.status does its own redirection, appending to config.log.
16691 # Unfortunately, on DOS this fails, as config.log is still kept open
16692 # by configure, so config.status won't be able to
write to it
; its
16693 # output is simply discarded. So we exec the FD to /dev/null,
16694 # effectively closing config.log, so it can be properly (re)opened and
16695 # appended to by config.status. When coming back to configure, we
16696 # need to make the FD available again.
16697 if test "$no_create" != yes; then
16699 ac_config_status_args
=
16700 test "$silent" = yes &&
16701 ac_config_status_args
="$ac_config_status_args --quiet"
16703 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16705 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16706 # would make configure fail if this is the last instruction.
16707 $ac_cs_success || as_fn_exit
1
16709 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16711 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}