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
803 have_python_jsonpointer
822 SYSTEMD_SYSTEMUNITDIR
922 program_transform_name
935 enable_option_checking
968 with_perl_installdirs
969 with_perl_install_base
980 ac_precious_vars
='build_alias
999 SYSTEMD_SYSTEMUNITDIR
1006 libmicrohttpd_CFLAGS
1015 # Initialize some variables set by options.
1017 ac_init_version
=false
1018 ac_unrecognized_opts
=
1019 ac_unrecognized_sep
=
1020 # The variables have the same names as the options, with
1021 # dashes changed to underlines.
1022 cache_file
=/dev
/null
1029 program_transform_name
=s
,x
,x
,
1037 # Installation directory options.
1038 # These are left unexpanded so users can "make install exec_prefix=/foo"
1039 # and all the variables that are supposed to be based on exec_prefix
1040 # by default will actually change.
1041 # Use braces instead of parens because sh, perl, etc. also accept them.
1042 # (The list follows the same order as the GNU Coding Standards.)
1043 bindir
='${exec_prefix}/bin'
1044 sbindir
='${exec_prefix}/sbin'
1045 libexecdir
='${exec_prefix}/libexec'
1046 datarootdir
='${prefix}/share'
1047 datadir
='${datarootdir}'
1048 sysconfdir
='${prefix}/etc'
1049 sharedstatedir
='${prefix}/com'
1050 localstatedir
='${prefix}/var'
1051 includedir
='${prefix}/include'
1052 oldincludedir
='/usr/include'
1053 docdir
='${datarootdir}/doc/${PACKAGE}'
1054 infodir
='${datarootdir}/info'
1059 libdir
='${exec_prefix}/lib'
1060 localedir
='${datarootdir}/locale'
1061 mandir
='${datarootdir}/man'
1067 # If the previous option needs an argument, assign it.
1068 if test -n "$ac_prev"; then
1069 eval $ac_prev=\
$ac_option
1075 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1080 # Accept the important Cygnus configure options, so we can diagnose typos.
1082 case $ac_dashdash$ac_option in
1086 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1088 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1089 bindir
=$ac_optarg ;;
1091 -build |
--build |
--buil |
--bui |
--bu)
1092 ac_prev
=build_alias
;;
1093 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1094 build_alias
=$ac_optarg ;;
1096 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1097 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1098 ac_prev
=cache_file
;;
1099 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1100 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1101 cache_file
=$ac_optarg ;;
1103 --config-cache |
-C)
1104 cache_file
=config.cache
;;
1106 -datadir |
--datadir |
--datadi |
--datad)
1108 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1109 datadir
=$ac_optarg ;;
1111 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1112 |
--dataroo |
--dataro |
--datar)
1113 ac_prev
=datarootdir
;;
1114 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1115 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1116 datarootdir
=$ac_optarg ;;
1118 -disable-* |
--disable-*)
1119 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1122 as_fn_error $?
"invalid feature name: $ac_useropt"
1123 ac_useropt_orig
=$ac_useropt
1124 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "enable_
$ac_useropt"
1129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1130 ac_unrecognized_sep
=', ';;
1132 eval enable_
$ac_useropt=no
;;
1134 -docdir |
--docdir |
--docdi |
--doc |
--do)
1136 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1137 docdir
=$ac_optarg ;;
1139 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1141 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1142 dvidir
=$ac_optarg ;;
1144 -enable-* |
--enable-*)
1145 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1148 as_fn_error $?
"invalid feature name: $ac_useropt"
1149 ac_useropt_orig
=$ac_useropt
1150 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1151 case $ac_user_opts in
1153 "enable_
$ac_useropt"
1155 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1156 ac_unrecognized_sep
=', ';;
1158 eval enable_
$ac_useropt=\
$ac_optarg ;;
1160 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1161 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1162 |
--exec |
--exe |
--ex)
1163 ac_prev
=exec_prefix
;;
1164 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1165 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1166 |
--exec=* |
--exe=* |
--ex=*)
1167 exec_prefix
=$ac_optarg ;;
1169 -gas |
--gas |
--ga |
--g)
1170 # Obsolete; use --with-gas.
1173 -help |
--help |
--hel |
--he |
-h)
1174 ac_init_help
=long
;;
1175 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1176 ac_init_help
=recursive
;;
1177 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1178 ac_init_help
=short
;;
1180 -host |
--host |
--hos |
--ho)
1181 ac_prev
=host_alias
;;
1182 -host=* |
--host=* |
--hos=* |
--ho=*)
1183 host_alias
=$ac_optarg ;;
1185 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1187 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1189 htmldir
=$ac_optarg ;;
1191 -includedir |
--includedir |
--includedi |
--included |
--include \
1192 |
--includ |
--inclu |
--incl |
--inc)
1193 ac_prev
=includedir
;;
1194 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1195 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1196 includedir
=$ac_optarg ;;
1198 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1200 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1201 infodir
=$ac_optarg ;;
1203 -libdir |
--libdir |
--libdi |
--libd)
1205 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1206 libdir
=$ac_optarg ;;
1208 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1209 |
--libexe |
--libex |
--libe)
1210 ac_prev
=libexecdir
;;
1211 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1212 |
--libexe=* |
--libex=* |
--libe=*)
1213 libexecdir
=$ac_optarg ;;
1215 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1216 ac_prev
=localedir
;;
1217 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1218 localedir
=$ac_optarg ;;
1220 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1221 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1222 ac_prev
=localstatedir
;;
1223 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1224 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1225 localstatedir
=$ac_optarg ;;
1227 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1229 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1230 mandir
=$ac_optarg ;;
1232 -nfp |
--nfp |
--nf)
1233 # Obsolete; use --without-fp.
1236 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1237 |
--no-cr |
--no-c |
-n)
1240 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1241 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1244 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1245 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1246 |
--oldin |
--oldi |
--old |
--ol |
--o)
1247 ac_prev
=oldincludedir
;;
1248 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1249 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1250 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1251 oldincludedir
=$ac_optarg ;;
1253 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1255 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1256 prefix
=$ac_optarg ;;
1258 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1259 |
--program-pre |
--program-pr |
--program-p)
1260 ac_prev
=program_prefix
;;
1261 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1262 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1263 program_prefix
=$ac_optarg ;;
1265 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1266 |
--program-suf |
--program-su |
--program-s)
1267 ac_prev
=program_suffix
;;
1268 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1269 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1270 program_suffix
=$ac_optarg ;;
1272 -program-transform-name |
--program-transform-name \
1273 |
--program-transform-nam |
--program-transform-na \
1274 |
--program-transform-n |
--program-transform- \
1275 |
--program-transform |
--program-transfor \
1276 |
--program-transfo |
--program-transf \
1277 |
--program-trans |
--program-tran \
1278 |
--progr-tra |
--program-tr |
--program-t)
1279 ac_prev
=program_transform_name
;;
1280 -program-transform-name=* |
--program-transform-name=* \
1281 |
--program-transform-nam=* |
--program-transform-na=* \
1282 |
--program-transform-n=* |
--program-transform-=* \
1283 |
--program-transform=* |
--program-transfor=* \
1284 |
--program-transfo=* |
--program-transf=* \
1285 |
--program-trans=* |
--program-tran=* \
1286 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1287 program_transform_name
=$ac_optarg ;;
1289 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1291 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1292 pdfdir
=$ac_optarg ;;
1294 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1296 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1299 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1300 |
-silent |
--silent |
--silen |
--sile |
--sil)
1303 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1305 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1307 sbindir
=$ac_optarg ;;
1309 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1310 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1311 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1313 ac_prev
=sharedstatedir
;;
1314 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1315 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1316 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1318 sharedstatedir
=$ac_optarg ;;
1320 -site |
--site |
--sit)
1322 -site=* |
--site=* |
--sit=*)
1325 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1327 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1328 srcdir
=$ac_optarg ;;
1330 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1331 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1332 ac_prev
=sysconfdir
;;
1333 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1334 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1335 sysconfdir
=$ac_optarg ;;
1337 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1338 ac_prev
=target_alias
;;
1339 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1340 target_alias
=$ac_optarg ;;
1342 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1345 -version |
--version |
--versio |
--versi |
--vers |
-V)
1346 ac_init_version
=: ;;
1349 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1350 # Reject names that are not valid shell variable names.
1351 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1352 as_fn_error $?
"invalid package name: $ac_useropt"
1353 ac_useropt_orig
=$ac_useropt
1354 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1355 case $ac_user_opts in
1359 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1360 ac_unrecognized_sep
=', ';;
1362 eval with_
$ac_useropt=\
$ac_optarg ;;
1364 -without-* |
--without-*)
1365 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1366 # Reject names that are not valid shell variable names.
1367 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1368 as_fn_error $?
"invalid package name: $ac_useropt"
1369 ac_useropt_orig
=$ac_useropt
1370 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1371 case $ac_user_opts in
1375 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1376 ac_unrecognized_sep
=', ';;
1378 eval with_
$ac_useropt=no
;;
1381 # Obsolete; use --with-x.
1384 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1385 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1386 ac_prev
=x_includes
;;
1387 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1388 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1389 x_includes
=$ac_optarg ;;
1391 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1392 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1393 ac_prev
=x_libraries
;;
1394 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1395 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1396 x_libraries
=$ac_optarg ;;
1398 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1399 Try \`$0 --help' for more information"
1403 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1404 # Reject names that are not valid shell variable names.
1405 case $ac_envvar in #(
1406 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1407 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1409 eval $ac_envvar=\
$ac_optarg
1410 export $ac_envvar ;;
1413 # FIXME: should be removed in autoconf 3.0.
1414 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1415 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1416 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1417 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1423 if test -n "$ac_prev"; then
1424 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1425 as_fn_error $?
"missing argument to $ac_option"
1428 if test -n "$ac_unrecognized_opts"; then
1429 case $enable_option_checking in
1431 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1432 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1436 # Check all directory arguments for consistency.
1437 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1442 eval ac_val
=\$
$ac_var
1443 # Remove trailing slashes.
1446 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1447 eval $ac_var=\
$ac_val;;
1449 # Be sure to have absolute directory names.
1451 [\\/$
]* | ?
:[\\/]* ) continue;;
1452 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1454 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target
=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x
; then
1466 if test "x$build_alias" = x
; then
1467 cross_compiling
=maybe
1468 elif test "x$build_alias" != "x$host_alias"; then
1474 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1476 test "$silent" = yes && exec 6>/dev
/null
1479 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1480 ac_ls_di
=`ls -di .` &&
1481 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1482 as_fn_error $?
"working directory cannot be determined"
1483 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1484 as_fn_error $?
"pwd does not report name of working directory"
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted
=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir
=`$as_dirname -- "$as_myself" ||
1492 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$as_myself" : 'X\(//\)[^/]' \| \
1494 X"$as_myself" : 'X\(//\)$' \| \
1495 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1496 $as_echo X"$as_myself" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1519 ac_srcdir_defaulted
=no
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1523 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1525 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1537 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 for ac_var
in $ac_precious_vars; do
1540 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1541 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1542 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1543 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1547 # Report the --help message.
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1553 \`configure' configures this package to adapt to many kinds of systems.
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1560 Defaults for the options are specified in brackets.
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking ...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1584 For better control, use the options below.
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1611 --x-includes=DIR X include files are
in DIR
1612 --x-libraries=DIR X library files are
in DIR
1615 --build=BUILD configure
for building on BUILD
[guessed
]
1616 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1617 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1621 if test -n "$ac_init_help"; then
1626 --disable-option-checking ignore unrecognized
--enable/--with options
1627 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1628 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1629 --disable-ssp disable gcc stack-protector
1630 --disable-pie disable position-independent-executable
1631 --disable-visibility disable gcc symbol visibility
1632 --disable-shared disable core shared libary generation
1635 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1636 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1637 --with-64bit turn on
64 bit compilation mode
(default is platform
1639 --with-optimization enable optimization
for C
/C
++ code
(default is
yes)
1640 --with-threads enable support
for multiple threads
(default is on
)
1641 --with-secure-sockets enable support
for secure sockets
(default is on
)
1642 --with-static-probes enable support
for static probes
(default is on
)
1643 --with-infiniband enable support
for Infiniband metrics
(default is
1645 --with-user user account under
which daemons run
(default is
1647 --with-group user group under
which daemons run
(default is pcp
)
1648 --with-discovery enable support
for service discovery
(default is on
)
1649 --with-systemd enable support
for systemd services
(default is on
)
1650 --with-qt enable support
for tools requiring Qt
(default is
1652 --with-python enable support
for tools requiring Python
(default
1654 --with-python3 enable support
for tools requiring Python3
(default
1656 --with-books enable building of the PCP books
(default is off
)
1657 --with-books-brand=BRAND
1658 choose the docbook brand when building the PCP books
1660 --with-papi[=DIR|
=MODULE
]
1661 enable performance api counter pmda
(default is on
)
1662 The optional argument may be a full path of a PAPI
1663 installation prefix
, or a pkgconfig module name.
1664 --with-perfevent enable perfevent pmda
(default is on
)
1665 --with-pmdajson enable JSON pmda
(default is on
)
1666 --with-pmdasnmp enable SNMP pmda
(default is on
)
1667 --with-manager enable daemon manager
(default is on
)
1668 --with-webapi enable REST API daemon
(default is on
)
1669 --with-webjs enable building of webjs packages
(default is off
)
1670 --with-vector enable building of vector package
(default is off
)
1671 --with-parfait enable building of parfait package
(default is off
)
1672 --with-make path to GNU compatible
make(1) (default is empty
for
1674 --with-tar path to GNU compatible
tar(1) (default is empty
for
1676 --with-zip path to GNU compatible
zip(1) (default is empty
for
1678 --with-configdir configuration directory
[LOCALSTATEDIR
/pcp
/config
]
1679 --with-perl_installdirs perl installdirs
[vendor
]
1680 --with-perl_install_base
1681 perl install_base
[PREFIX
]
1682 --with-python_prefix python setup.py prefix
[PREFIX
]
1683 --with-x use the X Window System
1684 --with-rcdir rc directory
[SYSCONFDIR
/rc.d
]
1685 --with-sysconfigdir sysconfig directory
[SYSCONFDIR
/sysconfig
]
1686 --with-logdir log directory
[LOCALSTATEDIR
/log
/pcp
]
1687 --with-rundir run directory
[LOCALSTATEDIR
/run
/pcp
]
1688 --with-tmpdir tmp directory
[LOCALSTATEDIR
/tmp
]
1689 --with-docdir docs directory
[DOCDIR
/pcp-VERSION
]
1690 --with-demosdir run directory
[DATADIR
/pcp
/demos
]
1692 Some influential environment variables
:
1693 PKG_CONFIG path to pkg-config utility
1695 directories to add to pkg-config
's search path
1697 path overriding pkg-config's built-in search path
1698 CC C compiler
command
1699 CFLAGS C compiler flags
1700 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1701 nonstandard directory
<lib dir
>
1702 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1703 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1704 you have headers
in a nonstandard directory
<include dir
>
1705 CXX C
++ compiler
command
1706 CXXFLAGS C
++ compiler flags
1707 YACC The
`Yet Another Compiler Compiler' implementation to use.
1708 Defaults to the first program found out of: `bison
-y', `byacc',
1710 YFLAGS The list of arguments that will be passed by default to $YACC.
1711 This script will default YFLAGS to the empty string to avoid a
1712 default value of `-d' given by some make applications.
1715 C compiler flags for avahi, overriding pkg-config
1716 avahi_LIBS linker flags for avahi, overriding pkg-config
1717 SYSTEMD_SYSTEMUNITDIR
1718 value of systemdsystemunitdir for systemd, overriding pkg-config
1720 C compiler flags for ncurses, overriding pkg-config
1722 linker flags for ncurses, overriding pkg-config
1724 C compiler flags for SYSTEMD, overriding pkg-config
1726 linker flags for SYSTEMD, overriding pkg-config
1727 papi_CFLAGS C compiler flags for papi, overriding pkg-config
1728 papi_LIBS linker flags for papi, overriding pkg-config
1729 libmicrohttpd_CFLAGS
1730 C compiler flags for libmicrohttpd, overriding pkg-config
1732 linker flags for libmicrohttpd, overriding pkg-config
1734 C compiler flags for cairo, overriding pkg-config
1735 cairo_LIBS linker flags for cairo, overriding pkg-config
1736 XMKMF Path to xmkmf, Makefile generator for X Window System
1737 zlib_CFLAGS C compiler flags for zlib, overriding pkg-config
1738 zlib_LIBS linker flags for zlib, overriding pkg-config
1740 Use these variables to override the choices made by `configure' or to
help
1741 it to
find libraries and programs with nonstandard names
/locations.
1743 Report bugs to the package provider.
1748 if test "$ac_init_help" = "recursive"; then
1749 # If there are subdirs, report their specific --help.
1750 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1751 test -d "$ac_dir" ||
1752 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1757 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1759 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1760 # A ".." for each directory in $ac_dir_suffix.
1761 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1762 case $ac_top_builddir_sub in
1763 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1764 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1767 ac_abs_top_builddir
=$ac_pwd
1768 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1769 # for backward compatibility:
1770 ac_top_builddir
=$ac_top_build_prefix
1773 .
) # We are building in place.
1775 ac_top_srcdir
=$ac_top_builddir_sub
1776 ac_abs_top_srcdir
=$ac_pwd ;;
1777 [\\/]* | ?
:[\\/]* ) # Absolute name.
1778 ac_srcdir
=$srcdir$ac_dir_suffix;
1779 ac_top_srcdir
=$srcdir
1780 ac_abs_top_srcdir
=$srcdir ;;
1782 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1783 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1784 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1786 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1788 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1789 # Check for guested configure.
1790 if test -f "$ac_srcdir/configure.gnu"; then
1792 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1793 elif test -f "$ac_srcdir/configure"; then
1795 $SHELL "$ac_srcdir/configure" --help=recursive
1797 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1799 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1803 test -n "$ac_init_help" && exit $ac_status
1804 if $ac_init_version; then
1807 generated by GNU Autoconf
2.69
1809 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1810 This configure
script is free software
; the Free Software Foundation
1811 gives unlimited permission to copy
, distribute and modify it.
1816 ## ------------------------ ##
1817 ## Autoconf initialization. ##
1818 ## ------------------------ ##
1820 # ac_fn_c_try_compile LINENO
1821 # --------------------------
1822 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_c_try_compile
()
1825 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1826 rm -f conftest.
$ac_objext
1827 if { { ac_try
="$ac_compile"
1829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_compile") 2>conftest.err
1836 if test -s conftest.err; then
1837 grep -v '^ *+' conftest.err >conftest.er1
1838 cat conftest.er1 >&5
1839 mv -f conftest.er1 conftest.err
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && {
1843 test -z "$ac_c_werror_flag" ||
1844 test ! -s conftest.err
1845 } && test -s conftest.$ac_objext; then :
1848 $as_echo "$as_me: failed program was:" >&5
1849 sed 's/^/| /' conftest.$ac_ext >&5
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 as_fn_set_status $ac_retval
1856 } # ac_fn_c_try_compile
1858 # ac_fn_c_try_link LINENO
1859 # -----------------------
1860 # Try to link conftest.$ac_ext, and return whether this succeeded.
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 rm -f conftest.$ac_objext conftest$ac_exeext
1865 if { { ac_try="$ac_link"
1867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1868 *) ac_try_echo
=$ac_try;;
1870 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_link") 2>conftest.err
1874 if test -s conftest.err
; then
1875 grep -v '^ *+' conftest.err
>conftest.er1
1876 cat conftest.er1
>&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && {
1881 test -z "$ac_c_werror_flag" ||
1882 test ! -s conftest.err
1883 } && test -s conftest
$ac_exeext && {
1884 test "$cross_compiling" = yes ||
1885 test -x conftest
$ac_exeext
1889 $as_echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.
$ac_ext >&5
1894 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1895 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1896 # interfere with the next link command; also delete a directory that is
1897 # left behind by Apple's compiler. We do this before executing the actions.
1898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 as_fn_set_status
$ac_retval
1902 } # ac_fn_c_try_link
1904 # ac_fn_cxx_try_compile LINENO
1905 # ----------------------------
1906 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1907 ac_fn_cxx_try_compile
()
1909 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1910 rm -f conftest.
$ac_objext
1911 if { { ac_try
="$ac_compile"
1913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_compile") 2>conftest.err
1920 if test -s conftest.err; then
1921 grep -v '^ *+' conftest.err >conftest.er1
1922 cat conftest.er1 >&5
1923 mv -f conftest.er1 conftest.err
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; } && {
1927 test -z "$ac_cxx_werror_flag" ||
1928 test ! -s conftest.err
1929 } && test -s conftest.$ac_objext; then :
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 as_fn_set_status $ac_retval
1940 } # ac_fn_cxx_try_compile
1942 # ac_fn_c_try_cpp LINENO
1943 # ----------------------
1944 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 if { { ac_try="$ac_cpp conftest.$ac_ext"
1950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1951 *) ac_try_echo
=$ac_try;;
1953 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954 $as_echo "$ac_try_echo"; } >&5
1955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1957 if test -s conftest.err
; then
1958 grep -v '^ *+' conftest.err
>conftest.er1
1959 cat conftest.er1
>&5
1960 mv -f conftest.er1 conftest.err
1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963 test $ac_status = 0; } > conftest.i
&& {
1964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1965 test ! -s conftest.err
1969 $as_echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.
$ac_ext >&5
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 as_fn_set_status
$ac_retval
1979 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1980 # -------------------------------------------------------
1981 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1982 # the include files in INCLUDES and setting the cache variable VAR
1984 ac_fn_c_check_header_mongrel
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 if eval \
${$3+:} false
; then :
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989 $as_echo_n "checking for $2... " >&6; }
1990 if eval \
${$3+:} false
; then :
1991 $as_echo_n "(cached) " >&6
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1997 # Is the header compilable?
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1999 $as_echo_n "checking $2 usability... " >&6; }
2000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2005 if ac_fn_c_try_compile
"$LINENO"; then :
2006 ac_header_compiler
=yes
2008 ac_header_compiler
=no
2010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2012 $as_echo "$ac_header_compiler" >&6; }
2014 # Is the header present?
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2016 $as_echo_n "checking $2 presence... " >&6; }
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2021 if ac_fn_c_try_cpp
"$LINENO"; then :
2022 ac_header_preproc
=yes
2024 ac_header_preproc
=no
2026 rm -f conftest.err conftest.i conftest.
$ac_ext
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2028 $as_echo "$ac_header_preproc" >&6; }
2030 # So? What about this header?
2031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2034 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2036 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2040 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2042 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2044 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2046 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \
${$3+:} false
; then :
2054 $as_echo_n "(cached) " >&6
2056 eval "$3=\$ac_header_compiler"
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 } # ac_fn_c_check_header_mongrel
2066 # ac_fn_c_try_run LINENO
2067 # ----------------------
2068 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2069 # that executables *can* be run.
2072 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2073 if { { ac_try
="$ac_link"
2075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2076 *) ac_try_echo=$ac_try;;
2078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2079 $as_echo "$ac_try_echo"; } >&5
2080 (eval "$ac_link") 2>&5
2082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2083 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2084 { { case "(($ac_try" in
2085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2086 *) ac_try_echo
=$ac_try;;
2088 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2089 $as_echo "$ac_try_echo"; } >&5
2090 (eval "$ac_try") 2>&5
2092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2093 test $ac_status = 0; }; }; then :
2096 $as_echo "$as_me: program exited with status $ac_status" >&5
2097 $as_echo "$as_me: failed program was:" >&5
2098 sed 's/^/| /' conftest.
$ac_ext >&5
2100 ac_retval
=$ac_status
2102 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2104 as_fn_set_status
$ac_retval
2108 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2109 # -------------------------------------------------------
2110 # Tests whether HEADER exists and can be compiled using the include files in
2111 # INCLUDES, setting the cache variable VAR accordingly.
2112 ac_fn_c_check_header_compile
()
2114 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116 $as_echo_n "checking for $2... " >&6; }
2117 if eval \
${$3+:} false
; then :
2118 $as_echo_n "(cached) " >&6
2120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2125 if ac_fn_c_try_compile
"$LINENO"; then :
2130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2134 $as_echo "$ac_res" >&6; }
2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2137 } # ac_fn_c_check_header_compile
2139 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2140 # -------------------------------------------
2141 # Tests whether TYPE exists after having included INCLUDES, setting cache
2142 # variable VAR accordingly.
2143 ac_fn_c_check_type
()
2145 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if eval \
${$3+:} false
; then :
2149 $as_echo_n "(cached) " >&6
2152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2164 if ac_fn_c_try_compile
"$LINENO"; then :
2165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */
2177 if ac_fn_c_try_compile
"$LINENO"; then :
2182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2189 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191 } # ac_fn_c_check_type
2193 # ac_fn_c_check_func LINENO FUNC VAR
2194 # ----------------------------------
2195 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2196 ac_fn_c_check_func
()
2198 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2200 $as_echo_n "checking for $2... " >&6; }
2201 if eval \
${$3+:} false
; then :
2202 $as_echo_n "(cached) " >&6
2204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2206 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2208 #define $2 innocuous_$2
2210 /* System header to define __stub macros and hopefully few prototypes,
2211 which can conflict with char $2 (); below.
2212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2213 <limits.h> exists even on freestanding compilers. */
2216 # include <limits.h>
2218 # include <assert.h>
2223 /* Override any GCC internal prototype to avoid an error.
2224 Use char because int might match the return type of a GCC
2225 builtin and then its argument prototype would still apply. */
2230 /* The GNU C library defines this for functions which it implements
2231 to always fail with ENOSYS. Some functions are actually named
2232 something starting with __ and the normal name is an alias. */
2233 #if defined __stub_$2 || defined __stub___$2
2245 if ac_fn_c_try_link
"$LINENO"; then :
2250 rm -f core conftest.err conftest.
$ac_objext \
2251 conftest
$ac_exeext conftest.
$ac_ext
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2255 $as_echo "$ac_res" >&6; }
2256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2258 } # ac_fn_c_check_func
2259 cat >config.log
<<_ACEOF
2260 This file contains any messages produced by compilers while
2261 running configure, to aid debugging if configure makes a mistake.
2263 It was created by $as_me, which was
2264 generated by GNU Autoconf 2.69. Invocation command line was
2276 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2277 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2278 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2279 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2280 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2282 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2283 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2285 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2286 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2287 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2288 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2289 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2290 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2291 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir
=.
2300 $as_echo "PATH: $as_dir"
2316 # Keep a trace of the command line.
2317 # Strip out --no-create and --no-recursion so they do not pile up.
2318 # Strip out --silent because we don't want to record it for future runs.
2319 # Also quote any args containing shell meta-characters.
2320 # Make two passes to allow for proper duplicate-argument suppression.
2324 ac_must_keep_next
=false
2330 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2331 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2332 |
-silent |
--silent |
--silen |
--sile |
--sil)
2335 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2340 as_fn_append ac_configure_args1
" '$ac_arg'"
2341 if test $ac_must_keep_next = true
; then
2342 ac_must_keep_next
=false
# Got value, back to normal.
2345 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2346 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2347 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2348 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2349 case "$ac_configure_args0 " in
2350 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2353 -* ) ac_must_keep_next
=true
;;
2356 as_fn_append ac_configure_args
" '$ac_arg'"
2361 { ac_configure_args0
=; unset ac_configure_args0
;}
2362 { ac_configure_args1
=; unset ac_configure_args1
;}
2364 # When interrupted or exit'd, cleanup temporary files, and complete
2365 # config.log. We remove comments because anyway the quotes in there
2366 # would cause problems or look ugly.
2367 # WARNING: Use '\'' to represent an apostrophe within the trap.
2368 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2369 trap 'exit_status=$?
2370 # Save into config.log some information that might help in debugging.
2374 $as_echo "## ---------------- ##
2375 ## Cache variables. ##
2376 ## ---------------- ##"
2378 # The following way of writing the cache mishandles newlines in values,
2380 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2381 eval ac_val=\$$ac_var
2385 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2386 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2389 _ | IFS | as_nl) ;; #(
2390 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2391 *) { eval $ac_var=; unset $ac_var;} ;;
2396 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2397 *${as_nl}ac_space=\ *)
2399 "s/'\''/'\''\\\\'\'''\''/g;
2400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2403 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2410 $as_echo "## ----------------- ##
2411 ## Output variables. ##
2412 ## ----------------- ##"
2414 for ac_var in $ac_subst_vars
2416 eval ac_val=\$$ac_var
2418 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420 $as_echo "$ac_var='\''$ac_val'\''"
2424 if test -n "$ac_subst_files"; then
2425 $as_echo "## ------------------- ##
2426 ## File substitutions. ##
2427 ## ------------------- ##"
2429 for ac_var
in $ac_subst_files
2431 eval ac_val
=\$
$ac_var
2433 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2435 $as_echo "$ac_var='\''$ac_val'\''"
2440 if test -s confdefs.h; then
2441 $as_echo "## ----------- ##
2448 test "$ac_signal" != 0 &&
2449 $as_echo "$as_me: caught signal $ac_signal"
2450 $as_echo "$as_me: exit $exit_status"
2452 rm -f core *.core core.conftest.* &&
2453 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2456 for ac_signal
in 1 2 13 15; do
2457 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest
* confdefs.h
2464 $as_echo "/* confdefs.h */" > confdefs.h
2466 # Predefined preprocessor variables.
2468 cat >>confdefs.h
<<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2472 cat >>confdefs.h
<<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2497 if test -n "$CONFIG_SITE"; then
2498 # We do not want a PATH search for config.site.
2499 case $CONFIG_SITE in #((
2500 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2501 */*) ac_site_file1
=$CONFIG_SITE;;
2502 *) ac_site_file1
=.
/$CONFIG_SITE;;
2504 elif test "x$prefix" != xNONE
; then
2505 ac_site_file1
=$prefix/share
/config.site
2506 ac_site_file2
=$prefix/etc
/config.site
2508 ac_site_file1
=$ac_default_prefix/share
/config.site
2509 ac_site_file2
=$ac_default_prefix/etc
/config.site
2511 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2513 test "x$ac_site_file" = xNONE
&& continue
2514 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2516 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2517 sed 's/^/| /' "$ac_site_file" >&5
2519 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 as_fn_error $?
"failed to load site script $ac_site_file
2522 See \`config.log' for more details" "$LINENO" 5; }
2526 if test -r "$cache_file"; then
2527 # Some versions of bash will fail to source /dev/null (special files
2528 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2529 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2531 $as_echo "$as_me: loading cache $cache_file" >&6;}
2533 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2534 *) .
"./$cache_file";;
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2539 $as_echo "$as_me: creating cache $cache_file" >&6;}
2543 # Check that the precious variables saved in the cache have kept the same
2545 ac_cache_corrupted
=false
2546 for ac_var
in $ac_precious_vars; do
2547 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2548 eval ac_new_set
=\
$ac_env_${ac_var}_set
2549 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2550 eval ac_new_val
=\
$ac_env_${ac_var}_value
2551 case $ac_old_set,$ac_new_set in
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2554 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2555 ac_cache_corrupted
=: ;;
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2558 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2559 ac_cache_corrupted
=: ;;
2562 if test "x$ac_old_val" != "x$ac_new_val"; then
2563 # differences in whitespace do not lead to failure.
2564 ac_old_val_w
=`echo x $ac_old_val`
2565 ac_new_val_w
=`echo x $ac_new_val`
2566 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2568 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2569 ac_cache_corrupted
=:
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2572 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2573 eval $ac_var=\
$ac_old_val
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2576 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2578 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2581 # Pass precious variables to config.status.
2582 if test "$ac_new_set" = set; then
2584 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2585 *) ac_arg
=$ac_var=$ac_new_val ;;
2587 case " $ac_configure_args " in
2588 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2589 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2593 if $ac_cache_corrupted; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2597 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2598 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2600 ## -------------------- ##
2601 ## Main body of script. ##
2602 ## -------------------- ##
2605 ac_cpp
='$CPP $CPPFLAGS'
2606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2616 # Check whether --with-64bit was given.
2617 if test "${with_64bit+set}" = set; then :
2618 withval
=$with_64bit; use_64bit
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-64bit=$withval"
2623 # Check whether --with-optimization was given.
2624 if test "${with_optimization+set}" = set; then :
2625 withval
=$with_optimization; use_optimization
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-optimization=$withval"
2632 # Check whether --with-threads was given.
2633 if test "${with_threads+set}" = set; then :
2634 withval
=$with_threads; do_threads
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-threads=$withval"
2641 # Check whether --with-secure-sockets was given.
2642 if test "${with_secure_sockets+set}" = set; then :
2643 withval
=$with_secure_sockets; do_secure
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-secure-sockets=$withval"
2650 # Check whether --with-static-probes was given.
2651 if test "${with_static_probes+set}" = set; then :
2652 withval
=$with_static_probes; do_probes
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-static-probes=$withval"
2659 # Check whether --with-infiniband was given.
2660 if test "${with_infiniband+set}" = set; then :
2661 withval
=$with_infiniband; do_infiniband
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-infiniband=$withval"
2668 # Check whether --with-user was given.
2669 if test "${with_user+set}" = set; then :
2670 withval
=$with_user; pcp_user
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-user-account=$withval"
2678 # Check whether --with-group was given.
2679 if test "${with_group+set}" = set; then :
2680 withval
=$with_group; pcp_group
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-group-account=$withval"
2688 # Check whether --with-discovery was given.
2689 if test "${with_discovery+set}" = set; then :
2690 withval
=$with_discovery; do_discovery
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-discovery=$withval"
2697 # Check whether --with-systemd was given.
2698 if test "${with_systemd+set}" = set; then :
2699 withval
=$with_systemd; do_systemd
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-systemd=$withval"
2706 # Check whether --with-qt was given.
2707 if test "${with_qt+set}" = set; then :
2708 withval
=$with_qt; do_qt
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-qt=$withval"
2715 # Check whether --with-python was given.
2716 if test "${with_python+set}" = set; then :
2717 withval
=$with_python; do_python
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-python=$withval"
2724 # Check whether --with-python3 was given.
2725 if test "${with_python3+set}" = set; then :
2726 withval
=$with_python3; do_python3
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-python3=$withval"
2733 # Check whether --with-books was given.
2734 if test "${with_books+set}" = set; then :
2735 withval
=$with_books; do_books
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-books=$withval"
2742 # Check whether --with-books-brand was given.
2743 if test "${with_books_brand+set}" = set; then :
2744 withval
=$with_books_brand; do_books_brand
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-books-brand=$withval"
2746 do_books_brand
=common
2751 # Check whether --with-papi was given.
2752 if test "${with_papi+set}" = set; then :
2753 withval
=$with_papi; do_papi
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-papi=$withval"
2760 # Check whether --with-perfevent was given.
2761 if test "${with_perfevent+set}" = set; then :
2762 withval
=$with_perfevent; do_perfevent
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-perfevent=$withval"
2769 # Check whether --with-pmdajson was given.
2770 if test "${with_pmdajson+set}" = set; then :
2771 withval
=$with_pmdajson; do_pmdajson
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-pmdajson=$withval"
2778 # Check whether --with-pmdasnmp was given.
2779 if test "${with_pmdasnmp+set}" = set; then :
2780 withval
=$with_pmdasnmp; do_pmdasnmp
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-pmdasnmp=$withval"
2787 # Check whether --with-manager was given.
2788 if test "${with_manager+set}" = set; then :
2789 withval
=$with_manager; do_manager
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-manager=$withval"
2796 # Check whether --with-webapi was given.
2797 if test "${with_webapi+set}" = set; then :
2798 withval
=$with_webapi; do_webapi
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-webapi=$withval"
2805 # Check whether --with-webjs was given.
2806 if test "${with_webjs+set}" = set; then :
2807 withval
=$with_webjs; do_webjs
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-webjs=$withval"
2814 # Check whether --with-vector was given.
2815 if test "${with_vector+set}" = set; then :
2816 withval
=$with_vector; do_vector
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-vector=$withval"
2823 # Check whether --with-parfait was given.
2824 if test "${with_parfait+set}" = set; then :
2825 withval
=$with_parfait; do_parfait
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-parfait=$withval"
2833 # Check whether --with-make was given.
2834 if test "${with_make+set}" = set; then :
2835 withval
=$with_make; MAKE
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-make=$withval"
2842 # Check whether --with-tar was given.
2843 if test "${with_tar+set}" = set; then :
2844 withval
=$with_tar; TAR
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-tar=$withval"
2851 # Check whether --with-zip was given.
2852 if test "${with_zip+set}" = set; then :
2853 withval
=$with_zip; ZIP
=$withval; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --with-zip=$withval"
2860 # Note: the following environment variables may be
2861 # set to override the defaults.
2863 # MAKE CC CPP LD LEX YACC INSTALL AWK SED ECHO
2867 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2868 if test -f "$ac_dir/install-sh"; then
2870 ac_install_sh
="$ac_aux_dir/install-sh -c"
2872 elif test -f "$ac_dir/install.sh"; then
2874 ac_install_sh
="$ac_aux_dir/install.sh -c"
2876 elif test -f "$ac_dir/shtool"; then
2878 ac_install_sh
="$ac_aux_dir/shtool install -c"
2882 if test -z "$ac_aux_dir"; then
2883 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2886 # These three variables are undocumented and unsupported,
2887 # and are intended to be withdrawn in a future Autoconf release.
2888 # They can cause serious problems if a builder's source tree is in a directory
2889 # whose full name contains unusual characters.
2890 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2891 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2892 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2895 # Make sure we can run config.sub.
2896 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2897 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2900 $as_echo_n "checking build system type... " >&6; }
2901 if ${ac_cv_build+:} false
; then :
2902 $as_echo_n "(cached) " >&6
2904 ac_build_alias
=$build_alias
2905 test "x$ac_build_alias" = x
&&
2906 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2907 test "x$ac_build_alias" = x
&&
2908 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2909 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2910 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2914 $as_echo "$ac_cv_build" >&6; }
2915 case $ac_cv_build in
2917 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2920 ac_save_IFS
=$IFS; IFS
='-'
2926 # Remember, the first character of IFS is used to create $*,
2927 # except with old shells:
2930 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2934 $as_echo_n "checking host system type... " >&6; }
2935 if ${ac_cv_host+:} false
; then :
2936 $as_echo_n "(cached) " >&6
2938 if test "x$host_alias" = x
; then
2939 ac_cv_host
=$ac_cv_build
2941 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2942 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2947 $as_echo "$ac_cv_host" >&6; }
2950 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2953 ac_save_IFS
=$IFS; IFS
='-'
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2963 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2967 $as_echo_n "checking target system type... " >&6; }
2968 if ${ac_cv_target+:} false
; then :
2969 $as_echo_n "(cached) " >&6
2971 if test "x$target_alias" = x
; then
2972 ac_cv_target
=$ac_cv_host
2974 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2975 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2980 $as_echo "$ac_cv_target" >&6; }
2981 case $ac_cv_target in
2983 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2985 target
=$ac_cv_target
2986 ac_save_IFS
=$IFS; IFS
='-'
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2996 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2999 # The aliases save the names the user supplied, while $host etc.
3000 # will get canonicalized.
3001 test -n "$target_alias" &&
3002 test "$program_prefix$program_suffix$program_transform_name" = \
3004 program_prefix
=${target_alias}-
3006 if test -z "$target"
3009 FATAL ERROR: Cannot guess your target, try explicit specification
3010 using --target or mailto: pcp@groups.io to ask.'
3011 rm -rf conftest conftest.
*
3014 target
=`echo $target | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
3015 target_os
=`echo $target_os | sed 's/solaris2\..*/solaris/'`
3016 target_os
=`echo $target_os | sed 's/^\([^-][^-]*\)-.*$/\1/' | sed 's/[\.0-9]*//g'`
3018 build
=`echo $build | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
3019 build_os
=`echo $build_os | sed 's/solaris2\..*/solaris/'`
3020 build_os
=`echo $build_os | sed 's/^\([^-][^-]*\)-.*$/\1/'`
3023 echo Building on
$build for $target
3024 echo "Build: os=$build_os cpu=$build_cpu"
3025 echo "Target: os=$target_os cpu=$target_cpu"
3027 if test "$cross_compiling" = "yes"; then
3028 if test -f .
/config.
$target_os; then
3029 . .
/config.
$target_os
3033 FATAL ERROR: Cannot perform cross-compilation without a file to source
3034 configuration information from (config.$target_os is missing)"
3035 rm -rf conftest conftest.
*
3042 target_distro
=$target_os
3043 if test $target_os = linux
3046 $as_echo "#define IS_LINUX 1" >>confdefs.h
3048 test -f /etc
/SuSE-release
&& target_distro
=suse
3049 test -f /etc
/fedora-release
&& target_distro
=fedora
3050 test -f /etc
/redhat-release
&& target_distro
=redhat
3051 test -f /etc
/debian_version
&& target_distro
=debian
3052 test -f /etc
/slackware-version
&& target_distro
=slackware
3053 test -f /etc
/gentoo-release
&& target_distro
=gentoo
3054 test -f /etc
/mandriva-release
&& target_distro
=mandriva
3055 test -f /etc
/arch-release
&& target_distro
=arch
3056 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3057 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3058 pcp_ps_all_flags
=-efw
3059 elif test $target_os = darwin
3062 $as_echo "#define IS_DARWIN 1" >>confdefs.h
3064 target_distro
=macosx
3065 version
=`sw_vers -productVersion | sed -e 's/\.//' -e 's/\..*//g'`
3066 CFLAGS
="-fPIC -no-cpp-precomp -fno-strict-aliasing -arch i386"
3067 if test $version -ge 106
3070 CFLAGS
="$CFLAGS -arch x86_64"
3073 pcp_platform_paths
='/usr/local/bin'
3074 pcp_ps_all_flags
="-axw -o user,pid,ppid,cpu,stime,tty,time,command"
3075 elif test $target_os = mingw
3078 $as_echo "#define IS_MINGW 1" >>confdefs.h
3080 CFLAGS
="-fno-strict-aliasing"
3081 pcp_platform_paths
=''
3082 pcp_ps_all_flags
=-efW
3083 elif test $target_os = solaris
3086 $as_echo "#define IS_SOLARIS 1" >>confdefs.h
3088 export CFLAGS_IF_GCC
="-fPIC -fno-strict-aliasing"
3089 export CFLAGS_IF_SUNCC
="-fPIC -xalias_level=any -D_XPG4_2 -D__EXTENSIONS__"
3090 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin:/opt/sfw/bin:/opt/csw/bin'
3091 pcp_ps_all_flags
=-ef
3092 elif test $target_os = aix
3095 $as_echo "#define IS_AIX 1" >>confdefs.h
3097 export CFLAGS
="-qcpluscmt"
3098 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3099 pcp_ps_all_flags
=-ef
3100 elif test $target_os = freebsd ||
test $target_os = kfreebsd
3103 $as_echo "#define IS_FREEBSD 1" >>confdefs.h
3105 test -f /etc
/debian_version
&& target_distro
=debian
3106 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3107 if test $target_os = kfreebsd
3109 pcp_ps_all_flags
=-efw
3111 pcp_ps_all_flags
=auxww
3113 pcp_platform_paths
='/usr/bin/X11'
3114 test -d /usr
/local
/bin
&& pcp_platform_paths
="$pcp_platform_paths:/usr/local/bin"
3115 test -d /usr
/bsd
&& pcp_platform_paths
="$pcp_platform_paths:/usr/bsd"
3116 elif test $target_os = gnu
3119 $as_echo "#define IS_GNU 1" >>confdefs.h
3121 test -f /etc
/debian_version
&& target_distro
=debian
3122 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3123 pcp_platform_paths
='/usr/bin/X11:/usr/local/bin'
3124 pcp_ps_all_flags
=-efw
3125 elif test $target_os = netbsdelf
3129 $as_echo "#define IS_NETBSD 1" >>confdefs.h
3131 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE -D_NETBSD_SOURCE"
3132 pcp_platform_paths
='/usr/pkg/bin'
3133 pcp_ps_all_flags
=auxww
3134 elif test $target_os = openbsd
3138 $as_echo "#define IS_OPENBSD 1" >>confdefs.h
3140 export CFLAGS
="-fPIC -fno-strict-aliasing -D_GNU_SOURCE"
3141 pcp_platform_paths
='/usr/local/bin'
3142 pcp_ps_all_flags
=auxww
3145 echo "FATAL ERROR: need platform-specific customization for \"$target_os\""
3146 rm -rf conftest conftest.
*
3152 if test "$use_optimization" = no
3154 optimization
="-O0 -g"
3156 optimization
="-O2 -g"
3167 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3168 if test -n "$ac_tool_prefix"; then
3169 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3170 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
3174 $as_echo_n "(cached) " >&6
3178 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
3200 if test -n "$PKG_CONFIG"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3202 $as_echo "$PKG_CONFIG" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3210 if test -z "$ac_cv_path_PKG_CONFIG"; then
3211 ac_pt_PKG_CONFIG
=$PKG_CONFIG
3212 # Extract the first word of "pkg-config", so it can be a program name with args.
3213 set dummy pkg-config
; ac_word
=$2
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215 $as_echo_n "checking for $ac_word... " >&6; }
3216 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
3217 $as_echo_n "(cached) " >&6
3219 case $ac_pt_PKG_CONFIG in
3221 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_exec_ext
in '' $ac_executable_extensions; do
3230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3231 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
3243 if test -n "$ac_pt_PKG_CONFIG"; then
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3245 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3251 if test "x$ac_pt_PKG_CONFIG" = x
; then
3254 case $cross_compiling:$ac_tool_warned in
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3258 ac_tool_warned
=yes ;;
3260 PKG_CONFIG
=$ac_pt_PKG_CONFIG
3263 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
3267 if test -n "$PKG_CONFIG"; then
3268 _pkg_min_version
=0.9.0
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3270 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3271 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3273 $as_echo "yes" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3280 if test -z "$PKG_CONFIG"; then
3281 as_fn_error $?
"cannot find a 'pkg-config' command" "$LINENO" 5
3286 ac_cpp
='$CPP $CPPFLAGS'
3287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3290 if test -n "$ac_tool_prefix"; then
3291 for ac_prog
in suncc egcc gcc cc
3293 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3294 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if ${ac_cv_prog_CC+:} false
; then :
3298 $as_echo_n "(cached) " >&6
3300 if test -n "$CC"; then
3301 ac_cv_prog_CC
="$CC" # Let the user override the test.
3303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3307 test -z "$as_dir" && as_dir
=.
3308 for ac_exec_ext
in '' $ac_executable_extensions; do
3309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3310 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 if test -n "$CC"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3323 $as_echo "$CC" >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3330 test -n "$CC" && break
3333 if test -z "$CC"; then
3335 for ac_prog
in suncc egcc gcc cc
3337 # Extract the first word of "$ac_prog", so it can be a program name with args.
3338 set dummy
$ac_prog; ac_word
=$2
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3340 $as_echo_n "checking for $ac_word... " >&6; }
3341 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3342 $as_echo_n "(cached) " >&6
3344 if test -n "$ac_ct_CC"; then
3345 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3351 test -z "$as_dir" && as_dir
=.
3352 for ac_exec_ext
in '' $ac_executable_extensions; do
3353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3354 ac_cv_prog_ac_ct_CC
="$ac_prog"
3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3365 if test -n "$ac_ct_CC"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3367 $as_echo "$ac_ct_CC" >&6; }
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370 $as_echo "no" >&6; }
3374 test -n "$ac_ct_CC" && break
3377 if test "x$ac_ct_CC" = x
; then
3380 case $cross_compiling:$ac_tool_warned in
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3384 ac_tool_warned
=yes ;;
3391 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3393 as_fn_error $?
"no acceptable C compiler found in \$PATH
3394 See \`config.log' for more details" "$LINENO" 5; }
3396 # Provide some information about the compiler.
3397 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3400 for ac_option
in --version -v -V -qversion; do
3401 { { ac_try
="$ac_compiler $ac_option >&5"
3403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3407 $as_echo "$ac_try_echo"; } >&5
3408 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3410 if test -s conftest.err; then
3412 ... rest of stderr output deleted ...
3413 10q' conftest.err >conftest.er1
3414 cat conftest.er1 >&5
3416 rm -f conftest.er1 conftest.err
3417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3418 test $ac_status = 0; }
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3432 ac_clean_files_save=$ac_clean_files
3433 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3434 # Try to create an executable without -o first, disregard a.out.
3435 # It will help us diagnose broken compilers, and finding out an intuition
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3438 $as_echo_n "checking whether the C compiler works... " >&6; }
3439 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3441 # The possible output files:
3442 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3445 for ac_file in $ac_files
3448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3449 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3454 if { { ac_try="$ac_link_default"
3456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3457 *) ac_try_echo
=$ac_try;;
3459 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460 $as_echo "$ac_try_echo"; } >&5
3461 (eval "$ac_link_default") 2>&5
3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464 test $ac_status = 0; }; then :
3465 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3466 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3467 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3468 # so that the user can short-circuit this test for compilers unknown to
3470 for ac_file
in $ac_files ''
3472 test -f "$ac_file" ||
continue
3474 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3477 # We found the default executable, but exeext='' is most
3481 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3483 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3485 # We set ac_cv_exeext here because the later test for it is not
3486 # safe: cross compilers may not add the suffix if given an `-o'
3487 # argument, so we may need to know it at that point already.
3488 # Even if this section looks crufty: it has the advantage of
3495 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3500 if test -z "$ac_file"; then :
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 $as_echo "no" >&6; }
3503 $as_echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.
$ac_ext >&5
3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508 as_fn_error
77 "C compiler cannot create executables
3509 See \`config.log' for more details" "$LINENO" 5; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3512 $as_echo "yes" >&6; }
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3515 $as_echo_n "checking for C compiler default output file name... " >&6; }
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3517 $as_echo "$ac_file" >&6; }
3518 ac_exeext
=$ac_cv_exeext
3520 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3521 ac_clean_files
=$ac_clean_files_save
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3523 $as_echo_n "checking for suffix of executables... " >&6; }
3524 if { { ac_try
="$ac_link"
3526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 $as_echo "$ac_try_echo"; } >&5
3531 (eval "$ac_link") 2>&5
3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }; then :
3535 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3536 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3537 # work properly (i.e., refer to `conftest.exe'), while it won't with
3539 for ac_file
in conftest.exe conftest conftest.
*; do
3540 test -f "$ac_file" ||
continue
3542 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3543 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3552 See \`config.log' for more details" "$LINENO" 5; }
3554 rm -f conftest conftest
$ac_cv_exeext
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3556 $as_echo "$ac_cv_exeext" >&6; }
3558 rm -f conftest.
$ac_ext
3559 EXEEXT
=$ac_cv_exeext
3561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3567 FILE *f = fopen ("conftest.out", "w");
3568 return ferror (f) || fclose (f) != 0;
3574 ac_clean_files
="$ac_clean_files conftest.out"
3575 # Check that the compiler produces executables we can run. If not, either
3576 # the compiler is broken, or we cross compile.
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3578 $as_echo_n "checking whether we are cross compiling... " >&6; }
3579 if test "$cross_compiling" != yes; then
3580 { { ac_try
="$ac_link"
3582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_link") 2>&5
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }
3591 if { ac_try='./conftest$ac_cv_exeext'
3592 { { case "(($ac_try" in
3593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3594 *) ac_try_echo
=$ac_try;;
3596 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3597 $as_echo "$ac_try_echo"; } >&5
3598 (eval "$ac_try") 2>&5
3600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3601 test $ac_status = 0; }; }; then
3604 if test "$cross_compiling" = maybe
; then
3607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609 as_fn_error $?
"cannot run C compiled programs.
3610 If you meant to cross compile, use \`--host'.
3611 See \`config.log' for more details" "$LINENO" 5; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3616 $as_echo "$cross_compiling" >&6; }
3618 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3619 ac_clean_files
=$ac_clean_files_save
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3621 $as_echo_n "checking for suffix of object files... " >&6; }
3622 if ${ac_cv_objext+:} false
; then :
3623 $as_echo_n "(cached) " >&6
3625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 rm -f conftest.o conftest.obj
3637 if { { ac_try
="$ac_compile"
3639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3643 $as_echo "$ac_try_echo"; } >&5
3644 (eval "$ac_compile") 2>&5
3646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3647 test $ac_status = 0; }; then :
3648 for ac_file in conftest.o conftest.obj conftest.*; do
3649 test -f "$ac_file" || continue;
3651 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3652 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3657 $as_echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3662 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3663 See \
`config.log' for more details" "$LINENO" 5; }
3665 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3668 $as_echo "$ac_cv_objext" >&6; }
3669 OBJEXT=$ac_cv_objext
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3672 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3673 if ${ac_cv_c_compiler_gnu+:} false; then :
3674 $as_echo_n "(cached) " >&6
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3690 if ac_fn_c_try_compile "$LINENO"; then :
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3700 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3701 if test $ac_compiler_gnu = yes; then
3706 ac_test_CFLAGS=${CFLAGS+set}
3707 ac_save_CFLAGS=$CFLAGS
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3709 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3710 if ${ac_cv_prog_cc_g+:} false; then :
3711 $as_echo_n "(cached) " >&6
3713 ac_save_c_werror_flag=$ac_c_werror_flag
3714 ac_c_werror_flag=yes
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3728 if ac_fn_c_try_compile "$LINENO"; then :
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3743 if ac_fn_c_try_compile "$LINENO"; then :
3746 ac_c_werror_flag=$ac_save_c_werror_flag
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3759 if ac_fn_c_try_compile "$LINENO"; then :
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3767 ac_c_werror_flag=$ac_save_c_werror_flag
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3770 $as_echo "$ac_cv_prog_cc_g" >&6; }
3771 if test "$ac_test_CFLAGS" = set; then
3772 CFLAGS=$ac_save_CFLAGS
3773 elif test $ac_cv_prog_cc_g = yes; then
3774 if test "$GCC" = yes; then
3780 if test "$GCC" = yes; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3787 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3788 if ${ac_cv_prog_cc_c89+:} false; then :
3789 $as_echo_n "(cached) " >&6
3791 ac_cv_prog_cc_c89=no
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3798 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3799 struct buf { int x; };
3800 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3801 static char *e (p, i)
3807 static char *f (char * (*g) (char **, int), char **p, ...)
3812 s = g (p, va_arg (v,int));
3817 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3818 function prototypes and stuff, but not '\xHH' hex character constants.
3819 These don't provoke an error unfortunately, instead are silently treated
3820 as 'x'. The following induces an error, until -std is added to get
3821 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3822 array size at least. It's necessary to write '\x00'==0 to get something
3823 that's true only with -std. */
3824 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3826 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3827 inside strings and character constants. */
3829 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3831 int test (int i, double x);
3832 struct s1 {int (*f) (int a);};
3833 struct s2 {int (*f) (double a);};
3834 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3840 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3845 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3846 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3848 CC="$ac_save_CC $ac_arg"
3849 if ac_fn_c_try_compile "$LINENO"; then :
3850 ac_cv_prog_cc_c89=$ac_arg
3852 rm -f core conftest.err conftest.$ac_objext
3853 test "x$ac_cv_prog_cc_c89" != "xno" && break
3855 rm -f conftest.$ac_ext
3860 case "x$ac_cv_prog_cc_c89" in
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3863 $as_echo "none needed" >&6; } ;;
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3866 $as_echo "unsupported" >&6; } ;;
3868 CC="$CC $ac_cv_prog_cc_c89"
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3870 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3872 if test "x$ac_cv_prog_cc_c89" != xno; then :
3877 ac_cpp='$CPP $CPPFLAGS'
3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882 if test $target_os = solaris
3884 # Extract the first word of "$CC", so it can be a program name with args.
3885 set dummy $CC; ac_word=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if ${ac_cv_path_CCPATH+:} false; then :
3889 $as_echo_n "(cached) " >&6
3893 ac_cv_path_CCPATH="$CCPATH" # Let the user override the test with a path.
3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3900 test -z "$as_dir" && as_dir=.
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3903 ac_cv_path_CCPATH="$as_dir/$ac_word$ac_exec_ext"
3904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 test -z "$ac_cv_path_CCPATH" && ac_cv_path_CCPATH="$CC"
3915 CCPATH=$ac_cv_path_CCPATH
3916 if test -n "$CCPATH"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCPATH" >&5
3918 $as_echo "$CCPATH" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3926 if test "$GCC" = "yes"
3928 CFLAGS="$CFLAGS $CFLAGS_IF_GCC"
3930 CFLAGS="$CFLAGS $CFLAGS_IF_SUNCC"
3932 if test "$use_64bit" = "no"
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64 bit Solaris host" >&5
3937 $as_echo_n "checking for 64 bit Solaris host... " >&6; }
3942 CFLAGS="$CFLAGS -m64"
3943 LDFLAGS="$LDFLAGS -m64"
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3945 $as_echo "yes" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3963 if echo "$CFLAGS" | grep 'D_FORTIFY_SOURCE' >/dev/null
3965 CFLAGS="-O $PCFLAGS"
3969 # Add some security-related gcc flags
3970 if echo "$CFLAGS" | grep stack-protector >/dev/null
3974 # Check whether --enable-ssp was given.
3975 if test "${enable_ssp+set}" = set; then :
3976 enableval=$enable_ssp;
3980 if test "x$cc_is_gcc" = xyes -a "x$enable_ssp" != xno ; then :
3982 save_CFLAGS="$CFLAGS"
3983 CFLAGS="$CFLAGS -O -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3988 if ac_fn_c_try_compile "$LINENO"; then :
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
3991 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
3992 PCFLAGS="$PCFLAGS -fstack-protector-all -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
3996 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
3997 CFLAGS="$save_CFLAGS"
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007 # Check for even more security-related gcc/linker flags, useful for daemons
4008 # Check whether --enable-pie was given.
4009 if test "${enable_pie+set}" = set; then :
4010 enableval=$enable_pie;
4013 if test "x$cc_is_gcc" = xyes -a "x$enable_pie" != xno; then :
4016 PIELDFLAGS='-pie -Wl,-z,relro -Wl,-z,now'
4017 save_CFLAGS="$CFLAGS"
4018 save_LDFLAGS="$LDFLAGS"
4019 CFLAGS="$CFLAGS $PIECFLAGS"
4020 LDFLAGS="$LDFLAGS $PIELDFLAGS"
4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4025 if ac_fn_c_try_link "$LINENO"; then :
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
4028 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
4033 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
4038 rm -f core conftest.err conftest.$ac_objext \
4039 conftest$ac_exeext conftest.$ac_ext
4040 CFLAGS="$save_CFLAGS"
4041 LDFLAGS="$save_LDFLAGS"
4047 # Check for support for symbol hiding via gcc flags
4048 # Check whether --enable-visibility was given.
4049 if test "${enable_visibility+set}" = set; then :
4050 enableval=$enable_visibility;
4053 if test "x$cc_is_gcc" = xyes -a "$enable_visibility" != no; then :
4055 INVISIBILITY="-fvisibility=hidden"
4056 save_CFLAGS="$CFLAGS"
4057 CFLAGS="$CFLAGS -c $INVISIBILITY"
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4060 int visible () { return 0; }
4062 if ac_fn_c_try_compile "$LINENO"; then :
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&5
4065 $as_echo "$as_me: Compiling DSO PMDAs with gcc -fvisibility=hidden" >&6;}
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fvisibility." >&5
4070 $as_echo "$as_me: Compiler does not support -fvisibility." >&6;}
4074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075 CFLAGS="$save_CFLAGS"
4081 ac_cpp='$CXXCPP $CPPFLAGS'
4082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4085 if test -z "$CXX"; then
4086 if test -n "$CCC"; then
4089 if test -n "$ac_tool_prefix"; then
4090 for ac_prog in eg++ g++ c++
4092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if ${ac_cv_prog_CXX+:} false; then :
4097 $as_echo_n "(cached) " >&6
4099 if test -n "$CXX"; then
4100 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4106 test -z "$as_dir" && as_dir=.
4107 for ac_exec_ext in '' $ac_executable_extensions; do
4108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4109 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4120 if test -n "$CXX"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4122 $as_echo "$CXX" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4129 test -n "$CXX" && break
4132 if test -z "$CXX"; then
4134 for ac_prog in eg++ g++ c++
4136 # Extract the first word of "$ac_prog", so it can be a program name with args.
4137 set dummy $ac_prog; ac_word=$2
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4139 $as_echo_n "checking for $ac_word... " >&6; }
4140 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4141 $as_echo_n "(cached) " >&6
4143 if test -n "$ac_ct_CXX"; then
4144 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150 test -z "$as_dir" && as_dir=.
4151 for ac_exec_ext in '' $ac_executable_extensions; do
4152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4153 ac_cv_prog_ac_ct_CXX="$ac_prog"
4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4164 if test -n "$ac_ct_CXX"; then
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4166 $as_echo "$ac_ct_CXX" >&6; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4169 $as_echo "no" >&6; }
4173 test -n "$ac_ct_CXX" && break
4176 if test "x$ac_ct_CXX" = x; then
4179 case $cross_compiling:$ac_tool_warned in
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4183 ac_tool_warned=yes ;;
4191 # Provide some information about the compiler.
4192 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4195 for ac_option in --version -v -V -qversion; do
4196 { { ac_try="$ac_compiler $ac_option >&5"
4198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4199 *) ac_try_echo
=$ac_try;;
4201 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4202 $as_echo "$ac_try_echo"; } >&5
4203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4205 if test -s conftest.err
; then
4207 ... rest of stderr output deleted ...
4208 10q' conftest.err
>conftest.er1
4209 cat conftest.er1
>&5
4211 rm -f conftest.er1 conftest.err
4212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213 test $ac_status = 0; }
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4217 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4218 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4219 $as_echo_n "(cached) " >&6
4221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4235 if ac_fn_cxx_try_compile
"$LINENO"; then :
4240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4241 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4245 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4246 if test $ac_compiler_gnu = yes; then
4251 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4252 ac_save_CXXFLAGS
=$CXXFLAGS
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4254 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4255 if ${ac_cv_prog_cxx_g+:} false
; then :
4256 $as_echo_n "(cached) " >&6
4258 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4259 ac_cxx_werror_flag
=yes
4262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4273 if ac_fn_cxx_try_compile
"$LINENO"; then :
4274 ac_cv_prog_cxx_g
=yes
4277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4288 if ac_fn_cxx_try_compile
"$LINENO"; then :
4291 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4304 if ac_fn_cxx_try_compile
"$LINENO"; then :
4305 ac_cv_prog_cxx_g
=yes
4307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4312 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4315 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4316 if test "$ac_test_CXXFLAGS" = set; then
4317 CXXFLAGS
=$ac_save_CXXFLAGS
4318 elif test $ac_cv_prog_cxx_g = yes; then
4319 if test "$GXX" = yes; then
4325 if test "$GXX" = yes; then
4332 ac_cpp
='$CPP $CPPFLAGS'
4333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C++ compiler" >&5
4340 $as_echo_n "checking for working C++ compiler... " >&6; }
4342 ac_cpp
='$CXXCPP $CPPFLAGS'
4343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4354 const char gday[] = "G'day, world\n";
4359 if ac_fn_cxx_try_compile
"$LINENO"; then :
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4361 $as_echo "yes" >&6; }
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4369 ac_cpp
='$CPP $CPPFLAGS'
4370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4375 # Prevent shared libraries from being built for libpcp and other core libraries
4376 # Check whether --enable-shared was given.
4377 if test "${enable_shared+set}" = set; then :
4378 enableval
=$enable_shared; PACKAGE_CONFIGURE
="$PACKAGE_CONFIGURE --disable-shared=$withval"
4384 test -z "$AWK" && for ac_prog
in gawk
awk
4386 # Extract the first word of "$ac_prog", so it can be a program name with args.
4387 set dummy
$ac_prog; ac_word
=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_path_AWK+:} false
; then :
4391 $as_echo_n "(cached) " >&6
4395 ac_cv_path_AWK
="$AWK" # Let the user override the test with a path.
4398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4402 test -z "$as_dir" && as_dir
=.
4403 for ac_exec_ext
in '' $ac_executable_extensions; do
4404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4405 ac_cv_path_AWK
="$as_dir/$ac_word$ac_exec_ext"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 if test -n "$AWK"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4419 $as_echo "$AWK" >&6; }
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4426 test -n "$AWK" && break
4428 test -n "$AWK" || AWK
="/usr/bin/awk"
4441 if test -z "$SED"; then
4442 # Extract the first word of "sed", so it can be a program name with args.
4443 set dummy
sed; ac_word
=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if ${ac_cv_path_SED+:} false
; then :
4447 $as_echo_n "(cached) " >&6
4451 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
4454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4458 test -z "$as_dir" && as_dir
=.
4459 for ac_exec_ext
in '' $ac_executable_extensions; do
4460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4461 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="/bin/sed"
4474 if test -n "$SED"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4476 $as_echo "$SED" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4484 if test ! -x "$SED"; then
4485 as_fn_error $?
"cannot find a valid 'sed' command." "$LINENO" 5
4490 if test -z "$ECHO"; then
4491 # Extract the first word of "echo", so it can be a program name with args.
4492 set dummy
echo; ac_word
=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if ${ac_cv_path_ECHO+:} false
; then :
4496 $as_echo_n "(cached) " >&6
4500 ac_cv_path_ECHO
="$ECHO" # Let the user override the test with a path.
4503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir
=.
4508 for ac_exec_ext
in '' $ac_executable_extensions; do
4509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4510 ac_cv_path_ECHO
="$as_dir/$ac_word$ac_exec_ext"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO
="/bin/echo"
4522 ECHO
=$ac_cv_path_ECHO
4523 if test -n "$ECHO"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4525 $as_echo "$ECHO" >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4533 if test ! -x "$ECHO"; then
4534 as_fn_error $?
"cannot find a valid 'echo' command." "$LINENO" 5
4539 if test -z "$FIND"; then
4540 # Extract the first word of "find", so it can be a program name with args.
4541 set dummy
find; ac_word
=$2
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4543 $as_echo_n "checking for $ac_word... " >&6; }
4544 if ${ac_cv_path_FIND+:} false
; then :
4545 $as_echo_n "(cached) " >&6
4549 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
="/usr/bin/find"
4571 FIND
=$ac_cv_path_FIND
4572 if test -n "$FIND"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FIND" >&5
4574 $as_echo "$FIND" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4582 if test ! -x "$FIND"; then
4583 as_fn_error $?
"cannot find a valid 'find' command." "$LINENO" 5
4588 if test -z "$WHICH"; then
4589 # Extract the first word of "which", so it can be a program name with args.
4590 set dummy
which; ac_word
=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if ${ac_cv_path_WHICH+:} false
; then :
4594 $as_echo_n "(cached) " >&6
4598 ac_cv_path_WHICH
="$WHICH" # Let the user override the test with a path.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_path_WHICH
="$as_dir/$ac_word$ac_exec_ext"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4616 test -z "$ac_cv_path_WHICH" && ac_cv_path_WHICH
="/usr/bin/which"
4620 WHICH
=$ac_cv_path_WHICH
4621 if test -n "$WHICH"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WHICH" >&5
4623 $as_echo "$WHICH" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4631 if test ! -x "$WHICH"; then
4632 as_fn_error $?
"cannot find a valid 'which' command." "$LINENO" 5
4637 for ac_prog
in flex
lex
4639 # Extract the first word of "$ac_prog", so it can be a program name with args.
4640 set dummy
$ac_prog; ac_word
=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_LEX+:} false
; then :
4644 $as_echo_n "(cached) " >&6
4646 if test -n "$LEX"; then
4647 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir
=.
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_LEX
="$ac_prog"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 if test -n "$LEX"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4669 $as_echo "$LEX" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4676 test -n "$LEX" && break
4678 test -n "$LEX" || LEX
=":"
4680 if test "x$LEX" != "x:"; then
4681 cat >conftest.l
<<_ACEOF
4687 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
4688 yyless ((input () != 0)); }
4689 f { unput (yytext[0]); }
4690 . { BEGIN INITIAL; }
4692 #ifdef YYTEXT_POINTER
4693 extern char *yytext;
4698 return ! yylex () + ! yywrap ();
4701 { { ac_try
="$LEX conftest.l"
4703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4704 *) ac_try_echo=$ac_try;;
4706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4707 $as_echo "$ac_try_echo"; } >&5
4708 (eval "$LEX conftest.l") 2>&5
4710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4711 test $ac_status = 0; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4713 $as_echo_n "checking lex output file root... " >&6; }
4714 if ${ac_cv_prog_lex_root+:} false; then :
4715 $as_echo_n "(cached) " >&6
4718 if test -f lex.yy.c; then
4719 ac_cv_prog_lex_root=lex.yy
4720 elif test -f lexyy.c; then
4721 ac_cv_prog_lex_root=lexyy
4723 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4727 $as_echo "$ac_cv_prog_lex_root" >&6; }
4728 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4730 if test -z "${LEXLIB+set}"; then
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4732 $as_echo_n "checking lex library... " >&6; }
4733 if ${ac_cv_lib_lex+:} false; then :
4734 $as_echo_n "(cached) " >&6
4738 ac_cv_lib_lex='none needed'
4739 for ac_lib in '' -lfl -ll; do
4740 LIBS="$ac_lib $ac_save_LIBS"
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 `cat $LEX_OUTPUT_ROOT.c
`
4745 if ac_fn_c_try_link "$LINENO"; then :
4746 ac_cv_lib_lex=$ac_lib
4748 rm -f core conftest.err conftest.$ac_objext \
4749 conftest$ac_exeext conftest.$ac_ext
4750 test "$ac_cv_lib_lex" != 'none needed' && break
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4756 $as_echo "$ac_cv_lib_lex" >&6; }
4757 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4762 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4763 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4764 $as_echo_n "(cached) " >&6
4766 # POSIX says lex can declare yytext either as a pointer or an array; the
4767 # default is implementation-dependent. Figure out which it is, since
4768 # not all implementations provide the %pointer and %array declarations.
4769 ac_cv_prog_lex_yytext_pointer=no
4771 LIBS="$LEXLIB $ac_save_LIBS"
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4775 #define YYTEXT_POINTER 1
4776 `cat $LEX_OUTPUT_ROOT.c
`
4778 if ac_fn_c_try_link "$LINENO"; then :
4779 ac_cv_prog_lex_yytext_pointer=yes
4781 rm -f core conftest.err conftest.$ac_objext \
4782 conftest$ac_exeext conftest.$ac_ext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4787 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4788 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4790 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4793 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4796 lex=`$echo $LEX |
awk '{print $1}'`
4798 if test ! -x "$lex"; then
4799 as_fn_error $? "cannot find a valid 'lex'/'flex' command." "$LINENO" 5
4804 for ac_prog in 'bison -y' byacc
4806 # Extract the first word of "$ac_prog", so it can be a program name with args.
4807 set dummy $ac_prog; ac_word=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_YACC+:} false; then :
4811 $as_echo_n "(cached) " >&6
4813 if test -n "$YACC"; then
4814 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4823 ac_cv_prog_YACC="$ac_prog"
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 YACC=$ac_cv_prog_YACC
4834 if test -n "$YACC"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4836 $as_echo "$YACC" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4843 test -n "$YACC" && break
4845 test -n "$YACC" || YACC="yacc"
4847 yacc=`$echo $YACC |
awk '{print $1}'`
4848 yacc=`$which "$yacc"`
4849 if test ! -x "$yacc"; then
4850 as_fn_error $? "cannot find a valid 'yacc'/'bison' command." "$LINENO" 5
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where unix-like sort(1) lives" >&5
4856 $as_echo_n "checking where unix-like sort(1) lives... " >&6; }
4857 if test $target_os = mingw; then
4858 for d in /bin /usr/bin /mingw/bin /mingw/usr/bin
4860 if test -x $d/sort; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sort" >&5
4869 $as_echo "$sort" >&6; }
4874 echo "FATAL ERROR: $sort -n failed!"
4875 rm -rf conftest conftest.*
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if echo uses -n or backslash-c to suppress newlines" >&5
4881 $as_echo_n "checking if echo uses -n or backslash-c to suppress newlines... " >&6; }
4882 if ( $echo "testing\c"; $echo 1,2,3 ) | grep c >/dev/null
4884 if ( $echo -n testing; $echo 1,2,3 ) | sed s/-n/xn/ | grep xn >/dev/null
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither?" >&5
4888 $as_echo "neither?" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -n" >&5
4892 $as_echo " -n" >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: backslash-c" >&5
4897 $as_echo "backslash-c" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4903 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4904 if ${ac_cv_path_GREP+:} false; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -z "$GREP"; then
4908 ac_path_GREP_found=false
4909 # Loop through the user's path and test for each of PROGNAME-LIST
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4914 test -z "$as_dir" && as_dir=.
4915 for ac_prog in grep ggrep; do
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4918 as_fn_executable_p "$ac_path_GREP" || continue
4919 # Check for GNU ac_path_GREP and select it if it is found.
4920 # Check for GNU $ac_path_GREP
4921 case `"$ac_path_GREP" --version 2>&1` in
4923 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4926 $as_echo_n 0123456789 >"conftest.in"
4929 cat "conftest.in" "conftest.in" >"conftest.tmp"
4930 mv "conftest.tmp" "conftest.in"
4931 cp "conftest.in" "conftest.nl"
4932 $as_echo 'GREP' >> "conftest.nl"
4933 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4934 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4935 as_fn_arith $ac_count + 1 && ac_count=$as_val
4936 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4937 # Best one so far, save it but keep looking for a better one
4938 ac_cv_path_GREP="$ac_path_GREP"
4939 ac_path_GREP_max=$ac_count
4941 # 10*(2^10) chars as input seems more than enough
4942 test $ac_count -gt 10 && break
4944 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4947 $ac_path_GREP_found && break 3
4952 if test -z "$ac_cv_path_GREP"; then
4953 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4956 ac_cv_path_GREP=$GREP
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4961 $as_echo "$ac_cv_path_GREP" >&6; }
4962 GREP="$ac_cv_path_GREP"
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4966 $as_echo_n "checking for egrep... " >&6; }
4967 if ${ac_cv_path_EGREP+:} false; then :
4968 $as_echo_n "(cached) " >&6
4970 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4971 then ac_cv_path_EGREP="$GREP -E"
4973 if test -z "$EGREP"; then
4974 ac_path_EGREP_found=false
4975 # Loop through the user's path and test for each of PROGNAME-LIST
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4980 test -z "$as_dir" && as_dir=.
4981 for ac_prog in egrep; do
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4984 as_fn_executable_p "$ac_path_EGREP" || continue
4985 # Check for GNU ac_path_EGREP and select it if it is found.
4986 # Check for GNU $ac_path_EGREP
4987 case `"$ac_path_EGREP" --version 2>&1` in
4989 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4992 $as_echo_n 0123456789 >"conftest.in"
4995 cat "conftest.in" "conftest.in" >"conftest.tmp"
4996 mv "conftest.tmp" "conftest.in"
4997 cp "conftest.in" "conftest.nl"
4998 $as_echo 'EGREP' >> "conftest.nl"
4999 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5000 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5001 as_fn_arith $ac_count + 1 && ac_count=$as_val
5002 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5003 # Best one so far, save it but keep looking for a better one
5004 ac_cv_path_EGREP="$ac_path_EGREP"
5005 ac_path_EGREP_max=$ac_count
5007 # 10*(2^10) chars as input seems more than enough
5008 test $ac_count -gt 10 && break
5010 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5013 $ac_path_EGREP_found && break 3
5018 if test -z "$ac_cv_path_EGREP"; then
5019 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5022 ac_cv_path_EGREP=$EGREP
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5028 $as_echo "$ac_cv_path_EGREP" >&6; }
5029 EGREP="$ac_cv_path_EGREP"
5033 if test "$do_probes" = "check" -o "$do_probes" = "yes"
5036 for ac_prog in dtrace
5038 # Extract the first word of "$ac_prog", so it can be a program name with args.
5039 set dummy $ac_prog; ac_word=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_DTRACE+:} false; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$DTRACE"; then
5046 ac_cv_prog_DTRACE="$DTRACE" # Let the user override the test.
5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir=.
5053 for ac_exec_ext in '' $ac_executable_extensions; do
5054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5055 ac_cv_prog_DTRACE="$ac_prog"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 DTRACE=$ac_cv_prog_DTRACE
5066 if test -n "$DTRACE"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
5068 $as_echo "$DTRACE" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5075 test -n "$DTRACE" && break
5078 if test -z "$DTRACE"
5080 if test "$do_probes" = "yes"
5082 as_fn_error $? "cannot enable static probes - no dtrace executable" "$LINENO" 5
5087 ac_cpp='$CPP $CPPFLAGS'
5088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5092 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5093 # On Suns, sometimes $CPP names a directory.
5094 if test -n "$CPP" && test -d "$CPP"; then
5097 if test -z "$CPP"; then
5098 if ${ac_cv_prog_CPP+:} false; then :
5099 $as_echo_n "(cached) " >&6
5101 # Double quotes because CPP needs to be expanded
5102 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5105 for ac_c_preproc_warn_flag in '' yes
5107 # Use a header file that comes with gcc, so configuring glibc
5108 # with a fresh cross-compiler works.
5109 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5110 # <limits.h> exists even on freestanding compilers.
5111 # On the NeXT, cc -E runs the code through the compiler's parser,
5112 # not just through cpp. "Syntax error" is here to catch this case.
5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5116 # include <limits.h>
5118 # include <assert.h>
5122 if ac_fn_c_try_cpp "$LINENO"; then :
5125 # Broken: fails on valid input.
5128 rm -f conftest.err conftest.i conftest.$ac_ext
5130 # OK, works on sane cases. Now check whether nonexistent headers
5131 # can be detected and how.
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5134 #include <ac_nonexistent.h>
5136 if ac_fn_c_try_cpp "$LINENO"; then :
5137 # Broken: success on invalid input.
5140 # Passes both tests.
5144 rm -f conftest.err conftest.i conftest.$ac_ext
5147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5148 rm -f conftest.i conftest.err conftest.
$ac_ext
5149 if $ac_preproc_ok; then :
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5162 $as_echo "$CPP" >&6; }
5164 for ac_c_preproc_warn_flag
in '' yes
5166 # Use a header file that comes with gcc, so configuring glibc
5167 # with a fresh cross-compiler works.
5168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5169 # <limits.h> exists even on freestanding compilers.
5170 # On the NeXT, cc -E runs the code through the compiler's parser,
5171 # not just through cpp. "Syntax error" is here to catch this case.
5172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5175 # include <limits.h>
5177 # include <assert.h>
5181 if ac_fn_c_try_cpp
"$LINENO"; then :
5184 # Broken: fails on valid input.
5187 rm -f conftest.err conftest.i conftest.
$ac_ext
5189 # OK, works on sane cases. Now check whether nonexistent headers
5190 # can be detected and how.
5191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5193 #include <ac_nonexistent.h>
5195 if ac_fn_c_try_cpp
"$LINENO"; then :
5196 # Broken: success on invalid input.
5199 # Passes both tests.
5203 rm -f conftest.err conftest.i conftest.
$ac_ext
5206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5207 rm -f conftest.i conftest.err conftest.
$ac_ext
5208 if $ac_preproc_ok; then :
5211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5213 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5214 See \`config.log' for more details" "$LINENO" 5; }
5218 ac_cpp
='$CPP $CPPFLAGS'
5219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5225 $as_echo_n "checking for ANSI C header files... " >&6; }
5226 if ${ac_cv_header_stdc+:} false
; then :
5227 $as_echo_n "(cached) " >&6
5229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5230 /* end confdefs.h. */
5244 if ac_fn_c_try_compile
"$LINENO"; then :
5245 ac_cv_header_stdc
=yes
5247 ac_cv_header_stdc
=no
5249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5251 if test $ac_cv_header_stdc = yes; then
5252 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5259 $EGREP "memchr" >/dev
/null
2>&1; then :
5262 ac_cv_header_stdc
=no
5268 if test $ac_cv_header_stdc = yes; then
5269 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5276 $EGREP "free" >/dev
/null
2>&1; then :
5279 ac_cv_header_stdc
=no
5285 if test $ac_cv_header_stdc = yes; then
5286 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5287 if test "$cross_compiling" = yes; then :
5290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5294 #if ((' ' & 0x0FF) == 0x020)
5295 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5296 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5298 # define ISLOWER(c) \
5299 (('a' <= (c) && (c) <= 'i') \
5300 || ('j' <= (c) && (c) <= 'r') \
5301 || ('s' <= (c) && (c) <= 'z'))
5302 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5305 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5310 for (i = 0; i < 256; i++)
5311 if (XOR (islower (i), ISLOWER (i))
5312 || toupper (i) != TOUPPER (i))
5317 if ac_fn_c_try_run
"$LINENO"; then :
5320 ac_cv_header_stdc
=no
5322 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5323 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5329 $as_echo "$ac_cv_header_stdc" >&6; }
5330 if test $ac_cv_header_stdc = yes; then
5332 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5336 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5337 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5338 inttypes.h stdint.h unistd.h
5340 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5341 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5343 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5344 cat >>confdefs.h
<<_ACEOF
5345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5353 for ac_header
in sys
/sdt.h
5355 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default"
5356 if test "x$ac_cv_header_sys_sdt_h" = xyes
; then :
5357 cat >>confdefs.h
<<_ACEOF
5358 #define HAVE_SYS_SDT_H 1
5361 if $enable_probes = true
5363 if test $target_os = kfreebsd
5366 elif test $target_os = freebsd
5368 rm -f conftest.d conftest.h
5369 cat <<End-of-File >conftest.d
5374 if dtrace
-s conftest.d
-h >/dev
/null
2>&1
5376 if test ! -f conftest.h
5379 if test "$do_probes" = "yes"
5381 as_fn_error $?
"cannot enable static probes - no .h from dtrace -h" "$LINENO" 5
5386 if test "$do_probes" = "yes"
5388 as_fn_error $?
"cannot enable static probes - dtrace failed" "$LINENO" 5
5397 if test "$do_probes" = "yes"
5399 as_fn_error $?
"cannot enable static probes - no SDT header" "$LINENO" 5
5407 if test "$enable_probes" = "true"
5410 $as_echo "#define HAVE_STATIC_PROBES 1" >>confdefs.h
5417 if test "x$do_discovery" != "xno"; then :
5419 # on Mac OS X, dns_sd.h
5421 # on Linux, aloha Avahi
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
5426 $as_echo_n "checking for avahi... " >&6; }
5428 if test -n "$avahi_CFLAGS"; then
5429 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
5430 elif test -n "$PKG_CONFIG"; then
5431 if test -n "$PKG_CONFIG" && \
5432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
5433 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
5435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5436 test $ac_status = 0; }; then
5437 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
5438 test "x$?" != "x0" && pkg_failed
=yes
5445 if test -n "$avahi_LIBS"; then
5446 pkg_cv_avahi_LIBS
="$avahi_LIBS"
5447 elif test -n "$PKG_CONFIG"; then
5448 if test -n "$PKG_CONFIG" && \
5449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
5450 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
5452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5453 test $ac_status = 0; }; then
5454 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
5455 test "x$?" != "x0" && pkg_failed
=yes
5465 if test $pkg_failed = yes; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5470 _pkg_short_errors_supported
=yes
5472 _pkg_short_errors_supported
=no
5474 if test $_pkg_short_errors_supported = yes; then
5475 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
5477 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
5479 # Put the nasty error message in config.log where it belongs
5480 echo "$avahi_PKG_ERRORS" >&5
5483 elif test $pkg_failed = untried
; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5488 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
5489 avahi_LIBS
=$pkg_cv_avahi_LIBS
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5491 $as_echo "yes" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi_client_new in -lavahi-client" >&5
5493 $as_echo_n "checking for avahi_client_new in -lavahi-client... " >&6; }
5494 if ${ac_cv_lib_avahi_client_avahi_client_new+:} false
; then :
5495 $as_echo_n "(cached) " >&6
5497 ac_check_lib_save_LIBS
=$LIBS
5498 LIBS
="-lavahi-client $LIBS"
5499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5500 /* end confdefs.h. */
5502 /* Override any GCC internal prototype to avoid an error.
5503 Use char because int might match the return type of a GCC
5504 builtin and then its argument prototype would still apply. */
5508 char avahi_client_new ();
5512 return avahi_client_new ();
5517 if ac_fn_c_try_link
"$LINENO"; then :
5518 ac_cv_lib_avahi_client_avahi_client_new
=yes
5520 ac_cv_lib_avahi_client_avahi_client_new
=no
5522 rm -f core conftest.err conftest.
$ac_objext \
5523 conftest
$ac_exeext conftest.
$ac_ext
5524 LIBS
=$ac_check_lib_save_LIBS
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avahi_client_avahi_client_new" >&5
5527 $as_echo "$ac_cv_lib_avahi_client_avahi_client_new" >&6; }
5528 if test "x$ac_cv_lib_avahi_client_avahi_client_new" = xyes
; then :
5529 lib_for_avahi
="-lavahi-common -lavahi-client"
5536 for ac_header
in avahi-client
/publish.h
5538 ac_fn_c_check_header_mongrel
"$LINENO" "avahi-client/publish.h" "ac_cv_header_avahi_client_publish_h" "$ac_includes_default"
5539 if test "x$ac_cv_header_avahi_client_publish_h" = xyes
; then :
5540 cat >>confdefs.h
<<_ACEOF
5541 #define HAVE_AVAHI_CLIENT_PUBLISH_H 1
5550 for ac_header
in avahi-common
/alternative.h
5552 ac_fn_c_check_header_mongrel
"$LINENO" "avahi-common/alternative.h" "ac_cv_header_avahi_common_alternative_h" "$ac_includes_default"
5553 if test "x$ac_cv_header_avahi_common_alternative_h" = xyes
; then :
5554 cat >>confdefs.h
<<_ACEOF
5555 #define HAVE_AVAHI_COMMON_ALTERNATIVE_H 1
5565 if test "$enable_avahi" = "true"
5570 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
5572 enable_discovery
=true
5575 if test "$do_discovery" != "check" -a "$enable_discovery" != "true"
5577 as_fn_error $?
"cannot enable service discovery - no supported mechanisms" "$LINENO" 5
5579 if test "$enable_discovery" = "true"
5582 $as_echo "#define HAVE_SERVICE_DISCOVERY 1" >>confdefs.h
5590 enable_systemd
=false
5591 if test "x$do_systemd" != "xno"; then :
5596 if test -n "$SYSTEMD_SYSTEMUNITDIR"; then
5597 pkg_cv_SYSTEMD_SYSTEMUNITDIR
="$SYSTEMD_SYSTEMUNITDIR"
5598 elif test -n "$PKG_CONFIG"; then
5599 if test -n "$PKG_CONFIG" && \
5600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
5601 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
5603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5604 test $ac_status = 0; }; then
5605 pkg_cv_SYSTEMD_SYSTEMUNITDIR
=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/null`
5606 test "x$?" != "x0" && pkg_failed
=yes
5613 SYSTEMD_SYSTEMUNITDIR
=$pkg_cv_SYSTEMD_SYSTEMUNITDIR
5615 if test "x$SYSTEMD_SYSTEMUNITDIR" = x
""; then :
5616 enable_systemd
=false
5618 pcp_systemdunit_dir
=$SYSTEMD_SYSTEMUNITDIR
5621 if test -z "$pcp_systemdunit_dir"
5623 if test "$do_systemd" = "yes"
5625 as_fn_error $?
"cannot enable systemd support - no systemunitdir path" "$LINENO" 5
5627 enable_systemd
=false
5633 # NB: No AC_PREFIX_DEFAULT is needed, as the default configure invocation
5634 # targets a build for non-system directories such as /usr/local.
5635 # AC_PREFIX_DEFAULT([])
5638 PACKAGE_VERSION
=${PACKAGE_MAJOR}.${PACKAGE_MINOR}.${PACKAGE_REVISION}
5645 if test -z "$PACKAGE_BUILD_DATE" ; then
5646 PACKAGE_BUILD_DATE
=`date +%Y-%m-%d`
5650 if test -z "$PACKAGE_DISTRIBUTION" ; then
5651 PACKAGE_DISTRIBUTION
=$target_distro
5655 pm_version_current
=`awk </dev/null "BEGIN { print (${PACKAGE_MAJOR}*256+${PACKAGE_MINOR})*256+${PACKAGE_REVISION} }"`
5658 ac_config_headers
="$ac_config_headers src/include/pcp/config.h src/include/pcp/configsz.h"
5660 ac_config_files
="$ac_config_files src/include/pcp/platform_defs.h src/include/pcp/platformsz.h"
5662 cat >confcache
<<\_ACEOF
5663 # This file is a shell script that caches the results of configure
5664 # tests run on this system so they can be shared between configure
5665 # scripts and configure runs, see configure's option --config-cache.
5666 # It is not useful on other systems. If it contains results you don't
5667 # want to keep, you may remove or edit it.
5669 # config.status only pays attention to the cache file if you give it
5670 # the --recheck option to rerun configure.
5672 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5673 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5678 # The following way of writing the cache mishandles newlines in values,
5679 # but we know of no workaround that is simple, portable, and efficient.
5680 # So, we kill variables containing newlines.
5681 # Ultrix sh set writes to stderr and can't be redirected directly,
5682 # and sets the high bit in the cache file unless we assign to the vars.
5684 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5685 eval ac_val
=\$
$ac_var
5689 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5690 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5693 _ | IFS | as_nl
) ;; #(
5694 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5695 *) { eval $ac_var=; unset $ac_var;} ;;
5701 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5702 *${as_nl}ac_space
=\
*)
5703 # `set' does not quote correctly, so add quotes: double-quote
5704 # substitution turns \\\\ into \\, and sed turns \\ into \.
5707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5710 # `set' quotes correctly as required by POSIX, so do not add quotes.
5711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5720 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5722 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5724 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5725 if test -w "$cache_file"; then
5726 if test "x$cache_file" != "x/dev/null"; then
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5728 $as_echo "$as_me: updating cache $cache_file" >&6;}
5729 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5730 cat confcache
>"$cache_file"
5732 case $cache_file in #(
5734 mv -f confcache
"$cache_file"$$
&&
5735 mv -f "$cache_file"$$
"$cache_file" ;; #(
5737 mv -f confcache
"$cache_file" ;;
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5743 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5748 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5749 # Let make expand exec_prefix.
5750 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5752 DEFS
=-DHAVE_CONFIG_H
5757 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5758 # 1. Remove the extension, and $U if already installed.
5759 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5760 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5761 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5762 # will be set to the directory where LIBOBJS objects are built.
5763 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5764 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5768 LTLIBOBJS
=$ac_ltlibobjs
5772 : "${CONFIG_STATUS=./config.status}"
5774 ac_clean_files_save
=$ac_clean_files
5775 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5777 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5779 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5781 # Generated by $as_me.
5782 # Run this file to recreate the current configuration.
5783 # Compiler output produced by configure, useful for debugging
5784 # configure, is in config.log if it exists.
5790 SHELL=\${CONFIG_SHELL-$SHELL}
5793 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5794 ## -------------------- ##
5795 ## M4sh Initialization. ##
5796 ## -------------------- ##
5798 # Be more Bourne compatible
5799 DUALCASE
=1; export DUALCASE
# for MKS sh
5800 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5803 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5804 # is contrary to our usage. Disable this feature.
5805 alias -g '${1+"$@"}'='"$@"'
5806 setopt NO_GLOB_SUBST
5808 case `(set -o) 2>/dev/null` in #(
5820 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5821 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5822 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5823 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5824 # Prefer a ksh shell builtin over an external printf program on Solaris,
5825 # but without wasting forks for bash or zsh.
5826 if test -z "$BASH_VERSION$ZSH_VERSION" \
5827 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5828 as_echo='print
-r --'
5829 as_echo_n='print
-rn --'
5830 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5831 as_echo='printf %s
\n'
5832 as_echo_n='printf %s
'
5834 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5835 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5836 as_echo_n='/usr
/ucb
/echo -n'
5838 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5839 as_echo_n_body='eval
5843 expr "X$arg" : "X\\(.*\\)$as_nl";
5844 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5846 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5848 export as_echo_n_body
5849 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5852 as_echo='sh
-c $as_echo_body as_echo
'
5855 # The user is always right.
5856 if test "${PATH_SEPARATOR+set}" != set; then
5858 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5859 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5866 # We need space, tab and new line, in precisely that order. Quoting is
5867 # there to prevent editors from complaining about space-tab.
5868 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5869 # splitting by setting IFS to empty value.)
5872 # Find who we are. Look in the path if we contain no directory separator.
5875 *[\\/]* ) as_myself=$0 ;;
5876 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir=.
5881 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5887 # We did not find ourselves, most probably we were run as `sh COMMAND'
5888 # in which case we are not to be found in the path.
5889 if test "x$as_myself" = x
; then
5892 if test ! -f "$as_myself"; then
5893 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5897 # Unset variables that we do not need and which cause bugs (e.g. in
5898 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5899 # suppresses any "Segmentation fault" message there. '((' could
5900 # trigger a bug in pdksh 5.2.14.
5901 for as_var
in BASH_ENV ENV MAIL MAILPATH
5902 do eval test x\
${$as_var+set} = xset \
5903 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5916 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5919 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5920 # ----------------------------------------
5921 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5922 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5923 # script with STATUS, using 1 if that was 0.
5926 as_status
=$1; test $as_status -eq 0 && as_status
=1
5928 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5929 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5931 $as_echo "$as_me: error: $2" >&2
5932 as_fn_exit
$as_status
5936 # as_fn_set_status STATUS
5937 # -----------------------
5938 # Set $? to STATUS, without forking.
5942 } # as_fn_set_status
5946 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5956 # Portably unset VAR.
5959 { eval $1=; unset $1;}
5961 as_unset
=as_fn_unset
5962 # as_fn_append VAR VALUE
5963 # ----------------------
5964 # Append the text in VALUE to the end of the definition contained in VAR. Take
5965 # advantage of any shell optimizations that allow amortized linear growth over
5966 # repeated appends, instead of the typical quadratic growth present in naive
5968 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5969 eval 'as_fn_append ()
5980 # as_fn_arith ARG...
5981 # ------------------
5982 # Perform arithmetic evaluation on the ARGs, and store the result in the
5983 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5984 # must be portable across $(()) and expr.
5985 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5986 eval 'as_fn_arith ()
5993 as_val
=`expr "$@" || test $? -eq 1`
5998 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5999 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6005 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6006 as_basename
=basename
6011 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6017 as_me
=`$as_basename -- "$0" ||
6018 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6019 X"$0" : 'X\(//\)$' \| \
6020 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6022 sed '/^.*\/\([^/][^/]*\)\/*$/{
6036 # Avoid depending upon Character Ranges.
6037 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6038 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6039 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6040 as_cr_digits
='0123456789'
6041 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6043 ECHO_C
= ECHO_N
= ECHO_T
=
6044 case `echo -n x` in #(((((
6046 case `echo 'xy\c'` in
6047 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6049 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6056 rm -f conf$$ conf$$.exe conf$$.
file
6057 if test -d conf$$.dir
; then
6058 rm -f conf$$.dir
/conf$$.
file
6061 mkdir conf$$.dir
2>/dev
/null
6063 if (echo >conf$$.
file) 2>/dev
/null
; then
6064 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6066 # ... but there are two gotchas:
6067 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6068 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6069 # In both cases, we have to default to `cp -pR'.
6070 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6072 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6080 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6081 rmdir conf$$.dir
2>/dev
/null
6086 # Create "$as_dir" as a directory, including parents if necessary.
6091 -*) as_dir
=.
/$as_dir;;
6093 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6097 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6098 *) as_qdir
=$as_dir;;
6100 as_dirs
="'$as_qdir' $as_dirs"
6101 as_dir
=`$as_dirname -- "$as_dir" ||
6102 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6103 X"$as_dir" : 'X\(//\)[^/]' \| \
6104 X"$as_dir" : 'X\(//\)$' \| \
6105 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6106 $as_echo X"$as_dir" |
6107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6124 test -d "$as_dir" && break
6126 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6127 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6131 if mkdir
-p .
2>/dev
/null
; then
6132 as_mkdir_p
='mkdir -p "$as_dir"'
6134 test -d .
/-p && rmdir .
/-p
6139 # as_fn_executable_p FILE
6140 # -----------------------
6141 # Test if FILE is an executable regular file.
6142 as_fn_executable_p
()
6144 test -f "$1" && test -x "$1"
6145 } # as_fn_executable_p
6147 as_executable_p
=as_fn_executable_p
6149 # Sed expression to map a string onto a valid CPP name.
6150 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6152 # Sed expression to map a string onto a valid variable name.
6153 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6157 ## ----------------------------------- ##
6158 ## Main body of $CONFIG_STATUS script. ##
6159 ## ----------------------------------- ##
6161 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6164 # Save the log message, to keep $0 and so on meaningful, and to
6165 # report actual input values of CONFIG_FILES etc. instead of their
6166 # values after options handling.
6168 This file was extended by $as_me, which was
6169 generated by GNU Autoconf 2.69. Invocation command line was
6171 CONFIG_FILES = $CONFIG_FILES
6172 CONFIG_HEADERS = $CONFIG_HEADERS
6173 CONFIG_LINKS = $CONFIG_LINKS
6174 CONFIG_COMMANDS = $CONFIG_COMMANDS
6177 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6182 case $ac_config_files in *"
6183 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6186 case $ac_config_headers in *"
6187 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6192 # Files that config.status was made for.
6193 config_files="$ac_config_files"
6194 config_headers="$ac_config_headers"
6198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6200 \`$as_me' instantiates files and other configuration actions
6201 from templates according to the current configuration. Unless the files
6202 and actions are specified as TAGs, all are instantiated by default.
6204 Usage: $0 [OPTION]... [TAG]...
6206 -h, --help print this help, then exit
6207 -V, --version print version number and configuration settings, then exit
6208 --config print configuration, then exit
6209 -q, --quiet, --silent
6210 do not print progress messages
6211 -d, --debug don't remove temporary files
6212 --recheck update $as_me by reconfiguring in the same conditions
6213 --file=FILE[:TEMPLATE]
6214 instantiate the configuration file FILE
6215 --header=FILE[:TEMPLATE]
6216 instantiate the configuration header FILE
6218 Configuration files:
6221 Configuration headers:
6224 Report bugs to the package provider."
6227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6228 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6231 configured by $0, generated by GNU Autoconf 2.69,
6232 with options \\"\$ac_cs_config\\"
6234 Copyright (C) 2012 Free Software Foundation, Inc.
6235 This config.status script is free software; the Free Software Foundation
6236 gives unlimited permission to copy, distribute and modify it."
6240 test -n "\$AWK" || AWK=awk
6243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6244 # The default lists apply if the user does not specify any file.
6250 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6251 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6255 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6267 # Handling of the options.
6268 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6270 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6271 $as_echo "$ac_cs_version"; exit ;;
6272 --config |
--confi |
--conf |
--con |
--co |
--c )
6273 $as_echo "$ac_cs_config"; exit ;;
6274 --debug |
--debu |
--deb |
--de |
--d |
-d )
6276 --file |
--fil |
--fi |
--f )
6279 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6280 '') as_fn_error $?
"missing file argument" ;;
6282 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6283 ac_need_defaults
=false
;;
6284 --header |
--heade |
--head |
--hea )
6287 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6289 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6290 ac_need_defaults
=false
;;
6292 # Conflict between --help and --header
6293 as_fn_error $?
"ambiguous option: \`$1'
6294 Try \`$0 --help' for more information.";;
6295 --help |
--hel |
-h )
6296 $as_echo "$ac_cs_usage"; exit ;;
6297 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6298 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6302 -*) as_fn_error $?
"unrecognized option: \`$1'
6303 Try \`$0 --help' for more information." ;;
6305 *) as_fn_append ac_config_targets
" $1"
6306 ac_need_defaults
=false
;;
6312 ac_configure_extra_args
=
6314 if $ac_cs_silent; then
6316 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6321 if \$ac_cs_recheck; then
6322 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6324 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6325 CONFIG_SHELL='$SHELL'
6331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6335 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6336 ## Running $as_me. ##
6342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6347 # Handling of arguments.
6348 for ac_config_target
in $ac_config_targets
6350 case $ac_config_target in
6351 "src/include/pcp/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/config.h" ;;
6352 "src/include/pcp/configsz.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/configsz.h" ;;
6353 "src/include/pcp/platform_defs.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platform_defs.h" ;;
6354 "src/include/pcp/platformsz.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platformsz.h" ;;
6356 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6361 # If the user did not use the arguments to specify the items to instantiate,
6362 # then the envvar interface is used. Set only those that are not.
6363 # We use the long form for the default assignment because of an extremely
6364 # bizarre bug on SunOS 4.1.3.
6365 if $ac_need_defaults; then
6366 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6367 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6370 # Have a temporary directory for convenience. Make it in the build tree
6371 # simply because there is no reason against having it here, and in addition,
6372 # creating and moving files from /tmp can sometimes cause problems.
6373 # Hook for its removal unless debugging.
6374 # Note that there is a small window in which the directory will not be cleaned:
6375 # after its creation but before its name has been assigned to `$tmp'.
6379 trap 'exit_status=$?
6381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6383 trap 'as_fn_exit 1' 1 2 13 15
6385 # Create a (secure) tmp directory for tmp files.
6388 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6392 tmp
=.
/conf$$
-$RANDOM
6393 (umask 077 && mkdir
"$tmp")
6394 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6397 # Set up the scripts for CONFIG_FILES section.
6398 # No need to generate them if there are no CONFIG_FILES.
6399 # This happens for instance with `./config.status config.h'.
6400 if test -n "$CONFIG_FILES"; then
6403 ac_cr
=`echo X | tr X '\015'`
6404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6405 # But we know of no other shell where ac_cr would be empty at this
6406 # point, so we can use a bashism as a fallback.
6407 if test "x$ac_cr" = x
; then
6408 eval ac_cr
=\$
\'\\r
\'
6410 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6422 echo "cat >conf$$subs.awk <<_ACEOF" &&
6423 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6426 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6429 for ac_last_try in false false false false false :; do
6430 . ./conf$$subs.sh ||
6431 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6433 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6434 if test $ac_delim_n = $ac_delim_num; then
6436 elif $ac_last_try; then
6437 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6439 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6445 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6449 s/^/S["/; s
/!.
*/"]=/
6459 s/\(.\{148\}\)..*/\1/
6461 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6466 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6473 s/\(.\{148\}\)..*/\1/
6475 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6479 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6484 ' <conf$$subs.awk | sed '
6489 ' >>$CONFIG_STATUS || ac_write_fail=1
6490 rm -f conf$$subs.awk
6491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6493 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6494 for (key in S) S_is_set[key] = 1
6500 nfields = split(line, field, "@
")
6502 len = length(field[1])
6503 for (i = 2; i < nfields; i++) {
6505 keylen = length(key)
6506 if (S_is_set[key]) {
6508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6509 len += length(value) + length(field[++i])
6520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6521 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6522 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6525 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6526 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6531 # trailing colons and then remove the whole line if VPATH becomes empty
6532 # (actually we leave an empty line to preserve line numbers).
6533 if test "x
$srcdir" = x.; then
6534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6553 fi # test -n "$CONFIG_FILES"
6555 # Set up the scripts for CONFIG_HEADERS section.
6556 # No need to generate them if there are no CONFIG_HEADERS.
6557 # This happens for instance with `./config.status Makefile'.
6558 if test -n "$CONFIG_HEADERS"; then
6559 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6563 # Transform confdefs.h into an awk script `defines.awk', embedded as
6564 # here-document in config.status, that substitutes the proper values into
6565 # config.h.in to produce config.h.
6567 # Create a delimiter string that does not exist in confdefs.h, to ease
6568 # handling of long lines.
6570 for ac_last_try in false false :; do
6571 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6572 if test -z "$ac_tt"; then
6574 elif $ac_last_try; then
6575 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6577 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6581 # For the awk script, D is an array of macro values keyed by name,
6582 # likewise P contains macro parameters if any. Preserve backslash
6583 # newline sequences.
6585 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6587 s/.\{148\}/&'"$ac_delim"'/g
6590 s/^[ ]*#[ ]*define[ ][ ]*/ /
6597 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6599 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6603 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6604 D["\
1"]=" \
3\\\\\\n
"\\/p
6606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6611 s/.\{148\}/&'"$ac_delim"'/g
6616 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6619 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6621 ' <confdefs.h | sed '
6622 s/'"$ac_delim"'/"\\\
6623 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6626 for (key in D) D_is_set[key] = 1
6629 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6631 split(line, arg, " ")
6632 if (arg[1] == "#") {
6636 defundef
= substr
(arg
[1], 2)
6639 split(mac1
, mac2
, "(") #)
6641 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6642 if (D_is_set
[macro
]) {
6643 # Preserve the white space surrounding the "#".
6644 print prefix
"define", macro P
[macro
] D
[macro
]
6647 # Replace #undef with comments. This is necessary, for example,
6648 # in the case of _POSIX_SOURCE, which is predefined and required
6649 # on some systems where configure will not decide to define it.
6650 if (defundef
== "undef") {
6651 print
"/*", prefix defundef
, macro
, "*/"
6659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6660 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6661 fi # test -n "$CONFIG_HEADERS"
6664 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
6669 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6671 case $ac_mode$ac_tag in
6673 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6674 :[FH
]-) ac_tag
=-:-;;
6675 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6692 -) ac_f
="$ac_tmp/stdin";;
6693 *) # Look for the file first in the build tree, then in the source tree
6694 # (if the path is not absolute). The absolute path cannot be DOS-style,
6695 # because $ac_f cannot contain `:'.
6699 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6701 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6703 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6704 as_fn_append ac_file_inputs
" '$ac_f'"
6707 # Let's still pretend it is `configure' which instantiates (i.e., don't
6708 # use $as_me), people would be surprised to read:
6709 # /* config.h. Generated by config.status. */
6710 configure_input
='Generated from '`
6711 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6713 if test x
"$ac_file" != x-
; then
6714 configure_input
="$ac_file. $configure_input"
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6716 $as_echo "$as_me: creating $ac_file" >&6;}
6718 # Neutralize special characters interpreted by sed in replacement strings.
6719 case $configure_input in #(
6720 *\
&* |
*\|
* |
*\\* )
6721 ac_sed_conf_input
=`$as_echo "$configure_input" |
6722 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6723 *) ac_sed_conf_input
=$configure_input;;
6727 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6728 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6733 ac_dir
=`$as_dirname -- "$ac_file" ||
6734 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6735 X"$ac_file" : 'X\(//\)[^/]' \| \
6736 X"$ac_file" : 'X\(//\)$' \| \
6737 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6738 $as_echo X"$ac_file" |
6739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6756 as_dir
="$ac_dir"; as_fn_mkdir_p
6760 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6762 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6763 # A ".." for each directory in $ac_dir_suffix.
6764 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6765 case $ac_top_builddir_sub in
6766 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6767 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6770 ac_abs_top_builddir
=$ac_pwd
6771 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6772 # for backward compatibility:
6773 ac_top_builddir
=$ac_top_build_prefix
6776 .
) # We are building in place.
6778 ac_top_srcdir
=$ac_top_builddir_sub
6779 ac_abs_top_srcdir
=$ac_pwd ;;
6780 [\\/]* | ?
:[\\/]* ) # Absolute name.
6781 ac_srcdir
=$srcdir$ac_dir_suffix;
6782 ac_top_srcdir
=$srcdir
6783 ac_abs_top_srcdir
=$srcdir ;;
6785 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6786 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6787 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6789 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6801 # If the template does not know about datarootdir, expand it.
6802 # FIXME: This hack should be removed a few years after 2.60.
6803 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6814 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6815 *datarootdir
*) ac_datarootdir_seen
=yes;;
6816 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6818 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6821 ac_datarootdir_hack='
6822 s&@datadir@&$datadir&g
6823 s&@docdir@&$docdir&g
6824 s&@infodir@&$infodir&g
6825 s&@localedir@&$localedir&g
6826 s&@mandir@&$mandir&g
6827 s&\\\${datarootdir}&$datarootdir&g' ;;
6831 # Neutralize VPATH when `$srcdir' = `.'.
6832 # Shell code in configure.ac might set extrasub.
6833 # FIXME: do we really want to maintain this feature?
6834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6835 ac_sed_extra="$ac_vpsub
6838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6840 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6841 s|@configure_input@|
$ac_sed_conf_input|
;t t
6842 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6843 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6844 s
&@srcdir@
&$ac_srcdir&;t t
6845 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6846 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6847 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6848 s
&@builddir@
&$ac_builddir&;t t
6849 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6850 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6851 $ac_datarootdir_hack
6853 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6854 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6856 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6857 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6858 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6859 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6861 which seems to be undefined. Please make sure it is defined" >&5
6862 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6863 which seems to be undefined. Please make sure it is defined" >&2;}
6865 rm -f "$ac_tmp/stdin"
6867 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6868 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6876 if test x"$ac_file" != x-; then
6878 $as_echo "/* $configure_input */" \
6879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6880 } >"$ac_tmp/config.h" \
6881 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6882 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6884 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6887 mv "$ac_tmp/config.h" "$ac_file" \
6888 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6891 $as_echo "/* $configure_input */" \
6892 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6893 || as_fn_error $? "could not create -" "$LINENO" 5
6905 ac_clean_files=$ac_clean_files_save
6907 test $ac_write_fail = 0 ||
6908 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6911 # configure is writing to config.log, and then calls config.status.
6912 # config.status does its own redirection, appending to config.log.
6913 # Unfortunately, on DOS this fails, as config.log is still kept open
6914 # by configure, so config.status won't be able to
write to it
; its
6915 # output is simply discarded. So we exec the FD to /dev/null,
6916 # effectively closing config.log, so it can be properly (re)opened and
6917 # appended to by config.status. When coming back to configure, we
6918 # need to make the FD available again.
6919 if test "$no_create" != yes; then
6921 ac_config_status_args
=
6922 test "$silent" = yes &&
6923 ac_config_status_args
="$ac_config_status_args --quiet"
6925 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6927 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6928 # would make configure fail if this is the last instruction.
6929 $ac_cs_success || as_fn_exit
1
6931 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6933 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6939 # Extract the first word of "$ac_prog", so it can be a program name with args.
6940 set dummy
$ac_prog; ac_word
=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942 $as_echo_n "checking for $ac_word... " >&6; }
6943 if ${ac_cv_prog_GIT+:} false
; then :
6944 $as_echo_n "(cached) " >&6
6946 if test -n "$GIT"; then
6947 ac_cv_prog_GIT
="$GIT" # Let the user override the test.
6949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6953 test -z "$as_dir" && as_dir
=.
6954 for ac_exec_ext
in '' $ac_executable_extensions; do
6955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6956 ac_cv_prog_GIT
="$ac_prog"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6967 if test -n "$GIT"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
6969 $as_echo "$GIT" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6976 test -n "$GIT" && break
6981 for ac_prog
in python
6983 # Extract the first word of "$ac_prog", so it can be a program name with args.
6984 set dummy
$ac_prog; ac_word
=$2
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986 $as_echo_n "checking for $ac_word... " >&6; }
6987 if ${ac_cv_prog_PYTHON+:} false
; then :
6988 $as_echo_n "(cached) " >&6
6990 if test -n "$PYTHON"; then
6991 ac_cv_prog_PYTHON
="$PYTHON" # Let the user override the test.
6993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir
=.
6998 for ac_exec_ext
in '' $ac_executable_extensions; do
6999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7000 ac_cv_prog_PYTHON
="$ac_prog"
7001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 PYTHON
=$ac_cv_prog_PYTHON
7011 if test -n "$PYTHON"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
7013 $as_echo "$PYTHON" >&6; }
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016 $as_echo "no" >&6; }
7020 test -n "$PYTHON" && break
7022 test -n "$PYTHON" || PYTHON
="python2.7"
7026 for ac_prog
in python3
7028 # Extract the first word of "$ac_prog", so it can be a program name with args.
7029 set dummy
$ac_prog; ac_word
=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if ${ac_cv_prog_PYTHON3+:} false
; then :
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$PYTHON3"; then
7036 ac_cv_prog_PYTHON3
="$PYTHON3" # Let the user override the test.
7038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir
=.
7043 for ac_exec_ext
in '' $ac_executable_extensions; do
7044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7045 ac_cv_prog_PYTHON3
="$ac_prog"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 PYTHON3
=$ac_cv_prog_PYTHON3
7056 if test -n "$PYTHON3"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
7058 $as_echo "$PYTHON3" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7065 test -n "$PYTHON3" && break
7067 test -n "$PYTHON3" || PYTHON3
="python3.4"
7071 enable_python2
=false
7072 if test "x$do_python" != "xno"; then :
7075 if test -z "$PYTHON"
7077 enable_python2
=false
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python version" >&5
7080 $as_echo_n "checking Python version... " >&6; }
7081 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 }'`
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5
7083 $as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; }
7084 if test "$PY_MAJOR" -lt 2; then
7085 echo WARNING
: Python version
2.6 or later does not seem to be installed.
7086 enable_python2
=false
7088 if test "$PY_MAJOR" -eq 2 -a "$PY_MINOR" -lt 6 ; then
7089 echo WARNING
: Python version
2.
$PY_MINOR is too old.
7090 echo Python version
2.6 or later is required
for Python builds.
7091 enable_python2
=false
7093 for ac_header
in python
${PY_MAJOR}.
${PY_MINOR}/Python.h
7095 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7096 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7097 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7098 cat >>confdefs.h
<<_ACEOF
7099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7104 echo WARNING
: Python version
$PY_MAJOR.
$PY_MINOR header
file missing.
7105 echo Cannot proceed with the Python
$PY_MAJOR installation found.
7106 enable_python2
=false
7116 if test "$do_python" != "check" -a "$enable_python2" != "true"
7118 as_fn_error $?
"cannot enable Python - no supported version found" "$LINENO" 5
7124 enable_python3
=false
7125 if test "x$do_python3" != "xno"; then :
7128 if test -z "$PYTHON3"
7130 enable_python3
=false
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python3 version" >&5
7133 $as_echo_n "checking Python3 version... " >&6; }
7134 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 }'`
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_MAJOR.$PY_MINOR.$PY_POINT" >&5
7136 $as_echo "$PY_MAJOR.$PY_MINOR.$PY_POINT" >&6; }
7137 if test "$PY_MAJOR" -lt 3; then
7138 echo WARNING
: Python version
3.3 or later does not seem to be installed.
7139 enable_python3
=false
7141 if test "$PY_MAJOR" -eq 3 -a "$PY_MINOR" -lt 3 ; then
7142 echo WARNING
: Python version
3.
$PY_MINOR is too old.
7143 echo Python version
3.3 or later is required
for Python builds.
7144 enable_python3
=false
7146 for ac_header
in python
${PY_MAJOR}.
${PY_MINOR}m
/Python.h
7148 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7149 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7150 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7151 cat >>confdefs.h
<<_ACEOF
7152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7157 echo WARNING
: Python version
$PY_MAJOR.
$PY_MINOR header
file missing.
7158 echo Cannot proceed with the Python
$PY_MAJOR installation found.
7159 enable_python3
=false
7169 if test "$do_python3" != "check" -a "$enable_python3" != "true"
7171 as_fn_error $?
"cannot enable Python3 - no supported version found" "$LINENO" 5
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for any python version" >&5
7178 $as_echo_n "checking for any python version... " >&6; }
7179 if test "$cross_compiling" = "yes"; then
7181 echo "cross-compile -> \"$ans\"" >&5
7182 elif test "$enable_python2" = "true" -o "$enable_python3" = "true"
7189 if $have_python; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7190 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 $as_echo "no" >&6; }; fi
7193 if test "$enable_python3" = "true"
7195 pcp_python_prog
=$PYTHON3
7196 elif test "$enable_python2" = "true"
7198 pcp_python_prog
=$PYTHON
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module jsonpointer" >&5
7206 $as_echo_n "checking for Python module jsonpointer... " >&6; }
7211 txt
="import jsonpointer"
7213 $pcp_python_prog -c 'import sys;
7214 '"$txt" >>config.log
2>&1
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7218 $as_echo "yes" >&6; }
7219 eval have_python_jsonpointer
=true
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 $as_echo "no" >&6; }
7223 eval have_python_jsonpointer
=false
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module requests" >&5
7228 $as_echo_n "checking for Python module requests... " >&6; }
7233 txt
="import requests"
7235 $pcp_python_prog -c 'import sys;
7236 '"$txt" >>config.log
2>&1
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7240 $as_echo "yes" >&6; }
7241 eval have_python_requests
=true
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 $as_echo "no" >&6; }
7245 eval have_python_requests
=false
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module six" >&5
7250 $as_echo_n "checking for Python module six... " >&6; }
7257 $pcp_python_prog -c 'import sys;
7258 '"$txt" >>config.log
2>&1
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7262 $as_echo "yes" >&6; }
7263 eval have_python_six
=true
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7266 $as_echo "no" >&6; }
7267 eval have_python_six
=false
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the json PMDA should be included" >&5
7273 $as_echo_n "checking if the json PMDA should be included... " >&6; }
7275 if test "x$do_pmdajson" = "xyes"; then :
7278 if test "x$do_pmdajson" = "xcheck"; then :
7280 $have_python_jsonpointer && $have_python_six && pmda_json
=true
7283 PMDA_JSON
=$pmda_json
7285 if $pmda_json; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7286 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 $as_echo "no" >&6; }; fi
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python module libvirt" >&5
7290 $as_echo_n "checking for Python module libvirt... " >&6; }
7295 txt
="import libvirt"
7297 $pcp_python_prog -c 'import sys;
7298 '"$txt" >>config.log
2>&1
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7302 $as_echo "yes" >&6; }
7303 eval have_python_libvirt
=true
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7307 eval have_python_libvirt
=false
7314 # Extract the first word of "$ac_prog", so it can be a program name with args.
7315 set dummy
$ac_prog; ac_word
=$2
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 $as_echo_n "checking for $ac_word... " >&6; }
7318 if ${ac_cv_prog_PERL+:} false
; then :
7319 $as_echo_n "(cached) " >&6
7321 if test -n "$PERL"; then
7322 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
7324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7328 test -z "$as_dir" && as_dir
=.
7329 for ac_exec_ext
in '' $ac_executable_extensions; do
7330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7331 ac_cv_prog_PERL
="$ac_prog"
7332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 PERL
=$ac_cv_prog_PERL
7342 if test -n "$PERL"; then
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
7344 $as_echo "$PERL" >&6; }
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7347 $as_echo "no" >&6; }
7351 test -n "$PERL" && break
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for any perl version" >&5
7357 $as_echo_n "checking for any perl version... " >&6; }
7358 if test "$cross_compiling" = "yes"; then
7360 echo "cross-compile -> \"$ans\"" >&5
7361 elif test -n "$PERL"
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcp_perl_prog" >&5
7372 $as_echo "$pcp_perl_prog" >&6; }
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the SNMP PMDA should be included" >&5
7375 $as_echo_n "checking if the SNMP PMDA should be included... " >&6; }
7377 if test "x$do_pmdasnmp" = "xyes"; then :
7380 if test "x$do_pmdasnmp" = "xcheck"; then :
7382 if test "$have_perl" = true
7384 if $pcp_perl_prog -e "use Net::SNMP" >/dev
/null
2>&1
7391 PMDA_SNMP
=$pmda_snmp
7393 if $pmda_snmp; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7394 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }; fi
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the mysql PMDA should be included" >&5
7398 $as_echo_n "checking if the mysql PMDA should be included... " >&6; }
7400 if test "$have_perl" = true
7402 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7404 if $pcp_perl_prog -e "use DBD::mysql" >/dev
/null
2>&1
7410 PMDA_MYSQL
=$pmda_mysql
7412 if $pmda_mysql; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7413 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }; fi
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postgresql PMDA should be included" >&5
7417 $as_echo_n "checking if the postgresql PMDA should be included... " >&6; }
7418 pmda_postgresql
=false
7419 if test "$have_perl" = true
7421 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7423 if $pcp_perl_prog -e "use DBD::Pg" >/dev
/null
2>&1
7425 pmda_postgresql
=true
7429 PMDA_POSTGRESQL
=$pmda_postgresql
7431 if $pmda_postgresql; 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 oracle PMDA should be included" >&5
7436 $as_echo_n "checking if the oracle PMDA should be included... " >&6; }
7438 if test "$have_perl" = true
7440 if $pcp_perl_prog -e "use DBI" >/dev
/null
2>&1
7445 PMDA_ORACLE
=$pmda_oracle
7447 if $pmda_oracle; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7448 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }; fi
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the elasticsearch PMDA should be included" >&5
7452 $as_echo_n "checking if the elasticsearch PMDA should be included... " >&6; }
7453 pmda_elasticsearch
=false
7454 if test "$have_perl" = true
7456 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7458 pmda_elasticsearch
=true
7461 PMDA_ELASTICSEARCH
=$pmda_elasticsearch
7463 if $pmda_elasticsearch; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7464 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }; fi
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the nginx PMDA should be included" >&5
7468 $as_echo_n "checking if the nginx PMDA should be included... " >&6; }
7470 if test "$have_perl" = true
7472 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7477 PMDA_NGINX
=$pmda_nginx
7479 if $pmda_nginx; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7480 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }; fi
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the activemq PMDA should be included" >&5
7484 $as_echo_n "checking if the activemq PMDA should be included... " >&6; }
7486 if test "$have_perl" = true
7488 if $pcp_perl_prog -e "use LWP::UserAgent" >/dev
/null
2>&1
7493 PMDA_ACTIVEMQ
=$pmda_activemq
7495 if $pmda_activemq; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7496 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }; fi
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the libvirt PMDA should be included" >&5
7500 $as_echo_n "checking if the libvirt PMDA should be included... " >&6; }
7502 if test "$have_python" = true
7504 if $pcp_python_prog -c "import libvirt" >/dev
/null
2>&1
7506 if $pcp_python_prog -c "import lxml" >/dev
/null
2>&1
7512 PMDA_LIBVIRT
=$pmda_libvirt
7514 if $pmda_libvirt; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7515 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7516 $as_echo "no" >&6; }; fi
7521 if test "x$do_qt" != "xno"; then :
7527 for ac_prog
in qmake-qt5 qmake-qt4 qmake
7529 # Extract the first word of "$ac_prog", so it can be a program name with args.
7530 set dummy
$ac_prog; ac_word
=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_path_QMAKE+:} false
; then :
7534 $as_echo_n "(cached) " >&6
7538 ac_cv_path_QMAKE
="$QMAKE" # Let the user override the test with a path.
7541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7542 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"
7543 for as_dir
in $as_dummy
7546 test -z "$as_dir" && as_dir
=.
7547 for ac_exec_ext
in '' $ac_executable_extensions; do
7548 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7549 ac_cv_path_QMAKE
="$as_dir/$ac_word$ac_exec_ext"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 QMAKE
=$ac_cv_path_QMAKE
7561 if test -n "$QMAKE"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
7563 $as_echo "$QMAKE" >&6; }
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7570 test -n "$QMAKE" && break
7573 test "x$cc_is_gcc" = xyes
-a $target_os = solaris
&& QMAKE
="$QMAKE -spec solaris-g++"
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt version" >&5
7581 $as_echo_n "checking Qt version... " >&6; }
7582 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 }'`
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MAJOR.$QT_MINOR.$QT_POINT" >&5
7584 $as_echo "$QT_MAJOR.$QT_MINOR.$QT_POINT" >&6; }
7585 if test "$QT_MAJOR" -lt 4; then
7586 echo WARNING
: Qt version
4.4 or later does not seem to be installed.
7587 echo Cannot proceed with the Qt
$QT_MAJOR installation found.
7590 if test "$QT_MAJOR" -eq 4 -a "$QT_MINOR" -lt 4 ; then
7591 echo WARNING
: Qt version
4.
$QT_MINOR is too old.
7592 echo Qt version
4.4 or later is required
for Qt builds.
7597 if test "$do_qt" != "check" -a "$enable_qt" != "true"
7599 as_fn_error $?
"cannot enable Qt - no supported Qt installation found" "$LINENO" 5
7600 elif test "$enable_qt" = "true" -a "x$cxx" = "x"
7603 test "$do_qt" != "check" && \
7604 as_fn_error $?
"C++ compiler unavailable, cannot build Qt components" "$LINENO" 5
7605 elif test "$do_qt" = "debug"
7618 # Extract the first word of "gmake", so it can be a program name with args.
7619 set dummy gmake
; ac_word
=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if ${ac_cv_path_MAKE+:} false
; then :
7623 $as_echo_n "(cached) " >&6
7627 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
7630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7634 test -z "$as_dir" && as_dir
=.
7635 for ac_exec_ext
in '' $ac_executable_extensions; do
7636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7637 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
7638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 MAKE
=$ac_cv_path_MAKE
7649 if test -n "$MAKE"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
7651 $as_echo "$MAKE" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7660 # look elsewhere ...
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make elsewhere" >&5
7662 $as_echo_n "checking for GNU make elsewhere... " >&6; }
7663 for f
in /usr
/local
/bin
/gmake
/usr
/freeware
/bin
/gmake
/usr
/local
/bin
/make /opt
/sfw
/bin
/gmake nowhere
7671 if test $f = nowhere
7673 # Check if /usr/bin/make is any good
7674 mver
=`/usr/bin/make --version 2>/dev/null | sed -n -e1p | cut -c1-8`
7675 if test "$mver" != "GNU Make"
7678 echo "FATAL ERROR: could not find GNU make anywhere"
7679 echo "You need to set \$MAKE as the full path to GNU make "
7680 echo "in the environment."
7681 rm -rf conftest conftest.
*
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
7688 $as_echo "$MAKE" >&6; }
7694 if test -z "$CPP"; then
7696 ac_cpp
='$CPP $CPPFLAGS'
7697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7702 # On Suns, sometimes $CPP names a directory.
7703 if test -n "$CPP" && test -d "$CPP"; then
7706 if test -z "$CPP"; then
7707 if ${ac_cv_prog_CPP+:} false
; then :
7708 $as_echo_n "(cached) " >&6
7710 # Double quotes because CPP needs to be expanded
7711 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7714 for ac_c_preproc_warn_flag
in '' yes
7716 # Use a header file that comes with gcc, so configuring glibc
7717 # with a fresh cross-compiler works.
7718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7719 # <limits.h> exists even on freestanding compilers.
7720 # On the NeXT, cc -E runs the code through the compiler's parser,
7721 # not just through cpp. "Syntax error" is here to catch this case.
7722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7725 # include <limits.h>
7727 # include <assert.h>
7731 if ac_fn_c_try_cpp
"$LINENO"; then :
7734 # Broken: fails on valid input.
7737 rm -f conftest.err conftest.i conftest.
$ac_ext
7739 # OK, works on sane cases. Now check whether nonexistent headers
7740 # can be detected and how.
7741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7742 /* end confdefs.h. */
7743 #include <ac_nonexistent.h>
7745 if ac_fn_c_try_cpp
"$LINENO"; then :
7746 # Broken: success on invalid input.
7749 # Passes both tests.
7753 rm -f conftest.err conftest.i conftest.
$ac_ext
7756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7757 rm -f conftest.i conftest.err conftest.
$ac_ext
7758 if $ac_preproc_ok; then :
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7771 $as_echo "$CPP" >&6; }
7773 for ac_c_preproc_warn_flag
in '' yes
7775 # Use a header file that comes with gcc, so configuring glibc
7776 # with a fresh cross-compiler works.
7777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7778 # <limits.h> exists even on freestanding compilers.
7779 # On the NeXT, cc -E runs the code through the compiler's parser,
7780 # not just through cpp. "Syntax error" is here to catch this case.
7781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7784 # include <limits.h>
7786 # include <assert.h>
7790 if ac_fn_c_try_cpp
"$LINENO"; then :
7793 # Broken: fails on valid input.
7796 rm -f conftest.err conftest.i conftest.
$ac_ext
7798 # OK, works on sane cases. Now check whether nonexistent headers
7799 # can be detected and how.
7800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7801 /* end confdefs.h. */
7802 #include <ac_nonexistent.h>
7804 if ac_fn_c_try_cpp
"$LINENO"; then :
7805 # Broken: success on invalid input.
7808 # Passes both tests.
7812 rm -f conftest.err conftest.i conftest.
$ac_ext
7815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7816 rm -f conftest.i conftest.err conftest.
$ac_ext
7817 if $ac_preproc_ok; then :
7820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7822 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7823 See \`config.log' for more details" "$LINENO" 5; }
7827 ac_cpp
='$CPP $CPPFLAGS'
7828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7836 if test -z "$LD"; then
7837 # Extract the first word of "ld", so it can be a program name with args.
7838 set dummy ld
; ac_word
=$2
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840 $as_echo_n "checking for $ac_word... " >&6; }
7841 if ${ac_cv_path_LD+:} false
; then :
7842 $as_echo_n "(cached) " >&6
7846 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
7849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7853 test -z "$as_dir" && as_dir
=.
7854 for ac_exec_ext
in '' $ac_executable_extensions; do
7855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7856 ac_cv_path_LD
="$as_dir/$ac_word$ac_exec_ext"
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7864 test -z "$ac_cv_path_LD" && ac_cv_path_LD
="/usr/bin/ld"
7869 if test -n "$LD"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7871 $as_echo "$LD" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7874 $as_echo "no" >&6; }
7882 if test -z "$PCP_USER_INSTALL" ; then
7883 pcp_user_install
=root
7885 pcp_user_install
="$PCP_USER_INSTALL"
7888 if test -z "$PCP_GROUP_INSTALL" ; then
7891 darwin|freebsd|netbsd|openbsd
)
7892 pcp_group_install
=wheel
7895 pcp_group_install
=root
7899 pcp_group_install
="$PCP_GROUP_INSTALL"
7903 if test -z "$TAR"; then
7904 for ac_prog
in gtar
tar
7906 # Extract the first word of "$ac_prog", so it can be a program name with args.
7907 set dummy
$ac_prog; ac_word
=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7909 $as_echo_n "checking for $ac_word... " >&6; }
7910 if ${ac_cv_path_TAR+:} false
; then :
7911 $as_echo_n "(cached) " >&6
7915 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
7918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7922 test -z "$as_dir" && as_dir
=.
7923 for ac_exec_ext
in '' $ac_executable_extensions; do
7924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7925 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
7926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 if test -n "$TAR"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
7939 $as_echo "$TAR" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7946 test -n "$TAR" && break
7948 test -n "$TAR" || TAR
="tar"
7951 if test $target_os = darwin
-a -x /usr
/bin
/gnutar
7958 if test -z "$ZIP"; then
7959 # Extract the first word of "gzip", so it can be a program name with args.
7960 set dummy
gzip; ac_word
=$2
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7962 $as_echo_n "checking for $ac_word... " >&6; }
7963 if ${ac_cv_path_ZIP+:} false
; then :
7964 $as_echo_n "(cached) " >&6
7968 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
7971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir
=.
7976 for ac_exec_ext
in '' $ac_executable_extensions; do
7977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7986 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="/bin/gzip"
7991 if test -n "$ZIP"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
7993 $as_echo "$ZIP" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996 $as_echo "no" >&6; }
8001 test ! -x "$ZIP" && ZIP
=/usr
/local
/bin
/gzip
8002 test ! -x "$ZIP" && ZIP
=/usr
/freeware
/bin
/gzip
8003 test ! -x "$ZIP" && ZIP
=/usr
/bin
/gzip
8005 test -z "$gzip" && gzip=no-gzip
8008 if test -z "$BZIP2"; then
8009 # Extract the first word of "bzip2", so it can be a program name with args.
8010 set dummy
bzip2; ac_word
=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if ${ac_cv_path_BZIP2+:} false
; then :
8014 $as_echo_n "(cached) " >&6
8018 ac_cv_path_BZIP2
="$BZIP2" # Let the user override the test with a path.
8021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir
=.
8026 for ac_exec_ext
in '' $ac_executable_extensions; do
8027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_path_BZIP2
="$as_dir/$ac_word$ac_exec_ext"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8036 test -z "$ac_cv_path_BZIP2" && ac_cv_path_BZIP2
="/bin/bzip2"
8040 BZIP2
=$ac_cv_path_BZIP2
8041 if test -n "$BZIP2"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BZIP2" >&5
8043 $as_echo "$BZIP2" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8051 test ! -x "$BZIP2" && BZIP2
=/usr
/bin
/bzip2
8052 test ! -x "$BZIP2" && BZIP2
=/usr
/local
/bin
/bzip2
8053 test ! -x "$BZIP2" && BZIP2
=/usr
/freeware
/bin
/bzip2
8055 test -z "$bzip2" && bzip2=no-bzip2
8058 if test -z "$LZMA"; then
8059 # Extract the first word of "lzma", so it can be a program name with args.
8060 set dummy lzma
; ac_word
=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062 $as_echo_n "checking for $ac_word... " >&6; }
8063 if ${ac_cv_path_LZMA+:} false
; then :
8064 $as_echo_n "(cached) " >&6
8068 ac_cv_path_LZMA
="$LZMA" # Let the user override the test with a path.
8071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8075 test -z "$as_dir" && as_dir
=.
8076 for ac_exec_ext
in '' $ac_executable_extensions; do
8077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8078 ac_cv_path_LZMA
="$as_dir/$ac_word$ac_exec_ext"
8079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 test -z "$ac_cv_path_LZMA" && ac_cv_path_LZMA
="/bin/lzma"
8090 LZMA
=$ac_cv_path_LZMA
8091 if test -n "$LZMA"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5
8093 $as_echo "$LZMA" >&6; }
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8101 test ! -x "$LZMA" && LZMA
=/usr
/bin
/lzma
8102 test ! -x "$LZMA" && LZMA
=/usr
/local
/bin
/lzma
8103 test ! -x "$LZMA" && LZMA
=/usr
/freeware
/bin
/lzma
8105 test -z "$lzma" && lzma
=no-lzma
8108 if test -z "$XZ"; then
8109 # Extract the first word of "xz", so it can be a program name with args.
8110 set dummy xz
; ac_word
=$2
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8112 $as_echo_n "checking for $ac_word... " >&6; }
8113 if ${ac_cv_path_XZ+:} false
; then :
8114 $as_echo_n "(cached) " >&6
8118 ac_cv_path_XZ
="$XZ" # Let the user override the test with a path.
8121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8125 test -z "$as_dir" && as_dir
=.
8126 for ac_exec_ext
in '' $ac_executable_extensions; do
8127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_path_XZ
="$as_dir/$ac_word$ac_exec_ext"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8136 test -z "$ac_cv_path_XZ" && ac_cv_path_XZ
="/bin/xz"
8141 if test -n "$XZ"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
8143 $as_echo "$XZ" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146 $as_echo "no" >&6; }
8151 test ! -x "$XZ" && XZ
=/usr
/bin
/xz
8152 test ! -x "$XZ" && XZ
=/usr
/local
/bin
/xz
8153 test ! -x "$XZ" && XZ
=/usr
/freeware
/bin
/xz
8155 test -z "$xz" && xz
=no-xz
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PackageMaker" >&5
8159 $as_echo_n "checking for PackageMaker... " >&6; }
8160 if test -z "$PACKAGE_MAKER"
8162 if test $target_os = darwin
8164 if test -x /Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8165 then # local XCode extras install
8166 package_maker
=/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (local install)" >&5
8168 $as_echo " yes (local install)" >&6; }
8169 elif test -x /Developer
/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8171 package_maker
=/Developer
/Applications
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (darwin 6.x)" >&5
8173 $as_echo " yes (darwin 6.x)" >&6; }
8174 elif test -x /Developer
/Applications
/Utilities
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (darwin 7.x)" >&5
8177 $as_echo " yes (darwin 7.x)" >&6; }
8178 package_maker
=/Developer
/Applications
/Utilities
/PackageMaker.app
/Contents
/MacOS
/PackageMaker
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found!" >&5
8181 $as_echo " not found!" >&6; }
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PackageMaker not found, mac packages will not be made" >&5
8183 $as_echo "$as_me: WARNING: PackageMaker not found, mac packages will not be made" >&2;}
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo " no" >&6; }
8190 package_maker
="$PACKAGE_MAKER"
8194 if test -z "$HDIUTIL"; then
8195 # Extract the first word of "hdiutil", so it can be a program name with args.
8196 set dummy hdiutil
; ac_word
=$2
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8198 $as_echo_n "checking for $ac_word... " >&6; }
8199 if ${ac_cv_path_HDIUTIL+:} false
; then :
8200 $as_echo_n "(cached) " >&6
8204 ac_cv_path_HDIUTIL
="$HDIUTIL" # Let the user override the test with a path.
8207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8211 test -z "$as_dir" && as_dir
=.
8212 for ac_exec_ext
in '' $ac_executable_extensions; do
8213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8214 ac_cv_path_HDIUTIL
="$as_dir/$ac_word$ac_exec_ext"
8215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225 HDIUTIL
=$ac_cv_path_HDIUTIL
8226 if test -n "$HDIUTIL"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HDIUTIL" >&5
8228 $as_echo "$HDIUTIL" >&6; }
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8239 if test -z "$MKINSTALLP"; then
8240 # Extract the first word of "mkinstallp", so it can be a program name with args.
8241 set dummy mkinstallp
; ac_word
=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if ${ac_cv_path_MKINSTALLP+:} false
; then :
8245 $as_echo_n "(cached) " >&6
8249 ac_cv_path_MKINSTALLP
="$MKINSTALLP" # Let the user override the test with a path.
8252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8256 test -z "$as_dir" && as_dir
=.
8257 for ac_exec_ext
in '' $ac_executable_extensions; do
8258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8259 ac_cv_path_MKINSTALLP
="$as_dir/$ac_word$ac_exec_ext"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 MKINSTALLP
=$ac_cv_path_MKINSTALLP
8271 if test -n "$MKINSTALLP"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKINSTALLP" >&5
8273 $as_echo "$MKINSTALLP" >&6; }
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8281 mkinstallp
=$MKINSTALLP
8284 if test -z "$PKGMK"; then
8285 # Extract the first word of "pkgmk", so it can be a program name with args.
8286 set dummy pkgmk
; ac_word
=$2
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8288 $as_echo_n "checking for $ac_word... " >&6; }
8289 if ${ac_cv_path_PKGMK+:} false
; then :
8290 $as_echo_n "(cached) " >&6
8294 ac_cv_path_PKGMK
="$PKGMK" # Let the user override the test with a path.
8297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8301 test -z "$as_dir" && as_dir
=.
8302 for ac_exec_ext
in '' $ac_executable_extensions; do
8303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8304 ac_cv_path_PKGMK
="$as_dir/$ac_word$ac_exec_ext"
8305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8315 PKGMK
=$ac_cv_path_PKGMK
8316 if test -n "$PKGMK"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGMK" >&5
8318 $as_echo "$PKGMK" >&6; }
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8329 if test -z "$DLLTOOL"; then
8330 # Extract the first word of "dlltool", so it can be a program name with args.
8331 set dummy dlltool
; ac_word
=$2
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333 $as_echo_n "checking for $ac_word... " >&6; }
8334 if ${ac_cv_path_DLLTOOL+:} false
; then :
8335 $as_echo_n "(cached) " >&6
8339 ac_cv_path_DLLTOOL
="$DLLTOOL" # Let the user override the test with a path.
8342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8346 test -z "$as_dir" && as_dir
=.
8347 for ac_exec_ext
in '' $ac_executable_extensions; do
8348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8349 ac_cv_path_DLLTOOL
="$as_dir/$ac_word$ac_exec_ext"
8350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360 DLLTOOL
=$ac_cv_path_DLLTOOL
8361 if test -n "$DLLTOOL"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8363 $as_echo "$DLLTOOL" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8374 if test -z "$RPMBUILD"; then
8375 # Extract the first word of "rpmbuild", so it can be a program name with args.
8376 set dummy rpmbuild
; ac_word
=$2
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8378 $as_echo_n "checking for $ac_word... " >&6; }
8379 if ${ac_cv_path_RPMBUILD+:} false
; then :
8380 $as_echo_n "(cached) " >&6
8384 ac_cv_path_RPMBUILD
="$RPMBUILD" # Let the user override the test with a path.
8387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8391 test -z "$as_dir" && as_dir
=.
8392 for ac_exec_ext
in '' $ac_executable_extensions; do
8393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8394 ac_cv_path_RPMBUILD
="$as_dir/$ac_word$ac_exec_ext"
8395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8405 RPMBUILD
=$ac_cv_path_RPMBUILD
8406 if test -n "$RPMBUILD"; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPMBUILD" >&5
8408 $as_echo "$RPMBUILD" >&6; }
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8411 $as_echo "no" >&6; }
8416 test $target_distro = slackware
&& RPMBUILD
=''
8420 if test -z "$RPM"; then
8421 # Extract the first word of "rpm", so it can be a program name with args.
8422 set dummy rpm
; ac_word
=$2
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8424 $as_echo_n "checking for $ac_word... " >&6; }
8425 if ${ac_cv_path_RPM+:} false
; then :
8426 $as_echo_n "(cached) " >&6
8430 ac_cv_path_RPM
="$RPM" # Let the user override the test with a path.
8433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8437 test -z "$as_dir" && as_dir
=.
8438 for ac_exec_ext
in '' $ac_executable_extensions; do
8439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8440 ac_cv_path_RPM
="$as_dir/$ac_word$ac_exec_ext"
8441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 if test -n "$RPM"; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5
8454 $as_echo "$RPM" >&6; }
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8457 $as_echo "no" >&6; }
8462 test $target_distro = slackware
&& RPM
=''
8466 if test -n "$RPMBUILD" -a -x "$RPMBUILD"
8474 if test -z "$POD2MAN"; then
8475 # Extract the first word of "pod2man", so it can be a program name with args.
8476 set dummy pod2man
; ac_word
=$2
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8478 $as_echo_n "checking for $ac_word... " >&6; }
8479 if ${ac_cv_path_POD2MAN+:} false
; then :
8480 $as_echo_n "(cached) " >&6
8484 ac_cv_path_POD2MAN
="$POD2MAN" # Let the user override the test with a path.
8487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8491 test -z "$as_dir" && as_dir
=.
8492 for ac_exec_ext
in '' $ac_executable_extensions; do
8493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8494 ac_cv_path_POD2MAN
="$as_dir/$ac_word$ac_exec_ext"
8495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8505 POD2MAN
=$ac_cv_path_POD2MAN
8506 if test -n "$POD2MAN"; then
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
8508 $as_echo "$POD2MAN" >&6; }
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8511 $as_echo "no" >&6; }
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ExtUtils::MakeMaker is installed" >&5
8520 $as_echo_n "checking if ExtUtils::MakeMaker is installed... " >&6; }
8521 perl
-e "use ExtUtils::MakeMaker" 2>/dev
/null
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8525 $as_echo " yes" >&6; }
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8528 $as_echo " no" >&6; }
8530 echo "FATAL ERROR: Perl ExtUtils::MakeMaker module missing."
8531 echo "You can either install this from your distribution, or"
8532 echo "download from CPAN (Comprehensive Perl Archive Network)."
8533 rm -rf conftest conftest.
*
8537 # Extract the first word of "true", so it can be a program name with args.
8538 set dummy true
; ac_word
=$2
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540 $as_echo_n "checking for $ac_word... " >&6; }
8541 if ${ac_cv_path_TRUEPROG+:} false
; then :
8542 $as_echo_n "(cached) " >&6
8546 ac_cv_path_TRUEPROG
="$TRUEPROG" # Let the user override the test with a path.
8549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8553 test -z "$as_dir" && as_dir
=.
8554 for ac_exec_ext
in '' $ac_executable_extensions; do
8555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8556 ac_cv_path_TRUEPROG
="$as_dir/$ac_word$ac_exec_ext"
8557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8567 TRUEPROG
=$ac_cv_path_TRUEPROG
8568 if test -n "$TRUEPROG"; then
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUEPROG" >&5
8570 $as_echo "$TRUEPROG" >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8573 $as_echo "no" >&6; }
8578 if test -z "$MAKEDEPEND"; then
8579 # Extract the first word of "makedepend", so it can be a program name with args.
8580 set dummy makedepend
; ac_word
=$2
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8582 $as_echo_n "checking for $ac_word... " >&6; }
8583 if ${ac_cv_path_MAKEDEPEND+:} false
; then :
8584 $as_echo_n "(cached) " >&6
8588 ac_cv_path_MAKEDEPEND
="$MAKEDEPEND" # Let the user override the test with a path.
8591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir
=.
8596 for ac_exec_ext
in '' $ac_executable_extensions; do
8597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8598 ac_cv_path_MAKEDEPEND
="$as_dir/$ac_word$ac_exec_ext"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8606 test -z "$ac_cv_path_MAKEDEPEND" && ac_cv_path_MAKEDEPEND
="$TRUEPROG"
8610 MAKEDEPEND
=$ac_cv_path_MAKEDEPEND
8611 if test -n "$MAKEDEPEND"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEDEPEND" >&5
8613 $as_echo "$MAKEDEPEND" >&6; }
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8616 $as_echo "no" >&6; }
8621 makedepend
=$MAKEDEPEND
8624 if test -z "$MD5SUM"; then
8625 # Extract the first word of "md5sum", so it can be a program name with args.
8626 set dummy
md5sum; ac_word
=$2
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8628 $as_echo_n "checking for $ac_word... " >&6; }
8629 if ${ac_cv_path_MD5SUM+:} false
; then :
8630 $as_echo_n "(cached) " >&6
8634 ac_cv_path_MD5SUM
="$MD5SUM" # Let the user override the test with a path.
8637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8641 test -z "$as_dir" && as_dir
=.
8642 for ac_exec_ext
in '' $ac_executable_extensions; do
8643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8644 ac_cv_path_MD5SUM
="$as_dir/$ac_word$ac_exec_ext"
8645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8652 test -z "$ac_cv_path_MD5SUM" && ac_cv_path_MD5SUM
="$TRUEPROG"
8656 MD5SUM
=$ac_cv_path_MD5SUM
8657 if test -n "$MD5SUM"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD5SUM" >&5
8659 $as_echo "$MD5SUM" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662 $as_echo "no" >&6; }
8670 if test -z "$DPKG"; then
8671 # Extract the first word of "dpkg", so it can be a program name with args.
8672 set dummy dpkg
; ac_word
=$2
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8674 $as_echo_n "checking for $ac_word... " >&6; }
8675 if ${ac_cv_path_DPKG+:} false
; then :
8676 $as_echo_n "(cached) " >&6
8680 ac_cv_path_DPKG
="$DPKG" # Let the user override the test with a path.
8683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir
=.
8688 for ac_exec_ext
in '' $ac_executable_extensions; do
8689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_path_DPKG
="$as_dir/$ac_word$ac_exec_ext"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8701 DPKG
=$ac_cv_path_DPKG
8702 if test -n "$DPKG"; then
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DPKG" >&5
8704 $as_echo "$DPKG" >&6; }
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8707 $as_echo "no" >&6; }
8715 if test -z "$MAKEPKG"; then
8716 # Extract the first word of "makepkg", so it can be a program name with args.
8717 set dummy makepkg
; ac_word
=$2
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8719 $as_echo_n "checking for $ac_word... " >&6; }
8720 if ${ac_cv_path_MAKEPKG+:} false
; then :
8721 $as_echo_n "(cached) " >&6
8725 ac_cv_path_MAKEPKG
="$MAKEPKG" # Let the user override the test with a path.
8728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8732 test -z "$as_dir" && as_dir
=.
8733 for ac_exec_ext
in '' $ac_executable_extensions; do
8734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8735 ac_cv_path_MAKEPKG
="$as_dir/$ac_word$ac_exec_ext"
8736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8746 MAKEPKG
=$ac_cv_path_MAKEPKG
8747 if test -n "$MAKEPKG"; then
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEPKG" >&5
8749 $as_echo "$MAKEPKG" >&6; }
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8752 $as_echo "no" >&6; }
8760 test -z "$PUBLICAN" && # Extract the first word of "publican", so it can be a program name with args.
8761 set dummy publican
; ac_word
=$2
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8763 $as_echo_n "checking for $ac_word... " >&6; }
8764 if ${ac_cv_path_PUBLICAN+:} false
; then :
8765 $as_echo_n "(cached) " >&6
8769 ac_cv_path_PUBLICAN
="$PUBLICAN" # Let the user override the test with a path.
8772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8776 test -z "$as_dir" && as_dir
=.
8777 for ac_exec_ext
in '' $ac_executable_extensions; do
8778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8779 ac_cv_path_PUBLICAN
="$as_dir/$ac_word$ac_exec_ext"
8780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8790 PUBLICAN
=$ac_cv_path_PUBLICAN
8791 if test -n "$PUBLICAN"; then
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PUBLICAN" >&5
8793 $as_echo "$PUBLICAN" >&6; }
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8796 $as_echo "no" >&6; }
8802 test -z "$DBLATEX" && # Extract the first word of "dblatex", so it can be a program name with args.
8803 set dummy dblatex
; ac_word
=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_path_DBLATEX+:} false
; then :
8807 $as_echo_n "(cached) " >&6
8811 ac_cv_path_DBLATEX
="$DBLATEX" # Let the user override the test with a path.
8814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir
=.
8819 for ac_exec_ext
in '' $ac_executable_extensions; do
8820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8821 ac_cv_path_DBLATEX
="$as_dir/$ac_word$ac_exec_ext"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 DBLATEX
=$ac_cv_path_DBLATEX
8833 if test -n "$DBLATEX"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
8835 $as_echo "$DBLATEX" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8844 test -z "$XMLTO" && # Extract the first word of "xmlto", so it can be a program name with args.
8845 set dummy xmlto
; ac_word
=$2
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8847 $as_echo_n "checking for $ac_word... " >&6; }
8848 if ${ac_cv_path_XMLTO+:} false
; then :
8849 $as_echo_n "(cached) " >&6
8853 ac_cv_path_XMLTO
="$XMLTO" # Let the user override the test with a path.
8856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8860 test -z "$as_dir" && as_dir
=.
8861 for ac_exec_ext
in '' $ac_executable_extensions; do
8862 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8863 ac_cv_path_XMLTO
="$as_dir/$ac_word$ac_exec_ext"
8864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8874 XMLTO
=$ac_cv_path_XMLTO
8875 if test -n "$XMLTO"; then
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
8877 $as_echo "$XMLTO" >&6; }
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8880 $as_echo "no" >&6; }
8888 if test "$do_books" = "check" -o "$do_books" = "yes"
8890 if test "$BOOK_TOOLCHAIN" != ""
8892 book_toolchain
=$BOOK_TOOLCHAIN
8893 elif test "$DBLATEX" != ""
8895 book_toolchain
=dblatex
8896 elif test "$PUBLICAN" != ""
8898 book_toolchain
=publican
8899 elif test "$XMLTO" != ""
8901 book_toolchain
=xmlto
8902 elif test "$do_books" = "yes"
8904 as_fn_error $?
"cannot enable books build - no toolchain found" "$LINENO" 5
8910 if test "$do_books_brand" != ""
8912 book_brand
=$do_books_brand
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8917 $as_echo_n "checking whether ln -s works... " >&6; }
8919 if test "$LN_S" = "ln -s"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8921 $as_echo "yes" >&6; }
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8924 $as_echo "no, using $LN_S" >&6; }
8927 if test $target_os = mingw
; then
8933 test -f /proc
/stat || mount
/proc
>/dev
/null
2>&1
8936 if test -n "$PROCPS"
8938 pcp_ps_prog
="$PROCPS"
8944 if test $target_os = mingw
8946 pcp_syslog_prog
=pcp-eventlog
8948 pcp_syslog_prog
=logger
8953 if test $target_os = solaris
8955 test -f /usr
/xpg
4/bin
/grep && grep=/usr
/xpg
4/bin
/grep
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc " >&5
8960 $as_echo_n "checking for /proc ... " >&6; }
8961 if test "$cross_compiling" = "yes"; then
8963 echo "cross-compile -> \"$ans\"" >&5
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8973 $as_echo "yes" >&6; }
8975 $as_echo "#define HAVE_PROCFS 1" >>confdefs.h
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8979 $as_echo "no" >&6; }
8983 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8984 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8986 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8987 if eval \
${$as_ac_Header+:} false
; then :
8988 $as_echo_n "(cached) " >&6
8990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8992 #include <sys/types.h>
9004 if ac_fn_c_try_compile
"$LINENO"; then :
9005 eval "$as_ac_Header=yes"
9007 eval "$as_ac_Header=no"
9009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9011 eval ac_res
=\$
$as_ac_Header
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9013 $as_echo "$ac_res" >&6; }
9014 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9015 cat >>confdefs.h
<<_ACEOF
9016 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9019 ac_header_dirent
=$ac_hdr; break
9023 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9024 if test $ac_header_dirent = dirent.h
; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9026 $as_echo_n "checking for library containing opendir... " >&6; }
9027 if ${ac_cv_search_opendir+:} false
; then :
9028 $as_echo_n "(cached) " >&6
9030 ac_func_search_save_LIBS
=$LIBS
9031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9034 /* Override any GCC internal prototype to avoid an error.
9035 Use char because int might match the return type of a GCC
9036 builtin and then its argument prototype would still apply. */
9049 for ac_lib
in '' dir
; do
9050 if test -z "$ac_lib"; then
9051 ac_res
="none required"
9054 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9056 if ac_fn_c_try_link
"$LINENO"; then :
9057 ac_cv_search_opendir
=$ac_res
9059 rm -f core conftest.err conftest.
$ac_objext \
9061 if ${ac_cv_search_opendir+:} false
; then :
9065 if ${ac_cv_search_opendir+:} false
; then :
9068 ac_cv_search_opendir
=no
9071 LIBS
=$ac_func_search_save_LIBS
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9074 $as_echo "$ac_cv_search_opendir" >&6; }
9075 ac_res
=$ac_cv_search_opendir
9076 if test "$ac_res" != no
; then :
9077 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
9083 $as_echo_n "checking for library containing opendir... " >&6; }
9084 if ${ac_cv_search_opendir+:} false
; then :
9085 $as_echo_n "(cached) " >&6
9087 ac_func_search_save_LIBS
=$LIBS
9088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9091 /* Override any GCC internal prototype to avoid an error.
9092 Use char because int might match the return type of a GCC
9093 builtin and then its argument prototype would still apply. */
9106 for ac_lib
in '' x
; do
9107 if test -z "$ac_lib"; then
9108 ac_res
="none required"
9111 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9113 if ac_fn_c_try_link
"$LINENO"; then :
9114 ac_cv_search_opendir
=$ac_res
9116 rm -f core conftest.err conftest.
$ac_objext \
9118 if ${ac_cv_search_opendir+:} false
; then :
9122 if ${ac_cv_search_opendir+:} false
; then :
9125 ac_cv_search_opendir
=no
9128 LIBS
=$ac_func_search_save_LIBS
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
9131 $as_echo "$ac_cv_search_opendir" >&6; }
9132 ac_res
=$ac_cv_search_opendir
9133 if test "$ac_res" != no
; then :
9134 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9141 $as_echo_n "checking for ANSI C header files... " >&6; }
9142 if ${ac_cv_header_stdc+:} false
; then :
9143 $as_echo_n "(cached) " >&6
9145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9160 if ac_fn_c_try_compile
"$LINENO"; then :
9161 ac_cv_header_stdc
=yes
9163 ac_cv_header_stdc
=no
9165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9167 if test $ac_cv_header_stdc = yes; then
9168 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9175 $EGREP "memchr" >/dev
/null
2>&1; then :
9178 ac_cv_header_stdc
=no
9184 if test $ac_cv_header_stdc = yes; then
9185 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9192 $EGREP "free" >/dev
/null
2>&1; then :
9195 ac_cv_header_stdc
=no
9201 if test $ac_cv_header_stdc = yes; then
9202 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9203 if test "$cross_compiling" = yes; then :
9206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9207 /* end confdefs.h. */
9210 #if ((' ' & 0x0FF) == 0x020)
9211 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9212 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9214 # define ISLOWER(c) \
9215 (('a' <= (c) && (c) <= 'i') \
9216 || ('j' <= (c) && (c) <= 'r') \
9217 || ('s' <= (c) && (c) <= 'z'))
9218 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9221 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9226 for (i = 0; i < 256; i++)
9227 if (XOR (islower (i), ISLOWER (i))
9228 || toupper (i) != TOUPPER (i))
9233 if ac_fn_c_try_run
"$LINENO"; then :
9236 ac_cv_header_stdc
=no
9238 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9239 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9245 $as_echo "$ac_cv_header_stdc" >&6; }
9246 if test $ac_cv_header_stdc = yes; then
9248 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
9253 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
9254 if ${ac_cv_header_sys_wait_h+:} false
; then :
9255 $as_echo_n "(cached) " >&6
9257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9258 /* end confdefs.h. */
9259 #include <sys/types.h>
9260 #include <sys/wait.h>
9262 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9265 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9273 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9278 if ac_fn_c_try_compile
"$LINENO"; then :
9279 ac_cv_header_sys_wait_h
=yes
9281 ac_cv_header_sys_wait_h
=no
9283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
9286 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
9287 if test $ac_cv_header_sys_wait_h = yes; then
9289 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
9293 for ac_header
in fcntl.h limits.h malloc.h
strings.h syslog.h
9295 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9296 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9297 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9298 cat >>confdefs.h
<<_ACEOF
9299 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9306 for ac_header
in stddef.h sched.h dlfcn.h dl.h
9308 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9309 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9310 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9311 cat >>confdefs.h
<<_ACEOF
9312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9319 for ac_header
in sys
/times.h sys
/resource.h sys
/prctl.h
9321 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9322 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9323 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9324 cat >>confdefs.h
<<_ACEOF
9325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9332 for ac_header
in sys
/sysinfo.h sys
/systeminfo.h
9334 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9335 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9336 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9337 cat >>confdefs.h
<<_ACEOF
9338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9345 for ac_header
in endian.h standards.h sys
/byteorder.h
9347 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9348 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9349 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9350 cat >>confdefs.h
<<_ACEOF
9351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9358 for ac_header
in libgen.h sys
/mman.h sys
/un.h
9360 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9361 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9362 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9363 cat >>confdefs.h
<<_ACEOF
9364 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9371 for ac_header
in values.h stdint.h ieeefp.h math.h
9373 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9374 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9375 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9376 cat >>confdefs.h
<<_ACEOF
9377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9384 for ac_header
in pwd.h grp.h regex.h sys
/wait.h
9386 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9387 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9388 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9389 cat >>confdefs.h
<<_ACEOF
9390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9397 for ac_header
in termio.h termios.h sys
/termios.h
9399 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9400 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9401 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9402 cat >>confdefs.h
<<_ACEOF
9403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9410 for ac_header
in sys
/ioctl.h sys
/select.h sys
/socket.h
9412 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9413 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9414 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9415 cat >>confdefs.h
<<_ACEOF
9416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9423 for ac_header
in netdb.h
9425 ac_fn_c_check_header_mongrel
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
9426 if test "x$ac_cv_header_netdb_h" = xyes
; then :
9427 cat >>confdefs.h
<<_ACEOF
9428 #define HAVE_NETDB_H 1
9435 if test $target_os = darwin
-o $target_os = openbsd
9437 for ac_header
in net
/if.h
9439 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
9440 #include <sys/socket.h>
9442 if test "x$ac_cv_header_net_if_h" = xyes
; then :
9443 cat >>confdefs.h
<<_ACEOF
9444 #define HAVE_NET_IF_H 1
9452 for ac_header
in net
/if.h
9454 ac_fn_c_check_header_mongrel
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
9455 if test "x$ac_cv_header_net_if_h" = xyes
; then :
9456 cat >>confdefs.h
<<_ACEOF
9457 #define HAVE_NET_IF_H 1
9465 for ac_header
in netinet
/in.h netinet
/tcp.h arpa
/inet.h
9467 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9468 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9469 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9470 cat >>confdefs.h
<<_ACEOF
9471 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9478 for ac_header
in windows.h winsock2.h ws2tcpip.h
9480 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9481 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9482 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9483 cat >>confdefs.h
<<_ACEOF
9484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9491 for ac_header
in execinfo.h bits
/wordsize.h
9493 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9494 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9495 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9496 cat >>confdefs.h
<<_ACEOF
9497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9504 for ac_header
in iptypes.h
9506 ac_fn_c_check_header_compile
"$LINENO" "iptypes.h" "ac_cv_header_iptypes_h" "#include <windows.h>
9508 if test "x$ac_cv_header_iptypes_h" = xyes
; then :
9509 cat >>confdefs.h
<<_ACEOF
9510 #define HAVE_IPTYPES_H 1
9517 for ac_header
in iphlpapi.h
9519 ac_fn_c_check_header_compile
"$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h" "#include <winsock2.h>
9521 if test "x$ac_cv_header_iphlpapi_h" = xyes
; then :
9522 cat >>confdefs.h
<<_ACEOF
9523 #define HAVE_IPHLPAPI_H 1
9530 for ac_header
in fts.h libzfs.h
9532 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9533 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9534 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9535 cat >>confdefs.h
<<_ACEOF
9536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9543 for ac_header
in sys
/statvfs.h sys
/statfs.h sys
/mount.h
9545 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9546 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9547 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9548 cat >>confdefs.h
<<_ACEOF
9549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h " >&5
9558 $as_echo_n "checking for sys/endian.h ... " >&6; }
9559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9562 #include <sys/endian.h>
9573 if ac_fn_c_try_compile
"$LINENO"; then :
9575 $as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9577 $as_echo "yes" >&6; }
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9580 $as_echo "no" >&6; }
9582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for machine/endian.h " >&5
9585 $as_echo_n "checking for machine/endian.h ... " >&6; }
9586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 #include <machine/endian.h>
9600 if ac_fn_c_try_compile
"$LINENO"; then :
9602 $as_echo "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9604 $as_echo "yes" >&6; }
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9607 $as_echo "no" >&6; }
9609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/endian.h (IRIX variant) " >&5
9612 $as_echo_n "checking for sys/endian.h (IRIX variant) ... " >&6; }
9613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9614 /* end confdefs.h. */
9616 #include <standards.h>
9617 #include <sys/endian.h>
9628 if ac_fn_c_try_compile
"$LINENO"; then :
9630 $as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9632 $as_echo "yes" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635 $as_echo "no" >&6; }
9637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
9640 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
9641 if ${ac_cv_c_const+:} false
; then :
9642 $as_echo_n "(cached) " >&6
9644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9645 /* end confdefs.h. */
9652 /* Ultrix mips cc rejects this sort of thing. */
9653 typedef int charset[2];
9654 const charset cs = { 0, 0 };
9655 /* SunOS 4.1.1 cc rejects this. */
9656 char const *const *pcpcc;
9658 /* NEC SVR4.0.2 mips cc rejects this. */
9659 struct point {int x, y;};
9660 static struct point const zero = {0,0};
9661 /* AIX XL C 1.02.0.0 rejects this.
9662 It does not let you subtract one const X* pointer from another in
9663 an arm of an if-expression whose if-part is not a constant
9665 const char *g = "string";
9666 pcpcc = &g + (g ? g-g : 0);
9667 /* HPUX 7.0 cc rejects these. */
9669 ppc = (char**) pcpcc;
9670 pcpcc = (char const *const *) ppc;
9671 { /* SCO 3.2v4 cc rejects this sort of thing. */
9674 char const *s = 0 ? (char *) 0 : (char const *) 0;
9679 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9681 const int *foo = &x[0];
9684 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9685 typedef const int *iptr;
9689 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
9690 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9691 struct s { int j; const int *ap[3]; } bx;
9692 struct s *b = &bx; b->j = 5;
9694 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9698 return !cs[0] && !zero.x;
9705 if ac_fn_c_try_compile
"$LINENO"; then :
9710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
9713 $as_echo "$ac_cv_c_const" >&6; }
9714 if test $ac_cv_c_const = no
; then
9716 $as_echo "#define const /**/" >>confdefs.h
9720 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
9721 if test "x$ac_cv_type_off_t" = xyes
; then :
9725 cat >>confdefs.h
<<_ACEOF
9726 #define off_t long int
9731 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
9732 if test "x$ac_cv_type_pid_t" = xyes
; then :
9736 cat >>confdefs.h
<<_ACEOF
9742 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9743 if test "x$ac_cv_type_size_t" = xyes
; then :
9747 cat >>confdefs.h
<<_ACEOF
9748 #define size_t unsigned int
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
9754 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
9755 if ${ac_cv_header_time+:} false
; then :
9756 $as_echo_n "(cached) " >&6
9758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9760 #include <sys/types.h>
9761 #include <sys/time.h>
9767 if ((struct tm *) 0)
9773 if ac_fn_c_try_compile
"$LINENO"; then :
9774 ac_cv_header_time
=yes
9776 ac_cv_header_time
=no
9778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
9781 $as_echo "$ac_cv_header_time" >&6; }
9782 if test $ac_cv_header_time = yes; then
9784 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
9789 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
9790 if ${ac_cv_struct_tm+:} false
; then :
9791 $as_echo_n "(cached) " >&6
9793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9795 #include <sys/types.h>
9802 int *p = &tm.tm_sec;
9808 if ac_fn_c_try_compile
"$LINENO"; then :
9809 ac_cv_struct_tm
=time.h
9811 ac_cv_struct_tm
=sys
/time.h
9813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
9816 $as_echo "$ac_cv_struct_tm" >&6; }
9817 if test $ac_cv_struct_tm = sys
/time.h
; then
9819 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9824 $as_echo_n "checking for inline... " >&6; }
9825 if ${ac_cv_c_inline+:} false
; then :
9826 $as_echo_n "(cached) " >&6
9829 for ac_kw
in inline __inline__ __inline
; do
9830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9834 static $ac_kw foo_t static_foo () {return 0; }
9835 $ac_kw foo_t foo () {return 0; }
9839 if ac_fn_c_try_compile
"$LINENO"; then :
9840 ac_cv_c_inline
=$ac_kw
9842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9843 test "$ac_cv_c_inline" != no
&& break
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9848 $as_echo "$ac_cv_c_inline" >&6; }
9850 case $ac_cv_c_inline in
9853 case $ac_cv_c_inline in
9855 *) ac_val
=$ac_cv_c_inline;;
9857 cat >>confdefs.h
<<_ACEOF
9859 #define inline $ac_val
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regcomp in -lregex" >&5
9867 $as_echo_n "checking for regcomp in -lregex... " >&6; }
9868 if ${ac_cv_lib_regex_regcomp+:} false
; then :
9869 $as_echo_n "(cached) " >&6
9871 ac_check_lib_save_LIBS
=$LIBS
9872 LIBS
="-lregex $LIBS"
9873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9876 /* Override any GCC internal prototype to avoid an error.
9877 Use char because int might match the return type of a GCC
9878 builtin and then its argument prototype would still apply. */
9891 if ac_fn_c_try_link
"$LINENO"; then :
9892 ac_cv_lib_regex_regcomp
=yes
9894 ac_cv_lib_regex_regcomp
=no
9896 rm -f core conftest.err conftest.
$ac_objext \
9897 conftest
$ac_exeext conftest.
$ac_ext
9898 LIBS
=$ac_check_lib_save_LIBS
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regcomp" >&5
9901 $as_echo "$ac_cv_lib_regex_regcomp" >&6; }
9902 if test "x$ac_cv_lib_regex_regcomp" = xyes
; then :
9903 cat >>confdefs.h
<<_ACEOF
9904 #define HAVE_LIBREGEX 1
9907 LIBS
="-lregex $LIBS"
9912 if test $ac_cv_lib_regex_regcomp = yes
9914 lib_for_regex
="-lregex"
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
9921 $as_echo_n "checking for ncurses... " >&6; }
9923 if test -n "$ncurses_CFLAGS"; then
9924 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
9925 elif test -n "$PKG_CONFIG"; then
9926 if test -n "$PKG_CONFIG" && \
9927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
9928 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
9930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9931 test $ac_status = 0; }; then
9932 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
9933 test "x$?" != "x0" && pkg_failed
=yes
9940 if test -n "$ncurses_LIBS"; then
9941 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
9942 elif test -n "$PKG_CONFIG"; then
9943 if test -n "$PKG_CONFIG" && \
9944 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
9945 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
9947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9948 test $ac_status = 0; }; then
9949 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
9950 test "x$?" != "x0" && pkg_failed
=yes
9960 if test $pkg_failed = yes; then
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9962 $as_echo "no" >&6; }
9964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9965 _pkg_short_errors_supported
=yes
9967 _pkg_short_errors_supported
=no
9969 if test $_pkg_short_errors_supported = yes; then
9970 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
9972 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
9974 # Put the nasty error message in config.log where it belongs
9975 echo "$ncurses_PKG_ERRORS" >&5
9978 elif test $pkg_failed = untried
; then
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9980 $as_echo "no" >&6; }
9983 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
9984 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9986 $as_echo "yes" >&6; }
9989 HAVE_NCURSES
=$have_ncurses
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
9995 $as_echo_n "checking for SYSTEMD... " >&6; }
9997 if test -n "$SYSTEMD_CFLAGS"; then
9998 pkg_cv_SYSTEMD_CFLAGS
="$SYSTEMD_CFLAGS"
9999 elif test -n "$PKG_CONFIG"; then
10000 if test -n "$PKG_CONFIG" && \
10001 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
10002 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
10004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10005 test $ac_status = 0; }; then
10006 pkg_cv_SYSTEMD_CFLAGS
=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
10007 test "x$?" != "x0" && pkg_failed
=yes
10014 if test -n "$SYSTEMD_LIBS"; then
10015 pkg_cv_SYSTEMD_LIBS
="$SYSTEMD_LIBS"
10016 elif test -n "$PKG_CONFIG"; then
10017 if test -n "$PKG_CONFIG" && \
10018 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
10019 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
10021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10022 test $ac_status = 0; }; then
10023 pkg_cv_SYSTEMD_LIBS
=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
10024 test "x$?" != "x0" && pkg_failed
=yes
10034 if test $pkg_failed = yes; then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10036 $as_echo "no" >&6; }
10038 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10039 _pkg_short_errors_supported
=yes
10041 _pkg_short_errors_supported
=no
10043 if test $_pkg_short_errors_supported = yes; then
10044 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
10046 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
10048 # Put the nasty error message in config.log where it belongs
10049 echo "$SYSTEMD_PKG_ERRORS" >&5
10052 elif test $pkg_failed = untried
; then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10054 $as_echo "no" >&6; }
10057 SYSTEMD_CFLAGS
=$pkg_cv_SYSTEMD_CFLAGS
10058 SYSTEMD_LIBS
=$pkg_cv_SYSTEMD_LIBS
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10060 $as_echo "yes" >&6; }
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
10070 $as_echo_n "checking for SYSTEMD... " >&6; }
10072 if test -n "$SYSTEMD_CFLAGS"; then
10073 pkg_cv_SYSTEMD_CFLAGS
="$SYSTEMD_CFLAGS"
10074 elif test -n "$PKG_CONFIG"; then
10075 if test -n "$PKG_CONFIG" && \
10076 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
10077 ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
10079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10080 test $ac_status = 0; }; then
10081 pkg_cv_SYSTEMD_CFLAGS
=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
10082 test "x$?" != "x0" && pkg_failed
=yes
10089 if test -n "$SYSTEMD_LIBS"; then
10090 pkg_cv_SYSTEMD_LIBS
="$SYSTEMD_LIBS"
10091 elif test -n "$PKG_CONFIG"; then
10092 if test -n "$PKG_CONFIG" && \
10093 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
10094 ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
10096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10097 test $ac_status = 0; }; then
10098 pkg_cv_SYSTEMD_LIBS
=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
10099 test "x$?" != "x0" && pkg_failed
=yes
10109 if test $pkg_failed = yes; then
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10111 $as_echo "no" >&6; }
10113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10114 _pkg_short_errors_supported
=yes
10116 _pkg_short_errors_supported
=no
10118 if test $_pkg_short_errors_supported = yes; then
10119 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
10121 SYSTEMD_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
10123 # Put the nasty error message in config.log where it belongs
10124 echo "$SYSTEMD_PKG_ERRORS" >&5
10127 elif test $pkg_failed = untried
; then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10129 $as_echo "no" >&6; }
10132 SYSTEMD_CFLAGS
=$pkg_cv_SYSTEMD_CFLAGS
10133 SYSTEMD_LIBS
=$pkg_cv_SYSTEMD_LIBS
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10135 $as_echo "yes" >&6; }
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the systemd PMDA should be included" >&5
10140 $as_echo_n "checking if the systemd PMDA should be included... " >&6; }
10141 PMDA_SYSTEMD
=$pmda_systemd
10143 if $pmda_systemd; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10144 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10145 $as_echo "no" >&6; }; fi
10147 pmda_infiniband
=false
10148 if test "x$do_infiniband" != "xno"; then :
10150 for ac_header
in infiniband
/umad.h
10152 ac_fn_c_check_header_mongrel
"$LINENO" "infiniband/umad.h" "ac_cv_header_infiniband_umad_h" "$ac_includes_default"
10153 if test "x$ac_cv_header_infiniband_umad_h" = xyes
; then :
10154 cat >>confdefs.h
<<_ACEOF
10155 #define HAVE_INFINIBAND_UMAD_H 1
10158 for ac_header
in infiniband
/mad.h
10160 ac_fn_c_check_header_mongrel
"$LINENO" "infiniband/mad.h" "ac_cv_header_infiniband_mad_h" "$ac_includes_default"
10161 if test "x$ac_cv_header_infiniband_mad_h" = xyes
; then :
10162 cat >>confdefs.h
<<_ACEOF
10163 #define HAVE_INFINIBAND_MAD_H 1
10165 pmda_infiniband
=true
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for madrpc_init in -libmad" >&5
10178 $as_echo_n "checking for madrpc_init in -libmad... " >&6; }
10179 if ${ac_cv_lib_ibmad_madrpc_init+:} false
; then :
10180 $as_echo_n "(cached) " >&6
10182 ac_check_lib_save_LIBS
=$LIBS
10183 LIBS
="-libmad $LIBS"
10184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10187 /* Override any GCC internal prototype to avoid an error.
10188 Use char because int might match the return type of a GCC
10189 builtin and then its argument prototype would still apply. */
10193 char madrpc_init ();
10197 return madrpc_init ();
10202 if ac_fn_c_try_link
"$LINENO"; then :
10203 ac_cv_lib_ibmad_madrpc_init
=yes
10205 ac_cv_lib_ibmad_madrpc_init
=no
10207 rm -f core conftest.err conftest.
$ac_objext \
10208 conftest
$ac_exeext conftest.
$ac_ext
10209 LIBS
=$ac_check_lib_save_LIBS
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_madrpc_init" >&5
10212 $as_echo "$ac_cv_lib_ibmad_madrpc_init" >&6; }
10213 if test "x$ac_cv_lib_ibmad_madrpc_init" = xyes
; then :
10214 cat >>confdefs.h
<<_ACEOF
10215 #define HAVE_LIBIBMAD 1
10218 LIBS
="-libmad $LIBS"
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umad_init in -libumad" >&5
10223 $as_echo_n "checking for umad_init in -libumad... " >&6; }
10224 if ${ac_cv_lib_ibumad_umad_init+:} false
; then :
10225 $as_echo_n "(cached) " >&6
10227 ac_check_lib_save_LIBS
=$LIBS
10228 LIBS
="-libumad $LIBS"
10229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10232 /* Override any GCC internal prototype to avoid an error.
10233 Use char because int might match the return type of a GCC
10234 builtin and then its argument prototype would still apply. */
10242 return umad_init ();
10247 if ac_fn_c_try_link
"$LINENO"; then :
10248 ac_cv_lib_ibumad_umad_init
=yes
10250 ac_cv_lib_ibumad_umad_init
=no
10252 rm -f core conftest.err conftest.
$ac_objext \
10253 conftest
$ac_exeext conftest.
$ac_ext
10254 LIBS
=$ac_check_lib_save_LIBS
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibumad_umad_init" >&5
10257 $as_echo "$ac_cv_lib_ibumad_umad_init" >&6; }
10258 if test "x$ac_cv_lib_ibumad_umad_init" = xyes
; then :
10259 cat >>confdefs.h
<<_ACEOF
10260 #define HAVE_LIBIBUMAD 1
10263 LIBS
="-libumad $LIBS"
10267 if test $ac_cv_lib_ibmad_madrpc_init = yes -a $ac_cv_lib_ibumad_umad_init = yes
10269 IB_LIBS
="-libmad -libumad"
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for port_performance_query_via" >&5
10272 $as_echo_n "checking for port_performance_query_via... " >&6; }
10273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10282 char port_performance_query_via ();
10286 return port_performance_query_via ();
10291 if ac_fn_c_try_link
"$LINENO"; then :
10293 $as_echo "#define HAVE_PORT_PERFORMANCE_QUERY_VIA 1" >>confdefs.h
10295 have_port_performance_query_via
=true
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10297 $as_echo "yes" >&6; }
10299 have_port_performance_query_via
=false
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10301 $as_echo "no" >&6; }
10303 rm -f core conftest.err conftest.
$ac_objext \
10304 conftest
$ac_exeext conftest.
$ac_ext
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pma_query_via" >&5
10306 $as_echo_n "checking for pma_query_via... " >&6; }
10307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10316 char pma_query_via ();
10320 return pma_query_via ();
10325 if ac_fn_c_try_link
"$LINENO"; then :
10327 $as_echo "#define HAVE_PMA_QUERY_VIA 1" >>confdefs.h
10329 have_pma_query_via
=true
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10331 $as_echo "yes" >&6; }
10333 have_pma_query_via
=false
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10335 $as_echo "no" >&6; }
10337 rm -f core conftest.err conftest.
$ac_objext \
10338 conftest
$ac_exeext conftest.
$ac_ext
10340 if test $have_pma_query_via -o $have_port_performance_query_via
10344 pmda_infiniband
=false
10347 pmda_infiniband
=false
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the infiniband PMDA should be included" >&5
10354 $as_echo_n "checking if the infiniband PMDA should be included... " >&6; }
10355 PMDA_INFINIBAND
=$pmda_infiniband
10357 if $pmda_infiniband; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10358 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10359 $as_echo "no" >&6; }; fi
10362 if test "x$do_papi" != "xno"; then :
10366 saved_LDFLAGS
="$LDFLAGS"
10367 saved_CFLAGS
="$CFLAGS"
10370 CFLAGS
="$papi_CFLAGS"
10371 LDFLAGS
="$papi_LIBS"
10377 PAPI_ROOTDIR
=$do_papi;
10378 CFLAGS
="-I$PAPI_ROOTDIR/include"
10379 LDFLAGS
="-L$PAPI_ROOTDIR/lib"
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for papi" >&5
10385 $as_echo_n "checking for papi... " >&6; }
10387 if test -n "$papi_CFLAGS"; then
10388 pkg_cv_papi_CFLAGS
="$papi_CFLAGS"
10389 elif test -n "$PKG_CONFIG"; then
10390 if test -n "$PKG_CONFIG" && \
10391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$do_papi\""; } >&5
10392 ($PKG_CONFIG --exists --print-errors "$do_papi") 2>&5
10394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10395 test $ac_status = 0; }; then
10396 pkg_cv_papi_CFLAGS
=`$PKG_CONFIG --cflags "$do_papi" 2>/dev/null`
10397 test "x$?" != "x0" && pkg_failed
=yes
10404 if test -n "$papi_LIBS"; then
10405 pkg_cv_papi_LIBS
="$papi_LIBS"
10406 elif test -n "$PKG_CONFIG"; then
10407 if test -n "$PKG_CONFIG" && \
10408 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$do_papi\""; } >&5
10409 ($PKG_CONFIG --exists --print-errors "$do_papi") 2>&5
10411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10412 test $ac_status = 0; }; then
10413 pkg_cv_papi_LIBS
=`$PKG_CONFIG --libs "$do_papi" 2>/dev/null`
10414 test "x$?" != "x0" && pkg_failed
=yes
10424 if test $pkg_failed = yes; then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10426 $as_echo "no" >&6; }
10428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10429 _pkg_short_errors_supported
=yes
10431 _pkg_short_errors_supported
=no
10433 if test $_pkg_short_errors_supported = yes; then
10434 papi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$do_papi" 2>&1`
10436 papi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$do_papi" 2>&1`
10438 # Put the nasty error message in config.log where it belongs
10439 echo "$papi_PKG_ERRORS" >&5
10441 as_fn_error $?
"Package requirements ($do_papi) were not met:
10445 Consider adjusting the PKG_CONFIG_PATH environment variable if you
10446 installed software in a non-standard prefix.
10448 Alternatively, you may set the environment variables papi_CFLAGS
10449 and papi_LIBS to avoid the need to call pkg-config.
10450 See the pkg-config man page for more details." "$LINENO" 5
10451 elif test $pkg_failed = untried
; then
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10453 $as_echo "no" >&6; }
10454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10456 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
10457 is in your PATH or set the PKG_CONFIG environment variable to the full
10458 path to pkg-config.
10460 Alternatively, you may set the environment variables papi_CFLAGS
10461 and papi_LIBS to avoid the need to call pkg-config.
10462 See the pkg-config man page for more details.
10464 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10465 See \`config.log' for more details" "$LINENO" 5; }
10467 papi_CFLAGS
=$pkg_cv_papi_CFLAGS
10468 papi_LIBS
=$pkg_cv_papi_LIBS
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10470 $as_echo "yes" >&6; }
10472 CFLAGS
="$papi_CFLAGS"
10473 LDFLAGS
="$papi_LIBS"
10478 # $papi_LIBS may include -lpapi harmlessly redudantly with AC_CHECK_LIB
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PAPI_library_init in -lpapi" >&5
10480 $as_echo_n "checking for PAPI_library_init in -lpapi... " >&6; }
10481 if ${ac_cv_lib_papi_PAPI_library_init+:} false
; then :
10482 $as_echo_n "(cached) " >&6
10484 ac_check_lib_save_LIBS
=$LIBS
10485 LIBS
="-lpapi $LIBS"
10486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10489 /* Override any GCC internal prototype to avoid an error.
10490 Use char because int might match the return type of a GCC
10491 builtin and then its argument prototype would still apply. */
10495 char PAPI_library_init ();
10499 return PAPI_library_init ();
10504 if ac_fn_c_try_link
"$LINENO"; then :
10505 ac_cv_lib_papi_PAPI_library_init
=yes
10507 ac_cv_lib_papi_PAPI_library_init
=no
10509 rm -f core conftest.err conftest.
$ac_objext \
10510 conftest
$ac_exeext conftest.
$ac_ext
10511 LIBS
=$ac_check_lib_save_LIBS
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_papi_PAPI_library_init" >&5
10514 $as_echo "$ac_cv_lib_papi_PAPI_library_init" >&6; }
10515 if test "x$ac_cv_lib_papi_PAPI_library_init" = xyes
; then :
10516 papi_libs
="$LDFLAGS -lpapi"
10521 for ac_header
in papi.h
10523 ac_fn_c_check_header_mongrel
"$LINENO" "papi.h" "ac_cv_header_papi_h" "$ac_includes_default"
10524 if test "x$ac_cv_header_papi_h" = xyes
; then :
10525 cat >>confdefs.h
<<_ACEOF
10526 #define HAVE_PAPI_H 1
10528 papi_cflags
="$CFLAGS"
10535 if test "$do_papi" != "check" -a "$enable_papi" != "true"
10537 as_fn_error $?
"PAPI is not installed, cannot enable the PAPI PMDA" "$LINENO" 5
10539 pmda_papi
=$enable_papi
10542 CFLAGS
="$saved_CFLAGS"
10543 LDFLAGS
="$saved_LDFLAGS"
10544 PAPI_CFLAGS
=$papi_cflags
10546 PAPI_LIBS
=$papi_libs
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the papi PMDA should be included" >&5
10551 $as_echo_n "checking if the papi PMDA should be included... " >&6; }
10552 PMDA_PAPI
=$pmda_papi
10554 if $pmda_papi; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10555 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10556 $as_echo "no" >&6; }; fi
10558 if test "x$pmda_papi" = "xtrue"; then :
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct PAPI_component_info_t has a disabled field" >&5
10561 $as_echo_n "checking whether struct PAPI_component_info_t has a disabled field... " >&6; }
10562 cat <<End-of-File >conftest.c
10564 int main() { PAPI_component_info_t *c; c->disabled = 0; }
10566 (eval $ac_compile) 2>conftest.out
10567 cat conftest.out
>&5
10568 if test -s conftest.out
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10571 $as_echo "no" >&6; }
10574 $as_echo "#define HAVE_PAPI_DISABLED_COMP 1" >>confdefs.h
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10577 $as_echo "yes" >&6; }
10584 pmda_perfevent
=false
10585 if test "x$do_perfevent" != "xno" ; then :
10587 enable_perfevent
=true
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pfm_get_os_event_encoding in -lpfm" >&5
10591 $as_echo_n "checking for pfm_get_os_event_encoding in -lpfm... " >&6; }
10592 if ${ac_cv_lib_pfm_pfm_get_os_event_encoding+:} false
; then :
10593 $as_echo_n "(cached) " >&6
10595 ac_check_lib_save_LIBS
=$LIBS
10597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10600 /* Override any GCC internal prototype to avoid an error.
10601 Use char because int might match the return type of a GCC
10602 builtin and then its argument prototype would still apply. */
10606 char pfm_get_os_event_encoding ();
10610 return pfm_get_os_event_encoding ();
10615 if ac_fn_c_try_link
"$LINENO"; then :
10616 ac_cv_lib_pfm_pfm_get_os_event_encoding
=yes
10618 ac_cv_lib_pfm_pfm_get_os_event_encoding
=no
10620 rm -f core conftest.err conftest.
$ac_objext \
10621 conftest
$ac_exeext conftest.
$ac_ext
10622 LIBS
=$ac_check_lib_save_LIBS
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pfm_pfm_get_os_event_encoding" >&5
10625 $as_echo "$ac_cv_lib_pfm_pfm_get_os_event_encoding" >&6; }
10626 if test "x$ac_cv_lib_pfm_pfm_get_os_event_encoding" = xyes
; then :
10629 enable_perfevent
=false
10632 for ac_header
in perfmon
/pfmlib_perf_event.h
10634 ac_fn_c_check_header_mongrel
"$LINENO" "perfmon/pfmlib_perf_event.h" "ac_cv_header_perfmon_pfmlib_perf_event_h" "$ac_includes_default"
10635 if test "x$ac_cv_header_perfmon_pfmlib_perf_event_h" = xyes
; then :
10636 cat >>confdefs.h
<<_ACEOF
10637 #define HAVE_PERFMON_PFMLIB_PERF_EVENT_H 1
10641 enable_perfevent
=false
10646 if test "$do_perfevent" != "check" -a "$enable_perfevent" != "true"
10648 as_fn_error $?
"libpfm is not installed, cannot enable the perfevent PMDA" "$LINENO" 5
10650 pmda_perfevent
=$enable_perfevent
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the perfevent PMDA should be included" >&5
10658 $as_echo_n "checking if the perfevent PMDA should be included... " >&6; }
10659 PMDA_PERFEVENT
=$pmda_perfevent
10661 if $pmda_perfevent; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10662 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10663 $as_echo "no" >&6; }; fi
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmlib > 4.4.2" >&5
10668 $as_echo_n "checking for rpmlib > 4.4.2... " >&6; }
10669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10671 #include <rpm/header.h>
10675 (void)HEADERGET_EXT;
10680 if ac_fn_c_try_compile
"$LINENO"; then :
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10682 $as_echo "yes" >&6; }
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10686 $as_echo "no" >&6; }
10688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the rpm PMDA should be included" >&5
10690 $as_echo_n "checking if the rpm PMDA should be included... " >&6; }
10693 if $pmda_rpm; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10694 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10695 $as_echo "no" >&6; }; fi
10699 for ac_prog
in qshape
10701 # Extract the first word of "$ac_prog", so it can be a program name with args.
10702 set dummy
$ac_prog; ac_word
=$2
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10704 $as_echo_n "checking for $ac_word... " >&6; }
10705 if ${ac_cv_prog_QSHAPE+:} false
; then :
10706 $as_echo_n "(cached) " >&6
10708 if test -n "$QSHAPE"; then
10709 ac_cv_prog_QSHAPE
="$QSHAPE" # Let the user override the test.
10711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10712 as_dummy
="path=$PATH:/usr/sbin"
10713 for as_dir
in $as_dummy
10716 test -z "$as_dir" && as_dir
=.
10717 for ac_exec_ext
in '' $ac_executable_extensions; do
10718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10719 ac_cv_prog_QSHAPE
="$ac_prog"
10720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10729 QSHAPE
=$ac_cv_prog_QSHAPE
10730 if test -n "$QSHAPE"; then
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QSHAPE" >&5
10732 $as_echo "$QSHAPE" >&6; }
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10735 $as_echo "no" >&6; }
10739 test -n "$QSHAPE" && break
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the postfix PMDA should be included" >&5
10743 $as_echo_n "checking if the postfix PMDA should be included... " >&6; }
10744 if test -n "$QSHAPE"
10748 for script in /usr
/share
/doc
/packages
/postfix-doc
/auxiliary
/qshape
/qshape.pl
10750 if test -f "$script"
10757 PMDA_POSTFIX
=$pmda_postfix
10759 if $pmda_postfix; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10760 $as_echo "yes" >&6; }; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10761 $as_echo "no" >&6; }; fi
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmicrohttpd" >&5
10766 $as_echo_n "checking for libmicrohttpd... " >&6; }
10768 if test -n "$libmicrohttpd_CFLAGS"; then
10769 pkg_cv_libmicrohttpd_CFLAGS
="$libmicrohttpd_CFLAGS"
10770 elif test -n "$PKG_CONFIG"; then
10771 if test -n "$PKG_CONFIG" && \
10772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.9\""; } >&5
10773 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.9") 2>&5
10775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10776 test $ac_status = 0; }; then
10777 pkg_cv_libmicrohttpd_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd > 0.9.9" 2>/dev/null`
10778 test "x$?" != "x0" && pkg_failed
=yes
10785 if test -n "$libmicrohttpd_LIBS"; then
10786 pkg_cv_libmicrohttpd_LIBS
="$libmicrohttpd_LIBS"
10787 elif test -n "$PKG_CONFIG"; then
10788 if test -n "$PKG_CONFIG" && \
10789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.9\""; } >&5
10790 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.9") 2>&5
10792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10793 test $ac_status = 0; }; then
10794 pkg_cv_libmicrohttpd_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd > 0.9.9" 2>/dev/null`
10795 test "x$?" != "x0" && pkg_failed
=yes
10805 if test $pkg_failed = yes; then
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10807 $as_echo "no" >&6; }
10809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10810 _pkg_short_errors_supported
=yes
10812 _pkg_short_errors_supported
=no
10814 if test $_pkg_short_errors_supported = yes; then
10815 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd > 0.9.9" 2>&1`
10817 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd > 0.9.9" 2>&1`
10819 # Put the nasty error message in config.log where it belongs
10820 echo "$libmicrohttpd_PKG_ERRORS" >&5
10822 have_libmicrohttpd
=false
10823 elif test $pkg_failed = untried
; then
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10825 $as_echo "no" >&6; }
10826 have_libmicrohttpd
=false
10828 libmicrohttpd_CFLAGS
=$pkg_cv_libmicrohttpd_CFLAGS
10829 libmicrohttpd_LIBS
=$pkg_cv_libmicrohttpd_LIBS
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10831 $as_echo "yes" >&6; }
10832 have_libmicrohttpd
=true
10834 HAVE_LIBMICROHTTPD
=$have_libmicrohttpd
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo" >&5
10840 $as_echo_n "checking for cairo... " >&6; }
10842 if test -n "$cairo_CFLAGS"; then
10843 pkg_cv_cairo_CFLAGS
="$cairo_CFLAGS"
10844 elif test -n "$PKG_CONFIG"; then
10845 if test -n "$PKG_CONFIG" && \
10846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2\""; } >&5
10847 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2") 2>&5
10849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10850 test $ac_status = 0; }; then
10851 pkg_cv_cairo_CFLAGS
=`$PKG_CONFIG --cflags "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>/dev/null`
10852 test "x$?" != "x0" && pkg_failed
=yes
10859 if test -n "$cairo_LIBS"; then
10860 pkg_cv_cairo_LIBS
="$cairo_LIBS"
10861 elif test -n "$PKG_CONFIG"; then
10862 if test -n "$PKG_CONFIG" && \
10863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2\""; } >&5
10864 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2") 2>&5
10866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10867 test $ac_status = 0; }; then
10868 pkg_cv_cairo_LIBS
=`$PKG_CONFIG --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>/dev/null`
10869 test "x$?" != "x0" && pkg_failed
=yes
10879 if test $pkg_failed = yes; then
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10881 $as_echo "no" >&6; }
10883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10884 _pkg_short_errors_supported
=yes
10886 _pkg_short_errors_supported
=no
10888 if test $_pkg_short_errors_supported = yes; then
10889 cairo_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>&1`
10891 cairo_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.2, cairo-ft >= 1.2, cairo-png >= 1.2" 2>&1`
10893 # Put the nasty error message in config.log where it belongs
10894 echo "$cairo_PKG_ERRORS" >&5
10897 elif test $pkg_failed = untried
; then
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10899 $as_echo "no" >&6; }
10902 cairo_CFLAGS
=$pkg_cv_cairo_CFLAGS
10903 cairo_LIBS
=$pkg_cv_cairo_LIBS
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10905 $as_echo "yes" >&6; }
10908 HAVE_CAIRO
=$have_cairo
10911 enable_webapi
=false
10912 if test "x$do_webapi" != "xno"; then :
10916 if test "$have_libmicrohttpd" != "true"
10918 enable_webapi
=false
10919 test "$do_webapi" != "check" && \
10920 as_fn_error $?
"libmicrohttpd is not installed, cannot enable the web API" "$LINENO" 5
10921 elif test "$do_webapi" != "check" -a "x$cxx" = "x"
10923 enable_webapi
=false
10924 test "$do_webapi" != "check" && \
10925 as_fn_error $?
"C++ compiler unavailable, cannot enable the web API" "$LINENO" 5
10931 enable_manager
=false
10932 if test "x$do_manager" != "xno"; then :
10934 enable_manager
=true
10936 if test "$target_os" = "mingw"
10938 enable_manager
=false
10939 test "$do_manager" != "check" && \
10940 as_fn_error $?
"MinGW build, cannot enable daemon manager" "$LINENO" 5
10941 elif test "x$cxx" = "x"
10943 enable_manager
=false
10944 test "$do_manager" != "check" && \
10945 as_fn_error $?
"C++ compiler unavailable, cannot enable daemon manager" "$LINENO" 5
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compilation features for daemon manager" >&5
10948 $as_echo_n "checking compilation features for daemon manager... " >&6; }
10949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10951 #ifndef _XOPEN_SOURCE
10952 #define _XOPEN_SOURCE 600
10964 if ac_fn_c_try_compile
"$LINENO"; then :
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10966 $as_echo "yes" >&6; }
10968 enable_manager
=false
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10970 $as_echo "no" >&6; }
10972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
10978 $as_echo_n "checking return type of signal handlers... " >&6; }
10979 if ${ac_cv_type_signal+:} false
; then :
10980 $as_echo_n "(cached) " >&6
10982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10984 #include <sys/types.h>
10985 #include <signal.h>
10990 return *(signal (0, 0)) (0) == 1;
10995 if ac_fn_c_try_compile
"$LINENO"; then :
10996 ac_cv_type_signal
=int
10998 ac_cv_type_signal
=void
11000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11003 $as_echo "$ac_cv_type_signal" >&6; }
11005 cat >>confdefs.h
<<_ACEOF
11006 #define RETSIGTYPE $ac_cv_type_signal
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5
11011 $as_echo_n "checking for wait3 that fills in rusage... " >&6; }
11012 if ${ac_cv_func_wait3_rusage+:} false
; then :
11013 $as_echo_n "(cached) " >&6
11015 if test "$cross_compiling" = yes; then :
11016 ac_cv_func_wait3_rusage
=no
11018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11020 $ac_includes_default
11021 #include <sys/time.h>
11022 #include <sys/resource.h>
11023 #include <sys/wait.h>
11024 /* HP-UX has wait3 but does not fill in rusage at all. */
11030 /* Use a field that we can force nonzero --
11031 voluntary context switches.
11032 For systems like NeXT and OSF/1 that don't set it,
11033 also use the system CPU time. And page faults (I/O) for Linux. */
11035 r.ru_stime.tv_sec = 0;
11036 r.ru_stime.tv_usec = 0;
11037 r.ru_majflt = r.ru_minflt = 0;
11040 case 0: /* Child. */
11041 sleep(1); /* Give up the CPU. */
11044 case -1: /* What can we do? */
11047 default: /* Parent. */
11049 /* Avoid "text file busy" from rm on fast HP-UX machines. */
11051 return (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
11052 && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
11056 if ac_fn_c_try_run
"$LINENO"; then :
11057 ac_cv_func_wait3_rusage
=yes
11059 ac_cv_func_wait3_rusage
=no
11061 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11062 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5
11067 $as_echo "$ac_cv_func_wait3_rusage" >&6; }
11068 if test $ac_cv_func_wait3_rusage = yes; then
11070 $as_echo "#define HAVE_WAIT3 1" >>confdefs.h
11074 for ac_func
in vprintf
11076 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
11077 if test "x$ac_cv_func_vprintf" = xyes
; then :
11078 cat >>confdefs.h
<<_ACEOF
11079 #define HAVE_VPRINTF 1
11082 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
11083 if test "x$ac_cv_func__doprnt" = xyes
; then :
11085 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
11093 for ac_func
in mktime nanosleep
usleep unsetenv
11095 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11096 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11097 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11098 cat >>confdefs.h
<<_ACEOF
11099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11105 for ac_func
in select socket gethostname getpeerucred getpeereid
11107 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11108 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11109 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11110 cat >>confdefs.h
<<_ACEOF
11111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11117 for ac_func
in uname syslog __clone pipe2 fcntl ioctl
11119 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11120 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11121 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11122 cat >>confdefs.h
<<_ACEOF
11123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11129 for ac_func
in prctl setlinebuf waitpid atexit
kill
11131 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11132 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11133 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11134 cat >>confdefs.h
<<_ACEOF
11135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11141 for ac_func
in chown fchmod getcwd scandir mkstemp
11143 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11144 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11145 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11146 cat >>confdefs.h
<<_ACEOF
11147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11153 for ac_func
in brk sbrk posix_memalign memalign valloc
11155 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11156 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11157 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11158 cat >>confdefs.h
<<_ACEOF
11159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11165 for ac_func
in signal sighold sigrelse tcgetattr
11167 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11168 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11169 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11170 cat >>confdefs.h
<<_ACEOF
11171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11177 for ac_func
in regex regcmp regexec regcomp
11179 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11180 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11181 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11182 cat >>confdefs.h
<<_ACEOF
11183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11189 for ac_func
in strtod strtol strtoll strtoull strndup strchrnul
11191 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11192 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11193 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11194 cat >>confdefs.h
<<_ACEOF
11195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11201 for ac_func
in getuid getgid
11203 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11204 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11205 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11206 cat >>confdefs.h
<<_ACEOF
11207 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11213 for ac_func
in getgrent getgrent_r getgrnam getgrnam_r getgrgid getgrgid_r
11215 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11216 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11217 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11218 cat >>confdefs.h
<<_ACEOF
11219 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11225 for ac_func
in getpwent getpwent_r getpwnam getpwnam_r getpwuid getpwuid_r
11227 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11228 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11229 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11230 cat >>confdefs.h
<<_ACEOF
11231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11237 for ac_func
in sysinfo trace_back_stack backtrace
11239 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11240 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11241 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11242 cat >>confdefs.h
<<_ACEOF
11243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11249 for ac_func
in sendmsg recvmsg setns
11251 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11252 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11253 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11254 cat >>confdefs.h
<<_ACEOF
11255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11262 if test $target_os != linux
-a $target_os != freebsd
-a $target_os != kfreebsd
-a $target_os != netbsd
; then
11263 for ac_func
in readdir64
11265 ac_fn_c_check_func
"$LINENO" "readdir64" "ac_cv_func_readdir64"
11266 if test "x$ac_cv_func_readdir64" = xyes
; then :
11267 cat >>confdefs.h
<<_ACEOF
11268 #define HAVE_READDIR64 1
11276 if test $target_os = solaris
11278 ac_fn_c_check_type
"$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default"
11279 if test "x$ac_cv_type___int32_t" = xyes
; then :
11283 cat >>confdefs.h
<<_ACEOF
11284 #define __int32_t int32_t
11289 ac_fn_c_check_type
"$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default"
11290 if test "x$ac_cv_type___uint32_t" = xyes
; then :
11294 cat >>confdefs.h
<<_ACEOF
11295 #define __uint32_t uint32_t
11300 ac_fn_c_check_type
"$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default"
11301 if test "x$ac_cv_type___int64_t" = xyes
; then :
11305 cat >>confdefs.h
<<_ACEOF
11306 #define __int64_t int64_t
11311 ac_fn_c_check_type
"$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default"
11312 if test "x$ac_cv_type___uint64_t" = xyes
; then :
11316 cat >>confdefs.h
<<_ACEOF
11317 #define __uint64_t uint64_t
11322 ac_fn_c_check_type
"$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
11323 if test "x$ac_cv_type_uint_t" = xyes
; then :
11327 cat >>confdefs.h
<<_ACEOF
11328 #define uint_t u_int32_t
11334 ac_fn_c_check_type
"$LINENO" "__int32_t" "ac_cv_type___int32_t" "$ac_includes_default"
11335 if test "x$ac_cv_type___int32_t" = xyes
; then :
11339 cat >>confdefs.h
<<_ACEOF
11340 #define __int32_t int
11345 ac_fn_c_check_type
"$LINENO" "__uint32_t" "ac_cv_type___uint32_t" "$ac_includes_default"
11346 if test "x$ac_cv_type___uint32_t" = xyes
; then :
11350 cat >>confdefs.h
<<_ACEOF
11351 #define __uint32_t unsigned int
11356 ac_fn_c_check_type
"$LINENO" "__int64_t" "ac_cv_type___int64_t" "$ac_includes_default"
11357 if test "x$ac_cv_type___int64_t" = xyes
; then :
11361 cat >>confdefs.h
<<_ACEOF
11362 #define __int64_t long long
11367 ac_fn_c_check_type
"$LINENO" "__uint64_t" "ac_cv_type___uint64_t" "$ac_includes_default"
11368 if test "x$ac_cv_type___uint64_t" = xyes
; then :
11372 cat >>confdefs.h
<<_ACEOF
11373 #define __uint64_t unsigned long long
11378 ac_fn_c_check_type
"$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
11379 if test "x$ac_cv_type_uint_t" = xyes
; then :
11383 cat >>confdefs.h
<<_ACEOF
11384 #define uint_t unsigned int
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __psint_t " >&5
11392 $as_echo_n "checking for __psint_t ... " >&6; }
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 #include <sys/types.h>
11397 #include <stdlib.h>
11398 #include <stddef.h>
11408 if ac_fn_c_try_compile
"$LINENO"; then :
11410 $as_echo "#define HAVE___PSINT_T 1" >>confdefs.h
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11412 $as_echo "yes" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t " >&5
11420 $as_echo_n "checking for ptrdiff_t ... " >&6; }
11421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 #include <stddef.h>
11425 #ifdef HAVE_MALLOC_H
11426 #include <malloc.h>
11437 if ac_fn_c_try_compile
"$LINENO"; then :
11439 $as_echo "#define HAVE_PTRDIFF_T 1" >>confdefs.h
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11441 $as_echo "yes" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 $as_echo "no" >&6; }
11446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t " >&5
11449 $as_echo_n "checking for uid_t ... " >&6; }
11450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 #include <sys/types.h>
11466 if ac_fn_c_try_compile
"$LINENO"; then :
11468 $as_echo "#define HAVE_UID_T 1" >>confdefs.h
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11470 $as_echo "yes" >&6; }
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11473 $as_echo "no" >&6; }
11475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gid_t " >&5
11477 $as_echo_n "checking for gid_t ... " >&6; }
11478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 #include <sys/types.h>
11494 if ac_fn_c_try_compile
"$LINENO"; then :
11496 $as_echo "#define HAVE_GID_T 1" >>confdefs.h
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11498 $as_echo "yes" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11501 $as_echo "no" >&6; }
11503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SID " >&5
11505 $as_echo_n "checking for SID ... " >&6; }
11506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 #ifdef HAVE_WINDOWS_H
11510 #include <windows.h>
11521 if ac_fn_c_try_compile
"$LINENO"; then :
11523 $as_echo "#define HAVE_SID 1" >>confdefs.h
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11525 $as_echo "yes" >&6; }
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11528 $as_echo "no" >&6; }
11530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t " >&5
11533 $as_echo_n "checking for socklen_t ... " >&6; }
11534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 #include <sys/types.h>
11538 #ifdef HAVE_SYS_SOCKET_H
11539 #include <sys/socket.h>
11550 if ac_fn_c_try_compile
"$LINENO"; then :
11552 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11554 $as_echo "yes" >&6; }
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11557 $as_echo "no" >&6; }
11559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11574 if ac_fn_c_try_compile
"$LINENO"; then :
11576 $as_echo "#define HAVE_CONST_LONGLONG 1" >>confdefs.h
11579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 #include <stdlib.h>
11585 #include <unistd.h>
11590 char **x = _environ;
11595 if ac_fn_c_try_link
"$LINENO"; then :
11597 $as_echo "#define HAVE_UNDERBAR_ENVIRON 1" >>confdefs.h
11600 rm -f core conftest.err conftest.
$ac_objext \
11601 conftest
$ac_exeext conftest.
$ac_ext
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_TERMCHILD constant in sys/prctl.h" >&5
11604 $as_echo_n "checking for PR_TERMCHILD constant in sys/prctl.h... " >&6; }
11605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11608 #ifdef HAVE_SYS_PRCTL_H
11609 #include <sys/prctl.h>
11615 int i = PR_TERMCHILD;
11620 if ac_fn_c_try_compile
"$LINENO"; then :
11622 $as_echo "#define HAVE_PR_TERMCHILD 1" >>confdefs.h
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11624 $as_echo "yes" >&6; }
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11627 $as_echo "no" >&6; }
11629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_SET_PDEATHSIG constant in sys/prctl.h" >&5
11632 $as_echo_n "checking for PR_SET_PDEATHSIG constant in sys/prctl.h... " >&6; }
11633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11636 #ifdef HAVE_SYS_PRCTL_H
11637 #include <sys/prctl.h>
11643 int i = PR_SET_PDEATHSIG;
11648 if ac_fn_c_try_compile
"$LINENO"; then :
11650 $as_echo "#define HAVE_PR_SET_PDEATHSIG 1" >>confdefs.h
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11652 $as_echo "yes" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11655 $as_echo "no" >&6; }
11657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
11660 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
11661 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
11662 $as_echo_n "(cached) " >&6
11664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11666 #include <sys/types.h>
11667 #include <termios.h>
11673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11674 $EGREP "yes" >/dev
/null
2>&1; then :
11675 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
11677 ac_cv_sys_tiocgwinsz_in_termios_h
=no
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
11683 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
11685 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
11687 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
11688 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
11689 $as_echo_n "(cached) " >&6
11691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11693 #include <sys/types.h>
11694 #include <sys/ioctl.h>
11700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11701 $EGREP "yes" >/dev
/null
2>&1; then :
11702 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
11704 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
11710 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
11712 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
11714 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -rdynamic" >&5
11721 $as_echo_n "checking if linker supports -rdynamic... " >&6; }
11722 save_CFLAGS
="$CFLAGS"
11724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11735 if ac_fn_c_try_link
"$LINENO"; then :
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11737 $as_echo "yes" >&6; }
11738 rdynamic_flag
=-rdynamic
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11745 rm -f core conftest.err conftest.
$ac_objext \
11746 conftest
$ac_exeext conftest.
$ac_ext
11747 CFLAGS
="$save_CFLAGS"
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether const arg for scandir() select method" >&5
11752 $as_echo_n "checking whether const arg for scandir() select method... " >&6; }
11753 cat <<End-of-File >conftest.c
11754 #include <stdlib.h>
11755 #include <unistd.h>
11756 #include <dirent.h>
11758 my_select(const struct dirent *foo) { return 0; }
11759 int main() { struct dirent **list; return scandir(".", &list, my_select, NULL); }
11761 (eval $ac_compile) 2>conftest.out
11762 cat conftest.out
>&5
11763 if test -s conftest.out
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11766 $as_echo "no" >&6; }
11769 $as_echo "#define HAVE_CONST_DIRENT 1" >>confdefs.h
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11772 $as_echo "yes" >&6; }
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dirent has a d_off field" >&5
11777 $as_echo_n "checking whether struct dirent has a d_off field... " >&6; }
11778 cat <<End-of-File >conftest.c
11779 #include <stdlib.h>
11780 #include <unistd.h>
11781 #include <dirent.h>
11782 int main() { struct dirent d; d.d_off = 0; }
11784 (eval $ac_compile) 2>conftest.out
11785 cat conftest.out
>&5
11786 if test -s conftest.out
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11789 $as_echo "no" >&6; }
11792 $as_echo "#define HAVE_DIRENT_D_OFF 1" >>confdefs.h
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11795 $as_echo "yes" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if printf %p produces 0x prefix" >&5
11800 $as_echo_n "checking if printf %p produces 0x prefix... " >&6; }
11801 if test "$cross_compiling" = "yes"; then
11802 ans
=$printf_p_prefix
11803 echo "cross-compile -> \"$ans\"" >&5
11805 cat <<End-of-File >conftest.c
11807 int main(int argc, char **argv) { printf("%p", argv); return(0); }
11809 (eval $ac_compile) 2>&5
11810 (eval $ac_link) 2>&5
11812 echo "./conftest -> \"$ans\"" >&5
11818 $as_echo "#define HAVE_PRINTF_P_PFX 1" >>confdefs.h
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11821 $as_echo "yes" >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11825 $as_echo "no" >&6; }
11828 rm -rf conftest conftest.
*
11832 # need to deal with this sort of cpp output ...
11833 # typedef long pid_t;
11834 # typedef unsigned int pid_t;
11835 # typedef unsigned int pid_t __attribute__ ((__mode__ (__SI__)));
11836 # __extension__ typedef int pid_t;
11842 # typedef ... *pid;
11843 # and chaining of the form
11844 # typedef long __pid_t;
11845 # typedef __pid_t pid_t;
11847 _raw
=`$CPP conftest.c \
11849 -e 's/[ ]__attribute__ ((.*));/;/' \
11850 -e 's/__extension__[ ][ ]*//' \
11852 /bozo/ { print; next }
11853 $1 == "typedef" { printf "%s",$0
11859 if ($0 ~ /{/) depth = 1
11862 wantsemi == 1 { printf " %s",$0
11863 if ($0 ~ /{/) depth++
11865 if ($0 ~ /}/) depth--
11866 if (depth > 0) next
11879 $1 == "typedef" { map[$NF] = ""
11880 for (i = 2; i < NF; i++) {
11884 map[$NF] = map[$NF] " " $i
11886 print $NF " -> " map[$NF] >"conftest.debug"
11889 $2 == "bozo" { t = $1
11890 printf "best guess: %s",t >"conftest.debug"
11891 while (map[t] != "") {
11893 printf " -> %s",t >"conftest.debug"
11895 print "" >"conftest.debug"
11904 unsigned|
'unsigned int')
11910 'long long'|
'long long int')
11911 if test $target_os = mingw
; then
11917 'unsigned long'|
'unsigned long int'|
'long unsigned int')
11920 'unsigned long long'|
'unsigned long long int')
11921 if test $target_os = mingw
; then
11927 *\
*) # pointer to a something
11930 struct\
*) # not much can be done here ...
11935 echo "FATAL ERROR: don't know what to do with type \"$_raw\""
11936 echo "... typedef mapping ..."
11938 rm -rf conftest conftest.
*
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pid_t" >&5
11945 $as_echo_n "checking printf type for pid_t... " >&6; }
11946 if test "$cross_compiling" = "yes"; then
11947 ans
=$printf_fmt_pid
11948 echo "cross-compile -> \"$ans\"" >&5
11951 cat <<End-of-File >conftest.c
11952 #include <sys/types.h>
11953 #include <unistd.h>
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pid" >&5
11960 $as_echo "$fmt_pid" >&6; }
11962 rm -rf conftest.c conftest.debug
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for int64_t " >&5
11965 $as_echo_n "checking printf type for int64_t ... " >&6; }
11966 if test "$cross_compiling" = "yes"; then
11967 ans
=$printf_fmt_int64
11968 echo "cross-compile -> \"$ans\"" >&5
11970 cat <<End-of-File >conftest.c
11972 #include <stdint.h>
11973 #include <inttypes.h>
11976 printf("\"%s\"\n", __PRI64_PREFIX "d");
11981 (eval $ac_link) 2>&5
11982 if test -x .
/conftest
11985 echo "./conftest -> \"$ans\"" >&5
11989 cat <<End-of-File >conftest.c
11991 #include <stdint.h>
11992 #include <string.h>
11996 int64_t bozo = 0x12345678abcdLL;
11997 sprintf(buf, "%lx", bozo);
11998 if (strcmp(buf, "12345678abcd") == 0)
11999 printf("\"ld\"\n");
12001 sprintf(buf, "%llx", bozo);
12002 if (strcmp(buf, "12345678abcd") == 0)
12003 printf("\"lld\"\n");
12008 (eval $ac_link) 2>&5
12009 if test -x .
/conftest
12012 echo "./conftest -> \"$ans\"" >&5
12018 echo 'FATAL ERROR: Cannot determine printf format for int64_t type'
12019 rm -rf conftest conftest.
*
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$fmt_int64\"" >&5
12024 $as_echo "\"$fmt_int64\"" >&6; }
12026 rm -rf conftest.
* conftest
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking strtol or strtoll for int64_t" >&5
12029 $as_echo_n "checking strtol or strtoll for int64_t... " >&6; }
12030 if test "$cross_compiling" = "yes"; then
12032 echo "cross-compile -> \"$ans\"" >&5
12034 cat <<End-of-File >conftest.c
12036 #include <stdlib.h>
12039 long long int value = -1;
12040 value = strtol("1234567812345678", NULL, 16);
12041 if (value == 0x1234567812345678LL) {
12042 printf("strotol\n");
12045 value = strtoll("1234567812345678", NULL, 16);
12046 if (value == 0x1234567812345678LL) {
12047 printf("strtoll\n");
12053 (eval $ac_compile) 2>&5
12054 (eval $ac_link) 2>&5
12056 echo "./conftest -> \"$ans\"" >&5
12061 $as_echo "#define strtoint64 strtol" >>confdefs.h
12063 $as_echo "#define strtouint64 strtoul" >>confdefs.h
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtol" >&5
12066 $as_echo "strtol" >&6; }
12069 $as_echo "#define strtoint64 strtoll" >>confdefs.h
12071 $as_echo "#define strtouint64 strtoull" >>confdefs.h
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: strtoll" >&5
12074 $as_echo "strtoll" >&6; }
12077 $as_echo "#define strtoint64 strtoll" >>confdefs.h
12079 $as_echo "#define strtouint64 strtoull" >>confdefs.h
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming strtoll" >&5
12082 $as_echo "assuming strtoll" >&6; }
12085 rm -rf conftest conftest.
*
12087 if test "$do_threads" = "check" -o "$do_threads" = "yes"
12089 for ac_header
in pthread.h
12091 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
12092 if test "x$ac_cv_header_pthread_h" = xyes
; then :
12093 cat >>confdefs.h
<<_ACEOF
12094 #define HAVE_PTHREAD_H 1
12099 if test "$do_threads" = "yes"
12101 as_fn_error $?
"cannot enable multi-threaded mode - no pthread.h" "$LINENO" 5
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_t in pthread.h" >&5
12110 $as_echo_n "checking for pthread_mutex_t in pthread.h... " >&6; }
12111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12113 #include <pthread.h>
12117 pthread_mutex_t mymutex;
12122 if ac_fn_c_try_compile
"$LINENO"; then :
12124 $as_echo "#define HAVE_PTHREAD_MUTEX_T 1" >>confdefs.h
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12126 $as_echo "yes" >&6; }
12129 if test "$do_threads" = "yes"
12131 as_fn_error $?
"cannot enable multi-threaded mode - no mutexes" "$LINENO" 5
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12134 $as_echo "no" >&6; }
12138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where pthread_create() is defined" >&5
12141 $as_echo_n "checking where pthread_create() is defined... " >&6; }
12142 for cand
in "" pthreads pthread
; do
12146 LIBS
=`echo $LIBS -l$cand`
12148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 #include <pthread.h>
12157 pthread_create(NULL, NULL, NULL, NULL);
12163 if ac_fn_c_try_link
"$LINENO"; then :
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: lib${cand:-c}" >&5
12165 $as_echo "lib${cand:-c}" >&6; }
12168 lib_for_pthreads
="$cand"
12170 lib_for_pthreads
="-l$cand"
12175 rm -f core conftest.err conftest.
$ac_objext \
12176 conftest
$ac_exeext conftest.
$ac_ext
12181 if test "$ac_cv_header_pthread_h" = "yes"
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking printf type for pthread_t" >&5
12184 $as_echo_n "checking printf type for pthread_t... " >&6; }
12185 cat <<End-of-File >conftest.c
12186 #include <pthread.h>
12190 fmt_pthread
="$_fmt"
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fmt_pthread" >&5
12192 $as_echo "$fmt_pthread" >&6; }
12194 rm -rf conftest.c conftest.debug
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports __thread" >&5
12197 $as_echo_n "checking if compiler supports __thread... " >&6; }
12198 if test $target_os = netbsd
12200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #include <pthread.h>
12203 #if __GNUC__ < 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ < 5 )
12216 if ac_fn_c_try_compile
"$LINENO"; then :
12218 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12220 $as_echo "yes" >&6; }
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223 $as_echo "no" >&6; }
12225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 #include <pthread.h>
12239 if ac_fn_c_try_compile
"$LINENO"; then :
12241 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12243 $as_echo "yes" >&6; }
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12246 $as_echo "no" >&6; }
12248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_barrier_t in pthread.h" >&5
12252 $as_echo_n "checking for pthread_barrier_t in pthread.h... " >&6; }
12253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12254 /* end confdefs.h. */
12255 #include <pthread.h>
12259 pthread_barrier_t mybarrier;
12264 if ac_fn_c_try_compile
"$LINENO"; then :
12266 $as_echo "#define HAVE_PTHREAD_BARRIER_T 1" >>confdefs.h
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12268 $as_echo "yes" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof suseconds_t" >&5
12278 $as_echo_n "checking sizeof suseconds_t... " >&6; }
12279 if test "$cross_compiling" = "yes"; then
12280 ans
=$sizeof_suseconds_t
12281 echo "cross-compile -> \"$ans\"" >&5
12283 cat <<End-of-File >conftest.c
12284 #include <sys/time.h>
12285 main() { printf("%d", (int)sizeof(suseconds_t)); }
12287 (eval $ac_compile) 2>&5
12288 (eval $ac_link) 2>&5
12290 echo "./conftest -> \"$ans\"" >&5
12291 rm -rf conftest conftest.
*
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12294 $as_echo "$ans" >&6; }
12296 cat >>confdefs.h
<<_ACEOF
12297 #define SIZEOF_SUSECONDS_T $ans
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof time_t" >&5
12302 $as_echo_n "checking sizeof time_t... " >&6; }
12303 if test "$cross_compiling" = "yes"; then
12305 echo "cross-compile -> \"$ans\"" >&5
12307 cat <<End-of-File >conftest.c
12308 #include <sys/time.h>
12309 main() { printf("%d", (int)sizeof(time_t)); }
12311 (eval $ac_compile) 2>&5
12312 (eval $ac_link) 2>&5
12314 echo "./conftest -> \"$ans\"" >&5
12315 rm -rf conftest conftest.
*
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12318 $as_echo "$ans" >&6; }
12320 cat >>confdefs.h
<<_ACEOF
12321 #define SIZEOF_TIME_T $ans
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof long" >&5
12326 $as_echo_n "checking sizeof long... " >&6; }
12327 if test "$cross_compiling" = "yes"; then
12329 echo "cross-compile -> \"$ans\"" >&5
12331 cat <<End-of-File >conftest.c
12333 main() { printf("%d", (int)sizeof(long)); }
12335 (eval $ac_compile) 2>&5
12336 (eval $ac_link) 2>&5
12338 echo "./conftest -> \"$ans\"" >&5
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12341 $as_echo "$ans" >&6; }
12342 if test "$ans" = 4; then
12344 $as_echo "#define HAVE_32BIT_LONG 1" >>confdefs.h
12346 elif test "$ans" = 8; then
12348 $as_echo "#define HAVE_64BIT_LONG 1" >>confdefs.h
12352 echo "FATAL ERROR: size of long is not 32 or 64 bits, cannot proceed."
12353 echo "sizeof(char *) -> $ans"
12354 rm -rf conftest conftest.
*
12357 rm -rf conftest conftest.
*
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof pointer" >&5
12360 $as_echo_n "checking sizeof pointer... " >&6; }
12361 if test "$cross_compiling" = "yes"; then
12362 ans
=$sizeof_pointer
12363 echo "cross-compile -> \"$ans\"" >&5
12365 cat <<End-of-File >conftest.c
12367 main() { printf("%d", (int)sizeof(char *)); }
12369 (eval $ac_compile) 2>&5
12370 (eval $ac_link) 2>&5
12372 echo "./conftest -> \"$ans\"" >&5
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12375 $as_echo "$ans" >&6; }
12376 if test "$ans" = 4; then
12378 $as_echo "#define HAVE_32BIT_PTR 1" >>confdefs.h
12381 elif test "$ans" = 8; then
12383 $as_echo "#define HAVE_64BIT_PTR 1" >>confdefs.h
12388 echo "FATAL ERROR: size of pointer is not 32 or 64 bits, cannot proceed."
12389 echo "sizeof(char *) -> $ans"
12390 rm -rf conftest conftest.
*
12393 rm -rf conftest conftest.
*
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sizeof int" >&5
12396 $as_echo_n "checking sizeof int... " >&6; }
12397 if test "$cross_compiling" = "yes"; then
12399 echo "cross-compile -> \"$ans\"" >&5
12401 cat <<End-of-File >conftest.c
12403 main() { printf("%d", (int)sizeof(int)); }
12405 (eval $ac_compile) 2>&5
12406 (eval $ac_link) 2>&5
12408 echo "./conftest -> \"$ans\"" >&5
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
12411 $as_echo "$ans" >&6; }
12412 if test "$ans" != 4
12415 echo "FATAL ERROR: sizeof(int) is not 32 bits, cannot proceed."
12416 echo "Note: 32-bit ints are assumed in the PCP external file formats and"
12417 echo " the over-the-wire PDU formats"
12418 rm -rf conftest conftest.
*
12421 rm -rf conftest conftest.
*
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bit fields allocated left-to-right" >&5
12424 $as_echo_n "checking if bit fields allocated left-to-right... " >&6; }
12425 if test "$cross_compiling" = "yes"; then
12426 ans
=$bit_field_scheme
12427 echo "cross-compile -> \"$ans\"" >&5
12429 cat <<End-of-File >conftest.c
12430 union { struct { unsigned int b:4; unsigned int c:4; } a; int p; } u;
12431 main() { u.a.b = 1; u.a.c = 2; printf("%0*x", 2*sizeof(int), u.p); }
12433 (eval $ac_compile) 2>&5
12434 (eval $ac_link) 2>&5
12436 echo "./conftest -> \"$ans\"" >&5
12441 # left-to-right starting from MSB (SGI cc on MIPS), or
12442 # left-to-right ending at LSB
12444 $as_echo "#define HAVE_BITFIELDS_LTOR 1" >>confdefs.h
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12447 $as_echo "yes" >&6; }
12450 # right-to-left ending at MSB, or
12451 # right-to-left starting from LSB (gcc in Intel)
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12453 $as_echo "no" >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
12457 $as_echo "unknown" >&6; }
12458 echo "FATAL ERROR: could not fathom your compiler's bit field allocation scheme"
12459 rm -f conftest conftest.
*
12463 rm -rf conftest conftest.
*
12465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12468 #include <stdlib.h>
12469 #include <unistd.h>
12476 double y = (double)x;
12482 if ac_fn_c_try_link
"$LINENO"; then :
12484 $as_echo "#define HAVE_CAST_U64_DOUBLE 1" >>confdefs.h
12487 rm -f core conftest.err conftest.
$ac_objext \
12488 conftest
$ac_exeext conftest.
$ac_ext
12490 for ac_func
in basename
12492 ac_fn_c_check_func
"$LINENO" "basename" "ac_cv_func_basename"
12493 if test "x$ac_cv_func_basename" = xyes
; then :
12494 cat >>confdefs.h
<<_ACEOF
12495 #define HAVE_BASENAME 1
12501 if test $ac_cv_func_basename = yes
12504 $as_echo "#define HAVE_BASENAME 1" >>confdefs.h
12507 $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h
12509 lib_for_basename
=""
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basename in -lgen" >&5
12512 $as_echo_n "checking for basename in -lgen... " >&6; }
12513 if ${ac_cv_lib_gen_basename+:} false
; then :
12514 $as_echo_n "(cached) " >&6
12516 ac_check_lib_save_LIBS
=$LIBS
12518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12521 /* Override any GCC internal prototype to avoid an error.
12522 Use char because int might match the return type of a GCC
12523 builtin and then its argument prototype would still apply. */
12531 return basename ();
12536 if ac_fn_c_try_link
"$LINENO"; then :
12537 ac_cv_lib_gen_basename
=yes
12539 ac_cv_lib_gen_basename
=no
12541 rm -f core conftest.err conftest.
$ac_objext \
12542 conftest
$ac_exeext conftest.
$ac_ext
12543 LIBS
=$ac_check_lib_save_LIBS
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_basename" >&5
12546 $as_echo "$ac_cv_lib_gen_basename" >&6; }
12547 if test "x$ac_cv_lib_gen_basename" = xyes
; then :
12548 cat >>confdefs.h
<<_ACEOF
12549 #define HAVE_LIBGEN 1
12556 if test $ac_cv_lib_gen_basename = yes
12559 $as_echo "#define HAVE_BASENAME 1" >>confdefs.h
12562 $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h
12564 lib_for_basename
="-lgen"
12566 lib_for_basename
="-lpcp"
12571 lib_for_clock_gettime
=
12572 for ac_func
in clock_gettime
12574 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
12575 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
12576 cat >>confdefs.h
<<_ACEOF
12577 #define HAVE_CLOCK_GETTIME 1
12583 if test $ac_cv_func_clock_gettime = no
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12586 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12587 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
12588 $as_echo_n "(cached) " >&6
12590 ac_check_lib_save_LIBS
=$LIBS
12592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 /* Override any GCC internal prototype to avoid an error.
12596 Use char because int might match the return type of a GCC
12597 builtin and then its argument prototype would still apply. */
12601 char clock_gettime ();
12605 return clock_gettime ();
12610 if ac_fn_c_try_link
"$LINENO"; then :
12611 ac_cv_lib_rt_clock_gettime
=yes
12613 ac_cv_lib_rt_clock_gettime
=no
12615 rm -f core conftest.err conftest.
$ac_objext \
12616 conftest
$ac_exeext conftest.
$ac_ext
12617 LIBS
=$ac_check_lib_save_LIBS
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12620 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12621 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
12622 cat >>confdefs.h
<<_ACEOF
12623 #define HAVE_LIBRT 1
12630 if test $ac_cv_lib_rt_clock_gettime = yes
12633 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
12641 for ac_func
in dlopen
12643 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12644 if test "x$ac_cv_func_dlopen" = xyes
; then :
12645 cat >>confdefs.h
<<_ACEOF
12646 #define HAVE_DLOPEN 1
12652 if test $ac_cv_func_dlopen = no
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12655 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12656 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12657 $as_echo_n "(cached) " >&6
12659 ac_check_lib_save_LIBS
=$LIBS
12661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12679 if ac_fn_c_try_link
"$LINENO"; then :
12680 ac_cv_lib_dl_dlopen
=yes
12682 ac_cv_lib_dl_dlopen
=no
12684 rm -f core conftest.err conftest.
$ac_objext \
12685 conftest
$ac_exeext conftest.
$ac_ext
12686 LIBS
=$ac_check_lib_save_LIBS
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12689 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12690 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12691 cat >>confdefs.h
<<_ACEOF
12692 #define HAVE_LIBDL 1
12699 if test $ac_cv_lib_dl_dlopen = yes
12702 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12704 lib_for_dlopen
=-ldl
12710 for ac_func
in flog10
12712 ac_fn_c_check_func
"$LINENO" "flog10" "ac_cv_func_flog10"
12713 if test "x$ac_cv_func_flog10" = xyes
; then :
12714 cat >>confdefs.h
<<_ACEOF
12715 #define HAVE_FLOG10 1
12721 if test $ac_cv_func_flog10 = no
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flog10 in -lm" >&5
12724 $as_echo_n "checking for flog10 in -lm... " >&6; }
12725 if ${ac_cv_lib_m_flog10+:} false
; then :
12726 $as_echo_n "(cached) " >&6
12728 ac_check_lib_save_LIBS
=$LIBS
12730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12748 if ac_fn_c_try_link
"$LINENO"; then :
12749 ac_cv_lib_m_flog10
=yes
12751 ac_cv_lib_m_flog10
=no
12753 rm -f core conftest.err conftest.
$ac_objext \
12754 conftest
$ac_exeext conftest.
$ac_ext
12755 LIBS
=$ac_check_lib_save_LIBS
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_flog10" >&5
12758 $as_echo "$ac_cv_lib_m_flog10" >&6; }
12759 if test "x$ac_cv_lib_m_flog10" = xyes
; then :
12760 cat >>confdefs.h
<<_ACEOF
12761 #define HAVE_LIBM 1
12768 if test $ac_cv_lib_m_flog10 = yes
12771 $as_echo "#define HAVE_FLOG10 1" >>confdefs.h
12777 $as_echo "#define HAVE_FLOG10 1" >>confdefs.h
12782 ac_fn_c_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12783 if test "x$ac_cv_func_pow" = xyes
; then :
12784 cat >>confdefs.h
<<_ACEOF
12791 if test $ac_cv_func_pow = no
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12794 $as_echo_n "checking for pow in -lm... " >&6; }
12795 if ${ac_cv_lib_m_pow+:} false
; then :
12796 $as_echo_n "(cached) " >&6
12798 ac_check_lib_save_LIBS
=$LIBS
12800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12818 if ac_fn_c_try_link
"$LINENO"; then :
12819 ac_cv_lib_m_pow
=yes
12823 rm -f core conftest.err conftest.
$ac_objext \
12824 conftest
$ac_exeext conftest.
$ac_ext
12825 LIBS
=$ac_check_lib_save_LIBS
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12828 $as_echo "$ac_cv_lib_m_pow" >&6; }
12829 if test "x$ac_cv_lib_m_pow" = xyes
; then :
12830 cat >>confdefs.h
<<_ACEOF
12831 #define HAVE_LIBM 1
12838 if test $ac_cv_lib_m_pow = yes
12841 $as_echo "#define HAVE_POW 1" >>confdefs.h
12847 $as_echo "#define HAVE_POW 1" >>confdefs.h
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify()" >&5
12851 $as_echo_n "checking for fpclassify()... " >&6; }
12852 ac_cv_func_fpclassify
=no
12853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12862 double x = 123.456;
12863 if (fpclassify(x) == FP_NAN) exit(1);
12869 if ac_fn_c_try_link
"$LINENO"; then :
12870 ac_cv_func_fpclassify
=yes
12872 rm -f core conftest.err conftest.
$ac_objext \
12873 conftest
$ac_exeext conftest.
$ac_ext
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5
12875 $as_echo "$ac_cv_func_fpclassify" >&6; }
12876 if test $ac_cv_func_fpclassify = no
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclassify() with -lm" >&5
12879 $as_echo_n "checking for fpclassify() with -lm... " >&6; }
12882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12891 double x = 123.456;
12892 if (fpclassify(x) == FP_NAN) exit(1);
12898 if ac_fn_c_try_link
"$LINENO"; then :
12899 ac_cv_func_fpclassify
=yes
12901 rm -f core conftest.err conftest.
$ac_objext \
12902 conftest
$ac_exeext conftest.
$ac_ext
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fpclassify" >&5
12904 $as_echo "$ac_cv_func_fpclassify" >&6; }
12905 if test $ac_cv_func_fpclassify = yes
12911 if test $ac_cv_func_fpclassify = yes
12914 $as_echo "#define HAVE_FPCLASSIFY 1" >>confdefs.h
12917 for ac_func
in isnan
12919 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
12920 if test "x$ac_cv_func_isnan" = xyes
; then :
12921 cat >>confdefs.h
<<_ACEOF
12922 #define HAVE_ISNAN 1
12928 if test $ac_cv_func_isnan = no
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
12931 $as_echo_n "checking for isnan in -lm... " >&6; }
12932 if ${ac_cv_lib_m_isnan+:} false
; then :
12933 $as_echo_n "(cached) " >&6
12935 ac_check_lib_save_LIBS
=$LIBS
12937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12940 /* Override any GCC internal prototype to avoid an error.
12941 Use char because int might match the return type of a GCC
12942 builtin and then its argument prototype would still apply. */
12955 if ac_fn_c_try_link
"$LINENO"; then :
12956 ac_cv_lib_m_isnan
=yes
12958 ac_cv_lib_m_isnan
=no
12960 rm -f core conftest.err conftest.
$ac_objext \
12961 conftest
$ac_exeext conftest.
$ac_ext
12962 LIBS
=$ac_check_lib_save_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
12965 $as_echo "$ac_cv_lib_m_isnan" >&6; }
12966 if test "x$ac_cv_lib_m_isnan" = xyes
; then :
12967 cat >>confdefs.h
<<_ACEOF
12968 #define HAVE_LIBM 1
12975 if test $ac_cv_lib_m_isnan = yes
12978 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
12983 for ac_func
in isnanf
12985 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
12986 if test "x$ac_cv_func_isnanf" = xyes
; then :
12987 cat >>confdefs.h
<<_ACEOF
12988 #define HAVE_ISNANF 1
12994 if test $ac_cv_func_isnanf = no
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf in -lm" >&5
12997 $as_echo_n "checking for isnanf in -lm... " >&6; }
12998 if ${ac_cv_lib_m_isnanf+:} false
; then :
12999 $as_echo_n "(cached) " >&6
13001 ac_check_lib_save_LIBS
=$LIBS
13003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13006 /* Override any GCC internal prototype to avoid an error.
13007 Use char because int might match the return type of a GCC
13008 builtin and then its argument prototype would still apply. */
13021 if ac_fn_c_try_link
"$LINENO"; then :
13022 ac_cv_lib_m_isnanf
=yes
13024 ac_cv_lib_m_isnanf
=no
13026 rm -f core conftest.err conftest.
$ac_objext \
13027 conftest
$ac_exeext conftest.
$ac_ext
13028 LIBS
=$ac_check_lib_save_LIBS
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnanf" >&5
13031 $as_echo "$ac_cv_lib_m_isnanf" >&6; }
13032 if test "x$ac_cv_lib_m_isnanf" = xyes
; then :
13033 cat >>confdefs.h
<<_ACEOF
13034 #define HAVE_LIBM 1
13041 if test $ac_cv_lib_m_isnanf = yes
13044 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
13052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13054 #include <signal.h>
13063 if ac_fn_c_try_link
"$LINENO"; then :
13065 $as_echo "#define HAVE_SIGPF 1" >>confdefs.h
13068 rm -f core conftest.err conftest.
$ac_objext \
13069 conftest
$ac_exeext conftest.
$ac_ext
13071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13073 #include <signal.h>
13077 int x = SA_SIGINFO;
13082 if ac_fn_c_try_link
"$LINENO"; then :
13084 $as_echo "#define HAVE_SA_SIGINFO 1" >>confdefs.h
13087 rm -f core conftest.err conftest.
$ac_objext \
13088 conftest
$ac_exeext conftest.
$ac_ext
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13092 #include <signal.h>
13101 if ac_fn_c_try_link
"$LINENO"; then :
13103 $as_echo "#define HAVE_SIGPIPE 1" >>confdefs.h
13106 rm -f core conftest.err conftest.
$ac_objext \
13107 conftest
$ac_exeext conftest.
$ac_ext
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13111 #include <signal.h>
13120 if ac_fn_c_try_link
"$LINENO"; then :
13122 $as_echo "#define HAVE_SIGHUP 1" >>confdefs.h
13125 rm -f core conftest.err conftest.
$ac_objext \
13126 conftest
$ac_exeext conftest.
$ac_ext
13128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13130 #include <signal.h>
13139 if ac_fn_c_try_link
"$LINENO"; then :
13141 $as_echo "#define HAVE_SIGBUS 1" >>confdefs.h
13144 rm -f core conftest.err conftest.
$ac_objext \
13145 conftest
$ac_exeext conftest.
$ac_ext
13147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13149 #include <sys/wait.h>
13153 typedef void (*SIGRET)(int);
13154 SIGRET x = SIG_IGN;
13160 if ac_fn_c_try_link
"$LINENO"; then :
13162 $as_echo "#define HAVE_WAIT_INCLUDES_SIGNAL 1" >>confdefs.h
13165 rm -f core conftest.err conftest.
$ac_objext \
13166 conftest
$ac_exeext conftest.
$ac_ext
13168 have_stat_type
=false
13169 have_stat_name
=false
13170 if test $have_stat_name = false
13172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13174 #include <sys/stat.h>
13177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13178 $EGREP "[ ]st_mtimespec" >/dev
/null
2>&1; then :
13179 have_stat_name
=true
;
13181 $as_echo "#define HAVE_ST_MTIME_WITH_SPEC 1" >>confdefs.h
13187 if test $have_stat_name = false
-a $target_os != darwin
-a $target_os != linux
-a $target_os != kfreebsd
-a $target_os != netbsd
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13191 #include <sys/stat.h>
13194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13195 $EGREP "[ ]st_mtime" >/dev
/null
2>&1; then :
13196 have_stat_name
=true
;
13198 $as_echo "#define HAVE_ST_MTIME_WITH_E 1" >>confdefs.h
13204 if test $have_stat_type = false
13206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13208 #include <sys/stat.h>
13211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13212 $EGREP "timestruc_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13213 have_stat_type
=true
;
13215 $as_echo "#define HAVE_STAT_TIMESTRUC 1" >>confdefs.h
13221 if test $have_stat_type = false
13223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h. */
13225 #include <sys/stat.h>
13228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13229 $EGREP "timespec_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13230 have_stat_type
=true
;
13232 $as_echo "#define HAVE_STAT_TIMESPEC_T 1" >>confdefs.h
13238 if test $have_stat_type = false
13240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13242 #include <sys/stat.h>
13245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13246 $EGREP "timespec[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13247 have_stat_type
=true
;
13249 $as_echo "#define HAVE_STAT_TIMESPEC 1" >>confdefs.h
13255 if test $have_stat_type = false
13257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13259 #include <sys/stat.h>
13262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13263 $EGREP "time_t[ ][ ]*st_mtim" >/dev
/null
2>&1; then :
13264 have_stat_type
=true
;
13266 $as_echo "#define HAVE_STAT_TIME_T 1" >>confdefs.h
13272 if test $have_stat_type = false
13274 echo 'FATAL ERROR: Cannot determine struct stat time types.'
13275 rm -rf conftest conftest.
*
13280 pcp_etc_dir
=`eval echo $sysconfdir`
13281 pcp_etc_dir
=`eval echo $pcp_etc_dir`
13283 pcp_saslconf_dir
=`eval echo $sysconfdir/sasl2`
13284 pcp_saslconf_dir
=`eval echo $pcp_saslconf_dir`
13286 pcp_sysconf_dir
=`eval echo $sysconfdir/pcp`
13287 pcp_sysconf_dir
=`eval echo $pcp_sysconf_dir`
13289 pcp_pmcdconf_path
=$pcp_sysconf_dir/pmcd
/pmcd.conf
13290 pcp_pmcdrclocal_path
=$pcp_sysconf_dir/pmcd
/rc.
local
13291 pcp_pmcdoptions_path
=$pcp_sysconf_dir/pmcd
/pmcd.options
13292 pcp_pmwebdoptions_path
=$pcp_sysconf_dir/pmwebd
/pmwebd.options
13293 pcp_pmmgroptions_path
=$pcp_sysconf_dir/pmmgr
/pmmgr.options
13294 pcp_pmproxyoptions_path
=$pcp_sysconf_dir/pmproxy
/pmproxy.options
13295 pcp_pmiecontrol_path
=$pcp_sysconf_dir/pmie
/control
13296 pcp_pmsnapcontrol_path
=$pcp_sysconf_dir/pmsnap
/control
13297 pcp_pmloggercontrol_path
=$pcp_sysconf_dir/pmlogger
/control
13308 pcp_share_dir
=`eval echo $datarootdir/pcp`
13309 pcp_share_dir
=`eval echo $pcp_share_dir`
13312 pcp_binadm_dir
=`eval echo $libexecdir/pcp/bin`
13313 pcp_binadm_dir
=`eval echo $pcp_binadm_dir`
13316 pcp_var_dir
=`eval echo $localstatedir/lib/pcp`
13317 pcp_var_dir
=`eval echo $pcp_var_dir`
13321 # Check whether --with-configdir was given.
13322 if test "${with_configdir+set}" = set; then :
13323 withval
=$with_configdir; pcp_config_dir
=$withval
13325 pcp_config_dir
=$pcp_var_dir/config
13329 pcp_pmdas_dir
=$pcp_var_dir/pmdas
13332 pcp_lib_dir
=`eval echo $libdir`
13333 pcp_lib_dir
=`eval echo $pcp_lib_dir`
13334 pcp_lib32_dir
=`echo $pcp_lib_dir | sed -e s,64,, -e s,//,/,`
13339 # Check whether --with-perl_installdirs was given.
13340 if test "${with_perl_installdirs+set}" = set; then :
13341 withval
=$with_perl_installdirs; perl_installdirs
=$withval
13343 perl_installdirs
=vendor
13346 perl_installdirs
=`eval echo $perl_installdirs`
13347 perl_installdirs
=`eval echo $perl_installdirs`
13350 # Check whether --with-perl_install_base was given.
13351 if test "${with_perl_install_base+set}" = set; then :
13352 withval
=$with_perl_install_base; perl_install_base
=$withval
13354 perl_install_base
=$prefix
13357 perl_install_base
=`eval echo $perl_install_base`
13358 perl_install_base
=`eval echo $perl_install_base`
13362 # Check whether --with-python_prefix was given.
13363 if test "${with_python_prefix+set}" = set; then :
13364 withval
=$with_python_prefix; python_prefix
=$withval
13366 python_prefix
=$prefix
13369 python_prefix
=`eval echo $python_prefix`
13370 python_prefix
=`eval echo $python_prefix`
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13374 $as_echo_n "checking for X... " >&6; }
13377 # Check whether --with-x was given.
13378 if test "${with_x+set}" = set; then :
13382 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13383 if test "x$with_x" = xno
; then
13384 # The user explicitly disabled X.
13387 case $x_includes,$x_libraries in #(
13388 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
13389 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 # One or both of the vars are not set, and there is no cached value.
13393 ac_x_includes
=no ac_x_libraries
=no
13394 rm -f -r conftest.dir
13395 if mkdir conftest.dir
; then
13397 cat >Imakefile
<<'_ACEOF'
13399 @echo incroot='${INCROOT}'
13401 @echo usrlibdir='${USRLIBDIR}'
13403 @echo libdir='${LIBDIR}'
13405 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13406 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13407 for ac_var
in incroot usrlibdir libdir
; do
13408 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13410 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13411 for ac_extension
in a so sl dylib la dll
; do
13412 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13413 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13414 ac_im_usrlibdir
=$ac_im_libdir; break
13417 # Screen out bogus values from the imake configuration. They are
13418 # bogus both because they are the default anyway, and because
13419 # using them would break gcc on systems where it needs fixed includes.
13420 case $ac_im_incroot in
13421 /usr
/include
) ac_x_includes
= ;;
13422 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
13424 case $ac_im_usrlibdir in
13425 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
13426 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
13430 rm -f -r conftest.dir
13433 # Standard set of common directories for X headers.
13434 # Check X11 before X11Rn because it is often a symlink to the current release.
13448 /usr/local/X11/include
13449 /usr/local/X11R7/include
13450 /usr/local/X11R6/include
13451 /usr/local/X11R5/include
13452 /usr/local/X11R4/include
13454 /usr/local/include/X11
13455 /usr/local/include/X11R7
13456 /usr/local/include/X11R6
13457 /usr/local/include/X11R5
13458 /usr/local/include/X11R4
13462 /usr/XFree86/include/X11
13466 /usr/unsupported/include
13467 /usr/athena/include
13468 /usr/local/x11r5/include
13469 /usr/lpp/Xamples/include
13471 /usr/openwin/include
13472 /usr/openwin/share/include'
13474 if test "$ac_x_includes" = no
; then
13475 # Guess where to find include files, by looking for Xlib.h.
13476 # First, try using that file with no special directory specified.
13477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13479 #include <X11/Xlib.h>
13481 if ac_fn_c_try_cpp
"$LINENO"; then :
13482 # We can compile using X headers with no special include directory.
13485 for ac_dir
in $ac_x_header_dirs; do
13486 if test -r "$ac_dir/X11/Xlib.h"; then
13487 ac_x_includes
=$ac_dir
13492 rm -f conftest.err conftest.i conftest.
$ac_ext
13493 fi # $ac_x_includes = no
13495 if test "$ac_x_libraries" = no
; then
13496 # Check for the libraries.
13497 # See if we find them without any special options.
13498 # Don't add to $LIBS permanently.
13501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13503 #include <X11/Xlib.h>
13512 if ac_fn_c_try_link
"$LINENO"; then :
13514 # We can link X programs with no special library path.
13518 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13520 # Don't even attempt the hair of trying to link an X program!
13521 for ac_extension
in a so sl dylib la dll
; do
13522 if test -r "$ac_dir/libX11.$ac_extension"; then
13523 ac_x_libraries
=$ac_dir
13529 rm -f core conftest.err conftest.
$ac_objext \
13530 conftest
$ac_exeext conftest.
$ac_ext
13531 fi # $ac_x_libraries = no
13533 case $ac_x_includes,$ac_x_libraries in #(
13534 no
,* |
*,no |
*\'*)
13535 # Didn't find X, or a directory has "'" in its name.
13536 ac_cv_have_x
="have_x=no";; #(
13538 # Record where we found X for the cache.
13539 ac_cv_have_x
="have_x=yes\
13540 ac_x_includes='$ac_x_includes'\
13541 ac_x_libraries='$ac_x_libraries'"
13547 eval "$ac_cv_have_x"
13550 if test "$have_x" != yes; then
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13552 $as_echo "$have_x" >&6; }
13555 # If each of the values was on the command line, it overrides each guess.
13556 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13557 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13558 # Update the cache value to reflect the command line values.
13559 ac_cv_have_x
="have_x=yes\
13560 ac_x_includes='$x_includes'\
13561 ac_x_libraries='$x_libraries'"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13563 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13566 if test "$no_x" = yes; then
13567 # Not all programs may use this symbol, but it does not hurt to define it.
13569 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
13571 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13573 if test -n "$x_includes"; then
13574 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13577 # It would also be nice to do this for all -L options, not just this one.
13578 if test -n "$x_libraries"; then
13579 X_LIBS
="$X_LIBS -L$x_libraries"
13580 # For Solaris; some versions of Sun CC require a space after -R and
13581 # others require no space. Words are not sufficient . . . .
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13583 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
13584 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
13585 ac_xsave_c_werror_flag
=$ac_c_werror_flag
13586 ac_c_werror_flag
=yes
13587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13598 if ac_fn_c_try_link
"$LINENO"; then :
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13600 $as_echo "no" >&6; }
13601 X_LIBS
="$X_LIBS -R$x_libraries"
13603 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13615 if ac_fn_c_try_link
"$LINENO"; then :
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13617 $as_echo "yes" >&6; }
13618 X_LIBS
="$X_LIBS -R $x_libraries"
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13621 $as_echo "neither works" >&6; }
13623 rm -f core conftest.err conftest.
$ac_objext \
13624 conftest
$ac_exeext conftest.
$ac_ext
13626 rm -f core conftest.err conftest.
$ac_objext \
13627 conftest
$ac_exeext conftest.
$ac_ext
13628 ac_c_werror_flag
=$ac_xsave_c_werror_flag
13629 LIBS
=$ac_xsave_LIBS
13632 # Check for system-dependent libraries X programs must link with.
13633 # Do this before checking for the system-independent R6 libraries
13634 # (-lICE), since we may need -lsocket or whatever for X linking.
13636 if test "$ISC" = yes; then
13637 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13639 # Martyn Johnson says this is needed for Ultrix, if the X
13640 # libraries were built with DECnet support. And Karl Berry says
13641 # the Alpha needs dnet_stub (dnet does not exist).
13642 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
13643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13644 /* end confdefs.h. */
13646 /* Override any GCC internal prototype to avoid an error.
13647 Use char because int might match the return type of a GCC
13648 builtin and then its argument prototype would still apply. */
13652 char XOpenDisplay ();
13656 return XOpenDisplay ();
13661 if ac_fn_c_try_link
"$LINENO"; then :
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13665 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13666 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
13667 $as_echo_n "(cached) " >&6
13669 ac_check_lib_save_LIBS
=$LIBS
13670 LIBS
="-ldnet $LIBS"
13671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13674 /* Override any GCC internal prototype to avoid an error.
13675 Use char because int might match the return type of a GCC
13676 builtin and then its argument prototype would still apply. */
13684 return dnet_ntoa ();
13689 if ac_fn_c_try_link
"$LINENO"; then :
13690 ac_cv_lib_dnet_dnet_ntoa
=yes
13692 ac_cv_lib_dnet_dnet_ntoa
=no
13694 rm -f core conftest.err conftest.
$ac_objext \
13695 conftest
$ac_exeext conftest.
$ac_ext
13696 LIBS
=$ac_check_lib_save_LIBS
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13699 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13700 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
13701 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13704 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13706 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13707 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
13708 $as_echo_n "(cached) " >&6
13710 ac_check_lib_save_LIBS
=$LIBS
13711 LIBS
="-ldnet_stub $LIBS"
13712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13715 /* Override any GCC internal prototype to avoid an error.
13716 Use char because int might match the return type of a GCC
13717 builtin and then its argument prototype would still apply. */
13725 return dnet_ntoa ();
13730 if ac_fn_c_try_link
"$LINENO"; then :
13731 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
13733 ac_cv_lib_dnet_stub_dnet_ntoa
=no
13735 rm -f core conftest.err conftest.
$ac_objext \
13736 conftest
$ac_exeext conftest.
$ac_ext
13737 LIBS
=$ac_check_lib_save_LIBS
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13740 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13741 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
13742 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13747 rm -f core conftest.err conftest.
$ac_objext \
13748 conftest
$ac_exeext conftest.
$ac_ext
13749 LIBS
="$ac_xsave_LIBS"
13751 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13752 # to get the SysV transport functions.
13753 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13755 # The nsl library prevents programs from opening the X display
13756 # on Irix 5.2, according to T.E. Dickey.
13757 # The functions gethostbyname, getservbyname, and inet_addr are
13758 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13759 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13760 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
13764 if test $ac_cv_func_gethostbyname = no
; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13766 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13767 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
13768 $as_echo_n "(cached) " >&6
13770 ac_check_lib_save_LIBS
=$LIBS
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13775 /* Override any GCC internal prototype to avoid an error.
13776 Use char because int might match the return type of a GCC
13777 builtin and then its argument prototype would still apply. */
13781 char gethostbyname ();
13785 return gethostbyname ();
13790 if ac_fn_c_try_link
"$LINENO"; then :
13791 ac_cv_lib_nsl_gethostbyname
=yes
13793 ac_cv_lib_nsl_gethostbyname
=no
13795 rm -f core conftest.err conftest.
$ac_objext \
13796 conftest
$ac_exeext conftest.
$ac_ext
13797 LIBS
=$ac_check_lib_save_LIBS
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13800 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13801 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
13802 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13805 if test $ac_cv_lib_nsl_gethostbyname = no
; then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13807 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13808 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
13809 $as_echo_n "(cached) " >&6
13811 ac_check_lib_save_LIBS
=$LIBS
13813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13822 char gethostbyname ();
13826 return gethostbyname ();
13831 if ac_fn_c_try_link
"$LINENO"; then :
13832 ac_cv_lib_bsd_gethostbyname
=yes
13834 ac_cv_lib_bsd_gethostbyname
=no
13836 rm -f core conftest.err conftest.
$ac_objext \
13837 conftest
$ac_exeext conftest.
$ac_ext
13838 LIBS
=$ac_check_lib_save_LIBS
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13841 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13842 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
13843 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
13849 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13850 # socket/setsockopt and other routines are undefined under SCO ODT
13851 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13852 # on later versions), says Simon Leinen: it contains gethostby*
13853 # variants that don't use the name server (or something). -lsocket
13854 # must be given before -lnsl if both are needed. We assume that
13855 # if connect needs -lnsl, so does gethostbyname.
13856 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13857 if test "x$ac_cv_func_connect" = xyes
; then :
13861 if test $ac_cv_func_connect = no
; then
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13863 $as_echo_n "checking for connect in -lsocket... " >&6; }
13864 if ${ac_cv_lib_socket_connect+:} false
; then :
13865 $as_echo_n "(cached) " >&6
13867 ac_check_lib_save_LIBS
=$LIBS
13868 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13872 /* Override any GCC internal prototype to avoid an error.
13873 Use char because int might match the return type of a GCC
13874 builtin and then its argument prototype would still apply. */
13887 if ac_fn_c_try_link
"$LINENO"; then :
13888 ac_cv_lib_socket_connect
=yes
13890 ac_cv_lib_socket_connect
=no
13892 rm -f core conftest.err conftest.
$ac_objext \
13893 conftest
$ac_exeext conftest.
$ac_ext
13894 LIBS
=$ac_check_lib_save_LIBS
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13897 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13898 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
13899 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13904 # Guillermo Gomez says -lposix is necessary on A/UX.
13905 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
13906 if test "x$ac_cv_func_remove" = xyes
; then :
13910 if test $ac_cv_func_remove = no
; then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13912 $as_echo_n "checking for remove in -lposix... " >&6; }
13913 if ${ac_cv_lib_posix_remove+:} false
; then :
13914 $as_echo_n "(cached) " >&6
13916 ac_check_lib_save_LIBS
=$LIBS
13917 LIBS
="-lposix $LIBS"
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 /* Override any GCC internal prototype to avoid an error.
13922 Use char because int might match the return type of a GCC
13923 builtin and then its argument prototype would still apply. */
13936 if ac_fn_c_try_link
"$LINENO"; then :
13937 ac_cv_lib_posix_remove
=yes
13939 ac_cv_lib_posix_remove
=no
13941 rm -f core conftest.err conftest.
$ac_objext \
13942 conftest
$ac_exeext conftest.
$ac_ext
13943 LIBS
=$ac_check_lib_save_LIBS
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13946 $as_echo "$ac_cv_lib_posix_remove" >&6; }
13947 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
13948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13953 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13954 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
13955 if test "x$ac_cv_func_shmat" = xyes
; then :
13959 if test $ac_cv_func_shmat = no
; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13961 $as_echo_n "checking for shmat in -lipc... " >&6; }
13962 if ${ac_cv_lib_ipc_shmat+:} false
; then :
13963 $as_echo_n "(cached) " >&6
13965 ac_check_lib_save_LIBS
=$LIBS
13967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13970 /* Override any GCC internal prototype to avoid an error.
13971 Use char because int might match the return type of a GCC
13972 builtin and then its argument prototype would still apply. */
13985 if ac_fn_c_try_link
"$LINENO"; then :
13986 ac_cv_lib_ipc_shmat
=yes
13988 ac_cv_lib_ipc_shmat
=no
13990 rm -f core conftest.err conftest.
$ac_objext \
13991 conftest
$ac_exeext conftest.
$ac_ext
13992 LIBS
=$ac_check_lib_save_LIBS
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13995 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13996 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
13997 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14003 # Check for libraries that X11R6 Xt/Xaw programs need.
14004 ac_save_LDFLAGS
=$LDFLAGS
14005 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14006 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14007 # check for ICE first), but we must link in the order -lSM -lICE or
14008 # we get undefined symbols. So assume we have SM if we have ICE.
14009 # These have to be linked with before -lX11, unlike the other
14010 # libraries we check for below, so use a different variable.
14011 # John Interrante, Karl Berry
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14013 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
14014 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
14015 $as_echo_n "(cached) " >&6
14017 ac_check_lib_save_LIBS
=$LIBS
14018 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14022 /* Override any GCC internal prototype to avoid an error.
14023 Use char because int might match the return type of a GCC
14024 builtin and then its argument prototype would still apply. */
14028 char IceConnectionNumber ();
14032 return IceConnectionNumber ();
14037 if ac_fn_c_try_link
"$LINENO"; then :
14038 ac_cv_lib_ICE_IceConnectionNumber
=yes
14040 ac_cv_lib_ICE_IceConnectionNumber
=no
14042 rm -f core conftest.err conftest.
$ac_objext \
14043 conftest
$ac_exeext conftest.
$ac_ext
14044 LIBS
=$ac_check_lib_save_LIBS
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14047 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14048 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
14049 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14052 LDFLAGS
=$ac_save_LDFLAGS
14056 pcp_x11_incflags
=$X_CFLAGS
14058 pcp_x11_libflags
=$X_LIBS
14060 pcp_x11_extra
=$X_EXTRA_LIBS
14062 pcp_x11_pre
=$X_PRE_LIBS
14065 have_manpages
=false
14066 have_gzipped_manpages
=false
14067 have_bzip2ed_manpages
=false
14068 have_lzmaed_manpages
=false
14069 have_xzed_manpages
=false
14070 need_old_tbl_header
=false
14072 pcp_man_dir
=`eval echo $mandir`
14073 pcp_man_dir
=`eval echo $pcp_man_dir`
14075 for d
in /usr
/man
/usr
/share
/man
$pcp_man_dir
14077 for sd
in man1 sman1
14079 if test -f $d/$sd/man
.1.gz
14081 have_gzipped_manpages
=true
14083 man_header
=`$ZIP -d < $d/$sd/man.1.gz | head -1`
14085 elif test -f $d/$sd/man
.1.bz2
14087 have_bzip2ed_manpages
=true
14089 man_header
=`$BZIP2 -d < $d/$sd/man.1.bz2 | head -1`
14091 elif test -f $d/$sd/man
.1.lzma
14093 have_lzmaed_manpages
=true
14095 man_header
=`$LZMA -d < $d/$sd/man.1.lzma | head -1`
14097 elif test -f $d/$sd/man
.1.xz
14099 have_xzed_manpages
=true
14101 man_header
=`$XZ -d < $d/$sd/man.1.xz | head -1`
14103 elif test -f $d/$sd/man
.1
14105 man_header
=`head -1 $d/$sd/man.1`
14111 if test x
"$man_header" = "x'\\\" t" -o x
"$man_header" = "x'\\\" te" ; then
14112 need_old_tbl_header
=true
14122 pcp_bin_dir
=`eval echo $bindir`
14123 pcp_bin_dir
=`eval echo $pcp_bin_dir`
14126 pcp_sbin_dir
=`eval echo $sbindir`
14127 pcp_sbin_dir
=`eval echo $pcp_sbin_dir`
14130 pcp_inc_dir
=`eval echo $includedir/pcp`
14131 pcp_inc_dir
=`eval echo $pcp_inc_dir`
14134 if test $target_os = linux
; then
14135 pcp_books_dir
=`eval echo $datarootdir/doc/pcp-doc`
14137 pcp_books_dir
=`eval echo $datarootdir/doc/pcp`
14139 pcp_books_dir
=`eval echo $pcp_books_dir`
14140 pcp_html_dir
=`eval echo $pcp_books_dir/html`
14144 if test $target_os = linux
; then
14145 pcp_icons_dir
=`eval echo $datarootdir/pcp-gui/pixmaps`
14147 pcp_icons_dir
=`eval echo $datarootdir/pcp/pixmaps`
14149 pcp_icons_dir
=`eval echo $pcp_icons_dir`
14152 pcp_desktop_dir
=`eval echo $datarootdir/applications`
14153 pcp_desktop_dir
=`eval echo $pcp_desktop_dir`
14157 # Check whether --with-rcdir was given.
14158 if test "${with_rcdir+set}" = set; then :
14159 withval
=$with_rcdir; pcp_rc_dir
=$withval
14164 pcp_rc_dir
="$pcp_share_dir/lib"
14166 pcp_rc_dir
="$pcp_etc_dir/init.d"
14173 # Check whether --with-sysconfigdir was given.
14174 if test "${with_sysconfigdir+set}" = set; then :
14175 withval
=$with_sysconfigdir; pcp_sysconfig_dir
=$withval
14177 pcp_sysconfig_dir
=$pcp_etc_dir/sysconfig
14183 # Check whether --with-logdir was given.
14184 if test "${with_logdir+set}" = set; then :
14185 withval
=$with_logdir; pcp_log_dir
=$withval
14187 pcp_log_dir
=$localstatedir/log
/pcp
14190 pcp_log_dir
=`eval echo $pcp_log_dir`
14191 pcp_log_dir
=`eval echo $pcp_log_dir`
14195 # Check whether --with-rundir was given.
14196 if test "${with_rundir+set}" = set; then :
14197 withval
=$with_rundir; pcp_run_dir
=$withval
14199 pcp_run_dir
=$localstatedir/run
/pcp
14202 pcp_run_dir
=`eval echo $pcp_run_dir`
14203 pcp_run_dir
=`eval echo $pcp_run_dir`
14207 # Check whether --with-tmpdir was given.
14208 if test "${with_tmpdir+set}" = set; then :
14209 withval
=$with_tmpdir; pcp_tmpfile_dir
=$withval
14211 pcp_tmpfile_dir
=$localstatedir/tmp
14214 pcp_tmpfile_dir
=`eval echo $pcp_tmpfile_dir`
14215 pcp_tmpfile_dir
=`eval echo $pcp_tmpfile_dir`
14218 pcp_tmp_dir
=`eval echo $pcp_var_dir/tmp`
14222 # Check whether --with-docdir was given.
14223 if test "${with_docdir+set}" = set; then :
14224 withval
=$with_docdir; pcp_doc_dir
=$withval
14226 PACKAGE
=pcp-
${PACKAGE_VERSION}; pcp_doc_dir
=$docdir
14229 pcp_doc_dir
=`eval echo $pcp_doc_dir`
14230 pcp_doc_dir
=`eval echo $pcp_doc_dir`
14234 # Check whether --with-demosdir was given.
14235 if test "${with_demosdir+set}" = set; then :
14236 withval
=$with_demosdir; pcp_demos_dir
=$withval
14238 pcp_demos_dir
=$pcp_share_dir/demos
14243 if test -z "$XCONFIRM"
14245 # Extract the first word of "xconfirm", so it can be a program name with args.
14246 set dummy xconfirm
; ac_word
=$2
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14248 $as_echo_n "checking for $ac_word... " >&6; }
14249 if ${ac_cv_path_ac_xconfirm_prog+:} false
; then :
14250 $as_echo_n "(cached) " >&6
14252 case $ac_xconfirm_prog in
14254 ac_cv_path_ac_xconfirm_prog
="$ac_xconfirm_prog" # Let the user override the test with a path.
14257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14258 for as_dir
in $PATH
14261 test -z "$as_dir" && as_dir
=.
14262 for ac_exec_ext
in '' $ac_executable_extensions; do
14263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14264 ac_cv_path_ac_xconfirm_prog
="$as_dir/$ac_word$ac_exec_ext"
14265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14272 test -z "$ac_cv_path_ac_xconfirm_prog" && ac_cv_path_ac_xconfirm_prog
="$pcp_bin_dir/pmconfirm"
14276 ac_xconfirm_prog
=$ac_cv_path_ac_xconfirm_prog
14277 if test -n "$ac_xconfirm_prog"; then
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_xconfirm_prog" >&5
14279 $as_echo "$ac_xconfirm_prog" >&6; }
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14282 $as_echo "no" >&6; }
14287 ac_xconfirm_prog
=$XCONFIRM
14291 if test "$ac_cv_header_fcntl_h" = "yes"
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FNDELAY in fcntl.h" >&5
14294 $as_echo_n "checking for FNDELAY in fcntl.h... " >&6; }
14295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14306 if ac_fn_c_try_compile
"$LINENO"; then :
14308 $as_echo "#define HAVE_FNDELAY 1" >>confdefs.h
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14311 $as_echo "yes" >&6; }
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14314 $as_echo "no" >&6; }
14316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14319 if test "$ac_cv_header_libzfs_h" = "yes"
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 5-argument style zpool_vdev_name" >&5
14322 $as_echo_n "checking for 5-argument style zpool_vdev_name... " >&6; }
14323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14325 #include <libzfs.h>
14329 libzfs_handle_t *zh;
14330 zpool_handle_t *zp;
14332 (void) zpool_vdev_name(zh, zp, np, B_FALSE, B_FALSE);
14338 if ac_fn_c_try_compile
"$LINENO"; then :
14340 $as_echo "#define HAVE_ZPOOL_VDEV_NAME_5ARG 1" >>confdefs.h
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14343 $as_echo "yes" >&6; }
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14346 $as_echo "no" >&6; }
14348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 4-argument style zpool_vdev_name" >&5
14351 $as_echo_n "checking for 4-argument style zpool_vdev_name... " >&6; }
14352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14354 #include <libzfs.h>
14358 libzfs_handle_t *zh;
14359 zpool_handle_t *zp;
14361 (void) zpool_vdev_name(zh, zp, np, B_FALSE);
14367 if ac_fn_c_try_compile
"$LINENO"; then :
14369 $as_echo "#define HAVE_ZPOOL_VDEV_NAME_4ARG 1" >>confdefs.h
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14372 $as_echo "yes" >&6; }
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14375 $as_echo "no" >&6; }
14377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14380 if test "$do_secure" = "check" -o "$do_secure" = "yes"
14384 saved_CFLAGS
="$CFLAGS"
14385 saved_CPPFLAGS
="$CPPFLAGS"
14386 NSS_INC_DIRS
="-I/usr/include/nss -I/usr/include/nss3"
14387 NSPR_INC_DIRS
="-I/usr/include/nspr -I/usr/include/nspr4"
14388 CFLAGS
="$CFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS"
14389 CPPFLAGS
="$CPPFLAGS $NSS_INC_DIRS $NSPR_INC_DIRS"
14391 for ac_header
in nss
/nss.h
14393 ac_fn_c_check_header_mongrel
"$LINENO" "nss/nss.h" "ac_cv_header_nss_nss_h" "$ac_includes_default"
14394 if test "x$ac_cv_header_nss_nss_h" = xyes
; then :
14395 cat >>confdefs.h
<<_ACEOF
14396 #define HAVE_NSS_NSS_H 1
14398 NSSCFLAGS
=-I/usr
/include
/nss
14401 for ac_header
in nss
3/nss.h
14403 ac_fn_c_check_header_mongrel
"$LINENO" "nss3/nss.h" "ac_cv_header_nss3_nss_h" "$ac_includes_default"
14404 if test "x$ac_cv_header_nss3_nss_h" = xyes
; then :
14405 cat >>confdefs.h
<<_ACEOF
14406 #define HAVE_NSS3_NSS_H 1
14408 NSSCFLAGS
=-I/usr
/include
/nss3
14411 enable_secure
=false
14412 if test "$do_secure" = "yes"
14414 as_fn_error $?
"cannot enable secure sockets mode - no NSS header" "$LINENO" 5
14428 for ac_header
in nspr
/nspr.h
14430 ac_fn_c_check_header_mongrel
"$LINENO" "nspr/nspr.h" "ac_cv_header_nspr_nspr_h" "$ac_includes_default"
14431 if test "x$ac_cv_header_nspr_nspr_h" = xyes
; then :
14432 cat >>confdefs.h
<<_ACEOF
14433 #define HAVE_NSPR_NSPR_H 1
14435 NSPRCFLAGS
=-I/usr
/include
/nspr
14438 for ac_header
in nspr
4/nspr.h
14440 ac_fn_c_check_header_mongrel
"$LINENO" "nspr4/nspr.h" "ac_cv_header_nspr4_nspr_h" "$ac_includes_default"
14441 if test "x$ac_cv_header_nspr4_nspr_h" = xyes
; then :
14442 cat >>confdefs.h
<<_ACEOF
14443 #define HAVE_NSPR4_NSPR_H 1
14445 NSPRCFLAGS
=-I/usr
/include
/nspr4
14448 enable_secure
=false
14449 if test "$do_secure" = "yes"
14451 as_fn_error $?
"cannot enable secure sockets mode - no NSPR header" "$LINENO" 5
14465 for ac_header
in sasl
/sasl.h
14467 ac_fn_c_check_header_mongrel
"$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
14468 if test "x$ac_cv_header_sasl_sasl_h" = xyes
; then :
14469 cat >>confdefs.h
<<_ACEOF
14470 #define HAVE_SASL_SASL_H 1
14472 SASLCFLAGS
=-I/usr
/include
/sasl
14475 enable_secure
=false
14476 if test "$do_secure" = "yes"
14478 as_fn_error $?
"cannot enable secure sockets mode - no SASL header" "$LINENO" 5
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_server_init in -lsasl2" >&5
14488 $as_echo_n "checking for sasl_server_init in -lsasl2... " >&6; }
14489 if ${ac_cv_lib_sasl2_sasl_server_init+:} false
; then :
14490 $as_echo_n "(cached) " >&6
14492 ac_check_lib_save_LIBS
=$LIBS
14493 LIBS
="-lsasl2 $LIBS"
14494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14497 /* Override any GCC internal prototype to avoid an error.
14498 Use char because int might match the return type of a GCC
14499 builtin and then its argument prototype would still apply. */
14503 char sasl_server_init ();
14507 return sasl_server_init ();
14512 if ac_fn_c_try_link
"$LINENO"; then :
14513 ac_cv_lib_sasl2_sasl_server_init
=yes
14515 ac_cv_lib_sasl2_sasl_server_init
=no
14517 rm -f core conftest.err conftest.
$ac_objext \
14518 conftest
$ac_exeext conftest.
$ac_ext
14519 LIBS
=$ac_check_lib_save_LIBS
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_server_init" >&5
14522 $as_echo "$ac_cv_lib_sasl2_sasl_server_init" >&6; }
14523 if test "x$ac_cv_lib_sasl2_sasl_server_init" = xyes
; then :
14524 lib_for_sasl
="-lsasl2"
14527 enable_secure
=false
14528 if test "$do_secure" = "yes"
14530 as_fn_error $?
"cannot enable secure sockets mode - no SASL library" "$LINENO" 5
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl" >&5
14538 $as_echo_n "checking for SSL_ImportFD in -lssl... " >&6; }
14539 if ${ac_cv_lib_ssl_SSL_ImportFD+:} false
; then :
14540 $as_echo_n "(cached) " >&6
14542 ac_check_lib_save_LIBS
=$LIBS
14544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14547 /* Override any GCC internal prototype to avoid an error.
14548 Use char because int might match the return type of a GCC
14549 builtin and then its argument prototype would still apply. */
14553 char SSL_ImportFD ();
14557 return SSL_ImportFD ();
14562 if ac_fn_c_try_link
"$LINENO"; then :
14563 ac_cv_lib_ssl_SSL_ImportFD
=yes
14565 ac_cv_lib_ssl_SSL_ImportFD
=no
14567 rm -f core conftest.err conftest.
$ac_objext \
14568 conftest
$ac_exeext conftest.
$ac_ext
14569 LIBS
=$ac_check_lib_save_LIBS
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ImportFD" >&5
14572 $as_echo "$ac_cv_lib_ssl_SSL_ImportFD" >&6; }
14573 if test "x$ac_cv_lib_ssl_SSL_ImportFD" = xyes
; then :
14574 lib_for_ssl
="-lssl"
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_ImportFD in -lssl3" >&5
14578 $as_echo_n "checking for SSL_ImportFD in -lssl3... " >&6; }
14579 if ${ac_cv_lib_ssl3_SSL_ImportFD+:} false
; then :
14580 $as_echo_n "(cached) " >&6
14582 ac_check_lib_save_LIBS
=$LIBS
14583 LIBS
="-lssl3 $LIBS"
14584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14587 /* Override any GCC internal prototype to avoid an error.
14588 Use char because int might match the return type of a GCC
14589 builtin and then its argument prototype would still apply. */
14593 char SSL_ImportFD ();
14597 return SSL_ImportFD ();
14602 if ac_fn_c_try_link
"$LINENO"; then :
14603 ac_cv_lib_ssl3_SSL_ImportFD
=yes
14605 ac_cv_lib_ssl3_SSL_ImportFD
=no
14607 rm -f core conftest.err conftest.
$ac_objext \
14608 conftest
$ac_exeext conftest.
$ac_ext
14609 LIBS
=$ac_check_lib_save_LIBS
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl3_SSL_ImportFD" >&5
14612 $as_echo "$ac_cv_lib_ssl3_SSL_ImportFD" >&6; }
14613 if test "x$ac_cv_lib_ssl3_SSL_ImportFD" = xyes
; then :
14614 lib_for_ssl
="-lssl3"
14617 enable_secure
=false
14618 if test "$do_secure" = "yes"
14620 as_fn_error $?
"cannot enable secure sockets mode - no SSL library" "$LINENO" 5
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss" >&5
14631 $as_echo_n "checking for NSS_Init in -lnss... " >&6; }
14632 if ${ac_cv_lib_nss_NSS_Init+:} false
; then :
14633 $as_echo_n "(cached) " >&6
14635 ac_check_lib_save_LIBS
=$LIBS
14637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 /* Override any GCC internal prototype to avoid an error.
14641 Use char because int might match the return type of a GCC
14642 builtin and then its argument prototype would still apply. */
14650 return NSS_Init ();
14655 if ac_fn_c_try_link
"$LINENO"; then :
14656 ac_cv_lib_nss_NSS_Init
=yes
14658 ac_cv_lib_nss_NSS_Init
=no
14660 rm -f core conftest.err conftest.
$ac_objext \
14661 conftest
$ac_exeext conftest.
$ac_ext
14662 LIBS
=$ac_check_lib_save_LIBS
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss_NSS_Init" >&5
14665 $as_echo "$ac_cv_lib_nss_NSS_Init" >&6; }
14666 if test "x$ac_cv_lib_nss_NSS_Init" = xyes
; then :
14667 lib_for_nss
="-lnss"
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Init in -lnss3" >&5
14671 $as_echo_n "checking for NSS_Init in -lnss3... " >&6; }
14672 if ${ac_cv_lib_nss3_NSS_Init+:} false
; then :
14673 $as_echo_n "(cached) " >&6
14675 ac_check_lib_save_LIBS
=$LIBS
14676 LIBS
="-lnss3 $LIBS"
14677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 /* Override any GCC internal prototype to avoid an error.
14681 Use char because int might match the return type of a GCC
14682 builtin and then its argument prototype would still apply. */
14690 return NSS_Init ();
14695 if ac_fn_c_try_link
"$LINENO"; then :
14696 ac_cv_lib_nss3_NSS_Init
=yes
14698 ac_cv_lib_nss3_NSS_Init
=no
14700 rm -f core conftest.err conftest.
$ac_objext \
14701 conftest
$ac_exeext conftest.
$ac_ext
14702 LIBS
=$ac_check_lib_save_LIBS
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Init" >&5
14705 $as_echo "$ac_cv_lib_nss3_NSS_Init" >&6; }
14706 if test "x$ac_cv_lib_nss3_NSS_Init" = xyes
; then :
14707 lib_for_nss
="-lnss3"
14710 enable_secure
=false
14711 if test "$do_secure" = "yes"
14713 as_fn_error $?
"cannot enable secure sockets mode - no NSS library" "$LINENO" 5
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr" >&5
14724 $as_echo_n "checking for PR_Init in -lnspr... " >&6; }
14725 if ${ac_cv_lib_nspr_PR_Init+:} false
; then :
14726 $as_echo_n "(cached) " >&6
14728 ac_check_lib_save_LIBS
=$LIBS
14729 LIBS
="-lnspr $LIBS"
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14748 if ac_fn_c_try_link
"$LINENO"; then :
14749 ac_cv_lib_nspr_PR_Init
=yes
14751 ac_cv_lib_nspr_PR_Init
=no
14753 rm -f core conftest.err conftest.
$ac_objext \
14754 conftest
$ac_exeext conftest.
$ac_ext
14755 LIBS
=$ac_check_lib_save_LIBS
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr_PR_Init" >&5
14758 $as_echo "$ac_cv_lib_nspr_PR_Init" >&6; }
14759 if test "x$ac_cv_lib_nspr_PR_Init" = xyes
; then :
14760 lib_for_nspr
="-lnspr"
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PR_Init in -lnspr4" >&5
14764 $as_echo_n "checking for PR_Init in -lnspr4... " >&6; }
14765 if ${ac_cv_lib_nspr4_PR_Init+:} false
; then :
14766 $as_echo_n "(cached) " >&6
14768 ac_check_lib_save_LIBS
=$LIBS
14769 LIBS
="-lnspr4 $LIBS"
14770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14773 /* Override any GCC internal prototype to avoid an error.
14774 Use char because int might match the return type of a GCC
14775 builtin and then its argument prototype would still apply. */
14788 if ac_fn_c_try_link
"$LINENO"; then :
14789 ac_cv_lib_nspr4_PR_Init
=yes
14791 ac_cv_lib_nspr4_PR_Init
=no
14793 rm -f core conftest.err conftest.
$ac_objext \
14794 conftest
$ac_exeext conftest.
$ac_ext
14795 LIBS
=$ac_check_lib_save_LIBS
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nspr4_PR_Init" >&5
14798 $as_echo "$ac_cv_lib_nspr4_PR_Init" >&6; }
14799 if test "x$ac_cv_lib_nspr4_PR_Init" = xyes
; then :
14800 lib_for_nspr
="-lnspr4"
14803 enable_secure
=false
14804 if test "$do_secure" = "yes"
14806 as_fn_error $?
"cannot enable secure sockets mode - no NSPR library" "$LINENO" 5
14816 if test "$enable_secure" = "true"
14819 $as_echo "#define HAVE_SECURE_SOCKETS 1" >>confdefs.h
14824 CPPFLAGS
="$saved_CPPFLAGS"
14825 CFLAGS
="$saved_CFLAGS"
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_fetch_add_4 in -latomic" >&5
14829 $as_echo_n "checking for __atomic_fetch_add_4 in -latomic... " >&6; }
14830 if ${ac_cv_lib_atomic___atomic_fetch_add_4+:} false
; then :
14831 $as_echo_n "(cached) " >&6
14833 ac_check_lib_save_LIBS
=$LIBS
14834 LIBS
="-latomic $LIBS"
14835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h. */
14838 /* Override any GCC internal prototype to avoid an error.
14839 Use char because int might match the return type of a GCC
14840 builtin and then its argument prototype would still apply. */
14844 char __atomic_fetch_add_4 ();
14848 return __atomic_fetch_add_4 ();
14853 if ac_fn_c_try_link
"$LINENO"; then :
14854 ac_cv_lib_atomic___atomic_fetch_add_4
=yes
14856 ac_cv_lib_atomic___atomic_fetch_add_4
=no
14858 rm -f core conftest.err conftest.
$ac_objext \
14859 conftest
$ac_exeext conftest.
$ac_ext
14860 LIBS
=$ac_check_lib_save_LIBS
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atomic___atomic_fetch_add_4" >&5
14863 $as_echo "$ac_cv_lib_atomic___atomic_fetch_add_4" >&6; }
14864 if test "x$ac_cv_lib_atomic___atomic_fetch_add_4" = xyes
; then :
14865 lib_for_atomic
="-latomic"
14870 if test -f /usr
/include
/sn
/arsess.h
14872 pcp_mpi_dirs
=libpcp_mpi\ libpcp_mpiread
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_un in sys/un.h" >&5
14879 $as_echo_n "checking for struct sockaddr_un in sys/un.h... " >&6; }
14880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 #include <sys/types.h>
14884 #ifdef HAVE_SYS_SOCKET_H
14885 #include <sys/socket.h>
14887 #ifdef HAVE_SYS_UN_H
14888 #include <sys/un.h>
14894 struct sockaddr_un sa; sa.sun_family = AF_UNIX;
14899 if ac_fn_c_try_compile
"$LINENO"; then :
14901 $as_echo "#define HAVE_STRUCT_SOCKADDR_UN 1" >>confdefs.h
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14903 $as_echo "yes" >&6; }
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14906 $as_echo "no" >&6; }
14908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ucred in sys/socket.h" >&5
14911 $as_echo_n "checking for struct ucred in sys/socket.h... " >&6; }
14912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14915 #include <sys/types.h>
14916 #ifdef HAVE_SYS_SOCKET_H
14917 #include <sys/socket.h>
14919 #ifdef HAVE_SYS_UN_H
14920 #include <sys/un.h>
14926 struct ucred ucred; ucred.uid = 0;
14931 if ac_fn_c_try_compile
"$LINENO"; then :
14933 $as_echo "#define HAVE_STRUCT_UCRED 1" >>confdefs.h
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14935 $as_echo "yes" >&6; }
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14938 $as_echo "no" >&6; }
14940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in time.h" >&5
14943 $as_echo_n "checking for struct timespec in time.h... " >&6; }
14944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14952 struct timespec foo;
14957 if ac_fn_c_try_compile
"$LINENO"; then :
14959 $as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14961 $as_echo "yes" >&6; }
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14964 $as_echo "no" >&6; }
14966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for altzone in time.h" >&5
14969 $as_echo_n "checking for altzone in time.h... " >&6; }
14970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14978 time_t az = altzone;
14983 if ac_fn_c_try_compile
"$LINENO"; then :
14985 $as_echo "#define HAVE_ALTZONE 1" >>confdefs.h
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14987 $as_echo "yes" >&6; }
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14990 $as_echo "no" >&6; }
14992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strftime knows about %z" >&5
14995 $as_echo_n "checking if strftime knows about %z... " >&6; }
14996 if test "$cross_compiling" = yes; then :
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14998 $as_echo "no" >&6; }
15000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15006 time_t t = time(NULL);
15007 struct tm * t1 = localtime (&t);
15008 if (strftime (b, 32, "%z", t1) < 3)
15010 if (strcmp(b, "%z") == 0)
15016 if ac_fn_c_try_run
"$LINENO"; then :
15018 $as_echo "#define HAVE_STRFTIME_z 1" >>confdefs.h
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15020 $as_echo "yes" >&6; }
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15023 $as_echo "no" >&6; }
15025 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15026 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r returns char *" >&5
15031 $as_echo_n "checking if strerror_r returns char *... " >&6; }
15032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15034 #include <string.h>
15038 strerror_r(0, NULL, 0)[0];
15043 if ac_fn_c_try_compile
"$LINENO"; then :
15045 $as_echo "#define HAVE_STRERROR_R_PTR 1" >>confdefs.h
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15047 $as_echo "yes" >&6; }
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15050 $as_echo "no" >&6; }
15052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15058 ac_fn_c_check_func
"$LINENO" "readline" "ac_cv_func_readline"
15059 if test "x$ac_cv_func_readline" = xyes
; then :
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
15064 $as_echo_n "checking for readline in -lreadline... " >&6; }
15065 if ${ac_cv_lib_readline_readline+:} false
; then :
15066 $as_echo_n "(cached) " >&6
15068 ac_check_lib_save_LIBS
=$LIBS
15069 LIBS
="-lreadline $LIBS"
15070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15083 return readline ();
15088 if ac_fn_c_try_link
"$LINENO"; then :
15089 ac_cv_lib_readline_readline
=yes
15091 ac_cv_lib_readline_readline
=no
15093 rm -f core conftest.err conftest.
$ac_objext \
15094 conftest
$ac_exeext conftest.
$ac_ext
15095 LIBS
=$ac_check_lib_save_LIBS
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
15098 $as_echo "$ac_cv_lib_readline_readline" >&6; }
15099 if test "x$ac_cv_lib_readline_readline" = xyes
; then :
15100 cat >>confdefs.h
<<_ACEOF
15101 #define HAVE_LIBREADLINE 1
15104 LIBS
="-lreadline $LIBS"
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5
15109 $as_echo_n "checking for add_history in -lreadline... " >&6; }
15110 if ${ac_cv_lib_readline_add_history+:} false
; then :
15111 $as_echo_n "(cached) " >&6
15113 ac_check_lib_save_LIBS
=$LIBS
15114 LIBS
="-lreadline -lcurses $LIBS"
15115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15124 char add_history ();
15128 return add_history ();
15133 if ac_fn_c_try_link
"$LINENO"; then :
15134 ac_cv_lib_readline_add_history
=yes
15136 ac_cv_lib_readline_add_history
=no
15138 rm -f core conftest.err conftest.
$ac_objext \
15139 conftest
$ac_exeext conftest.
$ac_ext
15140 LIBS
=$ac_check_lib_save_LIBS
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5
15143 $as_echo "$ac_cv_lib_readline_add_history" >&6; }
15144 if test "x$ac_cv_lib_readline_add_history" = xyes
; then :
15145 cat >>confdefs.h
<<_ACEOF
15146 #define HAVE_LIBREADLINE 1
15149 LIBS
="-lreadline $LIBS"
15159 if test $ac_cv_func_readline = yes
15162 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15164 elif test $ac_cv_lib_readline_readline = yes
15167 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15169 lib_for_readline
=-lreadline
15170 elif test $ac_cv_lib_readline_add_history = yes
15173 $as_echo "#define HAVE_READLINE 1" >>confdefs.h
15175 lib_for_curses
=-lcurses
15176 lib_for_readline
=-lreadline
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
15185 $as_echo_n "checking for zlib... " >&6; }
15187 if test -n "$zlib_CFLAGS"; then
15188 pkg_cv_zlib_CFLAGS
="$zlib_CFLAGS"
15189 elif test -n "$PKG_CONFIG"; then
15190 if test -n "$PKG_CONFIG" && \
15191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5
15192 ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5
15194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15195 test $ac_status = 0; }; then
15196 pkg_cv_zlib_CFLAGS
=`$PKG_CONFIG --cflags "zlib >= 1.0.0" 2>/dev/null`
15197 test "x$?" != "x0" && pkg_failed
=yes
15204 if test -n "$zlib_LIBS"; then
15205 pkg_cv_zlib_LIBS
="$zlib_LIBS"
15206 elif test -n "$PKG_CONFIG"; then
15207 if test -n "$PKG_CONFIG" && \
15208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5
15209 ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5
15211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15212 test $ac_status = 0; }; then
15213 pkg_cv_zlib_LIBS
=`$PKG_CONFIG --libs "zlib >= 1.0.0" 2>/dev/null`
15214 test "x$?" != "x0" && pkg_failed
=yes
15224 if test $pkg_failed = yes; then
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15226 $as_echo "no" >&6; }
15228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15229 _pkg_short_errors_supported
=yes
15231 _pkg_short_errors_supported
=no
15233 if test $_pkg_short_errors_supported = yes; then
15234 zlib_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1`
15236 zlib_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1`
15238 # Put the nasty error message in config.log where it belongs
15239 echo "$zlib_PKG_ERRORS" >&5
15242 elif test $pkg_failed = untried
; then
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15244 $as_echo "no" >&6; }
15247 zlib_CFLAGS
=$pkg_cv_zlib_CFLAGS
15248 zlib_LIBS
=$pkg_cv_zlib_LIBS
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15250 $as_echo "yes" >&6; }
15253 HAVE_ZLIB
=$have_zlib
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AI_ADDRCONFIG" >&5
15257 $as_echo_n "checking for AI_ADDRCONFIG... " >&6; }
15258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15259 /* end confdefs.h. */
15262 int test = AI_ADDRCONFIG;
15273 if ac_fn_c_try_compile
"$LINENO"; then :
15275 $as_echo "#define HAVE_AI_ADDRCONFIG 1" >>confdefs.h
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15277 $as_echo "yes" >&6; }
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15280 $as_echo "no" >&6; }
15282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15286 if test -f .
/build
/tar
/parfait.
tar.gz
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: adding Parfait package to the build" >&5
15289 $as_echo "$as_me: adding Parfait package to the build" >&6;}
15295 if test -f .
/build
/tar
/vector.
tar.gz
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: adding Vector webapp to the build" >&5
15298 $as_echo "$as_me: adding Vector webapp to the build" >&6;}
15304 if test -f .
/build
/tar
/webjs.
tar.gz
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: adding webjs webapps to the build" >&5
15307 $as_echo "$as_me: adding webjs webapps to the build" >&6;}
15315 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"
15317 cat >confcache
<<\_ACEOF
15318 # This file is a shell script that caches the results of configure
15319 # tests run on this system so they can be shared between configure
15320 # scripts and configure runs, see configure's option --config-cache.
15321 # It is not useful on other systems. If it contains results you don't
15322 # want to keep, you may remove or edit it.
15324 # config.status only pays attention to the cache file if you give it
15325 # the --recheck option to rerun configure.
15327 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15328 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15329 # following values.
15333 # The following way of writing the cache mishandles newlines in values,
15334 # but we know of no workaround that is simple, portable, and efficient.
15335 # So, we kill variables containing newlines.
15336 # Ultrix sh set writes to stderr and can't be redirected directly,
15337 # and sets the high bit in the cache file unless we assign to the vars.
15339 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15340 eval ac_val
=\$
$ac_var
15344 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15345 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15348 _ | IFS | as_nl
) ;; #(
15349 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15350 *) { eval $ac_var=; unset $ac_var;} ;;
15356 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15357 *${as_nl}ac_space
=\
*)
15358 # `set' does not quote correctly, so add quotes: double-quote
15359 # substitution turns \\\\ into \\, and sed turns \\ into \.
15362 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15365 # `set' quotes correctly as required by POSIX, so do not add quotes.
15366 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15375 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15377 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15379 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15380 if test -w "$cache_file"; then
15381 if test "x$cache_file" != "x/dev/null"; then
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15383 $as_echo "$as_me: updating cache $cache_file" >&6;}
15384 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15385 cat confcache
>"$cache_file"
15387 case $cache_file in #(
15389 mv -f confcache
"$cache_file"$$
&&
15390 mv -f "$cache_file"$$
"$cache_file" ;; #(
15392 mv -f confcache
"$cache_file" ;;
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15398 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15403 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15404 # Let make expand exec_prefix.
15405 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15407 DEFS
=-DHAVE_CONFIG_H
15412 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15413 # 1. Remove the extension, and $U if already installed.
15414 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15415 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15416 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15417 # will be set to the directory where LIBOBJS objects are built.
15418 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15419 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15421 LIBOBJS
=$ac_libobjs
15423 LTLIBOBJS
=$ac_ltlibobjs
15427 : "${CONFIG_STATUS=./config.status}"
15429 ac_clean_files_save
=$ac_clean_files
15430 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15432 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15434 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15436 # Generated by $as_me.
15437 # Run this file to recreate the current configuration.
15438 # Compiler output produced by configure, useful for debugging
15439 # configure, is in config.log if it exists.
15442 ac_cs_recheck=false
15445 SHELL=\${CONFIG_SHELL-$SHELL}
15448 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15449 ## -------------------- ##
15450 ## M4sh Initialization. ##
15451 ## -------------------- ##
15453 # Be more Bourne compatible
15454 DUALCASE
=1; export DUALCASE
# for MKS sh
15455 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15458 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15459 # is contrary to our usage. Disable this feature.
15460 alias -g '${1+"$@"}'='"$@"'
15461 setopt NO_GLOB_SUBST
15463 case `(set -o) 2>/dev/null` in #(
15475 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15476 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15477 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15478 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15479 # Prefer a ksh shell builtin over an external printf program on Solaris,
15480 # but without wasting forks for bash or zsh.
15481 if test -z "$BASH_VERSION$ZSH_VERSION" \
15482 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15483 as_echo='print
-r --'
15484 as_echo_n='print
-rn --'
15485 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15486 as_echo='printf %s
\n'
15487 as_echo_n='printf %s
'
15489 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15490 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15491 as_echo_n='/usr
/ucb
/echo -n'
15493 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15494 as_echo_n_body='eval
15498 expr "X$arg" : "X\\(.*\\)$as_nl";
15499 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15501 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15503 export as_echo_n_body
15504 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15506 export as_echo_body
15507 as_echo='sh
-c $as_echo_body as_echo
'
15510 # The user is always right.
15511 if test "${PATH_SEPARATOR+set}" != set; then
15513 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15514 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15521 # We need space, tab and new line, in precisely that order. Quoting is
15522 # there to prevent editors from complaining about space-tab.
15523 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15524 # splitting by setting IFS to empty value.)
15527 # Find who we are. Look in the path if we contain no directory separator.
15530 *[\\/]* ) as_myself=$0 ;;
15531 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15532 for as_dir in $PATH
15535 test -z "$as_dir" && as_dir=.
15536 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15542 # We did not find ourselves, most probably we were run as `sh COMMAND'
15543 # in which case we are not to be found in the path.
15544 if test "x$as_myself" = x
; then
15547 if test ! -f "$as_myself"; then
15548 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15552 # Unset variables that we do not need and which cause bugs (e.g. in
15553 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15554 # suppresses any "Segmentation fault" message there. '((' could
15555 # trigger a bug in pdksh 5.2.14.
15556 for as_var
in BASH_ENV ENV MAIL MAILPATH
15557 do eval test x\
${$as_var+set} = xset \
15558 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15571 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15574 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15575 # ----------------------------------------
15576 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15577 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15578 # script with STATUS, using 1 if that was 0.
15581 as_status
=$1; test $as_status -eq 0 && as_status
=1
15583 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15584 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15586 $as_echo "$as_me: error: $2" >&2
15587 as_fn_exit
$as_status
15591 # as_fn_set_status STATUS
15592 # -----------------------
15593 # Set $? to STATUS, without forking.
15594 as_fn_set_status
()
15597 } # as_fn_set_status
15599 # as_fn_exit STATUS
15600 # -----------------
15601 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15605 as_fn_set_status
$1
15611 # Portably unset VAR.
15614 { eval $1=; unset $1;}
15616 as_unset
=as_fn_unset
15617 # as_fn_append VAR VALUE
15618 # ----------------------
15619 # Append the text in VALUE to the end of the definition contained in VAR. Take
15620 # advantage of any shell optimizations that allow amortized linear growth over
15621 # repeated appends, instead of the typical quadratic growth present in naive
15623 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15624 eval 'as_fn_append ()
15635 # as_fn_arith ARG...
15636 # ------------------
15637 # Perform arithmetic evaluation on the ARGs, and store the result in the
15638 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15639 # must be portable across $(()) and expr.
15640 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15641 eval 'as_fn_arith ()
15648 as_val
=`expr "$@" || test $? -eq 1`
15653 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15654 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15660 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15661 as_basename
=basename
15666 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15672 as_me
=`$as_basename -- "$0" ||
15673 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15674 X"$0" : 'X\(//\)$' \| \
15675 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15677 sed '/^.*\/\([^/][^/]*\)\/*$/{
15691 # Avoid depending upon Character Ranges.
15692 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15693 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15694 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15695 as_cr_digits
='0123456789'
15696 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15698 ECHO_C
= ECHO_N
= ECHO_T
=
15699 case `echo -n x` in #(((((
15701 case `echo 'xy\c'` in
15702 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15704 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15711 rm -f conf$$ conf$$.exe conf$$.
file
15712 if test -d conf$$.dir
; then
15713 rm -f conf$$.dir
/conf$$.
file
15716 mkdir conf$$.dir
2>/dev
/null
15718 if (echo >conf$$.
file) 2>/dev
/null
; then
15719 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15721 # ... but there are two gotchas:
15722 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15723 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15724 # In both cases, we have to default to `cp -pR'.
15725 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15727 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15735 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15736 rmdir conf$$.dir
2>/dev
/null
15741 # Create "$as_dir" as a directory, including parents if necessary.
15746 -*) as_dir
=.
/$as_dir;;
15748 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15752 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15753 *) as_qdir
=$as_dir;;
15755 as_dirs
="'$as_qdir' $as_dirs"
15756 as_dir
=`$as_dirname -- "$as_dir" ||
15757 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15758 X"$as_dir" : 'X\(//\)[^/]' \| \
15759 X"$as_dir" : 'X\(//\)$' \| \
15760 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15761 $as_echo X"$as_dir" |
15762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15766 /^X\(\/\/\)[^/].*/{
15779 test -d "$as_dir" && break
15781 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15782 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15786 if mkdir
-p .
2>/dev
/null
; then
15787 as_mkdir_p
='mkdir -p "$as_dir"'
15789 test -d .
/-p && rmdir .
/-p
15794 # as_fn_executable_p FILE
15795 # -----------------------
15796 # Test if FILE is an executable regular file.
15797 as_fn_executable_p
()
15799 test -f "$1" && test -x "$1"
15800 } # as_fn_executable_p
15801 as_test_x
='test -x'
15802 as_executable_p
=as_fn_executable_p
15804 # Sed expression to map a string onto a valid CPP name.
15805 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15807 # Sed expression to map a string onto a valid variable name.
15808 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15812 ## ----------------------------------- ##
15813 ## Main body of $CONFIG_STATUS script. ##
15814 ## ----------------------------------- ##
15816 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15819 # Save the log message, to keep $0 and so on meaningful, and to
15820 # report actual input values of CONFIG_FILES etc. instead of their
15821 # values after options handling.
15823 This file was extended by $as_me, which was
15824 generated by GNU Autoconf 2.69. Invocation command line was
15826 CONFIG_FILES = $CONFIG_FILES
15827 CONFIG_HEADERS = $CONFIG_HEADERS
15828 CONFIG_LINKS = $CONFIG_LINKS
15829 CONFIG_COMMANDS = $CONFIG_COMMANDS
15832 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15837 case $ac_config_files in *"
15838 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15841 case $ac_config_headers in *"
15842 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15847 # Files that config.status was made for.
15848 config_files="$ac_config_files"
15849 config_headers="$ac_config_headers"
15853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15855 \`$as_me' instantiates files and other configuration actions
15856 from templates according to the current configuration. Unless the files
15857 and actions are specified as TAGs, all are instantiated by default.
15859 Usage: $0 [OPTION]... [TAG]...
15861 -h, --help print this help, then exit
15862 -V, --version print version number and configuration settings, then exit
15863 --config print configuration, then exit
15864 -q, --quiet, --silent
15865 do not print progress messages
15866 -d, --debug don't remove temporary files
15867 --recheck update $as_me by reconfiguring in the same conditions
15868 --file=FILE[:TEMPLATE]
15869 instantiate the configuration file FILE
15870 --header=FILE[:TEMPLATE]
15871 instantiate the configuration header FILE
15873 Configuration files:
15876 Configuration headers:
15879 Report bugs to the package provider."
15882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15883 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15886 configured by $0, generated by GNU Autoconf 2.69,
15887 with options \\"\$ac_cs_config\\"
15889 Copyright (C) 2012 Free Software Foundation, Inc.
15890 This config.status script is free software; the Free Software Foundation
15891 gives unlimited permission to copy, distribute and modify it."
15895 test -n "\$AWK" || AWK=awk
15898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15899 # The default lists apply if the user does not specify any file.
15905 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15906 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15910 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15922 # Handling of the options.
15923 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15925 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15926 $as_echo "$ac_cs_version"; exit ;;
15927 --config |
--confi |
--conf |
--con |
--co |
--c )
15928 $as_echo "$ac_cs_config"; exit ;;
15929 --debug |
--debu |
--deb |
--de |
--d |
-d )
15931 --file |
--fil |
--fi |
--f )
15934 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15935 '') as_fn_error $?
"missing file argument" ;;
15937 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15938 ac_need_defaults
=false
;;
15939 --header |
--heade |
--head |
--hea )
15942 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15944 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15945 ac_need_defaults
=false
;;
15947 # Conflict between --help and --header
15948 as_fn_error $?
"ambiguous option: \`$1'
15949 Try \`$0 --help' for more information.";;
15950 --help |
--hel |
-h )
15951 $as_echo "$ac_cs_usage"; exit ;;
15952 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15953 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15956 # This is an error.
15957 -*) as_fn_error $?
"unrecognized option: \`$1'
15958 Try \`$0 --help' for more information." ;;
15960 *) as_fn_append ac_config_targets
" $1"
15961 ac_need_defaults
=false
;;
15967 ac_configure_extra_args
=
15969 if $ac_cs_silent; then
15971 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15976 if \$ac_cs_recheck; then
15977 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15979 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15980 CONFIG_SHELL='$SHELL'
15981 export CONFIG_SHELL
15986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15990 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15991 ## Running $as_me. ##
15997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16002 # Handling of arguments.
16003 for ac_config_target
in $ac_config_targets
16005 case $ac_config_target in
16006 "src/include/pcp/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/config.h" ;;
16007 "src/include/pcp/configsz.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/pcp/configsz.h" ;;
16008 "src/include/pcp/platform_defs.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platform_defs.h" ;;
16009 "src/include/pcp/platformsz.h") CONFIG_FILES
="$CONFIG_FILES src/include/pcp/platformsz.h" ;;
16010 "src/include/builddefs") CONFIG_FILES
="$CONFIG_FILES src/include/builddefs" ;;
16011 "src/include/pcp.conf") CONFIG_FILES
="$CONFIG_FILES src/include/pcp.conf" ;;
16012 "pcp.lsm") CONFIG_FILES
="$CONFIG_FILES pcp.lsm" ;;
16013 "debian/pcp.preinst.head") CONFIG_FILES
="$CONFIG_FILES debian/pcp.preinst.head" ;;
16014 "debian/pcp.postinst.head") CONFIG_FILES
="$CONFIG_FILES debian/pcp.postinst.head" ;;
16015 "build/tar/preinstall.head") CONFIG_FILES
="$CONFIG_FILES build/tar/preinstall.head" ;;
16016 "build/tar/postinstall.head") CONFIG_FILES
="$CONFIG_FILES build/tar/postinstall.head" ;;
16017 "build/GNUlocaldefs") CONFIG_FILES
="$CONFIG_FILES build/GNUlocaldefs" ;;
16018 "build/mac/uninstall-pcp") CONFIG_FILES
="$CONFIG_FILES build/mac/uninstall-pcp" ;;
16020 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16025 # If the user did not use the arguments to specify the items to instantiate,
16026 # then the envvar interface is used. Set only those that are not.
16027 # We use the long form for the default assignment because of an extremely
16028 # bizarre bug on SunOS 4.1.3.
16029 if $ac_need_defaults; then
16030 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16031 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16034 # Have a temporary directory for convenience. Make it in the build tree
16035 # simply because there is no reason against having it here, and in addition,
16036 # creating and moving files from /tmp can sometimes cause problems.
16037 # Hook for its removal unless debugging.
16038 # Note that there is a small window in which the directory will not be cleaned:
16039 # after its creation but before its name has been assigned to `$tmp'.
16043 trap 'exit_status=$?
16044 : "${ac_tmp:=$tmp}"
16045 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16047 trap 'as_fn_exit 1' 1 2 13 15
16049 # Create a (secure) tmp directory for tmp files.
16052 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16056 tmp
=.
/conf$$
-$RANDOM
16057 (umask 077 && mkdir
"$tmp")
16058 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16061 # Set up the scripts for CONFIG_FILES section.
16062 # No need to generate them if there are no CONFIG_FILES.
16063 # This happens for instance with `./config.status config.h'.
16064 if test -n "$CONFIG_FILES"; then
16067 ac_cr
=`echo X | tr X '\015'`
16068 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16069 # But we know of no other shell where ac_cr would be empty at this
16070 # point, so we can use a bashism as a fallback.
16071 if test "x$ac_cr" = x
; then
16072 eval ac_cr
=\$
\'\\r
\'
16074 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16075 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16078 ac_cs_awk_cr
=$ac_cr
16081 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16086 echo "cat >conf$$subs.awk <<_ACEOF" &&
16087 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16089 } >conf$$subs.sh ||
16090 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16091 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16093 for ac_last_try in false false false false false :; do
16094 . ./conf$$subs.sh ||
16095 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16097 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16098 if test $ac_delim_n = $ac_delim_num; then
16100 elif $ac_last_try; then
16101 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16103 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16106 rm -f conf$$subs.sh
16108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16109 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16113 s/^/S["/; s
/!.
*/"]=/
16123 s/\(.\{148\}\)..*/\1/
16125 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16130 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16137 s/\(.\{148\}\)..*/\1/
16139 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16143 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16148 ' <conf$$subs.awk | sed '
16153 ' >>$CONFIG_STATUS || ac_write_fail=1
16154 rm -f conf$$subs.awk
16155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16157 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16158 for (key in S) S_is_set[key] = 1
16164 nfields = split(line, field, "@
")
16166 len = length(field[1])
16167 for (i = 2; i < nfields; i++) {
16169 keylen = length(key)
16170 if (S_is_set[key]) {
16172 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16173 len += length(value) + length(field[++i])
16184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16185 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16186 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16189 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16190 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16193 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16194 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16195 # trailing colons and then remove the whole line if VPATH becomes empty
16196 # (actually we leave an empty line to preserve line numbers).
16197 if test "x
$srcdir" = x.; then
16198 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16217 fi # test -n "$CONFIG_FILES"
16219 # Set up the scripts for CONFIG_HEADERS section.
16220 # No need to generate them if there are no CONFIG_HEADERS.
16221 # This happens for instance with `./config.status Makefile'.
16222 if test -n "$CONFIG_HEADERS"; then
16223 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16227 # Transform confdefs.h into an awk script `defines.awk', embedded as
16228 # here-document in config.status, that substitutes the proper values into
16229 # config.h.in to produce config.h.
16231 # Create a delimiter string that does not exist in confdefs.h, to ease
16232 # handling of long lines.
16234 for ac_last_try in false false :; do
16235 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16236 if test -z "$ac_tt"; then
16238 elif $ac_last_try; then
16239 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16241 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16245 # For the awk script, D is an array of macro values keyed by name,
16246 # likewise P contains macro parameters if any. Preserve backslash
16247 # newline sequences.
16249 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16251 s/.\{148\}/&'"$ac_delim"'/g
16254 s/^[ ]*#[ ]*define[ ][ ]*/ /
16261 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16263 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16267 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16268 D["\
1"]=" \
3\\\\\\n
"\\/p
16270 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16275 s/.\{148\}/&'"$ac_delim"'/g
16280 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16283 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16285 ' <confdefs.h | sed '
16286 s/'"$ac_delim"'/"\\\
16287 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16290 for (key in D) D_is_set[key] = 1
16293 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16295 split(line, arg, " ")
16296 if (arg[1] == "#") {
16300 defundef
= substr
(arg
[1], 2)
16303 split(mac1
, mac2
, "(") #)
16305 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16306 if (D_is_set
[macro
]) {
16307 # Preserve the white space surrounding the "#".
16308 print prefix
"define", macro P
[macro
] D
[macro
]
16311 # Replace #undef with comments. This is necessary, for example,
16312 # in the case of _POSIX_SOURCE, which is predefined and required
16313 # on some systems where configure will not decide to define it.
16314 if (defundef
== "undef") {
16315 print
"/*", prefix defundef
, macro
, "*/"
16323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16324 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16325 fi # test -n "$CONFIG_HEADERS"
16328 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
16333 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16335 case $ac_mode$ac_tag in
16337 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16338 :[FH
]-) ac_tag
=-:-;;
16339 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16356 -) ac_f
="$ac_tmp/stdin";;
16357 *) # Look for the file first in the build tree, then in the source tree
16358 # (if the path is not absolute). The absolute path cannot be DOS-style,
16359 # because $ac_f cannot contain `:'.
16363 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16365 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16367 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16368 as_fn_append ac_file_inputs
" '$ac_f'"
16371 # Let's still pretend it is `configure' which instantiates (i.e., don't
16372 # use $as_me), people would be surprised to read:
16373 # /* config.h. Generated by config.status. */
16374 configure_input
='Generated from '`
16375 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16377 if test x
"$ac_file" != x-
; then
16378 configure_input
="$ac_file. $configure_input"
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16380 $as_echo "$as_me: creating $ac_file" >&6;}
16382 # Neutralize special characters interpreted by sed in replacement strings.
16383 case $configure_input in #(
16384 *\
&* |
*\|
* |
*\\* )
16385 ac_sed_conf_input
=`$as_echo "$configure_input" |
16386 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16387 *) ac_sed_conf_input
=$configure_input;;
16391 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16392 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16397 ac_dir
=`$as_dirname -- "$ac_file" ||
16398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16399 X"$ac_file" : 'X\(//\)[^/]' \| \
16400 X"$ac_file" : 'X\(//\)$' \| \
16401 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16402 $as_echo X"$ac_file" |
16403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16407 /^X\(\/\/\)[^/].*/{
16420 as_dir
="$ac_dir"; as_fn_mkdir_p
16424 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16426 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16427 # A ".." for each directory in $ac_dir_suffix.
16428 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16429 case $ac_top_builddir_sub in
16430 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16431 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16434 ac_abs_top_builddir
=$ac_pwd
16435 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16436 # for backward compatibility:
16437 ac_top_builddir
=$ac_top_build_prefix
16440 .
) # We are building in place.
16442 ac_top_srcdir
=$ac_top_builddir_sub
16443 ac_abs_top_srcdir
=$ac_pwd ;;
16444 [\\/]* | ?
:[\\/]* ) # Absolute name.
16445 ac_srcdir
=$srcdir$ac_dir_suffix;
16446 ac_top_srcdir
=$srcdir
16447 ac_abs_top_srcdir
=$srcdir ;;
16448 *) # Relative name.
16449 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16450 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16451 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16453 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16465 # If the template does not know about datarootdir, expand it.
16466 # FIXME: This hack should be removed a few years after 2.60.
16467 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16478 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16479 *datarootdir
*) ac_datarootdir_seen
=yes;;
16480 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16482 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16485 ac_datarootdir_hack='
16486 s&@datadir@&$datadir&g
16487 s&@docdir@&$docdir&g
16488 s&@infodir@&$infodir&g
16489 s&@localedir@&$localedir&g
16490 s&@mandir@&$mandir&g
16491 s&\\\${datarootdir}&$datarootdir&g' ;;
16495 # Neutralize VPATH when `$srcdir' = `.'.
16496 # Shell code in configure.ac might set extrasub.
16497 # FIXME: do we really want to maintain this feature?
16498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16499 ac_sed_extra="$ac_vpsub
16502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16504 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16505 s|@configure_input@|
$ac_sed_conf_input|
;t t
16506 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16507 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16508 s
&@srcdir@
&$ac_srcdir&;t t
16509 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16510 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16511 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16512 s
&@builddir@
&$ac_builddir&;t t
16513 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16514 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16515 $ac_datarootdir_hack
16517 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16518 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16520 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16521 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16522 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16523 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16525 which seems to be undefined. Please make sure it is defined" >&5
16526 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16527 which seems to be undefined. Please make sure it is defined" >&2;}
16529 rm -f "$ac_tmp/stdin"
16531 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16532 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16540 if test x"$ac_file" != x-; then
16542 $as_echo "/* $configure_input */" \
16543 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16544 } >"$ac_tmp/config.h" \
16545 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16546 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16548 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16551 mv "$ac_tmp/config.h" "$ac_file" \
16552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16555 $as_echo "/* $configure_input */" \
16556 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16557 || as_fn_error $? "could not create -" "$LINENO" 5
16569 ac_clean_files=$ac_clean_files_save
16571 test $ac_write_fail = 0 ||
16572 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16575 # configure is writing to config.log, and then calls config.status.
16576 # config.status does its own redirection, appending to config.log.
16577 # Unfortunately, on DOS this fails, as config.log is still kept open
16578 # by configure, so config.status won't be able to
write to it
; its
16579 # output is simply discarded. So we exec the FD to /dev/null,
16580 # effectively closing config.log, so it can be properly (re)opened and
16581 # appended to by config.status. When coming back to configure, we
16582 # need to make the FD available again.
16583 if test "$no_create" != yes; then
16585 ac_config_status_args
=
16586 test "$silent" = yes &&
16587 ac_config_status_args
="$ac_config_status_args --quiet"
16589 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16591 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16592 # would make configure fail if this is the last instruction.
16593 $ac_cs_success || as_fn_exit
1
16595 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16597 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}