2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for systemtap 5.1.
5 # Report bugs to <systemtap@sourceware.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev
/null
193 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
199 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
205 *) as_dir
=$as_dir/ ;;
210 for as_base
in sh bash ksh sh5
; do
211 # Try only shells that exist, to save several forks.
212 as_shell
=$as_dir$as_base
213 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
214 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
216 CONFIG_SHELL
=$as_shell as_have_required
=yes
217 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
231 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: systemtap@sourceware.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Do nothing but, unlike ":", preserve the value of $?.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
338 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
368 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
388 eval 'as_fn_append ()
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
413 as_val
=`expr "$@" || test $? -eq 1`
419 # Do nothing but, unlike ":", preserve the value of $?.
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
433 as_status
=$1; test $as_status -eq 0 && as_status
=1
435 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit
$as_status
442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
461 as_me
=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
480 # Avoid depending upon Character Ranges.
481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits
='0123456789'
485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
488 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
489 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
508 chmod +x
"$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec
=no
; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
519 # Exit status is that of the last command.
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C
= ECHO_N
= ECHO_T
=
528 case `echo -n x` in #(((((
530 case `echo 'xy\c'` in
531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo
='printf %s\n'
544 as_echo_n
='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.
file
548 if test -d conf$$.dir
; then
549 rm -f conf$$.dir
/conf$$.
file
552 mkdir conf$$.dir
2>/dev
/null
554 if (echo >conf$$.
file) 2>/dev
/null
; then
555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
572 rmdir conf$$.dir
2>/dev
/null
574 if mkdir
-p .
2>/dev
/null
; then
575 as_mkdir_p
='mkdir -p "$as_dir"'
577 test -d .
/-p && rmdir .
/-p
582 as_executable_p
=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
602 ac_default_prefix
=/usr
/local
604 ac_config_libobj_dir
=.
611 # Identity of this package.
612 PACKAGE_NAME
='systemtap'
613 PACKAGE_TARNAME
='systemtap'
614 PACKAGE_VERSION
='5.1'
615 PACKAGE_STRING
='systemtap 5.1'
616 PACKAGE_BUGREPORT
='systemtap@sourceware.org'
619 # Factoring default headers for most tests.
620 ac_includes_default
="\
631 #ifdef HAVE_INTTYPES_H
632 # include <inttypes.h>
637 #ifdef HAVE_STRINGS_H
638 # include <strings.h>
640 #ifdef HAVE_SYS_TYPES_H
641 # include <sys/types.h>
643 #ifdef HAVE_SYS_STAT_H
644 # include <sys/stat.h>
652 enable_option_checking
=no
653 ac_subst_vars
='am__EXEEXT_FALSE
660 NEED_BASE_CLIENT_CODE_FALSE
661 NEED_BASE_CLIENT_CODE_TRUE
662 HAVE_HTTP_SUPPORT_FALSE
663 HAVE_HTTP_SUPPORT_TRUE
684 support_section_question
685 HAVE_LANGUAGE_SERVER_SUPPORT_FALSE
686 HAVE_LANGUAGE_SERVER_SUPPORT_TRUE
689 HAVE_MONITOR_LIBS_FALSE
690 HAVE_MONITOR_LIBS_TRUE
695 HAVE_PYTHON_PROBES_FALSE
696 HAVE_PYTHON_PROBES_TRUE
697 HAVE_PYTHON3_PROBES_FALSE
698 HAVE_PYTHON3_PROBES_TRUE
701 HAVE_PYTHON2_PROBES_FALSE
702 HAVE_PYTHON2_PROBES_TRUE
725 HAVE_LIBREADLINE_FALSE
726 HAVE_LIBREADLINE_TRUE
744 XMLTO_STRINGPARAM_FALSE
745 XMLTO_STRINGPARAM_TRUE
756 INSTALL_PREBUILT_DOCS_FALSE
757 INSTALL_PREBUILT_DOCS_TRUE
766 BUILD_TRANSLATOR_FALSE
767 BUILD_TRANSLATOR_TRUE
806 XGETTEXT_EXTRA_OPTIONS
814 GETTEXT_MACRO_VERSION
848 MAINTAINER_MODE_FALSE
865 INSTALL_STRIP_PROGRAM
920 program_transform_name
934 enable_option_checking
936 enable_maintainer_mode
937 enable_dependency_tracking
944 with_python_sys_prefix
946 with_python_exec_prefix
977 ac_precious_vars
='build_alias
1013 libmicrohttpd_CFLAGS
1019 ac_subdirs_all
='testsuite'
1021 # Initialize some variables set by options.
1023 ac_init_version
=false
1024 ac_unrecognized_opts
=
1025 ac_unrecognized_sep
=
1026 # The variables have the same names as the options, with
1027 # dashes changed to underlines.
1028 cache_file
=/dev
/null
1035 program_transform_name
=s
,x
,x
,
1043 # Installation directory options.
1044 # These are left unexpanded so users can "make install exec_prefix=/foo"
1045 # and all the variables that are supposed to be based on exec_prefix
1046 # by default will actually change.
1047 # Use braces instead of parens because sh, perl, etc. also accept them.
1048 # (The list follows the same order as the GNU Coding Standards.)
1049 bindir
='${exec_prefix}/bin'
1050 sbindir
='${exec_prefix}/sbin'
1051 libexecdir
='${exec_prefix}/libexec'
1052 datarootdir
='${prefix}/share'
1053 datadir
='${datarootdir}'
1054 sysconfdir
='${prefix}/etc'
1055 sharedstatedir
='${prefix}/com'
1056 localstatedir
='${prefix}/var'
1057 runstatedir
='${localstatedir}/run'
1058 includedir
='${prefix}/include'
1059 oldincludedir
='/usr/include'
1060 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1061 infodir
='${datarootdir}/info'
1066 libdir
='${exec_prefix}/lib'
1067 localedir
='${datarootdir}/locale'
1068 mandir
='${datarootdir}/man'
1074 # If the previous option needs an argument, assign it.
1075 if test -n "$ac_prev"; then
1076 eval $ac_prev=\
$ac_option
1082 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1087 case $ac_dashdash$ac_option in
1091 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1093 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1094 bindir
=$ac_optarg ;;
1096 -build |
--build |
--buil |
--bui |
--bu)
1097 ac_prev
=build_alias
;;
1098 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1099 build_alias
=$ac_optarg ;;
1101 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1102 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1103 ac_prev
=cache_file
;;
1104 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1105 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1106 cache_file
=$ac_optarg ;;
1108 --config-cache |
-C)
1109 cache_file
=config.cache
;;
1111 -datadir |
--datadir |
--datadi |
--datad)
1113 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1114 datadir
=$ac_optarg ;;
1116 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1117 |
--dataroo |
--dataro |
--datar)
1118 ac_prev
=datarootdir
;;
1119 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1120 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1121 datarootdir
=$ac_optarg ;;
1123 -disable-* |
--disable-*)
1124 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1127 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1128 ac_useropt_orig
=$ac_useropt
1129 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1132 "enable_
$ac_useropt"
1134 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1135 ac_unrecognized_sep
=', ';;
1137 eval enable_
$ac_useropt=no
;;
1139 -docdir |
--docdir |
--docdi |
--doc |
--do)
1141 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1142 docdir
=$ac_optarg ;;
1144 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1146 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1147 dvidir
=$ac_optarg ;;
1149 -enable-* |
--enable-*)
1150 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1158 "enable_
$ac_useropt"
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval enable_
$ac_useropt=\
$ac_optarg ;;
1165 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1166 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1167 |
--exec |
--exe |
--ex)
1168 ac_prev
=exec_prefix
;;
1169 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1170 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1171 |
--exec=* |
--exe=* |
--ex=*)
1172 exec_prefix
=$ac_optarg ;;
1174 -gas |
--gas |
--ga |
--g)
1175 # Obsolete; use --with-gas.
1178 -help |
--help |
--hel |
--he |
-h)
1179 ac_init_help
=long
;;
1180 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1181 ac_init_help
=recursive
;;
1182 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1183 ac_init_help
=short
;;
1185 -host |
--host |
--hos |
--ho)
1186 ac_prev
=host_alias
;;
1187 -host=* |
--host=* |
--hos=* |
--ho=*)
1188 host_alias
=$ac_optarg ;;
1190 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1192 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1194 htmldir
=$ac_optarg ;;
1196 -includedir |
--includedir |
--includedi |
--included |
--include \
1197 |
--includ |
--inclu |
--incl |
--inc)
1198 ac_prev
=includedir
;;
1199 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1200 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1201 includedir
=$ac_optarg ;;
1203 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1205 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1206 infodir
=$ac_optarg ;;
1208 -libdir |
--libdir |
--libdi |
--libd)
1210 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1211 libdir
=$ac_optarg ;;
1213 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1214 |
--libexe |
--libex |
--libe)
1215 ac_prev
=libexecdir
;;
1216 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1217 |
--libexe=* |
--libex=* |
--libe=*)
1218 libexecdir
=$ac_optarg ;;
1220 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1221 ac_prev
=localedir
;;
1222 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1223 localedir
=$ac_optarg ;;
1225 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1226 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1227 ac_prev
=localstatedir
;;
1228 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1229 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1230 localstatedir
=$ac_optarg ;;
1232 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1234 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1235 mandir
=$ac_optarg ;;
1237 -nfp |
--nfp |
--nf)
1238 # Obsolete; use --without-fp.
1241 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1242 |
--no-cr |
--no-c |
-n)
1245 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1246 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1249 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1250 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1251 |
--oldin |
--oldi |
--old |
--ol |
--o)
1252 ac_prev
=oldincludedir
;;
1253 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1254 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1255 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1256 oldincludedir
=$ac_optarg ;;
1258 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1260 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1261 prefix
=$ac_optarg ;;
1263 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1264 |
--program-pre |
--program-pr |
--program-p)
1265 ac_prev
=program_prefix
;;
1266 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1267 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1268 program_prefix
=$ac_optarg ;;
1270 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1271 |
--program-suf |
--program-su |
--program-s)
1272 ac_prev
=program_suffix
;;
1273 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1274 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1275 program_suffix
=$ac_optarg ;;
1277 -program-transform-name |
--program-transform-name \
1278 |
--program-transform-nam |
--program-transform-na \
1279 |
--program-transform-n |
--program-transform- \
1280 |
--program-transform |
--program-transfor \
1281 |
--program-transfo |
--program-transf \
1282 |
--program-trans |
--program-tran \
1283 |
--progr-tra |
--program-tr |
--program-t)
1284 ac_prev
=program_transform_name
;;
1285 -program-transform-name=* |
--program-transform-name=* \
1286 |
--program-transform-nam=* |
--program-transform-na=* \
1287 |
--program-transform-n=* |
--program-transform-=* \
1288 |
--program-transform=* |
--program-transfor=* \
1289 |
--program-transfo=* |
--program-transf=* \
1290 |
--program-trans=* |
--program-tran=* \
1291 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1292 program_transform_name
=$ac_optarg ;;
1294 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1296 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1297 pdfdir
=$ac_optarg ;;
1299 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1301 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1304 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1305 |
-silent |
--silent |
--silen |
--sile |
--sil)
1308 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1309 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1310 |
--run |
--ru |
--r)
1311 ac_prev
=runstatedir
;;
1312 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1313 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1314 |
--run=* |
--ru=* |
--r=*)
1315 runstatedir
=$ac_optarg ;;
1317 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1319 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1321 sbindir
=$ac_optarg ;;
1323 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1324 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1325 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1327 ac_prev
=sharedstatedir
;;
1328 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1329 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1330 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1332 sharedstatedir
=$ac_optarg ;;
1334 -site |
--site |
--sit)
1336 -site=* |
--site=* |
--sit=*)
1339 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1341 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1342 srcdir
=$ac_optarg ;;
1344 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1345 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1346 ac_prev
=sysconfdir
;;
1347 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1348 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1349 sysconfdir
=$ac_optarg ;;
1351 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1352 ac_prev
=target_alias
;;
1353 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1354 target_alias
=$ac_optarg ;;
1356 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1359 -version |
--version |
--versio |
--versi |
--vers |
-V)
1360 ac_init_version
=: ;;
1363 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1364 # Reject names that are not valid shell variable names.
1365 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1366 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1367 ac_useropt_orig
=$ac_useropt
1368 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1369 case $ac_user_opts in
1373 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1374 ac_unrecognized_sep
=', ';;
1376 eval with_
$ac_useropt=\
$ac_optarg ;;
1378 -without-* |
--without-*)
1379 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1382 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1383 ac_useropt_orig
=$ac_useropt
1384 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1385 case $ac_user_opts in
1389 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1390 ac_unrecognized_sep
=', ';;
1392 eval with_
$ac_useropt=no
;;
1395 # Obsolete; use --with-x.
1398 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1399 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1400 ac_prev
=x_includes
;;
1401 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1402 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1403 x_includes
=$ac_optarg ;;
1405 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1406 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1407 ac_prev
=x_libraries
;;
1408 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1409 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1410 x_libraries
=$ac_optarg ;;
1412 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1413 Try \`$0 --help' for more information"
1417 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 case $ac_envvar in #(
1420 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1421 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1423 eval $ac_envvar=\
$ac_optarg
1424 export $ac_envvar ;;
1427 # FIXME: should be removed in autoconf 3.0.
1428 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1429 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1430 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1431 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1437 if test -n "$ac_prev"; then
1438 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1439 as_fn_error $?
"missing argument to $ac_option"
1442 if test -n "$ac_unrecognized_opts"; then
1443 case $enable_option_checking in
1445 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1446 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1450 # Check all directory arguments for consistency.
1451 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1452 datadir sysconfdir sharedstatedir localstatedir includedir \
1453 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1454 libdir localedir mandir runstatedir
1456 eval ac_val
=\$
$ac_var
1457 # Remove trailing slashes.
1460 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1461 eval $ac_var=\
$ac_val;;
1463 # Be sure to have absolute directory names.
1465 [\\/$
]* | ?
:[\\/]* ) continue;;
1466 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1468 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1471 # There might be people who depend on the old broken behavior: `$host'
1472 # used to hold the argument of --host etc.
1473 # FIXME: To remove some day.
1476 target
=$target_alias
1478 # FIXME: To remove some day.
1479 if test "x$host_alias" != x
; then
1480 if test "x$build_alias" = x
; then
1481 cross_compiling
=maybe
1482 elif test "x$build_alias" != "x$host_alias"; then
1488 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1490 test "$silent" = yes && exec 6>/dev
/null
1493 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1494 ac_ls_di
=`ls -di .` &&
1495 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1496 as_fn_error $?
"working directory cannot be determined"
1497 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1498 as_fn_error $?
"pwd does not report name of working directory"
1501 # Find the source files, if location was not specified.
1502 if test -z "$srcdir"; then
1503 ac_srcdir_defaulted
=yes
1504 # Try the directory containing this script, then the parent directory.
1505 ac_confdir
=`$as_dirname -- "$as_myself" ||
1506 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1507 X"$as_myself" : 'X\(//\)[^/]' \| \
1508 X"$as_myself" : 'X\(//\)$' \| \
1509 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1510 printf "%s\n" X"$as_myself" |
1511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1529 if test ! -r "$srcdir/$ac_unique_file"; then
1533 ac_srcdir_defaulted
=no
1535 if test ! -r "$srcdir/$ac_unique_file"; then
1536 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1537 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1539 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1541 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1543 # When building in place, set srcdir=.
1544 if test "$ac_abs_confdir" = "$ac_pwd"; then
1547 # Remove unnecessary trailing slashes from srcdir.
1548 # Double slashes in file names in object file debugging info
1549 # mess up M-x gdb in Emacs.
1551 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1553 for ac_var
in $ac_precious_vars; do
1554 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1555 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1556 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1557 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1561 # Report the --help message.
1563 if test "$ac_init_help" = "long"; then
1564 # Omit some internal or obsolete options to make the list less imposing.
1565 # This message is too long to be a string in the A/UX 3.1 sh.
1567 \`configure' configures systemtap 5.1 to adapt to many kinds of systems.
1569 Usage: $0 [OPTION]... [VAR=VALUE]...
1571 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1572 VAR=VALUE. See below for descriptions of some of the useful variables.
1574 Defaults for the options are specified in brackets.
1577 -h, --help display this help and exit
1578 --help=short display options specific to this package
1579 --help=recursive display the short help of all the included packages
1580 -V, --version display version information and exit
1581 -q, --quiet, --silent do not print \`checking ...' messages
1582 --cache-file=FILE cache test results in FILE [disabled]
1583 -C, --config-cache alias for \`--cache-file=config.cache'
1584 -n, --no-create do not create output files
1585 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1587 Installation directories:
1588 --prefix=PREFIX install architecture-independent files in PREFIX
1589 [$ac_default_prefix]
1590 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1593 By default, \`make install' will install all the files in
1594 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1595 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1596 for instance \`--prefix=\$HOME'.
1598 For better control, use the options below.
1600 Fine tuning of the installation directories:
1601 --bindir=DIR user executables [EPREFIX/bin]
1602 --sbindir=DIR system admin executables [EPREFIX/sbin]
1603 --libexecdir=DIR program executables [EPREFIX/libexec]
1604 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1605 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1606 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1607 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1608 --libdir=DIR object code libraries [EPREFIX/lib]
1609 --includedir=DIR C header files [PREFIX/include]
1610 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1611 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1612 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1613 --infodir=DIR info documentation [DATAROOTDIR/info]
1614 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1615 --mandir=DIR man documentation [DATAROOTDIR/man]
1616 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1617 --htmldir=DIR html documentation [DOCDIR]
1618 --dvidir=DIR dvi documentation [DOCDIR]
1619 --pdfdir=DIR pdf documentation [DOCDIR]
1620 --psdir=DIR ps documentation [DOCDIR]
1626 --program-prefix=PREFIX prepend PREFIX to installed program names
1627 --program-suffix=SUFFIX append SUFFIX to installed program names
1628 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1631 --build=BUILD configure
for building on BUILD
[guessed
]
1632 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1633 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1637 if test -n "$ac_init_help"; then
1638 case $ac_init_help in
1639 short | recursive
) echo "Configuration of systemtap 5.1:";;
1644 --disable-option-checking ignore unrecognized
--enable/--with options
1645 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1646 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1647 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1648 --disable-silent-rules verbose build output
(undo
: "make V=0")
1649 --enable-maintainer-mode
1650 enable make rules and dependencies not useful
(and
1651 sometimes confusing
) to the casual installer
1652 --enable-dependency-tracking
1653 do not reject slow dependency extractors
1654 --disable-dependency-tracking
1655 speeds up one-time build
1656 --disable-largefile omit support
for large files
1657 --disable-nls do not use Native Language Support
1658 --disable-rpath do not hardcode runtime library paths
1659 '--enable-Werror compile with -Werror flags
1660 --enable-prologues make -P prologue-searching default
1661 --disable-sdt-probes disable process.mark probes in stap, staprun, stapio
1662 --enable-sqlite build with sqlite support
1663 --disable-translator build only runtime utilities
1664 --enable-crash[=DIRECTORY]
1665 enable crash extension (default is disabled).
1666 Optional DIRECTORY is the path to the crash header
1667 file (needed if installed in a non-standard
1669 --enable-docs enable building documentation (default to only
1670 installing prebuilt docs).
1671 --enable-refdocs enable building reference documentation (default on
1672 if other documentation built).
1673 --enable-htmldocs enable building html documentation (default off).
1674 --enable-server enable building of stap-server (default on if nss
1676 --enable-virt enable building of stapvirt support (default on if
1677 libvirt etc. found).
1678 --disable-libvirt Do not use libvirt even if present
1679 --disable-monitor Disable monitor
1680 --enable-http Enable building http web compilation service, if
1684 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1685 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1686 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1687 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1688 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1689 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1690 --without-libintl-prefix don
't search for libintl in includedir and libdir
1691 --with-python-sys-prefix
1692 use Python's sys.prefix and sys.exec_prefix values
1693 --with-python_prefix override the default PYTHON_PREFIX
1694 --with-python_exec_prefix
1695 override the default PYTHON_EXEC_PREFIX
1696 --with-debuginfod Enable debuginfo lookups with debuginfod
1698 --without-nss Do not use NSS even
if present
1699 --without-openssl Do not use OPENSSL even
if present
1700 --with-dracutstap=DIR Install dracut module files
in DIR
1701 --with-dracutbindir=DIR Use the dracut binary located
in DIR
1702 --without-avahi Do not use Avahi even
if present
1703 --with-rpm query rpm database
for missing debuginfos
1704 --with-python3 prefer python version
3
1705 --with-dyninst=DIRECTORY
1706 find dyninst headers
/libraries
in DIRECTORY
1707 --without-python2-probes
1708 Disable building python version
2 probe support
,
1709 even
if it is available
1710 --without-python3-probes
1711 Disable building python version
3 probe support
,
1712 even
if it is available
1713 --without-bpf Do not try to build BPF components
1714 --without-selinux Do not use libselinux even
if present
1715 --with-java=DIRECTORY Specify JDK directory to compile libHelperSDT.so
1716 against
(default is
/usr
/lib
/jvm
/java
)
1717 --with-extra-version=STRING
1718 Add STRING to stap
-V version
1720 Some influential environment variables
:
1721 PKG_CONFIG path to pkg-config utility
1723 directories to add to pkg-config
's search path
1725 path overriding pkg-config's built-in search path
1726 CC C compiler
command
1727 CFLAGS C compiler flags
1728 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1729 nonstandard directory
<lib dir
>
1730 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1731 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1732 you have headers
in a nonstandard directory
<include dir
>
1733 CXX C
++ compiler
command
1734 CXXFLAGS C
++ compiler flags
1736 PYTHON the Python interpreter
1738 C compiler flags
for debuginfod
, overriding pkg-config
1740 linker flags
for debuginfod
, overriding pkg-config
1742 C compiler flags
for sqlite3
, overriding pkg-config
1744 linker flags
for sqlite3
, overriding pkg-config
1745 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1746 nss_LIBS linker flags
for nss
, overriding pkg-config
1748 C compiler flags
for openssl
, overriding pkg-config
1750 linker flags
for openssl
, overriding pkg-config
1752 C compiler flags
for avahi
, overriding pkg-config
1753 avahi_LIBS linker flags
for avahi
, overriding pkg-config
1755 C compiler flags
for libvirt
, overriding pkg-config
1757 linker flags
for libvirt
, overriding pkg-config
1759 C compiler flags
for libxml2
, overriding pkg-config
1761 linker flags
for libxml2
, overriding pkg-config
1763 C compiler flags
for jsonc
, overriding pkg-config
1764 jsonc_LIBS linker flags
for jsonc
, overriding pkg-config
1766 C compiler flags
for ncurses
, overriding pkg-config
1768 linker flags
for ncurses
, overriding pkg-config
1770 C compiler flags
for selinux
, overriding pkg-config
1772 linker flags
for selinux
, overriding pkg-config
1773 libmicrohttpd_CFLAGS
1774 C compiler flags
for libmicrohttpd
, overriding pkg-config
1776 linker flags
for libmicrohttpd
, overriding pkg-config
1777 uuid_CFLAGS C compiler flags
for uuid
, overriding pkg-config
1778 uuid_LIBS linker flags
for uuid
, overriding pkg-config
1780 C compiler flags
for libcurl
, overriding pkg-config
1782 linker flags
for libcurl
, overriding pkg-config
1784 Use these variables to override the choices made by
`configure' or to help
1785 it to find libraries and programs with nonstandard names/locations.
1787 Report bugs to <systemtap@sourceware.org>.
1792 if test "$ac_init_help" = "recursive"; then
1793 # If there are subdirs, report their specific --help.
1794 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1795 test -d "$ac_dir" ||
1796 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1801 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1803 ac_dir_suffix=/`printf "%s\n" "$ac_dir" |
sed 's|^\.[\\/]||'`
1804 # A ".." for each directory in $ac_dir_suffix.
1805 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1806 case $ac_top_builddir_sub in
1807 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1808 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1811 ac_abs_top_builddir=$ac_pwd
1812 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1813 # for backward compatibility:
1814 ac_top_builddir=$ac_top_build_prefix
1817 .) # We are building in place.
1819 ac_top_srcdir=$ac_top_builddir_sub
1820 ac_abs_top_srcdir=$ac_pwd ;;
1821 [\\/]* | ?:[\\/]* ) # Absolute name.
1822 ac_srcdir=$srcdir$ac_dir_suffix;
1823 ac_top_srcdir=$srcdir
1824 ac_abs_top_srcdir=$srcdir ;;
1826 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1827 ac_top_srcdir=$ac_top_build_prefix$srcdir
1828 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1830 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1832 cd "$ac_dir" || { ac_status=$?; continue; }
1833 # Check for configure.gnu first; this name is used for a wrapper for
1834 # Metaconfig's "Configure" on case-insensitive file systems.
1835 if test -f "$ac_srcdir/configure.gnu"; then
1837 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1838 elif test -f "$ac_srcdir/configure"; then
1840 $SHELL "$ac_srcdir/configure" --help=recursive
1842 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1844 cd "$ac_pwd" || { ac_status=$?; break; }
1848 test -n "$ac_init_help" && exit $ac_status
1849 if $ac_init_version; then
1851 systemtap configure 5.1
1852 generated by GNU Autoconf 2.71
1854 Copyright (C) 2021 Free Software Foundation, Inc.
1855 This configure script is free software; the Free Software Foundation
1856 gives unlimited permission to copy, distribute and modify it.
1861 ## ------------------------ ##
1862 ## Autoconf initialization. ##
1863 ## ------------------------ ##
1865 # ac_fn_c_try_compile LINENO
1866 # --------------------------
1867 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1868 ac_fn_c_try_compile ()
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 rm -f conftest.$ac_objext conftest.beam
1872 if { { ac_try="$ac_compile"
1874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1875 *) ac_try_echo
=$ac_try;;
1877 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 printf "%s\n" "$ac_try_echo"; } >&5
1879 (eval "$ac_compile") 2>conftest.err
1881 if test -s conftest.err
; then
1882 grep -v '^ *+' conftest.err
>conftest.er1
1883 cat conftest.er1
>&5
1884 mv -f conftest.er1 conftest.err
1886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887 test $ac_status = 0; } && {
1888 test -z "$ac_c_werror_flag" ||
1889 test ! -s conftest.err
1890 } && test -s conftest.
$ac_objext
1894 printf "%s\n" "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.
$ac_ext >&5
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 as_fn_set_status
$ac_retval
1902 } # ac_fn_c_try_compile
1904 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1905 # -------------------------------------------------------
1906 # Tests whether HEADER exists and can be compiled using the include files in
1907 # INCLUDES, setting the cache variable VAR accordingly.
1908 ac_fn_c_check_header_compile
()
1910 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 printf %s
"checking for $2... " >&6; }
1913 if eval test \
${$3+y}
1915 printf %s
"(cached) " >&6
1917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1922 if ac_fn_c_try_compile
"$LINENO"
1928 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 printf "%s\n" "$ac_res" >&6; }
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 } # ac_fn_c_check_header_compile
1937 # ac_fn_cxx_try_compile LINENO
1938 # ----------------------------
1939 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1940 ac_fn_cxx_try_compile
()
1942 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1943 rm -f conftest.
$ac_objext conftest.beam
1944 if { { ac_try
="$ac_compile"
1946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1947 *) ac_try_echo=$ac_try;;
1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950 printf "%s\n" "$ac_try_echo"; } >&5
1951 (eval "$ac_compile") 2>conftest.err
1953 if test -s conftest.err; then
1954 grep -v '^ *+' conftest.err >conftest.er1
1955 cat conftest.er1 >&5
1956 mv -f conftest.er1 conftest.err
1958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } && {
1960 test -z "$ac_cxx_werror_flag" ||
1961 test ! -s conftest.err
1962 } && test -s conftest.$ac_objext
1966 printf "%s\n" "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_cxx_try_compile
1976 # ac_fn_c_try_cpp LINENO
1977 # ----------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_cpp conftest.$ac_ext"
1984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1985 *) ac_try_echo
=$ac_try;;
1987 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 printf "%s\n" "$ac_try_echo"; } >&5
1989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1991 if test -s conftest.err
; then
1992 grep -v '^ *+' conftest.err
>conftest.er1
1993 cat conftest.er1
>&5
1994 mv -f conftest.er1 conftest.err
1996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } > conftest.i
&& {
1998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1999 test ! -s conftest.err
2004 printf "%s\n" "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.
$ac_ext >&5
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 as_fn_set_status
$ac_retval
2014 # ac_fn_c_try_link LINENO
2015 # -----------------------
2016 # Try to link conftest.$ac_ext, and return whether this succeeded.
2019 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2020 rm -f conftest.
$ac_objext conftest.beam conftest
$ac_exeext
2021 if { { ac_try
="$ac_link"
2023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027 printf "%s\n" "$ac_try_echo"; } >&5
2028 (eval "$ac_link") 2>conftest.err
2030 if test -s conftest.err; then
2031 grep -v '^ *+' conftest.err >conftest.er1
2032 cat conftest.er1 >&5
2033 mv -f conftest.er1 conftest.err
2035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2036 test $ac_status = 0; } && {
2037 test -z "$ac_c_werror_flag" ||
2038 test ! -s conftest.err
2039 } && test -s conftest$ac_exeext && {
2040 test "$cross_compiling" = yes ||
2041 test -x conftest$ac_exeext
2046 printf "%s\n" "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.$ac_ext >&5
2051 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2052 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2053 # interfere with the next link command; also delete a directory that is
2054 # left behind by Apple's compiler. We do this before executing the actions.
2055 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2057 as_fn_set_status $ac_retval
2059 } # ac_fn_c_try_link
2061 # ac_fn_c_check_func LINENO FUNC VAR
2062 # ----------------------------------
2063 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2064 ac_fn_c_check_func ()
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 printf %s "checking for $2... " >&6; }
2069 if eval test \${$3+y}
2071 printf %s "(cached) " >&6
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2075 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2077 #define $2 innocuous_$2
2079 /* System header to define __stub macros and hopefully few prototypes,
2080 which can conflict with char $2 (); below. */
2085 /* Override any GCC internal prototype to avoid an error.
2086 Use char because int might match the return type of a GCC
2087 builtin and then its argument prototype would still apply. */
2092 /* The GNU C library defines this for functions which it implements
2093 to always fail with ENOSYS. Some functions are actually named
2094 something starting with __ and the normal name is an alias. */
2095 #if defined __stub_$2 || defined __stub___$2
2107 if ac_fn_c_try_link "$LINENO"
2113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2114 conftest$ac_exeext conftest.$ac_ext
2117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 printf "%s\n" "$ac_res" >&6; }
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 } # ac_fn_c_check_func
2123 # ac_fn_c_try_run LINENO
2124 # ----------------------
2125 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2126 # executables *can* be run.
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 if { { ac_try="$ac_link"
2132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2133 *) ac_try_echo
=$ac_try;;
2135 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2136 printf "%s\n" "$ac_try_echo"; } >&5
2137 (eval "$ac_link") 2>&5
2139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2140 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2141 { { case "(($ac_try" in
2142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2143 *) ac_try_echo=$ac_try;;
2145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2146 printf "%s\n" "$ac_try_echo"; } >&5
2147 (eval "$ac_try") 2>&5
2149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2150 test $ac_status = 0; }; }
2154 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2155 printf "%s\n" "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2158 ac_retval=$ac_status
2160 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2161 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2162 as_fn_set_status $ac_retval
2166 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2167 # ---------------------------------------------------------
2168 # Tests whether HEADER exists and can be compiled using the include files in
2169 # INCLUDES, setting the cache variable VAR accordingly.
2170 ac_fn_cxx_check_header_compile ()
2172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174 printf %s "checking for $2... " >&6; }
2175 if eval test \${$3+y}
2177 printf %s "(cached) " >&6
2179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2184 if ac_fn_cxx_try_compile "$LINENO"
2190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2194 printf "%s\n" "$ac_res" >&6; }
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2197 } # ac_fn_cxx_check_header_compile
2199 # ac_fn_cxx_try_link LINENO
2200 # -------------------------
2201 # Try to link conftest.$ac_ext, and return whether this succeeded.
2202 ac_fn_cxx_try_link ()
2204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2206 if { { ac_try="$ac_link"
2208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2209 *) ac_try_echo
=$ac_try;;
2211 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2212 printf "%s\n" "$ac_try_echo"; } >&5
2213 (eval "$ac_link") 2>conftest.err
2215 if test -s conftest.err
; then
2216 grep -v '^ *+' conftest.err
>conftest.er1
2217 cat conftest.er1
>&5
2218 mv -f conftest.er1 conftest.err
2220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2221 test $ac_status = 0; } && {
2222 test -z "$ac_cxx_werror_flag" ||
2223 test ! -s conftest.err
2224 } && test -s conftest
$ac_exeext && {
2225 test "$cross_compiling" = yes ||
2226 test -x conftest
$ac_exeext
2231 printf "%s\n" "$as_me: failed program was:" >&5
2232 sed 's/^/| /' conftest.
$ac_ext >&5
2236 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2237 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2238 # interfere with the next link command; also delete a directory that is
2239 # left behind by Apple's compiler. We do this before executing the actions.
2240 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2242 as_fn_set_status
$ac_retval
2244 } # ac_fn_cxx_try_link
2246 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2247 # ------------------------------------------------------------------
2248 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2249 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2252 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2253 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2255 printf %s
"checking whether $as_decl_name is declared... " >&6; }
2256 if eval test \
${$3+y}
2258 printf %s
"(cached) " >&6
2260 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2261 eval ac_save_FLAGS
=\$
$6
2262 as_fn_append
$6 " $5"
2263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2264 /* end confdefs.h. */
2269 #ifndef $as_decl_name
2271 (void) $as_decl_use;
2273 (void) $as_decl_name;
2281 if ac_fn_c_try_compile
"$LINENO"
2287 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2288 eval $6=\
$ac_save_FLAGS
2292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2293 printf "%s\n" "$ac_res" >&6; }
2294 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2296 } # ac_fn_check_decl
2297 ac_configure_args_raw
=
2302 ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2304 as_fn_append ac_configure_args_raw
" '$ac_arg'"
2307 case $ac_configure_args_raw in
2311 ac_unsafe_z
='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2312 ac_unsafe_a
="$ac_unsafe_z#~"
2313 ac_safe_unquote
="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2314 ac_configure_args_raw
=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2317 cat >config.log
<<_ACEOF
2318 This file contains any messages produced by compilers while
2319 running configure, to aid debugging if configure makes a mistake.
2321 It was created by systemtap $as_me 5.1, which was
2322 generated by GNU Autoconf 2.71. Invocation command line was
2324 $ $0$ac_configure_args_raw
2334 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2335 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2336 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2337 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2338 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2340 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2341 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2343 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2344 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2345 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2346 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2347 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2348 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2349 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2357 case $as_dir in #(((
2360 *) as_dir
=$as_dir/ ;;
2362 printf "%s\n" "PATH: $as_dir"
2378 # Keep a trace of the command line.
2379 # Strip out --no-create and --no-recursion so they do not pile up.
2380 # Strip out --silent because we don't want to record it for future runs.
2381 # Also quote any args containing shell meta-characters.
2382 # Make two passes to allow for proper duplicate-argument suppression.
2386 ac_must_keep_next
=false
2392 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2393 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2394 |
-silent |
--silent |
--silen |
--sile |
--sil)
2397 ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2402 as_fn_append ac_configure_args1
" '$ac_arg'"
2403 if test $ac_must_keep_next = true
; then
2404 ac_must_keep_next
=false
# Got value, back to normal.
2407 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2408 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2409 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2410 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2411 case "$ac_configure_args0 " in
2412 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2415 -* ) ac_must_keep_next
=true
;;
2418 as_fn_append ac_configure_args
" '$ac_arg'"
2423 { ac_configure_args0
=; unset ac_configure_args0
;}
2424 { ac_configure_args1
=; unset ac_configure_args1
;}
2426 # When interrupted or exit'd, cleanup temporary files, and complete
2427 # config.log. We remove comments because anyway the quotes in there
2428 # would cause problems or look ugly.
2429 # WARNING: Use '\'' to represent an apostrophe within the trap.
2430 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2431 trap 'exit_status=$?
2434 # Save into config.log some information that might help in debugging.
2438 printf "%s\n" "## ---------------- ##
2439 ## Cache variables. ##
2440 ## ---------------- ##"
2442 # The following way of writing the cache mishandles newlines in values,
2444 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2445 eval ac_val=\$$ac_var
2449 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2450 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2453 _ | IFS | as_nl) ;; #(
2454 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2455 *) { eval $ac_var=; unset $ac_var;} ;;
2460 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2461 *${as_nl}ac_space=\ *)
2463 "s/'\''/'\''\\\\'\'''\''/g;
2464 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2474 printf "%s\n" "## ----------------- ##
2475 ## Output variables. ##
2476 ## ----------------- ##"
2478 for ac_var in $ac_subst_vars
2480 eval ac_val=\$$ac_var
2482 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2484 printf "%s\n" "$ac_var='\''$ac_val'\''"
2488 if test -n "$ac_subst_files"; then
2489 printf "%s\n" "## ------------------- ##
2490 ## File substitutions. ##
2491 ## ------------------- ##"
2493 for ac_var
in $ac_subst_files
2495 eval ac_val
=\$
$ac_var
2497 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2499 printf "%s\n" "$ac_var='\''$ac_val'\''"
2504 if test -s confdefs.h; then
2505 printf "%s\n" "## ----------- ##
2512 test "$ac_signal" != 0 &&
2513 printf "%s\n" "$as_me: caught signal $ac_signal"
2514 printf "%s\n" "$as_me: exit $exit_status"
2516 rm -f core *.core core.conftest.* &&
2517 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2520 for ac_signal
in 1 2 13 15; do
2521 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2525 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2526 rm -f -r conftest
* confdefs.h
2528 printf "%s\n" "/* confdefs.h */" > confdefs.h
2530 # Predefined preprocessor variables.
2532 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2534 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2536 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2538 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2540 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2542 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2545 # Let the site file select an alternate cache file if it wants to.
2546 # Prefer an explicitly selected file to automatically selected ones.
2547 if test -n "$CONFIG_SITE"; then
2548 ac_site_files
="$CONFIG_SITE"
2549 elif test "x$prefix" != xNONE
; then
2550 ac_site_files
="$prefix/share/config.site $prefix/etc/config.site"
2552 ac_site_files
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2555 for ac_site_file
in $ac_site_files
2557 case $ac_site_file in #(
2561 ac_site_file
=.
/$ac_site_file ;;
2563 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2565 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2566 sed 's/^/| /' "$ac_site_file" >&5
2568 ||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2569 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2570 as_fn_error $?
"failed to load site script $ac_site_file
2571 See \`config.log' for more details" "$LINENO" 5; }
2575 if test -r "$cache_file"; then
2576 # Some versions of bash will fail to source /dev/null (special files
2577 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2578 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2580 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2582 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2583 *) .
"./$cache_file";;
2587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2588 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2592 as_fn_append ac_header_c_list
" stdio.h stdio_h HAVE_STDIO_H"
2593 # Test code for whether the C compiler supports C89 (global declarations)
2594 ac_c_conftest_c89_globals
='
2595 /* Does the compiler advertise C89 conformance?
2596 Do not test the value of __STDC__, because some compilers set it to 0
2597 while being otherwise adequately conformant. */
2598 #if !defined __STDC__
2599 # error "Compiler does not advertise C89 conformance"
2605 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2606 struct buf { int x; };
2607 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2608 static char *e (p, i)
2614 static char *f (char * (*g) (char **, int), char **p, ...)
2619 s = g (p, va_arg (v,int));
2624 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2625 function prototypes and stuff, but not \xHH hex character constants.
2626 These do not provoke an error unfortunately, instead are silently treated
2627 as an "x". The following induces an error, until -std is added to get
2628 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2629 array size at least. It is necessary to write \x00 == 0 to get something
2630 that is true only with -std. */
2631 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2633 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2634 inside strings and character constants. */
2635 #define FOO(x) '\''x'\''
2636 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2638 int test (int i, double x);
2639 struct s1 {int (*f) (int a);};
2640 struct s2 {int (*f) (double a);};
2641 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2644 # Test code for whether the C compiler supports C89 (body of main).
2645 ac_c_conftest_c89_main
='
2646 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2649 # Test code for whether the C compiler supports C99 (global declarations)
2650 ac_c_conftest_c99_globals
='
2651 // Does the compiler advertise C99 conformance?
2652 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2653 # error "Compiler does not advertise C99 conformance"
2656 #include <stdbool.h>
2657 extern int puts (const char *);
2658 extern int printf (const char *, ...);
2659 extern int dprintf (int, const char *, ...);
2660 extern void *malloc (size_t);
2662 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2663 // dprintf is used instead of fprintf to avoid needing to declare
2665 #define debug(...) dprintf (2, __VA_ARGS__)
2666 #define showlist(...) puts (#__VA_ARGS__)
2667 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2669 test_varargs_macros (void)
2674 debug ("X = %d\n", x);
2675 showlist (The first, second, and third items.);
2676 report (x>y, "x is %d but y is %d", x, y);
2679 // Check long long types.
2680 #define BIG64 18446744073709551615ull
2681 #define BIG32 4294967295ul
2682 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2684 #error "your preprocessor is broken"
2688 #error "your preprocessor is broken"
2690 static long long int bignum = -9223372036854775807LL;
2691 static unsigned long long int ubignum = BIG64;
2693 struct incomplete_array
2701 const wchar_t *name;
2705 typedef const char *ccp;
2708 test_restrict (ccp restrict text)
2710 // See if C++-style comments work.
2711 // Iterate through items via the restricted pointer.
2712 // Also check for declarations in for loops.
2713 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2718 // Check varargs and va_copy.
2720 test_varargs (const char *format, ...)
2723 va_start (args, format);
2725 va_copy (args_copy, args);
2727 const char *str = "";
2735 case '\''s'\'': // string
2736 str = va_arg (args_copy, const char *);
2738 case '\''d'\'': // int
2739 number = va_arg (args_copy, int);
2741 case '\''f'\'': // float
2742 fnumber = va_arg (args_copy, double);
2751 return *str && number && fnumber;
2755 # Test code for whether the C compiler supports C99 (body of main).
2756 ac_c_conftest_c99_main
='
2758 _Bool success = false;
2759 success |= (argc != 0);
2762 if (test_restrict ("String literal") == 0)
2764 char *restrict newvar = "Another string";
2767 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2768 test_varargs_macros ();
2770 // Check flexible array members.
2771 struct incomplete_array *ia =
2772 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2774 for (int i = 0; i < ia->datasize; ++i)
2775 ia->data[i] = i * 1.234;
2777 // Check named initializers.
2778 struct named_init ni = {
2780 .name = L"Test wide string",
2781 .average = 543.34343,
2786 int dynamic_array[ni.number];
2787 dynamic_array[0] = argv[0][0];
2788 dynamic_array[ni.number - 1] = 543;
2790 // work around unused variable warnings
2791 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2792 || dynamic_array[ni.number - 1] != 543);
2795 # Test code for whether the C compiler supports C11 (global declarations)
2796 ac_c_conftest_c11_globals
='
2797 // Does the compiler advertise C11 conformance?
2798 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2799 # error "Compiler does not advertise C11 conformance"
2803 char _Alignas (double) aligned_as_double;
2804 char _Alignas (0) no_special_alignment;
2805 extern char aligned_as_int;
2806 char _Alignas (0) _Alignas (int) aligned_as_int;
2811 int_alignment = _Alignof (int),
2812 int_array_alignment = _Alignof (int[100]),
2813 char_alignment = _Alignof (char)
2815 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2818 int _Noreturn does_not_return (void) { for (;;) continue; }
2820 // Check _Static_assert.
2821 struct test_static_assert
2824 _Static_assert (sizeof (int) <= sizeof (long int),
2825 "_Static_assert does not work in struct");
2829 // Check UTF-8 literals.
2830 #define u8 syntax error!
2831 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2833 // Check duplicate typedefs.
2834 typedef long *long_ptr;
2835 typedef long int *long_ptr;
2836 typedef long_ptr long_ptr;
2838 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2842 struct { int i; int j; };
2843 struct { int k; long int l; } w;
2849 # Test code for whether the C compiler supports C11 (body of main).
2850 ac_c_conftest_c11_main
='
2851 _Static_assert ((offsetof (struct anonymous, i)
2852 == offsetof (struct anonymous, w.k)),
2853 "Anonymous union alignment botch");
2859 # Test code for whether the C compiler supports C11 (complete).
2860 ac_c_conftest_c11_program
="${ac_c_conftest_c89_globals}
2861 ${ac_c_conftest_c99_globals}
2862 ${ac_c_conftest_c11_globals}
2865 main (int argc, char **argv)
2868 ${ac_c_conftest_c89_main}
2869 ${ac_c_conftest_c99_main}
2870 ${ac_c_conftest_c11_main}
2875 # Test code for whether the C compiler supports C99 (complete).
2876 ac_c_conftest_c99_program
="${ac_c_conftest_c89_globals}
2877 ${ac_c_conftest_c99_globals}
2880 main (int argc, char **argv)
2883 ${ac_c_conftest_c89_main}
2884 ${ac_c_conftest_c99_main}
2889 # Test code for whether the C compiler supports C89 (complete).
2890 ac_c_conftest_c89_program
="${ac_c_conftest_c89_globals}
2893 main (int argc, char **argv)
2896 ${ac_c_conftest_c89_main}
2901 as_fn_append ac_header_c_list
" stdlib.h stdlib_h HAVE_STDLIB_H"
2902 as_fn_append ac_header_c_list
" string.h string_h HAVE_STRING_H"
2903 as_fn_append ac_header_c_list
" inttypes.h inttypes_h HAVE_INTTYPES_H"
2904 as_fn_append ac_header_c_list
" stdint.h stdint_h HAVE_STDINT_H"
2905 as_fn_append ac_header_c_list
" strings.h strings_h HAVE_STRINGS_H"
2906 as_fn_append ac_header_c_list
" sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2907 as_fn_append ac_header_c_list
" sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2908 as_fn_append ac_header_c_list
" unistd.h unistd_h HAVE_UNISTD_H"
2909 as_fn_append ac_header_c_list
" wchar.h wchar_h HAVE_WCHAR_H"
2910 as_fn_append ac_header_c_list
" minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2911 # Test code for whether the C++ compiler supports C++98 (global declarations)
2912 ac_cxx_conftest_cxx98_globals
='
2913 // Does the compiler advertise C++98 conformance?
2914 #if !defined __cplusplus || __cplusplus < 199711L
2915 # error "Compiler does not advertise C++98 conformance"
2918 // These inclusions are to reject old compilers that
2919 // lack the unsuffixed header files.
2921 #include <exception>
2923 // <cassert> and <cstring> are *not* freestanding headers in C++98.
2924 extern void assert (int);
2926 extern int strcmp (const char *, const char *);
2929 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2930 using std::exception;
2935 void test_exception_syntax()
2939 } catch (const char *s) {
2940 // Extra parentheses suppress a warning when building autoconf itself,
2941 // due to lint rules shared with more typical C programs.
2942 assert (!(strcmp) (s, "test"));
2946 template <typename T> struct test_template
2949 explicit test_template(T t) : val(t) {}
2950 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2953 } // anonymous namespace
2956 # Test code for whether the C++ compiler supports C++98 (body of main)
2957 ac_cxx_conftest_cxx98_main
='
2961 test_exception_syntax ();
2962 test_template<double> tt (2.0);
2963 assert (tt.add (4) == 6.0);
2964 assert (true && !false);
2968 # Test code for whether the C++ compiler supports C++11 (global declarations)
2969 ac_cxx_conftest_cxx11_globals
='
2970 // Does the compiler advertise C++ 2011 conformance?
2971 #if !defined __cplusplus || __cplusplus < 201103L
2972 # error "Compiler does not advertise C++11 conformance"
2977 constexpr int get_val() { return 20; }
2988 delegate(int n) : n(n) {}
2989 delegate(): delegate(2354) {}
2991 virtual int getval() { return this->n; };
2996 class overridden : public delegate
2999 overridden(int n): delegate(n) {}
3000 virtual int getval() override final { return this->n * 2; }
3006 nocopy(int i): i(i) {}
3008 nocopy(const nocopy&) = delete;
3009 nocopy & operator=(const nocopy&) = delete;
3014 // for testing lambda expressions
3015 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3020 // for testing variadic templates and trailing return types
3021 template <typename V> auto sum(V first) -> V
3025 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3027 return first + sum(rest...);
3032 # Test code for whether the C++ compiler supports C++11 (body of main)
3033 ac_cxx_conftest_cxx11_main
='
3035 // Test auto and decltype
3037 auto a2 = 48573953.4;
3038 auto a3 = "String literal";
3041 for (auto i = a3; *i; ++i) { total += *i; }
3043 decltype(a2) a4 = 34895.034;
3047 short sa[cxx11test::get_val()] = { 0 };
3050 // Test initializer lists
3051 cxx11test::testinit il = { 4323, 435234.23544 };
3054 // Test range-based for
3055 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3056 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3057 for (auto &x : array) { x += 23; }
3060 // Test lambda expressions
3061 using cxx11test::eval;
3062 assert (eval ([](int x) { return x*2; }, 21) == 42);
3064 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3066 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3070 // Test use of variadic templates
3071 using cxx11test::sum;
3074 auto c = sum(1.0, 2.0, 3.0);
3077 // Test constructor delegation
3078 cxx11test::delegate d1;
3079 cxx11test::delegate d2();
3080 cxx11test::delegate d3(45);
3083 // Test override and final
3084 cxx11test::overridden o1(55464);
3091 // Test template brackets
3092 test_template<::test_template<int>> v(test_template<int>(12));
3096 char const *utf8 = u8"UTF-8 string \u2500";
3097 char16_t const *utf16 = u"UTF-8 string \u2500";
3098 char32_t const *utf32 = U"UTF-32 string \u2500";
3102 # Test code for whether the C compiler supports C++11 (complete).
3103 ac_cxx_conftest_cxx11_program
="${ac_cxx_conftest_cxx98_globals}
3104 ${ac_cxx_conftest_cxx11_globals}
3107 main (int argc, char **argv)
3110 ${ac_cxx_conftest_cxx98_main}
3111 ${ac_cxx_conftest_cxx11_main}
3116 # Test code for whether the C compiler supports C++98 (complete).
3117 ac_cxx_conftest_cxx98_program
="${ac_cxx_conftest_cxx98_globals}
3119 main (int argc, char **argv)
3122 ${ac_cxx_conftest_cxx98_main}
3127 gt_needs
="$gt_needs "
3129 # Auxiliary files required by this configure script.
3130 ac_aux_files
="config.rpath ar-lib compile missing install-sh config.guess config.sub"
3132 # Locations in which to look for auxiliary files.
3133 ac_aux_dir_candidates
="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
3135 # Search for a directory containing all of the required auxiliary files,
3136 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3137 # If we don't find one directory that contains all the files we need,
3138 # we report the set of missing files from the *first* directory in
3139 # $ac_aux_dir_candidates and give up.
3140 ac_missing_aux_files
=""
3141 ac_first_candidate
=:
3142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 for as_dir
in $ac_aux_dir_candidates
3148 case $as_dir in #(((
3151 *) as_dir
=$as_dir/ ;;
3155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3156 ac_aux_dir_found
=yes
3158 for ac_aux
in $ac_aux_files
3160 # As a special case, if "install-sh" is required, that requirement
3161 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3162 # and $ac_install_sh is set appropriately for whichever one is found.
3163 if test x
"$ac_aux" = x
"install-sh"
3165 if test -f "${as_dir}install-sh"; then
3166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3167 ac_install_sh
="${as_dir}install-sh -c"
3168 elif test -f "${as_dir}install.sh"; then
3169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3170 ac_install_sh
="${as_dir}install.sh -c"
3171 elif test -f "${as_dir}shtool"; then
3172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3173 ac_install_sh
="${as_dir}shtool install -c"
3176 if $ac_first_candidate; then
3177 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
3183 if test -f "${as_dir}${ac_aux}"; then
3184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3187 if $ac_first_candidate; then
3188 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
3195 if test "$ac_aux_dir_found" = yes; then
3196 ac_aux_dir
="$as_dir"
3199 ac_first_candidate
=false
3208 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3212 # These three variables are undocumented and unsupported,
3213 # and are intended to be withdrawn in a future Autoconf release.
3214 # They can cause serious problems if a builder's source tree is in a directory
3215 # whose full name contains unusual characters.
3216 if test -f "${ac_aux_dir}config.guess"; then
3217 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
3219 if test -f "${ac_aux_dir}config.sub"; then
3220 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
3222 if test -f "$ac_aux_dir/configure"; then
3223 ac_configure
="$SHELL ${ac_aux_dir}configure"
3226 # Check that the precious variables saved in the cache have kept the same
3228 ac_cache_corrupted
=false
3229 for ac_var
in $ac_precious_vars; do
3230 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3231 eval ac_new_set
=\
$ac_env_${ac_var}_set
3232 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3233 eval ac_new_val
=\
$ac_env_${ac_var}_value
3234 case $ac_old_set,$ac_new_set in
3236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3237 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3238 ac_cache_corrupted
=: ;;
3240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3241 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3242 ac_cache_corrupted
=: ;;
3245 if test "x$ac_old_val" != "x$ac_new_val"; then
3246 # differences in whitespace do not lead to failure.
3247 ac_old_val_w
=`echo x $ac_old_val`
3248 ac_new_val_w
=`echo x $ac_new_val`
3249 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3251 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3252 ac_cache_corrupted
=:
3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3255 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3256 eval $ac_var=\
$ac_old_val
3258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3259 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
3260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3261 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
3264 # Pass precious variables to config.status.
3265 if test "$ac_new_set" = set; then
3267 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3268 *) ac_arg
=$ac_var=$ac_new_val ;;
3270 case " $ac_configure_args " in
3271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3272 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3276 if $ac_cache_corrupted; then
3277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3278 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3280 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3281 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3282 and start over" "$LINENO" 5
3284 ## -------------------- ##
3285 ## Main body of script. ##
3286 ## -------------------- ##
3289 ac_cpp
='$CPP $CPPFLAGS'
3290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3299 # Make sure we can run config.sub.
3300 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
3301 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3304 printf %s
"checking build system type... " >&6; }
3305 if test ${ac_cv_build+y}
3307 printf %s
"(cached) " >&6
3309 ac_build_alias
=$build_alias
3310 test "x$ac_build_alias" = x
&&
3311 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
3312 test "x$ac_build_alias" = x
&&
3313 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3314 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3315 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3319 printf "%s\n" "$ac_cv_build" >&6; }
3320 case $ac_cv_build in
3322 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3325 ac_save_IFS
=$IFS; IFS
='-'
3331 # Remember, the first character of IFS is used to create $*,
3332 # except with old shells:
3335 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3339 printf %s
"checking host system type... " >&6; }
3340 if test ${ac_cv_host+y}
3342 printf %s
"(cached) " >&6
3344 if test "x$host_alias" = x
; then
3345 ac_cv_host
=$ac_cv_build
3347 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3348 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3353 printf "%s\n" "$ac_cv_host" >&6; }
3356 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3359 ac_save_IFS
=$IFS; IFS
='-'
3365 # Remember, the first character of IFS is used to create $*,
3366 # except with old shells:
3369 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3373 printf %s
"checking target system type... " >&6; }
3374 if test ${ac_cv_target+y}
3376 printf %s
"(cached) " >&6
3378 if test "x$target_alias" = x
; then
3379 ac_cv_target
=$ac_cv_host
3381 ac_cv_target
=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
3382 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3387 printf "%s\n" "$ac_cv_target" >&6; }
3388 case $ac_cv_target in
3390 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3392 target
=$ac_cv_target
3393 ac_save_IFS
=$IFS; IFS
='-'
3399 # Remember, the first character of IFS is used to create $*,
3400 # except with old shells:
3403 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3406 # The aliases save the names the user supplied, while $host etc.
3407 # will get canonicalized.
3408 test -n "$target_alias" &&
3409 test "$program_prefix$program_suffix$program_transform_name" = \
3411 program_prefix
=${target_alias}-
3414 am__api_version
='1.16'
3417 # Find a good install program. We prefer a C program (faster),
3418 # so one script is as good as another. But avoid the broken or
3419 # incompatible versions:
3420 # SysV /etc/install, /usr/sbin/install
3421 # SunOS /usr/etc/install
3422 # IRIX /sbin/install
3424 # AmigaOS /C/install, which installs bootblocks on floppy discs
3425 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3426 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3427 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3428 # OS/2's system install, which has a completely different semantic
3429 # ./install, which can be erroneously created by make from ./install.sh.
3430 # Reject install programs that cannot install multiple files.
3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3432 printf %s
"checking for a BSD-compatible install... " >&6; }
3433 if test -z "$INSTALL"; then
3434 if test ${ac_cv_path_install+y}
3436 printf %s
"(cached) " >&6
3438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3442 case $as_dir in #(((
3445 *) as_dir
=$as_dir/ ;;
3447 # Account for fact that we put trailing slashes in our PATH walk.
3450 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3451 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3454 # OSF1 and SCO ODT 3.0 have their own names for install.
3455 # Don't use installbsd from OSF since it installs stuff as root
3457 for ac_prog
in ginstall scoinst
install; do
3458 for ac_exec_ext
in '' $ac_executable_extensions; do
3459 if as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext"; then
3460 if test $ac_prog = install &&
3461 grep dspmsg
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3462 # AIX install. It has an incompatible calling convention.
3464 elif test $ac_prog = install &&
3465 grep pwplus
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3466 # program-specific install script used by HP pwplus--don't use.
3469 rm -rf conftest.one conftest.two conftest.dir
3470 echo one
> conftest.one
3471 echo two
> conftest.two
3473 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir/" &&
3474 test -s conftest.one
&& test -s conftest.two
&&
3475 test -s conftest.dir
/conftest.one
&&
3476 test -s conftest.dir
/conftest.two
3478 ac_cv_path_install
="$as_dir$ac_prog$ac_exec_ext -c"
3491 rm -rf conftest.one conftest.two conftest.dir
3494 if test ${ac_cv_path_install+y}; then
3495 INSTALL
=$ac_cv_path_install
3497 # As a last resort, use the slow shell script. Don't cache a
3498 # value for INSTALL within a source directory, because that will
3499 # break other packages using the cache if that directory is
3500 # removed, or if the value is a relative name.
3501 INSTALL
=$ac_install_sh
3504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3505 printf "%s\n" "$INSTALL" >&6; }
3507 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3508 # It thinks the first close brace ends the variable substitution.
3509 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3511 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3513 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3516 printf %s
"checking whether build environment is sane... " >&6; }
3517 # Reject unsafe characters in $srcdir or the absolute working directory
3518 # name. Accept space and tab only in the latter.
3522 *[\\\"\
#\$\&\'\`$am_lf]*)
3523 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3526 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3527 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3530 # Do 'set' in a subshell so we don't clobber the current shell's
3531 # arguments. Must try -L first in case configure is actually a
3532 # symlink; some systems play weird games with the mod time of symlinks
3533 # (eg FreeBSD returns the mod time of the symlink's containing
3537 for am_try
in 1 2; do
3538 echo "timestamp, slept: $am_has_slept" > conftest.
file
3539 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3540 if test "$*" = "X"; then
3542 set X
`ls -t "$srcdir/configure" conftest.file`
3544 if test "$*" != "X $srcdir/configure conftest.file" \
3545 && test "$*" != "X conftest.file $srcdir/configure"; then
3547 # If neither matched, then we have a broken ls. This can happen
3548 # if, for instance, CONFIG_SHELL is bash and it inherits a
3549 # broken ls alias from the environment. This has actually
3550 # happened. Such a system could not be considered "sane".
3551 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3552 alias in your environment" "$LINENO" 5
3554 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3561 test "$2" = conftest.
file
3567 as_fn_error $?
"newly created file is older than distributed files!
3568 Check your system clock" "$LINENO" 5
3570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3571 printf "%s\n" "yes" >&6; }
3572 # If we didn't sleep, we still need to ensure time stamps of config.status and
3573 # generated files are strictly newer.
3575 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3582 test "$program_prefix" != NONE
&&
3583 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3584 # Use a double $ so make ignores it.
3585 test "$program_suffix" != NONE
&&
3586 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3587 # Double any \ or $.
3588 # By default was `s,x,x', remove it if useless.
3589 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3590 program_transform_name
=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3593 # Expand $ac_aux_dir to an absolute path.
3594 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3597 if test x
"${MISSING+set}" != xset
; then
3598 MISSING
="\${SHELL} '$am_aux_dir/missing'"
3600 # Use eval to expand $SHELL
3601 if eval "$MISSING --is-lightweight"; then
3602 am_missing_run
="$MISSING "
3605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3606 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3609 if test x
"${install_sh+set}" != xset
; then
3612 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3614 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3618 # Installed binaries are usually stripped using 'strip' when the user
3619 # run "make install-strip". However 'strip' might not be the right
3620 # tool to use in cross-compilation environments, therefore Automake
3621 # will honor the 'STRIP' environment variable to overrule this program.
3622 if test "$cross_compiling" != no
; then
3623 if test -n "$ac_tool_prefix"; then
3624 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3625 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 printf %s
"checking for $ac_word... " >&6; }
3628 if test ${ac_cv_prog_STRIP+y}
3630 printf %s
"(cached) " >&6
3632 if test -n "$STRIP"; then
3633 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3639 case $as_dir in #(((
3642 *) as_dir
=$as_dir/ ;;
3644 for ac_exec_ext
in '' $ac_executable_extensions; do
3645 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3646 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3656 STRIP
=$ac_cv_prog_STRIP
3657 if test -n "$STRIP"; then
3658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3659 printf "%s\n" "$STRIP" >&6; }
3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 printf "%s\n" "no" >&6; }
3667 if test -z "$ac_cv_prog_STRIP"; then
3669 # Extract the first word of "strip", so it can be a program name with args.
3670 set dummy strip
; ac_word
=$2
3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 printf %s
"checking for $ac_word... " >&6; }
3673 if test ${ac_cv_prog_ac_ct_STRIP+y}
3675 printf %s
"(cached) " >&6
3677 if test -n "$ac_ct_STRIP"; then
3678 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3684 case $as_dir in #(((
3687 *) as_dir
=$as_dir/ ;;
3689 for ac_exec_ext
in '' $ac_executable_extensions; do
3690 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3691 ac_cv_prog_ac_ct_STRIP
="strip"
3692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3701 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3702 if test -n "$ac_ct_STRIP"; then
3703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3704 printf "%s\n" "$ac_ct_STRIP" >&6; }
3706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 printf "%s\n" "no" >&6; }
3710 if test "x$ac_ct_STRIP" = x
; then
3713 case $cross_compiling:$ac_tool_warned in
3715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned
=yes ;;
3722 STRIP
="$ac_cv_prog_STRIP"
3726 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3730 printf %s
"checking for a race-free mkdir -p... " >&6; }
3731 if test -z "$MKDIR_P"; then
3732 if test ${ac_cv_path_mkdir+y}
3734 printf %s
"(cached) " >&6
3736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3737 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3740 case $as_dir in #(((
3743 *) as_dir
=$as_dir/ ;;
3745 for ac_prog
in mkdir gmkdir
; do
3746 for ac_exec_ext
in '' $ac_executable_extensions; do
3747 as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext" ||
continue
3748 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3749 'mkdir ('*'coreutils) '* | \
3751 'mkdir (fileutils) '4.1*)
3752 ac_cv_path_mkdir
=$as_dir$ac_prog$ac_exec_ext
3762 test -d .
/--version && rmdir .
/--version
3763 if test ${ac_cv_path_mkdir+y}; then
3764 MKDIR_P
="$ac_cv_path_mkdir -p"
3766 # As a last resort, use the slow shell script. Don't cache a
3767 # value for MKDIR_P within a source directory, because that will
3768 # break other packages using the cache if that directory is
3769 # removed, or if the value is a relative name.
3770 MKDIR_P
="$ac_install_sh -d"
3773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3774 printf "%s\n" "$MKDIR_P" >&6; }
3776 for ac_prog
in gawk mawk nawk
awk
3778 # Extract the first word of "$ac_prog", so it can be a program name with args.
3779 set dummy
$ac_prog; ac_word
=$2
3780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 printf %s
"checking for $ac_word... " >&6; }
3782 if test ${ac_cv_prog_AWK+y}
3784 printf %s
"(cached) " >&6
3786 if test -n "$AWK"; then
3787 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 case $as_dir in #(((
3796 *) as_dir
=$as_dir/ ;;
3798 for ac_exec_ext
in '' $ac_executable_extensions; do
3799 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_AWK
="$ac_prog"
3801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3811 if test -n "$AWK"; then
3812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3813 printf "%s\n" "$AWK" >&6; }
3815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 printf "%s\n" "no" >&6; }
3820 test -n "$AWK" && break
3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3824 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3826 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3827 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
3829 printf %s
"(cached) " >&6
3831 cat >conftest.
make <<\_ACEOF
3834 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3836 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3837 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3839 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3841 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3845 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3847 printf "%s\n" "yes" >&6; }
3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 printf "%s\n" "no" >&6; }
3852 SET_MAKE
="MAKE=${MAKE-make}"
3855 rm -rf .tst
2>/dev
/null
3856 mkdir .tst
2>/dev
/null
3857 if test -d .tst
; then
3862 rmdir .tst
2>/dev
/null
3864 # Check whether --enable-silent-rules was given.
3865 if test ${enable_silent_rules+y}
3867 enableval
=$enable_silent_rules;
3870 case $enable_silent_rules in # (((
3871 yes) AM_DEFAULT_VERBOSITY
=0;;
3872 no
) AM_DEFAULT_VERBOSITY
=1;;
3873 *) AM_DEFAULT_VERBOSITY
=1;;
3875 am_make
=${MAKE-make}
3876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3877 printf %s
"checking whether $am_make supports nested variables... " >&6; }
3878 if test ${am_cv_make_support_nested_variables+y}
3880 printf %s
"(cached) " >&6
3882 if printf "%s\n" 'TRUE=$(BAR$(V))
3888 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3889 am_cv_make_support_nested_variables
=yes
3891 am_cv_make_support_nested_variables
=no
3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3895 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3896 if test $am_cv_make_support_nested_variables = yes; then
3898 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3900 AM_V
=$AM_DEFAULT_VERBOSITY
3901 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3905 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3906 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3907 # is not polluted with repeated "-I."
3908 am__isrc
=' -I$(srcdir)'
3909 # test to see if srcdir already configured
3910 if test -f $srcdir/config.status
; then
3911 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3915 # test whether we have cygpath
3916 if test -z "$CYGPATH_W"; then
3917 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3918 CYGPATH_W
='cygpath -w'
3925 # Define the identity of the package.
3930 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3933 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3935 # Some tools Automake needs.
3937 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3940 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3943 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3946 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3949 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3951 # For better backward compatibility. To be removed once Automake 1.9.x
3952 # dies out for good. For more background, see:
3953 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3954 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3955 mkdir_p
='$(MKDIR_P)'
3957 # We need awk for the "check" target (and possibly the TAP driver). The
3958 # system "awk" is bad on some platforms.
3959 # Always define AMTAR for backward compatibility. Yes, it's still used
3960 # in the wild :-( We should find a proper way to deprecate it ...
3964 # We'll loop over all known methods to create a tar archive until one works.
3965 _am_tools
='gnutar pax cpio none'
3967 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3973 # Variables for tags utilities; see am/tags.am
3974 if test -z "$CTAGS"; then
3978 if test -z "$ETAGS"; then
3982 if test -z "$CSCOPE"; then
3988 # POSIX will say in a future version that running "rm -f" with no argument
3989 # is OK; and we want to be able to make that assumption in our Makefile
3990 # recipes. So use an aggressive probe to check that the usage we want is
3991 # actually supported "in the wild" to an acceptable degree.
3992 # See automake bug#10828.
3993 # To make any issue more visible, cause the running configure to be aborted
3994 # by default if the 'rm' program in use doesn't match our expectations; the
3995 # user can still override this though.
3996 if rm -f && rm -fr && rm -rf; then : OK
; else
4000 Your 'rm' program seems unable to run without file operands specified
4001 on the command line, even when the '-f' option is present. This is contrary
4002 to the behaviour of most rm programs out there, and not conforming with
4003 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4005 Please tell bug-automake@gnu.org about your system, including the value
4006 of your $PATH and any error possibly output before this message. This
4007 can help us improve future automake versions.
4010 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4011 echo 'Configuration will proceed anyway, since you have set the' >&2
4012 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4016 Aborting the configuration process, to ensure you take notice of the issue.
4018 You can download and install GNU coreutils to get an 'rm' implementation
4019 that behaves properly: <https://www.gnu.org/software/coreutils/>.
4021 If you want to complete the configuration process using your problematic
4022 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4023 to "yes", and re-run configure.
4026 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4032 printf %s
"checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4033 # Check whether --enable-maintainer-mode was given.
4034 if test ${enable_maintainer_mode+y}
4036 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4038 USE_MAINTAINER_MODE
=no
4041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4042 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
4043 if test $USE_MAINTAINER_MODE = yes; then
4044 MAINTAINER_MODE_TRUE
=
4045 MAINTAINER_MODE_FALSE
='#'
4047 MAINTAINER_MODE_TRUE
='#'
4048 MAINTAINER_MODE_FALSE
=
4051 MAINT
=$MAINTAINER_MODE_TRUE
4055 # Check whether --enable-silent-rules was given.
4056 if test ${enable_silent_rules+y}
4058 enableval
=$enable_silent_rules;
4061 case $enable_silent_rules in # (((
4062 yes) AM_DEFAULT_VERBOSITY
=0;;
4063 no
) AM_DEFAULT_VERBOSITY
=1;;
4064 *) AM_DEFAULT_VERBOSITY
=0;;
4066 am_make
=${MAKE-make}
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4068 printf %s
"checking whether $am_make supports nested variables... " >&6; }
4069 if test ${am_cv_make_support_nested_variables+y}
4071 printf %s
"(cached) " >&6
4073 if printf "%s\n" 'TRUE=$(BAR$(V))
4079 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4080 am_cv_make_support_nested_variables
=yes
4082 am_cv_make_support_nested_variables
=no
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4086 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
4087 if test $am_cv_make_support_nested_variables = yes; then
4089 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4091 AM_V
=$AM_DEFAULT_VERBOSITY
4092 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4104 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4105 if test -n "$ac_tool_prefix"; then
4106 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4107 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 printf %s "checking for $ac_word... " >&6; }
4110 if test ${ac_cv_path_PKG_CONFIG+y}
4112 printf %s "(cached) " >&6
4116 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 case $as_dir in #(((
4126 *) as_dir=$as_dir/ ;;
4128 for ac_exec_ext in '' $ac_executable_extensions; do
4129 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4130 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4141 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4142 if test -n "$PKG_CONFIG"; then
4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4144 printf "%s\n" "$PKG_CONFIG" >&6; }
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 printf "%s\n" "no" >&6; }
4152 if test -z "$ac_cv_path_PKG_CONFIG"; then
4153 ac_pt_PKG_CONFIG=$PKG_CONFIG
4154 # Extract the first word of "pkg-config", so it can be a program name with args.
4155 set dummy pkg-config; ac_word=$2
4156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 printf %s "checking for $ac_word... " >&6; }
4158 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4160 printf %s "(cached) " >&6
4162 case $ac_pt_PKG_CONFIG in
4164 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 case $as_dir in #(((
4174 *) as_dir=$as_dir/ ;;
4176 for ac_exec_ext in '' $ac_executable_extensions; do
4177 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4178 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4189 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4190 if test -n "$ac_pt_PKG_CONFIG"; then
4191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4192 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195 printf "%s\n" "no" >&6; }
4198 if test "x$ac_pt_PKG_CONFIG" = x; then
4201 case $cross_compiling:$ac_tool_warned in
4203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4204 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4205 ac_tool_warned=yes ;;
4207 PKG_CONFIG=$ac_pt_PKG_CONFIG
4210 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4214 if test -n "$PKG_CONFIG"; then
4215 _pkg_min_version=0.9.0
4216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4217 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4218 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4220 printf "%s\n" "yes" >&6; }
4222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223 printf "%s\n" "no" >&6; }
4236 DEPDIR="${am__leading_dot}deps"
4238 ac_config_commands="$ac_config_commands depfiles"
4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4241 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4242 cat > confinc.mk << 'END
'
4244 @echo this is the am__doit target >confinc.out
4249 # BSD make does it like this.
4250 echo '.include
"confinc.mk" # ignored' > confmf.BSD
4251 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4252 echo 'include confinc.mk # ignored' > confmf.GNU
4254 for s
in GNU BSD
; do
4255 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4256 (${MAKE-make} -f confmf.
$s && cat confinc.out
) >&5 2>&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); }
4260 case $?
:`cat confinc.out 2>/dev/null` in #(
4261 '0:this is the am__doit target') :
4264 am__include
='.include' am__quote
='"' ;; #(
4266 am__include
='include' am__quote
='' ;;
4271 if test "$am__include" != "#"; then
4272 _am_result
="yes ($s style)"
4276 rm -f confinc.
* confmf.
*
4277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4278 printf "%s\n" "${_am_result}" >&6; }
4280 # Check whether --enable-dependency-tracking was given.
4281 if test ${enable_dependency_tracking+y}
4283 enableval
=$enable_dependency_tracking;
4286 if test "x$enable_dependency_tracking" != xno
; then
4287 am_depcomp
="$ac_aux_dir/depcomp"
4291 if test "x$enable_dependency_tracking" != xno; then
4301 ac_cpp
='$CPP $CPPFLAGS'
4302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4305 if test -n "$ac_tool_prefix"; then
4306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4307 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 printf %s
"checking for $ac_word... " >&6; }
4310 if test ${ac_cv_prog_CC+y}
4312 printf %s
"(cached) " >&6
4314 if test -n "$CC"; then
4315 ac_cv_prog_CC
="$CC" # Let the user override the test.
4317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4321 case $as_dir in #(((
4324 *) as_dir
=$as_dir/ ;;
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4328 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4339 if test -n "$CC"; then
4340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4341 printf "%s\n" "$CC" >&6; }
4343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 printf "%s\n" "no" >&6; }
4349 if test -z "$ac_cv_prog_CC"; then
4351 # Extract the first word of "gcc", so it can be a program name with args.
4352 set dummy gcc
; ac_word
=$2
4353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 printf %s
"checking for $ac_word... " >&6; }
4355 if test ${ac_cv_prog_ac_ct_CC+y}
4357 printf %s
"(cached) " >&6
4359 if test -n "$ac_ct_CC"; then
4360 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4366 case $as_dir in #(((
4369 *) as_dir
=$as_dir/ ;;
4371 for ac_exec_ext
in '' $ac_executable_extensions; do
4372 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4373 ac_cv_prog_ac_ct_CC
="gcc"
4374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4383 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4384 if test -n "$ac_ct_CC"; then
4385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4386 printf "%s\n" "$ac_ct_CC" >&6; }
4388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 printf "%s\n" "no" >&6; }
4392 if test "x$ac_ct_CC" = x
; then
4395 case $cross_compiling:$ac_tool_warned in
4397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4398 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4399 ac_tool_warned
=yes ;;
4407 if test -z "$CC"; then
4408 if test -n "$ac_tool_prefix"; then
4409 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4410 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4412 printf %s
"checking for $ac_word... " >&6; }
4413 if test ${ac_cv_prog_CC+y}
4415 printf %s
"(cached) " >&6
4417 if test -n "$CC"; then
4418 ac_cv_prog_CC
="$CC" # Let the user override the test.
4420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4424 case $as_dir in #(((
4427 *) as_dir
=$as_dir/ ;;
4429 for ac_exec_ext
in '' $ac_executable_extensions; do
4430 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4442 if test -n "$CC"; then
4443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4444 printf "%s\n" "$CC" >&6; }
4446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 printf "%s\n" "no" >&6; }
4453 if test -z "$CC"; then
4454 # Extract the first word of "cc", so it can be a program name with args.
4455 set dummy cc
; ac_word
=$2
4456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 printf %s
"checking for $ac_word... " >&6; }
4458 if test ${ac_cv_prog_CC+y}
4460 printf %s
"(cached) " >&6
4462 if test -n "$CC"; then
4463 ac_cv_prog_CC
="$CC" # Let the user override the test.
4466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4470 case $as_dir in #(((
4473 *) as_dir
=$as_dir/ ;;
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4477 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4478 ac_prog_rejected
=yes
4482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4489 if test $ac_prog_rejected = yes; then
4490 # We found a bogon in the path, so make sure we never use it.
4491 set dummy
$ac_cv_prog_CC
4493 if test $# != 0; then
4494 # We chose a different compiler from the bogus one.
4495 # However, it has the same basename, so the bogon will be chosen
4496 # first if we set CC to just the basename; use the full file name.
4498 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
4504 if test -n "$CC"; then
4505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4506 printf "%s\n" "$CC" >&6; }
4508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 printf "%s\n" "no" >&6; }
4514 if test -z "$CC"; then
4515 if test -n "$ac_tool_prefix"; then
4516 for ac_prog
in cl.exe
4518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4519 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 printf %s
"checking for $ac_word... " >&6; }
4522 if test ${ac_cv_prog_CC+y}
4524 printf %s
"(cached) " >&6
4526 if test -n "$CC"; then
4527 ac_cv_prog_CC
="$CC" # Let the user override the test.
4529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4533 case $as_dir in #(((
4536 *) as_dir
=$as_dir/ ;;
4538 for ac_exec_ext
in '' $ac_executable_extensions; do
4539 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4540 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4551 if test -n "$CC"; then
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4553 printf "%s\n" "$CC" >&6; }
4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 printf "%s\n" "no" >&6; }
4560 test -n "$CC" && break
4563 if test -z "$CC"; then
4565 for ac_prog
in cl.exe
4567 # Extract the first word of "$ac_prog", so it can be a program name with args.
4568 set dummy
$ac_prog; ac_word
=$2
4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4570 printf %s
"checking for $ac_word... " >&6; }
4571 if test ${ac_cv_prog_ac_ct_CC+y}
4573 printf %s
"(cached) " >&6
4575 if test -n "$ac_ct_CC"; then
4576 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 case $as_dir in #(((
4585 *) as_dir
=$as_dir/ ;;
4587 for ac_exec_ext
in '' $ac_executable_extensions; do
4588 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4589 ac_cv_prog_ac_ct_CC
="$ac_prog"
4590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4599 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4600 if test -n "$ac_ct_CC"; then
4601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4602 printf "%s\n" "$ac_ct_CC" >&6; }
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 printf "%s\n" "no" >&6; }
4609 test -n "$ac_ct_CC" && break
4612 if test "x$ac_ct_CC" = x
; then
4615 case $cross_compiling:$ac_tool_warned in
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4618 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4619 ac_tool_warned
=yes ;;
4626 if test -z "$CC"; then
4627 if test -n "$ac_tool_prefix"; then
4628 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4629 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
4630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4631 printf %s
"checking for $ac_word... " >&6; }
4632 if test ${ac_cv_prog_CC+y}
4634 printf %s
"(cached) " >&6
4636 if test -n "$CC"; then
4637 ac_cv_prog_CC
="$CC" # Let the user override the test.
4639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4643 case $as_dir in #(((
4646 *) as_dir
=$as_dir/ ;;
4648 for ac_exec_ext
in '' $ac_executable_extensions; do
4649 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4650 ac_cv_prog_CC
="${ac_tool_prefix}clang"
4651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4661 if test -n "$CC"; then
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4663 printf "%s\n" "$CC" >&6; }
4665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 printf "%s\n" "no" >&6; }
4671 if test -z "$ac_cv_prog_CC"; then
4673 # Extract the first word of "clang", so it can be a program name with args.
4674 set dummy clang
; ac_word
=$2
4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 printf %s
"checking for $ac_word... " >&6; }
4677 if test ${ac_cv_prog_ac_ct_CC+y}
4679 printf %s
"(cached) " >&6
4681 if test -n "$ac_ct_CC"; then
4682 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4688 case $as_dir in #(((
4691 *) as_dir
=$as_dir/ ;;
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4695 ac_cv_prog_ac_ct_CC
="clang"
4696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4705 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4706 if test -n "$ac_ct_CC"; then
4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4708 printf "%s\n" "$ac_ct_CC" >&6; }
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 printf "%s\n" "no" >&6; }
4714 if test "x$ac_ct_CC" = x
; then
4717 case $cross_compiling:$ac_tool_warned in
4719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721 ac_tool_warned
=yes ;;
4732 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error $?
"no acceptable C compiler found in \$PATH
4735 See \`config.log' for more details" "$LINENO" 5; }
4737 # Provide some information about the compiler.
4738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4741 for ac_option
in --version -v -V -qversion -version; do
4742 { { ac_try
="$ac_compiler $ac_option >&5"
4744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4748 printf "%s\n" "$ac_try_echo"; } >&5
4749 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4751 if test -s conftest.err; then
4753 ... rest of stderr output deleted ...
4754 10q' conftest.err >conftest.er1
4755 cat conftest.er1 >&5
4757 rm -f conftest.er1 conftest.err
4758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4759 test $ac_status = 0; }
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4773 ac_clean_files_save=$ac_clean_files
4774 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4775 # Try to create an executable without -o first, disregard a.out.
4776 # It will help us diagnose broken compilers, and finding out an intuition
4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4779 printf %s "checking whether the C compiler works... " >&6; }
4780 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4782 # The possible output files:
4783 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4786 for ac_file in $ac_files
4789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4795 if { { ac_try="$ac_link_default"
4797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4798 *) ac_try_echo
=$ac_try;;
4800 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4801 printf "%s\n" "$ac_try_echo"; } >&5
4802 (eval "$ac_link_default") 2>&5
4804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4807 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4808 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4809 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4810 # so that the user can short-circuit this test for compilers unknown to
4812 for ac_file
in $ac_files ''
4814 test -f "$ac_file" ||
continue
4816 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4819 # We found the default executable, but exeext='' is most
4823 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
4825 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4827 # We set ac_cv_exeext here because the later test for it is not
4828 # safe: cross compilers may not add the suffix if given an `-o'
4829 # argument, so we may need to know it at that point already.
4830 # Even if this section looks crufty: it has the advantage of
4837 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4842 if test -z "$ac_file"
4844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 printf "%s\n" "no" >&6; }
4846 printf "%s\n" "$as_me: failed program was:" >&5
4847 sed 's/^/| /' conftest.
$ac_ext >&5
4849 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4850 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4851 as_fn_error
77 "C compiler cannot create executables
4852 See \`config.log' for more details" "$LINENO" 5; }
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4855 printf "%s\n" "yes" >&6; }
4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4858 printf %s
"checking for C compiler default output file name... " >&6; }
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4860 printf "%s\n" "$ac_file" >&6; }
4861 ac_exeext
=$ac_cv_exeext
4863 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4864 ac_clean_files
=$ac_clean_files_save
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4866 printf %s
"checking for suffix of executables... " >&6; }
4867 if { { ac_try
="$ac_link"
4869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4870 *) ac_try_echo=$ac_try;;
4872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4873 printf "%s\n" "$ac_try_echo"; } >&5
4874 (eval "$ac_link") 2>&5
4876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4877 test $ac_status = 0; }
4879 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4880 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4881 # work properly (i.e., refer to `conftest.exe'), while it won't with
4883 for ac_file
in conftest.exe conftest conftest.
*; do
4884 test -f "$ac_file" ||
continue
4886 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4887 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4893 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4894 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4895 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4896 See \`config.log' for more details" "$LINENO" 5; }
4898 rm -f conftest conftest
$ac_cv_exeext
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4900 printf "%s\n" "$ac_cv_exeext" >&6; }
4902 rm -f conftest.
$ac_ext
4903 EXEEXT
=$ac_cv_exeext
4905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4911 FILE *f = fopen ("conftest.out", "w");
4912 return ferror (f) || fclose (f) != 0;
4918 ac_clean_files
="$ac_clean_files conftest.out"
4919 # Check that the compiler produces executables we can run. If not, either
4920 # the compiler is broken, or we cross compile.
4921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4922 printf %s
"checking whether we are cross compiling... " >&6; }
4923 if test "$cross_compiling" != yes; then
4924 { { ac_try
="$ac_link"
4926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4927 *) ac_try_echo=$ac_try;;
4929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4930 printf "%s\n" "$ac_try_echo"; } >&5
4931 (eval "$ac_link") 2>&5
4933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4934 test $ac_status = 0; }
4935 if { ac_try='./conftest$ac_cv_exeext'
4936 { { case "(($ac_try" in
4937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4938 *) ac_try_echo
=$ac_try;;
4940 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4941 printf "%s\n" "$ac_try_echo"; } >&5
4942 (eval "$ac_try") 2>&5
4944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4945 test $ac_status = 0; }; }; then
4948 if test "$cross_compiling" = maybe
; then
4951 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4952 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4953 as_fn_error
77 "cannot run C compiled programs.
4954 If you meant to cross compile, use \`--host'.
4955 See \`config.log' for more details" "$LINENO" 5; }
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4960 printf "%s\n" "$cross_compiling" >&6; }
4962 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4963 ac_clean_files
=$ac_clean_files_save
4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4965 printf %s
"checking for suffix of object files... " >&6; }
4966 if test ${ac_cv_objext+y}
4968 printf %s
"(cached) " >&6
4970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4971 /* end confdefs.h. */
4981 rm -f conftest.o conftest.obj
4982 if { { ac_try
="$ac_compile"
4984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4985 *) ac_try_echo=$ac_try;;
4987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4988 printf "%s\n" "$ac_try_echo"; } >&5
4989 (eval "$ac_compile") 2>&5
4991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4992 test $ac_status = 0; }
4994 for ac_file in conftest.o conftest.obj conftest.*; do
4995 test -f "$ac_file" || continue;
4997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4998 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5003 printf "%s\n" "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5006 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5007 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5008 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5009 See \
`config.log' for more details" "$LINENO" 5; }
5011 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5014 printf "%s\n" "$ac_cv_objext" >&6; }
5015 OBJEXT=$ac_cv_objext
5017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5018 printf %s "checking whether the compiler supports GNU C... " >&6; }
5019 if test ${ac_cv_c_compiler_gnu+y}
5021 printf %s "(cached) " >&6
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5037 if ac_fn_c_try_compile "$LINENO"
5043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5044 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5048 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5051 if test $ac_compiler_gnu = yes; then
5056 ac_test_CFLAGS=${CFLAGS+y}
5057 ac_save_CFLAGS=$CFLAGS
5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5059 printf %s "checking whether $CC accepts -g... " >&6; }
5060 if test ${ac_cv_prog_cc_g+y}
5062 printf %s "(cached) " >&6
5064 ac_save_c_werror_flag=$ac_c_werror_flag
5065 ac_c_werror_flag=yes
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5079 if ac_fn_c_try_compile "$LINENO"
5084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5085 /* end confdefs.h. */
5095 if ac_fn_c_try_compile "$LINENO"
5099 ac_c_werror_flag=$ac_save_c_werror_flag
5101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5102 /* end confdefs.h. */
5112 if ac_fn_c_try_compile "$LINENO"
5116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5121 ac_c_werror_flag=$ac_save_c_werror_flag
5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5124 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5125 if test $ac_test_CFLAGS; then
5126 CFLAGS=$ac_save_CFLAGS
5127 elif test $ac_cv_prog_cc_g = yes; then
5128 if test "$GCC" = yes; then
5134 if test "$GCC" = yes; then
5141 if test x$ac_prog_cc_stdc = xno
5143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5144 printf %s "checking for $CC option to enable C11 features... " >&6; }
5145 if test ${ac_cv_prog_cc_c11+y}
5147 printf %s "(cached) " >&6
5149 ac_cv_prog_cc_c11=no
5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5153 $ac_c_conftest_c11_program
5155 for ac_arg in '' -std=gnu11
5157 CC="$ac_save_CC $ac_arg"
5158 if ac_fn_c_try_compile "$LINENO"
5160 ac_cv_prog_cc_c11=$ac_arg
5162 rm -f core conftest.err conftest.$ac_objext conftest.beam
5163 test "x$ac_cv_prog_cc_c11" != "xno" && break
5165 rm -f conftest.$ac_ext
5169 if test "x$ac_cv_prog_cc_c11" = xno
5171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5172 printf "%s\n" "unsupported" >&6; }
5174 if test "x$ac_cv_prog_cc_c11" = x
5176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5177 printf "%s\n" "none needed" >&6; }
5179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5180 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5181 CC="$CC $ac_cv_prog_cc_c11"
5183 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5187 if test x$ac_prog_cc_stdc = xno
5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5190 printf %s "checking for $CC option to enable C99 features... " >&6; }
5191 if test ${ac_cv_prog_cc_c99+y}
5193 printf %s "(cached) " >&6
5195 ac_cv_prog_cc_c99=no
5197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5198 /* end confdefs.h. */
5199 $ac_c_conftest_c99_program
5201 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5203 CC="$ac_save_CC $ac_arg"
5204 if ac_fn_c_try_compile "$LINENO"
5206 ac_cv_prog_cc_c99=$ac_arg
5208 rm -f core conftest.err conftest.$ac_objext conftest.beam
5209 test "x$ac_cv_prog_cc_c99" != "xno" && break
5211 rm -f conftest.$ac_ext
5215 if test "x$ac_cv_prog_cc_c99" = xno
5217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5218 printf "%s\n" "unsupported" >&6; }
5220 if test "x$ac_cv_prog_cc_c99" = x
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5223 printf "%s\n" "none needed" >&6; }
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5226 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5227 CC="$CC $ac_cv_prog_cc_c99"
5229 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5233 if test x$ac_prog_cc_stdc = xno
5235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5236 printf %s "checking for $CC option to enable C89 features... " >&6; }
5237 if test ${ac_cv_prog_cc_c89+y}
5239 printf %s "(cached) " >&6
5241 ac_cv_prog_cc_c89=no
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245 $ac_c_conftest_c89_program
5247 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5249 CC="$ac_save_CC $ac_arg"
5250 if ac_fn_c_try_compile "$LINENO"
5252 ac_cv_prog_cc_c89=$ac_arg
5254 rm -f core conftest.err conftest.$ac_objext conftest.beam
5255 test "x$ac_cv_prog_cc_c89" != "xno" && break
5257 rm -f conftest.$ac_ext
5261 if test "x$ac_cv_prog_cc_c89" = xno
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5264 printf "%s\n" "unsupported" >&6; }
5266 if test "x$ac_cv_prog_cc_c89" = x
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5269 printf "%s\n" "none needed" >&6; }
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5272 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5273 CC="$CC $ac_cv_prog_cc_c89"
5275 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5281 ac_cpp='$CPP $CPPFLAGS'
5282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5288 ac_cpp='$CPP $CPPFLAGS'
5289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5293 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5294 if test ${am_cv_prog_cc_c_o+y}
5296 printf %s "(cached) " >&6
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5309 # Make sure it works both with $CC and with simple cc.
5310 # Following AC_PROG_CC_C_O, we do the test twice because some
5311 # compilers refuse to overwrite an existing .o file with -o,
5312 # though they will create one.
5313 am_cv_prog_cc_c_o=yes
5315 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5316 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } \
5320 && test -f conftest2.$ac_objext; then
5323 am_cv_prog_cc_c_o=no
5327 rm -f core conftest*
5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5331 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5332 if test "$am_cv_prog_cc_c_o" != yes; then
5333 # Losing compiler, so override with the script.
5334 # FIXME: It is wrong to rewrite CC.
5335 # But if we don't then we get into trouble of one sort or another.
5336 # A longer-term fix would be to have automake use am__CC in this case,
5337 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5338 CC="$am_aux_dir/compile $CC"
5341 ac_cpp='$CPP $CPPFLAGS'
5342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5347 depcc="$CC" am_compiler_list=
5349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5350 printf %s "checking dependency style of $depcc... " >&6; }
5351 if test ${am_cv_CC_dependencies_compiler_type+y}
5353 printf %s "(cached) " >&6
5355 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5356 # We make a subdir and do the tests there. Otherwise we can end up
5357 # making bogus files that we don't know about and never remove. For
5358 # instance it was reported that on HP-UX the gcc test will end up
5359 # making a dummy file named 'D' -- because '-MD' means "put the output
5363 # Copy depcomp to subdir because otherwise we won't find it if we're
5364 # using a relative directory.
5365 cp "$am_depcomp" conftest.dir
5367 # We will build objects and dependencies in a subdirectory because
5368 # it helps to detect inapplicable dependency modes. For instance
5369 # both Tru64's cc and ICC support -MD to output dependencies as a
5370 # side effect of compilation, but ICC will put the dependencies in
5371 # the current directory while Tru64 will put them in the object
5375 am_cv_CC_dependencies_compiler_type=none
5376 if test "$am_compiler_list" = ""; then
5377 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5380 case " $depcc " in #(
5381 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5384 for depmode in $am_compiler_list; do
5385 # Setup a source with many dependencies, because some compilers
5386 # like to wrap large dependency lists on column 80 (with \), and
5387 # we should not choose a depcomp mode which is confused by this.
5389 # We need to recreate these files for each test, as the compiler may
5390 # overwrite some of them when testing with obscure command lines.
5391 # This happens at least with the AIX C compiler.
5393 for i in 1 2 3 4 5 6; do
5394 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5395 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5396 # Solaris 10 /bin/sh.
5397 echo '/* dummy */' > sub/conftst$i.h
5399 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5401 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5402 # mode. It turns out that the SunPro C++ compiler does not properly
5403 # handle '-M -o', and we need to detect this. Also, some Intel
5404 # versions had trouble with output in subdirs.
5405 am__obj=sub/conftest.${OBJEXT-o}
5406 am__minus_obj="-o $am__obj"
5409 # This depmode causes a compiler race in universal mode.
5410 test "$am__universal" = false || continue
5413 # After this tag, mechanisms are not by side-effect, so they'll
5414 # only be used when explicitly requested.
5415 if test "x$enable_dependency_tracking" = xyes; then
5421 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5422 # This compiler won't grok '-c -o', but also, the minuso test has
5423 # not run yet. These depmodes are late enough in the game, and
5424 # so weak that their functioning should not be impacted.
5425 am__obj=conftest.${OBJEXT-o}
5430 if depmode=$depmode \
5431 source=sub/conftest.c object=$am__obj \
5432 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5433 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5434 >/dev/null 2>conftest.err &&
5435 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5436 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5437 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5438 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5439 # icc doesn't choke on unknown options, it will just issue warnings
5440 # or remarks (even with -Werror). So we grep stderr for any message
5441 # that says an option was ignored or not supported.
5442 # When given -MP, icc 7.0 and 7.1 complain thusly:
5443 # icc: Command line warning: ignoring option '-M'; no argument required
5444 # The diagnosis changed in icc 8.0:
5445 # icc: Command line remark: option '-MP' not supported
5446 if (grep 'ignoring option' conftest.err ||
5447 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5448 am_cv_CC_dependencies_compiler_type=$depmode
5457 am_cv_CC_dependencies_compiler_type=none
5461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5462 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5463 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5466 test "x$enable_dependency_tracking" != xno \
5467 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5469 am__fastdepCC_FALSE='#'
5471 am__fastdepCC_TRUE='#'
5472 am__fastdepCC_FALSE=
5477 ac_header= ac_cache=
5478 for ac_item in $ac_header_c_list
5480 if test $ac_cache; then
5481 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5482 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5483 printf "%s\n" "#define $ac_item 1" >> confdefs.h
5485 ac_header= ac_cache=
5486 elif test $ac_header; then
5500 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5503 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5513 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5514 if test ${ac_cv_safe_to_define___extensions__+y}
5516 printf %s "(cached) " >&6
5518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5519 /* end confdefs.h. */
5521 # define __EXTENSIONS__ 1
5522 $ac_includes_default
5531 if ac_fn_c_try_compile "$LINENO"
5533 ac_cv_safe_to_define___extensions__=yes
5535 ac_cv_safe_to_define___extensions__=no
5537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5540 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5543 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5544 if test ${ac_cv_should_define__xopen_source+y}
5546 printf %s "(cached) " >&6
5548 ac_cv_should_define__xopen_source=no
5549 if test $ac_cv_header_wchar_h = yes
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5564 if ac_fn_c_try_compile "$LINENO"
5568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5569 /* end confdefs.h. */
5571 #define _XOPEN_SOURCE 500
5582 if ac_fn_c_try_compile "$LINENO"
5584 ac_cv_should_define__xopen_source=yes
5586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5592 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5594 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5596 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5598 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5600 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5602 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5604 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5606 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5608 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5610 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5612 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5614 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5616 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5618 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5620 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5622 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5624 if test $ac_cv_header_minix_config_h = yes
5627 printf "%s\n" "#define _MINIX 1" >>confdefs.h
5629 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5631 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5636 if test $ac_cv_safe_to_define___extensions__ = yes
5638 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5641 if test $ac_cv_should_define__xopen_source = yes
5643 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5650 printf %s "checking whether ln -s works... " >&6; }
5652 if test "$LN_S" = "ln -s"; then
5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5654 printf "%s\n" "yes" >&6; }
5656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5657 printf "%s\n" "no, using $LN_S" >&6; }
5661 ac_cpp='$CPP $CPPFLAGS'
5662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5665 if test -n "$ac_tool_prefix"; then
5666 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5667 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 printf %s "checking for $ac_word... " >&6; }
5670 if test ${ac_cv_prog_CC+y}
5672 printf %s "(cached) " >&6
5674 if test -n "$CC"; then
5675 ac_cv_prog_CC="$CC" # Let the user override the test.
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 case $as_dir in #(((
5684 *) as_dir=$as_dir/ ;;
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5699 if test -n "$CC"; then
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5701 printf "%s\n" "$CC" >&6; }
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 printf "%s\n" "no" >&6; }
5709 if test -z "$ac_cv_prog_CC"; then
5711 # Extract the first word of "gcc", so it can be a program name with args.
5712 set dummy gcc; ac_word=$2
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 printf %s "checking for $ac_word... " >&6; }
5715 if test ${ac_cv_prog_ac_ct_CC+y}
5717 printf %s "(cached) " >&6
5719 if test -n "$ac_ct_CC"; then
5720 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 case $as_dir in #(((
5729 *) as_dir=$as_dir/ ;;
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_ac_ct_CC="gcc"
5734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5744 if test -n "$ac_ct_CC"; then
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5746 printf "%s\n" "$ac_ct_CC" >&6; }
5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 printf "%s\n" "no" >&6; }
5752 if test "x$ac_ct_CC" = x; then
5755 case $cross_compiling:$ac_tool_warned in
5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5758 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5759 ac_tool_warned=yes ;;
5767 if test -z "$CC"; then
5768 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}cc; ac_word=$2
5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 printf %s "checking for $ac_word... " >&6; }
5773 if test ${ac_cv_prog_CC+y}
5775 printf %s "(cached) " >&6
5777 if test -n "$CC"; then
5778 ac_cv_prog_CC="$CC" # Let the user override the test.
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 case $as_dir in #(((
5787 *) as_dir=$as_dir/ ;;
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5791 ac_cv_prog_CC="${ac_tool_prefix}cc"
5792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5802 if test -n "$CC"; then
5803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5804 printf "%s\n" "$CC" >&6; }
5806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 printf "%s\n" "no" >&6; }
5813 if test -z "$CC"; then
5814 # Extract the first word of "cc", so it can be a program name with args.
5815 set dummy cc; ac_word=$2
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 printf %s "checking for $ac_word... " >&6; }
5818 if test ${ac_cv_prog_CC+y}
5820 printf %s "(cached) " >&6
5822 if test -n "$CC"; then
5823 ac_cv_prog_CC="$CC" # Let the user override the test.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 case $as_dir in #(((
5833 *) as_dir=$as_dir/ ;;
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5837 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5838 ac_prog_rejected=yes
5842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5849 if test $ac_prog_rejected = yes; then
5850 # We found a bogon in the path, so make sure we never use it.
5851 set dummy $ac_cv_prog_CC
5853 if test $# != 0; then
5854 # We chose a different compiler from the bogus one.
5855 # However, it has the same basename, so the bogon will be chosen
5856 # first if we set CC to just the basename; use the full file name.
5858 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5864 if test -n "$CC"; then
5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5866 printf "%s\n" "$CC" >&6; }
5868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 printf "%s\n" "no" >&6; }
5874 if test -z "$CC"; then
5875 if test -n "$ac_tool_prefix"; then
5876 for ac_prog in cl.exe
5878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5879 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 printf %s "checking for $ac_word... " >&6; }
5882 if test ${ac_cv_prog_CC+y}
5884 printf %s "(cached) " >&6
5886 if test -n "$CC"; then
5887 ac_cv_prog_CC="$CC" # Let the user override the test.
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 case $as_dir in #(((
5896 *) as_dir=$as_dir/ ;;
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5911 if test -n "$CC"; then
5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5913 printf "%s\n" "$CC" >&6; }
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 printf "%s\n" "no" >&6; }
5920 test -n "$CC" && break
5923 if test -z "$CC"; then
5925 for ac_prog in cl.exe
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy $ac_prog; ac_word=$2
5929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 printf %s "checking for $ac_word... " >&6; }
5931 if test ${ac_cv_prog_ac_ct_CC+y}
5933 printf %s "(cached) " >&6
5935 if test -n "$ac_ct_CC"; then
5936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 case $as_dir in #(((
5945 *) as_dir=$as_dir/ ;;
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_ac_ct_CC="$ac_prog"
5950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5960 if test -n "$ac_ct_CC"; then
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5962 printf "%s\n" "$ac_ct_CC" >&6; }
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 printf "%s\n" "no" >&6; }
5969 test -n "$ac_ct_CC" && break
5972 if test "x$ac_ct_CC" = x; then
5975 case $cross_compiling:$ac_tool_warned in
5977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5978 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5979 ac_tool_warned=yes ;;
5986 if test -z "$CC"; then
5987 if test -n "$ac_tool_prefix"; then
5988 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5989 set dummy ${ac_tool_prefix}clang; ac_word=$2
5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5991 printf %s "checking for $ac_word... " >&6; }
5992 if test ${ac_cv_prog_CC+y}
5994 printf %s "(cached) " >&6
5996 if test -n "$CC"; then
5997 ac_cv_prog_CC="$CC" # Let the user override the test.
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 case $as_dir in #(((
6006 *) as_dir=$as_dir/ ;;
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_CC="${ac_tool_prefix}clang"
6011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6021 if test -n "$CC"; then
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6023 printf "%s\n" "$CC" >&6; }
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 printf "%s\n" "no" >&6; }
6031 if test -z "$ac_cv_prog_CC"; then
6033 # Extract the first word of "clang", so it can be a program name with args.
6034 set dummy clang; ac_word=$2
6035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 printf %s "checking for $ac_word... " >&6; }
6037 if test ${ac_cv_prog_ac_ct_CC+y}
6039 printf %s "(cached) " >&6
6041 if test -n "$ac_ct_CC"; then
6042 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 case $as_dir in #(((
6051 *) as_dir=$as_dir/ ;;
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_ac_ct_CC="clang"
6056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6065 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6066 if test -n "$ac_ct_CC"; then
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6068 printf "%s\n" "$ac_ct_CC" >&6; }
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 printf "%s\n" "no" >&6; }
6074 if test "x$ac_ct_CC" = x; then
6077 case $cross_compiling:$ac_tool_warned in
6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6080 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6081 ac_tool_warned=yes ;;
6092 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6093 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6094 as_fn_error $? "no acceptable C compiler found
in \
$PATH
6095 See \
`config.log' for more details" "$LINENO" 5; }
6097 # Provide some information about the compiler.
6098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6101 for ac_option in --version -v -V -qversion -version; do
6102 { { ac_try="$ac_compiler $ac_option >&5"
6104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6105 *) ac_try_echo
=$ac_try;;
6107 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6108 printf "%s\n" "$ac_try_echo"; } >&5
6109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6111 if test -s conftest.err
; then
6113 ... rest of stderr output deleted ...
6114 10q' conftest.err
>conftest.er1
6115 cat conftest.er1
>&5
6117 rm -f conftest.er1 conftest.err
6118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6119 test $ac_status = 0; }
6122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
6123 printf %s
"checking whether the compiler supports GNU C... " >&6; }
6124 if test ${ac_cv_c_compiler_gnu+y}
6126 printf %s
"(cached) " >&6
6128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6142 if ac_fn_c_try_compile
"$LINENO"
6148 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6149 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6153 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
6154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6156 if test $ac_compiler_gnu = yes; then
6161 ac_test_CFLAGS
=${CFLAGS+y}
6162 ac_save_CFLAGS
=$CFLAGS
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6164 printf %s
"checking whether $CC accepts -g... " >&6; }
6165 if test ${ac_cv_prog_cc_g+y}
6167 printf %s
"(cached) " >&6
6169 ac_save_c_werror_flag
=$ac_c_werror_flag
6170 ac_c_werror_flag
=yes
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6184 if ac_fn_c_try_compile
"$LINENO"
6189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h. */
6200 if ac_fn_c_try_compile
"$LINENO"
6204 ac_c_werror_flag
=$ac_save_c_werror_flag
6206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6207 /* end confdefs.h. */
6217 if ac_fn_c_try_compile
"$LINENO"
6221 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6223 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6225 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6226 ac_c_werror_flag
=$ac_save_c_werror_flag
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6229 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
6230 if test $ac_test_CFLAGS; then
6231 CFLAGS
=$ac_save_CFLAGS
6232 elif test $ac_cv_prog_cc_g = yes; then
6233 if test "$GCC" = yes; then
6239 if test "$GCC" = yes; then
6246 if test x
$ac_prog_cc_stdc = xno
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
6249 printf %s
"checking for $CC option to enable C11 features... " >&6; }
6250 if test ${ac_cv_prog_cc_c11+y}
6252 printf %s
"(cached) " >&6
6254 ac_cv_prog_cc_c11
=no
6256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 $ac_c_conftest_c11_program
6260 for ac_arg
in '' -std=gnu11
6262 CC
="$ac_save_CC $ac_arg"
6263 if ac_fn_c_try_compile
"$LINENO"
6265 ac_cv_prog_cc_c11
=$ac_arg
6267 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6268 test "x$ac_cv_prog_cc_c11" != "xno" && break
6270 rm -f conftest.
$ac_ext
6274 if test "x$ac_cv_prog_cc_c11" = xno
6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6277 printf "%s\n" "unsupported" >&6; }
6279 if test "x$ac_cv_prog_cc_c11" = x
6281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6282 printf "%s\n" "none needed" >&6; }
6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
6285 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
6286 CC
="$CC $ac_cv_prog_cc_c11"
6288 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c11
6292 if test x
$ac_prog_cc_stdc = xno
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
6295 printf %s
"checking for $CC option to enable C99 features... " >&6; }
6296 if test ${ac_cv_prog_cc_c99+y}
6298 printf %s
"(cached) " >&6
6300 ac_cv_prog_cc_c99
=no
6302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6304 $ac_c_conftest_c99_program
6306 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -qlanglvl=extc1x
-qlanglvl=extc99
-AC99 -D_STDC_C99=
6308 CC
="$ac_save_CC $ac_arg"
6309 if ac_fn_c_try_compile
"$LINENO"
6311 ac_cv_prog_cc_c99
=$ac_arg
6313 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6314 test "x$ac_cv_prog_cc_c99" != "xno" && break
6316 rm -f conftest.
$ac_ext
6320 if test "x$ac_cv_prog_cc_c99" = xno
6322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6323 printf "%s\n" "unsupported" >&6; }
6325 if test "x$ac_cv_prog_cc_c99" = x
6327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6328 printf "%s\n" "none needed" >&6; }
6330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6331 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
6332 CC
="$CC $ac_cv_prog_cc_c99"
6334 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
6338 if test x
$ac_prog_cc_stdc = xno
6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
6341 printf %s
"checking for $CC option to enable C89 features... " >&6; }
6342 if test ${ac_cv_prog_cc_c89+y}
6344 printf %s
"(cached) " >&6
6346 ac_cv_prog_cc_c89
=no
6348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h. */
6350 $ac_c_conftest_c89_program
6352 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6354 CC
="$ac_save_CC $ac_arg"
6355 if ac_fn_c_try_compile
"$LINENO"
6357 ac_cv_prog_cc_c89
=$ac_arg
6359 rm -f core conftest.err conftest.
$ac_objext conftest.beam
6360 test "x$ac_cv_prog_cc_c89" != "xno" && break
6362 rm -f conftest.
$ac_ext
6366 if test "x$ac_cv_prog_cc_c89" = xno
6368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6369 printf "%s\n" "unsupported" >&6; }
6371 if test "x$ac_cv_prog_cc_c89" = x
6373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6374 printf "%s\n" "none needed" >&6; }
6376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6377 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
6378 CC
="$CC $ac_cv_prog_cc_c89"
6380 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
6386 ac_cpp
='$CPP $CPPFLAGS'
6387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6393 ac_cpp
='$CPP $CPPFLAGS'
6394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6398 printf %s
"checking whether $CC understands -c and -o together... " >&6; }
6399 if test ${am_cv_prog_cc_c_o+y}
6401 printf %s
"(cached) " >&6
6403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6414 # Make sure it works both with $CC and with simple cc.
6415 # Following AC_PROG_CC_C_O, we do the test twice because some
6416 # compilers refuse to overwrite an existing .o file with -o,
6417 # though they will create one.
6418 am_cv_prog_cc_c_o
=yes
6420 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6421 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); } \
6425 && test -f conftest2.
$ac_objext; then
6428 am_cv_prog_cc_c_o
=no
6432 rm -f core conftest
*
6435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6436 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
6437 if test "$am_cv_prog_cc_c_o" != yes; then
6438 # Losing compiler, so override with the script.
6439 # FIXME: It is wrong to rewrite CC.
6440 # But if we don't then we get into trouble of one sort or another.
6441 # A longer-term fix would be to have automake use am__CC in this case,
6442 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6443 CC
="$am_aux_dir/compile $CC"
6446 ac_cpp
='$CPP $CPPFLAGS'
6447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6452 depcc
="$CC" am_compiler_list
=
6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6455 printf %s
"checking dependency style of $depcc... " >&6; }
6456 if test ${am_cv_CC_dependencies_compiler_type+y}
6458 printf %s
"(cached) " >&6
6460 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6461 # We make a subdir and do the tests there. Otherwise we can end up
6462 # making bogus files that we don't know about and never remove. For
6463 # instance it was reported that on HP-UX the gcc test will end up
6464 # making a dummy file named 'D' -- because '-MD' means "put the output
6468 # Copy depcomp to subdir because otherwise we won't find it if we're
6469 # using a relative directory.
6470 cp "$am_depcomp" conftest.dir
6472 # We will build objects and dependencies in a subdirectory because
6473 # it helps to detect inapplicable dependency modes. For instance
6474 # both Tru64's cc and ICC support -MD to output dependencies as a
6475 # side effect of compilation, but ICC will put the dependencies in
6476 # the current directory while Tru64 will put them in the object
6480 am_cv_CC_dependencies_compiler_type
=none
6481 if test "$am_compiler_list" = ""; then
6482 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6485 case " $depcc " in #(
6486 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6489 for depmode
in $am_compiler_list; do
6490 # Setup a source with many dependencies, because some compilers
6491 # like to wrap large dependency lists on column 80 (with \), and
6492 # we should not choose a depcomp mode which is confused by this.
6494 # We need to recreate these files for each test, as the compiler may
6495 # overwrite some of them when testing with obscure command lines.
6496 # This happens at least with the AIX C compiler.
6498 for i
in 1 2 3 4 5 6; do
6499 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6500 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6501 # Solaris 10 /bin/sh.
6502 echo '/* dummy */' > sub
/conftst
$i.h
6504 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6506 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6507 # mode. It turns out that the SunPro C++ compiler does not properly
6508 # handle '-M -o', and we need to detect this. Also, some Intel
6509 # versions had trouble with output in subdirs.
6510 am__obj
=sub
/conftest.
${OBJEXT-o}
6511 am__minus_obj
="-o $am__obj"
6514 # This depmode causes a compiler race in universal mode.
6515 test "$am__universal" = false ||
continue
6518 # After this tag, mechanisms are not by side-effect, so they'll
6519 # only be used when explicitly requested.
6520 if test "x$enable_dependency_tracking" = xyes
; then
6526 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6527 # This compiler won't grok '-c -o', but also, the minuso test has
6528 # not run yet. These depmodes are late enough in the game, and
6529 # so weak that their functioning should not be impacted.
6530 am__obj
=conftest.
${OBJEXT-o}
6535 if depmode
=$depmode \
6536 source=sub
/conftest.c object
=$am__obj \
6537 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6538 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6539 >/dev
/null
2>conftest.err
&&
6540 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6541 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6542 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6543 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6544 # icc doesn't choke on unknown options, it will just issue warnings
6545 # or remarks (even with -Werror). So we grep stderr for any message
6546 # that says an option was ignored or not supported.
6547 # When given -MP, icc 7.0 and 7.1 complain thusly:
6548 # icc: Command line warning: ignoring option '-M'; no argument required
6549 # The diagnosis changed in icc 8.0:
6550 # icc: Command line remark: option '-MP' not supported
6551 if (grep 'ignoring option' conftest.err ||
6552 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6553 am_cv_CC_dependencies_compiler_type
=$depmode
6562 am_cv_CC_dependencies_compiler_type
=none
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6567 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
6568 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6571 test "x$enable_dependency_tracking" != xno \
6572 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6574 am__fastdepCC_FALSE
='#'
6576 am__fastdepCC_TRUE
='#'
6577 am__fastdepCC_FALSE
=
6588 ac_cpp
='$CXXCPP $CPPFLAGS'
6589 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6592 if test -z "$CXX"; then
6593 if test -n "$CCC"; then
6596 if test -n "$ac_tool_prefix"; then
6597 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC clang
++
6599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6600 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 printf %s
"checking for $ac_word... " >&6; }
6603 if test ${ac_cv_prog_CXX+y}
6605 printf %s
"(cached) " >&6
6607 if test -n "$CXX"; then
6608 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6614 case $as_dir in #(((
6617 *) as_dir
=$as_dir/ ;;
6619 for ac_exec_ext
in '' $ac_executable_extensions; do
6620 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6632 if test -n "$CXX"; then
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6634 printf "%s\n" "$CXX" >&6; }
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 printf "%s\n" "no" >&6; }
6641 test -n "$CXX" && break
6644 if test -z "$CXX"; then
6646 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC clang
++
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy
$ac_prog; ac_word
=$2
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 printf %s
"checking for $ac_word... " >&6; }
6652 if test ${ac_cv_prog_ac_ct_CXX+y}
6654 printf %s
"(cached) " >&6
6656 if test -n "$ac_ct_CXX"; then
6657 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6663 case $as_dir in #(((
6666 *) as_dir
=$as_dir/ ;;
6668 for ac_exec_ext
in '' $ac_executable_extensions; do
6669 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6680 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6681 if test -n "$ac_ct_CXX"; then
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6683 printf "%s\n" "$ac_ct_CXX" >&6; }
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 printf "%s\n" "no" >&6; }
6690 test -n "$ac_ct_CXX" && break
6693 if test "x$ac_ct_CXX" = x
; then
6696 case $cross_compiling:$ac_tool_warned in
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned
=yes ;;
6708 # Provide some information about the compiler.
6709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6712 for ac_option
in --version -v -V -qversion; do
6713 { { ac_try
="$ac_compiler $ac_option >&5"
6715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6716 *) ac_try_echo=$ac_try;;
6718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6719 printf "%s\n" "$ac_try_echo"; } >&5
6720 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6722 if test -s conftest.err; then
6724 ... rest of stderr output deleted ...
6725 10q' conftest.err >conftest.er1
6726 cat conftest.er1 >&5
6728 rm -f conftest.er1 conftest.err
6729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6730 test $ac_status = 0; }
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
6734 printf %s "checking whether the compiler supports GNU C++... " >&6; }
6735 if test ${ac_cv_cxx_compiler_gnu+y}
6737 printf %s "(cached) " >&6
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6753 if ac_fn_cxx_try_compile "$LINENO"
6759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6760 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6764 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6767 if test $ac_compiler_gnu = yes; then
6772 ac_test_CXXFLAGS=${CXXFLAGS+y}
6773 ac_save_CXXFLAGS=$CXXFLAGS
6774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6775 printf %s "checking whether $CXX accepts -g... " >&6; }
6776 if test ${ac_cv_prog_cxx_g+y}
6778 printf %s "(cached) " >&6
6780 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6781 ac_cxx_werror_flag=yes
6784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6785 /* end confdefs.h. */
6795 if ac_fn_cxx_try_compile "$LINENO"
6797 ac_cv_prog_cxx_g=yes
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6811 if ac_fn_cxx_try_compile "$LINENO"
6815 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6818 /* end confdefs.h. */
6828 if ac_fn_cxx_try_compile "$LINENO"
6830 ac_cv_prog_cxx_g=yes
6832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6837 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6840 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6841 if test $ac_test_CXXFLAGS; then
6842 CXXFLAGS=$ac_save_CXXFLAGS
6843 elif test $ac_cv_prog_cxx_g = yes; then
6844 if test "$GXX" = yes; then
6850 if test "$GXX" = yes; then
6856 ac_prog_cxx_stdcxx=no
6857 if test x$ac_prog_cxx_stdcxx = xno
6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6860 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6861 if test ${ac_cv_prog_cxx_cxx11+y}
6863 printf %s "(cached) " >&6
6865 ac_cv_prog_cxx_cxx11=no
6867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6868 /* end confdefs.h. */
6869 $ac_cxx_conftest_cxx11_program
6871 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6873 CXX="$ac_save_CXX $ac_arg"
6874 if ac_fn_cxx_try_compile "$LINENO"
6876 ac_cv_prog_cxx_cxx11=$ac_arg
6878 rm -f core conftest.err conftest.$ac_objext conftest.beam
6879 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6881 rm -f conftest.$ac_ext
6885 if test "x$ac_cv_prog_cxx_cxx11" = xno
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6888 printf "%s\n" "unsupported" >&6; }
6890 if test "x$ac_cv_prog_cxx_cxx11" = x
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6893 printf "%s\n" "none needed" >&6; }
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6896 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6897 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6899 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6900 ac_prog_cxx_stdcxx=cxx11
6903 if test x$ac_prog_cxx_stdcxx = xno
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6906 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6907 if test ${ac_cv_prog_cxx_cxx98+y}
6909 printf %s "(cached) " >&6
6911 ac_cv_prog_cxx_cxx98=no
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6915 $ac_cxx_conftest_cxx98_program
6917 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6919 CXX="$ac_save_CXX $ac_arg"
6920 if ac_fn_cxx_try_compile "$LINENO"
6922 ac_cv_prog_cxx_cxx98=$ac_arg
6924 rm -f core conftest.err conftest.$ac_objext conftest.beam
6925 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6927 rm -f conftest.$ac_ext
6931 if test "x$ac_cv_prog_cxx_cxx98" = xno
6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6934 printf "%s\n" "unsupported" >&6; }
6936 if test "x$ac_cv_prog_cxx_cxx98" = x
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6939 printf "%s\n" "none needed" >&6; }
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6942 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6943 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6945 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6946 ac_prog_cxx_stdcxx=cxx98
6951 ac_cpp='$CPP $CPPFLAGS'
6952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6956 depcc="$CXX" am_compiler_list=
6958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6959 printf %s "checking dependency style of $depcc... " >&6; }
6960 if test ${am_cv_CXX_dependencies_compiler_type+y}
6962 printf %s "(cached) " >&6
6964 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6965 # We make a subdir and do the tests there. Otherwise we can end up
6966 # making bogus files that we don't know about and never remove. For
6967 # instance it was reported that on HP-UX the gcc test will end up
6968 # making a dummy file named 'D' -- because '-MD' means "put the output
6972 # Copy depcomp to subdir because otherwise we won't find it if we're
6973 # using a relative directory.
6974 cp "$am_depcomp" conftest.dir
6976 # We will build objects and dependencies in a subdirectory because
6977 # it helps to detect inapplicable dependency modes. For instance
6978 # both Tru64's cc and ICC support -MD to output dependencies as a
6979 # side effect of compilation, but ICC will put the dependencies in
6980 # the current directory while Tru64 will put them in the object
6984 am_cv_CXX_dependencies_compiler_type=none
6985 if test "$am_compiler_list" = ""; then
6986 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6989 case " $depcc " in #(
6990 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6993 for depmode in $am_compiler_list; do
6994 # Setup a source with many dependencies, because some compilers
6995 # like to wrap large dependency lists on column 80 (with \), and
6996 # we should not choose a depcomp mode which is confused by this.
6998 # We need to recreate these files for each test, as the compiler may
6999 # overwrite some of them when testing with obscure command lines.
7000 # This happens at least with the AIX C compiler.
7002 for i in 1 2 3 4 5 6; do
7003 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7004 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7005 # Solaris 10 /bin/sh.
7006 echo '/* dummy */' > sub/conftst$i.h
7008 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7010 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7011 # mode. It turns out that the SunPro C++ compiler does not properly
7012 # handle '-M -o', and we need to detect this. Also, some Intel
7013 # versions had trouble with output in subdirs.
7014 am__obj=sub/conftest.${OBJEXT-o}
7015 am__minus_obj="-o $am__obj"
7018 # This depmode causes a compiler race in universal mode.
7019 test "$am__universal" = false || continue
7022 # After this tag, mechanisms are not by side-effect, so they'll
7023 # only be used when explicitly requested.
7024 if test "x$enable_dependency_tracking" = xyes; then
7030 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7031 # This compiler won't grok '-c -o', but also, the minuso test has
7032 # not run yet. These depmodes are late enough in the game, and
7033 # so weak that their functioning should not be impacted.
7034 am__obj=conftest.${OBJEXT-o}
7039 if depmode=$depmode \
7040 source=sub/conftest.c object=$am__obj \
7041 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7042 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7043 >/dev/null 2>conftest.err &&
7044 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7045 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7046 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7047 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7048 # icc doesn't choke on unknown options, it will just issue warnings
7049 # or remarks (even with -Werror). So we grep stderr for any message
7050 # that says an option was ignored or not supported.
7051 # When given -MP, icc 7.0 and 7.1 complain thusly:
7052 # icc: Command line warning: ignoring option '-M'; no argument required
7053 # The diagnosis changed in icc 8.0:
7054 # icc: Command line remark: option '-MP' not supported
7055 if (grep 'ignoring option' conftest.err ||
7056 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7057 am_cv_CXX_dependencies_compiler_type=$depmode
7066 am_cv_CXX_dependencies_compiler_type=none
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7071 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
7072 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7075 test "x$enable_dependency_tracking" != xno \
7076 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7077 am__fastdepCXX_TRUE=
7078 am__fastdepCXX_FALSE='#'
7080 am__fastdepCXX_TRUE='#'
7081 am__fastdepCXX_FALSE=
7086 ac_cpp='$CPP $CPPFLAGS'
7087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7091 printf %s "checking how to run the C preprocessor... " >&6; }
7092 # On Suns, sometimes $CPP names a directory.
7093 if test -n "$CPP" && test -d "$CPP"; then
7096 if test -z "$CPP"; then
7097 if test ${ac_cv_prog_CPP+y}
7099 printf %s "(cached) " >&6
7101 # Double quotes because $CC needs to be expanded
7102 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
7105 for ac_c_preproc_warn_flag in '' yes
7107 # Use a header file that comes with gcc, so configuring glibc
7108 # with a fresh cross-compiler works.
7109 # On the NeXT, cc -E runs the code through the compiler's parser,
7110 # not just through cpp. "Syntax error" is here to catch this case.
7111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */
7116 if ac_fn_c_try_cpp "$LINENO"
7120 # Broken: fails on valid input.
7123 rm -f conftest.err conftest.i conftest.$ac_ext
7125 # OK, works on sane cases. Now check whether nonexistent headers
7126 # can be detected and how.
7127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7128 /* end confdefs.h. */
7129 #include <ac_nonexistent.h>
7131 if ac_fn_c_try_cpp "$LINENO"
7133 # Broken: success on invalid input.
7136 # Passes both tests.
7140 rm -f conftest.err conftest.i conftest.$ac_ext
7143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7144 rm -f conftest.i conftest.err conftest.
$ac_ext
7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7159 printf "%s\n" "$CPP" >&6; }
7161 for ac_c_preproc_warn_flag
in '' yes
7163 # Use a header file that comes with gcc, so configuring glibc
7164 # with a fresh cross-compiler works.
7165 # On the NeXT, cc -E runs the code through the compiler's parser,
7166 # not just through cpp. "Syntax error" is here to catch this case.
7167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h. */
7172 if ac_fn_c_try_cpp
"$LINENO"
7176 # Broken: fails on valid input.
7179 rm -f conftest.err conftest.i conftest.
$ac_ext
7181 # OK, works on sane cases. Now check whether nonexistent headers
7182 # can be detected and how.
7183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7185 #include <ac_nonexistent.h>
7187 if ac_fn_c_try_cpp
"$LINENO"
7189 # Broken: success on invalid input.
7192 # Passes both tests.
7196 rm -f conftest.err conftest.i conftest.
$ac_ext
7199 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7200 rm -f conftest.i conftest.err conftest.
$ac_ext
7205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7206 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7207 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7208 See \`config.log' for more details" "$LINENO" 5; }
7212 ac_cpp
='$CPP $CPPFLAGS'
7213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7218 if test -n "$ac_tool_prefix"; then
7219 for ac_prog
in ar lib
"link -lib"
7221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7222 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 printf %s
"checking for $ac_word... " >&6; }
7225 if test ${ac_cv_prog_AR+y}
7227 printf %s
"(cached) " >&6
7229 if test -n "$AR"; then
7230 ac_cv_prog_AR
="$AR" # Let the user override the test.
7232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7236 case $as_dir in #(((
7239 *) as_dir
=$as_dir/ ;;
7241 for ac_exec_ext
in '' $ac_executable_extensions; do
7242 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7243 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7254 if test -n "$AR"; then
7255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7256 printf "%s\n" "$AR" >&6; }
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 printf "%s\n" "no" >&6; }
7263 test -n "$AR" && break
7266 if test -z "$AR"; then
7268 for ac_prog
in ar lib
"link -lib"
7270 # Extract the first word of "$ac_prog", so it can be a program name with args.
7271 set dummy
$ac_prog; ac_word
=$2
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 printf %s
"checking for $ac_word... " >&6; }
7274 if test ${ac_cv_prog_ac_ct_AR+y}
7276 printf %s
"(cached) " >&6
7278 if test -n "$ac_ct_AR"; then
7279 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7285 case $as_dir in #(((
7288 *) as_dir
=$as_dir/ ;;
7290 for ac_exec_ext
in '' $ac_executable_extensions; do
7291 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7292 ac_cv_prog_ac_ct_AR
="$ac_prog"
7293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7302 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7303 if test -n "$ac_ct_AR"; then
7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7305 printf "%s\n" "$ac_ct_AR" >&6; }
7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 printf "%s\n" "no" >&6; }
7312 test -n "$ac_ct_AR" && break
7315 if test "x$ac_ct_AR" = x
; then
7318 case $cross_compiling:$ac_tool_warned in
7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7321 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7322 ac_tool_warned
=yes ;;
7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
7331 printf %s
"checking the archiver ($AR) interface... " >&6; }
7332 if test ${am_cv_ar_interface+y}
7334 printf %s
"(cached) " >&6
7337 ac_cpp
='$CPP $CPPFLAGS'
7338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7342 am_cv_ar_interface
=ar
7343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7345 int some_variable = 0;
7347 if ac_fn_c_try_compile
"$LINENO"
7349 am_ar_try
='$AR cru libconftest.a conftest.$ac_objext >&5'
7350 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
7351 (eval $am_ar_try) 2>&5
7353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7354 test $ac_status = 0; }
7355 if test "$ac_status" -eq 0; then
7356 am_cv_ar_interface
=ar
7358 am_ar_try
='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
7359 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
7360 (eval $am_ar_try) 2>&5
7362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7363 test $ac_status = 0; }
7364 if test "$ac_status" -eq 0; then
7365 am_cv_ar_interface
=lib
7367 am_cv_ar_interface
=unknown
7370 rm -f conftest.lib libconftest.a
7373 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7375 ac_cpp
='$CPP $CPPFLAGS'
7376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
7382 printf "%s\n" "$am_cv_ar_interface" >&6; }
7384 case $am_cv_ar_interface in
7388 # Microsoft lib, so override with the ar-lib wrapper script.
7389 # FIXME: It is wrong to rewrite AR.
7390 # But if we don't then we get into trouble of one sort or another.
7391 # A longer-term fix would be to have automake use am__AR in this case,
7392 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
7394 AR
="$am_aux_dir/ar-lib $AR"
7397 as_fn_error $?
"could not determine $AR interface" "$LINENO" 5
7402 if test -n "$ac_tool_prefix"; then
7403 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7404 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7406 printf %s
"checking for $ac_word... " >&6; }
7407 if test ${ac_cv_prog_RANLIB+y}
7409 printf %s
"(cached) " >&6
7411 if test -n "$RANLIB"; then
7412 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7418 case $as_dir in #(((
7421 *) as_dir
=$as_dir/ ;;
7423 for ac_exec_ext
in '' $ac_executable_extensions; do
7424 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7435 RANLIB
=$ac_cv_prog_RANLIB
7436 if test -n "$RANLIB"; then
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7438 printf "%s\n" "$RANLIB" >&6; }
7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 printf "%s\n" "no" >&6; }
7446 if test -z "$ac_cv_prog_RANLIB"; then
7447 ac_ct_RANLIB
=$RANLIB
7448 # Extract the first word of "ranlib", so it can be a program name with args.
7449 set dummy ranlib
; ac_word
=$2
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 printf %s
"checking for $ac_word... " >&6; }
7452 if test ${ac_cv_prog_ac_ct_RANLIB+y}
7454 printf %s
"(cached) " >&6
7456 if test -n "$ac_ct_RANLIB"; then
7457 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7463 case $as_dir in #(((
7466 *) as_dir
=$as_dir/ ;;
7468 for ac_exec_ext
in '' $ac_executable_extensions; do
7469 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7470 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7480 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7481 if test -n "$ac_ct_RANLIB"; then
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7483 printf "%s\n" "$ac_ct_RANLIB" >&6; }
7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 printf "%s\n" "no" >&6; }
7489 if test "x$ac_ct_RANLIB" = x
; then
7492 case $cross_compiling:$ac_tool_warned in
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned
=yes ;;
7498 RANLIB
=$ac_ct_RANLIB
7501 RANLIB
="$ac_cv_prog_RANLIB"
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7508 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
7510 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7511 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
7513 printf %s
"(cached) " >&6
7515 cat >conftest.
make <<\_ACEOF
7518 @
echo '@@@%%%=$(MAKE)=@@@%%%'
7520 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7521 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7523 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
7525 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
7529 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7531 printf "%s\n" "yes" >&6; }
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7535 printf "%s\n" "no" >&6; }
7536 SET_MAKE
="MAKE=${MAKE-make}"
7541 # Check whether --enable-largefile was given.
7542 if test ${enable_largefile+y}
7544 enableval
=$enable_largefile;
7547 if test "$enable_largefile" != no
; then
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7550 printf %s
"checking for special C compiler options needed for large files... " >&6; }
7551 if test ${ac_cv_sys_largefile_CC+y}
7553 printf %s
"(cached) " >&6
7555 ac_cv_sys_largefile_CC
=no
7556 if test "$GCC" != yes; then
7559 # IRIX 6.2 and later do not support large files by default,
7560 # so use the C compiler's -n32 option if that helps.
7561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7563 #include <sys/types.h>
7564 /* Check that off_t can represent 2**63 - 1 correctly.
7565 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7566 since some C++ compilers masquerading as C compilers
7567 incorrectly reject 9223372036854775807. */
7568 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7569 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7570 && LARGE_OFF_T % 2147483647 == 1)
7580 if ac_fn_c_try_compile
"$LINENO"
7584 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7586 if ac_fn_c_try_compile
"$LINENO"
7588 ac_cv_sys_largefile_CC
=' -n32'; break
7590 rm -f core conftest.err conftest.
$ac_objext conftest.beam
7594 rm -f conftest.
$ac_ext
7597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7598 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7599 if test "$ac_cv_sys_largefile_CC" != no
; then
7600 CC
=$CC$ac_cv_sys_largefile_CC
7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7604 printf %s
"checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7605 if test ${ac_cv_sys_file_offset_bits+y}
7607 printf %s
"(cached) " >&6
7610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h. */
7612 #include <sys/types.h>
7613 /* Check that off_t can represent 2**63 - 1 correctly.
7614 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7615 since some C++ compilers masquerading as C compilers
7616 incorrectly reject 9223372036854775807. */
7617 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7618 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7619 && LARGE_OFF_T % 2147483647 == 1)
7629 if ac_fn_c_try_compile
"$LINENO"
7631 ac_cv_sys_file_offset_bits
=no
; break
7633 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7635 /* end confdefs.h. */
7636 #define _FILE_OFFSET_BITS 64
7637 #include <sys/types.h>
7638 /* Check that off_t can represent 2**63 - 1 correctly.
7639 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7640 since some C++ compilers masquerading as C compilers
7641 incorrectly reject 9223372036854775807. */
7642 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7643 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7644 && LARGE_OFF_T % 2147483647 == 1)
7654 if ac_fn_c_try_compile
"$LINENO"
7656 ac_cv_sys_file_offset_bits
=64; break
7658 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7659 ac_cv_sys_file_offset_bits
=unknown
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7664 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7665 case $ac_cv_sys_file_offset_bits in #(
7668 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7672 if test $ac_cv_sys_file_offset_bits = unknown
; then
7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7674 printf %s
"checking for _LARGE_FILES value needed for large files... " >&6; }
7675 if test ${ac_cv_sys_large_files+y}
7677 printf %s
"(cached) " >&6
7680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7681 /* end confdefs.h. */
7682 #include <sys/types.h>
7683 /* Check that off_t can represent 2**63 - 1 correctly.
7684 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7685 since some C++ compilers masquerading as C compilers
7686 incorrectly reject 9223372036854775807. */
7687 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7688 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7689 && LARGE_OFF_T % 2147483647 == 1)
7699 if ac_fn_c_try_compile
"$LINENO"
7701 ac_cv_sys_large_files
=no
; break
7703 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7705 /* end confdefs.h. */
7706 #define _LARGE_FILES 1
7707 #include <sys/types.h>
7708 /* Check that off_t can represent 2**63 - 1 correctly.
7709 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7710 since some C++ compilers masquerading as C compilers
7711 incorrectly reject 9223372036854775807. */
7712 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7713 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7714 && LARGE_OFF_T % 2147483647 == 1)
7724 if ac_fn_c_try_compile
"$LINENO"
7726 ac_cv_sys_large_files
=1; break
7728 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7729 ac_cv_sys_large_files
=unknown
7733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7734 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7735 case $ac_cv_sys_large_files in #(
7738 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7745 ac_fn_c_check_func
"$LINENO" "ppoll" "ac_cv_func_ppoll"
7746 if test "x$ac_cv_func_ppoll" = xyes
7748 printf "%s\n" "#define HAVE_PPOLL 1" >>confdefs.h
7752 ac_fn_c_check_func
"$LINENO" "openat" "ac_cv_func_openat"
7753 if test "x$ac_cv_func_openat" = xyes
7755 printf "%s\n" "#define HAVE_OPENAT 1" >>confdefs.h
7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7760 printf %s
"checking for a sed that does not truncate output... " >&6; }
7761 if test ${ac_cv_path_SED+y}
7763 printf %s
"(cached) " >&6
7765 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
7766 for ac_i
in 1 2 3 4 5 6 7; do
7767 ac_script
="$ac_script$as_nl$ac_script"
7769 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
7770 { ac_script
=; unset ac_script
;}
7771 if test -z "$SED"; then
7772 ac_path_SED_found
=false
7773 # Loop through the user's path and test for each of PROGNAME-LIST
7774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7778 case $as_dir in #(((
7781 *) as_dir
=$as_dir/ ;;
7783 for ac_prog
in sed gsed
7785 for ac_exec_ext
in '' $ac_executable_extensions; do
7786 ac_path_SED
="$as_dir$ac_prog$ac_exec_ext"
7787 as_fn_executable_p
"$ac_path_SED" ||
continue
7788 # Check for GNU ac_path_SED and select it if it is found.
7789 # Check for GNU $ac_path_SED
7790 case `"$ac_path_SED" --version 2>&1` in
7792 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7795 printf %s
0123456789 >"conftest.in"
7798 cat "conftest.in" "conftest.in" >"conftest.tmp"
7799 mv "conftest.tmp" "conftest.in"
7800 cp "conftest.in" "conftest.nl"
7801 printf "%s\n" '' >> "conftest.nl"
7802 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7803 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7804 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7805 if test $ac_count -gt ${ac_path_SED_max-0}; then
7806 # Best one so far, save it but keep looking for a better one
7807 ac_cv_path_SED
="$ac_path_SED"
7808 ac_path_SED_max
=$ac_count
7810 # 10*(2^10) chars as input seems more than enough
7811 test $ac_count -gt 10 && break
7813 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7816 $ac_path_SED_found && break 3
7821 if test -z "$ac_cv_path_SED"; then
7822 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7830 printf "%s\n" "$ac_cv_path_SED" >&6; }
7831 SED
="$ac_cv_path_SED"
7835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7836 printf %s
"checking whether NLS is requested... " >&6; }
7837 # Check whether --enable-nls was given.
7838 if test ${enable_nls+y}
7840 enableval
=$enable_nls; USE_NLS
=$enableval
7845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7846 printf "%s\n" "$USE_NLS" >&6; }
7851 GETTEXT_MACRO_VERSION
=0.19
7856 # Prepare PATH_SEPARATOR.
7857 # The user is always right.
7858 if test "${PATH_SEPARATOR+set}" != set; then
7859 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7860 # contains only /bin. Note that ksh looks also at the FPATH variable,
7861 # so we have to set that as well for the test.
7863 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7864 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7865 || PATH_SEPARATOR
=';'
7869 # Find out how to test for executable files. Don't use a zero-byte file,
7870 # as systems may use methods other than mode bits to determine executability.
7871 cat >conf$$.
file <<_ASEOF
7875 chmod +x conf$$.
file
7876 if test -x conf$$.
file >/dev
/null
2>&1; then
7877 ac_executable_p
="test -x"
7879 ac_executable_p
="test -f"
7883 # Extract the first word of "msgfmt", so it can be a program name with args.
7884 set dummy msgfmt
; ac_word
=$2
7885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 printf %s
"checking for $ac_word... " >&6; }
7887 if test ${ac_cv_path_MSGFMT+y}
7889 printf %s
"(cached) " >&6
7893 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7896 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7897 for ac_dir
in $PATH; do
7899 test -z "$ac_dir" && ac_dir
=.
7900 for ac_exec_ext
in '' $ac_executable_extensions; do
7901 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7902 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7903 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
7904 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7905 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7912 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7916 MSGFMT
="$ac_cv_path_MSGFMT"
7917 if test "$MSGFMT" != ":"; then
7918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7919 printf "%s\n" "$MSGFMT" >&6; }
7921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922 printf "%s\n" "no" >&6; }
7925 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7926 set dummy gmsgfmt
; ac_word
=$2
7927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 printf %s
"checking for $ac_word... " >&6; }
7929 if test ${ac_cv_path_GMSGFMT+y}
7931 printf %s
"(cached) " >&6
7935 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7942 case $as_dir in #(((
7945 *) as_dir
=$as_dir/ ;;
7947 for ac_exec_ext
in '' $ac_executable_extensions; do
7948 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
7949 ac_cv_path_GMSGFMT
="$as_dir$ac_word$ac_exec_ext"
7950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7957 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7961 GMSGFMT
=$ac_cv_path_GMSGFMT
7962 if test -n "$GMSGFMT"; then
7963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7964 printf "%s\n" "$GMSGFMT" >&6; }
7966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 printf "%s\n" "no" >&6; }
7972 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7973 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
7974 *) MSGFMT_015
=$MSGFMT ;;
7977 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7978 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
7979 *) GMSGFMT_015
=$GMSGFMT ;;
7984 # Prepare PATH_SEPARATOR.
7985 # The user is always right.
7986 if test "${PATH_SEPARATOR+set}" != set; then
7987 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7988 # contains only /bin. Note that ksh looks also at the FPATH variable,
7989 # so we have to set that as well for the test.
7991 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7992 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7993 || PATH_SEPARATOR
=';'
7997 # Find out how to test for executable files. Don't use a zero-byte file,
7998 # as systems may use methods other than mode bits to determine executability.
7999 cat >conf$$.
file <<_ASEOF
8003 chmod +x conf$$.
file
8004 if test -x conf$$.
file >/dev
/null
2>&1; then
8005 ac_executable_p
="test -x"
8007 ac_executable_p
="test -f"
8011 # Extract the first word of "xgettext", so it can be a program name with args.
8012 set dummy xgettext
; ac_word
=$2
8013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 printf %s
"checking for $ac_word... " >&6; }
8015 if test ${ac_cv_path_XGETTEXT+y}
8017 printf %s
"(cached) " >&6
8021 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8024 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
8025 for ac_dir
in $PATH; do
8027 test -z "$ac_dir" && ac_dir
=.
8028 for ac_exec_ext
in '' $ac_executable_extensions; do
8029 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
8030 echo "$as_me: trying $ac_dir/$ac_word..." >&5
8031 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
8032 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
8033 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
8040 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8044 XGETTEXT
="$ac_cv_path_XGETTEXT"
8045 if test "$XGETTEXT" != ":"; then
8046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8047 printf "%s\n" "$XGETTEXT" >&6; }
8049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8050 printf "%s\n" "no" >&6; }
8055 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
8056 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
8057 *) XGETTEXT_015
=$XGETTEXT ;;
8062 # Prepare PATH_SEPARATOR.
8063 # The user is always right.
8064 if test "${PATH_SEPARATOR+set}" != set; then
8065 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
8066 # contains only /bin. Note that ksh looks also at the FPATH variable,
8067 # so we have to set that as well for the test.
8069 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
8070 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
8071 || PATH_SEPARATOR
=';'
8075 # Find out how to test for executable files. Don't use a zero-byte file,
8076 # as systems may use methods other than mode bits to determine executability.
8077 cat >conf$$.
file <<_ASEOF
8081 chmod +x conf$$.
file
8082 if test -x conf$$.
file >/dev
/null
2>&1; then
8083 ac_executable_p
="test -x"
8085 ac_executable_p
="test -f"
8089 # Extract the first word of "msgmerge", so it can be a program name with args.
8090 set dummy msgmerge
; ac_word
=$2
8091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8092 printf %s
"checking for $ac_word... " >&6; }
8093 if test ${ac_cv_path_MSGMERGE+y}
8095 printf %s
"(cached) " >&6
8099 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
8102 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
8103 for ac_dir
in $PATH; do
8105 test -z "$ac_dir" && ac_dir
=.
8106 for ac_exec_ext
in '' $ac_executable_extensions; do
8107 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
8108 echo "$as_me: trying $ac_dir/$ac_word..." >&5
8109 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
8110 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
8117 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
8121 MSGMERGE
="$ac_cv_path_MSGMERGE"
8122 if test "$MSGMERGE" != ":"; then
8123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
8124 printf "%s\n" "$MSGMERGE" >&6; }
8126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8127 printf "%s\n" "no" >&6; }
8131 test -n "$localedir" || localedir
='${datadir}/locale'
8134 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
8137 ac_config_commands
="$ac_config_commands po-directories"
8141 if test "X$prefix" = "XNONE"; then
8142 acl_final_prefix
="$ac_default_prefix"
8144 acl_final_prefix
="$prefix"
8146 if test "X$exec_prefix" = "XNONE"; then
8147 acl_final_exec_prefix
='${prefix}'
8149 acl_final_exec_prefix
="$exec_prefix"
8151 acl_save_prefix
="$prefix"
8152 prefix
="$acl_final_prefix"
8153 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8154 prefix
="$acl_save_prefix"
8158 # Check whether --with-gnu-ld was given.
8159 if test ${with_gnu_ld+y}
8161 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
8166 # Prepare PATH_SEPARATOR.
8167 # The user is always right.
8168 if test "${PATH_SEPARATOR+set}" != set; then
8169 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
8170 # contains only /bin. Note that ksh looks also at the FPATH variable,
8171 # so we have to set that as well for the test.
8173 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
8174 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
8175 || PATH_SEPARATOR
=';'
8180 if test "$GCC" = yes; then
8181 # Check if gcc -print-prog-name=ld gives a path.
8182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8183 printf %s
"checking for ld used by $CC... " >&6; }
8186 # gcc leaves a trailing carriage return which upsets mingw
8187 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8189 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8192 # Accept absolute paths.
8194 re_direlt
='/[^/][^/]*/\.\./'
8195 # Canonicalize the pathname of ld
8196 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
8197 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
8198 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8200 test -z "$LD" && LD
="$ac_prog"
8203 # If it fails, then pretend we aren't using GCC.
8207 # If it is relative, then search for the first ld in PATH.
8211 elif test "$with_gnu_ld" = yes; then
8212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8213 printf %s
"checking for GNU ld... " >&6; }
8215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8216 printf %s
"checking for non-GNU ld... " >&6; }
8218 if test ${acl_cv_path_LD+y}
8220 printf %s
"(cached) " >&6
8222 if test -z "$LD"; then
8223 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8224 for ac_dir
in $PATH; do
8226 test -z "$ac_dir" && ac_dir
=.
8227 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8228 acl_cv_path_LD
="$ac_dir/$ac_prog"
8229 # Check to see if the program is GNU ld. I'd rather use --version,
8230 # but apparently some variants of GNU ld only accept -v.
8231 # Break only if it was the GNU/non-GNU ld that we prefer.
8232 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
8233 *GNU
* |
*'with BFD'*)
8234 test "$with_gnu_ld" != no
&& break
8237 test "$with_gnu_ld" != yes && break
8244 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8248 LD
="$acl_cv_path_LD"
8249 if test -n "$LD"; then
8250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8251 printf "%s\n" "$LD" >&6; }
8253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 printf "%s\n" "no" >&6; }
8256 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
8257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8258 printf %s
"checking if the linker ($LD) is GNU ld... " >&6; }
8259 if test ${acl_cv_prog_gnu_ld+y}
8261 printf %s
"(cached) " >&6
8263 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8264 case `$LD -v 2>&1 </dev/null` in
8265 *GNU
* |
*'with BFD'*)
8266 acl_cv_prog_gnu_ld
=yes
8269 acl_cv_prog_gnu_ld
=no
8273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
8274 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
8275 with_gnu_ld
=$acl_cv_prog_gnu_ld
8281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
8282 printf %s
"checking for shared library run path origin... " >&6; }
8283 if test ${acl_cv_rpath+y}
8285 printf %s
"(cached) " >&6
8288 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8289 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
8296 printf "%s\n" "$acl_cv_rpath" >&6; }
8298 acl_libext
="$acl_cv_libext"
8299 acl_shlibext
="$acl_cv_shlibext"
8300 acl_libname_spec
="$acl_cv_libname_spec"
8301 acl_library_names_spec
="$acl_cv_library_names_spec"
8302 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8303 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8304 acl_hardcode_direct
="$acl_cv_hardcode_direct"
8305 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8306 # Check whether --enable-rpath was given.
8307 if test ${enable_rpath+y}
8309 enableval
=$enable_rpath; :
8316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
8317 printf %s
"checking for grep that handles long lines and -e... " >&6; }
8318 if test ${ac_cv_path_GREP+y}
8320 printf %s
"(cached) " >&6
8322 if test -z "$GREP"; then
8323 ac_path_GREP_found
=false
8324 # Loop through the user's path and test for each of PROGNAME-LIST
8325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8326 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8329 case $as_dir in #(((
8332 *) as_dir
=$as_dir/ ;;
8334 for ac_prog
in grep ggrep
8336 for ac_exec_ext
in '' $ac_executable_extensions; do
8337 ac_path_GREP
="$as_dir$ac_prog$ac_exec_ext"
8338 as_fn_executable_p
"$ac_path_GREP" ||
continue
8339 # Check for GNU ac_path_GREP and select it if it is found.
8340 # Check for GNU $ac_path_GREP
8341 case `"$ac_path_GREP" --version 2>&1` in
8343 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
8346 printf %s
0123456789 >"conftest.in"
8349 cat "conftest.in" "conftest.in" >"conftest.tmp"
8350 mv "conftest.tmp" "conftest.in"
8351 cp "conftest.in" "conftest.nl"
8352 printf "%s\n" 'GREP' >> "conftest.nl"
8353 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8354 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8355 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8356 if test $ac_count -gt ${ac_path_GREP_max-0}; then
8357 # Best one so far, save it but keep looking for a better one
8358 ac_cv_path_GREP
="$ac_path_GREP"
8359 ac_path_GREP_max
=$ac_count
8361 # 10*(2^10) chars as input seems more than enough
8362 test $ac_count -gt 10 && break
8364 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8367 $ac_path_GREP_found && break 3
8372 if test -z "$ac_cv_path_GREP"; then
8373 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8376 ac_cv_path_GREP
=$GREP
8380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
8381 printf "%s\n" "$ac_cv_path_GREP" >&6; }
8382 GREP
="$ac_cv_path_GREP"
8385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
8386 printf %s
"checking for egrep... " >&6; }
8387 if test ${ac_cv_path_EGREP+y}
8389 printf %s
"(cached) " >&6
8391 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
8392 then ac_cv_path_EGREP
="$GREP -E"
8394 if test -z "$EGREP"; then
8395 ac_path_EGREP_found
=false
8396 # Loop through the user's path and test for each of PROGNAME-LIST
8397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8398 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8401 case $as_dir in #(((
8404 *) as_dir
=$as_dir/ ;;
8406 for ac_prog
in egrep
8408 for ac_exec_ext
in '' $ac_executable_extensions; do
8409 ac_path_EGREP
="$as_dir$ac_prog$ac_exec_ext"
8410 as_fn_executable_p
"$ac_path_EGREP" ||
continue
8411 # Check for GNU ac_path_EGREP and select it if it is found.
8412 # Check for GNU $ac_path_EGREP
8413 case `"$ac_path_EGREP" --version 2>&1` in
8415 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
8418 printf %s
0123456789 >"conftest.in"
8421 cat "conftest.in" "conftest.in" >"conftest.tmp"
8422 mv "conftest.tmp" "conftest.in"
8423 cp "conftest.in" "conftest.nl"
8424 printf "%s\n" 'EGREP' >> "conftest.nl"
8425 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8426 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8427 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8428 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8429 # Best one so far, save it but keep looking for a better one
8430 ac_cv_path_EGREP
="$ac_path_EGREP"
8431 ac_path_EGREP_max
=$ac_count
8433 # 10*(2^10) chars as input seems more than enough
8434 test $ac_count -gt 10 && break
8436 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8439 $ac_path_EGREP_found && break 3
8444 if test -z "$ac_cv_path_EGREP"; then
8445 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8448 ac_cv_path_EGREP
=$EGREP
8453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8454 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
8455 EGREP
="$ac_cv_path_EGREP"
8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
8465 printf %s
"checking for 64-bit host... " >&6; }
8466 if test ${gl_cv_solaris_64bit+y}
8468 printf %s
"(cached) " >&6
8470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8479 $EGREP "sixtyfour bits" >/dev
/null
2>&1
8481 gl_cv_solaris_64bit
=yes
8483 gl_cv_solaris_64bit
=no
8489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
8490 printf "%s\n" "$gl_cv_solaris_64bit" >&6; }
8491 if test $gl_cv_solaris_64bit = yes; then
8492 acl_libdirstem
=lib
/64
8494 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
8495 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
8500 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
8501 if test -n "$searchpath"; then
8502 acl_save_IFS
="${IFS= }"; IFS
=":"
8503 for searchdir
in $searchpath; do
8504 if test -d "$searchdir"; then
8505 case "$searchdir" in
8506 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
8508 # Better ignore directories of this form. They are misleading.
8510 *) searchdir
=`cd "$searchdir" && pwd`
8511 case "$searchdir" in
8512 */lib64
) acl_libdirstem
=lib64
;;
8521 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
8536 acl_save_prefix
="$prefix"
8537 prefix
="$acl_final_prefix"
8538 acl_save_exec_prefix
="$exec_prefix"
8539 exec_prefix
="$acl_final_exec_prefix"
8541 eval additional_includedir
=\"$includedir\"
8542 eval additional_libdir
=\"$libdir\"
8544 exec_prefix
="$acl_save_exec_prefix"
8545 prefix
="$acl_save_prefix"
8548 # Check whether --with-libiconv-prefix was given.
8549 if test ${with_libiconv_prefix+y}
8551 withval
=$with_libiconv_prefix;
8552 if test "X$withval" = "Xno"; then
8555 if test "X$withval" = "X"; then
8557 acl_save_prefix
="$prefix"
8558 prefix
="$acl_final_prefix"
8559 acl_save_exec_prefix
="$exec_prefix"
8560 exec_prefix
="$acl_final_exec_prefix"
8562 eval additional_includedir
=\"$includedir\"
8563 eval additional_libdir
=\"$libdir\"
8565 exec_prefix
="$acl_save_exec_prefix"
8566 prefix
="$acl_save_prefix"
8569 additional_includedir
="$withval/include"
8570 additional_libdir
="$withval/$acl_libdirstem"
8571 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8572 && ! test -d "$withval/$acl_libdirstem"; then
8573 additional_libdir
="$withval/$acl_libdirstem2"
8587 names_already_handled
=
8588 names_next_round
='iconv '
8589 while test -n "$names_next_round"; do
8590 names_this_round
="$names_next_round"
8592 for name
in $names_this_round; do
8594 for n
in $names_already_handled; do
8595 if test "$n" = "$name"; then
8600 if test -z "$already_handled"; then
8601 names_already_handled
="$names_already_handled $name"
8602 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8603 eval value
=\"\
$HAVE_LIB$uppername\"
8604 if test -n "$value"; then
8605 if test "$value" = yes; then
8606 eval value
=\"\
$LIB$uppername\"
8607 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8608 eval value
=\"\
$LTLIB$uppername\"
8609 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8618 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8619 if test -n "$acl_shlibext"; then
8620 shrext
=".$acl_shlibext" # typically: shrext=.so
8624 if test $use_additional = yes; then
8625 dir
="$additional_libdir"
8626 if test -n "$acl_shlibext"; then
8627 if test -f "$dir/$libname$shrext"; then
8629 found_so
="$dir/$libname$shrext"
8631 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8632 ver
=`(cd "$dir" && \
8633 for f in "$libname$shrext".*; do echo "$f"; done \
8634 | sed -e "s,^$libname$shrext\\\\.,," \
8635 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8636 | sed 1q ) 2>/dev/null`
8637 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8639 found_so
="$dir/$libname$shrext.$ver"
8642 eval library_names
=\"$acl_library_names_spec\"
8643 for f
in $library_names; do
8644 if test -f "$dir/$f"; then
8653 if test "X$found_dir" = "X"; then
8654 if test -f "$dir/$libname.$acl_libext"; then
8656 found_a
="$dir/$libname.$acl_libext"
8659 if test "X$found_dir" != "X"; then
8660 if test -f "$dir/$libname.la"; then
8661 found_la
="$dir/$libname.la"
8665 if test "X$found_dir" = "X"; then
8666 for x
in $LDFLAGS $LTLIBICONV; do
8668 acl_save_prefix
="$prefix"
8669 prefix
="$acl_final_prefix"
8670 acl_save_exec_prefix
="$exec_prefix"
8671 exec_prefix
="$acl_final_exec_prefix"
8673 exec_prefix
="$acl_save_exec_prefix"
8674 prefix
="$acl_save_prefix"
8678 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8679 if test -n "$acl_shlibext"; then
8680 if test -f "$dir/$libname$shrext"; then
8682 found_so
="$dir/$libname$shrext"
8684 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8685 ver
=`(cd "$dir" && \
8686 for f in "$libname$shrext".*; do echo "$f"; done \
8687 | sed -e "s,^$libname$shrext\\\\.,," \
8688 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8689 | sed 1q ) 2>/dev/null`
8690 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8692 found_so
="$dir/$libname$shrext.$ver"
8695 eval library_names
=\"$acl_library_names_spec\"
8696 for f
in $library_names; do
8697 if test -f "$dir/$f"; then
8706 if test "X$found_dir" = "X"; then
8707 if test -f "$dir/$libname.$acl_libext"; then
8709 found_a
="$dir/$libname.$acl_libext"
8712 if test "X$found_dir" != "X"; then
8713 if test -f "$dir/$libname.la"; then
8714 found_la
="$dir/$libname.la"
8719 if test "X$found_dir" != "X"; then
8724 if test "X$found_dir" != "X"; then
8725 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8726 if test "X$found_so" != "X"; then
8727 if test "$enable_rpath" = no \
8728 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8729 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8730 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8733 for x
in $ltrpathdirs; do
8734 if test "X$x" = "X$found_dir"; then
8739 if test -z "$haveit"; then
8740 ltrpathdirs
="$ltrpathdirs $found_dir"
8742 if test "$acl_hardcode_direct" = yes; then
8743 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8745 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8746 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8748 for x
in $rpathdirs; do
8749 if test "X$x" = "X$found_dir"; then
8754 if test -z "$haveit"; then
8755 rpathdirs
="$rpathdirs $found_dir"
8759 for x
in $LDFLAGS $LIBICONV; do
8761 acl_save_prefix
="$prefix"
8762 prefix
="$acl_final_prefix"
8763 acl_save_exec_prefix
="$exec_prefix"
8764 exec_prefix
="$acl_final_exec_prefix"
8766 exec_prefix
="$acl_save_exec_prefix"
8767 prefix
="$acl_save_prefix"
8769 if test "X$x" = "X-L$found_dir"; then
8774 if test -z "$haveit"; then
8775 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8777 if test "$acl_hardcode_minus_L" != no
; then
8778 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8780 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8786 if test "X$found_a" != "X"; then
8787 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8789 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8792 additional_includedir
=
8793 case "$found_dir" in
8794 */$acl_libdirstem |
*/$acl_libdirstem/)
8795 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8796 if test "$name" = 'iconv'; then
8797 LIBICONV_PREFIX
="$basedir"
8799 additional_includedir
="$basedir/include"
8801 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8802 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8803 if test "$name" = 'iconv'; then
8804 LIBICONV_PREFIX
="$basedir"
8806 additional_includedir
="$basedir/include"
8809 if test "X$additional_includedir" != "X"; then
8810 if test "X$additional_includedir" != "X/usr/include"; then
8812 if test "X$additional_includedir" = "X/usr/local/include"; then
8813 if test -n "$GCC"; then
8815 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8819 if test -z "$haveit"; then
8820 for x
in $CPPFLAGS $INCICONV; do
8822 acl_save_prefix
="$prefix"
8823 prefix
="$acl_final_prefix"
8824 acl_save_exec_prefix
="$exec_prefix"
8825 exec_prefix
="$acl_final_exec_prefix"
8827 exec_prefix
="$acl_save_exec_prefix"
8828 prefix
="$acl_save_prefix"
8830 if test "X$x" = "X-I$additional_includedir"; then
8835 if test -z "$haveit"; then
8836 if test -d "$additional_includedir"; then
8837 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8843 if test -n "$found_la"; then
8844 save_libdir
="$libdir"
8846 */* |
*\\*) .
"$found_la" ;;
8847 *) .
"./$found_la" ;;
8849 libdir
="$save_libdir"
8850 for dep
in $dependency_libs; do
8853 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8854 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8855 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8857 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8858 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8859 if test -n "$GCC"; then
8861 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8865 if test -z "$haveit"; then
8867 for x
in $LDFLAGS $LIBICONV; do
8869 acl_save_prefix
="$prefix"
8870 prefix
="$acl_final_prefix"
8871 acl_save_exec_prefix
="$exec_prefix"
8872 exec_prefix
="$acl_final_exec_prefix"
8874 exec_prefix
="$acl_save_exec_prefix"
8875 prefix
="$acl_save_prefix"
8877 if test "X$x" = "X-L$additional_libdir"; then
8882 if test -z "$haveit"; then
8883 if test -d "$additional_libdir"; then
8884 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8888 for x
in $LDFLAGS $LTLIBICONV; do
8890 acl_save_prefix
="$prefix"
8891 prefix
="$acl_final_prefix"
8892 acl_save_exec_prefix
="$exec_prefix"
8893 exec_prefix
="$acl_final_exec_prefix"
8895 exec_prefix
="$acl_save_exec_prefix"
8896 prefix
="$acl_save_prefix"
8898 if test "X$x" = "X-L$additional_libdir"; then
8903 if test -z "$haveit"; then
8904 if test -d "$additional_libdir"; then
8905 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8912 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8913 if test "$enable_rpath" != no
; then
8915 for x
in $rpathdirs; do
8916 if test "X$x" = "X$dir"; then
8921 if test -z "$haveit"; then
8922 rpathdirs
="$rpathdirs $dir"
8925 for x
in $ltrpathdirs; do
8926 if test "X$x" = "X$dir"; then
8931 if test -z "$haveit"; then
8932 ltrpathdirs
="$ltrpathdirs $dir"
8937 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8940 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8943 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8944 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8950 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8951 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8957 if test "X$rpathdirs" != "X"; then
8958 if test -n "$acl_hardcode_libdir_separator"; then
8960 for found_dir
in $rpathdirs; do
8961 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8963 acl_save_libdir
="$libdir"
8965 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8966 libdir
="$acl_save_libdir"
8967 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8969 for found_dir
in $rpathdirs; do
8970 acl_save_libdir
="$libdir"
8972 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8973 libdir
="$acl_save_libdir"
8974 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8978 if test "X$ltrpathdirs" != "X"; then
8979 for found_dir
in $ltrpathdirs; do
8980 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
9015 printf %s
"checking for CFPreferencesCopyAppValue... " >&6; }
9016 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
9018 printf %s
"(cached) " >&6
9020 gt_save_LIBS
="$LIBS"
9021 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
9022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9023 /* end confdefs.h. */
9024 #include <CoreFoundation/CFPreferences.h>
9028 CFPreferencesCopyAppValue(NULL, NULL)
9033 if ac_fn_c_try_link
"$LINENO"
9035 gt_cv_func_CFPreferencesCopyAppValue
=yes
9037 gt_cv_func_CFPreferencesCopyAppValue
=no
9039 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9040 conftest
$ac_exeext conftest.
$ac_ext
9041 LIBS
="$gt_save_LIBS"
9043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
9044 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
9045 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
9047 printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
9050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
9051 printf %s
"checking for CFLocaleCopyCurrent... " >&6; }
9052 if test ${gt_cv_func_CFLocaleCopyCurrent+y}
9054 printf %s
"(cached) " >&6
9056 gt_save_LIBS
="$LIBS"
9057 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
9058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9060 #include <CoreFoundation/CFLocale.h>
9064 CFLocaleCopyCurrent();
9069 if ac_fn_c_try_link
"$LINENO"
9071 gt_cv_func_CFLocaleCopyCurrent
=yes
9073 gt_cv_func_CFLocaleCopyCurrent
=no
9075 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9076 conftest
$ac_exeext conftest.
$ac_ext
9077 LIBS
="$gt_save_LIBS"
9079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
9080 printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
9081 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
9083 printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
9087 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
9088 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
9100 case " $gt_needs " in
9101 *" need-formatstring-macros "*) gt_api_version
=3 ;;
9102 *" need-ngettext "*) gt_api_version
=2 ;;
9103 *) gt_api_version
=1 ;;
9105 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
9106 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
9108 if test "$USE_NLS" = "yes"; then
9109 gt_use_preinstalled_gnugettext
=no
9112 if test $gt_api_version -ge 3; then
9113 gt_revision_test_code
='
9114 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
9115 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
9117 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
9120 gt_revision_test_code
=
9122 if test $gt_api_version -ge 2; then
9123 gt_expression_test_code
=' + * ngettext ("", "", 0)'
9125 gt_expression_test_code
=
9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
9129 printf %s
"checking for GNU gettext in libc... " >&6; }
9130 if eval test \
${$gt_func_gnugettext_libc+y}
9132 printf %s
"(cached) " >&6
9134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9137 #include <libintl.h>
9138 $gt_revision_test_code
9139 extern int _nl_msg_cat_cntr;
9140 extern int *_nl_domain_bindings;
9146 bindtextdomain ("", "");
9147 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
9153 if ac_fn_c_try_link
"$LINENO"
9155 eval "$gt_func_gnugettext_libc=yes"
9157 eval "$gt_func_gnugettext_libc=no"
9159 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9160 conftest
$ac_exeext conftest.
$ac_ext
9162 eval ac_res
=\$
$gt_func_gnugettext_libc
9163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9164 printf "%s\n" "$ac_res" >&6; }
9166 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
9172 am_save_CPPFLAGS
="$CPPFLAGS"
9174 for element
in $INCICONV; do
9176 for x
in $CPPFLAGS; do
9178 acl_save_prefix
="$prefix"
9179 prefix
="$acl_final_prefix"
9180 acl_save_exec_prefix
="$exec_prefix"
9181 exec_prefix
="$acl_final_exec_prefix"
9183 exec_prefix
="$acl_save_exec_prefix"
9184 prefix
="$acl_save_prefix"
9186 if test "X$x" = "X$element"; then
9191 if test -z "$haveit"; then
9192 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
9198 printf %s
"checking for iconv... " >&6; }
9199 if test ${am_cv_func_iconv+y}
9201 printf %s
"(cached) " >&6
9204 am_cv_func_iconv
="no, consider installing GNU libiconv"
9206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9207 /* end confdefs.h. */
9215 iconv_t cd = iconv_open("","");
9216 iconv(cd,NULL,NULL,NULL,NULL);
9222 if ac_fn_c_try_link
"$LINENO"
9224 am_cv_func_iconv
=yes
9226 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9227 conftest
$ac_exeext conftest.
$ac_ext
9228 if test "$am_cv_func_iconv" != yes; then
9229 am_save_LIBS
="$LIBS"
9230 LIBS
="$LIBS $LIBICONV"
9231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9240 iconv_t cd = iconv_open("","");
9241 iconv(cd,NULL,NULL,NULL,NULL);
9247 if ac_fn_c_try_link
"$LINENO"
9250 am_cv_func_iconv
=yes
9252 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9253 conftest
$ac_exeext conftest.
$ac_ext
9254 LIBS
="$am_save_LIBS"
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
9259 printf "%s\n" "$am_cv_func_iconv" >&6; }
9260 if test "$am_cv_func_iconv" = yes; then
9261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
9262 printf %s
"checking for working iconv... " >&6; }
9263 if test ${am_cv_func_iconv_works+y}
9265 printf %s
"(cached) " >&6
9268 am_save_LIBS
="$LIBS"
9269 if test $am_cv_lib_iconv = yes; then
9270 LIBS
="$LIBS $LIBICONV"
9272 am_cv_func_iconv_works
=no
9273 for ac_iconv_const
in '' 'const'; do
9274 if test "$cross_compiling" = yes
9277 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
9278 *) am_cv_func_iconv_works
="guessing yes" ;;
9281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9288 # define ICONV_CONST $ac_iconv_const
9295 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
9298 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
9299 if (cd_utf8_to_88591 != (iconv_t)(-1))
9301 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
9303 ICONV_CONST char *inptr = input;
9304 size_t inbytesleft = strlen (input);
9306 size_t outbytesleft = sizeof (buf);
9307 size_t res = iconv (cd_utf8_to_88591,
9308 &inptr, &inbytesleft,
9309 &outptr, &outbytesleft);
9312 iconv_close (cd_utf8_to_88591);
9315 /* Test against Solaris 10 bug: Failures are not distinguishable from
9316 successful returns. */
9318 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
9319 if (cd_ascii_to_88591 != (iconv_t)(-1))
9321 static ICONV_CONST char input[] = "\263";
9323 ICONV_CONST char *inptr = input;
9324 size_t inbytesleft = strlen (input);
9326 size_t outbytesleft = sizeof (buf);
9327 size_t res = iconv (cd_ascii_to_88591,
9328 &inptr, &inbytesleft,
9329 &outptr, &outbytesleft);
9332 iconv_close (cd_ascii_to_88591);
9335 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
9337 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
9338 if (cd_88591_to_utf8 != (iconv_t)(-1))
9340 static ICONV_CONST char input[] = "\304";
9341 static char buf[2] = { (char)0xDE, (char)0xAD };
9342 ICONV_CONST char *inptr = input;
9343 size_t inbytesleft = 1;
9345 size_t outbytesleft = 1;
9346 size_t res = iconv (cd_88591_to_utf8,
9347 &inptr, &inbytesleft,
9348 &outptr, &outbytesleft);
9349 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
9351 iconv_close (cd_88591_to_utf8);
9354 #if 0 /* This bug could be worked around by the caller. */
9355 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
9357 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
9358 if (cd_88591_to_utf8 != (iconv_t)(-1))
9360 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
9362 ICONV_CONST char *inptr = input;
9363 size_t inbytesleft = strlen (input);
9365 size_t outbytesleft = sizeof (buf);
9366 size_t res = iconv (cd_88591_to_utf8,
9367 &inptr, &inbytesleft,
9368 &outptr, &outbytesleft);
9371 iconv_close (cd_88591_to_utf8);
9375 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
9377 if (/* Try standardized names. */
9378 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
9379 /* Try IRIX, OSF/1 names. */
9380 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
9381 /* Try AIX names. */
9382 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
9383 /* Try HP-UX names. */
9384 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
9392 if ac_fn_c_try_run
"$LINENO"
9394 am_cv_func_iconv_works
=yes
9396 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9397 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9400 test "$am_cv_func_iconv_works" = no ||
break
9402 LIBS
="$am_save_LIBS"
9405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
9406 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
9407 case "$am_cv_func_iconv_works" in
9408 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
9409 *) am_func_iconv
=yes ;;
9412 am_func_iconv
=no am_cv_lib_iconv
=no
9414 if test "$am_func_iconv" = yes; then
9416 printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
9419 if test "$am_cv_lib_iconv" = yes; then
9420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
9421 printf %s
"checking how to link with libiconv... " >&6; }
9422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
9423 printf "%s\n" "$LIBICONV" >&6; }
9425 CPPFLAGS
="$am_save_CPPFLAGS"
9442 acl_save_prefix
="$prefix"
9443 prefix
="$acl_final_prefix"
9444 acl_save_exec_prefix
="$exec_prefix"
9445 exec_prefix
="$acl_final_exec_prefix"
9447 eval additional_includedir
=\"$includedir\"
9448 eval additional_libdir
=\"$libdir\"
9450 exec_prefix
="$acl_save_exec_prefix"
9451 prefix
="$acl_save_prefix"
9454 # Check whether --with-libintl-prefix was given.
9455 if test ${with_libintl_prefix+y}
9457 withval
=$with_libintl_prefix;
9458 if test "X$withval" = "Xno"; then
9461 if test "X$withval" = "X"; then
9463 acl_save_prefix
="$prefix"
9464 prefix
="$acl_final_prefix"
9465 acl_save_exec_prefix
="$exec_prefix"
9466 exec_prefix
="$acl_final_exec_prefix"
9468 eval additional_includedir
=\"$includedir\"
9469 eval additional_libdir
=\"$libdir\"
9471 exec_prefix
="$acl_save_exec_prefix"
9472 prefix
="$acl_save_prefix"
9475 additional_includedir
="$withval/include"
9476 additional_libdir
="$withval/$acl_libdirstem"
9477 if test "$acl_libdirstem2" != "$acl_libdirstem" \
9478 && ! test -d "$withval/$acl_libdirstem"; then
9479 additional_libdir
="$withval/$acl_libdirstem2"
9493 names_already_handled
=
9494 names_next_round
='intl '
9495 while test -n "$names_next_round"; do
9496 names_this_round
="$names_next_round"
9498 for name
in $names_this_round; do
9500 for n
in $names_already_handled; do
9501 if test "$n" = "$name"; then
9506 if test -z "$already_handled"; then
9507 names_already_handled
="$names_already_handled $name"
9508 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
9509 eval value
=\"\
$HAVE_LIB$uppername\"
9510 if test -n "$value"; then
9511 if test "$value" = yes; then
9512 eval value
=\"\
$LIB$uppername\"
9513 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
9514 eval value
=\"\
$LTLIB$uppername\"
9515 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
9524 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
9525 if test -n "$acl_shlibext"; then
9526 shrext
=".$acl_shlibext" # typically: shrext=.so
9530 if test $use_additional = yes; then
9531 dir
="$additional_libdir"
9532 if test -n "$acl_shlibext"; then
9533 if test -f "$dir/$libname$shrext"; then
9535 found_so
="$dir/$libname$shrext"
9537 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9538 ver
=`(cd "$dir" && \
9539 for f in "$libname$shrext".*; do echo "$f"; done \
9540 | sed -e "s,^$libname$shrext\\\\.,," \
9541 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9542 | sed 1q ) 2>/dev/null`
9543 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
9545 found_so
="$dir/$libname$shrext.$ver"
9548 eval library_names
=\"$acl_library_names_spec\"
9549 for f
in $library_names; do
9550 if test -f "$dir/$f"; then
9559 if test "X$found_dir" = "X"; then
9560 if test -f "$dir/$libname.$acl_libext"; then
9562 found_a
="$dir/$libname.$acl_libext"
9565 if test "X$found_dir" != "X"; then
9566 if test -f "$dir/$libname.la"; then
9567 found_la
="$dir/$libname.la"
9571 if test "X$found_dir" = "X"; then
9572 for x
in $LDFLAGS $LTLIBINTL; do
9574 acl_save_prefix
="$prefix"
9575 prefix
="$acl_final_prefix"
9576 acl_save_exec_prefix
="$exec_prefix"
9577 exec_prefix
="$acl_final_exec_prefix"
9579 exec_prefix
="$acl_save_exec_prefix"
9580 prefix
="$acl_save_prefix"
9584 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9585 if test -n "$acl_shlibext"; then
9586 if test -f "$dir/$libname$shrext"; then
9588 found_so
="$dir/$libname$shrext"
9590 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9591 ver
=`(cd "$dir" && \
9592 for f in "$libname$shrext".*; do echo "$f"; done \
9593 | sed -e "s,^$libname$shrext\\\\.,," \
9594 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9595 | sed 1q ) 2>/dev/null`
9596 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
9598 found_so
="$dir/$libname$shrext.$ver"
9601 eval library_names
=\"$acl_library_names_spec\"
9602 for f
in $library_names; do
9603 if test -f "$dir/$f"; then
9612 if test "X$found_dir" = "X"; then
9613 if test -f "$dir/$libname.$acl_libext"; then
9615 found_a
="$dir/$libname.$acl_libext"
9618 if test "X$found_dir" != "X"; then
9619 if test -f "$dir/$libname.la"; then
9620 found_la
="$dir/$libname.la"
9625 if test "X$found_dir" != "X"; then
9630 if test "X$found_dir" != "X"; then
9631 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
9632 if test "X$found_so" != "X"; then
9633 if test "$enable_rpath" = no \
9634 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
9635 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
9636 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9639 for x
in $ltrpathdirs; do
9640 if test "X$x" = "X$found_dir"; then
9645 if test -z "$haveit"; then
9646 ltrpathdirs
="$ltrpathdirs $found_dir"
9648 if test "$acl_hardcode_direct" = yes; then
9649 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9651 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
9652 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9654 for x
in $rpathdirs; do
9655 if test "X$x" = "X$found_dir"; then
9660 if test -z "$haveit"; then
9661 rpathdirs
="$rpathdirs $found_dir"
9665 for x
in $LDFLAGS $LIBINTL; do
9667 acl_save_prefix
="$prefix"
9668 prefix
="$acl_final_prefix"
9669 acl_save_exec_prefix
="$exec_prefix"
9670 exec_prefix
="$acl_final_exec_prefix"
9672 exec_prefix
="$acl_save_exec_prefix"
9673 prefix
="$acl_save_prefix"
9675 if test "X$x" = "X-L$found_dir"; then
9680 if test -z "$haveit"; then
9681 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
9683 if test "$acl_hardcode_minus_L" != no
; then
9684 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9686 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9692 if test "X$found_a" != "X"; then
9693 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
9695 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
9698 additional_includedir
=
9699 case "$found_dir" in
9700 */$acl_libdirstem |
*/$acl_libdirstem/)
9701 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
9702 if test "$name" = 'intl'; then
9703 LIBINTL_PREFIX
="$basedir"
9705 additional_includedir
="$basedir/include"
9707 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
9708 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
9709 if test "$name" = 'intl'; then
9710 LIBINTL_PREFIX
="$basedir"
9712 additional_includedir
="$basedir/include"
9715 if test "X$additional_includedir" != "X"; then
9716 if test "X$additional_includedir" != "X/usr/include"; then
9718 if test "X$additional_includedir" = "X/usr/local/include"; then
9719 if test -n "$GCC"; then
9721 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9725 if test -z "$haveit"; then
9726 for x
in $CPPFLAGS $INCINTL; do
9728 acl_save_prefix
="$prefix"
9729 prefix
="$acl_final_prefix"
9730 acl_save_exec_prefix
="$exec_prefix"
9731 exec_prefix
="$acl_final_exec_prefix"
9733 exec_prefix
="$acl_save_exec_prefix"
9734 prefix
="$acl_save_prefix"
9736 if test "X$x" = "X-I$additional_includedir"; then
9741 if test -z "$haveit"; then
9742 if test -d "$additional_includedir"; then
9743 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
9749 if test -n "$found_la"; then
9750 save_libdir
="$libdir"
9752 */* |
*\\*) .
"$found_la" ;;
9753 *) .
"./$found_la" ;;
9755 libdir
="$save_libdir"
9756 for dep
in $dependency_libs; do
9759 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9760 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
9761 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
9763 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
9764 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
9765 if test -n "$GCC"; then
9767 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
9771 if test -z "$haveit"; then
9773 for x
in $LDFLAGS $LIBINTL; do
9775 acl_save_prefix
="$prefix"
9776 prefix
="$acl_final_prefix"
9777 acl_save_exec_prefix
="$exec_prefix"
9778 exec_prefix
="$acl_final_exec_prefix"
9780 exec_prefix
="$acl_save_exec_prefix"
9781 prefix
="$acl_save_prefix"
9783 if test "X$x" = "X-L$additional_libdir"; then
9788 if test -z "$haveit"; then
9789 if test -d "$additional_libdir"; then
9790 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
9794 for x
in $LDFLAGS $LTLIBINTL; do
9796 acl_save_prefix
="$prefix"
9797 prefix
="$acl_final_prefix"
9798 acl_save_exec_prefix
="$exec_prefix"
9799 exec_prefix
="$acl_final_exec_prefix"
9801 exec_prefix
="$acl_save_exec_prefix"
9802 prefix
="$acl_save_prefix"
9804 if test "X$x" = "X-L$additional_libdir"; then
9809 if test -z "$haveit"; then
9810 if test -d "$additional_libdir"; then
9811 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
9818 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9819 if test "$enable_rpath" != no
; then
9821 for x
in $rpathdirs; do
9822 if test "X$x" = "X$dir"; then
9827 if test -z "$haveit"; then
9828 rpathdirs
="$rpathdirs $dir"
9831 for x
in $ltrpathdirs; do
9832 if test "X$x" = "X$dir"; then
9837 if test -z "$haveit"; then
9838 ltrpathdirs
="$ltrpathdirs $dir"
9843 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9846 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9849 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
9850 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9856 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9857 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9863 if test "X$rpathdirs" != "X"; then
9864 if test -n "$acl_hardcode_libdir_separator"; then
9866 for found_dir
in $rpathdirs; do
9867 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9869 acl_save_libdir
="$libdir"
9871 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
9872 libdir
="$acl_save_libdir"
9873 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9875 for found_dir
in $rpathdirs; do
9876 acl_save_libdir
="$libdir"
9878 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
9879 libdir
="$acl_save_libdir"
9880 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9884 if test "X$ltrpathdirs" != "X"; then
9885 for found_dir
in $ltrpathdirs; do
9886 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
9896 printf %s
"checking for GNU gettext in libintl... " >&6; }
9897 if eval test \
${$gt_func_gnugettext_libintl+y}
9899 printf %s
"(cached) " >&6
9901 gt_save_CPPFLAGS
="$CPPFLAGS"
9902 CPPFLAGS
="$CPPFLAGS $INCINTL"
9903 gt_save_LIBS
="$LIBS"
9904 LIBS
="$LIBS $LIBINTL"
9905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9908 #include <libintl.h>
9909 $gt_revision_test_code
9910 extern int _nl_msg_cat_cntr;
9915 const char *_nl_expand_alias (const char *);
9921 bindtextdomain ("", "");
9922 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9928 if ac_fn_c_try_link
"$LINENO"
9930 eval "$gt_func_gnugettext_libintl=yes"
9932 eval "$gt_func_gnugettext_libintl=no"
9934 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9935 conftest
$ac_exeext conftest.
$ac_ext
9936 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
9937 LIBS
="$LIBS $LIBICONV"
9938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9941 #include <libintl.h>
9942 $gt_revision_test_code
9943 extern int _nl_msg_cat_cntr;
9948 const char *_nl_expand_alias (const char *);
9954 bindtextdomain ("", "");
9955 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9961 if ac_fn_c_try_link
"$LINENO"
9963 LIBINTL
="$LIBINTL $LIBICONV"
9964 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
9965 eval "$gt_func_gnugettext_libintl=yes"
9968 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
9969 conftest
$ac_exeext conftest.
$ac_ext
9971 CPPFLAGS
="$gt_save_CPPFLAGS"
9972 LIBS
="$gt_save_LIBS"
9974 eval ac_res
=\$
$gt_func_gnugettext_libintl
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9976 printf "%s\n" "$ac_res" >&6; }
9979 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
9980 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
9981 && test "$PACKAGE" != gettext-runtime \
9982 && test "$PACKAGE" != gettext-tools
; }; then
9983 gt_use_preinstalled_gnugettext
=yes
9992 if test -n "$INTL_MACOSX_LIBS"; then
9993 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9994 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9995 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
9996 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
10000 if test "$gt_use_preinstalled_gnugettext" = "yes" \
10001 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
10003 printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
10010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
10011 printf %s
"checking whether to use NLS... " >&6; }
10012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
10013 printf "%s\n" "$USE_NLS" >&6; }
10014 if test "$USE_NLS" = "yes"; then
10015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
10016 printf %s
"checking where the gettext function comes from... " >&6; }
10017 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
10018 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
10019 gt_source
="external libintl"
10024 gt_source
="included intl directory"
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
10027 printf "%s\n" "$gt_source" >&6; }
10030 if test "$USE_NLS" = "yes"; then
10032 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
10033 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
10035 printf %s
"checking how to link with libintl... " >&6; }
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
10037 printf "%s\n" "$LIBINTL" >&6; }
10039 for element
in $INCINTL; do
10041 for x
in $CPPFLAGS; do
10043 acl_save_prefix
="$prefix"
10044 prefix
="$acl_final_prefix"
10045 acl_save_exec_prefix
="$exec_prefix"
10046 exec_prefix
="$acl_final_exec_prefix"
10048 exec_prefix
="$acl_save_exec_prefix"
10049 prefix
="$acl_save_prefix"
10051 if test "X$x" = "X$element"; then
10056 if test -z "$haveit"; then
10057 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10064 printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
10067 printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
10076 INTLLIBS
="$LIBINTL"
10085 # We want the 'PYTHON' varible to be python version 2. We also want
10086 # our custom 'PYTHON3' varible to be python version 3.
10088 # Note that the python2/python3 code was inspired by code in the
10089 # 'abrt' configure:
10090 # <https://github.com/abrt/abrt/blob/master/configure.ac>
10092 # First, figure out what version of python is in the executable named
10093 # 'python'. On most systems that is python version 2, but on arch
10094 # linux that is python version 3.
10095 # Extract the first word of "python", so it can be a program name with args.
10096 set dummy python
; ac_word
=$2
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10098 printf %s
"checking for $ac_word... " >&6; }
10099 if test ${ac_cv_path_PYTHON_UNKNOWN+y}
10101 printf %s
"(cached) " >&6
10103 case $PYTHON_UNKNOWN in
10105 ac_cv_path_PYTHON_UNKNOWN
="$PYTHON_UNKNOWN" # Let the user override the test with a path.
10108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10109 for as_dir
in $PATH
10112 case $as_dir in #(((
10115 *) as_dir
=$as_dir/ ;;
10117 for ac_exec_ext
in '' $ac_executable_extensions; do
10118 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
10119 ac_cv_path_PYTHON_UNKNOWN
="$as_dir$ac_word$ac_exec_ext"
10120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10127 test -z "$ac_cv_path_PYTHON_UNKNOWN" && ac_cv_path_PYTHON_UNKNOWN
="no"
10131 PYTHON_UNKNOWN
=$ac_cv_path_PYTHON_UNKNOWN
10132 if test -n "$PYTHON_UNKNOWN"; then
10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_UNKNOWN" >&5
10134 printf "%s\n" "$PYTHON_UNKNOWN" >&6; }
10136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10137 printf "%s\n" "no" >&6; }
10141 if test "x$PYTHON_UNKNOWN" != "xno"; then
10142 # OK, we found 'python'. What version is it?
10143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON_UNKNOWN is version 2 or 3" >&5
10144 printf %s
"checking whether $PYTHON_UNKNOWN is version 2 or 3... " >&6; }
10145 if test ${ac_cv_python_unknown_version+y}
10147 printf %s
"(cached) " >&6
10149 ac_cv_python_unknown_version
=`$PYTHON_UNKNOWN -c "import sys; sys.stdout.write(sys.version[:3][0])"`
10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_unknown_version" >&5
10152 printf "%s\n" "$ac_cv_python_unknown_version" >&6; }
10155 # Now we'll update the _AM_PYTHON_INTERPRETER_LIST variable (which
10156 # AM_PATH_PYTHON uses) to only be version 2 versions of python. Note
10157 # that the m4_define happens when autoconf is run, but the
10158 # PLAIN_PYTHON_INTERPRETER variable expansion will happen when the
10159 # user runs configure.
10161 # Note that for python2, we prefer an executable named 'python2' over
10162 # one just named 'python'.
10163 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$ac_cv_python_unknown_version" = "x2"; then
10164 PLAIN_PYTHON_INTERPRETER
=python
10166 PLAIN_PYTHON_INTERPRETER
=python2
10170 # Now we can call AM_PATH_PYTHON to find python version 2.6+ (and
10178 if test -n "$PYTHON"; then
10179 # If the user set $PYTHON, use it and don't search something else.
10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
10181 printf %s
"checking whether $PYTHON version is >= 2.6... " >&6; }
10183 # split strings by '.' and convert to numeric. Append some zeros
10184 # because we need at least 4 digits for the hex conversion.
10185 # map returns an iterator in Python 3.0 and a list in 2.x
10186 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
10188 # xrange is not present in Python 3.0 and range returns an iterator
10189 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
10190 sys.exit(sys.hexversion < minverhex)"
10191 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
10192 ($PYTHON -c "$prog") >&5 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }
10197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10198 printf "%s\n" "yes" >&6; }
10200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10201 printf "%s\n" "no" >&6; }
10202 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
10204 am_display_PYTHON
=$PYTHON
10206 # Otherwise, try each interpreter until we find one that satisfies
10208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
10209 printf %s
"checking for a Python interpreter with version >= 2.6... " >&6; }
10210 if test ${am_cv_pathless_PYTHON+y}
10212 printf %s
"(cached) " >&6
10215 for am_cv_pathless_PYTHON
in python2
$PLAIN_PYTHON_INTERPRETER python2.7 python2.6 none
; do
10216 test "$am_cv_pathless_PYTHON" = none
&& break
10218 # split strings by '.' and convert to numeric. Append some zeros
10219 # because we need at least 4 digits for the hex conversion.
10220 # map returns an iterator in Python 3.0 and a list in 2.x
10221 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
10223 # xrange is not present in Python 3.0 and range returns an iterator
10224 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
10225 sys.exit(sys.hexversion < minverhex)"
10226 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
10227 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
10237 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
10238 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
10239 if test "$am_cv_pathless_PYTHON" = none
; then
10242 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
10243 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
10244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10245 printf %s
"checking for $ac_word... " >&6; }
10246 if test ${ac_cv_path_PYTHON+y}
10248 printf %s
"(cached) " >&6
10252 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
10255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10256 for as_dir
in $PATH
10259 case $as_dir in #(((
10262 *) as_dir
=$as_dir/ ;;
10264 for ac_exec_ext
in '' $ac_executable_extensions; do
10265 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
10266 ac_cv_path_PYTHON
="$as_dir$ac_word$ac_exec_ext"
10267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10277 PYTHON
=$ac_cv_path_PYTHON
10278 if test -n "$PYTHON"; then
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
10280 printf "%s\n" "$PYTHON" >&6; }
10282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10283 printf "%s\n" "no" >&6; }
10288 am_display_PYTHON
=$am_cv_pathless_PYTHON
10292 if test "$PYTHON" = :; then
10296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
10297 printf %s
"checking for $am_display_PYTHON version... " >&6; }
10298 if test ${am_cv_python_version+y}
10300 printf %s
"(cached) " >&6
10302 am_cv_python_version
=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
10304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
10305 printf "%s\n" "$am_cv_python_version" >&6; }
10306 PYTHON_VERSION
=$am_cv_python_version
10309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
10310 printf %s
"checking for $am_display_PYTHON platform... " >&6; }
10311 if test ${am_cv_python_platform+y}
10313 printf %s
"(cached) " >&6
10315 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
10317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
10318 printf "%s\n" "$am_cv_python_platform" >&6; }
10319 PYTHON_PLATFORM
=$am_cv_python_platform
10322 if test "x$prefix" = xNONE
; then
10323 am__usable_prefix
=$ac_default_prefix
10325 am__usable_prefix
=$prefix
10328 # Allow user to request using sys.* values from Python,
10329 # instead of the GNU $prefix values.
10331 # Check whether --with-python-sys-prefix was given.
10332 if test ${with_python_sys_prefix+y}
10334 withval
=$with_python_sys_prefix; am_use_python_sys
=:
10336 am_use_python_sys
=false
10340 # Allow user to override whatever the default Python prefix is.
10342 # Check whether --with-python_prefix was given.
10343 if test ${with_python_prefix+y}
10345 withval
=$with_python_prefix; am_python_prefix_subst
=$withval
10346 am_cv_python_prefix
=$withval
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
10348 printf %s
"checking for explicit $am_display_PYTHON prefix... " >&6; }
10349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
10350 printf "%s\n" "$am_cv_python_prefix" >&6; }
10353 if $am_use_python_sys; then
10354 # using python sys.prefix value, not GNU
10355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
10356 printf %s
"checking for python default $am_display_PYTHON prefix... " >&6; }
10357 if test ${am_cv_python_prefix+y}
10359 printf %s
"(cached) " >&6
10361 am_cv_python_prefix
=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
10364 printf "%s\n" "$am_cv_python_prefix" >&6; }
10366 case $am_cv_python_prefix in
10367 $am__usable_prefix*)
10368 am__strip_prefix
=`echo "$am__usable_prefix" | sed 's|.|.|g'`
10369 am_python_prefix_subst
=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
10372 am_python_prefix_subst
=$am_cv_python_prefix
10375 else # using GNU prefix value, not python sys.prefix
10376 am_python_prefix_subst
='${prefix}'
10377 am_python_prefix
=$am_python_prefix_subst
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
10379 printf %s
"checking for GNU default $am_display_PYTHON prefix... " >&6; }
10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
10381 printf "%s\n" "$am_python_prefix" >&6; }
10385 # Substituting python_prefix_subst value.
10386 PYTHON_PREFIX
=$am_python_prefix_subst
10389 # emacs-page Now do it all over again for Python exec_prefix, but with yet
10390 # another conditional: fall back to regular prefix if that was specified.
10392 # Check whether --with-python_exec_prefix was given.
10393 if test ${with_python_exec_prefix+y}
10395 withval
=$with_python_exec_prefix; am_python_exec_prefix_subst
=$withval
10396 am_cv_python_exec_prefix
=$withval
10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
10398 printf %s
"checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
10399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
10400 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
10403 # no explicit --with-python_exec_prefix, but if
10404 # --with-python_prefix was given, use its value for python_exec_prefix too.
10405 if test -n "$with_python_prefix"
10407 am_python_exec_prefix_subst
=$with_python_prefix
10408 am_cv_python_exec_prefix
=$with_python_prefix
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
10410 printf %s
"checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
10412 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
10415 # Set am__usable_exec_prefix whether using GNU or Python values,
10416 # since we use that variable for pyexecdir.
10417 if test "x$exec_prefix" = xNONE
; then
10418 am__usable_exec_prefix
=$am__usable_prefix
10420 am__usable_exec_prefix
=$exec_prefix
10423 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
10424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
10425 printf %s
"checking for python default $am_display_PYTHON exec_prefix... " >&6; }
10426 if test ${am_cv_python_exec_prefix+y}
10428 printf %s
"(cached) " >&6
10430 am_cv_python_exec_prefix
=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
10432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
10433 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
10434 case $am_cv_python_exec_prefix in
10435 $am__usable_exec_prefix*)
10436 am__strip_prefix
=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
10437 am_python_exec_prefix_subst
=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
10440 am_python_exec_prefix_subst
=$am_cv_python_exec_prefix
10443 else # using GNU $exec_prefix, not python sys.exec_prefix
10444 am_python_exec_prefix_subst
='${exec_prefix}'
10445 am_python_exec_prefix
=$am_python_exec_prefix_subst
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
10447 printf %s
"checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
10449 printf "%s\n" "$am_python_exec_prefix" >&6; }
10454 # Substituting python_exec_prefix_subst.
10455 PYTHON_EXEC_PREFIX
=$am_python_exec_prefix_subst
10458 # Factor out some code duplication into this shell variable.
10459 am_python_setup_sysconfig
="\
10461 # Prefer sysconfig over distutils.sysconfig, for better compatibility
10462 # with python 3.x. See automake bug#10227.
10465 except ImportError:
10466 can_use_sysconfig = 0
10468 can_use_sysconfig = 1
10469 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
10470 # <https://github.com/pypa/virtualenv/issues/118>
10472 from platform import python_implementation
10473 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
10474 can_use_sysconfig = 0
10475 except ImportError:
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
10480 printf %s
"checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
10481 if test ${am_cv_python_pythondir+y}
10483 printf %s
"(cached) " >&6
10485 if test "x$am_cv_python_prefix" = x
; then
10486 am_py_prefix
=$am__usable_prefix
10488 am_py_prefix
=$am_cv_python_prefix
10490 am_cv_python_pythondir
=`$PYTHON -c "
10491 $am_python_setup_sysconfig
10492 if can_use_sysconfig:
10493 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
10495 from distutils import sysconfig
10496 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
10497 sys.stdout.write(sitedir)"`
10499 case $am_cv_python_pythondir in
10501 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
10502 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
10505 case $am_py_prefix in
10507 *) am_cv_python_pythondir
="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
10514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
10515 printf "%s\n" "$am_cv_python_pythondir" >&6; }
10516 pythondir
=$am_cv_python_pythondir
10519 pkgpythondir
=\
${pythondir}/$PACKAGE
10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
10523 printf %s
"checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
10524 if test ${am_cv_python_pyexecdir+y}
10526 printf %s
"(cached) " >&6
10528 if test "x$am_cv_python_exec_prefix" = x
; then
10529 am_py_exec_prefix
=$am__usable_exec_prefix
10531 am_py_exec_prefix
=$am_cv_python_exec_prefix
10533 am_cv_python_pyexecdir
=`$PYTHON -c "
10534 $am_python_setup_sysconfig
10535 if can_use_sysconfig:
10536 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
10538 from distutils import sysconfig
10539 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
10540 sys.stdout.write(sitedir)"`
10542 case $am_cv_python_pyexecdir in
10543 $am_py_exec_prefix*)
10544 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
10545 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
10548 case $am_py_exec_prefix in
10550 *) am_cv_python_pyexecdir
="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
10558 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
10559 pyexecdir
=$am_cv_python_pyexecdir
10562 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
10568 python_basename
=$
(basename "$PYTHON")
10570 printf "%s\n" "#define PYTHON_BASENAME \"${python_basename}\"" >>confdefs.h
10572 if test "x$PYTHON" != "x:"; then
10574 printf "%s\n" "#define PYTHON_EXISTS /**/" >>confdefs.h
10578 # AM_PATH_PYTHON defines 'pyexecdir'. Make sure the python and
10579 # pyexecdir variables get sent down to the subconfigure in the
10580 # testsuite directory.
10581 as_fn_append ac_configure_args
" python='$PYTHON' pyexecdir='$pyexecdir'"
10583 # Now let's try to find python version 3.
10584 for ac_prog
in python3 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0
10586 # Extract the first word of "$ac_prog", so it can be a program name with args.
10587 set dummy
$ac_prog; ac_word
=$2
10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10589 printf %s
"checking for $ac_word... " >&6; }
10590 if test ${ac_cv_path_PYTHON3+y}
10592 printf %s
"(cached) " >&6
10596 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
10599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10600 for as_dir
in $PATH
10603 case $as_dir in #(((
10606 *) as_dir
=$as_dir/ ;;
10608 for ac_exec_ext
in '' $ac_executable_extensions; do
10609 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
10610 ac_cv_path_PYTHON3
="$as_dir$ac_word$ac_exec_ext"
10611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10621 PYTHON3
=$ac_cv_path_PYTHON3
10622 if test -n "$PYTHON3"; then
10623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
10624 printf "%s\n" "$PYTHON3" >&6; }
10626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10627 printf "%s\n" "no" >&6; }
10631 test -n "$PYTHON3" && break
10633 test -n "$PYTHON3" || PYTHON3
=":"
10635 python3_basename
=$
(basename "$PYTHON3")
10637 printf "%s\n" "#define PYTHON3_BASENAME \"${python3_basename}\"" >>confdefs.h
10640 # If we found python version 3, set up the other variables for python
10641 # version 3 that AM_PATH_PYTHON sets up for python version 2.
10642 if test "x$PYTHON3" != "x:"; then
10644 printf "%s\n" "#define PYTHON3_EXISTS /**/" >>confdefs.h
10646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python3 version" >&5
10647 printf %s
"checking for python3 version... " >&6; }
10648 if test ${ac_cv_python3_version+y}
10650 printf %s
"(cached) " >&6
10652 ac_cv_python3_version
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.version[:3])"`
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_version" >&5
10655 printf "%s\n" "$ac_cv_python3_version" >&6; }
10656 PYTHON3_VERSION
=$ac_cv_python3_version
10658 PYTHON3_PREFIX
='${prefix}'
10660 PYTHON3_EXEC_PREFIX
='${exec_prefix}'
10662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python3 platform" >&5
10663 printf %s
"checking for python3 platform... " >&6; }
10664 if test ${ac_cv_python3_platform+y}
10666 printf %s
"(cached) " >&6
10668 ac_cv_python3_platform
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.platform)"`
10670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_platform" >&5
10671 printf "%s\n" "$ac_cv_python3_platform" >&6; }
10672 PYTHON3_PLATFORM
=$ac_cv_python3_platform
10675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python3 script directory" >&5
10676 printf %s
"checking for python3 script directory... " >&6; }
10677 if test ${ac_cv_python3_dir+y}
10679 printf %s
"(cached) " >&6
10681 ac_cv_python3_dir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(0,0,prefix='$PYTHON3_PREFIX'))"`
10683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_dir" >&5
10684 printf "%s\n" "$ac_cv_python3_dir" >&6; }
10685 python3dir
=$ac_cv_python3_dir
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python3 extension module directory" >&5
10689 printf %s
"checking for python3 extension module directory... " >&6; }
10690 if test ${ac_cv_py3execdir+y}
10692 printf %s
"(cached) " >&6
10694 ac_cv_py3execdir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='$PYTHON3_EXEC_PREFIX'))"`
10696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_py3execdir" >&5
10697 printf "%s\n" "$ac_cv_py3execdir" >&6; }
10698 py3execdir
=$ac_cv_py3execdir
10702 # Make sure the python3 and py3execdir variables get sent down to
10703 # the subconfigure in the testsuite directory.
10704 as_fn_append ac_configure_args
" python3='$PYTHON3' py3execdir='$ac_cv_py3execdir'"
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with -Werror" >&5
10707 printf %s
"checking whether to build with -Werror... " >&6; }
10708 # Check whether --enable-Werror was given.
10709 if test ${enable_Werror+y}
10711 enableval
=$enable_Werror;
10714 if test "${enable_Werror}" != "no"
10716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10717 printf "%s\n" "yes" >&6; }
10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10720 printf "%s\n" "no" >&6; }
10722 if test "${enable_Werror}" != "no"; then
10731 if test "${enable_prologues+set}" != set; then
10732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
10733 printf %s
"checking to see if prologue searching should be the default... " >&6; }
10734 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
10736 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10737 enable_prologues
=yes
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10739 printf "%s\n" "yes" >&6; }
10741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10742 printf "%s\n" "no" >&6; }
10745 # Check whether --enable-prologues was given.
10746 if test ${enable_prologues+y}
10748 enableval
=$enable_prologues;
10749 if test "$enable_prologues" = yes; then
10751 printf "%s\n" "#define ENABLE_PROLOGUES /**/" >>confdefs.h
10758 if test "${enable_sdt_probes+set}" != set; then
10759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
10760 printf %s
"checking to see if sdt probes should be the default... " >&6; }
10761 if { echo '#if __GNUC__ < 4'
10763 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10764 enable_sdt_probes
=no
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10766 printf "%s\n" "no" >&6; }
10768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10769 printf "%s\n" "yes" >&6; }
10772 # Check whether --enable-sdt-probes was given.
10773 if test ${enable_sdt_probes+y}
10775 enableval
=$enable_sdt_probes;
10778 if test "x$enable_sdt_probes" != xno
10782 printf "%s\n" "#define ENABLE_SDT_PROBES 1" >>confdefs.h
10788 ax_cxx_compile_cxx11_required
=false
10790 ac_cpp
='$CXXCPP $CPPFLAGS'
10791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
10796 printf %s
"checking whether $CXX supports C++11 features by default... " >&6; }
10797 if test ${ax_cv_cxx_compile_cxx11+y}
10799 printf %s
"(cached) " >&6
10801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10805 // If the compiler admits that it is not ready for C++11, why torture it?
10806 // Hopefully, this will speed up the test.
10808 #ifndef __cplusplus
10810 #error "This is not a C++ compiler"
10812 #elif __cplusplus < 201103L
10814 #error "This is not a C++11 compiler"
10821 namespace test_static_assert
10824 template <typename T>
10827 static_assert(sizeof(int) <= sizeof(T), "not big enough");
10832 namespace test_final_override
10837 virtual void f() {}
10840 struct Derived : public Base
10842 virtual void f() override {}
10847 namespace test_double_right_angle_brackets
10850 template < typename T >
10853 typedef check<void> single_type;
10854 typedef check<check<void>> double_type;
10855 typedef check<check<check<void>>> triple_type;
10856 typedef check<check<check<check<void>>>> quadruple_type;
10860 namespace test_decltype
10873 namespace test_type_deduction
10876 template < typename T1, typename T2 >
10879 static const bool value = false;
10882 template < typename T >
10883 struct is_same<T, T>
10885 static const bool value = true;
10888 template < typename T1, typename T2 >
10890 add(T1 a1, T2 a2) -> decltype(a1 + a2)
10896 test(const int c, volatile int v)
10898 static_assert(is_same<int, decltype(0)>::value == true, "");
10899 static_assert(is_same<int, decltype(c)>::value == false, "");
10900 static_assert(is_same<int, decltype(v)>::value == false, "");
10903 auto sumi = ac + av + 'x';
10904 auto sumf = ac + av + 1.0;
10905 static_assert(is_same<int, decltype(ac)>::value == true, "");
10906 static_assert(is_same<int, decltype(av)>::value == true, "");
10907 static_assert(is_same<int, decltype(sumi)>::value == true, "");
10908 static_assert(is_same<int, decltype(sumf)>::value == false, "");
10909 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
10910 return (sumf > 0.0) ? sumi : add(c, v);
10915 namespace test_noexcept
10918 int f() { return 0; }
10919 int g() noexcept { return 0; }
10921 static_assert(noexcept(f()) == false, "");
10922 static_assert(noexcept(g()) == true, "");
10926 namespace test_constexpr
10929 template < typename CharT >
10930 unsigned long constexpr
10931 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
10933 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
10936 template < typename CharT >
10937 unsigned long constexpr
10938 strlen_c(const CharT *const s) noexcept
10940 return strlen_c_r(s, 0UL);
10943 static_assert(strlen_c("") == 0UL, "");
10944 static_assert(strlen_c("1") == 1UL, "");
10945 static_assert(strlen_c("example") == 7UL, "");
10946 static_assert(strlen_c("another\0example") == 7UL, "");
10950 namespace test_rvalue_references
10956 static constexpr int value = N;
10959 answer<1> f(int&) { return answer<1>(); }
10960 answer<2> f(const int&) { return answer<2>(); }
10961 answer<3> f(int&&) { return answer<3>(); }
10968 static_assert(decltype(f(i))::value == 1, "");
10969 static_assert(decltype(f(c))::value == 2, "");
10970 static_assert(decltype(f(0))::value == 3, "");
10975 namespace test_uniform_initialization
10980 static const int zero {};
10981 static const int one {1};
10984 static_assert(test::zero == 0, "");
10985 static_assert(test::one == 1, "");
10989 namespace test_lambdas
10995 auto lambda1 = [](){};
10996 auto lambda2 = lambda1;
11004 auto a = [](int i, int j){ return i + j; }(1, 2);
11005 auto b = []() -> int { return '0'; }();
11006 auto c = [=](){ return a + b; }();
11007 auto d = [&](){ return c; }();
11008 auto e = [a, &b](int x) mutable {
11009 const auto identity = [](int y){ return y; };
11010 for (auto i = 0; i < a; ++i)
11012 return x + identity(a + b);
11014 return a + b + c + d + e;
11020 const auto nullary = [](){ return 0; };
11021 const auto unary = [](int x){ return x; };
11022 using nullary_t = decltype(nullary);
11023 using unary_t = decltype(unary);
11024 const auto higher1st = [](nullary_t f){ return f(); };
11025 const auto higher2nd = [unary](nullary_t f1){
11026 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
11028 return higher1st(nullary) + higher2nd(nullary)(unary);
11033 namespace test_variadic_templates
11039 template <int N0, int... N1toN>
11040 struct sum<N0, N1toN...>
11042 static constexpr auto value = N0 + sum<N1toN...>::value;
11048 static constexpr auto value = 0;
11051 static_assert(sum<>::value == 0, "");
11052 static_assert(sum<1>::value == 1, "");
11053 static_assert(sum<23>::value == 23, "");
11054 static_assert(sum<1, 2>::value == 3, "");
11055 static_assert(sum<5, 5, 11>::value == 21, "");
11056 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
11060 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
11061 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
11062 // because of this.
11063 namespace test_template_alias_sfinae
11068 template<typename T>
11069 using member = typename T::member_type;
11071 template<typename T>
11074 template<typename T>
11075 void func(member<T>*) {}
11079 void test() { func<foo>(0); }
11083 } // namespace cxx11
11085 #endif // __cplusplus >= 201103L
11090 if ac_fn_cxx_try_compile
"$LINENO"
11092 ax_cv_cxx_compile_cxx11
=yes
11094 ax_cv_cxx_compile_cxx11
=no
11096 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
11099 printf "%s\n" "$ax_cv_cxx_compile_cxx11" >&6; }
11100 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
11106 if test x
$ac_success = xno
; then
11107 for switch
in -std=c
++11 -std=c
++0x
+std
=c
++11 "-h std=c++11"; do
11108 cachevar
=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
11110 printf %s
"checking whether $CXX supports C++11 features with $switch... " >&6; }
11111 if eval test \
${$cachevar+y}
11113 printf %s
"(cached) " >&6
11117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11121 // If the compiler admits that it is not ready for C++11, why torture it?
11122 // Hopefully, this will speed up the test.
11124 #ifndef __cplusplus
11126 #error "This is not a C++ compiler"
11128 #elif __cplusplus < 201103L
11130 #error "This is not a C++11 compiler"
11137 namespace test_static_assert
11140 template <typename T>
11143 static_assert(sizeof(int) <= sizeof(T), "not big enough");
11148 namespace test_final_override
11153 virtual void f() {}
11156 struct Derived : public Base
11158 virtual void f() override {}
11163 namespace test_double_right_angle_brackets
11166 template < typename T >
11169 typedef check<void> single_type;
11170 typedef check<check<void>> double_type;
11171 typedef check<check<check<void>>> triple_type;
11172 typedef check<check<check<check<void>>>> quadruple_type;
11176 namespace test_decltype
11189 namespace test_type_deduction
11192 template < typename T1, typename T2 >
11195 static const bool value = false;
11198 template < typename T >
11199 struct is_same<T, T>
11201 static const bool value = true;
11204 template < typename T1, typename T2 >
11206 add(T1 a1, T2 a2) -> decltype(a1 + a2)
11212 test(const int c, volatile int v)
11214 static_assert(is_same<int, decltype(0)>::value == true, "");
11215 static_assert(is_same<int, decltype(c)>::value == false, "");
11216 static_assert(is_same<int, decltype(v)>::value == false, "");
11219 auto sumi = ac + av + 'x';
11220 auto sumf = ac + av + 1.0;
11221 static_assert(is_same<int, decltype(ac)>::value == true, "");
11222 static_assert(is_same<int, decltype(av)>::value == true, "");
11223 static_assert(is_same<int, decltype(sumi)>::value == true, "");
11224 static_assert(is_same<int, decltype(sumf)>::value == false, "");
11225 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
11226 return (sumf > 0.0) ? sumi : add(c, v);
11231 namespace test_noexcept
11234 int f() { return 0; }
11235 int g() noexcept { return 0; }
11237 static_assert(noexcept(f()) == false, "");
11238 static_assert(noexcept(g()) == true, "");
11242 namespace test_constexpr
11245 template < typename CharT >
11246 unsigned long constexpr
11247 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
11249 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
11252 template < typename CharT >
11253 unsigned long constexpr
11254 strlen_c(const CharT *const s) noexcept
11256 return strlen_c_r(s, 0UL);
11259 static_assert(strlen_c("") == 0UL, "");
11260 static_assert(strlen_c("1") == 1UL, "");
11261 static_assert(strlen_c("example") == 7UL, "");
11262 static_assert(strlen_c("another\0example") == 7UL, "");
11266 namespace test_rvalue_references
11272 static constexpr int value = N;
11275 answer<1> f(int&) { return answer<1>(); }
11276 answer<2> f(const int&) { return answer<2>(); }
11277 answer<3> f(int&&) { return answer<3>(); }
11284 static_assert(decltype(f(i))::value == 1, "");
11285 static_assert(decltype(f(c))::value == 2, "");
11286 static_assert(decltype(f(0))::value == 3, "");
11291 namespace test_uniform_initialization
11296 static const int zero {};
11297 static const int one {1};
11300 static_assert(test::zero == 0, "");
11301 static_assert(test::one == 1, "");
11305 namespace test_lambdas
11311 auto lambda1 = [](){};
11312 auto lambda2 = lambda1;
11320 auto a = [](int i, int j){ return i + j; }(1, 2);
11321 auto b = []() -> int { return '0'; }();
11322 auto c = [=](){ return a + b; }();
11323 auto d = [&](){ return c; }();
11324 auto e = [a, &b](int x) mutable {
11325 const auto identity = [](int y){ return y; };
11326 for (auto i = 0; i < a; ++i)
11328 return x + identity(a + b);
11330 return a + b + c + d + e;
11336 const auto nullary = [](){ return 0; };
11337 const auto unary = [](int x){ return x; };
11338 using nullary_t = decltype(nullary);
11339 using unary_t = decltype(unary);
11340 const auto higher1st = [](nullary_t f){ return f(); };
11341 const auto higher2nd = [unary](nullary_t f1){
11342 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
11344 return higher1st(nullary) + higher2nd(nullary)(unary);
11349 namespace test_variadic_templates
11355 template <int N0, int... N1toN>
11356 struct sum<N0, N1toN...>
11358 static constexpr auto value = N0 + sum<N1toN...>::value;
11364 static constexpr auto value = 0;
11367 static_assert(sum<>::value == 0, "");
11368 static_assert(sum<1>::value == 1, "");
11369 static_assert(sum<23>::value == 23, "");
11370 static_assert(sum<1, 2>::value == 3, "");
11371 static_assert(sum<5, 5, 11>::value == 21, "");
11372 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
11376 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
11377 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
11378 // because of this.
11379 namespace test_template_alias_sfinae
11384 template<typename T>
11385 using member = typename T::member_type;
11387 template<typename T>
11390 template<typename T>
11391 void func(member<T>*) {}
11395 void test() { func<foo>(0); }
11399 } // namespace cxx11
11401 #endif // __cplusplus >= 201103L
11406 if ac_fn_cxx_try_compile
"$LINENO"
11412 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11415 eval ac_res
=\$
$cachevar
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11417 printf "%s\n" "$ac_res" >&6; }
11418 if eval test x\$
$cachevar = xyes
; then
11426 ac_cpp
='$CPP $CPPFLAGS'
11427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11431 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
11432 if test x
$ac_success = xno
; then
11433 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
11436 if test x
$ac_success = xno
; then
11438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
11439 printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;}
11443 printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h
11449 if test "x$HAVE_CXX11" != x1
11453 ac_cpp
='$CXXCPP $CPPFLAGS'
11454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -std=c++0x" >&5
11459 printf %s
"checking whether C++ compiler accepts -std=c++0x... " >&6; }
11460 if test ${ax_cv_check_cxxflags___std_cpp0x+y}
11462 printf %s
"(cached) " >&6
11465 ax_check_save_flags
=$CXXFLAGS
11466 CXXFLAGS
="$CXXFLAGS -std=c++0x"
11467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11478 if ac_fn_cxx_try_compile
"$LINENO"
11480 ax_cv_check_cxxflags___std_cpp0x
=yes
11482 ax_cv_check_cxxflags___std_cpp0x
=no
11484 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11485 CXXFLAGS
=$ax_check_save_flags
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___std_cpp0x" >&5
11488 printf "%s\n" "$ax_cv_check_cxxflags___std_cpp0x" >&6; }
11489 if test "x$ax_cv_check_cxxflags___std_cpp0x" = xyes
11492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Compiling with -std=c++0x" >&5
11493 printf "%s\n" "$as_me: Compiling with -std=c++0x" >&6;}
11494 CXX
="$CXX -std=c++0x"
11500 as_fn_error $?
"A compiler with C++11 support is required." "$LINENO" 5
11505 ac_cpp
='$CPP $CPPFLAGS'
11506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11514 ac_cpp
='$CXXCPP $CPPFLAGS'
11515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -faligned-new" >&5
11520 printf %s
"checking whether C++ compiler accepts -faligned-new... " >&6; }
11521 if test ${ax_cv_check_cxxflags___faligned_new+y}
11523 printf %s
"(cached) " >&6
11526 ax_check_save_flags
=$CXXFLAGS
11527 CXXFLAGS
="$CXXFLAGS -faligned-new"
11528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11539 if ac_fn_cxx_try_compile
"$LINENO"
11541 ax_cv_check_cxxflags___faligned_new
=yes
11543 ax_cv_check_cxxflags___faligned_new
=no
11545 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11546 CXXFLAGS
=$ax_check_save_flags
11548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___faligned_new" >&5
11549 printf "%s\n" "$ax_cv_check_cxxflags___faligned_new" >&6; }
11550 if test "x$ax_cv_check_cxxflags___faligned_new" = xyes
11552 ALIGNEDNEW
="-faligned-new"
11558 ac_cpp
='$CPP $CPPFLAGS'
11559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11571 # Check whether --with-debuginfod was given.
11572 if test ${with_debuginfod+y}
11574 withval
=$with_debuginfod;
11576 with_debuginfod
=auto
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use debuginfod" >&5
11580 printf %s
"checking whether to use debuginfod... " >&6; }
11581 if expr "$with_debuginfod" : "/.*" >/dev
/null
; then
11582 debuginfod_LDFLAGS
=-L$with_debuginfod/lib
11583 debuginfod_LIBS
=-ldebuginfod
11584 debuginfod_CFLAGS
=-I$with_debuginfod/include
11587 printf "%s\n" "#define HAVE_LIBDEBUGINFOD 1" >>confdefs.h
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11590 printf "%s\n" "yes" >&6; }
11591 elif test "x$with_debuginfod" != xno
; then
11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for debuginfod" >&5
11595 printf %s
"checking for debuginfod... " >&6; }
11597 if test -n "$debuginfod_CFLAGS"; then
11598 pkg_cv_debuginfod_CFLAGS
="$debuginfod_CFLAGS"
11599 elif test -n "$PKG_CONFIG"; then
11600 if test -n "$PKG_CONFIG" && \
11601 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdebuginfod >= 0.179\""; } >&5
11602 ($PKG_CONFIG --exists --print-errors "libdebuginfod >= 0.179") 2>&5
11604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11605 test $ac_status = 0; }; then
11606 pkg_cv_debuginfod_CFLAGS
=`$PKG_CONFIG --cflags "libdebuginfod >= 0.179" 2>/dev/null`
11607 test "x$?" != "x0" && pkg_failed
=yes
11614 if test -n "$debuginfod_LIBS"; then
11615 pkg_cv_debuginfod_LIBS
="$debuginfod_LIBS"
11616 elif test -n "$PKG_CONFIG"; then
11617 if test -n "$PKG_CONFIG" && \
11618 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdebuginfod >= 0.179\""; } >&5
11619 ($PKG_CONFIG --exists --print-errors "libdebuginfod >= 0.179") 2>&5
11621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11622 test $ac_status = 0; }; then
11623 pkg_cv_debuginfod_LIBS
=`$PKG_CONFIG --libs "libdebuginfod >= 0.179" 2>/dev/null`
11624 test "x$?" != "x0" && pkg_failed
=yes
11634 if test $pkg_failed = yes; then
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 printf "%s\n" "no" >&6; }
11638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11639 _pkg_short_errors_supported
=yes
11641 _pkg_short_errors_supported
=no
11643 if test $_pkg_short_errors_supported = yes; then
11644 debuginfod_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdebuginfod >= 0.179" 2>&1`
11646 debuginfod_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libdebuginfod >= 0.179" 2>&1`
11648 # Put the nasty error message in config.log where it belongs
11649 echo "$debuginfod_PKG_ERRORS" >&5
11651 if test "x$with_debuginfod" = xyes
; then
11652 as_fn_error $?
"\"--with-debuginfod was given, but libdebuginfod is missing or unusable.\"" "$LINENO" 5
11654 elif test $pkg_failed = untried
; then
11655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11656 printf "%s\n" "no" >&6; }
11657 if test "x$with_debuginfod" = xyes
; then
11658 as_fn_error $?
"\"--with-debuginfod was given, but libdebuginfod is missing or unusable.\"" "$LINENO" 5
11661 debuginfod_CFLAGS
=$pkg_cv_debuginfod_CFLAGS
11662 debuginfod_LIBS
=$pkg_cv_debuginfod_LIBS
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11664 printf "%s\n" "yes" >&6; }
11667 printf "%s\n" "#define HAVE_LIBDEBUGINFOD 1" >>confdefs.h
11671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11672 printf "%s\n" "no" >&6; }
11675 ac_save_CFLAGS
="$CFLAGS"
11676 ac_save_LDFLAGS
="$LDFLAGS"
11677 CFLAGS
="$CFLAGS $debuginfod_CFLAGS"
11678 LDFLAGS
="$LDFLAGS $debuginfod_LDFLAGS"
11679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for debuginfod_find_metadata in -ldebuginfod" >&5
11680 printf %s
"checking for debuginfod_find_metadata in -ldebuginfod... " >&6; }
11681 if test ${ac_cv_lib_debuginfod_debuginfod_find_metadata+y}
11683 printf %s
"(cached) " >&6
11685 ac_check_lib_save_LIBS
=$LIBS
11686 LIBS
="-ldebuginfod $LIBS"
11687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11693 char debuginfod_find_metadata ();
11697 return debuginfod_find_metadata ();
11702 if ac_fn_c_try_link
"$LINENO"
11704 ac_cv_lib_debuginfod_debuginfod_find_metadata
=yes
11706 ac_cv_lib_debuginfod_debuginfod_find_metadata
=no
11708 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
11709 conftest
$ac_exeext conftest.
$ac_ext
11710 LIBS
=$ac_check_lib_save_LIBS
11712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_debuginfod_debuginfod_find_metadata" >&5
11713 printf "%s\n" "$ac_cv_lib_debuginfod_debuginfod_find_metadata" >&6; }
11714 if test "x$ac_cv_lib_debuginfod_debuginfod_find_metadata" = xyes
11718 printf "%s\n" "#define METADATA_QUERY_ENABLED 1" >>confdefs.h
11723 CFLAGS
="$ac_save_CFLAGS"
11724 LDFLAGS
="$ac_save_LDFLAGS"
11727 # Check whether --enable-sqlite was given.
11728 if test ${enable_sqlite+y}
11730 enableval
=$enable_sqlite;
11732 enable_sqlite
=check
11735 if test "x$enable_sqlite" != xno
11739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
11740 printf %s
"checking for sqlite3... " >&6; }
11742 if test -n "$sqlite3_CFLAGS"; then
11743 pkg_cv_sqlite3_CFLAGS
="$sqlite3_CFLAGS"
11744 elif test -n "$PKG_CONFIG"; then
11745 if test -n "$PKG_CONFIG" && \
11746 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
11747 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
11749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11750 test $ac_status = 0; }; then
11751 pkg_cv_sqlite3_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3 > 3.7" 2>/dev/null`
11752 test "x$?" != "x0" && pkg_failed
=yes
11759 if test -n "$sqlite3_LIBS"; then
11760 pkg_cv_sqlite3_LIBS
="$sqlite3_LIBS"
11761 elif test -n "$PKG_CONFIG"; then
11762 if test -n "$PKG_CONFIG" && \
11763 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
11764 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
11766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11767 test $ac_status = 0; }; then
11768 pkg_cv_sqlite3_LIBS
=`$PKG_CONFIG --libs "sqlite3 > 3.7" 2>/dev/null`
11769 test "x$?" != "x0" && pkg_failed
=yes
11779 if test $pkg_failed = yes; then
11780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11781 printf "%s\n" "no" >&6; }
11783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11784 _pkg_short_errors_supported
=yes
11786 _pkg_short_errors_supported
=no
11788 if test $_pkg_short_errors_supported = yes; then
11789 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
11791 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
11793 # Put the nasty error message in config.log where it belongs
11794 echo "$sqlite3_PKG_ERRORS" >&5
11796 if test "x$enable_sqlite" != xcheck
; then
11797 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11798 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
11799 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
11800 See \`config.log' for more details" "$LINENO" 5; }
11802 elif test $pkg_failed = untried
; then
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804 printf "%s\n" "no" >&6; }
11805 if test "x$enable_sqlite" != xcheck
; then
11806 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11807 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
11808 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
11809 See \`config.log' for more details" "$LINENO" 5; }
11812 sqlite3_CFLAGS
=$pkg_cv_sqlite3_CFLAGS
11813 sqlite3_LIBS
=$pkg_cv_sqlite3_LIBS
11814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11815 printf "%s\n" "yes" >&6; }
11817 printf "%s\n" "#define HAVE_LIBSQLITE3 1" >>confdefs.h
11822 # Check whether --enable-translator was given.
11823 if test ${enable_translator+y}
11825 enableval
=$enable_translator;
11827 enable_translator
="yes"
11830 if test "$enable_translator" = "yes"; then
11831 BUILD_TRANSLATOR_TRUE
=
11832 BUILD_TRANSLATOR_FALSE
='#'
11834 BUILD_TRANSLATOR_TRUE
='#'
11835 BUILD_TRANSLATOR_FALSE
=
11839 # Check whether --enable-crash was given.
11840 if test ${enable_crash+y}
11842 enableval
=$enable_crash; if test "$enable_crash" != "no"; then
11843 save_CPPFLAGS
="$CPPFLAGS"
11844 if test "$enable_crash" != "yes"; then
11845 staplog_CPPFLAGS
=-I$enable_crash
11846 CPPFLAGS
="${staplog_CPPFLAGS} $CPPFLAGS"
11849 for ac_header
in crash
/defs.h
11851 ac_fn_c_check_header_compile
"$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
11852 #define NR_CPUS 256
11855 if test "x$ac_cv_header_crash_defs_h" = xyes
11857 printf "%s\n" "#define HAVE_CRASH_DEFS_H 1" >>confdefs.h
11860 as_fn_error $?
"cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
11864 CPPFLAGS
="$save_CPPFLAGS"
11870 if test "$enable_crash" != "no"; then
11871 BUILD_CRASHMOD_TRUE
=
11872 BUILD_CRASHMOD_FALSE
='#'
11874 BUILD_CRASHMOD_TRUE
='#'
11875 BUILD_CRASHMOD_FALSE
=
11880 installing_prebuilt_docs
="yes"
11881 # Check whether --enable-docs was given.
11882 if test ${enable_docs+y}
11884 enableval
=$enable_docs; enable_docs
=$enableval
11886 enable_docs
="prebuilt"
11889 # Extract the first word of "latex", so it can be a program name with args.
11890 set dummy latex
; ac_word
=$2
11891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11892 printf %s
"checking for $ac_word... " >&6; }
11893 if test ${ac_cv_prog_have_latex+y}
11895 printf %s
"(cached) " >&6
11897 if test -n "$have_latex"; then
11898 ac_cv_prog_have_latex
="$have_latex" # Let the user override the test.
11900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11901 for as_dir
in $PATH
11904 case $as_dir in #(((
11907 *) as_dir
=$as_dir/ ;;
11909 for ac_exec_ext
in '' $ac_executable_extensions; do
11910 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
11911 ac_cv_prog_have_latex
="yes"
11912 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11919 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex
="no"
11922 have_latex
=$ac_cv_prog_have_latex
11923 if test -n "$have_latex"; then
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
11925 printf "%s\n" "$have_latex" >&6; }
11927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11928 printf "%s\n" "no" >&6; }
11932 # Extract the first word of "dvips", so it can be a program name with args.
11933 set dummy dvips
; ac_word
=$2
11934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11935 printf %s
"checking for $ac_word... " >&6; }
11936 if test ${ac_cv_prog_have_dvips+y}
11938 printf %s
"(cached) " >&6
11940 if test -n "$have_dvips"; then
11941 ac_cv_prog_have_dvips
="$have_dvips" # Let the user override the test.
11943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11944 for as_dir
in $PATH
11947 case $as_dir in #(((
11950 *) as_dir
=$as_dir/ ;;
11952 for ac_exec_ext
in '' $ac_executable_extensions; do
11953 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
11954 ac_cv_prog_have_dvips
="yes"
11955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11962 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips
="no"
11965 have_dvips
=$ac_cv_prog_have_dvips
11966 if test -n "$have_dvips"; then
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
11968 printf "%s\n" "$have_dvips" >&6; }
11970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11971 printf "%s\n" "no" >&6; }
11975 # Extract the first word of "ps2pdf", so it can be a program name with args.
11976 set dummy ps2pdf
; ac_word
=$2
11977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11978 printf %s
"checking for $ac_word... " >&6; }
11979 if test ${ac_cv_prog_have_ps2pdf+y}
11981 printf %s
"(cached) " >&6
11983 if test -n "$have_ps2pdf"; then
11984 ac_cv_prog_have_ps2pdf
="$have_ps2pdf" # Let the user override the test.
11986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11987 for as_dir
in $PATH
11990 case $as_dir in #(((
11993 *) as_dir
=$as_dir/ ;;
11995 for ac_exec_ext
in '' $ac_executable_extensions; do
11996 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
11997 ac_cv_prog_have_ps2pdf
="yes"
11998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12005 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf
="no"
12008 have_ps2pdf
=$ac_cv_prog_have_ps2pdf
12009 if test -n "$have_ps2pdf"; then
12010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
12011 printf "%s\n" "$have_ps2pdf" >&6; }
12013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12014 printf "%s\n" "no" >&6; }
12018 if test "x${have_latex}${have_dvips}${have_ps2pdf}" != "xyesyesyes"; then
12019 if test "$enable_docs" = "yes"; then
12020 as_fn_error $?
"cannot find all tools for building documentation" "$LINENO" 5
12022 if test "$enable_docs" = "check"; then
12023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
12024 printf "%s\n" "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
12027 if test "$enable_docs" = "prebuilt"; then
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: will only install prebuilt documentation" >&5
12029 printf "%s\n" "$as_me: will only install prebuilt documentation" >&6;}
12031 if test "x${have_latex}${have_dvips}${have_ps2pdf}" = "xyesyesyes" -a "$enable_docs" != "no" -a "$enable_docs" != "prebuilt"; then
12032 building_docs
="yes"
12033 installing_prebuilt_docs
="yes"
12035 if test "$enable_docs" = "no"; then
12036 installing_prebuilt_docs
="no"
12038 if test "$building_docs" = "yes"; then
12040 BUILD_DOCS_FALSE
='#'
12042 BUILD_DOCS_TRUE
='#'
12046 if test "$installing_prebuilt_docs" = "yes"; then
12047 INSTALL_PREBUILT_DOCS_TRUE
=
12048 INSTALL_PREBUILT_DOCS_FALSE
='#'
12050 INSTALL_PREBUILT_DOCS_TRUE
='#'
12051 INSTALL_PREBUILT_DOCS_FALSE
=
12056 building_refdocs
="no"
12057 # Check whether --enable-refdocs was given.
12058 if test ${enable_refdocs+y}
12060 enableval
=$enable_refdocs; enable_refdocs
=$enableval
12062 enable_refdocs
="check"
12065 if test "$building_docs" = "no" -a "$enable_refdocs" = "yes" ; then
12066 as_fn_error $?
"must use --enable-docs with --enable-refdocs" "$LINENO" 5
12068 if test "$enable_refdocs" != "no" -a "${building_docs}" = "yes"; then
12069 building_refdocs
="yes"
12071 if test "$building_refdocs" = "yes"; then
12072 BUILD_REFDOCS_TRUE
=
12073 BUILD_REFDOCS_FALSE
='#'
12075 BUILD_REFDOCS_TRUE
='#'
12076 BUILD_REFDOCS_FALSE
=
12080 # Extract the first word of "xmlto", so it can be a program name with args.
12081 set dummy xmlto
; ac_word
=$2
12082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12083 printf %s
"checking for $ac_word... " >&6; }
12084 if test ${ac_cv_prog_have_xmlto+y}
12086 printf %s
"(cached) " >&6
12088 if test -n "$have_xmlto"; then
12089 ac_cv_prog_have_xmlto
="$have_xmlto" # Let the user override the test.
12091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12092 for as_dir
in $PATH
12095 case $as_dir in #(((
12098 *) as_dir
=$as_dir/ ;;
12100 for ac_exec_ext
in '' $ac_executable_extensions; do
12101 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
12102 ac_cv_prog_have_xmlto
="yes"
12103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12110 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto
="no"
12113 have_xmlto
=$ac_cv_prog_have_xmlto
12114 if test -n "$have_xmlto"; then
12115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
12116 printf "%s\n" "$have_xmlto" >&6; }
12118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12119 printf "%s\n" "no" >&6; }
12123 # Extract the first word of "fop", so it can be a program name with args.
12124 set dummy fop
; ac_word
=$2
12125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12126 printf %s
"checking for $ac_word... " >&6; }
12127 if test ${ac_cv_prog_have_fop+y}
12129 printf %s
"(cached) " >&6
12131 if test -n "$have_fop"; then
12132 ac_cv_prog_have_fop
="$have_fop" # Let the user override the test.
12134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12135 for as_dir
in $PATH
12138 case $as_dir in #(((
12141 *) as_dir
=$as_dir/ ;;
12143 for ac_exec_ext
in '' $ac_executable_extensions; do
12144 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
12145 ac_cv_prog_have_fop
="yes"
12146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12153 test -z "$ac_cv_prog_have_fop" && ac_cv_prog_have_fop
="no"
12156 have_fop
=$ac_cv_prog_have_fop
12157 if test -n "$have_fop"; then
12158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_fop" >&5
12159 printf "%s\n" "$have_fop" >&6; }
12161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 printf "%s\n" "no" >&6; }
12166 if test "x${have_fop}" = "xyes"; then
12167 # Due to rhbz505364 / 830266, we must actually test-run fop, not just
12168 # hope that it works.
12169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if xmlto --with-fop actually works" >&5
12170 printf %s
"checking to see if xmlto --with-fop actually works... " >&6; }
12171 if xmlto
--with-fop pdf
${srcdir}/doc
/SystemTap_Tapset_Reference
/dummy-tapsets.xml
>/dev
/null
2>&1; then
12172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12173 printf "%s\n" "yes" >&6; }
12175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: it's dead, Jim" >&5
12176 printf "%s\n" "it's dead, Jim" >&6; }
12179 rm -f dummy-tapsets.pdf
12181 if test "$have_fop" = "yes"; then
12189 if test "$have_xmlto" = "yes"; then
12191 HAVE_XMLTO_FALSE
='#'
12193 HAVE_XMLTO_TRUE
='#'
12198 building_htmldocs
="no"
12199 # Check whether --enable-htmldocs was given.
12200 if test ${enable_htmldocs+y}
12202 enableval
=$enable_htmldocs; building_htmldocs
=$enableval
12204 building_htmldocs
="no"
12207 if test "$have_xmlto" = "no" -a "$building_htmldocs" = "yes"; then
12208 as_fn_error $?
"xmlto required for building html documentation" "$LINENO" 5
12211 if test "$building_htmldocs" = "yes"; then
12212 BUILD_HTMLDOCS_TRUE
=
12213 BUILD_HTMLDOCS_FALSE
='#'
12215 BUILD_HTMLDOCS_TRUE
='#'
12216 BUILD_HTMLDOCS_FALSE
=
12220 cat > conftest.xml
<< 'EOF'
12221 <?xml version
="1.0" encoding
="UTF-8"?
>
12222 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN"
12223 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
12225 <bookinfo
><title
>foo
</title
></bookinfo
>
12226 <chapter id
="logging.stp"><title
>Logging Tapset
</title
>
12227 <refentry id
="API-log"><refnamediv
><refname
>log
</refname
>
12228 <refpurpose
>logging
</refpurpose
></refnamediv
>
12229 <refsect1
><title
>Description
</title
>
12230 <para
>baz
</para
></refsect1
></refentry
></chapter
>
12234 if test "x${have_xmlto}" = "xyes"; then
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
12236 printf %s
"checking for xmlto --stringparam support... " >&6; }
12237 xmlto
--stringparam man.authors.section.enabled
=0 html-nochunks conftest.xml
>/dev
/null
2>&1
12238 if test $?
= 0; then
12239 have_xmlto_stringparam
="yes"
12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12241 printf "%s\n" "yes" >&6; }
12243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12244 printf "%s\n" "no" >&6; }
12246 rm -f conftest.html
12248 if test "$have_xmlto_stringparam" = "yes"; then
12249 XMLTO_STRINGPARAM_TRUE
=
12250 XMLTO_STRINGPARAM_FALSE
='#'
12252 XMLTO_STRINGPARAM_TRUE
='#'
12253 XMLTO_STRINGPARAM_FALSE
=
12260 # Check whether --with-nss was given.
12261 if test ${with_nss+y}
12267 if test "x$with_nss" != "xno"
12272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
12273 printf %s
"checking for nss... " >&6; }
12275 if test -n "$nss_CFLAGS"; then
12276 pkg_cv_nss_CFLAGS
="$nss_CFLAGS"
12277 elif test -n "$PKG_CONFIG"; then
12278 if test -n "$PKG_CONFIG" && \
12279 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
12280 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
12282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12283 test $ac_status = 0; }; then
12284 pkg_cv_nss_CFLAGS
=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev/null`
12285 test "x$?" != "x0" && pkg_failed
=yes
12292 if test -n "$nss_LIBS"; then
12293 pkg_cv_nss_LIBS
="$nss_LIBS"
12294 elif test -n "$PKG_CONFIG"; then
12295 if test -n "$PKG_CONFIG" && \
12296 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
12297 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
12299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12300 test $ac_status = 0; }; then
12301 pkg_cv_nss_LIBS
=`$PKG_CONFIG --libs "nss >= 3" 2>/dev/null`
12302 test "x$?" != "x0" && pkg_failed
=yes
12312 if test $pkg_failed = yes; then
12313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 printf "%s\n" "no" >&6; }
12316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12317 _pkg_short_errors_supported
=yes
12319 _pkg_short_errors_supported
=no
12321 if test $_pkg_short_errors_supported = yes; then
12322 nss_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= 3" 2>&1`
12324 nss_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "nss >= 3" 2>&1`
12326 # Put the nasty error message in config.log where it belongs
12327 echo "$nss_PKG_ERRORS" >&5
12330 elif test $pkg_failed = untried
; then
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12332 printf "%s\n" "no" >&6; }
12335 nss_CFLAGS
=$pkg_cv_nss_CFLAGS
12336 nss_LIBS
=$pkg_cv_nss_LIBS
12337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12338 printf "%s\n" "yes" >&6; }
12341 printf "%s\n" "#define HAVE_NSS 1" >>confdefs.h
12350 if test "${have_nss}" = "yes"; then
12360 # Check whether --with-openssl was given.
12361 if test ${with_openssl+y}
12363 withval
=$with_openssl;
12367 if test "x$with_openssl" != "xno"
12372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
12373 printf %s
"checking for openssl... " >&6; }
12375 if test -n "$openssl_CFLAGS"; then
12376 pkg_cv_openssl_CFLAGS
="$openssl_CFLAGS"
12377 elif test -n "$PKG_CONFIG"; then
12378 if test -n "$PKG_CONFIG" && \
12379 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
12380 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
12382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12383 test $ac_status = 0; }; then
12384 pkg_cv_openssl_CFLAGS
=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
12385 test "x$?" != "x0" && pkg_failed
=yes
12392 if test -n "$openssl_LIBS"; then
12393 pkg_cv_openssl_LIBS
="$openssl_LIBS"
12394 elif test -n "$PKG_CONFIG"; then
12395 if test -n "$PKG_CONFIG" && \
12396 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
12397 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
12399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12400 test $ac_status = 0; }; then
12401 pkg_cv_openssl_LIBS
=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
12402 test "x$?" != "x0" && pkg_failed
=yes
12412 if test $pkg_failed = yes; then
12413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12414 printf "%s\n" "no" >&6; }
12416 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12417 _pkg_short_errors_supported
=yes
12419 _pkg_short_errors_supported
=no
12421 if test $_pkg_short_errors_supported = yes; then
12422 openssl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
12424 openssl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
12426 # Put the nasty error message in config.log where it belongs
12427 echo "$openssl_PKG_ERRORS" >&5
12430 elif test $pkg_failed = untried
; then
12431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 printf "%s\n" "no" >&6; }
12435 openssl_CFLAGS
=$pkg_cv_openssl_CFLAGS
12436 openssl_LIBS
=$pkg_cv_openssl_LIBS
12437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12438 printf "%s\n" "yes" >&6; }
12441 printf "%s\n" "#define HAVE_OPENSSL 1" >>confdefs.h
12450 if test "${have_openssl}" = "yes"; then
12452 HAVE_OPENSSL_FALSE
='#'
12454 HAVE_OPENSSL_TRUE
='#'
12455 HAVE_OPENSSL_FALSE
=
12460 # Check whether --with-dracutstap was given.
12461 if test ${with_dracutstap+y}
12463 withval
=$with_dracutstap;
12466 if test "x$with_dracutstap" != "x"
12468 dracutstap
="$with_dracutstap"
12470 dracutstap
=/usr
/lib
/dracut
/modules.d
/99stap
12472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using dracut module directory $dracutstap" >&5
12473 printf "%s\n" "$as_me: using dracut module directory $dracutstap" >&6;}
12477 # Check whether --with-dracutbindir was given.
12478 if test ${with_dracutbindir+y}
12480 withval
=$with_dracutbindir;
12483 if test "x$with_dracutbindir" != "x"
12485 dracutbindir
="$with_dracutbindir"
12489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using dracut binary $dracutbindir" >&5
12490 printf "%s\n" "$as_me: using dracut binary $dracutbindir" >&6;}
12493 # Check whether --enable-server was given.
12494 if test ${enable_server+y}
12496 enableval
=$enable_server; enable_server
=$enableval
12498 enable_server
="check"
12502 if test "$enable_server" != "no"; then
12503 if test "x${have_nss}" != "xyes"; then
12504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss headers" >&5
12505 printf "%s\n" "$as_me: WARNING: will not build systemtap compile server, cannot find nss headers" >&2;}
12508 if test "${have_nss}" = "yes" -a "$enable_server" != "no"; then
12510 BUILD_SERVER_FALSE
='#'
12512 BUILD_SERVER_TRUE
='#'
12513 BUILD_SERVER_FALSE
=
12517 if test "${have_nss}" != "yes"; then
12518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&5
12519 printf "%s\n" "$as_me: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&2;}
12523 # Check whether --with-avahi was given.
12524 if test ${with_avahi+y}
12526 withval
=$with_avahi;
12530 if test "x$with_avahi" != "xno"
12535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
12536 printf %s
"checking for avahi... " >&6; }
12538 if test -n "$avahi_CFLAGS"; then
12539 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
12540 elif test -n "$PKG_CONFIG"; then
12541 if test -n "$PKG_CONFIG" && \
12542 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
12543 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
12545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12546 test $ac_status = 0; }; then
12547 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
12548 test "x$?" != "x0" && pkg_failed
=yes
12555 if test -n "$avahi_LIBS"; then
12556 pkg_cv_avahi_LIBS
="$avahi_LIBS"
12557 elif test -n "$PKG_CONFIG"; then
12558 if test -n "$PKG_CONFIG" && \
12559 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
12560 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
12562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12563 test $ac_status = 0; }; then
12564 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
12565 test "x$?" != "x0" && pkg_failed
=yes
12575 if test $pkg_failed = yes; then
12576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 printf "%s\n" "no" >&6; }
12579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12580 _pkg_short_errors_supported
=yes
12582 _pkg_short_errors_supported
=no
12584 if test $_pkg_short_errors_supported = yes; then
12585 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
12587 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
12589 # Put the nasty error message in config.log where it belongs
12590 echo "$avahi_PKG_ERRORS" >&5
12593 elif test $pkg_failed = untried
; then
12594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12595 printf "%s\n" "no" >&6; }
12598 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
12599 avahi_LIBS
=$pkg_cv_avahi_LIBS
12600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12601 printf "%s\n" "yes" >&6; }
12604 printf "%s\n" "#define HAVE_AVAHI 1" >>confdefs.h
12613 if test "${have_avahi}" = "yes"; then
12615 HAVE_AVAHI_FALSE
='#'
12617 HAVE_AVAHI_TRUE
='#'
12622 if test "${have_avahi}" != "yes"; then
12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&5
12624 printf "%s\n" "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&2;}
12629 # Check whether --with-rpm was given.
12630 if test ${with_rpm+y}
12637 if test "$with_rpm" != "no"; then
12638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
12639 printf %s
"checking for rpmtsInitIterator in -lrpm... " >&6; }
12640 if test ${ac_cv_lib_rpm_rpmtsInitIterator+y}
12642 printf %s
"(cached) " >&6
12644 ac_check_lib_save_LIBS
=$LIBS
12646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12652 char rpmtsInitIterator ();
12656 return rpmtsInitIterator ();
12661 if ac_fn_c_try_link
"$LINENO"
12663 ac_cv_lib_rpm_rpmtsInitIterator
=yes
12665 ac_cv_lib_rpm_rpmtsInitIterator
=no
12667 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12668 conftest
$ac_exeext conftest.
$ac_ext
12669 LIBS
=$ac_check_lib_save_LIBS
12671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
12672 printf "%s\n" "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
12673 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = xyes
12677 printf "%s\n" "#define HAVE_LIBRPM 1" >>confdefs.h
12679 stap_LIBS
="$stap_LIBS -lc -lrpm"
12685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rpmdbNextIterator in -lrpmdb" >&5
12686 printf %s
"checking for rpmdbNextIterator in -lrpmdb... " >&6; }
12687 if test ${ac_cv_lib_rpmdb_rpmdbNextIterator+y}
12689 printf %s
"(cached) " >&6
12691 ac_check_lib_save_LIBS
=$LIBS
12692 LIBS
="-lrpmdb $LIBS"
12693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12696 /* Override any GCC internal prototype to avoid an error.
12697 Use char because int might match the return type of a GCC
12698 builtin and then its argument prototype would still apply. */
12699 char rpmdbNextIterator ();
12703 return rpmdbNextIterator ();
12708 if ac_fn_c_try_link
"$LINENO"
12710 ac_cv_lib_rpmdb_rpmdbNextIterator
=yes
12712 ac_cv_lib_rpmdb_rpmdbNextIterator
=no
12714 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12715 conftest
$ac_exeext conftest.
$ac_ext
12716 LIBS
=$ac_check_lib_save_LIBS
12718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmdb_rpmdbNextIterator" >&5
12719 printf "%s\n" "$ac_cv_lib_rpmdb_rpmdbNextIterator" >&6; }
12720 if test "x$ac_cv_lib_rpmdb_rpmdbNextIterator" = xyes
12723 stap_LIBS
="$stap_LIBS -lrpmdb"
12726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
12727 printf %s
"checking for rpmFreeCrypto in -lrpmio... " >&6; }
12728 if test ${ac_cv_lib_rpmio_rpmFreeCrypto+y}
12730 printf %s
"(cached) " >&6
12732 ac_check_lib_save_LIBS
=$LIBS
12733 LIBS
="-lrpmio $LIBS"
12734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 char rpmFreeCrypto ();
12744 return rpmFreeCrypto ();
12749 if ac_fn_c_try_link
"$LINENO"
12751 ac_cv_lib_rpmio_rpmFreeCrypto
=yes
12753 ac_cv_lib_rpmio_rpmFreeCrypto
=no
12755 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12756 conftest
$ac_exeext conftest.
$ac_ext
12757 LIBS
=$ac_check_lib_save_LIBS
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
12760 printf "%s\n" "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
12761 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = xyes
12765 printf "%s\n" "#define HAVE_LIBRPMIO 1" >>confdefs.h
12767 stap_LIBS
="$stap_LIBS -lc -lrpmio"
12768 have_librpmio
="yes"
12773 if test "x$have_librpm" != "xyes" -a "$with_rpm" = "yes"; then
12774 as_fn_error $?
"cannot find librpm" "$LINENO" 5
12776 if test "x$have_librpmio" != "xyes" -a "$with_rpm" = "yes"; then
12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
12778 printf "%s\n" "$as_me: WARNING: cannot find librpmio" >&2;}
12782 ac_fn_c_check_header_compile
"$LINENO" "stdatomic.h" "ac_cv_header_stdatomic_h" "$ac_includes_default"
12783 if test "x$ac_cv_header_stdatomic_h" = xyes
12785 printf "%s\n" "#define HAVE_STDATOMIC_H 1" >>confdefs.h
12790 for ac_header
in rpm
/rpmcrypto.h
12792 ac_fn_c_check_header_compile
"$LINENO" "rpm/rpmcrypto.h" "ac_cv_header_rpm_rpmcrypto_h" "$ac_includes_default"
12793 if test "x$ac_cv_header_rpm_rpmcrypto_h" = xyes
12795 printf "%s\n" "#define HAVE_RPM_RPMCRYPTO_H 1" >>confdefs.h
12798 printf "%s\n" "#define HAVE_RPMCRYPTO_H 1" >>confdefs.h
12800 have_rpmcrypto_h
=yes
12801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: separate rpm/rpmcrypto.h" >&5
12802 printf "%s\n" "$as_me: separate rpm/rpmcrypto.h" >&6;}
12807 LIBS_no_readline
=$LIBS
12809 have_libreadline
="no"
12810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
12811 printf %s
"checking how to link readline libs... " >&6; }
12812 for libtermcap
in "" tinfo ncursesw ncurses curses termcap
; do
12813 if test -z "$libtermcap"; then
12814 READLINE_LIBS
="-lreadline"
12816 READLINE_LIBS
="-lreadline -l$libtermcap"
12818 LIBS
="$READLINE_LIBS $LIBS_no_readline"
12819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h. */
12822 /* Override any GCC internal prototype to avoid an error.
12823 Use char because int might match the return type of a GCC
12824 builtin and then its argument prototype would still apply. */
12829 return readline ();
12834 if ac_fn_c_try_link
"$LINENO"
12836 have_libreadline
="yes"
12838 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12839 conftest
$ac_exeext conftest.
$ac_ext
12840 if test "$have_libreadline" = "yes"; then
12844 if test "$have_libreadline" = "no"; then
12845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
12846 printf "%s\n" "none" >&6; }
12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
12850 printf "%s\n" "$READLINE_LIBS" >&6; }
12852 printf "%s\n" "#define HAVE_LIBREADLINE 1" >>confdefs.h
12856 if test "$have_libreadline" = "yes"; then
12857 HAVE_LIBREADLINE_TRUE
=
12858 HAVE_LIBREADLINE_FALSE
='#'
12860 HAVE_LIBREADLINE_TRUE
='#'
12861 HAVE_LIBREADLINE_FALSE
=
12865 LIBS
=$LIBS_no_readline
12868 # Check whether --with-python3 was given.
12869 if test ${with_python3+y}
12871 withval
=$with_python3;
12873 with_python3
="auto"
12876 if test "x$with_python3" = "xyes"
12878 if test "x$PYTHON3" = "x:"
12880 as_fn_error $?
"python version 3 is required" "$LINENO" 5
12882 preferred_python
=$PYTHON3
12885 elif test "x$with_python3" = "xno"
12887 if test "x$PYTHON" = "x:"
12889 as_fn_error $?
"python version 2 is required" "$LINENO" 5
12891 preferred_python
=$PYTHON
12894 elif test "x$PYTHON3" != "x:"
12896 preferred_python
=$PYTHON3
12898 elif test "x$PYTHON" != "x:"
12900 preferred_python
=$PYTHON
12903 as_fn_error $?
"neither python version 2 nor 3 found" "$LINENO" 5
12906 if test $enable_translator = yes; then
12907 # Need libdwfl-capable recent elfutils http://elfutils.org/
12908 # On modern debian/ubuntu and modern elfutils, libebl has been
12909 # merged into libdw
12910 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ebl_strtabinit in -lebl" >&5
12913 printf %s
"checking for ebl_strtabinit in -lebl... " >&6; }
12914 if test ${ac_cv_lib_ebl_ebl_strtabinit+y}
12916 printf %s
"(cached) " >&6
12918 ac_check_lib_save_LIBS
=$LIBS
12920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12923 /* Override any GCC internal prototype to avoid an error.
12924 Use char because int might match the return type of a GCC
12925 builtin and then its argument prototype would still apply. */
12926 char ebl_strtabinit ();
12930 return ebl_strtabinit ();
12935 if ac_fn_c_try_link
"$LINENO"
12937 ac_cv_lib_ebl_ebl_strtabinit
=yes
12939 ac_cv_lib_ebl_ebl_strtabinit
=no
12941 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12942 conftest
$ac_exeext conftest.
$ac_ext
12943 LIBS
=$ac_check_lib_save_LIBS
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_strtabinit" >&5
12946 printf "%s\n" "$ac_cv_lib_ebl_ebl_strtabinit" >&6; }
12947 if test "x$ac_cv_lib_ebl_ebl_strtabinit" = xyes
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
12958 printf %s
"checking for dwfl_module_getsym in -ldw... " >&6; }
12959 if test ${ac_cv_lib_dw_dwfl_module_getsym+y}
12961 printf %s
"(cached) " >&6
12963 ac_check_lib_save_LIBS
=$LIBS
12964 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
12965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12966 /* end confdefs.h. */
12968 /* Override any GCC internal prototype to avoid an error.
12969 Use char because int might match the return type of a GCC
12970 builtin and then its argument prototype would still apply. */
12971 char dwfl_module_getsym ();
12975 return dwfl_module_getsym ();
12980 if ac_fn_c_try_link
"$LINENO"
12982 ac_cv_lib_dw_dwfl_module_getsym
=yes
12984 ac_cv_lib_dw_dwfl_module_getsym
=no
12986 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12987 conftest
$ac_exeext conftest.
$ac_ext
12988 LIBS
=$ac_check_lib_save_LIBS
12990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
12991 printf "%s\n" "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
12992 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = xyes
12994 printf "%s\n" "#define HAVE_LIBDW 1" >>confdefs.h
13000 as_fn_error $?
"missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
13003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dwarf_next_unit in -ldw" >&5
13004 printf %s
"checking for dwarf_next_unit in -ldw... " >&6; }
13005 if test ${ac_cv_lib_dw_dwarf_next_unit+y}
13007 printf %s
"(cached) " >&6
13009 ac_check_lib_save_LIBS
=$LIBS
13010 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
13011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13017 char dwarf_next_unit ();
13021 return dwarf_next_unit ();
13026 if ac_fn_c_try_link
"$LINENO"
13028 ac_cv_lib_dw_dwarf_next_unit
=yes
13030 ac_cv_lib_dw_dwarf_next_unit
=no
13032 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13033 conftest
$ac_exeext conftest.
$ac_ext
13034 LIBS
=$ac_check_lib_save_LIBS
13036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_next_unit" >&5
13037 printf "%s\n" "$ac_cv_lib_dw_dwarf_next_unit" >&6; }
13038 if test "x$ac_cv_lib_dw_dwarf_next_unit" = xyes
13040 printf "%s\n" "#define HAVE_LIBDW 1" >>confdefs.h
13046 as_fn_error $?
"elfutils, libdw too old, need 0.148+" "$LINENO" 5
13049 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
13054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
13055 printf "%s\n" "$as_me: stap will link $stap_LIBS" >&6;}
13057 # staprun has more modest libelf needs
13059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
13060 printf %s
"checking for elf_getshdrstrndx in -lelf... " >&6; }
13061 if test ${ac_cv_lib_elf_elf_getshdrstrndx+y}
13063 printf %s
"(cached) " >&6
13065 ac_check_lib_save_LIBS
=$LIBS
13067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 char elf_getshdrstrndx ();
13077 return elf_getshdrstrndx ();
13082 if ac_fn_c_try_link
"$LINENO"
13084 ac_cv_lib_elf_elf_getshdrstrndx
=yes
13086 ac_cv_lib_elf_elf_getshdrstrndx
=no
13088 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13089 conftest
$ac_exeext conftest.
$ac_ext
13090 LIBS
=$ac_check_lib_save_LIBS
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
13093 printf "%s\n" "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
13094 if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes
13096 printf "%s\n" "#define HAVE_LIBELF 1" >>confdefs.h
13102 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13103 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13104 as_fn_error $?
"libelf too old, need 0.142+
13105 See \`config.log' for more details" "$LINENO" 5; }
13108 staprun_LIBS
="$staprun_LIBS -lelf"
13109 stapbpf_LIBS
="$stapbpf_LIBS -lelf"
13114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: staprun will link $staprun_LIBS" >&5
13115 printf "%s\n" "$as_me: staprun will link $staprun_LIBS" >&6;}
13116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: stapbpf will link $stapbpf_LIBS" >&5
13117 printf "%s\n" "$as_me: stapbpf will link $stapbpf_LIBS" >&6;}
13119 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
13120 # being compiled on 32-bit userspace but running against 64-bit kernels.
13121 # This is no longer necessary.
13124 ac_cpp
='$CXXCPP $CPPFLAGS'
13125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13129 # Use boost::string_ref if available
13130 ac_fn_cxx_check_header_compile
"$LINENO" "boost/utility/string_ref.hpp" "ac_cv_header_boost_utility_string_ref_hpp" "$ac_includes_default"
13131 if test "x$ac_cv_header_boost_utility_string_ref_hpp" = xyes
13133 printf "%s\n" "#define HAVE_BOOST_UTILITY_STRING_REF_HPP 1" >>confdefs.h
13137 # add boost_system bits for stapdyn with dyninst 10+
13139 LIBS
="-lboost_system $LIBS"
13140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking need for -lboost_system library" >&5
13141 printf %s
"checking need for -lboost_system library... " >&6; }
13142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 #include <boost/system/system_error.hpp>
13147 boost::system::error_condition e();
13151 if ac_fn_cxx_try_link
"$LINENO"
13153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yup" >&5
13154 printf "%s\n" "yup" >&6; }
13155 BOOST_SYSTEM_LIB
="-lboost_system"
13158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: nope" >&5
13159 printf "%s\n" "nope" >&6; }
13160 BOOST_SYSTEM_LIB
=""
13163 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13164 conftest
$ac_exeext conftest.
$ac_ext
13169 ac_cpp
='$CPP $CPPFLAGS'
13170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13175 # Check for Dyninst headers and libraries
13177 # Check whether --with-dyninst was given.
13178 if test ${with_dyninst+y}
13180 withval
=$with_dyninst;
13184 case "$with_dyninst" in
13186 ''|
yes) # Try a simple-minded distro search
13187 DYNINST_CXXFLAGS
="-I/usr/include/dyninst"
13189 old_LDFLAGS
="$LDFLAGS"
13190 old_CPPFLAGS
="$CPPFLAGS"
13191 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
13193 ac_cpp
='$CXXCPP $CPPFLAGS'
13194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13198 for location
in /usr
/lib64
/dyninst
/usr
/lib
/dyninst
${libdir}/dyninst
; do
13199 LDFLAGS
="-L${location}"
13200 LIBS
="-lparseAPI ${BOOST_SYSTEM_LIB}"
13201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13203 #include <dyninst/CodeSource.h>
13207 char *s; Dyninst::ParseAPI::SymtabCodeSource *sts = new Dyninst::ParseAPI::SymtabCodeSource(s);
13212 if ac_fn_cxx_try_link
"$LINENO"
13214 found_DYNINST_LDFLAGS
=yes
13216 found_DYNINST_LDFLAGS
=no
13218 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13219 conftest
$ac_exeext conftest.
$ac_ext
13220 if test "$found_DYNINST_LDFLAGS" = "yes"; then
13221 DYNINST_LDFLAGS
="$LDFLAGS"
13226 ac_cpp
='$CPP $CPPFLAGS'
13227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13231 CPPFLAGS
="$old_CPPFLAGS"
13232 LDFLAGS
="$old_LDFLAGS"
13235 # Add Dyninst libraries only if they are available
13236 if test -d "/usr/include/dyninst"; then
13238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TBB_runtime_interface_version in -ltbb" >&5
13239 printf %s
"checking for TBB_runtime_interface_version in -ltbb... " >&6; }
13240 if test ${ac_cv_lib_tbb_TBB_runtime_interface_version+y}
13242 printf %s
"(cached) " >&6
13244 ac_check_lib_save_LIBS
=$LIBS
13246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13249 /* Override any GCC internal prototype to avoid an error.
13250 Use char because int might match the return type of a GCC
13251 builtin and then its argument prototype would still apply. */
13252 char TBB_runtime_interface_version ();
13256 return TBB_runtime_interface_version ();
13261 if ac_fn_c_try_link
"$LINENO"
13263 ac_cv_lib_tbb_TBB_runtime_interface_version
=yes
13265 ac_cv_lib_tbb_TBB_runtime_interface_version
=no
13267 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13268 conftest
$ac_exeext conftest.
$ac_ext
13269 LIBS
=$ac_check_lib_save_LIBS
13271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tbb_TBB_runtime_interface_version" >&5
13272 printf "%s\n" "$ac_cv_lib_tbb_TBB_runtime_interface_version" >&6; }
13273 if test "x$ac_cv_lib_tbb_TBB_runtime_interface_version" = xyes
13281 DYNINST_LIBS
="-lparseAPI -lsymtabAPI -linstructionAPI $tbb_LIBS -lcommon"
13284 *) # Use paths in the user-specified prefix
13285 DYNINST_CXXFLAGS
="-I$with_dyninst/include -I$with_dyninst/include/dyninst"
13286 DYNINST_LDFLAGS
="-L$with_dyninst/lib64/dyninst -Wl,-rpath-link,$with_dyninst/lib64/dyninst"
13287 # Will assume Dyninst libraries are available as the path is specified
13289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TBB_runtime_interface_version in -ltbb" >&5
13290 printf %s
"checking for TBB_runtime_interface_version in -ltbb... " >&6; }
13291 if test ${ac_cv_lib_tbb_TBB_runtime_interface_version+y}
13293 printf %s
"(cached) " >&6
13295 ac_check_lib_save_LIBS
=$LIBS
13297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 char TBB_runtime_interface_version ();
13307 return TBB_runtime_interface_version ();
13312 if ac_fn_c_try_link
"$LINENO"
13314 ac_cv_lib_tbb_TBB_runtime_interface_version
=yes
13316 ac_cv_lib_tbb_TBB_runtime_interface_version
=no
13318 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
13319 conftest
$ac_exeext conftest.
$ac_ext
13320 LIBS
=$ac_check_lib_save_LIBS
13322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tbb_TBB_runtime_interface_version" >&5
13323 printf "%s\n" "$ac_cv_lib_tbb_TBB_runtime_interface_version" >&6; }
13324 if test "x$ac_cv_lib_tbb_TBB_runtime_interface_version" = xyes
13332 DYNINST_LIBS
="-lparseAPI -lsymtabAPI -linstructionAPI $tbb_LIBS -lcommon"
13335 if test "$with_dyninst" != "no"; then
13337 ac_cpp
='$CXXCPP $CPPFLAGS'
13338 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13342 old_CPPFLAGS
="$CPPFLAGS"
13343 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
13344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dyninst support" >&5
13345 printf "%s\n" "$as_me: checking dyninst support" >&6;}
13346 for ac_header
in dyninst
/BPatch_object.h
13348 ac_fn_cxx_check_header_compile
"$LINENO" "dyninst/BPatch_object.h" "ac_cv_header_dyninst_BPatch_object_h" "$ac_includes_default"
13349 if test "x$ac_cv_header_dyninst_BPatch_object_h" = xyes
13351 printf "%s\n" "#define HAVE_DYNINST_BPATCH_OBJECT_H 1" >>confdefs.h
13357 printf "%s\n" "#define HAVE_DYNINST 1" >>confdefs.h
13360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: dyninst support available" >&5
13361 printf "%s\n" "$as_me: dyninst support available" >&6;}
13365 if test -n "$with_dyninst" -a "$have_dyninst" != "yes"; then
13366 as_fn_error $?
"Dyninst does not appear to be usable" "$LINENO" 5
13368 CPPFLAGS
="$old_CPPFLAGS"
13370 ac_cpp
='$CPP $CPPFLAGS'
13371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13376 if test "${have_dyninst}" = "yes"; then
13378 HAVE_DYNINST_FALSE
='#'
13380 HAVE_DYNINST_TRUE
='#'
13381 HAVE_DYNINST_FALSE
=
13387 # Check whether --enable-virt was given.
13388 if test ${enable_virt+y}
13390 enableval
=$enable_virt; enable_virt
=$enableval
13392 enable_virt
="check"
13396 # Check whether --enable-libvirt was given.
13397 if test ${enable_libvirt+y}
13399 enableval
=$enable_libvirt;
13403 if test "$enable_libvirt" != no
; then
13406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
13407 printf %s
"checking for libvirt... " >&6; }
13409 if test -n "$libvirt_CFLAGS"; then
13410 pkg_cv_libvirt_CFLAGS
="$libvirt_CFLAGS"
13411 elif test -n "$PKG_CONFIG"; then
13412 if test -n "$PKG_CONFIG" && \
13413 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
13414 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
13416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13417 test $ac_status = 0; }; then
13418 pkg_cv_libvirt_CFLAGS
=`$PKG_CONFIG --cflags "libvirt >= 1.0.2" 2>/dev/null`
13419 test "x$?" != "x0" && pkg_failed
=yes
13426 if test -n "$libvirt_LIBS"; then
13427 pkg_cv_libvirt_LIBS
="$libvirt_LIBS"
13428 elif test -n "$PKG_CONFIG"; then
13429 if test -n "$PKG_CONFIG" && \
13430 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
13431 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
13433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13434 test $ac_status = 0; }; then
13435 pkg_cv_libvirt_LIBS
=`$PKG_CONFIG --libs "libvirt >= 1.0.2" 2>/dev/null`
13436 test "x$?" != "x0" && pkg_failed
=yes
13446 if test $pkg_failed = yes; then
13447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13448 printf "%s\n" "no" >&6; }
13450 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13451 _pkg_short_errors_supported
=yes
13453 _pkg_short_errors_supported
=no
13455 if test $_pkg_short_errors_supported = yes; then
13456 libvirt_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
13458 libvirt_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
13460 # Put the nasty error message in config.log where it belongs
13461 echo "$libvirt_PKG_ERRORS" >&5
13464 elif test $pkg_failed = untried
; then
13465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13466 printf "%s\n" "no" >&6; }
13469 libvirt_CFLAGS
=$pkg_cv_libvirt_CFLAGS
13470 libvirt_LIBS
=$pkg_cv_libvirt_LIBS
13471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13472 printf "%s\n" "yes" >&6; }
13476 printf "%s\n" "#define HAVE_LIBVIRT 1" >>confdefs.h
13481 if test "${have_libvirt}" = "yes"; then
13483 HAVE_LIBVIRT_FALSE
='#'
13485 HAVE_LIBVIRT_TRUE
='#'
13486 HAVE_LIBVIRT_FALSE
=
13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
13492 printf %s
"checking for libxml2... " >&6; }
13494 if test -n "$libxml2_CFLAGS"; then
13495 pkg_cv_libxml2_CFLAGS
="$libxml2_CFLAGS"
13496 elif test -n "$PKG_CONFIG"; then
13497 if test -n "$PKG_CONFIG" && \
13498 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
13499 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
13501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13502 test $ac_status = 0; }; then
13503 pkg_cv_libxml2_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
13504 test "x$?" != "x0" && pkg_failed
=yes
13511 if test -n "$libxml2_LIBS"; then
13512 pkg_cv_libxml2_LIBS
="$libxml2_LIBS"
13513 elif test -n "$PKG_CONFIG"; then
13514 if test -n "$PKG_CONFIG" && \
13515 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
13516 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
13518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13519 test $ac_status = 0; }; then
13520 pkg_cv_libxml2_LIBS
=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
13521 test "x$?" != "x0" && pkg_failed
=yes
13531 if test $pkg_failed = yes; then
13532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13533 printf "%s\n" "no" >&6; }
13535 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13536 _pkg_short_errors_supported
=yes
13538 _pkg_short_errors_supported
=no
13540 if test $_pkg_short_errors_supported = yes; then
13541 libxml2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
13543 libxml2_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
13545 # Put the nasty error message in config.log where it belongs
13546 echo "$libxml2_PKG_ERRORS" >&5
13549 elif test $pkg_failed = untried
; then
13550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13551 printf "%s\n" "no" >&6; }
13554 libxml2_CFLAGS
=$pkg_cv_libxml2_CFLAGS
13555 libxml2_LIBS
=$pkg_cv_libxml2_LIBS
13556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13557 printf "%s\n" "yes" >&6; }
13561 printf "%s\n" "#define HAVE_LIBXML2 1" >>confdefs.h
13565 if test "${have_libxml2}" = "yes"; then
13567 HAVE_LIBXML2_FALSE
='#'
13569 HAVE_LIBXML2_TRUE
='#'
13570 HAVE_LIBXML2_FALSE
=
13574 if test "$enable_virt" != "no"; then
13575 if test "x${have_libvirt}" != "xyes"; then
13576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&5
13577 printf "%s\n" "$as_me: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&2;}
13579 if test "x${have_libxml2}" != "xyes"; then
13580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&5
13581 printf "%s\n" "$as_me: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&2;}
13584 if test "${have_libvirt}" = "yes" -a "${have_libxml2}" = "yes" -a "$enable_virt" != "no"; then
13586 BUILD_VIRT_FALSE
='#'
13588 BUILD_VIRT_TRUE
='#'
13594 # Check whether --with-python2-probes was given.
13595 if test ${with_python2_probes+y}
13597 withval
=$with_python2_probes;
13600 have_python2_support
=no
13601 if test "x$with_python2_probes" != "xno"
13603 if test "x$PYTHON" != "x:"
13605 for ac_prog
in ${python_basename}-config python2-config python-config
13607 # Extract the first word of "$ac_prog", so it can be a program name with args.
13608 set dummy
$ac_prog; ac_word
=$2
13609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13610 printf %s
"checking for $ac_word... " >&6; }
13611 if test ${ac_cv_path_PYTHON_CONFIG+y}
13613 printf %s
"(cached) " >&6
13615 case $PYTHON_CONFIG in
13617 ac_cv_path_PYTHON_CONFIG
="$PYTHON_CONFIG" # Let the user override the test with a path.
13620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13621 for as_dir
in $PATH
13624 case $as_dir in #(((
13627 *) as_dir
=$as_dir/ ;;
13629 for ac_exec_ext
in '' $ac_executable_extensions; do
13630 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
13631 ac_cv_path_PYTHON_CONFIG
="$as_dir$ac_word$ac_exec_ext"
13632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13642 PYTHON_CONFIG
=$ac_cv_path_PYTHON_CONFIG
13643 if test -n "$PYTHON_CONFIG"; then
13644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
13645 printf "%s\n" "$PYTHON_CONFIG" >&6; }
13647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13648 printf "%s\n" "no" >&6; }
13652 test -n "$PYTHON_CONFIG" && break
13656 if test "x$PYTHON_CONFIG" != "x"
13658 PYTHON_CPPFLAGS
=`$PYTHON_CONFIG --includes 2> /dev/null`
13659 PYTHON_CPPFLAGS
=$PYTHON_CPPFLAGS
13661 save_CPPFLAGS
="$CPPFLAGS"
13662 CPPFLAGS
="$PYTHON_CPPFLAGS $CPPFLAGS"
13663 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
13664 for ac_header
in Python.h
13666 ac_fn_c_check_header_compile
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
13667 if test "x$ac_cv_header_Python_h" = xyes
13669 printf "%s\n" "#define HAVE_PYTHON_H 1" >>confdefs.h
13670 have_python2_support
=yes
13674 CPPFLAGS
="$save_CPPFLAGS"
13677 if test "x$have_python2_support" = "xyes"
13680 printf "%s\n" "#define HAVE_PYTHON2_PROBES 1" >>confdefs.h
13683 if test "x$with_python2_probes" = "xyes"
13685 as_fn_error $?
"python version 2 probe support requested but not found" "$LINENO" 5
13689 if test "x$have_python2_support" = "xyes"; then
13690 HAVE_PYTHON2_PROBES_TRUE
=
13691 HAVE_PYTHON2_PROBES_FALSE
='#'
13693 HAVE_PYTHON2_PROBES_TRUE
='#'
13694 HAVE_PYTHON2_PROBES_FALSE
=
13699 # Check whether --with-python3-probes was given.
13700 if test ${with_python3_probes+y}
13702 withval
=$with_python3_probes;
13705 have_python3_support
=no
13706 if test "x$with_python3_probes" != "xno"
13708 if test "x$PYTHON3" != "x:"
13710 # Extract the first word of "${python3_basename}-config", so it can be a program name with args.
13711 set dummy
${python3_basename}-config; ac_word
=$2
13712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13713 printf %s
"checking for $ac_word... " >&6; }
13714 if test ${ac_cv_path_PYTHON3_CONFIG+y}
13716 printf %s
"(cached) " >&6
13718 case $PYTHON3_CONFIG in
13720 ac_cv_path_PYTHON3_CONFIG
="$PYTHON3_CONFIG" # Let the user override the test with a path.
13723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13724 for as_dir
in $PATH
13727 case $as_dir in #(((
13730 *) as_dir
=$as_dir/ ;;
13732 for ac_exec_ext
in '' $ac_executable_extensions; do
13733 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
13734 ac_cv_path_PYTHON3_CONFIG
="$as_dir$ac_word$ac_exec_ext"
13735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
13745 PYTHON3_CONFIG
=$ac_cv_path_PYTHON3_CONFIG
13746 if test -n "$PYTHON3_CONFIG"; then
13747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
13748 printf "%s\n" "$PYTHON3_CONFIG" >&6; }
13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13751 printf "%s\n" "no" >&6; }
13756 if test "x$PYTHON3_CONFIG" != "x"
13758 PYTHON3_CPPFLAGS
=`$PYTHON3_CONFIG --includes 2> /dev/null`
13759 PYTHON3_CPPFLAGS
=$PYTHON3_CPPFLAGS
13761 save_CPPFLAGS
="$CPPFLAGS"
13762 CPPFLAGS
="$PYTHON3_CPPFLAGS $CPPFLAGS"
13763 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
13764 for ac_header
in Python.h
13766 ac_fn_c_check_header_compile
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
13767 if test "x$ac_cv_header_Python_h" = xyes
13769 printf "%s\n" "#define HAVE_PYTHON_H 1" >>confdefs.h
13770 have_python3_support
=yes
13774 CPPFLAGS
="$save_CPPFLAGS"
13777 if test "x$have_python3_support" = "xyes"
13780 printf "%s\n" "#define HAVE_PYTHON3_PROBES 1" >>confdefs.h
13783 if test "x$with_python3_probes" = "xyes"
13785 as_fn_error $?
"python version 3 probe support requested but not found" "$LINENO" 5
13789 if test "x$have_python3_support" = "xyes"; then
13790 HAVE_PYTHON3_PROBES_TRUE
=
13791 HAVE_PYTHON3_PROBES_FALSE
='#'
13793 HAVE_PYTHON3_PROBES_TRUE
='#'
13794 HAVE_PYTHON3_PROBES_FALSE
=
13798 if test "x$have_python2_support" = "xyes" -o "x$have_python3_support" = "xyes"; then
13799 HAVE_PYTHON_PROBES_TRUE
=
13800 HAVE_PYTHON_PROBES_FALSE
='#'
13802 HAVE_PYTHON_PROBES_TRUE
='#'
13803 HAVE_PYTHON_PROBES_FALSE
=
13809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jsonc" >&5
13810 printf %s
"checking for jsonc... " >&6; }
13812 if test -n "$jsonc_CFLAGS"; then
13813 pkg_cv_jsonc_CFLAGS
="$jsonc_CFLAGS"
13814 elif test -n "$PKG_CONFIG"; then
13815 if test -n "$PKG_CONFIG" && \
13816 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.13\""; } >&5
13817 ($PKG_CONFIG --exists --print-errors "json-c >= 0.13") 2>&5
13819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13820 test $ac_status = 0; }; then
13821 pkg_cv_jsonc_CFLAGS
=`$PKG_CONFIG --cflags "json-c >= 0.13" 2>/dev/null`
13822 test "x$?" != "x0" && pkg_failed
=yes
13829 if test -n "$jsonc_LIBS"; then
13830 pkg_cv_jsonc_LIBS
="$jsonc_LIBS"
13831 elif test -n "$PKG_CONFIG"; then
13832 if test -n "$PKG_CONFIG" && \
13833 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.13\""; } >&5
13834 ($PKG_CONFIG --exists --print-errors "json-c >= 0.13") 2>&5
13836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13837 test $ac_status = 0; }; then
13838 pkg_cv_jsonc_LIBS
=`$PKG_CONFIG --libs "json-c >= 0.13" 2>/dev/null`
13839 test "x$?" != "x0" && pkg_failed
=yes
13849 if test $pkg_failed = yes; then
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13851 printf "%s\n" "no" >&6; }
13853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13854 _pkg_short_errors_supported
=yes
13856 _pkg_short_errors_supported
=no
13858 if test $_pkg_short_errors_supported = yes; then
13859 jsonc_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.13" 2>&1`
13861 jsonc_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.13" 2>&1`
13863 # Put the nasty error message in config.log where it belongs
13864 echo "$jsonc_PKG_ERRORS" >&5
13867 elif test $pkg_failed = untried
; then
13868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13869 printf "%s\n" "no" >&6; }
13872 jsonc_CFLAGS
=$pkg_cv_jsonc_CFLAGS
13873 jsonc_LIBS
=$pkg_cv_jsonc_LIBS
13874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13875 printf "%s\n" "yes" >&6; }
13880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
13881 printf %s
"checking for ncurses... " >&6; }
13883 if test -n "$ncurses_CFLAGS"; then
13884 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
13885 elif test -n "$PKG_CONFIG"; then
13886 if test -n "$PKG_CONFIG" && \
13887 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
13888 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
13890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13891 test $ac_status = 0; }; then
13892 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
13893 test "x$?" != "x0" && pkg_failed
=yes
13900 if test -n "$ncurses_LIBS"; then
13901 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
13902 elif test -n "$PKG_CONFIG"; then
13903 if test -n "$PKG_CONFIG" && \
13904 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
13905 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
13907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13908 test $ac_status = 0; }; then
13909 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
13910 test "x$?" != "x0" && pkg_failed
=yes
13920 if test $pkg_failed = yes; then
13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13922 printf "%s\n" "no" >&6; }
13924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13925 _pkg_short_errors_supported
=yes
13927 _pkg_short_errors_supported
=no
13929 if test $_pkg_short_errors_supported = yes; then
13930 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
13932 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
13934 # Put the nasty error message in config.log where it belongs
13935 echo "$ncurses_PKG_ERRORS" >&5
13938 elif test $pkg_failed = untried
; then
13939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13940 printf "%s\n" "no" >&6; }
13943 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
13944 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
13945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13946 printf "%s\n" "yes" >&6; }
13950 # Check whether --enable-monitor was given.
13951 if test ${enable_monitor+y}
13953 enableval
=$enable_monitor;
13956 if test "$enable_monitor" != "no"; then
13957 if test "${have_jsonc}" = "yes" -a "${have_ncurses}" = yes; then
13959 printf "%s\n" "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
13963 if test "${have_jsonc}" = "yes" -a "${have_ncurses}" = "yes" -a "$enable_monitor" != "no"; then
13964 HAVE_MONITOR_LIBS_TRUE
=
13965 HAVE_MONITOR_LIBS_FALSE
='#'
13967 HAVE_MONITOR_LIBS_TRUE
='#'
13968 HAVE_MONITOR_LIBS_FALSE
=
13971 if test "${have_jsonc}" = "yes"; then
13973 printf "%s\n" "#define HAVE_JSON_C 1" >>confdefs.h
13976 if test "${have_jsonc}" = "yes"; then
13978 HAVE_JSON_C_FALSE
='#'
13980 HAVE_JSON_C_TRUE
='#'
13985 # We require gcc >=8 since we use some more modern language features such as lambda-capture [this] and
13986 # initializer list constructors in class template argument deduction
13987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if the language server is supported" >&5
13988 printf %s
"checking to see if the language server is supported... " >&6; }
13989 if { echo '#if __GNUC__ >= 8 '
13991 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13992 have_language_server_support
=yes
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13994 printf "%s\n" "yes" >&6; }
13996 printf "%s\n" "#define HAVE_LANGUAGE_SERVER_SUPPORT 1" >>confdefs.h
13999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14000 printf "%s\n" "no" >&6; }
14002 if test "x$have_language_server_support" = "xyes"; then
14003 HAVE_LANGUAGE_SERVER_SUPPORT_TRUE
=
14004 HAVE_LANGUAGE_SERVER_SUPPORT_FALSE
='#'
14006 HAVE_LANGUAGE_SERVER_SUPPORT_TRUE
='#'
14007 HAVE_LANGUAGE_SERVER_SUPPORT_FALSE
=
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
14012 printf %s
"checking for assembler .section \"?\" flags support... " >&6; }
14013 if test ${stap_cv_sectionq+y}
14015 printf %s
"(cached) " >&6
14018 old_CFLAGS
="$CFLAGS"
14019 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
14020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14022 asm(".section .note.foo,\"?\",\"note\"\n"
14025 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
14027 ".pushsection .note.foo,\"?\",\"note\"\n"
14032 if ac_fn_c_try_compile
"$LINENO"
14034 stap_cv_sectionq
=yes
14036 stap_cv_sectionq
=no
14038 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14039 CFLAGS
="$old_CFLAGS"
14041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
14042 printf "%s\n" "$stap_cv_sectionq" >&6; }
14044 support_section_question
=0
14045 if test $stap_cv_sectionq = yes; then
14046 support_section_question
=1
14051 # Check whether --with-bpf was given.
14052 if test ${with_bpf+y}
14058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
14059 printf %s
"checking for $CC options needed to detect all undeclared functions... " >&6; }
14060 if test ${ac_cv_c_undeclared_builtin_options+y}
14062 printf %s
"(cached) " >&6
14064 ac_save_CFLAGS
=$CFLAGS
14065 ac_cv_c_undeclared_builtin_options
='cannot detect'
14066 for ac_arg
in '' -fno-builtin; do
14067 CFLAGS
="$ac_save_CFLAGS $ac_arg"
14068 # This test program should *not* compile successfully.
14069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14080 if ac_fn_c_try_compile
"$LINENO"
14084 # This test program should compile successfully.
14085 # No library function is consistently available on
14086 # freestanding implementations, so test against a dummy
14087 # declaration. Include always-available headers on the
14088 # off chance that they somehow elicit warnings.
14089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14092 #include <limits.h>
14093 #include <stdarg.h>
14094 #include <stddef.h>
14095 extern void ac_decl (int, char *);
14100 (void) ac_decl (0, (char *) 0);
14107 if ac_fn_c_try_compile
"$LINENO"
14109 if test x
"$ac_arg" = x
14111 ac_cv_c_undeclared_builtin_options
='none needed'
14113 ac_cv_c_undeclared_builtin_options
=$ac_arg
14117 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14119 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14121 CFLAGS
=$ac_save_CFLAGS
14124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
14125 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
14126 case $ac_cv_c_undeclared_builtin_options in #(
14128 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14129 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14130 as_fn_error $?
"cannot make $CC report undeclared builtins
14131 See \`config.log' for more details" "$LINENO" 5; } ;; #(
14133 ac_c_undeclared_builtin_options
='' ;; #(
14135 ac_c_undeclared_builtin_options
=$ac_cv_c_undeclared_builtin_options ;;
14138 if test "x$with_bpf" != "xno"
14141 ac_fn_check_decl
"$LINENO" "BPF_PROG_TYPE_PERF_EVENT" "ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" "#include <linux/bpf.h>
14142 " "$ac_c_undeclared_builtin_options" "CFLAGS"
14143 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" = xyes
14149 printf "%s\n" "#define HAVE_DECL_BPF_PROG_TYPE_PERF_EVENT $ac_have_decl" >>confdefs.h
14150 if test $ac_have_decl = 1
14153 printf "%s\n" "#define HAVE_BPF_DECLS 1" >>confdefs.h
14159 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" = "xyes"; then
14160 HAVE_BPF_DECLS_TRUE
=
14161 HAVE_BPF_DECLS_FALSE
='#'
14163 HAVE_BPF_DECLS_TRUE
='#'
14164 HAVE_BPF_DECLS_FALSE
=
14167 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
14170 ac_fn_check_decl
"$LINENO" "BPF_PROG_TYPE_RAW_TRACEPOINT" "ac_cv_have_decl_BPF_PROG_TYPE_RAW_TRACEPOINT" "#include <linux/bpf.h>
14171 " "$ac_c_undeclared_builtin_options" "CFLAGS"
14172 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_RAW_TRACEPOINT" = xyes
14178 printf "%s\n" "#define HAVE_DECL_BPF_PROG_TYPE_RAW_TRACEPOINT $ac_have_decl" >>confdefs.h
14179 if test $ac_have_decl = 1
14182 printf "%s\n" "#define HAVE_BPF_PROG_TYPE_RAW_TRACEPOINT 1" >>confdefs.h
14188 # Check whether --with-selinux was given.
14189 if test ${with_selinux+y}
14191 withval
=$with_selinux;
14195 if test "x$with_selinux" != "xno"
14200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for selinux" >&5
14201 printf %s
"checking for selinux... " >&6; }
14203 if test -n "$selinux_CFLAGS"; then
14204 pkg_cv_selinux_CFLAGS
="$selinux_CFLAGS"
14205 elif test -n "$PKG_CONFIG"; then
14206 if test -n "$PKG_CONFIG" && \
14207 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
14208 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
14210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14211 test $ac_status = 0; }; then
14212 pkg_cv_selinux_CFLAGS
=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
14213 test "x$?" != "x0" && pkg_failed
=yes
14220 if test -n "$selinux_LIBS"; then
14221 pkg_cv_selinux_LIBS
="$selinux_LIBS"
14222 elif test -n "$PKG_CONFIG"; then
14223 if test -n "$PKG_CONFIG" && \
14224 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
14225 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
14227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14228 test $ac_status = 0; }; then
14229 pkg_cv_selinux_LIBS
=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
14230 test "x$?" != "x0" && pkg_failed
=yes
14240 if test $pkg_failed = yes; then
14241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14242 printf "%s\n" "no" >&6; }
14244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14245 _pkg_short_errors_supported
=yes
14247 _pkg_short_errors_supported
=no
14249 if test $_pkg_short_errors_supported = yes; then
14250 selinux_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
14252 selinux_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
14254 # Put the nasty error message in config.log where it belongs
14255 echo "$selinux_PKG_ERRORS" >&5
14258 elif test $pkg_failed = untried
; then
14259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14260 printf "%s\n" "no" >&6; }
14263 selinux_CFLAGS
=$pkg_cv_selinux_CFLAGS
14264 selinux_LIBS
=$pkg_cv_selinux_LIBS
14265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14266 printf "%s\n" "yes" >&6; }
14269 printf "%s\n" "#define HAVE_SELINUX 1" >>confdefs.h
14278 if test "${have_selinux}" = "yes"; then
14280 HAVE_SELINUX_FALSE
='#'
14282 HAVE_SELINUX_TRUE
='#'
14283 HAVE_SELINUX_FALSE
=
14287 ac_fn_check_decl
"$LINENO" "F_SETPIPE_SZ" "ac_cv_have_decl_F_SETPIPE_SZ" "#include <fcntl.h>
14288 " "$ac_c_undeclared_builtin_options" "CFLAGS"
14289 if test "x$ac_cv_have_decl_F_SETPIPE_SZ" = xyes
14292 printf "%s\n" "#define HAVE_F_SETPIPE_SZ 1" >>confdefs.h
14296 # Extract the first word of "javac", so it can be a program name with args.
14297 set dummy javac
; ac_word
=$2
14298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14299 printf %s
"checking for $ac_word... " >&6; }
14300 if test ${ac_cv_prog_have_javac+y}
14302 printf %s
"(cached) " >&6
14304 if test -n "$have_javac"; then
14305 ac_cv_prog_have_javac
="$have_javac" # Let the user override the test.
14307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14308 for as_dir
in $PATH
14311 case $as_dir in #(((
14314 *) as_dir
=$as_dir/ ;;
14316 for ac_exec_ext
in '' $ac_executable_extensions; do
14317 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
14318 ac_cv_prog_have_javac
="yes"
14319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14326 test -z "$ac_cv_prog_have_javac" && ac_cv_prog_have_javac
="no"
14329 have_javac
=$ac_cv_prog_have_javac
14330 if test -n "$have_javac"; then
14331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_javac" >&5
14332 printf "%s\n" "$have_javac" >&6; }
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14335 printf "%s\n" "no" >&6; }
14339 # Extract the first word of "jar", so it can be a program name with args.
14340 set dummy jar
; ac_word
=$2
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14342 printf %s
"checking for $ac_word... " >&6; }
14343 if test ${ac_cv_prog_have_jar+y}
14345 printf %s
"(cached) " >&6
14347 if test -n "$have_jar"; then
14348 ac_cv_prog_have_jar
="$have_jar" # Let the user override the test.
14350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14351 for as_dir
in $PATH
14354 case $as_dir in #(((
14357 *) as_dir
=$as_dir/ ;;
14359 for ac_exec_ext
in '' $ac_executable_extensions; do
14360 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
14361 ac_cv_prog_have_jar
="yes"
14362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14369 test -z "$ac_cv_prog_have_jar" && ac_cv_prog_have_jar
="no"
14372 have_jar
=$ac_cv_prog_have_jar
14373 if test -n "$have_jar"; then
14374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_jar" >&5
14375 printf "%s\n" "$have_jar" >&6; }
14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14378 printf "%s\n" "no" >&6; }
14382 if test "$have_javac" != no
-a "$have_jar" != no
; then
14383 echo java found
, will try to configure Byteman support
14386 # Check whether --with-java was given.
14387 if test ${with_java+y}
14389 withval
=$with_java;
14391 with_java
=/usr
/lib
/jvm
/java
14394 if test ! -d "$with_java"; then
14395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: directory $with_java not found, disabling java support" >&5
14396 printf "%s\n" "$as_me: directory $with_java not found, disabling java support" >&6;}
14399 JAVADIR
="${with_java}"
14400 # always needed to compile
14402 if test "$with_java" != "no"; then
14404 printf "%s\n" "#define HAVE_JAVA \"1\"" >>confdefs.h
14408 if test "$with_java" != "no"; then
14410 HAVE_JAVA_FALSE
='#'
14418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: will not run per-method java probing, missing byteman or java requirements" >&5
14419 printf "%s\n" "$as_me: WARNING: will not run per-method java probing, missing byteman or java requirements" >&2;}
14422 HAVE_JAVA_FALSE
='#'
14428 fi # java+byteman support
14430 ENABLE_NLS
="$USE_NLS"
14432 localedir
="$localedir"
14434 LOCALEDIR
="$localedir"
14438 # Check whether --with-extra-version was given.
14439 if test ${with_extra_version+y}
14441 withval
=$with_extra_version;
14444 if test "x$with_extra_version" != "xno"
14447 stap_extra_version
="$with_extra_version"
14448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Adding extra version $stap_extra_version" >&5
14449 printf "%s\n" "$as_me: Adding extra version $stap_extra_version" >&6;}
14452 stap_extra_version
=""
14455 printf "%s\n" "#define STAP_EXTRA_VERSION \"$stap_extra_version\"" >>confdefs.h
14457 STAP_EXTRA_VERSION
="$stap_extra_version"
14460 # Check whether --enable-http was given.
14461 if test ${enable_http+y}
14463 enableval
=$enable_http;
14466 have_http_support
=no
14467 if test "x$enable_http" = "xyes"
14471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmicrohttpd" >&5
14472 printf %s
"checking for libmicrohttpd... " >&6; }
14474 if test -n "$libmicrohttpd_CFLAGS"; then
14475 pkg_cv_libmicrohttpd_CFLAGS
="$libmicrohttpd_CFLAGS"
14476 elif test -n "$PKG_CONFIG"; then
14477 if test -n "$PKG_CONFIG" && \
14478 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
14479 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
14481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14482 test $ac_status = 0; }; then
14483 pkg_cv_libmicrohttpd_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd > 0.9.0" 2>/dev/null`
14484 test "x$?" != "x0" && pkg_failed
=yes
14491 if test -n "$libmicrohttpd_LIBS"; then
14492 pkg_cv_libmicrohttpd_LIBS
="$libmicrohttpd_LIBS"
14493 elif test -n "$PKG_CONFIG"; then
14494 if test -n "$PKG_CONFIG" && \
14495 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
14496 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
14498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14499 test $ac_status = 0; }; then
14500 pkg_cv_libmicrohttpd_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd > 0.9.0" 2>/dev/null`
14501 test "x$?" != "x0" && pkg_failed
=yes
14511 if test $pkg_failed = yes; then
14512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14513 printf "%s\n" "no" >&6; }
14515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14516 _pkg_short_errors_supported
=yes
14518 _pkg_short_errors_supported
=no
14520 if test $_pkg_short_errors_supported = yes; then
14521 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
14523 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
14525 # Put the nasty error message in config.log where it belongs
14526 echo "$libmicrohttpd_PKG_ERRORS" >&5
14528 have_libmicrohttpd
=false
14529 elif test $pkg_failed = untried
; then
14530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14531 printf "%s\n" "no" >&6; }
14532 have_libmicrohttpd
=false
14534 libmicrohttpd_CFLAGS
=$pkg_cv_libmicrohttpd_CFLAGS
14535 libmicrohttpd_LIBS
=$pkg_cv_libmicrohttpd_LIBS
14536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14537 printf "%s\n" "yes" >&6; }
14538 have_libmicrohttpd
=true
14543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid" >&5
14544 printf %s
"checking for uuid... " >&6; }
14546 if test -n "$uuid_CFLAGS"; then
14547 pkg_cv_uuid_CFLAGS
="$uuid_CFLAGS"
14548 elif test -n "$PKG_CONFIG"; then
14549 if test -n "$PKG_CONFIG" && \
14550 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
14551 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
14553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14554 test $ac_status = 0; }; then
14555 pkg_cv_uuid_CFLAGS
=`$PKG_CONFIG --cflags "uuid >= 2.17.0" 2>/dev/null`
14556 test "x$?" != "x0" && pkg_failed
=yes
14563 if test -n "$uuid_LIBS"; then
14564 pkg_cv_uuid_LIBS
="$uuid_LIBS"
14565 elif test -n "$PKG_CONFIG"; then
14566 if test -n "$PKG_CONFIG" && \
14567 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
14568 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
14570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14571 test $ac_status = 0; }; then
14572 pkg_cv_uuid_LIBS
=`$PKG_CONFIG --libs "uuid >= 2.17.0" 2>/dev/null`
14573 test "x$?" != "x0" && pkg_failed
=yes
14583 if test $pkg_failed = yes; then
14584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14585 printf "%s\n" "no" >&6; }
14587 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14588 _pkg_short_errors_supported
=yes
14590 _pkg_short_errors_supported
=no
14592 if test $_pkg_short_errors_supported = yes; then
14593 uuid_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
14595 uuid_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
14597 # Put the nasty error message in config.log where it belongs
14598 echo "$uuid_PKG_ERRORS" >&5
14601 elif test $pkg_failed = untried
; then
14602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14603 printf "%s\n" "no" >&6; }
14606 uuid_CFLAGS
=$pkg_cv_uuid_CFLAGS
14607 uuid_LIBS
=$pkg_cv_uuid_LIBS
14608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14609 printf "%s\n" "yes" >&6; }
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
14616 printf %s
"checking for libcurl... " >&6; }
14618 if test -n "$libcurl_CFLAGS"; then
14619 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
14620 elif test -n "$PKG_CONFIG"; then
14621 if test -n "$PKG_CONFIG" && \
14622 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.19.7\""; } >&5
14623 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.19.7") 2>&5
14625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14626 test $ac_status = 0; }; then
14627 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.19.7" 2>/dev/null`
14628 test "x$?" != "x0" && pkg_failed
=yes
14635 if test -n "$libcurl_LIBS"; then
14636 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
14637 elif test -n "$PKG_CONFIG"; then
14638 if test -n "$PKG_CONFIG" && \
14639 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.19.7\""; } >&5
14640 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.19.7") 2>&5
14642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14643 test $ac_status = 0; }; then
14644 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.19.7" 2>/dev/null`
14645 test "x$?" != "x0" && pkg_failed
=yes
14655 if test $pkg_failed = yes; then
14656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14657 printf "%s\n" "no" >&6; }
14659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14660 _pkg_short_errors_supported
=yes
14662 _pkg_short_errors_supported
=no
14664 if test $_pkg_short_errors_supported = yes; then
14665 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.19.7" 2>&1`
14667 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.19.7" 2>&1`
14669 # Put the nasty error message in config.log where it belongs
14670 echo "$libcurl_PKG_ERRORS" >&5
14673 elif test $pkg_failed = untried
; then
14674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14675 printf "%s\n" "no" >&6; }
14678 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
14679 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14681 printf "%s\n" "yes" >&6; }
14685 if test "x$have_libmicrohttpd" = "xtrue" -a "x$have_libuuid" = "xtrue" -a "x$have_libcurl" = "xtrue" -a "x$have_jsonc" = "xyes" -a "x$have_nss" = "xyes" -a "x$have_openssl" = "xyes" -a "x$have_cxx0x" = "xno"
14687 have_http_support
=yes
14691 if test "x$have_http_support" = "xyes"
14694 printf "%s\n" "#define HAVE_HTTP_SUPPORT 1" >>confdefs.h
14697 if test "x$enable_http" = "xyes"
14699 as_fn_error $?
"http service support requested but not found" "$LINENO" 5
14703 if test "x$have_http_support" = "xyes"; then
14704 HAVE_HTTP_SUPPORT_TRUE
=
14705 HAVE_HTTP_SUPPORT_FALSE
='#'
14707 HAVE_HTTP_SUPPORT_TRUE
='#'
14708 HAVE_HTTP_SUPPORT_FALSE
=
14712 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then
14713 NEED_BASE_CLIENT_CODE_TRUE
=
14714 NEED_BASE_CLIENT_CODE_FALSE
='#'
14716 NEED_BASE_CLIENT_CODE_TRUE
='#'
14717 NEED_BASE_CLIENT_CODE_FALSE
=
14720 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"
14724 printf "%s\n" "#define NEED_BASE_CLIENT_CODE 1" >>confdefs.h
14730 stap_prefix
=$prefix
14731 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
14733 printf "%s\n" "#define STAP_PREFIX \"$stap_prefix\"" >>confdefs.h
14735 STAP_PREFIX
="$stap_prefix"
14738 stap_libexecdir
=$libexecdir
14739 test "$stap_libexecdir" = '${exec_prefix}/libexec' && stap_libexecdir
=$stap_prefix/libexec
14740 pkglibexecdir
="$stap_libexecdir/$PACKAGE"
14743 ac_config_headers
="$ac_config_headers config.h:config.in"
14747 ac_config_files
="$ac_config_files Makefile doc/Makefile man/Makefile man/cs/Makefile doc/beginners/Makefile doc/SystemTap_Tapset_Reference/Makefile man/stap.1 man/stappaths.7 man/systemtap-service.8 man/cs/stap.1 man/cs/stappaths.7 man/cs/systemtap.8 initscript/config.systemtap initscript/config.stap-server initscript/systemtap initscript/stap-server initscript/99stap/module-setup.sh initscript/99stap/install initscript/99stap/check"
14751 subdirs
="$subdirs testsuite"
14753 if test $enable_translator = "yes"; then
14754 ac_config_files
="$ac_config_files run-stap"
14757 ac_config_files
="$ac_config_files dtrace"
14759 ac_config_files
="$ac_config_files stapdyn/Makefile"
14761 ac_config_files
="$ac_config_files java/Makefile"
14763 ac_config_files
="$ac_config_files java/stapbm"
14765 ac_config_files
="$ac_config_files java/org/systemtap/byteman/helper/HelperSDT.java"
14767 ac_config_files
="$ac_config_files python/Makefile"
14769 ac_config_files
="$ac_config_files interactive-notebook/Makefile"
14771 ac_config_files
="$ac_config_files interactive-notebook/stap-jupyter-container"
14773 ac_config_files
="$ac_config_files interactive-notebook/stap-jupyter-install"
14775 ac_config_files
="$ac_config_files staprun/Makefile"
14777 ac_config_files
="$ac_config_files stapbpf/Makefile"
14779 ac_config_files
="$ac_config_files httpd/Makefile httpd/docker/Makefile"
14781 ac_config_files
="$ac_config_files staprun/run-staprun"
14783 ac_config_files
="$ac_config_files staprun/guest/stapshd"
14785 ac_config_files
="$ac_config_files staprun/guest/stapsh-daemon"
14787 ac_config_files
="$ac_config_files staprun/guest/stapsh@.service"
14789 ac_config_files
="$ac_config_files stap-exporter/Makefile"
14791 ac_config_files
="$ac_config_files stap-profile-annotate"
14795 # Setup "shadow" directory doc/beginners that has the basic directories setup for
14796 # xmlto in one directory (through directory links if necessary).
14797 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
14798 # the src is a directory and not a file.
14799 ac_config_commands
="$ac_config_commands doc/beginners"
14802 cat >confcache
<<\_ACEOF
14803 # This file is a shell script that caches the results of configure
14804 # tests run on this system so they can be shared between configure
14805 # scripts and configure runs, see configure's option --config-cache.
14806 # It is not useful on other systems. If it contains results you don't
14807 # want to keep, you may remove or edit it.
14809 # config.status only pays attention to the cache file if you give it
14810 # the --recheck option to rerun configure.
14812 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14813 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14814 # following values.
14818 # The following way of writing the cache mishandles newlines in values,
14819 # but we know of no workaround that is simple, portable, and efficient.
14820 # So, we kill variables containing newlines.
14821 # Ultrix sh set writes to stderr and can't be redirected directly,
14822 # and sets the high bit in the cache file unless we assign to the vars.
14824 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14825 eval ac_val
=\$
$ac_var
14829 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14830 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14833 _ | IFS | as_nl
) ;; #(
14834 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14835 *) { eval $ac_var=; unset $ac_var;} ;;
14841 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14842 *${as_nl}ac_space
=\
*)
14843 # `set' does not quote correctly, so add quotes: double-quote
14844 # substitution turns \\\\ into \\, and sed turns \\ into \.
14847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14850 # `set' quotes correctly as required by POSIX, so do not add quotes.
14851 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14860 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
14862 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14864 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14865 if test -w "$cache_file"; then
14866 if test "x$cache_file" != "x/dev/null"; then
14867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14868 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
14869 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14870 cat confcache
>"$cache_file"
14872 case $cache_file in #(
14874 mv -f confcache
"$cache_file"$$
&&
14875 mv -f "$cache_file"$$
"$cache_file" ;; #(
14877 mv -f confcache
"$cache_file" ;;
14882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14883 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
14888 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14889 # Let make expand exec_prefix.
14890 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14892 DEFS
=-DHAVE_CONFIG_H
14897 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14898 # 1. Remove the extension, and $U if already installed.
14899 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14900 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
14901 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14902 # will be set to the directory where LIBOBJS objects are built.
14903 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14904 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14906 LIBOBJS
=$ac_libobjs
14908 LTLIBOBJS
=$ac_ltlibobjs
14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14912 printf %s
"checking that generated files are newer than configure... " >&6; }
14913 if test -n "$am_sleep_pid"; then
14914 # Hide warnings about reused PIDs.
14915 wait $am_sleep_pid 2>/dev
/null
14917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
14918 printf "%s\n" "done" >&6; }
14919 if test -n "$EXEEXT"; then
14921 am__EXEEXT_FALSE
='#'
14923 am__EXEEXT_TRUE
='#'
14927 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14928 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14931 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14932 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14935 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14936 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14939 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14940 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14943 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14944 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
14945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14947 if test -z "${Werror_TRUE}" && test -z "${Werror_FALSE}"; then
14948 as_fn_error $?
"conditional \"Werror\" was never defined.
14949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14951 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
14952 as_fn_error $?
"conditional \"BUILD_TRANSLATOR\" was never defined.
14953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14955 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
14956 as_fn_error $?
"conditional \"BUILD_CRASHMOD\" was never defined.
14957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14959 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
14960 as_fn_error $?
"conditional \"BUILD_DOCS\" was never defined.
14961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14963 if test -z "${INSTALL_PREBUILT_DOCS_TRUE}" && test -z "${INSTALL_PREBUILT_DOCS_FALSE}"; then
14964 as_fn_error $?
"conditional \"INSTALL_PREBUILT_DOCS\" was never defined.
14965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14967 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
14968 as_fn_error $?
"conditional \"BUILD_REFDOCS\" was never defined.
14969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14971 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
14972 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
14973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14975 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
14976 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
14977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14979 if test -z "${BUILD_HTMLDOCS_TRUE}" && test -z "${BUILD_HTMLDOCS_FALSE}"; then
14980 as_fn_error $?
"conditional \"BUILD_HTMLDOCS\" was never defined.
14981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14983 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
14984 as_fn_error $?
"conditional \"XMLTO_STRINGPARAM\" was never defined.
14985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14987 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
14988 as_fn_error $?
"conditional \"HAVE_NSS\" was never defined.
14989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14991 if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
14992 as_fn_error $?
"conditional \"HAVE_OPENSSL\" was never defined.
14993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14995 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
14996 as_fn_error $?
"conditional \"BUILD_SERVER\" was never defined.
14997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14999 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
15000 as_fn_error $?
"conditional \"HAVE_AVAHI\" was never defined.
15001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15003 if test -z "${HAVE_LIBREADLINE_TRUE}" && test -z "${HAVE_LIBREADLINE_FALSE}"; then
15004 as_fn_error $?
"conditional \"HAVE_LIBREADLINE\" was never defined.
15005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15007 if test -z "${HAVE_DYNINST_TRUE}" && test -z "${HAVE_DYNINST_FALSE}"; then
15008 as_fn_error $?
"conditional \"HAVE_DYNINST\" was never defined.
15009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15011 if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then
15012 as_fn_error $?
"conditional \"HAVE_LIBVIRT\" was never defined.
15013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15015 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
15016 as_fn_error $?
"conditional \"HAVE_LIBXML2\" was never defined.
15017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15019 if test -z "${BUILD_VIRT_TRUE}" && test -z "${BUILD_VIRT_FALSE}"; then
15020 as_fn_error $?
"conditional \"BUILD_VIRT\" was never defined.
15021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15023 if test -z "${HAVE_PYTHON2_PROBES_TRUE}" && test -z "${HAVE_PYTHON2_PROBES_FALSE}"; then
15024 as_fn_error $?
"conditional \"HAVE_PYTHON2_PROBES\" was never defined.
15025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15027 if test -z "${HAVE_PYTHON3_PROBES_TRUE}" && test -z "${HAVE_PYTHON3_PROBES_FALSE}"; then
15028 as_fn_error $?
"conditional \"HAVE_PYTHON3_PROBES\" was never defined.
15029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15031 if test -z "${HAVE_PYTHON_PROBES_TRUE}" && test -z "${HAVE_PYTHON_PROBES_FALSE}"; then
15032 as_fn_error $?
"conditional \"HAVE_PYTHON_PROBES\" was never defined.
15033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15035 if test -z "${HAVE_MONITOR_LIBS_TRUE}" && test -z "${HAVE_MONITOR_LIBS_FALSE}"; then
15036 as_fn_error $?
"conditional \"HAVE_MONITOR_LIBS\" was never defined.
15037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15039 if test -z "${HAVE_JSON_C_TRUE}" && test -z "${HAVE_JSON_C_FALSE}"; then
15040 as_fn_error $?
"conditional \"HAVE_JSON_C\" was never defined.
15041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15043 if test -z "${HAVE_LANGUAGE_SERVER_SUPPORT_TRUE}" && test -z "${HAVE_LANGUAGE_SERVER_SUPPORT_FALSE}"; then
15044 as_fn_error $?
"conditional \"HAVE_LANGUAGE_SERVER_SUPPORT\" was never defined.
15045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15047 if test -z "${HAVE_BPF_DECLS_TRUE}" && test -z "${HAVE_BPF_DECLS_FALSE}"; then
15048 as_fn_error $?
"conditional \"HAVE_BPF_DECLS\" was never defined.
15049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15051 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
15052 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
15053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15055 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
15056 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
15057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15059 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
15060 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
15061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15063 if test -z "${HAVE_HTTP_SUPPORT_TRUE}" && test -z "${HAVE_HTTP_SUPPORT_FALSE}"; then
15064 as_fn_error $?
"conditional \"HAVE_HTTP_SUPPORT\" was never defined.
15065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15067 if test -z "${NEED_BASE_CLIENT_CODE_TRUE}" && test -z "${NEED_BASE_CLIENT_CODE_FALSE}"; then
15068 as_fn_error $?
"conditional \"NEED_BASE_CLIENT_CODE\" was never defined.
15069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15072 : "${CONFIG_STATUS=./config.status}"
15074 ac_clean_files_save
=$ac_clean_files
15075 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15077 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
15079 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15081 # Generated by $as_me.
15082 # Run this file to recreate the current configuration.
15083 # Compiler output produced by configure, useful for debugging
15084 # configure, is in config.log if it exists.
15087 ac_cs_recheck=false
15090 SHELL=\${CONFIG_SHELL-$SHELL}
15093 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15094 ## -------------------- ##
15095 ## M4sh Initialization. ##
15096 ## -------------------- ##
15098 # Be more Bourne compatible
15099 DUALCASE
=1; export DUALCASE
# for MKS sh
15101 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
15105 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15106 # is contrary to our usage. Disable this feature.
15107 alias -g '${1+"$@"}'='"$@"'
15108 setopt NO_GLOB_SUBST
15110 case `(set -o) 2>/dev/null` in #(
15120 # Reset variables that may have inherited troublesome values from
15123 # IFS needs to be set, to space, tab, and newline, in precisely that order.
15124 # (If _AS_PATH_WALK were called with IFS unset, it would have the
15125 # side effect of setting IFS to empty, thus disabling word splitting.)
15126 # Quoting is to prevent editors from complaining about space-tab.
15136 # Ensure predictable behavior from utilities with locale-dependent output.
15142 # We cannot yet rely on "unset" to work, but we need these variables
15143 # to be unset--not just set to an empty or harmless value--now, to
15144 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
15145 # also avoids known problems related to "unset" and subshell syntax
15146 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
15147 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
15148 do eval test \
${$as_var+y} \
15149 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15152 # Ensure that fds 0, 1, and 2 are open.
15153 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
15154 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
15155 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
15157 # The user is always right.
15158 if ${PATH_SEPARATOR+false} :; then
15160 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15161 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15167 # Find who we are. Look in the path if we contain no directory separator.
15170 *[\\/]* ) as_myself
=$0 ;;
15171 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15172 for as_dir
in $PATH
15175 case $as_dir in #(((
15178 *) as_dir
=$as_dir/ ;;
15180 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
15186 # We did not find ourselves, most probably we were run as `sh COMMAND'
15187 # in which case we are not to be found in the path.
15188 if test "x$as_myself" = x
; then
15191 if test ! -f "$as_myself"; then
15192 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15198 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15199 # ----------------------------------------
15200 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15201 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15202 # script with STATUS, using 1 if that was 0.
15205 as_status
=$1; test $as_status -eq 0 && as_status
=1
15207 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15210 printf "%s\n" "$as_me: error: $2" >&2
15211 as_fn_exit
$as_status
15216 # as_fn_set_status STATUS
15217 # -----------------------
15218 # Set $? to STATUS, without forking.
15219 as_fn_set_status
()
15222 } # as_fn_set_status
15224 # as_fn_exit STATUS
15225 # -----------------
15226 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15230 as_fn_set_status
$1
15236 # Portably unset VAR.
15239 { eval $1=; unset $1;}
15241 as_unset
=as_fn_unset
15243 # as_fn_append VAR VALUE
15244 # ----------------------
15245 # Append the text in VALUE to the end of the definition contained in VAR. Take
15246 # advantage of any shell optimizations that allow amortized linear growth over
15247 # repeated appends, instead of the typical quadratic growth present in naive
15249 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
15251 eval 'as_fn_append ()
15262 # as_fn_arith ARG...
15263 # ------------------
15264 # Perform arithmetic evaluation on the ARGs, and store the result in the
15265 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15266 # must be portable across $(()) and expr.
15267 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
15269 eval 'as_fn_arith ()
15276 as_val
=`expr "$@" || test $? -eq 1`
15281 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15282 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15288 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15289 as_basename
=basename
15294 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15300 as_me
=`$as_basename -- "$0" ||
15301 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15302 X"$0" : 'X\(//\)$' \| \
15303 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15304 printf "%s\n" X/"$0" |
15305 sed '/^.*\/\([^/][^/]*\)\/*$/{
15319 # Avoid depending upon Character Ranges.
15320 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15321 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15322 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15323 as_cr_digits
='0123456789'
15324 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15327 # Determine whether it's possible to make 'echo' print without a newline.
15328 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
15329 # for compatibility with existing Makefiles.
15330 ECHO_C
= ECHO_N
= ECHO_T
=
15331 case `echo -n x` in #(((((
15333 case `echo 'xy\c'` in
15334 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15336 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15343 # For backward compatibility with old third-party macros, we provide
15344 # the shell variables $as_echo and $as_echo_n. New code should use
15345 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
15346 as_echo
='printf %s\n'
15347 as_echo_n
='printf %s'
15349 rm -f conf$$ conf$$.exe conf$$.
file
15350 if test -d conf$$.dir
; then
15351 rm -f conf$$.dir
/conf$$.
file
15354 mkdir conf$$.dir
2>/dev
/null
15356 if (echo >conf$$.
file) 2>/dev
/null
; then
15357 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15359 # ... but there are two gotchas:
15360 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15361 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15362 # In both cases, we have to default to `cp -pR'.
15363 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15365 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15373 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15374 rmdir conf$$.dir
2>/dev
/null
15379 # Create "$as_dir" as a directory, including parents if necessary.
15384 -*) as_dir
=.
/$as_dir;;
15386 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15390 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15391 *) as_qdir
=$as_dir;;
15393 as_dirs
="'$as_qdir' $as_dirs"
15394 as_dir
=`$as_dirname -- "$as_dir" ||
15395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15396 X"$as_dir" : 'X\(//\)[^/]' \| \
15397 X"$as_dir" : 'X\(//\)$' \| \
15398 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15399 printf "%s\n" X"$as_dir" |
15400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15404 /^X\(\/\/\)[^/].*/{
15417 test -d "$as_dir" && break
15419 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15420 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15424 if mkdir
-p .
2>/dev
/null
; then
15425 as_mkdir_p
='mkdir -p "$as_dir"'
15427 test -d .
/-p && rmdir .
/-p
15432 # as_fn_executable_p FILE
15433 # -----------------------
15434 # Test if FILE is an executable regular file.
15435 as_fn_executable_p
()
15437 test -f "$1" && test -x "$1"
15438 } # as_fn_executable_p
15439 as_test_x
='test -x'
15440 as_executable_p
=as_fn_executable_p
15442 # Sed expression to map a string onto a valid CPP name.
15443 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15445 # Sed expression to map a string onto a valid variable name.
15446 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15450 ## ----------------------------------- ##
15451 ## Main body of $CONFIG_STATUS script. ##
15452 ## ----------------------------------- ##
15454 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15457 # Save the log message, to keep $0 and so on meaningful, and to
15458 # report actual input values of CONFIG_FILES etc. instead of their
15459 # values after options handling.
15461 This file was extended by systemtap $as_me 5.1, which was
15462 generated by GNU Autoconf 2.71. Invocation command line was
15464 CONFIG_FILES = $CONFIG_FILES
15465 CONFIG_HEADERS = $CONFIG_HEADERS
15466 CONFIG_LINKS = $CONFIG_LINKS
15467 CONFIG_COMMANDS = $CONFIG_COMMANDS
15470 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15475 case $ac_config_files in *"
15476 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15479 case $ac_config_headers in *"
15480 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15485 # Files that config.status was made for.
15486 config_files="$ac_config_files"
15487 config_headers="$ac_config_headers"
15488 config_commands="$ac_config_commands"
15492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15494 \`$as_me' instantiates files and other configuration actions
15495 from templates according to the current configuration. Unless the files
15496 and actions are specified as TAGs, all are instantiated by default.
15498 Usage: $0 [OPTION]... [TAG]...
15500 -h, --help print this help, then exit
15501 -V, --version print version number and configuration settings, then exit
15502 --config print configuration, then exit
15503 -q, --quiet, --silent
15504 do not print progress messages
15505 -d, --debug don't remove temporary files
15506 --recheck update $as_me by reconfiguring in the same conditions
15507 --file=FILE[:TEMPLATE]
15508 instantiate the configuration file FILE
15509 --header=FILE[:TEMPLATE]
15510 instantiate the configuration header FILE
15512 Configuration files:
15515 Configuration headers:
15518 Configuration commands:
15521 Report bugs to <systemtap@sourceware.org>."
15524 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
15525 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
15526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15527 ac_cs_config='$ac_cs_config_escaped'
15529 systemtap config.status 5.1
15530 configured by $0, generated by GNU Autoconf 2.71,
15531 with options \\"\$ac_cs_config\\"
15533 Copyright (C) 2021 Free Software Foundation, Inc.
15534 This config.status script is free software; the Free Software Foundation
15535 gives unlimited permission to copy, distribute and modify it."
15542 test -n "\$AWK" || AWK=awk
15545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15546 # The default lists apply if the user does not specify any file.
15552 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15553 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15557 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15569 # Handling of the options.
15570 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15572 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15573 printf "%s\n" "$ac_cs_version"; exit ;;
15574 --config |
--confi |
--conf |
--con |
--co |
--c )
15575 printf "%s\n" "$ac_cs_config"; exit ;;
15576 --debug |
--debu |
--deb |
--de |
--d |
-d )
15578 --file |
--fil |
--fi |
--f )
15581 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15582 '') as_fn_error $?
"missing file argument" ;;
15584 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15585 ac_need_defaults
=false
;;
15586 --header |
--heade |
--head |
--hea )
15589 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15591 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15592 ac_need_defaults
=false
;;
15594 # Conflict between --help and --header
15595 as_fn_error $?
"ambiguous option: \`$1'
15596 Try \`$0 --help' for more information.";;
15597 --help |
--hel |
-h )
15598 printf "%s\n" "$ac_cs_usage"; exit ;;
15599 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15600 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15603 # This is an error.
15604 -*) as_fn_error $?
"unrecognized option: \`$1'
15605 Try \`$0 --help' for more information." ;;
15607 *) as_fn_append ac_config_targets
" $1"
15608 ac_need_defaults
=false
;;
15614 ac_configure_extra_args
=
15616 if $ac_cs_silent; then
15618 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15623 if \$ac_cs_recheck; then
15624 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15626 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
15627 CONFIG_SHELL='$SHELL'
15628 export CONFIG_SHELL
15633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15638 ## Running $as_me. ##
15640 printf "%s\n" "$ac_log"
15644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15648 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15649 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15650 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
15651 # from automake < 1.5.
15652 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15653 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15654 LINGUAS="${LINGUAS-%UNSET%}"
15659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15661 # Handling of arguments.
15662 for ac_config_target
in $ac_config_targets
15664 case $ac_config_target in
15665 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15666 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
15667 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
15668 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
15669 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15670 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15671 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15672 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
15673 "man/cs/Makefile") CONFIG_FILES
="$CONFIG_FILES man/cs/Makefile" ;;
15674 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
15675 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
15676 "man/stap.1") CONFIG_FILES
="$CONFIG_FILES man/stap.1" ;;
15677 "man/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/stappaths.7" ;;
15678 "man/systemtap-service.8") CONFIG_FILES
="$CONFIG_FILES man/systemtap-service.8" ;;
15679 "man/cs/stap.1") CONFIG_FILES
="$CONFIG_FILES man/cs/stap.1" ;;
15680 "man/cs/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/cs/stappaths.7" ;;
15681 "man/cs/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/cs/systemtap.8" ;;
15682 "initscript/config.systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/config.systemtap" ;;
15683 "initscript/config.stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/config.stap-server" ;;
15684 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
15685 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
15686 "initscript/99stap/module-setup.sh") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/module-setup.sh" ;;
15687 "initscript/99stap/install") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/install" ;;
15688 "initscript/99stap/check") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/check" ;;
15689 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
15690 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
15691 "stapdyn/Makefile") CONFIG_FILES
="$CONFIG_FILES stapdyn/Makefile" ;;
15692 "java/Makefile") CONFIG_FILES
="$CONFIG_FILES java/Makefile" ;;
15693 "java/stapbm") CONFIG_FILES
="$CONFIG_FILES java/stapbm" ;;
15694 "java/org/systemtap/byteman/helper/HelperSDT.java") CONFIG_FILES
="$CONFIG_FILES java/org/systemtap/byteman/helper/HelperSDT.java" ;;
15695 "python/Makefile") CONFIG_FILES
="$CONFIG_FILES python/Makefile" ;;
15696 "interactive-notebook/Makefile") CONFIG_FILES
="$CONFIG_FILES interactive-notebook/Makefile" ;;
15697 "interactive-notebook/stap-jupyter-container") CONFIG_FILES
="$CONFIG_FILES interactive-notebook/stap-jupyter-container" ;;
15698 "interactive-notebook/stap-jupyter-install") CONFIG_FILES
="$CONFIG_FILES interactive-notebook/stap-jupyter-install" ;;
15699 "staprun/Makefile") CONFIG_FILES
="$CONFIG_FILES staprun/Makefile" ;;
15700 "stapbpf/Makefile") CONFIG_FILES
="$CONFIG_FILES stapbpf/Makefile" ;;
15701 "httpd/Makefile") CONFIG_FILES
="$CONFIG_FILES httpd/Makefile" ;;
15702 "httpd/docker/Makefile") CONFIG_FILES
="$CONFIG_FILES httpd/docker/Makefile" ;;
15703 "staprun/run-staprun") CONFIG_FILES
="$CONFIG_FILES staprun/run-staprun" ;;
15704 "staprun/guest/stapshd") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapshd" ;;
15705 "staprun/guest/stapsh-daemon") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh-daemon" ;;
15706 "staprun/guest/stapsh@.service") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh@.service" ;;
15707 "stap-exporter/Makefile") CONFIG_FILES
="$CONFIG_FILES stap-exporter/Makefile" ;;
15708 "stap-profile-annotate") CONFIG_FILES
="$CONFIG_FILES stap-profile-annotate" ;;
15709 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
15711 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15716 # If the user did not use the arguments to specify the items to instantiate,
15717 # then the envvar interface is used. Set only those that are not.
15718 # We use the long form for the default assignment because of an extremely
15719 # bizarre bug on SunOS 4.1.3.
15720 if $ac_need_defaults; then
15721 test ${CONFIG_FILES+y} || CONFIG_FILES
=$config_files
15722 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
15723 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
15726 # Have a temporary directory for convenience. Make it in the build tree
15727 # simply because there is no reason against having it here, and in addition,
15728 # creating and moving files from /tmp can sometimes cause problems.
15729 # Hook for its removal unless debugging.
15730 # Note that there is a small window in which the directory will not be cleaned:
15731 # after its creation but before its name has been assigned to `$tmp'.
15735 trap 'exit_status=$?
15736 : "${ac_tmp:=$tmp}"
15737 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15739 trap 'as_fn_exit 1' 1 2 13 15
15741 # Create a (secure) tmp directory for tmp files.
15744 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15748 tmp
=.
/conf$$
-$RANDOM
15749 (umask 077 && mkdir
"$tmp")
15750 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15753 # Set up the scripts for CONFIG_FILES section.
15754 # No need to generate them if there are no CONFIG_FILES.
15755 # This happens for instance with `./config.status config.h'.
15756 if test -n "$CONFIG_FILES"; then
15759 ac_cr
=`echo X | tr X '\015'`
15760 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15761 # But we know of no other shell where ac_cr would be empty at this
15762 # point, so we can use a bashism as a fallback.
15763 if test "x$ac_cr" = x
; then
15764 eval ac_cr
=\$
\'\\r
\'
15766 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15767 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15770 ac_cs_awk_cr
=$ac_cr
15773 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15778 echo "cat >conf$$subs.awk <<_ACEOF" &&
15779 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15781 } >conf$$subs.sh ||
15782 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15783 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15785 for ac_last_try in false false false false false :; do
15786 . ./conf$$subs.sh ||
15787 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15789 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15790 if test $ac_delim_n = $ac_delim_num; then
15792 elif $ac_last_try; then
15793 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15795 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15798 rm -f conf$$subs.sh
15800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15801 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15805 s/^/S["/; s
/!.
*/"]=/
15815 s/\(.\{148\}\)..*/\1/
15817 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15822 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15829 s/\(.\{148\}\)..*/\1/
15831 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15835 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15840 ' <conf$$subs.awk | sed '
15845 ' >>$CONFIG_STATUS || ac_write_fail=1
15846 rm -f conf$$subs.awk
15847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15849 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15850 for (key in S) S_is_set[key] = 1
15856 nfields = split(line, field, "@
")
15858 len = length(field[1])
15859 for (i = 2; i < nfields; i++) {
15861 keylen = length(key)
15862 if (S_is_set[key]) {
15864 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15865 len += length(value) + length(field[++i])
15876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15877 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15878 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15881 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15882 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15885 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15886 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15887 # trailing colons and then remove the whole line if VPATH becomes empty
15888 # (actually we leave an empty line to preserve line numbers).
15889 if test "x
$srcdir" = x.; then
15890 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15909 fi # test -n "$CONFIG_FILES"
15911 # Set up the scripts for CONFIG_HEADERS section.
15912 # No need to generate them if there are no CONFIG_HEADERS.
15913 # This happens for instance with `./config.status Makefile'.
15914 if test -n "$CONFIG_HEADERS"; then
15915 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15919 # Transform confdefs.h into an awk script `defines.awk', embedded as
15920 # here-document in config.status, that substitutes the proper values into
15921 # config.h.in to produce config.h.
15923 # Create a delimiter string that does not exist in confdefs.h, to ease
15924 # handling of long lines.
15926 for ac_last_try in false false :; do
15927 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15928 if test -z "$ac_tt"; then
15930 elif $ac_last_try; then
15931 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15933 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15937 # For the awk script, D is an array of macro values keyed by name,
15938 # likewise P contains macro parameters if any. Preserve backslash
15939 # newline sequences.
15941 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15943 s/.\{148\}/&'"$ac_delim"'/g
15946 s/^[ ]*#[ ]*define[ ][ ]*/ /
15953 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15955 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15959 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15960 D["\
1"]=" \
3\\\\\\n
"\\/p
15962 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15967 s/.\{148\}/&'"$ac_delim"'/g
15972 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15975 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15977 ' <confdefs.h | sed '
15978 s/'"$ac_delim"'/"\\\
15979 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15982 for (key in D) D_is_set[key] = 1
15985 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15987 split(line, arg, " ")
15988 if (arg[1] == "#") {
15992 defundef
= substr
(arg
[1], 2)
15995 split(mac1
, mac2
, "(") #)
15997 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15998 if (D_is_set
[macro
]) {
15999 # Preserve the white space surrounding the "#".
16000 print prefix
"define", macro P
[macro
] D
[macro
]
16003 # Replace #undef with comments. This is necessary, for example,
16004 # in the case of _POSIX_SOURCE, which is predefined and required
16005 # on some systems where configure will not decide to define it.
16006 if (defundef
== "undef") {
16007 print
"/*", prefix defundef
, macro
, "*/"
16015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16016 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16017 fi # test -n "$CONFIG_HEADERS"
16020 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16025 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16027 case $ac_mode$ac_tag in
16029 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16030 :[FH
]-) ac_tag
=-:-;;
16031 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16048 -) ac_f
="$ac_tmp/stdin";;
16049 *) # Look for the file first in the build tree, then in the source tree
16050 # (if the path is not absolute). The absolute path cannot be DOS-style,
16051 # because $ac_f cannot contain `:'.
16055 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16057 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16059 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16060 as_fn_append ac_file_inputs
" '$ac_f'"
16063 # Let's still pretend it is `configure' which instantiates (i.e., don't
16064 # use $as_me), people would be surprised to read:
16065 # /* config.h. Generated by config.status. */
16066 configure_input
='Generated from '`
16067 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16069 if test x
"$ac_file" != x-
; then
16070 configure_input
="$ac_file. $configure_input"
16071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16072 printf "%s\n" "$as_me: creating $ac_file" >&6;}
16074 # Neutralize special characters interpreted by sed in replacement strings.
16075 case $configure_input in #(
16076 *\
&* |
*\|
* |
*\\* )
16077 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
16078 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16079 *) ac_sed_conf_input
=$configure_input;;
16083 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16084 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16089 ac_dir
=`$as_dirname -- "$ac_file" ||
16090 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16091 X"$ac_file" : 'X\(//\)[^/]' \| \
16092 X"$ac_file" : 'X\(//\)$' \| \
16093 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16094 printf "%s\n" X"$ac_file" |
16095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16099 /^X\(\/\/\)[^/].*/{
16112 as_dir
="$ac_dir"; as_fn_mkdir_p
16116 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16118 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
16119 # A ".." for each directory in $ac_dir_suffix.
16120 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16121 case $ac_top_builddir_sub in
16122 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16123 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16126 ac_abs_top_builddir
=$ac_pwd
16127 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16128 # for backward compatibility:
16129 ac_top_builddir
=$ac_top_build_prefix
16132 .
) # We are building in place.
16134 ac_top_srcdir
=$ac_top_builddir_sub
16135 ac_abs_top_srcdir
=$ac_pwd ;;
16136 [\\/]* | ?
:[\\/]* ) # Absolute name.
16137 ac_srcdir
=$srcdir$ac_dir_suffix;
16138 ac_top_srcdir
=$srcdir
16139 ac_abs_top_srcdir
=$srcdir ;;
16140 *) # Relative name.
16141 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16142 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16143 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16145 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16155 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16156 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16158 ac_MKDIR_P
=$MKDIR_P
16160 [\\/$
]* | ?
:[\\/]* ) ;;
16161 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16166 # If the template does not know about datarootdir, expand it.
16167 # FIXME: This hack should be removed a few years after 2.60.
16168 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16179 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16180 *datarootdir
*) ac_datarootdir_seen
=yes;;
16181 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16183 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16186 ac_datarootdir_hack='
16187 s&@datadir@&$datadir&g
16188 s&@docdir@&$docdir&g
16189 s&@infodir@&$infodir&g
16190 s&@localedir@&$localedir&g
16191 s&@mandir@&$mandir&g
16192 s&\\\${datarootdir}&$datarootdir&g' ;;
16196 # Neutralize VPATH when `$srcdir' = `.'.
16197 # Shell code in configure.ac might set extrasub.
16198 # FIXME: do we really want to maintain this feature?
16199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16200 ac_sed_extra="$ac_vpsub
16203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16205 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16206 s|@configure_input@|
$ac_sed_conf_input|
;t t
16207 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16208 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16209 s
&@srcdir@
&$ac_srcdir&;t t
16210 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16211 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16212 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16213 s
&@builddir@
&$ac_builddir&;t t
16214 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16215 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16216 s
&@INSTALL@
&$ac_INSTALL&;t t
16217 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16218 $ac_datarootdir_hack
16220 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16221 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16223 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16224 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16225 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16226 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16227 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16228 which seems to be undefined. Please make sure it is defined" >&5
16229 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16230 which seems to be undefined. Please make sure it is defined" >&2;}
16232 rm -f "$ac_tmp/stdin"
16234 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16235 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16237 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16243 if test x"$ac_file" != x-; then
16245 printf "%s\n" "/* $configure_input */" >&1 \
16246 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16247 } >"$ac_tmp/config.h" \
16248 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16249 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16251 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
16254 mv "$ac_tmp/config.h" "$ac_file" \
16255 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16258 printf "%s\n" "/* $configure_input */" >&1 \
16259 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16260 || as_fn_error $? "could not create -" "$LINENO" 5
16262 # Compute "$ac_file"'s index
in $config_headers.
16265 for _am_header
in $config_headers :; do
16266 case $_am_header in
16267 $_am_arg |
$_am_arg:* )
16270 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16273 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16274 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16275 X"$_am_arg" : 'X\(//\)[^/]' \| \
16276 X"$_am_arg" : 'X\(//\)$' \| \
16277 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16278 printf "%s\n" X"$_am_arg" |
16279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16283 /^X\(\/\/\)[^/].*/{
16295 s/.*/./; q'`/stamp-h
$_am_stamp_count
16298 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16299 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
16304 case $ac_file$ac_mode in
16305 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16306 # Older Autoconf quotes --file arguments for eval, but not when files
16307 # are listed without --file. Let's play safe and only enable the eval
16308 # if we detect the quoting.
16309 # TODO: see whether this extra hack can be removed once we start
16310 # requiring Autoconf 2.70 or later.
16311 case $CONFIG_FILES in #(
16313 eval set x
"$CONFIG_FILES" ;; #(
16315 set x
$CONFIG_FILES ;; #(
16320 # Used to flag and report bootstrapping failures.
16324 # Strip MF so we end up with the name of the file.
16325 am_mf
=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
16326 # Check whether this is an Automake generated Makefile which includes
16327 # dependency-tracking related rules and includes.
16328 # Grep'ing the whole file directly is not great: AIX grep has a line
16329 # limit of 2048, but all sed's we know have understand at least 4000.
16330 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
16332 am_dirpart
=`$as_dirname -- "$am_mf" ||
16333 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16334 X"$am_mf" : 'X\(//\)[^/]' \| \
16335 X"$am_mf" : 'X\(//\)$' \| \
16336 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16337 printf "%s\n" X"$am_mf" |
16338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16342 /^X\(\/\/\)[^/].*/{
16355 am_filepart
=`$as_basename -- "$am_mf" ||
16356 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16357 X"$am_mf" : 'X\(//\)$' \| \
16358 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16359 printf "%s\n" X/"$am_mf" |
16360 sed '/^.*\/\([^/][^/]*\)\/*$/{
16373 { echo "$as_me:$LINENO: cd "$am_dirpart" \
16374 && sed -e '/# am--include-marker/d' "$am_filepart" \
16375 | $MAKE -f - am--depfiles" >&5
16376 (cd "$am_dirpart" \
16377 && sed -e '/# am--include-marker/d' "$am_filepart" \
16378 |
$MAKE -f - am--depfiles
) >&5 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } || am_rc
=$?
16383 if test $am_rc -ne 0; then
16384 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16385 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
16386 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
16387 for automatic dependency tracking. If GNU make was not used, consider
16388 re-running the configure script with MAKE=\"gmake\" (or whatever is
16389 necessary). You can also try re-running configure with the
16390 '--disable-dependency-tracking' option to at least be able to build
16391 the package (albeit without support for automatic dependency tracking).
16392 See \`config.log' for more details" "$LINENO" 5; }
16394 { am_dirpart
=; unset am_dirpart
;}
16395 { am_filepart
=; unset am_filepart
;}
16396 { am_mf
=; unset am_mf
;}
16397 { am_rc
=; unset am_rc
;}
16398 rm -f conftest-deps.mk
16401 "po-directories":C
)
16402 for ac_file
in $CONFIG_FILES; do
16403 # Support "outfile[:infile[:infile...]]"
16405 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16407 # PO directories have a Makefile.in generated from Makefile.in.in.
16408 case "$ac_file" in */Makefile.
in)
16409 # Adjust a relative srcdir.
16410 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16411 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
16412 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16413 # In autoconf-2.13 it is called $ac_given_srcdir.
16414 # In autoconf-2.50 it is called $srcdir.
16415 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16416 case "$ac_given_srcdir" in
16417 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16418 /*) top_srcdir
="$ac_given_srcdir" ;;
16419 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16421 # Treat a directory as a PO directory if and only if it has a
16422 # POTFILES.in file. This allows packages to have multiple PO
16423 # directories under different names or in different locations.
16424 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16425 rm -f "$ac_dir/POTFILES"
16426 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16427 gt_tab
=`printf '\t'`
16428 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16429 POMAKEFILEDEPS
="POTFILES.in"
16430 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
16431 # on $ac_dir but don't depend on user-specified configuration
16433 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16434 # The LINGUAS file contains the set of available languages.
16435 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16436 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16438 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16439 # Hide the ALL_LINGUAS assignment from automake < 1.5.
16440 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16441 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16443 # The set of available languages was given in configure.in.
16444 # Hide the ALL_LINGUAS assignment from automake < 1.5.
16445 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16448 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
16449 # Compute UPDATEPOFILES
16450 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
16451 # Compute DUMMYPOFILES
16452 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
16454 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
16455 case "$ac_given_srcdir" in
16457 *) srcdirpre
='$(srcdir)/' ;;
16463 for lang
in $ALL_LINGUAS; do
16464 POFILES
="$POFILES $srcdirpre$lang.po"
16465 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16466 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16467 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16469 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16470 # environment variable.
16472 if test -n "$ALL_LINGUAS"; then
16473 for presentlang
in $ALL_LINGUAS; do
16475 if test "%UNSET%" != "$LINGUAS"; then
16476 desiredlanguages
="$LINGUAS"
16478 desiredlanguages
="$ALL_LINGUAS"
16480 for desiredlang
in $desiredlanguages; do
16481 # Use the presentlang catalog if desiredlang is
16482 # a. equal to presentlang, or
16483 # b. a variant of presentlang (because in this case,
16484 # presentlang can be used as a fallback for messages
16485 # which are not translated in the desiredlang catalog).
16486 case "$desiredlang" in
16487 "$presentlang"*) useit
=yes;;
16490 if test $useit = yes; then
16491 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16496 if test -n "$INST_LINGUAS"; then
16497 for lang
in $INST_LINGUAS; do
16498 CATALOGS
="$CATALOGS $lang.gmo"
16501 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16502 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16503 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16504 if test -f "$f"; then
16506 *.orig |
*.bak |
*~
) ;;
16507 *) cat "$f" >> "$ac_dir/Makefile" ;;
16515 "run-stap":F
) chmod +x run-stap
;;
16516 "dtrace":F
) chmod +x dtrace
;;
16517 "java/stapbm":F
) chmod +x java
/stapbm
;;
16518 "interactive-notebook/stap-jupyter-container":F
) chmod +x interactive-notebook
/stap-jupyter-container
;;
16519 "interactive-notebook/stap-jupyter-install":F
) chmod +x interactive-notebook
/stap-jupyter-install
;;
16520 "staprun/run-staprun":F
) chmod +x staprun
/run-staprun
;;
16521 "staprun/guest/stapshd":F
) chmod +x staprun
/guest
/stapshd
;;
16522 "staprun/guest/stapsh-daemon":F
) chmod +x staprun
/guest
/stapsh-daemon
;;
16523 "stap-profile-annotate":F
) chmod +x stap-profile-annotate
;;
16524 "doc/beginners":C
) rm -f $ac_abs_top_builddir/doc
/beginners
/en-US
$ac_abs_top_builddir/doc
/beginners
/build
/en-US
/testsuite
&& mkdir
-p $ac_abs_top_builddir/doc
/beginners
/build
/en-US
&& ln -s $ac_abs_top_srcdir/doc
/SystemTap_Beginners_Guide
/en-US
$ac_abs_top_builddir/doc
/beginners
/en-US
&& ln -s $ac_abs_top_srcdir/testsuite
$ac_abs_top_builddir/doc
/beginners
/build
/en-US
/testsuite
;;
16532 ac_clean_files
=$ac_clean_files_save
16534 test $ac_write_fail = 0 ||
16535 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16538 # configure is writing to config.log, and then calls config.status.
16539 # config.status does its own redirection, appending to config.log.
16540 # Unfortunately, on DOS this fails, as config.log is still kept open
16541 # by configure, so config.status won't be able to write to it; its
16542 # output is simply discarded. So we exec the FD to /dev/null,
16543 # effectively closing config.log, so it can be properly (re)opened and
16544 # appended to by config.status. When coming back to configure, we
16545 # need to make the FD available again.
16546 if test "$no_create" != yes; then
16548 ac_config_status_args
=
16549 test "$silent" = yes &&
16550 ac_config_status_args
="$ac_config_status_args --quiet"
16552 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16554 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16555 # would make configure fail if this is the last instruction.
16556 $ac_cs_success || as_fn_exit
1
16560 # CONFIG_SUBDIRS section.
16562 if test "$no_recursion" != yes; then
16564 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16565 # so they do not pile up.
16566 ac_sub_configure_args
=
16568 eval "set x $ac_configure_args"
16572 if test -n "$ac_prev"; then
16577 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16578 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16579 ac_prev
=cache_file
;;
16580 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16581 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16584 --config-cache |
-C)
16586 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16588 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16590 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16592 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16594 --disable-option-checking)
16598 *\'*) ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16600 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
16604 # Always prepend --prefix to ensure using the same prefix
16605 # in subdir configurations.
16606 ac_arg
="--prefix=$prefix"
16608 *\'*) ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16610 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
16613 if test "$silent" = yes; then
16614 ac_sub_configure_args
="--silent $ac_sub_configure_args"
16617 # Always prepend --disable-option-checking to silence warnings, since
16618 # different subdirs can have different --enable and --with options.
16619 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
16622 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
16624 # Do not complain, so a configure script can configure whichever
16625 # parts of a large source tree are present.
16626 test -d "$srcdir/$ac_dir" ||
continue
16628 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16630 printf "%s\n" "$ac_msg" >&6
16631 as_dir
="$ac_dir"; as_fn_mkdir_p
16635 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16637 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
16638 # A ".." for each directory in $ac_dir_suffix.
16639 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16640 case $ac_top_builddir_sub in
16641 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16642 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16645 ac_abs_top_builddir
=$ac_pwd
16646 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16647 # for backward compatibility:
16648 ac_top_builddir
=$ac_top_build_prefix
16651 .
) # We are building in place.
16653 ac_top_srcdir
=$ac_top_builddir_sub
16654 ac_abs_top_srcdir
=$ac_pwd ;;
16655 [\\/]* | ?
:[\\/]* ) # Absolute name.
16656 ac_srcdir
=$srcdir$ac_dir_suffix;
16657 ac_top_srcdir
=$srcdir
16658 ac_abs_top_srcdir
=$srcdir ;;
16659 *) # Relative name.
16660 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16661 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16662 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16664 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16669 # Check for configure.gnu first; this name is used for a wrapper for
16670 # Metaconfig's "Configure" on case-insensitive file systems.
16671 if test -f "$ac_srcdir/configure.gnu"; then
16672 ac_sub_configure
=$ac_srcdir/configure.gnu
16673 elif test -f "$ac_srcdir/configure"; then
16674 ac_sub_configure
=$ac_srcdir/configure
16676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16677 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16681 # The recursion is here.
16682 if test -n "$ac_sub_configure"; then
16683 # Make the cache file name correct relative to the subdirectory.
16684 case $cache_file in
16685 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
16686 *) # Relative name.
16687 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
16690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16691 printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16692 # The eval makes quoting arguments work.
16693 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16694 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16695 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16701 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16703 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16707 if test "${prefix}" = "/usr/local"; then
16708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: " >&5
16709 printf "%s\n" "$as_me: " >&6;}
16710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
16711 printf "%s\n" "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
16712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
16713 printf "%s\n" "$as_me: configuring with a prefix. For example, try" >&6;}
16714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
16715 printf "%s\n" "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
16716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
16717 printf "%s\n" "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
16718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: is not supported." >&5
16719 printf "%s\n" "$as_me: is not supported." >&6;}