2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemtap 4.3.
5 # Report bugs to <systemtap@sourceware.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
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 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: systemtap@sourceware.org about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='systemtap'
582 PACKAGE_TARNAME
='systemtap'
583 PACKAGE_VERSION
='4.3'
584 PACKAGE_STRING
='systemtap 4.3'
585 PACKAGE_BUGREPORT
='systemtap@sourceware.org'
588 # Factoring default headers for most tests.
589 ac_includes_default
="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
625 enable_option_checking
=no
626 ac_subst_vars
='am__EXEEXT_FALSE
632 NEED_BASE_CLIENT_CODE_FALSE
633 NEED_BASE_CLIENT_CODE_TRUE
634 HAVE_HTTP_SUPPORT_FALSE
635 HAVE_HTTP_SUPPORT_TRUE
656 support_section_question
657 HAVE_MONITOR_LIBS_FALSE
658 HAVE_MONITOR_LIBS_TRUE
663 HAVE_PYTHON_PROBES_FALSE
664 HAVE_PYTHON_PROBES_TRUE
665 HAVE_PYTHON3_PROBES_FALSE
666 HAVE_PYTHON3_PROBES_TRUE
669 HAVE_PYTHON2_PROBES_FALSE
670 HAVE_PYTHON2_PROBES_TRUE
696 HAVE_LIBREADLINE_FALSE
697 HAVE_LIBREADLINE_TRUE
715 XMLTO_STRINGPARAM_FALSE
716 XMLTO_STRINGPARAM_TRUE
727 INSTALL_PREBUILT_DOCS_FALSE
728 INSTALL_PREBUILT_DOCS_TRUE
737 BUILD_TRANSLATOR_FALSE
738 BUILD_TRANSLATOR_TRUE
772 XGETTEXT_EXTRA_OPTIONS
780 GETTEXT_MACRO_VERSION
811 MAINTAINER_MODE_FALSE
825 INSTALL_STRIP_PROGRAM
879 program_transform_name
893 enable_option_checking
895 enable_maintainer_mode
896 enable_dependency_tracking
934 ac_precious_vars
='build_alias
975 ac_subdirs_all
='testsuite'
977 # Initialize some variables set by options.
979 ac_init_version
=false
980 ac_unrecognized_opts
=
982 # The variables have the same names as the options, with
983 # dashes changed to underlines.
991 program_transform_name
=s
,x
,x
,
999 # Installation directory options.
1000 # These are left unexpanded so users can "make install exec_prefix=/foo"
1001 # and all the variables that are supposed to be based on exec_prefix
1002 # by default will actually change.
1003 # Use braces instead of parens because sh, perl, etc. also accept them.
1004 # (The list follows the same order as the GNU Coding Standards.)
1005 bindir
='${exec_prefix}/bin'
1006 sbindir
='${exec_prefix}/sbin'
1007 libexecdir
='${exec_prefix}/libexec'
1008 datarootdir
='${prefix}/share'
1009 datadir
='${datarootdir}'
1010 sysconfdir
='${prefix}/etc'
1011 sharedstatedir
='${prefix}/com'
1012 localstatedir
='${prefix}/var'
1013 includedir
='${prefix}/include'
1014 oldincludedir
='/usr/include'
1015 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1016 infodir
='${datarootdir}/info'
1021 libdir
='${exec_prefix}/lib'
1022 localedir
='${datarootdir}/locale'
1023 mandir
='${datarootdir}/man'
1029 # If the previous option needs an argument, assign it.
1030 if test -n "$ac_prev"; then
1031 eval $ac_prev=\
$ac_option
1037 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1042 # Accept the important Cygnus configure options, so we can diagnose typos.
1044 case $ac_dashdash$ac_option in
1048 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1050 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1051 bindir
=$ac_optarg ;;
1053 -build |
--build |
--buil |
--bui |
--bu)
1054 ac_prev
=build_alias
;;
1055 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1056 build_alias
=$ac_optarg ;;
1058 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1059 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1060 ac_prev
=cache_file
;;
1061 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1062 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1063 cache_file
=$ac_optarg ;;
1065 --config-cache |
-C)
1066 cache_file
=config.cache
;;
1068 -datadir |
--datadir |
--datadi |
--datad)
1070 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1071 datadir
=$ac_optarg ;;
1073 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1074 |
--dataroo |
--dataro |
--datar)
1075 ac_prev
=datarootdir
;;
1076 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1077 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1078 datarootdir
=$ac_optarg ;;
1080 -disable-* |
--disable-*)
1081 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1084 as_fn_error $?
"invalid feature name: $ac_useropt"
1085 ac_useropt_orig
=$ac_useropt
1086 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1089 "enable_
$ac_useropt"
1091 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1092 ac_unrecognized_sep
=', ';;
1094 eval enable_
$ac_useropt=no
;;
1096 -docdir |
--docdir |
--docdi |
--doc |
--do)
1098 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1099 docdir
=$ac_optarg ;;
1101 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1103 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1104 dvidir
=$ac_optarg ;;
1106 -enable-* |
--enable-*)
1107 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1110 as_fn_error $?
"invalid feature name: $ac_useropt"
1111 ac_useropt_orig
=$ac_useropt
1112 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1115 "enable_
$ac_useropt"
1117 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1118 ac_unrecognized_sep
=', ';;
1120 eval enable_
$ac_useropt=\
$ac_optarg ;;
1122 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1123 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1124 |
--exec |
--exe |
--ex)
1125 ac_prev
=exec_prefix
;;
1126 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1127 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1128 |
--exec=* |
--exe=* |
--ex=*)
1129 exec_prefix
=$ac_optarg ;;
1131 -gas |
--gas |
--ga |
--g)
1132 # Obsolete; use --with-gas.
1135 -help |
--help |
--hel |
--he |
-h)
1136 ac_init_help
=long
;;
1137 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1138 ac_init_help
=recursive
;;
1139 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1140 ac_init_help
=short
;;
1142 -host |
--host |
--hos |
--ho)
1143 ac_prev
=host_alias
;;
1144 -host=* |
--host=* |
--hos=* |
--ho=*)
1145 host_alias
=$ac_optarg ;;
1147 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1149 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1151 htmldir
=$ac_optarg ;;
1153 -includedir |
--includedir |
--includedi |
--included |
--include \
1154 |
--includ |
--inclu |
--incl |
--inc)
1155 ac_prev
=includedir
;;
1156 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1157 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1158 includedir
=$ac_optarg ;;
1160 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1162 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1163 infodir
=$ac_optarg ;;
1165 -libdir |
--libdir |
--libdi |
--libd)
1167 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1168 libdir
=$ac_optarg ;;
1170 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1171 |
--libexe |
--libex |
--libe)
1172 ac_prev
=libexecdir
;;
1173 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1174 |
--libexe=* |
--libex=* |
--libe=*)
1175 libexecdir
=$ac_optarg ;;
1177 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1178 ac_prev
=localedir
;;
1179 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1180 localedir
=$ac_optarg ;;
1182 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1183 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1184 ac_prev
=localstatedir
;;
1185 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1186 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1187 localstatedir
=$ac_optarg ;;
1189 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1191 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1192 mandir
=$ac_optarg ;;
1194 -nfp |
--nfp |
--nf)
1195 # Obsolete; use --without-fp.
1198 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1199 |
--no-cr |
--no-c |
-n)
1202 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1203 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1206 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1207 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1208 |
--oldin |
--oldi |
--old |
--ol |
--o)
1209 ac_prev
=oldincludedir
;;
1210 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1211 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1212 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1213 oldincludedir
=$ac_optarg ;;
1215 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1217 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1218 prefix
=$ac_optarg ;;
1220 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1221 |
--program-pre |
--program-pr |
--program-p)
1222 ac_prev
=program_prefix
;;
1223 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1224 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1225 program_prefix
=$ac_optarg ;;
1227 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1228 |
--program-suf |
--program-su |
--program-s)
1229 ac_prev
=program_suffix
;;
1230 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1231 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1232 program_suffix
=$ac_optarg ;;
1234 -program-transform-name |
--program-transform-name \
1235 |
--program-transform-nam |
--program-transform-na \
1236 |
--program-transform-n |
--program-transform- \
1237 |
--program-transform |
--program-transfor \
1238 |
--program-transfo |
--program-transf \
1239 |
--program-trans |
--program-tran \
1240 |
--progr-tra |
--program-tr |
--program-t)
1241 ac_prev
=program_transform_name
;;
1242 -program-transform-name=* |
--program-transform-name=* \
1243 |
--program-transform-nam=* |
--program-transform-na=* \
1244 |
--program-transform-n=* |
--program-transform-=* \
1245 |
--program-transform=* |
--program-transfor=* \
1246 |
--program-transfo=* |
--program-transf=* \
1247 |
--program-trans=* |
--program-tran=* \
1248 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1249 program_transform_name
=$ac_optarg ;;
1251 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1253 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1254 pdfdir
=$ac_optarg ;;
1256 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1258 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1261 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1262 |
-silent |
--silent |
--silen |
--sile |
--sil)
1265 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1267 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1269 sbindir
=$ac_optarg ;;
1271 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1272 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1273 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1275 ac_prev
=sharedstatedir
;;
1276 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1277 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1278 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1280 sharedstatedir
=$ac_optarg ;;
1282 -site |
--site |
--sit)
1284 -site=* |
--site=* |
--sit=*)
1287 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1289 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1290 srcdir
=$ac_optarg ;;
1292 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1293 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1294 ac_prev
=sysconfdir
;;
1295 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1296 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1297 sysconfdir
=$ac_optarg ;;
1299 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1300 ac_prev
=target_alias
;;
1301 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1302 target_alias
=$ac_optarg ;;
1304 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1307 -version |
--version |
--versio |
--versi |
--vers |
-V)
1308 ac_init_version
=: ;;
1311 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1312 # Reject names that are not valid shell variable names.
1313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1314 as_fn_error $?
"invalid package name: $ac_useropt"
1315 ac_useropt_orig
=$ac_useropt
1316 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317 case $ac_user_opts in
1321 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1322 ac_unrecognized_sep
=', ';;
1324 eval with_
$ac_useropt=\
$ac_optarg ;;
1326 -without-* |
--without-*)
1327 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1328 # Reject names that are not valid shell variable names.
1329 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1330 as_fn_error $?
"invalid package name: $ac_useropt"
1331 ac_useropt_orig
=$ac_useropt
1332 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1333 case $ac_user_opts in
1337 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1338 ac_unrecognized_sep
=', ';;
1340 eval with_
$ac_useropt=no
;;
1343 # Obsolete; use --with-x.
1346 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1347 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1348 ac_prev
=x_includes
;;
1349 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1350 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1351 x_includes
=$ac_optarg ;;
1353 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1354 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1355 ac_prev
=x_libraries
;;
1356 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1357 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1358 x_libraries
=$ac_optarg ;;
1360 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1361 Try \`$0 --help' for more information"
1365 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1366 # Reject names that are not valid shell variable names.
1367 case $ac_envvar in #(
1368 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1369 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1371 eval $ac_envvar=\
$ac_optarg
1372 export $ac_envvar ;;
1375 # FIXME: should be removed in autoconf 3.0.
1376 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1377 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1378 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1379 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1385 if test -n "$ac_prev"; then
1386 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1387 as_fn_error $?
"missing argument to $ac_option"
1390 if test -n "$ac_unrecognized_opts"; then
1391 case $enable_option_checking in
1393 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1394 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1398 # Check all directory arguments for consistency.
1399 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1400 datadir sysconfdir sharedstatedir localstatedir includedir \
1401 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1402 libdir localedir mandir
1404 eval ac_val
=\$
$ac_var
1405 # Remove trailing slashes.
1408 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1409 eval $ac_var=\
$ac_val;;
1411 # Be sure to have absolute directory names.
1413 [\\/$
]* | ?
:[\\/]* ) continue;;
1414 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1416 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1419 # There might be people who depend on the old broken behavior: `$host'
1420 # used to hold the argument of --host etc.
1421 # FIXME: To remove some day.
1424 target
=$target_alias
1426 # FIXME: To remove some day.
1427 if test "x$host_alias" != x
; then
1428 if test "x$build_alias" = x
; then
1429 cross_compiling
=maybe
1430 elif test "x$build_alias" != "x$host_alias"; then
1436 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1438 test "$silent" = yes && exec 6>/dev
/null
1441 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1442 ac_ls_di
=`ls -di .` &&
1443 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1444 as_fn_error $?
"working directory cannot be determined"
1445 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1446 as_fn_error $?
"pwd does not report name of working directory"
1449 # Find the source files, if location was not specified.
1450 if test -z "$srcdir"; then
1451 ac_srcdir_defaulted
=yes
1452 # Try the directory containing this script, then the parent directory.
1453 ac_confdir
=`$as_dirname -- "$as_myself" ||
1454 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1455 X"$as_myself" : 'X\(//\)[^/]' \| \
1456 X"$as_myself" : 'X\(//\)$' \| \
1457 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1458 $as_echo X"$as_myself" |
1459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1477 if test ! -r "$srcdir/$ac_unique_file"; then
1481 ac_srcdir_defaulted
=no
1483 if test ! -r "$srcdir/$ac_unique_file"; then
1484 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1485 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1487 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1489 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1491 # When building in place, set srcdir=.
1492 if test "$ac_abs_confdir" = "$ac_pwd"; then
1495 # Remove unnecessary trailing slashes from srcdir.
1496 # Double slashes in file names in object file debugging info
1497 # mess up M-x gdb in Emacs.
1499 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1501 for ac_var
in $ac_precious_vars; do
1502 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1503 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1504 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1505 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1509 # Report the --help message.
1511 if test "$ac_init_help" = "long"; then
1512 # Omit some internal or obsolete options to make the list less imposing.
1513 # This message is too long to be a string in the A/UX 3.1 sh.
1515 \`configure' configures systemtap 4.3 to adapt to many kinds of systems.
1517 Usage: $0 [OPTION]... [VAR=VALUE]...
1519 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1520 VAR=VALUE. See below for descriptions of some of the useful variables.
1522 Defaults for the options are specified in brackets.
1525 -h, --help display this help and exit
1526 --help=short display options specific to this package
1527 --help=recursive display the short help of all the included packages
1528 -V, --version display version information and exit
1529 -q, --quiet, --silent do not print \`checking ...' messages
1530 --cache-file=FILE cache test results in FILE [disabled]
1531 -C, --config-cache alias for \`--cache-file=config.cache'
1532 -n, --no-create do not create output files
1533 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1535 Installation directories:
1536 --prefix=PREFIX install architecture-independent files in PREFIX
1537 [$ac_default_prefix]
1538 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1541 By default, \`make install' will install all the files in
1542 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1543 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1544 for instance \`--prefix=\$HOME'.
1546 For better control, use the options below.
1548 Fine tuning of the installation directories:
1549 --bindir=DIR user executables [EPREFIX/bin]
1550 --sbindir=DIR system admin executables [EPREFIX/sbin]
1551 --libexecdir=DIR program executables [EPREFIX/libexec]
1552 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1553 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1554 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1555 --libdir=DIR object code libraries [EPREFIX/lib]
1556 --includedir=DIR C header files [PREFIX/include]
1557 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1558 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1559 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1560 --infodir=DIR info documentation [DATAROOTDIR/info]
1561 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1562 --mandir=DIR man documentation [DATAROOTDIR/man]
1563 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1564 --htmldir=DIR html documentation [DOCDIR]
1565 --dvidir=DIR dvi documentation [DOCDIR]
1566 --pdfdir=DIR pdf documentation [DOCDIR]
1567 --psdir=DIR ps documentation [DOCDIR]
1573 --program-prefix=PREFIX prepend PREFIX to installed program names
1574 --program-suffix=SUFFIX append SUFFIX to installed program names
1575 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1578 --build=BUILD configure
for building on BUILD
[guessed
]
1579 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1580 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1584 if test -n "$ac_init_help"; then
1585 case $ac_init_help in
1586 short | recursive
) echo "Configuration of systemtap 4.3:";;
1591 --disable-option-checking ignore unrecognized
--enable/--with options
1592 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1593 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1594 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1595 --disable-silent-rules verbose build output
(undo
: "make V=0")
1596 --enable-maintainer-mode
1597 enable make rules and dependencies not useful
(and
1598 sometimes confusing
) to the casual installer
1599 --enable-dependency-tracking
1600 do not reject slow dependency extractors
1601 --disable-dependency-tracking
1602 speeds up one-time build
1603 --disable-largefile omit support
for large files
1604 --disable-nls do not use Native Language Support
1605 --disable-rpath do not hardcode runtime library paths
1606 --enable-prologues make -P prologue-searching default
1607 --disable-sdt-probes disable process.mark probes
in stap
, staprun
, stapio
1608 --disable-ssp disable gcc stack-protector
1609 --enable-pie enable position-independent-executable
1610 --enable-sqlite build with sqlite support
1611 --disable-translator build only runtime utilities
1612 --enable-crash[=DIRECTORY
]
1613 enable crash extension
(default is disabled
).
1614 Optional DIRECTORY is the path to the crash header
1615 file (needed
if installed
in a non-standard
1617 --enable-docs enable building documentation
(default to only
1618 installing prebuilt docs
).
1619 --enable-refdocs enable building reference documentation
(default on
1620 if other documentation built
).
1621 --enable-htmldocs enable building html documentation
(default off
).
1622 --enable-server enable building of stap-server
(default on
if nss
1624 --enable-virt enable building of stapvirt support
(default on
if
1625 libvirt etc. found
).
1626 --disable-libvirt Do not use libvirt even
if present
1627 --disable-monitor Disable monitor
1628 --enable-http Enable building http web compilation service
, if
1632 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1633 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1634 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1635 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1636 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1637 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1638 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1639 --without-nss Do not use NSS even
if present
1640 --without-openssl Do not use OPENSSL even
if present
1641 --with-dracutstap=DIR Install dracut module files
in DIR
1642 --with-dracutbindir=DIR Use the dracut binary located
in DIR
1643 --without-avahi Do not use Avahi even
if present
1644 --with-rpm query rpm database
for missing debuginfos
1645 --with-python3 prefer python version
3
1646 --with-elfutils=DIRECTORY
1647 find elfutils
source code
in DIRECTORY
1648 --with-dyninst=DIRECTORY
1649 find dyninst headers
/libraries
in DIRECTORY
1650 --without-python2-probes
1651 Disable building python version
2 probe support
,
1652 even
if it is available
1653 --without-python3-probes
1654 Disable building python version
3 probe support
,
1655 even
if it is available
1656 --without-bpf Do not try to build BPF components
1657 --without-selinux Do not use libselinux even
if present
1658 --with-java=DIRECTORY Specify JDK directory to compile libHelperSDT.so
1659 against
(default is
/usr
/lib
/jvm
/java
)
1660 --with-extra-version=STRING
1661 Add STRING to stap
-V version
1663 Some influential environment variables
:
1664 CC C compiler
command
1665 CFLAGS C compiler flags
1666 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1667 nonstandard directory
<lib dir
>
1668 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1669 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1670 you have headers
in a nonstandard directory
<include dir
>
1672 CXX C
++ compiler
command
1673 CXXFLAGS C
++ compiler flags
1674 PYTHON the Python interpreter
1675 PKG_CONFIG path to pkg-config utility
1677 directories to add to pkg-config
's search path
1679 path overriding pkg-config's built-in search path
1681 C compiler flags
for sqlite3
, overriding pkg-config
1683 linker flags
for sqlite3
, overriding pkg-config
1684 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1685 nss_LIBS linker flags
for nss
, overriding pkg-config
1687 C compiler flags
for openssl
, overriding pkg-config
1689 linker flags
for openssl
, overriding pkg-config
1691 C compiler flags
for avahi
, overriding pkg-config
1692 avahi_LIBS linker flags
for avahi
, overriding pkg-config
1693 CXXCPP C
++ preprocessor
1695 C compiler flags
for libvirt
, overriding pkg-config
1697 linker flags
for libvirt
, overriding pkg-config
1699 C compiler flags
for libxml2
, overriding pkg-config
1701 linker flags
for libxml2
, overriding pkg-config
1703 C compiler flags
for jsonc
, overriding pkg-config
1704 jsonc_LIBS linker flags
for jsonc
, overriding pkg-config
1706 C compiler flags
for ncurses
, overriding pkg-config
1708 linker flags
for ncurses
, overriding pkg-config
1710 C compiler flags
for selinux
, overriding pkg-config
1712 linker flags
for selinux
, overriding pkg-config
1713 libmicrohttpd_CFLAGS
1714 C compiler flags
for libmicrohttpd
, overriding pkg-config
1716 linker flags
for libmicrohttpd
, overriding pkg-config
1717 uuid_CFLAGS C compiler flags
for uuid
, overriding pkg-config
1718 uuid_LIBS linker flags
for uuid
, overriding pkg-config
1720 C compiler flags
for libcurl
, overriding pkg-config
1722 linker flags
for libcurl
, overriding pkg-config
1724 Use these variables to override the choices made by
`configure' or to help
1725 it to find libraries and programs with nonstandard names/locations.
1727 Report bugs to <systemtap@sourceware.org>.
1732 if test "$ac_init_help" = "recursive"; then
1733 # If there are subdirs, report their specific --help.
1734 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1735 test -d "$ac_dir" ||
1736 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1741 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1743 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1744 # A ".." for each directory in $ac_dir_suffix.
1745 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1746 case $ac_top_builddir_sub in
1747 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1748 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1751 ac_abs_top_builddir=$ac_pwd
1752 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1753 # for backward compatibility:
1754 ac_top_builddir=$ac_top_build_prefix
1757 .) # We are building in place.
1759 ac_top_srcdir=$ac_top_builddir_sub
1760 ac_abs_top_srcdir=$ac_pwd ;;
1761 [\\/]* | ?:[\\/]* ) # Absolute name.
1762 ac_srcdir=$srcdir$ac_dir_suffix;
1763 ac_top_srcdir=$srcdir
1764 ac_abs_top_srcdir=$srcdir ;;
1766 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1767 ac_top_srcdir=$ac_top_build_prefix$srcdir
1768 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1770 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1772 cd "$ac_dir" || { ac_status=$?; continue; }
1773 # Check for guested configure.
1774 if test -f "$ac_srcdir/configure.gnu"; then
1776 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1777 elif test -f "$ac_srcdir/configure"; then
1779 $SHELL "$ac_srcdir/configure" --help=recursive
1781 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1783 cd "$ac_pwd" || { ac_status=$?; break; }
1787 test -n "$ac_init_help" && exit $ac_status
1788 if $ac_init_version; then
1790 systemtap configure 4.3
1791 generated by GNU Autoconf 2.69
1793 Copyright (C) 2012 Free Software Foundation, Inc.
1794 This configure script is free software; the Free Software Foundation
1795 gives unlimited permission to copy, distribute and modify it.
1800 ## ------------------------ ##
1801 ## Autoconf initialization. ##
1802 ## ------------------------ ##
1804 # ac_fn_c_try_compile LINENO
1805 # --------------------------
1806 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_compile ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext
1811 if { { ac_try="$ac_compile"
1813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1814 *) ac_try_echo
=$ac_try;;
1816 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_compile") 2>conftest.err
1820 if test -s conftest.err
; then
1821 grep -v '^ *+' conftest.err
>conftest.er1
1822 cat conftest.er1
>&5
1823 mv -f conftest.er1 conftest.err
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest.
$ac_objext; then :
1832 $as_echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.
$ac_ext >&5
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 as_fn_set_status
$ac_retval
1840 } # ac_fn_c_try_compile
1842 # ac_fn_c_try_cpp LINENO
1843 # ----------------------
1844 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1847 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1848 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1851 *) ac_try_echo=$ac_try;;
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1857 if test -s conftest.err; then
1858 grep -v '^ *+' conftest.err >conftest.er1
1859 cat conftest.er1 >&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } > conftest.i && {
1864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1865 test ! -s conftest.err
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status $ac_retval
1879 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1880 # -------------------------------------------------------
1881 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1882 # the include files in INCLUDES and setting the cache variable VAR
1884 ac_fn_c_check_header_mongrel ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if eval \${$3+:} false; then :
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \${$3+:} false; then :
1891 $as_echo_n "(cached) " >&6
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1897 # Is the header compilable?
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1899 $as_echo_n "checking $2 usability... " >&6; }
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906 ac_header_compiler=yes
1908 ac_header_compiler=no
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1912 $as_echo "$ac_header_compiler" >&6; }
1914 # Is the header present?
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1916 $as_echo_n "checking $2 presence... " >&6; }
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1921 if ac_fn_c_try_cpp "$LINENO"; then :
1922 ac_header_preproc=yes
1924 ac_header_preproc=no
1926 rm -f conftest.err conftest.i conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1928 $as_echo "$ac_header_preproc" >&6; }
1930 # So? What about this header?
1931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1934 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1940 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1942 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1944 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1946 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1948 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1949 ( $as_echo "## --------------------------------------- ##
1950 ## Report this to systemtap@sourceware.org ##
1951 ## --------------------------------------- ##"
1952 ) | sed "s/^/$as_me: WARNING: /" >&2
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956 $as_echo_n "checking for $2... " >&6; }
1957 if eval \${$3+:} false; then :
1958 $as_echo_n "(cached) " >&6
1960 eval "$3=\$ac_header_compiler"
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 } # ac_fn_c_check_header_mongrel
1970 # ac_fn_c_try_run LINENO
1971 # ----------------------
1972 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1973 # that executables *can* be run.
1976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977 if { { ac_try="$ac_link"
1979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1980 *) ac_try_echo
=$ac_try;;
1982 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_link") 2>&5
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1988 { { case "(($ac_try" in
1989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_try") 2>&5
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; }; }; then :
2000 $as_echo "$as_me: program exited with status $ac_status" >&5
2001 $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2004 ac_retval=$ac_status
2006 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008 as_fn_set_status $ac_retval
2012 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2013 # -------------------------------------------------------
2014 # Tests whether HEADER exists and can be compiled using the include files in
2015 # INCLUDES, setting the cache variable VAR accordingly.
2016 ac_fn_c_check_header_compile ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020 $as_echo_n "checking for $2... " >&6; }
2021 if eval \${$3+:} false; then :
2022 $as_echo_n "(cached) " >&6
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2029 if ac_fn_c_try_compile "$LINENO"; then :
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 } # ac_fn_c_check_header_compile
2043 # ac_fn_cxx_try_compile LINENO
2044 # ----------------------------
2045 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2046 ac_fn_cxx_try_compile ()
2048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2049 rm -f conftest.$ac_objext
2050 if { { ac_try="$ac_compile"
2052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2053 *) ac_try_echo
=$ac_try;;
2055 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2056 $as_echo "$ac_try_echo"; } >&5
2057 (eval "$ac_compile") 2>conftest.err
2059 if test -s conftest.err
; then
2060 grep -v '^ *+' conftest.err
>conftest.er1
2061 cat conftest.er1
>&5
2062 mv -f conftest.er1 conftest.err
2064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2065 test $ac_status = 0; } && {
2066 test -z "$ac_cxx_werror_flag" ||
2067 test ! -s conftest.err
2068 } && test -s conftest.
$ac_objext; then :
2071 $as_echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.
$ac_ext >&5
2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 as_fn_set_status
$ac_retval
2079 } # ac_fn_cxx_try_compile
2081 # ac_fn_c_try_link LINENO
2082 # -----------------------
2083 # Try to link conftest.$ac_ext, and return whether this succeeded.
2086 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2087 rm -f conftest.
$ac_objext conftest
$ac_exeext
2088 if { { ac_try
="$ac_link"
2090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2091 *) ac_try_echo=$ac_try;;
2093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2094 $as_echo "$ac_try_echo"; } >&5
2095 (eval "$ac_link") 2>conftest.err
2097 if test -s conftest.err; then
2098 grep -v '^ *+' conftest.err >conftest.er1
2099 cat conftest.er1 >&5
2100 mv -f conftest.er1 conftest.err
2102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2103 test $ac_status = 0; } && {
2104 test -z "$ac_c_werror_flag" ||
2105 test ! -s conftest.err
2106 } && test -s conftest$ac_exeext && {
2107 test "$cross_compiling" = yes ||
2108 test -x conftest$ac_exeext
2112 $as_echo "$as_me: failed program was:" >&5
2113 sed 's/^/| /' conftest.$ac_ext >&5
2117 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2118 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2119 # interfere with the next link command; also delete a directory that is
2120 # left behind by Apple's compiler. We do this before executing the actions.
2121 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2122 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2123 as_fn_set_status $ac_retval
2125 } # ac_fn_c_try_link
2127 # ac_fn_c_check_func LINENO FUNC VAR
2128 # ----------------------------------
2129 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2130 ac_fn_c_check_func ()
2132 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2134 $as_echo_n "checking for $2... " >&6; }
2135 if eval \${$3+:} false; then :
2136 $as_echo_n "(cached) " >&6
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2140 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2142 #define $2 innocuous_$2
2144 /* System header to define __stub macros and hopefully few prototypes,
2145 which can conflict with char $2 (); below.
2146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2147 <limits.h> exists even on freestanding compilers. */
2150 # include <limits.h>
2152 # include <assert.h>
2157 /* Override any GCC internal prototype to avoid an error.
2158 Use char because int might match the return type of a GCC
2159 builtin and then its argument prototype would still apply. */
2164 /* The GNU C library defines this for functions which it implements
2165 to always fail with ENOSYS. Some functions are actually named
2166 something starting with __ and the normal name is an alias. */
2167 #if defined __stub_$2 || defined __stub___$2
2179 if ac_fn_c_try_link "$LINENO"; then :
2184 rm -f core conftest.err conftest.$ac_objext \
2185 conftest$ac_exeext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2192 } # ac_fn_c_check_func
2194 # ac_fn_cxx_try_cpp LINENO
2195 # ------------------------
2196 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2197 ac_fn_cxx_try_cpp ()
2199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200 if { { ac_try="$ac_cpp conftest.$ac_ext"
2202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2203 *) ac_try_echo
=$ac_try;;
2205 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2206 $as_echo "$ac_try_echo"; } >&5
2207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2209 if test -s conftest.err
; then
2210 grep -v '^ *+' conftest.err
>conftest.er1
2211 cat conftest.er1
>&5
2212 mv -f conftest.er1 conftest.err
2214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2215 test $ac_status = 0; } > conftest.i
&& {
2216 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2217 test ! -s conftest.err
2221 $as_echo "$as_me: failed program was:" >&5
2222 sed 's/^/| /' conftest.
$ac_ext >&5
2226 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2227 as_fn_set_status
$ac_retval
2229 } # ac_fn_cxx_try_cpp
2231 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2232 # ---------------------------------------------------------
2233 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2234 # the include files in INCLUDES and setting the cache variable VAR
2236 ac_fn_cxx_check_header_mongrel
()
2238 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2239 if eval \
${$3+:} false
; then :
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2241 $as_echo_n "checking for $2... " >&6; }
2242 if eval \
${$3+:} false
; then :
2243 $as_echo_n "(cached) " >&6
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2249 # Is the header compilable?
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2251 $as_echo_n "checking $2 usability... " >&6; }
2252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2257 if ac_fn_cxx_try_compile
"$LINENO"; then :
2258 ac_header_compiler
=yes
2260 ac_header_compiler
=no
2262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2264 $as_echo "$ac_header_compiler" >&6; }
2266 # Is the header present?
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2268 $as_echo_n "checking $2 presence... " >&6; }
2269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2273 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2274 ac_header_preproc
=yes
2276 ac_header_preproc
=no
2278 rm -f conftest.err conftest.i conftest.
$ac_ext
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2280 $as_echo "$ac_header_preproc" >&6; }
2282 # So? What about this header?
2283 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2286 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2288 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2292 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2294 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2296 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2298 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2300 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2301 ( $as_echo "## --------------------------------------- ##
2302 ## Report this to systemtap@sourceware.org ##
2303 ## --------------------------------------- ##"
2304 ) |
sed "s/^/$as_me: WARNING: /" >&2
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2308 $as_echo_n "checking for $2... " >&6; }
2309 if eval \
${$3+:} false
; then :
2310 $as_echo_n "(cached) " >&6
2312 eval "$3=\$ac_header_compiler"
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 } # ac_fn_cxx_check_header_mongrel
2322 # ac_fn_cxx_try_link LINENO
2323 # -------------------------
2324 # Try to link conftest.$ac_ext, and return whether this succeeded.
2325 ac_fn_cxx_try_link
()
2327 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2328 rm -f conftest.
$ac_objext conftest
$ac_exeext
2329 if { { ac_try
="$ac_link"
2331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_link") 2>conftest.err
2338 if test -s conftest.err; then
2339 grep -v '^ *+' conftest.err >conftest.er1
2340 cat conftest.er1 >&5
2341 mv -f conftest.er1 conftest.err
2343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2344 test $ac_status = 0; } && {
2345 test -z "$ac_cxx_werror_flag" ||
2346 test ! -s conftest.err
2347 } && test -s conftest$ac_exeext && {
2348 test "$cross_compiling" = yes ||
2349 test -x conftest$ac_exeext
2353 $as_echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.$ac_ext >&5
2358 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2359 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2360 # interfere with the next link command; also delete a directory that is
2361 # left behind by Apple's compiler. We do this before executing the actions.
2362 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2364 as_fn_set_status $ac_retval
2366 } # ac_fn_cxx_try_link
2368 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2369 # ---------------------------------------------
2370 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2372 ac_fn_c_check_decl ()
2374 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2375 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2376 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2378 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2379 if eval \${$3+:} false; then :
2380 $as_echo_n "(cached) " >&6
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h. */
2388 #ifndef $as_decl_name
2390 (void) $as_decl_use;
2392 (void) $as_decl_name;
2400 if ac_fn_c_try_compile "$LINENO"; then :
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2409 $as_echo "$ac_res" >&6; }
2410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2412 } # ac_fn_c_check_decl
2413 cat >config.log <<_ACEOF
2414 This file contains any messages produced by compilers while
2415 running configure, to aid debugging if configure makes a mistake.
2417 It was created by systemtap $as_me 4.3, which was
2418 generated by GNU Autoconf 2.69. Invocation command line was
2430 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2431 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2432 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2433 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2434 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2436 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2437 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2439 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2440 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2441 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2442 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2443 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2444 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2445 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir=.
2454 $as_echo "PATH: $as_dir"
2470 # Keep a trace of the command line.
2471 # Strip out --no-create and --no-recursion so they do not pile up.
2472 # Strip out --silent because we don't want to record it for future runs.
2473 # Also quote any args containing shell meta-characters.
2474 # Make two passes to allow for proper duplicate-argument suppression.
2478 ac_must_keep_next=false
2484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2486 | -silent | --silent | --silen | --sile | --sil)
2489 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2492 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2494 as_fn_append ac_configure_args1 " '$ac_arg'"
2495 if test $ac_must_keep_next = true; then
2496 ac_must_keep_next=false # Got value, back to normal.
2499 *=* | --config-cache | -C | -disable-* | --disable-* \
2500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2502 | -with-* | --with-* | -without-* | --without-* | --x)
2503 case "$ac_configure_args0 " in
2504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2507 -* ) ac_must_keep_next=true ;;
2510 as_fn_append ac_configure_args " '$ac_arg'"
2515 { ac_configure_args0=; unset ac_configure_args0;}
2516 { ac_configure_args1=; unset ac_configure_args1;}
2518 # When interrupted or exit'd, cleanup temporary files, and complete
2519 # config.log. We remove comments because anyway the quotes in there
2520 # would cause problems or look ugly.
2521 # WARNING: Use '\'' to represent an apostrophe within the trap.
2522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2523 trap 'exit_status=$?
2524 # Save into config.log some information that might help in debugging.
2528 $as_echo "## ---------------- ##
2529 ## Cache variables. ##
2530 ## ---------------- ##"
2532 # The following way of writing the cache mishandles newlines in values,
2534 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2535 eval ac_val=\$$ac_var
2539 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2540 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2543 _ | IFS | as_nl) ;; #(
2544 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2545 *) { eval $ac_var=; unset $ac_var;} ;;
2550 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2551 *${as_nl}ac_space=\ *)
2553 "s/'\''/'\''\\\\'\'''\''/g;
2554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2557 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2564 $as_echo "## ----------------- ##
2565 ## Output variables. ##
2566 ## ----------------- ##"
2568 for ac_var in $ac_subst_vars
2570 eval ac_val=\$$ac_var
2572 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2574 $as_echo "$ac_var='\''$ac_val'\''"
2578 if test -n "$ac_subst_files"; then
2579 $as_echo "## ------------------- ##
2580 ## File substitutions. ##
2581 ## ------------------- ##"
2583 for ac_var in $ac_subst_files
2585 eval ac_val=\$$ac_var
2587 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2589 $as_echo "$ac_var='\''$ac_val'\''"
2594 if test -s confdefs.h; then
2595 $as_echo "## ----------- ##
2602 test "$ac_signal" != 0 &&
2603 $as_echo "$as_me: caught signal $ac_signal"
2604 $as_echo "$as_me: exit $exit_status"
2606 rm -f core *.core core.conftest.* &&
2607 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2610 for ac_signal in 1 2 13 15; do
2611 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2615 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2616 rm -f -r conftest* confdefs.h
2618 $as_echo "/* confdefs.h */" > confdefs.h
2620 # Predefined preprocessor variables.
2622 cat >>confdefs.h <<_ACEOF
2623 #define PACKAGE_NAME "$PACKAGE_NAME"
2626 cat >>confdefs.h <<_ACEOF
2627 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2630 cat >>confdefs.h <<_ACEOF
2631 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2634 cat >>confdefs.h <<_ACEOF
2635 #define PACKAGE_STRING "$PACKAGE_STRING"
2638 cat >>confdefs.h <<_ACEOF
2639 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2642 cat >>confdefs.h <<_ACEOF
2643 #define PACKAGE_URL "$PACKAGE_URL"
2647 # Let the site file select an alternate cache file if it wants to.
2648 # Prefer an explicitly selected file to automatically selected ones.
2651 if test -n "$CONFIG_SITE"; then
2652 # We do not want a PATH search for config.site.
2653 case $CONFIG_SITE in #((
2654 -*) ac_site_file1=./$CONFIG_SITE;;
2655 */*) ac_site_file1=$CONFIG_SITE;;
2656 *) ac_site_file1=./$CONFIG_SITE;;
2658 elif test "x$prefix" != xNONE; then
2659 ac_site_file1=$prefix/share/config.site
2660 ac_site_file2=$prefix/etc/config.site
2662 ac_site_file1=$ac_default_prefix/share/config.site
2663 ac_site_file2=$ac_default_prefix/etc/config.site
2665 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2667 test "x$ac_site_file" = xNONE && continue
2668 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2670 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2671 sed 's/^/| /' "$ac_site_file" >&5
2673 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2675 as_fn_error $? "failed to load site
script $ac_site_file
2676 See \
`config.log' for more details" "$LINENO" 5; }
2680 if test -r "$cache_file"; then
2681 # Some versions of bash will fail to source /dev/null (special files
2682 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2683 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2685 $as_echo "$as_me: loading cache $cache_file" >&6;}
2687 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2688 *) . "./$cache_file";;
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2693 $as_echo "$as_me: creating cache $cache_file" >&6;}
2697 gt_needs="$gt_needs "
2698 # Check that the precious variables saved in the cache have kept the same
2700 ac_cache_corrupted=false
2701 for ac_var in $ac_precious_vars; do
2702 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2703 eval ac_new_set=\$ac_env_${ac_var}_set
2704 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2705 eval ac_new_val=\$ac_env_${ac_var}_value
2706 case $ac_old_set,$ac_new_set in
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2709 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2710 ac_cache_corrupted=: ;;
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2713 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2714 ac_cache_corrupted=: ;;
2717 if test "x$ac_old_val" != "x$ac_new_val"; then
2718 # differences in whitespace do not lead to failure.
2719 ac_old_val_w=`echo x
$ac_old_val`
2720 ac_new_val_w=`echo x
$ac_new_val`
2721 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2723 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2724 ac_cache_corrupted=:
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2727 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2728 eval $ac_var=\$ac_old_val
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2731 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2733 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2736 # Pass precious variables to config.status.
2737 if test "$ac_new_set" = set; then
2739 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2740 *) ac_arg=$ac_var=$ac_new_val ;;
2742 case " $ac_configure_args " in
2743 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2744 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2748 if $ac_cache_corrupted; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2752 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2753 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2755 ## -------------------- ##
2756 ## Main body of script. ##
2757 ## -------------------- ##
2760 ac_cpp='$CPP $CPPFLAGS'
2761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2768 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2769 if test -f "$ac_dir/install-sh"; then
2771 ac_install_sh="$ac_aux_dir/install-sh -c"
2773 elif test -f "$ac_dir/install.sh"; then
2775 ac_install_sh="$ac_aux_dir/install.sh -c"
2777 elif test -f "$ac_dir/shtool"; then
2779 ac_install_sh="$ac_aux_dir/shtool install -c"
2783 if test -z "$ac_aux_dir"; then
2784 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2787 # These three variables are undocumented and unsupported,
2788 # and are intended to be withdrawn in a future Autoconf release.
2789 # They can cause serious problems if a builder's source tree is in a directory
2790 # whose full name contains unusual characters.
2791 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2792 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2793 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2796 # Make sure we can run config.sub.
2797 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2798 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2801 $as_echo_n "checking build system type... " >&6; }
2802 if ${ac_cv_build+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 ac_build_alias=$build_alias
2806 test "x$ac_build_alias" = x &&
2807 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2808 test "x$ac_build_alias" = x &&
2809 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2810 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2811 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2815 $as_echo "$ac_cv_build" >&6; }
2816 case $ac_cv_build in
2818 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2821 ac_save_IFS=$IFS; IFS='-'
2827 # Remember, the first character of IFS is used to create $*,
2828 # except with old shells:
2831 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2835 $as_echo_n "checking host system type... " >&6; }
2836 if ${ac_cv_host+:} false; then :
2837 $as_echo_n "(cached) " >&6
2839 if test "x$host_alias" = x; then
2840 ac_cv_host=$ac_cv_build
2842 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2843 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2848 $as_echo "$ac_cv_host" >&6; }
2851 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2854 ac_save_IFS=$IFS; IFS='-'
2860 # Remember, the first character of IFS is used to create $*,
2861 # except with old shells:
2864 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2868 $as_echo_n "checking target system type... " >&6; }
2869 if ${ac_cv_target+:} false; then :
2870 $as_echo_n "(cached) " >&6
2872 if test "x$target_alias" = x; then
2873 ac_cv_target=$ac_cv_host
2875 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2876 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2881 $as_echo "$ac_cv_target" >&6; }
2882 case $ac_cv_target in
2884 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2886 target=$ac_cv_target
2887 ac_save_IFS=$IFS; IFS='-'
2893 # Remember, the first character of IFS is used to create $*,
2894 # except with old shells:
2897 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2900 # The aliases save the names the user supplied, while $host etc.
2901 # will get canonicalized.
2902 test -n "$target_alias" &&
2903 test "$program_prefix$program_suffix$program_transform_name" = \
2905 program_prefix=${target_alias}-
2908 am__api_version='1.16'
2910 # Find a good install program. We prefer a C program (faster),
2911 # so one script is as good as another. But avoid the broken or
2912 # incompatible versions:
2913 # SysV /etc/install, /usr/sbin/install
2914 # SunOS /usr/etc/install
2915 # IRIX /sbin/install
2917 # AmigaOS /C/install, which installs bootblocks on floppy discs
2918 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2919 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2920 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2921 # OS/2's system install, which has a completely different semantic
2922 # ./install, which can be erroneously created by make from ./install.sh.
2923 # Reject install programs that cannot install multiple files.
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2925 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2926 if test -z "$INSTALL"; then
2927 if ${ac_cv_path_install+:} false; then :
2928 $as_echo_n "(cached) " >&6
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 # Account for people who put trailing slashes in PATH elements.
2936 case $as_dir/ in #((
2937 ./ | .// | /[cC]/* | \
2938 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2939 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2942 # OSF1 and SCO ODT 3.0 have their own names for install.
2943 # Don't use installbsd from OSF since it installs stuff as root
2945 for ac_prog in ginstall scoinst install; do
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2948 if test $ac_prog = install &&
2949 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2950 # AIX install. It has an incompatible calling convention.
2952 elif test $ac_prog = install &&
2953 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2954 # program-specific install script used by HP pwplus--don't use.
2957 rm -rf conftest.one conftest.two conftest.dir
2958 echo one > conftest.one
2959 echo two > conftest.two
2961 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2962 test -s conftest.one && test -s conftest.two &&
2963 test -s conftest.dir/conftest.one &&
2964 test -s conftest.dir/conftest.two
2966 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2979 rm -rf conftest.one conftest.two conftest.dir
2982 if test "${ac_cv_path_install+set}" = set; then
2983 INSTALL=$ac_cv_path_install
2985 # As a last resort, use the slow shell script. Don't cache a
2986 # value for INSTALL within a source directory, because that will
2987 # break other packages using the cache if that directory is
2988 # removed, or if the value is a relative name.
2989 INSTALL=$ac_install_sh
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2993 $as_echo "$INSTALL" >&6; }
2995 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2996 # It thinks the first close brace ends the variable substitution.
2997 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2999 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3001 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3004 $as_echo_n "checking whether build environment is sane... " >&6; }
3005 # Reject unsafe characters in $srcdir or the absolute working directory
3006 # name. Accept space and tab only in the latter.
3010 *[\\\"\#\$\&\'\`$am_lf]*)
3011 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3014 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3015 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3018 # Do 'set' in a subshell so we don't clobber the current shell's
3019 # arguments. Must try -L first in case configure is actually a
3020 # symlink; some systems play weird games with the mod time of symlinks
3021 # (eg FreeBSD returns the mod time of the symlink's containing
3025 for am_try
in 1 2; do
3026 echo "timestamp, slept: $am_has_slept" > conftest.
file
3027 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3028 if test "$*" = "X"; then
3030 set X
`ls -t "$srcdir/configure" conftest.file`
3032 if test "$*" != "X $srcdir/configure conftest.file" \
3033 && test "$*" != "X conftest.file $srcdir/configure"; then
3035 # If neither matched, then we have a broken ls. This can happen
3036 # if, for instance, CONFIG_SHELL is bash and it inherits a
3037 # broken ls alias from the environment. This has actually
3038 # happened. Such a system could not be considered "sane".
3039 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3040 alias in your environment" "$LINENO" 5
3042 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3049 test "$2" = conftest.
file
3055 as_fn_error $?
"newly created file is older than distributed files!
3056 Check your system clock" "$LINENO" 5
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3059 $as_echo "yes" >&6; }
3060 # If we didn't sleep, we still need to ensure time stamps of config.status and
3061 # generated files are strictly newer.
3063 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3070 test "$program_prefix" != NONE
&&
3071 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3072 # Use a double $ so make ignores it.
3073 test "$program_suffix" != NONE
&&
3074 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3075 # Double any \ or $.
3076 # By default was `s,x,x', remove it if useless.
3077 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3078 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3080 # Expand $ac_aux_dir to an absolute path.
3081 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3083 if test x
"${MISSING+set}" != xset
; then
3086 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3088 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3091 # Use eval to expand $SHELL
3092 if eval "$MISSING --is-lightweight"; then
3093 am_missing_run
="$MISSING "
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3097 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3100 if test x
"${install_sh+set}" != xset
; then
3103 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3105 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3109 # Installed binaries are usually stripped using 'strip' when the user
3110 # run "make install-strip". However 'strip' might not be the right
3111 # tool to use in cross-compilation environments, therefore Automake
3112 # will honor the 'STRIP' environment variable to overrule this program.
3113 if test "$cross_compiling" != no
; then
3114 if test -n "$ac_tool_prefix"; then
3115 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3116 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if ${ac_cv_prog_STRIP+:} false
; then :
3120 $as_echo_n "(cached) " >&6
3122 if test -n "$STRIP"; then
3123 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir
=.
3130 for ac_exec_ext
in '' $ac_executable_extensions; do
3131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 STRIP
=$ac_cv_prog_STRIP
3143 if test -n "$STRIP"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3145 $as_echo "$STRIP" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3153 if test -z "$ac_cv_prog_STRIP"; then
3155 # Extract the first word of "strip", so it can be a program name with args.
3156 set dummy strip
; ac_word
=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$ac_ct_STRIP"; then
3163 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir
=.
3170 for ac_exec_ext
in '' $ac_executable_extensions; do
3171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_ac_ct_STRIP
="strip"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3183 if test -n "$ac_ct_STRIP"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3185 $as_echo "$ac_ct_STRIP" >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3191 if test "x$ac_ct_STRIP" = x
; then
3194 case $cross_compiling:$ac_tool_warned in
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3198 ac_tool_warned
=yes ;;
3203 STRIP
="$ac_cv_prog_STRIP"
3207 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3210 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3211 if test -z "$MKDIR_P"; then
3212 if ${ac_cv_path_mkdir+:} false
; then :
3213 $as_echo_n "(cached) " >&6
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3216 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3219 test -z "$as_dir" && as_dir
=.
3220 for ac_prog
in mkdir gmkdir
; do
3221 for ac_exec_ext
in '' $ac_executable_extensions; do
3222 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3223 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3224 'mkdir (GNU coreutils) '* | \
3225 'mkdir (coreutils) '* | \
3226 'mkdir (fileutils) '4.1*)
3227 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3237 test -d .
/--version && rmdir .
/--version
3238 if test "${ac_cv_path_mkdir+set}" = set; then
3239 MKDIR_P
="$ac_cv_path_mkdir -p"
3241 # As a last resort, use the slow shell script. Don't cache a
3242 # value for MKDIR_P within a source directory, because that will
3243 # break other packages using the cache if that directory is
3244 # removed, or if the value is a relative name.
3245 MKDIR_P
="$ac_install_sh -d"
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3249 $as_echo "$MKDIR_P" >&6; }
3251 for ac_prog
in gawk mawk nawk
awk
3253 # Extract the first word of "$ac_prog", so it can be a program name with args.
3254 set dummy
$ac_prog; ac_word
=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if ${ac_cv_prog_AWK+:} false
; then :
3258 $as_echo_n "(cached) " >&6
3260 if test -n "$AWK"; then
3261 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir
=.
3268 for ac_exec_ext
in '' $ac_executable_extensions; do
3269 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3270 ac_cv_prog_AWK
="$ac_prog"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281 if test -n "$AWK"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3283 $as_echo "$AWK" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3290 test -n "$AWK" && break
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3294 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3296 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3297 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3298 $as_echo_n "(cached) " >&6
3300 cat >conftest.
make <<\_ACEOF
3303 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3305 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3306 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3308 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3310 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3314 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320 $as_echo "no" >&6; }
3321 SET_MAKE
="MAKE=${MAKE-make}"
3324 rm -rf .tst
2>/dev
/null
3325 mkdir .tst
2>/dev
/null
3326 if test -d .tst
; then
3331 rmdir .tst
2>/dev
/null
3333 # Check whether --enable-silent-rules was given.
3334 if test "${enable_silent_rules+set}" = set; then :
3335 enableval
=$enable_silent_rules;
3338 case $enable_silent_rules in # (((
3339 yes) AM_DEFAULT_VERBOSITY
=0;;
3340 no
) AM_DEFAULT_VERBOSITY
=1;;
3341 *) AM_DEFAULT_VERBOSITY
=1;;
3343 am_make
=${MAKE-make}
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3345 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3346 if ${am_cv_make_support_nested_variables+:} false
; then :
3347 $as_echo_n "(cached) " >&6
3349 if $as_echo 'TRUE=$(BAR$(V))
3355 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3356 am_cv_make_support_nested_variables
=yes
3358 am_cv_make_support_nested_variables
=no
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3362 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3363 if test $am_cv_make_support_nested_variables = yes; then
3365 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3367 AM_V
=$AM_DEFAULT_VERBOSITY
3368 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3372 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3373 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3374 # is not polluted with repeated "-I."
3375 am__isrc
=' -I$(srcdir)'
3376 # test to see if srcdir already configured
3377 if test -f $srcdir/config.status
; then
3378 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3382 # test whether we have cygpath
3383 if test -z "$CYGPATH_W"; then
3384 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3385 CYGPATH_W
='cygpath -w'
3392 # Define the identity of the package.
3397 cat >>confdefs.h
<<_ACEOF
3398 #define PACKAGE "$PACKAGE"
3402 cat >>confdefs.h
<<_ACEOF
3403 #define VERSION "$VERSION"
3406 # Some tools Automake needs.
3408 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3411 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3414 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3417 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3420 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3422 # For better backward compatibility. To be removed once Automake 1.9.x
3423 # dies out for good. For more background, see:
3424 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3425 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3426 mkdir_p
='$(MKDIR_P)'
3428 # We need awk for the "check" target (and possibly the TAP driver). The
3429 # system "awk" is bad on some platforms.
3430 # Always define AMTAR for backward compatibility. Yes, it's still used
3431 # in the wild :-( We should find a proper way to deprecate it ...
3435 # We'll loop over all known methods to create a tar archive until one works.
3436 _am_tools
='gnutar pax cpio none'
3438 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3445 # POSIX will say in a future version that running "rm -f" with no argument
3446 # is OK; and we want to be able to make that assumption in our Makefile
3447 # recipes. So use an aggressive probe to check that the usage we want is
3448 # actually supported "in the wild" to an acceptable degree.
3449 # See automake bug#10828.
3450 # To make any issue more visible, cause the running configure to be aborted
3451 # by default if the 'rm' program in use doesn't match our expectations; the
3452 # user can still override this though.
3453 if rm -f && rm -fr && rm -rf; then : OK
; else
3457 Your 'rm' program seems unable to run without file operands specified
3458 on the command line, even when the '-f' option is present. This is contrary
3459 to the behaviour of most rm programs out there, and not conforming with
3460 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3462 Please tell bug-automake@gnu.org about your system, including the value
3463 of your $PATH and any error possibly output before this message. This
3464 can help us improve future automake versions.
3467 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3468 echo 'Configuration will proceed anyway, since you have set the' >&2
3469 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3473 Aborting the configuration process, to ensure you take notice of the issue.
3475 You can download and install GNU coreutils to get an 'rm' implementation
3476 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3478 If you want to complete the configuration process using your problematic
3479 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3480 to "yes", and re-run configure.
3483 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3489 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3490 # Check whether --enable-maintainer-mode was given.
3491 if test "${enable_maintainer_mode+set}" = set; then :
3492 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3494 USE_MAINTAINER_MODE
=no
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3498 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3499 if test $USE_MAINTAINER_MODE = yes; then
3500 MAINTAINER_MODE_TRUE
=
3501 MAINTAINER_MODE_FALSE
='#'
3503 MAINTAINER_MODE_TRUE
='#'
3504 MAINTAINER_MODE_FALSE
=
3507 MAINT
=$MAINTAINER_MODE_TRUE
3511 # Check whether --enable-silent-rules was given.
3512 if test "${enable_silent_rules+set}" = set; then :
3513 enableval
=$enable_silent_rules;
3516 case $enable_silent_rules in # (((
3517 yes) AM_DEFAULT_VERBOSITY
=0;;
3518 no
) AM_DEFAULT_VERBOSITY
=1;;
3519 *) AM_DEFAULT_VERBOSITY
=0;;
3521 am_make
=${MAKE-make}
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3523 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3524 if ${am_cv_make_support_nested_variables+:} false
; then :
3525 $as_echo_n "(cached) " >&6
3527 if $as_echo 'TRUE=$(BAR$(V))
3533 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3534 am_cv_make_support_nested_variables
=yes
3536 am_cv_make_support_nested_variables
=no
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3540 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3541 if test $am_cv_make_support_nested_variables = yes; then
3543 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3545 AM_V
=$AM_DEFAULT_VERBOSITY
3546 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3551 DEPDIR="${am__leading_dot}deps"
3553 ac_config_commands="$ac_config_commands depfiles"
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3556 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3557 cat > confinc.mk << 'END
'
3559 @echo this is the am__doit target >confinc.out
3564 # BSD make does it like this.
3565 echo '.include
"confinc.mk" # ignored' > confmf.BSD
3566 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3567 echo 'include confinc.mk # ignored' > confmf.GNU
3569 for s
in GNU BSD
; do
3570 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3571 (${MAKE-make} -f confmf.
$s && cat confinc.out
) >&5 2>&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }
3575 case $?
:`cat confinc.out 2>/dev/null` in #(
3576 '0:this is the am__doit target') :
3579 am__include
='.include' am__quote
='"' ;; #(
3581 am__include
='include' am__quote
='' ;;
3586 if test "$am__include" != "#"; then
3587 _am_result
="yes ($s style)"
3591 rm -f confinc.
* confmf.
*
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3593 $as_echo "${_am_result}" >&6; }
3595 # Check whether --enable-dependency-tracking was given.
3596 if test "${enable_dependency_tracking+set}" = set; then :
3597 enableval
=$enable_dependency_tracking;
3600 if test "x$enable_dependency_tracking" != xno
; then
3601 am_depcomp
="$ac_aux_dir/depcomp"
3605 if test "x$enable_dependency_tracking" != xno; then
3615 ac_cpp
='$CPP $CPPFLAGS'
3616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3619 if test -n "$ac_tool_prefix"; then
3620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3621 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3623 $as_echo_n "checking for $ac_word... " >&6; }
3624 if ${ac_cv_prog_CC+:} false
; then :
3625 $as_echo_n "(cached) " >&6
3627 if test -n "$CC"; then
3628 ac_cv_prog_CC
="$CC" # Let the user override the test.
3630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3634 test -z "$as_dir" && as_dir
=.
3635 for ac_exec_ext
in '' $ac_executable_extensions; do
3636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3637 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3648 if test -n "$CC"; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3650 $as_echo "$CC" >&6; }
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3658 if test -z "$ac_cv_prog_CC"; then
3660 # Extract the first word of "gcc", so it can be a program name with args.
3661 set dummy gcc
; ac_word
=$2
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3663 $as_echo_n "checking for $ac_word... " >&6; }
3664 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3665 $as_echo_n "(cached) " >&6
3667 if test -n "$ac_ct_CC"; then
3668 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir
=.
3675 for ac_exec_ext
in '' $ac_executable_extensions; do
3676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3677 ac_cv_prog_ac_ct_CC
="gcc"
3678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3688 if test -n "$ac_ct_CC"; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3690 $as_echo "$ac_ct_CC" >&6; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3696 if test "x$ac_ct_CC" = x
; then
3699 case $cross_compiling:$ac_tool_warned in
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3703 ac_tool_warned
=yes ;;
3711 if test -z "$CC"; then
3712 if test -n "$ac_tool_prefix"; then
3713 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3714 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3716 $as_echo_n "checking for $ac_word... " >&6; }
3717 if ${ac_cv_prog_CC+:} false
; then :
3718 $as_echo_n "(cached) " >&6
3720 if test -n "$CC"; then
3721 ac_cv_prog_CC
="$CC" # Let the user override the test.
3723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3727 test -z "$as_dir" && as_dir
=.
3728 for ac_exec_ext
in '' $ac_executable_extensions; do
3729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3730 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 if test -n "$CC"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3743 $as_echo "$CC" >&6; }
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 # Extract the first word of "cc", so it can be a program name with args.
3754 set dummy cc
; ac_word
=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_CC+:} false
; then :
3758 $as_echo_n "(cached) " >&6
3760 if test -n "$CC"; then
3761 ac_cv_prog_CC
="$CC" # Let the user override the test.
3764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3768 test -z "$as_dir" && as_dir
=.
3769 for ac_exec_ext
in '' $ac_executable_extensions; do
3770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3771 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3772 ac_prog_rejected
=yes
3776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 if test $ac_prog_rejected = yes; then
3784 # We found a bogon in the path, so make sure we never use it.
3785 set dummy
$ac_cv_prog_CC
3787 if test $# != 0; then
3788 # We chose a different compiler from the bogus one.
3789 # However, it has the same basename, so the bogon will be chosen
3790 # first if we set CC to just the basename; use the full file name.
3792 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3798 if test -n "$CC"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3800 $as_echo "$CC" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3808 if test -z "$CC"; then
3809 if test -n "$ac_tool_prefix"; then
3810 for ac_prog
in cl.exe
3812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3813 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CC+:} false
; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$CC"; then
3820 ac_cv_prog_CC
="$CC" # Let the user override the test.
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 for ac_exec_ext
in '' $ac_executable_extensions; do
3828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 if test -n "$CC"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3842 $as_echo "$CC" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3849 test -n "$CC" && break
3852 if test -z "$CC"; then
3854 for ac_prog
in cl.exe
3856 # Extract the first word of "$ac_prog", so it can be a program name with args.
3857 set dummy
$ac_prog; ac_word
=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3861 $as_echo_n "(cached) " >&6
3863 if test -n "$ac_ct_CC"; then
3864 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3870 test -z "$as_dir" && as_dir
=.
3871 for ac_exec_ext
in '' $ac_executable_extensions; do
3872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3873 ac_cv_prog_ac_ct_CC
="$ac_prog"
3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3884 if test -n "$ac_ct_CC"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3886 $as_echo "$ac_ct_CC" >&6; }
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3893 test -n "$ac_ct_CC" && break
3896 if test "x$ac_ct_CC" = x
; then
3899 case $cross_compiling:$ac_tool_warned in
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3903 ac_tool_warned
=yes ;;
3912 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3914 as_fn_error $?
"no acceptable C compiler found in \$PATH
3915 See \`config.log' for more details" "$LINENO" 5; }
3917 # Provide some information about the compiler.
3918 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3921 for ac_option
in --version -v -V -qversion; do
3922 { { ac_try
="$ac_compiler $ac_option >&5"
3924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3931 if test -s conftest.err; then
3933 ... rest of stderr output deleted ...
3934 10q' conftest.err >conftest.er1
3935 cat conftest.er1 >&5
3937 rm -f conftest.er1 conftest.err
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3953 ac_clean_files_save=$ac_clean_files
3954 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3955 # Try to create an executable without -o first, disregard a.out.
3956 # It will help us diagnose broken compilers, and finding out an intuition
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3959 $as_echo_n "checking whether the C compiler works... " >&6; }
3960 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3962 # The possible output files:
3963 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3966 for ac_file in $ac_files
3969 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3970 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3975 if { { ac_try="$ac_link_default"
3977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3978 *) ac_try_echo
=$ac_try;;
3980 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3981 $as_echo "$ac_try_echo"; } >&5
3982 (eval "$ac_link_default") 2>&5
3984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3985 test $ac_status = 0; }; then :
3986 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3987 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3988 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3989 # so that the user can short-circuit this test for compilers unknown to
3991 for ac_file
in $ac_files ''
3993 test -f "$ac_file" ||
continue
3995 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3998 # We found the default executable, but exeext='' is most
4002 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4004 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4006 # We set ac_cv_exeext here because the later test for it is not
4007 # safe: cross compilers may not add the suffix if given an `-o'
4008 # argument, so we may need to know it at that point already.
4009 # Even if this section looks crufty: it has the advantage of
4016 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4021 if test -z "$ac_file"; then :
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4024 $as_echo "$as_me: failed program was:" >&5
4025 sed 's/^/| /' conftest.
$ac_ext >&5
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error
77 "C compiler cannot create executables
4030 See \`config.log' for more details" "$LINENO" 5; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4033 $as_echo "yes" >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4036 $as_echo_n "checking for C compiler default output file name... " >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4038 $as_echo "$ac_file" >&6; }
4039 ac_exeext
=$ac_cv_exeext
4041 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4042 ac_clean_files
=$ac_clean_files_save
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4044 $as_echo_n "checking for suffix of executables... " >&6; }
4045 if { { ac_try
="$ac_link"
4047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link") 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; then :
4056 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4057 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4058 # work properly (i.e., refer to `conftest.exe'), while it won't with
4060 for ac_file
in conftest.exe conftest conftest.
*; do
4061 test -f "$ac_file" ||
continue
4063 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4064 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4073 See \`config.log' for more details" "$LINENO" 5; }
4075 rm -f conftest conftest
$ac_cv_exeext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4077 $as_echo "$ac_cv_exeext" >&6; }
4079 rm -f conftest.
$ac_ext
4080 EXEEXT
=$ac_cv_exeext
4082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4088 FILE *f = fopen ("conftest.out", "w");
4089 return ferror (f) || fclose (f) != 0;
4095 ac_clean_files
="$ac_clean_files conftest.out"
4096 # Check that the compiler produces executables we can run. If not, either
4097 # the compiler is broken, or we cross compile.
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4099 $as_echo_n "checking whether we are cross compiling... " >&6; }
4100 if test "$cross_compiling" != yes; then
4101 { { ac_try
="$ac_link"
4103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108 (eval "$ac_link") 2>&5
4110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111 test $ac_status = 0; }
4112 if { ac_try='./conftest$ac_cv_exeext'
4113 { { case "(($ac_try" in
4114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4115 *) ac_try_echo
=$ac_try;;
4117 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_try") 2>&5
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }; }; then
4125 if test "$cross_compiling" = maybe
; then
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $?
"cannot run C compiled programs.
4131 If you meant to cross compile, use \`--host'.
4132 See \`config.log' for more details" "$LINENO" 5; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4137 $as_echo "$cross_compiling" >&6; }
4139 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4140 ac_clean_files
=$ac_clean_files_save
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4142 $as_echo_n "checking for suffix of object files... " >&6; }
4143 if ${ac_cv_objext+:} false
; then :
4144 $as_echo_n "(cached) " >&6
4146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4157 rm -f conftest.o conftest.obj
4158 if { { ac_try
="$ac_compile"
4160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4164 $as_echo "$ac_try_echo"; } >&5
4165 (eval "$ac_compile") 2>&5
4167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4168 test $ac_status = 0; }; then :
4169 for ac_file in conftest.o conftest.obj conftest.*; do
4170 test -f "$ac_file" || continue;
4172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4173 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4178 $as_echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.$ac_ext >&5
4181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4183 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4184 See \
`config.log' for more details" "$LINENO" 5; }
4186 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4189 $as_echo "$ac_cv_objext" >&6; }
4190 OBJEXT=$ac_cv_objext
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4193 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4194 if ${ac_cv_c_compiler_gnu+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4211 if ac_fn_c_try_compile "$LINENO"; then :
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4221 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4222 if test $ac_compiler_gnu = yes; then
4227 ac_test_CFLAGS=${CFLAGS+set}
4228 ac_save_CFLAGS=$CFLAGS
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4230 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4231 if ${ac_cv_prog_cc_g+:} false; then :
4232 $as_echo_n "(cached) " >&6
4234 ac_save_c_werror_flag=$ac_c_werror_flag
4235 ac_c_werror_flag=yes
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4249 if ac_fn_c_try_compile "$LINENO"; then :
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4264 if ac_fn_c_try_compile "$LINENO"; then :
4267 ac_c_werror_flag=$ac_save_c_werror_flag
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4280 if ac_fn_c_try_compile "$LINENO"; then :
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 ac_c_werror_flag=$ac_save_c_werror_flag
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4291 $as_echo "$ac_cv_prog_cc_g" >&6; }
4292 if test "$ac_test_CFLAGS" = set; then
4293 CFLAGS=$ac_save_CFLAGS
4294 elif test $ac_cv_prog_cc_g = yes; then
4295 if test "$GCC" = yes; then
4301 if test "$GCC" = yes; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4308 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4309 if ${ac_cv_prog_cc_c89+:} false; then :
4310 $as_echo_n "(cached) " >&6
4312 ac_cv_prog_cc_c89=no
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4319 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4320 struct buf { int x; };
4321 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4322 static char *e (p, i)
4328 static char *f (char * (*g) (char **, int), char **p, ...)
4333 s = g (p, va_arg (v,int));
4338 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4339 function prototypes and stuff, but not '\xHH' hex character constants.
4340 These don't provoke an error unfortunately, instead are silently treated
4341 as 'x'. The following induces an error, until -std is added to get
4342 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4343 array size at least. It's necessary to write '\x00'==0 to get something
4344 that's true only with -std. */
4345 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4347 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4348 inside strings and character constants. */
4350 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4352 int test (int i, double x);
4353 struct s1 {int (*f) (int a);};
4354 struct s2 {int (*f) (double a);};
4355 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4361 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4366 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4367 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4369 CC="$ac_save_CC $ac_arg"
4370 if ac_fn_c_try_compile "$LINENO"; then :
4371 ac_cv_prog_cc_c89=$ac_arg
4373 rm -f core conftest.err conftest.$ac_objext
4374 test "x$ac_cv_prog_cc_c89" != "xno" && break
4376 rm -f conftest.$ac_ext
4381 case "x$ac_cv_prog_cc_c89" in
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4384 $as_echo "none needed" >&6; } ;;
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4387 $as_echo "unsupported" >&6; } ;;
4389 CC="$CC $ac_cv_prog_cc_c89"
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4391 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4393 if test "x$ac_cv_prog_cc_c89" != xno; then :
4398 ac_cpp='$CPP $CPPFLAGS'
4399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404 ac_cpp='$CPP $CPPFLAGS'
4405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4409 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4410 if ${am_cv_prog_cc_c_o+:} false; then :
4411 $as_echo_n "(cached) " >&6
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4424 # Make sure it works both with $CC and with simple cc.
4425 # Following AC_PROG_CC_C_O, we do the test twice because some
4426 # compilers refuse to overwrite an existing .o file with -o,
4427 # though they will create one.
4428 am_cv_prog_cc_c_o=yes
4430 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4431 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4434 (exit $ac_status); } \
4435 && test -f conftest2.$ac_objext; then
4438 am_cv_prog_cc_c_o=no
4442 rm -f core conftest*
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4446 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4447 if test "$am_cv_prog_cc_c_o" != yes; then
4448 # Losing compiler, so override with the script.
4449 # FIXME: It is wrong to rewrite CC.
4450 # But if we don't then we get into trouble of one sort or another.
4451 # A longer-term fix would be to have automake use am__CC in this case,
4452 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4453 CC="$am_aux_dir/compile $CC"
4456 ac_cpp='$CPP $CPPFLAGS'
4457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4462 depcc="$CC" am_compiler_list=
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4465 $as_echo_n "checking dependency style of $depcc... " >&6; }
4466 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4467 $as_echo_n "(cached) " >&6
4469 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4470 # We make a subdir and do the tests there. Otherwise we can end up
4471 # making bogus files that we don't know about and never remove. For
4472 # instance it was reported that on HP-UX the gcc test will end up
4473 # making a dummy file named 'D' -- because '-MD' means "put the output
4477 # Copy depcomp to subdir because otherwise we won't find it if we're
4478 # using a relative directory.
4479 cp "$am_depcomp" conftest.dir
4481 # We will build objects and dependencies in a subdirectory because
4482 # it helps to detect inapplicable dependency modes. For instance
4483 # both Tru64's cc and ICC support -MD to output dependencies as a
4484 # side effect of compilation, but ICC will put the dependencies in
4485 # the current directory while Tru64 will put them in the object
4489 am_cv_CC_dependencies_compiler_type=none
4490 if test "$am_compiler_list" = ""; then
4491 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4494 case " $depcc " in #(
4495 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4498 for depmode in $am_compiler_list; do
4499 # Setup a source with many dependencies, because some compilers
4500 # like to wrap large dependency lists on column 80 (with \), and
4501 # we should not choose a depcomp mode which is confused by this.
4503 # We need to recreate these files for each test, as the compiler may
4504 # overwrite some of them when testing with obscure command lines.
4505 # This happens at least with the AIX C compiler.
4507 for i in 1 2 3 4 5 6; do
4508 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4509 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4510 # Solaris 10 /bin/sh.
4511 echo '/* dummy */' > sub/conftst$i.h
4513 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4515 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4516 # mode. It turns out that the SunPro C++ compiler does not properly
4517 # handle '-M -o', and we need to detect this. Also, some Intel
4518 # versions had trouble with output in subdirs.
4519 am__obj=sub/conftest.${OBJEXT-o}
4520 am__minus_obj="-o $am__obj"
4523 # This depmode causes a compiler race in universal mode.
4524 test "$am__universal" = false || continue
4527 # After this tag, mechanisms are not by side-effect, so they'll
4528 # only be used when explicitly requested.
4529 if test "x$enable_dependency_tracking" = xyes; then
4535 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4536 # This compiler won't grok '-c -o', but also, the minuso test has
4537 # not run yet. These depmodes are late enough in the game, and
4538 # so weak that their functioning should not be impacted.
4539 am__obj=conftest.${OBJEXT-o}
4544 if depmode=$depmode \
4545 source=sub/conftest.c object=$am__obj \
4546 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4547 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4548 >/dev/null 2>conftest.err &&
4549 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4550 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4551 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4552 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4553 # icc doesn't choke on unknown options, it will just issue warnings
4554 # or remarks (even with -Werror). So we grep stderr for any message
4555 # that says an option was ignored or not supported.
4556 # When given -MP, icc 7.0 and 7.1 complain thusly:
4557 # icc: Command line warning: ignoring option '-M'; no argument required
4558 # The diagnosis changed in icc 8.0:
4559 # icc: Command line remark: option '-MP' not supported
4560 if (grep 'ignoring option' conftest.err ||
4561 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4562 am_cv_CC_dependencies_compiler_type=$depmode
4571 am_cv_CC_dependencies_compiler_type=none
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4576 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4577 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4580 test "x$enable_dependency_tracking" != xno \
4581 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4583 am__fastdepCC_FALSE='#'
4585 am__fastdepCC_TRUE='#'
4586 am__fastdepCC_FALSE=
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4597 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4598 # On Suns, sometimes $CPP names a directory.
4599 if test -n "$CPP" && test -d "$CPP"; then
4602 if test -z "$CPP"; then
4603 if ${ac_cv_prog_CPP+:} false; then :
4604 $as_echo_n "(cached) " >&6
4606 # Double quotes because CPP needs to be expanded
4607 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4610 for ac_c_preproc_warn_flag in '' yes
4612 # Use a header file that comes with gcc, so configuring glibc
4613 # with a fresh cross-compiler works.
4614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4615 # <limits.h> exists even on freestanding compilers.
4616 # On the NeXT, cc -E runs the code through the compiler's parser,
4617 # not just through cpp. "Syntax error" is here to catch this case.
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4621 # include <limits.h>
4623 # include <assert.h>
4627 if ac_fn_c_try_cpp "$LINENO"; then :
4630 # Broken: fails on valid input.
4633 rm -f conftest.err conftest.i conftest.$ac_ext
4635 # OK, works on sane cases. Now check whether nonexistent headers
4636 # can be detected and how.
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4639 #include <ac_nonexistent.h>
4641 if ac_fn_c_try_cpp "$LINENO"; then :
4642 # Broken: success on invalid input.
4645 # Passes both tests.
4649 rm -f conftest.err conftest.i conftest.$ac_ext
4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653 rm -f conftest.i conftest.err conftest.
$ac_ext
4654 if $ac_preproc_ok; then :
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4667 $as_echo "$CPP" >&6; }
4669 for ac_c_preproc_warn_flag
in '' yes
4671 # Use a header file that comes with gcc, so configuring glibc
4672 # with a fresh cross-compiler works.
4673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4674 # <limits.h> exists even on freestanding compilers.
4675 # On the NeXT, cc -E runs the code through the compiler's parser,
4676 # not just through cpp. "Syntax error" is here to catch this case.
4677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4680 # include <limits.h>
4682 # include <assert.h>
4686 if ac_fn_c_try_cpp
"$LINENO"; then :
4689 # Broken: fails on valid input.
4692 rm -f conftest.err conftest.i conftest.
$ac_ext
4694 # OK, works on sane cases. Now check whether nonexistent headers
4695 # can be detected and how.
4696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <ac_nonexistent.h>
4700 if ac_fn_c_try_cpp
"$LINENO"; then :
4701 # Broken: success on invalid input.
4704 # Passes both tests.
4708 rm -f conftest.err conftest.i conftest.
$ac_ext
4711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4712 rm -f conftest.i conftest.err conftest.
$ac_ext
4713 if $ac_preproc_ok; then :
4716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4718 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4719 See \`config.log' for more details" "$LINENO" 5; }
4723 ac_cpp
='$CPP $CPPFLAGS'
4724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4730 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4731 if ${ac_cv_path_GREP+:} false
; then :
4732 $as_echo_n "(cached) " >&6
4734 if test -z "$GREP"; then
4735 ac_path_GREP_found
=false
4736 # Loop through the user's path and test for each of PROGNAME-LIST
4737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4738 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4741 test -z "$as_dir" && as_dir
=.
4742 for ac_prog
in grep ggrep
; do
4743 for ac_exec_ext
in '' $ac_executable_extensions; do
4744 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4745 as_fn_executable_p
"$ac_path_GREP" ||
continue
4746 # Check for GNU ac_path_GREP and select it if it is found.
4747 # Check for GNU $ac_path_GREP
4748 case `"$ac_path_GREP" --version 2>&1` in
4750 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4753 $as_echo_n 0123456789 >"conftest.in"
4756 cat "conftest.in" "conftest.in" >"conftest.tmp"
4757 mv "conftest.tmp" "conftest.in"
4758 cp "conftest.in" "conftest.nl"
4759 $as_echo 'GREP' >> "conftest.nl"
4760 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4761 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4762 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4763 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4764 # Best one so far, save it but keep looking for a better one
4765 ac_cv_path_GREP
="$ac_path_GREP"
4766 ac_path_GREP_max
=$ac_count
4768 # 10*(2^10) chars as input seems more than enough
4769 test $ac_count -gt 10 && break
4771 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4774 $ac_path_GREP_found && break 3
4779 if test -z "$ac_cv_path_GREP"; then
4780 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4783 ac_cv_path_GREP
=$GREP
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4788 $as_echo "$ac_cv_path_GREP" >&6; }
4789 GREP
="$ac_cv_path_GREP"
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4793 $as_echo_n "checking for egrep... " >&6; }
4794 if ${ac_cv_path_EGREP+:} false
; then :
4795 $as_echo_n "(cached) " >&6
4797 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4798 then ac_cv_path_EGREP
="$GREP -E"
4800 if test -z "$EGREP"; then
4801 ac_path_EGREP_found
=false
4802 # Loop through the user's path and test for each of PROGNAME-LIST
4803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4804 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4807 test -z "$as_dir" && as_dir
=.
4808 for ac_prog
in egrep; do
4809 for ac_exec_ext
in '' $ac_executable_extensions; do
4810 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4811 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4812 # Check for GNU ac_path_EGREP and select it if it is found.
4813 # Check for GNU $ac_path_EGREP
4814 case `"$ac_path_EGREP" --version 2>&1` in
4816 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4819 $as_echo_n 0123456789 >"conftest.in"
4822 cat "conftest.in" "conftest.in" >"conftest.tmp"
4823 mv "conftest.tmp" "conftest.in"
4824 cp "conftest.in" "conftest.nl"
4825 $as_echo 'EGREP' >> "conftest.nl"
4826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4827 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4828 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4830 # Best one so far, save it but keep looking for a better one
4831 ac_cv_path_EGREP
="$ac_path_EGREP"
4832 ac_path_EGREP_max
=$ac_count
4834 # 10*(2^10) chars as input seems more than enough
4835 test $ac_count -gt 10 && break
4837 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4840 $ac_path_EGREP_found && break 3
4845 if test -z "$ac_cv_path_EGREP"; then
4846 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4849 ac_cv_path_EGREP
=$EGREP
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4855 $as_echo "$ac_cv_path_EGREP" >&6; }
4856 EGREP
="$ac_cv_path_EGREP"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4860 $as_echo_n "checking for ANSI C header files... " >&6; }
4861 if ${ac_cv_header_stdc+:} false
; then :
4862 $as_echo_n "(cached) " >&6
4864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4865 /* end confdefs.h. */
4879 if ac_fn_c_try_compile
"$LINENO"; then :
4880 ac_cv_header_stdc
=yes
4882 ac_cv_header_stdc
=no
4884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4886 if test $ac_cv_header_stdc = yes; then
4887 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4894 $EGREP "memchr" >/dev
/null
2>&1; then :
4897 ac_cv_header_stdc
=no
4903 if test $ac_cv_header_stdc = yes; then
4904 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4911 $EGREP "free" >/dev
/null
2>&1; then :
4914 ac_cv_header_stdc
=no
4920 if test $ac_cv_header_stdc = yes; then
4921 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4922 if test "$cross_compiling" = yes; then :
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4929 #if ((' ' & 0x0FF) == 0x020)
4930 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4931 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4933 # define ISLOWER(c) \
4934 (('a' <= (c) && (c) <= 'i') \
4935 || ('j' <= (c) && (c) <= 'r') \
4936 || ('s' <= (c) && (c) <= 'z'))
4937 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4940 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4945 for (i = 0; i < 256; i++)
4946 if (XOR (islower (i), ISLOWER (i))
4947 || toupper (i) != TOUPPER (i))
4952 if ac_fn_c_try_run
"$LINENO"; then :
4955 ac_cv_header_stdc
=no
4957 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4958 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4964 $as_echo "$ac_cv_header_stdc" >&6; }
4965 if test $ac_cv_header_stdc = yes; then
4967 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4971 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4972 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4973 inttypes.h stdint.h unistd.h
4975 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4976 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4978 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4979 cat >>confdefs.h
<<_ACEOF
4980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4989 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4990 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4997 if test "$MINIX" = yes; then
4999 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5002 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5005 $as_echo "#define _MINIX 1" >>confdefs.h
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5011 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5012 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5013 $as_echo_n "(cached) " >&6
5015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5018 # define __EXTENSIONS__ 1
5019 $ac_includes_default
5028 if ac_fn_c_try_compile
"$LINENO"; then :
5029 ac_cv_safe_to_define___extensions__
=yes
5031 ac_cv_safe_to_define___extensions__
=no
5033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5036 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5037 test $ac_cv_safe_to_define___extensions__ = yes &&
5038 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5040 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5042 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5044 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5046 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5052 $as_echo_n "checking whether ln -s works... " >&6; }
5054 if test "$LN_S" = "ln -s"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5056 $as_echo "yes" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5059 $as_echo "no, using $LN_S" >&6; }
5063 ac_cpp
='$CPP $CPPFLAGS'
5064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5069 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_CC+:} false
; then :
5073 $as_echo_n "(cached) " >&6
5075 if test -n "$CC"; then
5076 ac_cv_prog_CC
="$CC" # Let the user override the test.
5078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir
=.
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 if test -n "$CC"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5098 $as_echo "$CC" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5106 if test -z "$ac_cv_prog_CC"; then
5108 # Extract the first word of "gcc", so it can be a program name with args.
5109 set dummy gcc
; ac_word
=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$ac_ct_CC"; then
5116 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_CC
="gcc"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5136 if test -n "$ac_ct_CC"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5138 $as_echo "$ac_ct_CC" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5144 if test "x$ac_ct_CC" = x
; then
5147 case $cross_compiling:$ac_tool_warned in
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned
=yes ;;
5159 if test -z "$CC"; then
5160 if test -n "$ac_tool_prefix"; then
5161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5162 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 $as_echo_n "checking for $ac_word... " >&6; }
5165 if ${ac_cv_prog_CC+:} false
; then :
5166 $as_echo_n "(cached) " >&6
5168 if test -n "$CC"; then
5169 ac_cv_prog_CC
="$CC" # Let the user override the test.
5171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5175 test -z "$as_dir" && as_dir
=.
5176 for ac_exec_ext
in '' $ac_executable_extensions; do
5177 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 if test -n "$CC"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5191 $as_echo "$CC" >&6; }
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5200 if test -z "$CC"; then
5201 # Extract the first word of "cc", so it can be a program name with args.
5202 set dummy cc
; ac_word
=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_prog_CC+:} false
; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$CC"; then
5209 ac_cv_prog_CC
="$CC" # Let the user override the test.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5220 ac_prog_rejected
=yes
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 if test $ac_prog_rejected = yes; then
5232 # We found a bogon in the path, so make sure we never use it.
5233 set dummy
$ac_cv_prog_CC
5235 if test $# != 0; then
5236 # We chose a different compiler from the bogus one.
5237 # However, it has the same basename, so the bogon will be chosen
5238 # first if we set CC to just the basename; use the full file name.
5240 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5246 if test -n "$CC"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5248 $as_echo "$CC" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5256 if test -z "$CC"; then
5257 if test -n "$ac_tool_prefix"; then
5258 for ac_prog
in cl.exe
5260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5261 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_CC+:} false
; then :
5265 $as_echo_n "(cached) " >&6
5267 if test -n "$CC"; then
5268 ac_cv_prog_CC
="$CC" # Let the user override the test.
5270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir
=.
5275 for ac_exec_ext
in '' $ac_executable_extensions; do
5276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 if test -n "$CC"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5290 $as_echo "$CC" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$CC" && break
5300 if test -z "$CC"; then
5302 for ac_prog
in cl.exe
5304 # Extract the first word of "$ac_prog", so it can be a program name with args.
5305 set dummy
$ac_prog; ac_word
=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5309 $as_echo_n "(cached) " >&6
5311 if test -n "$ac_ct_CC"; then
5312 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir
=.
5319 for ac_exec_ext
in '' $ac_executable_extensions; do
5320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_ac_ct_CC
="$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5332 if test -n "$ac_ct_CC"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5334 $as_echo "$ac_ct_CC" >&6; }
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$ac_ct_CC" && break
5344 if test "x$ac_ct_CC" = x
; then
5347 case $cross_compiling:$ac_tool_warned in
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5351 ac_tool_warned
=yes ;;
5360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5362 as_fn_error $?
"no acceptable C compiler found in \$PATH
5363 See \`config.log' for more details" "$LINENO" 5; }
5365 # Provide some information about the compiler.
5366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5369 for ac_option
in --version -v -V -qversion; do
5370 { { ac_try
="$ac_compiler $ac_option >&5"
5372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5373 *) ac_try_echo=$ac_try;;
5375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5376 $as_echo "$ac_try_echo"; } >&5
5377 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5379 if test -s conftest.err; then
5381 ... rest of stderr output deleted ...
5382 10q' conftest.err >conftest.er1
5383 cat conftest.er1 >&5
5385 rm -f conftest.er1 conftest.err
5386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5387 test $ac_status = 0; }
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5391 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5392 if ${ac_cv_c_compiler_gnu+:} false; then :
5393 $as_echo_n "(cached) " >&6
5395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5409 if ac_fn_c_try_compile "$LINENO"; then :
5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5419 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5420 if test $ac_compiler_gnu = yes; then
5425 ac_test_CFLAGS=${CFLAGS+set}
5426 ac_save_CFLAGS=$CFLAGS
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5428 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5429 if ${ac_cv_prog_cc_g+:} false; then :
5430 $as_echo_n "(cached) " >&6
5432 ac_save_c_werror_flag=$ac_c_werror_flag
5433 ac_c_werror_flag=yes
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5447 if ac_fn_c_try_compile "$LINENO"; then :
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5462 if ac_fn_c_try_compile "$LINENO"; then :
5465 ac_c_werror_flag=$ac_save_c_werror_flag
5467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5478 if ac_fn_c_try_compile "$LINENO"; then :
5481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5486 ac_c_werror_flag=$ac_save_c_werror_flag
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5489 $as_echo "$ac_cv_prog_cc_g" >&6; }
5490 if test "$ac_test_CFLAGS" = set; then
5491 CFLAGS=$ac_save_CFLAGS
5492 elif test $ac_cv_prog_cc_g = yes; then
5493 if test "$GCC" = yes; then
5499 if test "$GCC" = yes; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5506 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5507 if ${ac_cv_prog_cc_c89+:} false; then :
5508 $as_echo_n "(cached) " >&6
5510 ac_cv_prog_cc_c89=no
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5518 struct buf { int x; };
5519 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5520 static char *e (p, i)
5526 static char *f (char * (*g) (char **, int), char **p, ...)
5531 s = g (p, va_arg (v,int));
5536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5537 function prototypes and stuff, but not '\xHH' hex character constants.
5538 These don't provoke an error unfortunately, instead are silently treated
5539 as 'x'. The following induces an error, until -std is added to get
5540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5541 array size at least. It's necessary to write '\x00'==0 to get something
5542 that's true only with -std. */
5543 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5546 inside strings and character constants. */
5548 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5550 int test (int i, double x);
5551 struct s1 {int (*f) (int a);};
5552 struct s2 {int (*f) (double a);};
5553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5564 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5565 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5567 CC="$ac_save_CC $ac_arg"
5568 if ac_fn_c_try_compile "$LINENO"; then :
5569 ac_cv_prog_cc_c89=$ac_arg
5571 rm -f core conftest.err conftest.$ac_objext
5572 test "x$ac_cv_prog_cc_c89" != "xno" && break
5574 rm -f conftest.$ac_ext
5579 case "x$ac_cv_prog_cc_c89" in
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5582 $as_echo "none needed" >&6; } ;;
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5585 $as_echo "unsupported" >&6; } ;;
5587 CC="$CC $ac_cv_prog_cc_c89"
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5589 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5591 if test "x$ac_cv_prog_cc_c89" != xno; then :
5596 ac_cpp='$CPP $CPPFLAGS'
5597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5602 ac_cpp='$CPP $CPPFLAGS'
5603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5607 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5608 if ${am_cv_prog_cc_c_o+:} false; then :
5609 $as_echo_n "(cached) " >&6
5611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5612 /* end confdefs.h. */
5622 # Make sure it works both with $CC and with simple cc.
5623 # Following AC_PROG_CC_C_O, we do the test twice because some
5624 # compilers refuse to overwrite an existing .o file with -o,
5625 # though they will create one.
5626 am_cv_prog_cc_c_o=yes
5628 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5629 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); } \
5633 && test -f conftest2.$ac_objext; then
5636 am_cv_prog_cc_c_o=no
5640 rm -f core conftest*
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5644 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5645 if test "$am_cv_prog_cc_c_o" != yes; then
5646 # Losing compiler, so override with the script.
5647 # FIXME: It is wrong to rewrite CC.
5648 # But if we don't then we get into trouble of one sort or another.
5649 # A longer-term fix would be to have automake use am__CC in this case,
5650 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5651 CC="$am_aux_dir/compile $CC"
5654 ac_cpp='$CPP $CPPFLAGS'
5655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5660 depcc="$CC" am_compiler_list=
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5663 $as_echo_n "checking dependency style of $depcc... " >&6; }
5664 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5668 # We make a subdir and do the tests there. Otherwise we can end up
5669 # making bogus files that we don't know about and never remove. For
5670 # instance it was reported that on HP-UX the gcc test will end up
5671 # making a dummy file named 'D' -- because '-MD' means "put the output
5675 # Copy depcomp to subdir because otherwise we won't find it if we're
5676 # using a relative directory.
5677 cp "$am_depcomp" conftest.dir
5679 # We will build objects and dependencies in a subdirectory because
5680 # it helps to detect inapplicable dependency modes. For instance
5681 # both Tru64's cc and ICC support -MD to output dependencies as a
5682 # side effect of compilation, but ICC will put the dependencies in
5683 # the current directory while Tru64 will put them in the object
5687 am_cv_CC_dependencies_compiler_type=none
5688 if test "$am_compiler_list" = ""; then
5689 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5692 case " $depcc " in #(
5693 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5696 for depmode in $am_compiler_list; do
5697 # Setup a source with many dependencies, because some compilers
5698 # like to wrap large dependency lists on column 80 (with \), and
5699 # we should not choose a depcomp mode which is confused by this.
5701 # We need to recreate these files for each test, as the compiler may
5702 # overwrite some of them when testing with obscure command lines.
5703 # This happens at least with the AIX C compiler.
5705 for i in 1 2 3 4 5 6; do
5706 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5707 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5708 # Solaris 10 /bin/sh.
5709 echo '/* dummy */' > sub/conftst$i.h
5711 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5713 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5714 # mode. It turns out that the SunPro C++ compiler does not properly
5715 # handle '-M -o', and we need to detect this. Also, some Intel
5716 # versions had trouble with output in subdirs.
5717 am__obj=sub/conftest.${OBJEXT-o}
5718 am__minus_obj="-o $am__obj"
5721 # This depmode causes a compiler race in universal mode.
5722 test "$am__universal" = false || continue
5725 # After this tag, mechanisms are not by side-effect, so they'll
5726 # only be used when explicitly requested.
5727 if test "x$enable_dependency_tracking" = xyes; then
5733 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5734 # This compiler won't grok '-c -o', but also, the minuso test has
5735 # not run yet. These depmodes are late enough in the game, and
5736 # so weak that their functioning should not be impacted.
5737 am__obj=conftest.${OBJEXT-o}
5742 if depmode=$depmode \
5743 source=sub/conftest.c object=$am__obj \
5744 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5745 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5746 >/dev/null 2>conftest.err &&
5747 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5748 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5749 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5750 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5751 # icc doesn't choke on unknown options, it will just issue warnings
5752 # or remarks (even with -Werror). So we grep stderr for any message
5753 # that says an option was ignored or not supported.
5754 # When given -MP, icc 7.0 and 7.1 complain thusly:
5755 # icc: Command line warning: ignoring option '-M'; no argument required
5756 # The diagnosis changed in icc 8.0:
5757 # icc: Command line remark: option '-MP' not supported
5758 if (grep 'ignoring option' conftest.err ||
5759 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5760 am_cv_CC_dependencies_compiler_type=$depmode
5769 am_cv_CC_dependencies_compiler_type=none
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5774 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5775 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5778 test "x$enable_dependency_tracking" != xno \
5779 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5781 am__fastdepCC_FALSE='#'
5783 am__fastdepCC_TRUE='#'
5784 am__fastdepCC_FALSE=
5789 ac_cpp='$CXXCPP $CPPFLAGS'
5790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5793 if test -z "$CXX"; then
5794 if test -n "$CCC"; then
5797 if test -n "$ac_tool_prefix"; then
5798 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5801 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if ${ac_cv_prog_CXX+:} false; then :
5805 $as_echo_n "(cached) " >&6
5807 if test -n "$CXX"; then
5808 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir=.
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 if test -n "$CXX"; then
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5830 $as_echo "$CXX" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5837 test -n "$CXX" && break
5840 if test -z "$CXX"; then
5842 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5844 # Extract the first word of "$ac_prog", so it can be a program name with args.
5845 set dummy $ac_prog; ac_word=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5849 $as_echo_n "(cached) " >&6
5851 if test -n "$ac_ct_CXX"; then
5852 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir=.
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861 ac_cv_prog_ac_ct_CXX="$ac_prog"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5872 if test -n "$ac_ct_CXX"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5874 $as_echo "$ac_ct_CXX" >&6; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5881 test -n "$ac_ct_CXX" && break
5884 if test "x$ac_ct_CXX" = x; then
5887 case $cross_compiling:$ac_tool_warned in
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5891 ac_tool_warned=yes ;;
5899 # Provide some information about the compiler.
5900 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5903 for ac_option in --version -v -V -qversion; do
5904 { { ac_try="$ac_compiler $ac_option >&5"
5906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5907 *) ac_try_echo
=$ac_try;;
5909 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5910 $as_echo "$ac_try_echo"; } >&5
5911 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5913 if test -s conftest.err
; then
5915 ... rest of stderr output deleted ...
5916 10q' conftest.err
>conftest.er1
5917 cat conftest.er1
>&5
5919 rm -f conftest.er1 conftest.err
5920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5921 test $ac_status = 0; }
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5925 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5926 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5927 $as_echo_n "(cached) " >&6
5929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5943 if ac_fn_cxx_try_compile
"$LINENO"; then :
5948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5949 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5953 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5954 if test $ac_compiler_gnu = yes; then
5959 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5960 ac_save_CXXFLAGS
=$CXXFLAGS
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5962 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5963 if ${ac_cv_prog_cxx_g+:} false
; then :
5964 $as_echo_n "(cached) " >&6
5966 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5967 ac_cxx_werror_flag
=yes
5970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5981 if ac_fn_cxx_try_compile
"$LINENO"; then :
5982 ac_cv_prog_cxx_g
=yes
5985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5986 /* end confdefs.h. */
5996 if ac_fn_cxx_try_compile
"$LINENO"; then :
5999 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6002 /* end confdefs.h. */
6012 if ac_fn_cxx_try_compile
"$LINENO"; then :
6013 ac_cv_prog_cxx_g
=yes
6015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6020 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6023 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6024 if test "$ac_test_CXXFLAGS" = set; then
6025 CXXFLAGS
=$ac_save_CXXFLAGS
6026 elif test $ac_cv_prog_cxx_g = yes; then
6027 if test "$GXX" = yes; then
6033 if test "$GXX" = yes; then
6040 ac_cpp
='$CPP $CPPFLAGS'
6041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6045 depcc
="$CXX" am_compiler_list
=
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6048 $as_echo_n "checking dependency style of $depcc... " >&6; }
6049 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
6050 $as_echo_n "(cached) " >&6
6052 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6053 # We make a subdir and do the tests there. Otherwise we can end up
6054 # making bogus files that we don't know about and never remove. For
6055 # instance it was reported that on HP-UX the gcc test will end up
6056 # making a dummy file named 'D' -- because '-MD' means "put the output
6060 # Copy depcomp to subdir because otherwise we won't find it if we're
6061 # using a relative directory.
6062 cp "$am_depcomp" conftest.dir
6064 # We will build objects and dependencies in a subdirectory because
6065 # it helps to detect inapplicable dependency modes. For instance
6066 # both Tru64's cc and ICC support -MD to output dependencies as a
6067 # side effect of compilation, but ICC will put the dependencies in
6068 # the current directory while Tru64 will put them in the object
6072 am_cv_CXX_dependencies_compiler_type
=none
6073 if test "$am_compiler_list" = ""; then
6074 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6077 case " $depcc " in #(
6078 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6081 for depmode
in $am_compiler_list; do
6082 # Setup a source with many dependencies, because some compilers
6083 # like to wrap large dependency lists on column 80 (with \), and
6084 # we should not choose a depcomp mode which is confused by this.
6086 # We need to recreate these files for each test, as the compiler may
6087 # overwrite some of them when testing with obscure command lines.
6088 # This happens at least with the AIX C compiler.
6090 for i
in 1 2 3 4 5 6; do
6091 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6092 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6093 # Solaris 10 /bin/sh.
6094 echo '/* dummy */' > sub
/conftst
$i.h
6096 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6098 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6099 # mode. It turns out that the SunPro C++ compiler does not properly
6100 # handle '-M -o', and we need to detect this. Also, some Intel
6101 # versions had trouble with output in subdirs.
6102 am__obj
=sub
/conftest.
${OBJEXT-o}
6103 am__minus_obj
="-o $am__obj"
6106 # This depmode causes a compiler race in universal mode.
6107 test "$am__universal" = false ||
continue
6110 # After this tag, mechanisms are not by side-effect, so they'll
6111 # only be used when explicitly requested.
6112 if test "x$enable_dependency_tracking" = xyes
; then
6118 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6119 # This compiler won't grok '-c -o', but also, the minuso test has
6120 # not run yet. These depmodes are late enough in the game, and
6121 # so weak that their functioning should not be impacted.
6122 am__obj
=conftest.
${OBJEXT-o}
6127 if depmode
=$depmode \
6128 source=sub
/conftest.c object
=$am__obj \
6129 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6130 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6131 >/dev
/null
2>conftest.err
&&
6132 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6133 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6134 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6135 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6136 # icc doesn't choke on unknown options, it will just issue warnings
6137 # or remarks (even with -Werror). So we grep stderr for any message
6138 # that says an option was ignored or not supported.
6139 # When given -MP, icc 7.0 and 7.1 complain thusly:
6140 # icc: Command line warning: ignoring option '-M'; no argument required
6141 # The diagnosis changed in icc 8.0:
6142 # icc: Command line remark: option '-MP' not supported
6143 if (grep 'ignoring option' conftest.err ||
6144 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6145 am_cv_CXX_dependencies_compiler_type
=$depmode
6154 am_cv_CXX_dependencies_compiler_type
=none
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6159 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6160 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6163 test "x$enable_dependency_tracking" != xno \
6164 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6165 am__fastdepCXX_TRUE
=
6166 am__fastdepCXX_FALSE
='#'
6168 am__fastdepCXX_TRUE
='#'
6169 am__fastdepCXX_FALSE
=
6174 ac_cpp
='$CPP $CPPFLAGS'
6175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6179 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6180 # On Suns, sometimes $CPP names a directory.
6181 if test -n "$CPP" && test -d "$CPP"; then
6184 if test -z "$CPP"; then
6185 if ${ac_cv_prog_CPP+:} false
; then :
6186 $as_echo_n "(cached) " >&6
6188 # Double quotes because CPP needs to be expanded
6189 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6192 for ac_c_preproc_warn_flag
in '' yes
6194 # Use a header file that comes with gcc, so configuring glibc
6195 # with a fresh cross-compiler works.
6196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6197 # <limits.h> exists even on freestanding compilers.
6198 # On the NeXT, cc -E runs the code through the compiler's parser,
6199 # not just through cpp. "Syntax error" is here to catch this case.
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6203 # include <limits.h>
6205 # include <assert.h>
6209 if ac_fn_c_try_cpp
"$LINENO"; then :
6212 # Broken: fails on valid input.
6215 rm -f conftest.err conftest.i conftest.
$ac_ext
6217 # OK, works on sane cases. Now check whether nonexistent headers
6218 # can be detected and how.
6219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 #include <ac_nonexistent.h>
6223 if ac_fn_c_try_cpp
"$LINENO"; then :
6224 # Broken: success on invalid input.
6227 # Passes both tests.
6231 rm -f conftest.err conftest.i conftest.
$ac_ext
6234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6235 rm -f conftest.i conftest.err conftest.
$ac_ext
6236 if $ac_preproc_ok; then :
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6249 $as_echo "$CPP" >&6; }
6251 for ac_c_preproc_warn_flag
in '' yes
6253 # Use a header file that comes with gcc, so configuring glibc
6254 # with a fresh cross-compiler works.
6255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6256 # <limits.h> exists even on freestanding compilers.
6257 # On the NeXT, cc -E runs the code through the compiler's parser,
6258 # not just through cpp. "Syntax error" is here to catch this case.
6259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6262 # include <limits.h>
6264 # include <assert.h>
6268 if ac_fn_c_try_cpp
"$LINENO"; then :
6271 # Broken: fails on valid input.
6274 rm -f conftest.err conftest.i conftest.
$ac_ext
6276 # OK, works on sane cases. Now check whether nonexistent headers
6277 # can be detected and how.
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <ac_nonexistent.h>
6282 if ac_fn_c_try_cpp
"$LINENO"; then :
6283 # Broken: success on invalid input.
6286 # Passes both tests.
6290 rm -f conftest.err conftest.i conftest.
$ac_ext
6293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6294 rm -f conftest.i conftest.err conftest.
$ac_ext
6295 if $ac_preproc_ok; then :
6298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6300 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6301 See \`config.log' for more details" "$LINENO" 5; }
6305 ac_cpp
='$CPP $CPPFLAGS'
6306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6311 if test -n "$ac_tool_prefix"; then
6312 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6313 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6315 $as_echo_n "checking for $ac_word... " >&6; }
6316 if ${ac_cv_prog_RANLIB+:} false
; then :
6317 $as_echo_n "(cached) " >&6
6319 if test -n "$RANLIB"; then
6320 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6326 test -z "$as_dir" && as_dir
=.
6327 for ac_exec_ext
in '' $ac_executable_extensions; do
6328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339 RANLIB
=$ac_cv_prog_RANLIB
6340 if test -n "$RANLIB"; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6342 $as_echo "$RANLIB" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345 $as_echo "no" >&6; }
6350 if test -z "$ac_cv_prog_RANLIB"; then
6351 ac_ct_RANLIB
=$RANLIB
6352 # Extract the first word of "ranlib", so it can be a program name with args.
6353 set dummy ranlib
; ac_word
=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6357 $as_echo_n "(cached) " >&6
6359 if test -n "$ac_ct_RANLIB"; then
6360 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6366 test -z "$as_dir" && as_dir
=.
6367 for ac_exec_ext
in '' $ac_executable_extensions; do
6368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6379 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6380 if test -n "$ac_ct_RANLIB"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6382 $as_echo "$ac_ct_RANLIB" >&6; }
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; }
6388 if test "x$ac_ct_RANLIB" = x
; then
6391 case $cross_compiling:$ac_tool_warned in
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6395 ac_tool_warned
=yes ;;
6397 RANLIB
=$ac_ct_RANLIB
6400 RANLIB
="$ac_cv_prog_RANLIB"
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6407 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6409 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6410 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6411 $as_echo_n "(cached) " >&6
6413 cat >conftest.
make <<\_ACEOF
6416 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6418 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6419 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6421 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6423 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6427 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6429 $as_echo "yes" >&6; }
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6434 SET_MAKE
="MAKE=${MAKE-make}"
6439 # Check whether --enable-largefile was given.
6440 if test "${enable_largefile+set}" = set; then :
6441 enableval
=$enable_largefile;
6444 if test "$enable_largefile" != no
; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6447 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6448 if ${ac_cv_sys_largefile_CC+:} false
; then :
6449 $as_echo_n "(cached) " >&6
6451 ac_cv_sys_largefile_CC
=no
6452 if test "$GCC" != yes; then
6455 # IRIX 6.2 and later do not support large files by default,
6456 # so use the C compiler's -n32 option if that helps.
6457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6459 #include <sys/types.h>
6460 /* Check that off_t can represent 2**63 - 1 correctly.
6461 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6462 since some C++ compilers masquerading as C compilers
6463 incorrectly reject 9223372036854775807. */
6464 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6465 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6466 && LARGE_OFF_T % 2147483647 == 1)
6476 if ac_fn_c_try_compile
"$LINENO"; then :
6479 rm -f core conftest.err conftest.
$ac_objext
6481 if ac_fn_c_try_compile
"$LINENO"; then :
6482 ac_cv_sys_largefile_CC
=' -n32'; break
6484 rm -f core conftest.err conftest.
$ac_objext
6488 rm -f conftest.
$ac_ext
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6492 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6493 if test "$ac_cv_sys_largefile_CC" != no
; then
6494 CC
=$CC$ac_cv_sys_largefile_CC
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6498 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6499 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6500 $as_echo_n "(cached) " >&6
6503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6504 /* end confdefs.h. */
6505 #include <sys/types.h>
6506 /* Check that off_t can represent 2**63 - 1 correctly.
6507 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6508 since some C++ compilers masquerading as C compilers
6509 incorrectly reject 9223372036854775807. */
6510 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6511 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6512 && LARGE_OFF_T % 2147483647 == 1)
6522 if ac_fn_c_try_compile
"$LINENO"; then :
6523 ac_cv_sys_file_offset_bits
=no
; break
6525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6527 /* end confdefs.h. */
6528 #define _FILE_OFFSET_BITS 64
6529 #include <sys/types.h>
6530 /* Check that off_t can represent 2**63 - 1 correctly.
6531 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6532 since some C++ compilers masquerading as C compilers
6533 incorrectly reject 9223372036854775807. */
6534 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6535 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6536 && LARGE_OFF_T % 2147483647 == 1)
6546 if ac_fn_c_try_compile
"$LINENO"; then :
6547 ac_cv_sys_file_offset_bits
=64; break
6549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6550 ac_cv_sys_file_offset_bits
=unknown
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6555 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6556 case $ac_cv_sys_file_offset_bits in #(
6559 cat >>confdefs.h
<<_ACEOF
6560 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6565 if test $ac_cv_sys_file_offset_bits = unknown
; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6567 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6568 if ${ac_cv_sys_large_files+:} false
; then :
6569 $as_echo_n "(cached) " >&6
6572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <sys/types.h>
6575 /* Check that off_t can represent 2**63 - 1 correctly.
6576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6577 since some C++ compilers masquerading as C compilers
6578 incorrectly reject 9223372036854775807. */
6579 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6581 && LARGE_OFF_T % 2147483647 == 1)
6591 if ac_fn_c_try_compile
"$LINENO"; then :
6592 ac_cv_sys_large_files
=no
; break
6594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6597 #define _LARGE_FILES 1
6598 #include <sys/types.h>
6599 /* Check that off_t can represent 2**63 - 1 correctly.
6600 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6601 since some C++ compilers masquerading as C compilers
6602 incorrectly reject 9223372036854775807. */
6603 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6604 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6605 && LARGE_OFF_T % 2147483647 == 1)
6615 if ac_fn_c_try_compile
"$LINENO"; then :
6616 ac_cv_sys_large_files
=1; break
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6619 ac_cv_sys_large_files
=unknown
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6624 $as_echo "$ac_cv_sys_large_files" >&6; }
6625 case $ac_cv_sys_large_files in #(
6628 cat >>confdefs.h
<<_ACEOF
6629 #define _LARGE_FILES $ac_cv_sys_large_files
6639 for ac_func
in ppoll
6641 ac_fn_c_check_func
"$LINENO" "ppoll" "ac_cv_func_ppoll"
6642 if test "x$ac_cv_func_ppoll" = xyes
; then :
6643 cat >>confdefs.h
<<_ACEOF
6644 #define HAVE_PPOLL 1
6650 for ac_func
in openat
6652 ac_fn_c_check_func
"$LINENO" "openat" "ac_cv_func_openat"
6653 if test "x$ac_cv_func_openat" = xyes
; then :
6654 cat >>confdefs.h
<<_ACEOF
6655 #define HAVE_OPENAT 1
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6662 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6663 if ${ac_cv_path_SED+:} false
; then :
6664 $as_echo_n "(cached) " >&6
6666 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6667 for ac_i
in 1 2 3 4 5 6 7; do
6668 ac_script
="$ac_script$as_nl$ac_script"
6670 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6671 { ac_script
=; unset ac_script
;}
6672 if test -z "$SED"; then
6673 ac_path_SED_found
=false
6674 # Loop through the user's path and test for each of PROGNAME-LIST
6675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir
=.
6680 for ac_prog
in sed gsed
; do
6681 for ac_exec_ext
in '' $ac_executable_extensions; do
6682 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6683 as_fn_executable_p
"$ac_path_SED" ||
continue
6684 # Check for GNU ac_path_SED and select it if it is found.
6685 # Check for GNU $ac_path_SED
6686 case `"$ac_path_SED" --version 2>&1` in
6688 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6691 $as_echo_n 0123456789 >"conftest.in"
6694 cat "conftest.in" "conftest.in" >"conftest.tmp"
6695 mv "conftest.tmp" "conftest.in"
6696 cp "conftest.in" "conftest.nl"
6697 $as_echo '' >> "conftest.nl"
6698 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6699 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6700 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6701 if test $ac_count -gt ${ac_path_SED_max-0}; then
6702 # Best one so far, save it but keep looking for a better one
6703 ac_cv_path_SED
="$ac_path_SED"
6704 ac_path_SED_max
=$ac_count
6706 # 10*(2^10) chars as input seems more than enough
6707 test $ac_count -gt 10 && break
6709 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6712 $ac_path_SED_found && break 3
6717 if test -z "$ac_cv_path_SED"; then
6718 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6726 $as_echo "$ac_cv_path_SED" >&6; }
6727 SED
="$ac_cv_path_SED"
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6732 $as_echo_n "checking whether NLS is requested... " >&6; }
6733 # Check whether --enable-nls was given.
6734 if test "${enable_nls+set}" = set; then :
6735 enableval
=$enable_nls; USE_NLS
=$enableval
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6741 $as_echo "$USE_NLS" >&6; }
6746 GETTEXT_MACRO_VERSION
=0.19
6751 # Prepare PATH_SEPARATOR.
6752 # The user is always right.
6753 if test "${PATH_SEPARATOR+set}" != set; then
6754 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6755 # contains only /bin. Note that ksh looks also at the FPATH variable,
6756 # so we have to set that as well for the test.
6758 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6759 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6760 || PATH_SEPARATOR
=';'
6764 # Find out how to test for executable files. Don't use a zero-byte file,
6765 # as systems may use methods other than mode bits to determine executability.
6766 cat >conf$$.
file <<_ASEOF
6770 chmod +x conf$$.
file
6771 if test -x conf$$.
file >/dev
/null
2>&1; then
6772 ac_executable_p
="test -x"
6774 ac_executable_p
="test -f"
6778 # Extract the first word of "msgfmt", so it can be a program name with args.
6779 set dummy msgfmt
; ac_word
=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_path_MSGFMT+:} false
; then :
6783 $as_echo_n "(cached) " >&6
6787 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6790 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6791 for ac_dir
in $PATH; do
6793 test -z "$ac_dir" && ac_dir
=.
6794 for ac_exec_ext
in '' $ac_executable_extensions; do
6795 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6796 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6797 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
6798 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6799 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6806 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6810 MSGFMT
="$ac_cv_path_MSGFMT"
6811 if test "$MSGFMT" != ":"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6813 $as_echo "$MSGFMT" >&6; }
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 $as_echo "no" >&6; }
6819 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6820 set dummy gmsgfmt
; ac_word
=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822 $as_echo_n "checking for $ac_word... " >&6; }
6823 if ${ac_cv_path_GMSGFMT+:} false
; then :
6824 $as_echo_n "(cached) " >&6
6828 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6835 test -z "$as_dir" && as_dir
=.
6836 for ac_exec_ext
in '' $ac_executable_extensions; do
6837 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6838 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6850 GMSGFMT
=$ac_cv_path_GMSGFMT
6851 if test -n "$GMSGFMT"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6853 $as_echo "$GMSGFMT" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6861 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6862 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
6863 *) MSGFMT_015
=$MSGFMT ;;
6866 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6867 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
6868 *) GMSGFMT_015
=$GMSGFMT ;;
6873 # Prepare PATH_SEPARATOR.
6874 # The user is always right.
6875 if test "${PATH_SEPARATOR+set}" != set; then
6876 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6877 # contains only /bin. Note that ksh looks also at the FPATH variable,
6878 # so we have to set that as well for the test.
6880 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6881 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6882 || PATH_SEPARATOR
=';'
6886 # Find out how to test for executable files. Don't use a zero-byte file,
6887 # as systems may use methods other than mode bits to determine executability.
6888 cat >conf$$.
file <<_ASEOF
6892 chmod +x conf$$.
file
6893 if test -x conf$$.
file >/dev
/null
2>&1; then
6894 ac_executable_p
="test -x"
6896 ac_executable_p
="test -f"
6900 # Extract the first word of "xgettext", so it can be a program name with args.
6901 set dummy xgettext
; ac_word
=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903 $as_echo_n "checking for $ac_word... " >&6; }
6904 if ${ac_cv_path_XGETTEXT+:} false
; then :
6905 $as_echo_n "(cached) " >&6
6909 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6912 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6913 for ac_dir
in $PATH; do
6915 test -z "$ac_dir" && ac_dir
=.
6916 for ac_exec_ext
in '' $ac_executable_extensions; do
6917 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6918 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6919 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
6920 (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
6921 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6928 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6932 XGETTEXT
="$ac_cv_path_XGETTEXT"
6933 if test "$XGETTEXT" != ":"; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6935 $as_echo "$XGETTEXT" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6943 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6944 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
6945 *) XGETTEXT_015
=$XGETTEXT ;;
6950 # Prepare PATH_SEPARATOR.
6951 # The user is always right.
6952 if test "${PATH_SEPARATOR+set}" != set; then
6953 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6954 # contains only /bin. Note that ksh looks also at the FPATH variable,
6955 # so we have to set that as well for the test.
6957 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6958 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6959 || PATH_SEPARATOR
=';'
6963 # Find out how to test for executable files. Don't use a zero-byte file,
6964 # as systems may use methods other than mode bits to determine executability.
6965 cat >conf$$.
file <<_ASEOF
6969 chmod +x conf$$.
file
6970 if test -x conf$$.
file >/dev
/null
2>&1; then
6971 ac_executable_p
="test -x"
6973 ac_executable_p
="test -f"
6977 # Extract the first word of "msgmerge", so it can be a program name with args.
6978 set dummy msgmerge
; ac_word
=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_path_MSGMERGE+:} false
; then :
6982 $as_echo_n "(cached) " >&6
6986 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6989 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6990 for ac_dir
in $PATH; do
6992 test -z "$ac_dir" && ac_dir
=.
6993 for ac_exec_ext
in '' $ac_executable_extensions; do
6994 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6995 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6996 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
6997 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7004 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7008 MSGMERGE
="$ac_cv_path_MSGMERGE"
7009 if test "$MSGMERGE" != ":"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7011 $as_echo "$MSGMERGE" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7018 test -n "$localedir" || localedir
='${datadir}/locale'
7021 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
7024 ac_config_commands
="$ac_config_commands po-directories"
7028 if test "X$prefix" = "XNONE"; then
7029 acl_final_prefix
="$ac_default_prefix"
7031 acl_final_prefix
="$prefix"
7033 if test "X$exec_prefix" = "XNONE"; then
7034 acl_final_exec_prefix
='${prefix}'
7036 acl_final_exec_prefix
="$exec_prefix"
7038 acl_save_prefix
="$prefix"
7039 prefix
="$acl_final_prefix"
7040 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7041 prefix
="$acl_save_prefix"
7045 # Check whether --with-gnu-ld was given.
7046 if test "${with_gnu_ld+set}" = set; then :
7047 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7052 # Prepare PATH_SEPARATOR.
7053 # The user is always right.
7054 if test "${PATH_SEPARATOR+set}" != set; then
7055 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7056 # contains only /bin. Note that ksh looks also at the FPATH variable,
7057 # so we have to set that as well for the test.
7059 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7060 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7061 || PATH_SEPARATOR
=';'
7066 if test "$GCC" = yes; then
7067 # Check if gcc -print-prog-name=ld gives a path.
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7069 $as_echo_n "checking for ld used by $CC... " >&6; }
7072 # gcc leaves a trailing carriage return which upsets mingw
7073 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7075 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7078 # Accept absolute paths.
7080 re_direlt
='/[^/][^/]*/\.\./'
7081 # Canonicalize the pathname of ld
7082 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
7083 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
7084 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7086 test -z "$LD" && LD
="$ac_prog"
7089 # If it fails, then pretend we aren't using GCC.
7093 # If it is relative, then search for the first ld in PATH.
7097 elif test "$with_gnu_ld" = yes; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7099 $as_echo_n "checking for GNU ld... " >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7102 $as_echo_n "checking for non-GNU ld... " >&6; }
7104 if ${acl_cv_path_LD+:} false
; then :
7105 $as_echo_n "(cached) " >&6
7107 if test -z "$LD"; then
7108 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7109 for ac_dir
in $PATH; do
7111 test -z "$ac_dir" && ac_dir
=.
7112 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7113 acl_cv_path_LD
="$ac_dir/$ac_prog"
7114 # Check to see if the program is GNU ld. I'd rather use --version,
7115 # but apparently some variants of GNU ld only accept -v.
7116 # Break only if it was the GNU/non-GNU ld that we prefer.
7117 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
7118 *GNU
* |
*'with BFD'*)
7119 test "$with_gnu_ld" != no
&& break
7122 test "$with_gnu_ld" != yes && break
7129 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7133 LD
="$acl_cv_path_LD"
7134 if test -n "$LD"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7136 $as_echo "$LD" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7141 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7143 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7144 if ${acl_cv_prog_gnu_ld+:} false
; then :
7145 $as_echo_n "(cached) " >&6
7147 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7148 case `$LD -v 2>&1 </dev/null` in
7149 *GNU
* |
*'with BFD'*)
7150 acl_cv_prog_gnu_ld
=yes
7153 acl_cv_prog_gnu_ld
=no
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7158 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7159 with_gnu_ld
=$acl_cv_prog_gnu_ld
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7165 $as_echo_n "checking for shared library run path origin... " >&6; }
7166 if ${acl_cv_rpath+:} false
; then :
7167 $as_echo_n "(cached) " >&6
7170 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7171 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7178 $as_echo "$acl_cv_rpath" >&6; }
7180 acl_libext
="$acl_cv_libext"
7181 acl_shlibext
="$acl_cv_shlibext"
7182 acl_libname_spec
="$acl_cv_libname_spec"
7183 acl_library_names_spec
="$acl_cv_library_names_spec"
7184 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7185 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7186 acl_hardcode_direct
="$acl_cv_hardcode_direct"
7187 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7188 # Check whether --enable-rpath was given.
7189 if test "${enable_rpath+set}" = set; then :
7190 enableval
=$enable_rpath; :
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7203 $as_echo_n "checking for 64-bit host... " >&6; }
7204 if ${gl_cv_solaris_64bit+:} false
; then :
7205 $as_echo_n "(cached) " >&6
7207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h. */
7215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7216 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
7217 gl_cv_solaris_64bit
=yes
7219 gl_cv_solaris_64bit
=no
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7226 $as_echo "$gl_cv_solaris_64bit" >&6; }
7227 if test $gl_cv_solaris_64bit = yes; then
7228 acl_libdirstem
=lib
/64
7230 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
7231 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
7236 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7237 if test -n "$searchpath"; then
7238 acl_save_IFS
="${IFS= }"; IFS
=":"
7239 for searchdir
in $searchpath; do
7240 if test -d "$searchdir"; then
7241 case "$searchdir" in
7242 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
7244 # Better ignore directories of this form. They are misleading.
7246 *) searchdir
=`cd "$searchdir" && pwd`
7247 case "$searchdir" in
7248 */lib64
) acl_libdirstem
=lib64
;;
7257 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
7272 acl_save_prefix
="$prefix"
7273 prefix
="$acl_final_prefix"
7274 acl_save_exec_prefix
="$exec_prefix"
7275 exec_prefix
="$acl_final_exec_prefix"
7277 eval additional_includedir
=\"$includedir\"
7278 eval additional_libdir
=\"$libdir\"
7280 exec_prefix
="$acl_save_exec_prefix"
7281 prefix
="$acl_save_prefix"
7284 # Check whether --with-libiconv-prefix was given.
7285 if test "${with_libiconv_prefix+set}" = set; then :
7286 withval
=$with_libiconv_prefix;
7287 if test "X$withval" = "Xno"; then
7290 if test "X$withval" = "X"; then
7292 acl_save_prefix
="$prefix"
7293 prefix
="$acl_final_prefix"
7294 acl_save_exec_prefix
="$exec_prefix"
7295 exec_prefix
="$acl_final_exec_prefix"
7297 eval additional_includedir
=\"$includedir\"
7298 eval additional_libdir
=\"$libdir\"
7300 exec_prefix
="$acl_save_exec_prefix"
7301 prefix
="$acl_save_prefix"
7304 additional_includedir
="$withval/include"
7305 additional_libdir
="$withval/$acl_libdirstem"
7306 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7307 && ! test -d "$withval/$acl_libdirstem"; then
7308 additional_libdir
="$withval/$acl_libdirstem2"
7322 names_already_handled
=
7323 names_next_round
='iconv '
7324 while test -n "$names_next_round"; do
7325 names_this_round
="$names_next_round"
7327 for name
in $names_this_round; do
7329 for n
in $names_already_handled; do
7330 if test "$n" = "$name"; then
7335 if test -z "$already_handled"; then
7336 names_already_handled
="$names_already_handled $name"
7337 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7338 eval value
=\"\
$HAVE_LIB$uppername\"
7339 if test -n "$value"; then
7340 if test "$value" = yes; then
7341 eval value
=\"\
$LIB$uppername\"
7342 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7343 eval value
=\"\
$LTLIB$uppername\"
7344 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7353 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
7354 if test -n "$acl_shlibext"; then
7355 shrext
=".$acl_shlibext" # typically: shrext=.so
7359 if test $use_additional = yes; then
7360 dir
="$additional_libdir"
7361 if test -n "$acl_shlibext"; then
7362 if test -f "$dir/$libname$shrext"; then
7364 found_so
="$dir/$libname$shrext"
7366 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7367 ver
=`(cd "$dir" && \
7368 for f in "$libname$shrext".*; do echo "$f"; done \
7369 | sed -e "s,^$libname$shrext\\\\.,," \
7370 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7371 | sed 1q ) 2>/dev/null`
7372 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7374 found_so
="$dir/$libname$shrext.$ver"
7377 eval library_names
=\"$acl_library_names_spec\"
7378 for f
in $library_names; do
7379 if test -f "$dir/$f"; then
7388 if test "X$found_dir" = "X"; then
7389 if test -f "$dir/$libname.$acl_libext"; then
7391 found_a
="$dir/$libname.$acl_libext"
7394 if test "X$found_dir" != "X"; then
7395 if test -f "$dir/$libname.la"; then
7396 found_la
="$dir/$libname.la"
7400 if test "X$found_dir" = "X"; then
7401 for x
in $LDFLAGS $LTLIBICONV; do
7403 acl_save_prefix
="$prefix"
7404 prefix
="$acl_final_prefix"
7405 acl_save_exec_prefix
="$exec_prefix"
7406 exec_prefix
="$acl_final_exec_prefix"
7408 exec_prefix
="$acl_save_exec_prefix"
7409 prefix
="$acl_save_prefix"
7413 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7414 if test -n "$acl_shlibext"; then
7415 if test -f "$dir/$libname$shrext"; then
7417 found_so
="$dir/$libname$shrext"
7419 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7420 ver
=`(cd "$dir" && \
7421 for f in "$libname$shrext".*; do echo "$f"; done \
7422 | sed -e "s,^$libname$shrext\\\\.,," \
7423 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7424 | sed 1q ) 2>/dev/null`
7425 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7427 found_so
="$dir/$libname$shrext.$ver"
7430 eval library_names
=\"$acl_library_names_spec\"
7431 for f
in $library_names; do
7432 if test -f "$dir/$f"; then
7441 if test "X$found_dir" = "X"; then
7442 if test -f "$dir/$libname.$acl_libext"; then
7444 found_a
="$dir/$libname.$acl_libext"
7447 if test "X$found_dir" != "X"; then
7448 if test -f "$dir/$libname.la"; then
7449 found_la
="$dir/$libname.la"
7454 if test "X$found_dir" != "X"; then
7459 if test "X$found_dir" != "X"; then
7460 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7461 if test "X$found_so" != "X"; then
7462 if test "$enable_rpath" = no \
7463 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
7464 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7465 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7468 for x
in $ltrpathdirs; do
7469 if test "X$x" = "X$found_dir"; then
7474 if test -z "$haveit"; then
7475 ltrpathdirs
="$ltrpathdirs $found_dir"
7477 if test "$acl_hardcode_direct" = yes; then
7478 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7480 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
7481 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7483 for x
in $rpathdirs; do
7484 if test "X$x" = "X$found_dir"; then
7489 if test -z "$haveit"; then
7490 rpathdirs
="$rpathdirs $found_dir"
7494 for x
in $LDFLAGS $LIBICONV; do
7496 acl_save_prefix
="$prefix"
7497 prefix
="$acl_final_prefix"
7498 acl_save_exec_prefix
="$exec_prefix"
7499 exec_prefix
="$acl_final_exec_prefix"
7501 exec_prefix
="$acl_save_exec_prefix"
7502 prefix
="$acl_save_prefix"
7504 if test "X$x" = "X-L$found_dir"; then
7509 if test -z "$haveit"; then
7510 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7512 if test "$acl_hardcode_minus_L" != no
; then
7513 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7515 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7521 if test "X$found_a" != "X"; then
7522 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7524 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7527 additional_includedir
=
7528 case "$found_dir" in
7529 */$acl_libdirstem |
*/$acl_libdirstem/)
7530 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7531 if test "$name" = 'iconv'; then
7532 LIBICONV_PREFIX
="$basedir"
7534 additional_includedir
="$basedir/include"
7536 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
7537 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7538 if test "$name" = 'iconv'; then
7539 LIBICONV_PREFIX
="$basedir"
7541 additional_includedir
="$basedir/include"
7544 if test "X$additional_includedir" != "X"; then
7545 if test "X$additional_includedir" != "X/usr/include"; then
7547 if test "X$additional_includedir" = "X/usr/local/include"; then
7548 if test -n "$GCC"; then
7550 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7554 if test -z "$haveit"; then
7555 for x
in $CPPFLAGS $INCICONV; do
7557 acl_save_prefix
="$prefix"
7558 prefix
="$acl_final_prefix"
7559 acl_save_exec_prefix
="$exec_prefix"
7560 exec_prefix
="$acl_final_exec_prefix"
7562 exec_prefix
="$acl_save_exec_prefix"
7563 prefix
="$acl_save_prefix"
7565 if test "X$x" = "X-I$additional_includedir"; then
7570 if test -z "$haveit"; then
7571 if test -d "$additional_includedir"; then
7572 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7578 if test -n "$found_la"; then
7579 save_libdir
="$libdir"
7581 */* |
*\\*) .
"$found_la" ;;
7582 *) .
"./$found_la" ;;
7584 libdir
="$save_libdir"
7585 for dep
in $dependency_libs; do
7588 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7589 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7590 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7592 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7593 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7594 if test -n "$GCC"; then
7596 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7600 if test -z "$haveit"; then
7602 for x
in $LDFLAGS $LIBICONV; do
7604 acl_save_prefix
="$prefix"
7605 prefix
="$acl_final_prefix"
7606 acl_save_exec_prefix
="$exec_prefix"
7607 exec_prefix
="$acl_final_exec_prefix"
7609 exec_prefix
="$acl_save_exec_prefix"
7610 prefix
="$acl_save_prefix"
7612 if test "X$x" = "X-L$additional_libdir"; then
7617 if test -z "$haveit"; then
7618 if test -d "$additional_libdir"; then
7619 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7623 for x
in $LDFLAGS $LTLIBICONV; do
7625 acl_save_prefix
="$prefix"
7626 prefix
="$acl_final_prefix"
7627 acl_save_exec_prefix
="$exec_prefix"
7628 exec_prefix
="$acl_final_exec_prefix"
7630 exec_prefix
="$acl_save_exec_prefix"
7631 prefix
="$acl_save_prefix"
7633 if test "X$x" = "X-L$additional_libdir"; then
7638 if test -z "$haveit"; then
7639 if test -d "$additional_libdir"; then
7640 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7647 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7648 if test "$enable_rpath" != no
; then
7650 for x
in $rpathdirs; do
7651 if test "X$x" = "X$dir"; then
7656 if test -z "$haveit"; then
7657 rpathdirs
="$rpathdirs $dir"
7660 for x
in $ltrpathdirs; do
7661 if test "X$x" = "X$dir"; then
7666 if test -z "$haveit"; then
7667 ltrpathdirs
="$ltrpathdirs $dir"
7672 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7675 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7678 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7679 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7685 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7686 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7692 if test "X$rpathdirs" != "X"; then
7693 if test -n "$acl_hardcode_libdir_separator"; then
7695 for found_dir
in $rpathdirs; do
7696 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7698 acl_save_libdir
="$libdir"
7700 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7701 libdir
="$acl_save_libdir"
7702 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7704 for found_dir
in $rpathdirs; do
7705 acl_save_libdir
="$libdir"
7707 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7708 libdir
="$acl_save_libdir"
7709 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7713 if test "X$ltrpathdirs" != "X"; then
7714 for found_dir
in $ltrpathdirs; do
7715 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7750 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7751 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
7752 $as_echo_n "(cached) " >&6
7754 gt_save_LIBS
="$LIBS"
7755 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7758 #include <CoreFoundation/CFPreferences.h>
7762 CFPreferencesCopyAppValue(NULL, NULL)
7767 if ac_fn_c_try_link
"$LINENO"; then :
7768 gt_cv_func_CFPreferencesCopyAppValue
=yes
7770 gt_cv_func_CFPreferencesCopyAppValue
=no
7772 rm -f core conftest.err conftest.
$ac_objext \
7773 conftest
$ac_exeext conftest.
$ac_ext
7774 LIBS
="$gt_save_LIBS"
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7777 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7778 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7780 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
7784 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
7785 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
7786 $as_echo_n "(cached) " >&6
7788 gt_save_LIBS
="$LIBS"
7789 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h. */
7792 #include <CoreFoundation/CFLocale.h>
7796 CFLocaleCopyCurrent();
7801 if ac_fn_c_try_link
"$LINENO"; then :
7802 gt_cv_func_CFLocaleCopyCurrent
=yes
7804 gt_cv_func_CFLocaleCopyCurrent
=no
7806 rm -f core conftest.err conftest.
$ac_objext \
7807 conftest
$ac_exeext conftest.
$ac_ext
7808 LIBS
="$gt_save_LIBS"
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
7811 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
7812 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7814 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
7818 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7819 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
7831 case " $gt_needs " in
7832 *" need-formatstring-macros "*) gt_api_version
=3 ;;
7833 *" need-ngettext "*) gt_api_version
=2 ;;
7834 *) gt_api_version
=1 ;;
7836 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
7837 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
7839 if test "$USE_NLS" = "yes"; then
7840 gt_use_preinstalled_gnugettext
=no
7843 if test $gt_api_version -ge 3; then
7844 gt_revision_test_code
='
7845 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7846 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7848 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7851 gt_revision_test_code
=
7853 if test $gt_api_version -ge 2; then
7854 gt_expression_test_code
=' + * ngettext ("", "", 0)'
7856 gt_expression_test_code
=
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7860 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7861 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
7862 $as_echo_n "(cached) " >&6
7864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7867 #include <libintl.h>
7868 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7869 extern int _nl_msg_cat_cntr;
7870 extern int *_nl_domain_bindings;
7871 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
7873 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7875 $gt_revision_test_code
7881 bindtextdomain ("", "");
7882 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7888 if ac_fn_c_try_link
"$LINENO"; then :
7889 eval "$gt_func_gnugettext_libc=yes"
7891 eval "$gt_func_gnugettext_libc=no"
7893 rm -f core conftest.err conftest.
$ac_objext \
7894 conftest
$ac_exeext conftest.
$ac_ext
7896 eval ac_res
=\$
$gt_func_gnugettext_libc
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7898 $as_echo "$ac_res" >&6; }
7900 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7906 am_save_CPPFLAGS
="$CPPFLAGS"
7908 for element
in $INCICONV; do
7910 for x
in $CPPFLAGS; do
7912 acl_save_prefix
="$prefix"
7913 prefix
="$acl_final_prefix"
7914 acl_save_exec_prefix
="$exec_prefix"
7915 exec_prefix
="$acl_final_exec_prefix"
7917 exec_prefix
="$acl_save_exec_prefix"
7918 prefix
="$acl_save_prefix"
7920 if test "X$x" = "X$element"; then
7925 if test -z "$haveit"; then
7926 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7932 $as_echo_n "checking for iconv... " >&6; }
7933 if ${am_cv_func_iconv+:} false
; then :
7934 $as_echo_n "(cached) " >&6
7937 am_cv_func_iconv
="no, consider installing GNU libiconv"
7939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7948 iconv_t cd = iconv_open("","");
7949 iconv(cd,NULL,NULL,NULL,NULL);
7955 if ac_fn_c_try_link
"$LINENO"; then :
7956 am_cv_func_iconv
=yes
7958 rm -f core conftest.err conftest.
$ac_objext \
7959 conftest
$ac_exeext conftest.
$ac_ext
7960 if test "$am_cv_func_iconv" != yes; then
7961 am_save_LIBS
="$LIBS"
7962 LIBS
="$LIBS $LIBICONV"
7963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7972 iconv_t cd = iconv_open("","");
7973 iconv(cd,NULL,NULL,NULL,NULL);
7979 if ac_fn_c_try_link
"$LINENO"; then :
7981 am_cv_func_iconv
=yes
7983 rm -f core conftest.err conftest.
$ac_objext \
7984 conftest
$ac_exeext conftest.
$ac_ext
7985 LIBS
="$am_save_LIBS"
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7990 $as_echo "$am_cv_func_iconv" >&6; }
7991 if test "$am_cv_func_iconv" = yes; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7993 $as_echo_n "checking for working iconv... " >&6; }
7994 if ${am_cv_func_iconv_works+:} false
; then :
7995 $as_echo_n "(cached) " >&6
7998 am_save_LIBS
="$LIBS"
7999 if test $am_cv_lib_iconv = yes; then
8000 LIBS
="$LIBS $LIBICONV"
8002 am_cv_func_iconv_works
=no
8003 for ac_iconv_const
in '' 'const'; do
8004 if test "$cross_compiling" = yes; then :
8006 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
8007 *) am_cv_func_iconv_works
="guessing yes" ;;
8010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8017 # define ICONV_CONST $ac_iconv_const
8024 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
8027 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8028 if (cd_utf8_to_88591 != (iconv_t)(-1))
8030 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8032 ICONV_CONST char *inptr = input;
8033 size_t inbytesleft = strlen (input);
8035 size_t outbytesleft = sizeof (buf);
8036 size_t res = iconv (cd_utf8_to_88591,
8037 &inptr, &inbytesleft,
8038 &outptr, &outbytesleft);
8041 iconv_close (cd_utf8_to_88591);
8044 /* Test against Solaris 10 bug: Failures are not distinguishable from
8045 successful returns. */
8047 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8048 if (cd_ascii_to_88591 != (iconv_t)(-1))
8050 static ICONV_CONST char input[] = "\263";
8052 ICONV_CONST char *inptr = input;
8053 size_t inbytesleft = strlen (input);
8055 size_t outbytesleft = sizeof (buf);
8056 size_t res = iconv (cd_ascii_to_88591,
8057 &inptr, &inbytesleft,
8058 &outptr, &outbytesleft);
8061 iconv_close (cd_ascii_to_88591);
8064 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
8066 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8067 if (cd_88591_to_utf8 != (iconv_t)(-1))
8069 static ICONV_CONST char input[] = "\304";
8070 static char buf[2] = { (char)0xDE, (char)0xAD };
8071 ICONV_CONST char *inptr = input;
8072 size_t inbytesleft = 1;
8074 size_t outbytesleft = 1;
8075 size_t res = iconv (cd_88591_to_utf8,
8076 &inptr, &inbytesleft,
8077 &outptr, &outbytesleft);
8078 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8080 iconv_close (cd_88591_to_utf8);
8083 #if 0 /* This bug could be worked around by the caller. */
8084 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8086 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8087 if (cd_88591_to_utf8 != (iconv_t)(-1))
8089 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8091 ICONV_CONST char *inptr = input;
8092 size_t inbytesleft = strlen (input);
8094 size_t outbytesleft = sizeof (buf);
8095 size_t res = iconv (cd_88591_to_utf8,
8096 &inptr, &inbytesleft,
8097 &outptr, &outbytesleft);
8100 iconv_close (cd_88591_to_utf8);
8104 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8106 if (/* Try standardized names. */
8107 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
8108 /* Try IRIX, OSF/1 names. */
8109 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8110 /* Try AIX names. */
8111 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8112 /* Try HP-UX names. */
8113 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8121 if ac_fn_c_try_run
"$LINENO"; then :
8122 am_cv_func_iconv_works
=yes
8124 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8125 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8128 test "$am_cv_func_iconv_works" = no ||
break
8130 LIBS
="$am_save_LIBS"
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8134 $as_echo "$am_cv_func_iconv_works" >&6; }
8135 case "$am_cv_func_iconv_works" in
8136 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8137 *) am_func_iconv
=yes ;;
8140 am_func_iconv
=no am_cv_lib_iconv
=no
8142 if test "$am_func_iconv" = yes; then
8144 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8147 if test "$am_cv_lib_iconv" = yes; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8149 $as_echo_n "checking how to link with libiconv... " >&6; }
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8151 $as_echo "$LIBICONV" >&6; }
8153 CPPFLAGS
="$am_save_CPPFLAGS"
8170 acl_save_prefix
="$prefix"
8171 prefix
="$acl_final_prefix"
8172 acl_save_exec_prefix
="$exec_prefix"
8173 exec_prefix
="$acl_final_exec_prefix"
8175 eval additional_includedir
=\"$includedir\"
8176 eval additional_libdir
=\"$libdir\"
8178 exec_prefix
="$acl_save_exec_prefix"
8179 prefix
="$acl_save_prefix"
8182 # Check whether --with-libintl-prefix was given.
8183 if test "${with_libintl_prefix+set}" = set; then :
8184 withval
=$with_libintl_prefix;
8185 if test "X$withval" = "Xno"; then
8188 if test "X$withval" = "X"; then
8190 acl_save_prefix
="$prefix"
8191 prefix
="$acl_final_prefix"
8192 acl_save_exec_prefix
="$exec_prefix"
8193 exec_prefix
="$acl_final_exec_prefix"
8195 eval additional_includedir
=\"$includedir\"
8196 eval additional_libdir
=\"$libdir\"
8198 exec_prefix
="$acl_save_exec_prefix"
8199 prefix
="$acl_save_prefix"
8202 additional_includedir
="$withval/include"
8203 additional_libdir
="$withval/$acl_libdirstem"
8204 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8205 && ! test -d "$withval/$acl_libdirstem"; then
8206 additional_libdir
="$withval/$acl_libdirstem2"
8220 names_already_handled
=
8221 names_next_round
='intl '
8222 while test -n "$names_next_round"; do
8223 names_this_round
="$names_next_round"
8225 for name
in $names_this_round; do
8227 for n
in $names_already_handled; do
8228 if test "$n" = "$name"; then
8233 if test -z "$already_handled"; then
8234 names_already_handled
="$names_already_handled $name"
8235 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8236 eval value
=\"\
$HAVE_LIB$uppername\"
8237 if test -n "$value"; then
8238 if test "$value" = yes; then
8239 eval value
=\"\
$LIB$uppername\"
8240 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8241 eval value
=\"\
$LTLIB$uppername\"
8242 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8251 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8252 if test -n "$acl_shlibext"; then
8253 shrext
=".$acl_shlibext" # typically: shrext=.so
8257 if test $use_additional = yes; then
8258 dir
="$additional_libdir"
8259 if test -n "$acl_shlibext"; then
8260 if test -f "$dir/$libname$shrext"; then
8262 found_so
="$dir/$libname$shrext"
8264 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8265 ver
=`(cd "$dir" && \
8266 for f in "$libname$shrext".*; do echo "$f"; done \
8267 | sed -e "s,^$libname$shrext\\\\.,," \
8268 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8269 | sed 1q ) 2>/dev/null`
8270 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8272 found_so
="$dir/$libname$shrext.$ver"
8275 eval library_names
=\"$acl_library_names_spec\"
8276 for f
in $library_names; do
8277 if test -f "$dir/$f"; then
8286 if test "X$found_dir" = "X"; then
8287 if test -f "$dir/$libname.$acl_libext"; then
8289 found_a
="$dir/$libname.$acl_libext"
8292 if test "X$found_dir" != "X"; then
8293 if test -f "$dir/$libname.la"; then
8294 found_la
="$dir/$libname.la"
8298 if test "X$found_dir" = "X"; then
8299 for x
in $LDFLAGS $LTLIBINTL; do
8301 acl_save_prefix
="$prefix"
8302 prefix
="$acl_final_prefix"
8303 acl_save_exec_prefix
="$exec_prefix"
8304 exec_prefix
="$acl_final_exec_prefix"
8306 exec_prefix
="$acl_save_exec_prefix"
8307 prefix
="$acl_save_prefix"
8311 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8312 if test -n "$acl_shlibext"; then
8313 if test -f "$dir/$libname$shrext"; then
8315 found_so
="$dir/$libname$shrext"
8317 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8318 ver
=`(cd "$dir" && \
8319 for f in "$libname$shrext".*; do echo "$f"; done \
8320 | sed -e "s,^$libname$shrext\\\\.,," \
8321 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8322 | sed 1q ) 2>/dev/null`
8323 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8325 found_so
="$dir/$libname$shrext.$ver"
8328 eval library_names
=\"$acl_library_names_spec\"
8329 for f
in $library_names; do
8330 if test -f "$dir/$f"; then
8339 if test "X$found_dir" = "X"; then
8340 if test -f "$dir/$libname.$acl_libext"; then
8342 found_a
="$dir/$libname.$acl_libext"
8345 if test "X$found_dir" != "X"; then
8346 if test -f "$dir/$libname.la"; then
8347 found_la
="$dir/$libname.la"
8352 if test "X$found_dir" != "X"; then
8357 if test "X$found_dir" != "X"; then
8358 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8359 if test "X$found_so" != "X"; then
8360 if test "$enable_rpath" = no \
8361 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8362 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8363 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8366 for x
in $ltrpathdirs; do
8367 if test "X$x" = "X$found_dir"; then
8372 if test -z "$haveit"; then
8373 ltrpathdirs
="$ltrpathdirs $found_dir"
8375 if test "$acl_hardcode_direct" = yes; then
8376 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8378 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8379 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8381 for x
in $rpathdirs; do
8382 if test "X$x" = "X$found_dir"; then
8387 if test -z "$haveit"; then
8388 rpathdirs
="$rpathdirs $found_dir"
8392 for x
in $LDFLAGS $LIBINTL; do
8394 acl_save_prefix
="$prefix"
8395 prefix
="$acl_final_prefix"
8396 acl_save_exec_prefix
="$exec_prefix"
8397 exec_prefix
="$acl_final_exec_prefix"
8399 exec_prefix
="$acl_save_exec_prefix"
8400 prefix
="$acl_save_prefix"
8402 if test "X$x" = "X-L$found_dir"; then
8407 if test -z "$haveit"; then
8408 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8410 if test "$acl_hardcode_minus_L" != no
; then
8411 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8413 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8419 if test "X$found_a" != "X"; then
8420 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
8422 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8425 additional_includedir
=
8426 case "$found_dir" in
8427 */$acl_libdirstem |
*/$acl_libdirstem/)
8428 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8429 if test "$name" = 'intl'; then
8430 LIBINTL_PREFIX
="$basedir"
8432 additional_includedir
="$basedir/include"
8434 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8435 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8436 if test "$name" = 'intl'; then
8437 LIBINTL_PREFIX
="$basedir"
8439 additional_includedir
="$basedir/include"
8442 if test "X$additional_includedir" != "X"; then
8443 if test "X$additional_includedir" != "X/usr/include"; then
8445 if test "X$additional_includedir" = "X/usr/local/include"; then
8446 if test -n "$GCC"; then
8448 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8452 if test -z "$haveit"; then
8453 for x
in $CPPFLAGS $INCINTL; do
8455 acl_save_prefix
="$prefix"
8456 prefix
="$acl_final_prefix"
8457 acl_save_exec_prefix
="$exec_prefix"
8458 exec_prefix
="$acl_final_exec_prefix"
8460 exec_prefix
="$acl_save_exec_prefix"
8461 prefix
="$acl_save_prefix"
8463 if test "X$x" = "X-I$additional_includedir"; then
8468 if test -z "$haveit"; then
8469 if test -d "$additional_includedir"; then
8470 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8476 if test -n "$found_la"; then
8477 save_libdir
="$libdir"
8479 */* |
*\\*) .
"$found_la" ;;
8480 *) .
"./$found_la" ;;
8482 libdir
="$save_libdir"
8483 for dep
in $dependency_libs; do
8486 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8487 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8488 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8490 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8491 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8492 if test -n "$GCC"; then
8494 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8498 if test -z "$haveit"; then
8500 for x
in $LDFLAGS $LIBINTL; do
8502 acl_save_prefix
="$prefix"
8503 prefix
="$acl_final_prefix"
8504 acl_save_exec_prefix
="$exec_prefix"
8505 exec_prefix
="$acl_final_exec_prefix"
8507 exec_prefix
="$acl_save_exec_prefix"
8508 prefix
="$acl_save_prefix"
8510 if test "X$x" = "X-L$additional_libdir"; then
8515 if test -z "$haveit"; then
8516 if test -d "$additional_libdir"; then
8517 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8521 for x
in $LDFLAGS $LTLIBINTL; do
8523 acl_save_prefix
="$prefix"
8524 prefix
="$acl_final_prefix"
8525 acl_save_exec_prefix
="$exec_prefix"
8526 exec_prefix
="$acl_final_exec_prefix"
8528 exec_prefix
="$acl_save_exec_prefix"
8529 prefix
="$acl_save_prefix"
8531 if test "X$x" = "X-L$additional_libdir"; then
8536 if test -z "$haveit"; then
8537 if test -d "$additional_libdir"; then
8538 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8545 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8546 if test "$enable_rpath" != no
; then
8548 for x
in $rpathdirs; do
8549 if test "X$x" = "X$dir"; then
8554 if test -z "$haveit"; then
8555 rpathdirs
="$rpathdirs $dir"
8558 for x
in $ltrpathdirs; do
8559 if test "X$x" = "X$dir"; then
8564 if test -z "$haveit"; then
8565 ltrpathdirs
="$ltrpathdirs $dir"
8570 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8573 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8576 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
8577 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8583 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8584 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8590 if test "X$rpathdirs" != "X"; then
8591 if test -n "$acl_hardcode_libdir_separator"; then
8593 for found_dir
in $rpathdirs; do
8594 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8596 acl_save_libdir
="$libdir"
8598 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8599 libdir
="$acl_save_libdir"
8600 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8602 for found_dir
in $rpathdirs; do
8603 acl_save_libdir
="$libdir"
8605 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8606 libdir
="$acl_save_libdir"
8607 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8611 if test "X$ltrpathdirs" != "X"; then
8612 for found_dir
in $ltrpathdirs; do
8613 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8623 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
8624 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
8625 $as_echo_n "(cached) " >&6
8627 gt_save_CPPFLAGS
="$CPPFLAGS"
8628 CPPFLAGS
="$CPPFLAGS $INCINTL"
8629 gt_save_LIBS
="$LIBS"
8630 LIBS
="$LIBS $LIBINTL"
8631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8634 #include <libintl.h>
8635 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8636 extern int _nl_msg_cat_cntr;
8641 const char *_nl_expand_alias (const char *);
8642 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8644 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8646 $gt_revision_test_code
8652 bindtextdomain ("", "");
8653 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8659 if ac_fn_c_try_link
"$LINENO"; then :
8660 eval "$gt_func_gnugettext_libintl=yes"
8662 eval "$gt_func_gnugettext_libintl=no"
8664 rm -f core conftest.err conftest.
$ac_objext \
8665 conftest
$ac_exeext conftest.
$ac_ext
8666 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8667 LIBS
="$LIBS $LIBICONV"
8668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8671 #include <libintl.h>
8672 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8673 extern int _nl_msg_cat_cntr;
8678 const char *_nl_expand_alias (const char *);
8679 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8681 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8683 $gt_revision_test_code
8689 bindtextdomain ("", "");
8690 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8696 if ac_fn_c_try_link
"$LINENO"; then :
8697 LIBINTL
="$LIBINTL $LIBICONV"
8698 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
8699 eval "$gt_func_gnugettext_libintl=yes"
8702 rm -f core conftest.err conftest.
$ac_objext \
8703 conftest
$ac_exeext conftest.
$ac_ext
8705 CPPFLAGS
="$gt_save_CPPFLAGS"
8706 LIBS
="$gt_save_LIBS"
8708 eval ac_res
=\$
$gt_func_gnugettext_libintl
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8710 $as_echo "$ac_res" >&6; }
8713 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8714 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8715 && test "$PACKAGE" != gettext-runtime \
8716 && test "$PACKAGE" != gettext-tools
; }; then
8717 gt_use_preinstalled_gnugettext
=yes
8726 if test -n "$INTL_MACOSX_LIBS"; then
8727 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8728 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8729 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
8730 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
8734 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8735 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8737 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8745 $as_echo_n "checking whether to use NLS... " >&6; }
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8747 $as_echo "$USE_NLS" >&6; }
8748 if test "$USE_NLS" = "yes"; then
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8750 $as_echo_n "checking where the gettext function comes from... " >&6; }
8751 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8752 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8753 gt_source
="external libintl"
8758 gt_source
="included intl directory"
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8761 $as_echo "$gt_source" >&6; }
8764 if test "$USE_NLS" = "yes"; then
8766 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8767 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8769 $as_echo_n "checking how to link with libintl... " >&6; }
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8771 $as_echo "$LIBINTL" >&6; }
8773 for element
in $INCINTL; do
8775 for x
in $CPPFLAGS; do
8777 acl_save_prefix
="$prefix"
8778 prefix
="$acl_final_prefix"
8779 acl_save_exec_prefix
="$exec_prefix"
8780 exec_prefix
="$acl_final_exec_prefix"
8782 exec_prefix
="$acl_save_exec_prefix"
8783 prefix
="$acl_save_prefix"
8785 if test "X$x" = "X$element"; then
8790 if test -z "$haveit"; then
8791 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8798 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8801 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8819 # We want the 'PYTHON' varible to be python version 2. We also want
8820 # our custom 'PYTHON3' varible to be python version 3.
8822 # Note that the python2/python3 code was inspired by code in the
8824 # <https://github.com/abrt/abrt/blob/master/configure.ac>
8826 # First, figure out what version of python is in the executable named
8827 # 'python'. On most systems that is python version 2, but on arch
8828 # linux that is python version 3.
8829 # Extract the first word of "python", so it can be a program name with args.
8830 set dummy python
; ac_word
=$2
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8832 $as_echo_n "checking for $ac_word... " >&6; }
8833 if ${ac_cv_path_PYTHON_UNKNOWN+:} false
; then :
8834 $as_echo_n "(cached) " >&6
8836 case $PYTHON_UNKNOWN in
8838 ac_cv_path_PYTHON_UNKNOWN
="$PYTHON_UNKNOWN" # Let the user override the test with a path.
8841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8845 test -z "$as_dir" && as_dir
=.
8846 for ac_exec_ext
in '' $ac_executable_extensions; do
8847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8848 ac_cv_path_PYTHON_UNKNOWN
="$as_dir/$ac_word$ac_exec_ext"
8849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8856 test -z "$ac_cv_path_PYTHON_UNKNOWN" && ac_cv_path_PYTHON_UNKNOWN
="no"
8860 PYTHON_UNKNOWN
=$ac_cv_path_PYTHON_UNKNOWN
8861 if test -n "$PYTHON_UNKNOWN"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_UNKNOWN" >&5
8863 $as_echo "$PYTHON_UNKNOWN" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8870 if test "x$PYTHON_UNKNOWN" != "xno"; then
8871 # OK, we found 'python'. What version is it?
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON_UNKNOWN is version 2 or 3" >&5
8873 $as_echo_n "checking whether $PYTHON_UNKNOWN is version 2 or 3... " >&6; }
8874 if ${ac_cv_python_unknown_version+:} false
; then :
8875 $as_echo_n "(cached) " >&6
8877 ac_cv_python_unknown_version
=`$PYTHON_UNKNOWN -c "import sys; sys.stdout.write(sys.version[:3][0])"`
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_unknown_version" >&5
8880 $as_echo "$ac_cv_python_unknown_version" >&6; }
8883 # Now we'll update the _AM_PYTHON_INTERPRETER_LIST variable (which
8884 # AM_PATH_PYTHON uses) to only be version 2 versions of python. Note
8885 # that the m4_define happens when autoconf is run, but the
8886 # PLAIN_PYTHON_INTERPRETER variable expansion will happen when the
8887 # user runs configure.
8889 # Note that for python2, we prefer an executable named 'python2' over
8890 # one just named 'python'.
8891 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$ac_cv_python_unknown_version" = "x2"; then
8892 PLAIN_PYTHON_INTERPRETER
=python
8894 PLAIN_PYTHON_INTERPRETER
=python2
8898 # Now we can call AM_PATH_PYTHON to find python version 2.6+ (and
8906 if test -n "$PYTHON"; then
8907 # If the user set $PYTHON, use it and don't search something else.
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
8909 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
8911 # split strings by '.' and convert to numeric. Append some zeros
8912 # because we need at least 4 digits for the hex conversion.
8913 # map returns an iterator in Python 3.0 and a list in 2.x
8914 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8916 # xrange is not present in Python 3.0 and range returns an iterator
8917 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8918 sys.exit(sys.hexversion < minverhex)"
8919 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
8920 ($PYTHON -c "$prog") >&5 2>&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; then :
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8925 $as_echo "yes" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8928 $as_echo "no" >&6; }
8929 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
8931 am_display_PYTHON
=$PYTHON
8933 # Otherwise, try each interpreter until we find one that satisfies
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
8936 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
8937 if ${am_cv_pathless_PYTHON+:} false
; then :
8938 $as_echo_n "(cached) " >&6
8941 for am_cv_pathless_PYTHON
in python2
$PLAIN_PYTHON_INTERPRETER python2.7 python2.6 none
; do
8942 test "$am_cv_pathless_PYTHON" = none
&& break
8944 # split strings by '.' and convert to numeric. Append some zeros
8945 # because we need at least 4 digits for the hex conversion.
8946 # map returns an iterator in Python 3.0 and a list in 2.x
8947 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8949 # xrange is not present in Python 3.0 and range returns an iterator
8950 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8951 sys.exit(sys.hexversion < minverhex)"
8952 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
8953 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); }; then :
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
8962 $as_echo "$am_cv_pathless_PYTHON" >&6; }
8963 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
8964 if test "$am_cv_pathless_PYTHON" = none
; then
8967 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
8968 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8970 $as_echo_n "checking for $ac_word... " >&6; }
8971 if ${ac_cv_path_PYTHON+:} false
; then :
8972 $as_echo_n "(cached) " >&6
8976 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
8979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8983 test -z "$as_dir" && as_dir
=.
8984 for ac_exec_ext
in '' $ac_executable_extensions; do
8985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8986 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
8987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8997 PYTHON
=$ac_cv_path_PYTHON
8998 if test -n "$PYTHON"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
9000 $as_echo "$PYTHON" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9008 am_display_PYTHON
=$am_cv_pathless_PYTHON
9012 if test "$PYTHON" = :; then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
9018 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
9019 if ${am_cv_python_version+:} false
; then :
9020 $as_echo_n "(cached) " >&6
9022 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
9025 $as_echo "$am_cv_python_version" >&6; }
9026 PYTHON_VERSION
=$am_cv_python_version
9030 PYTHON_PREFIX
='${prefix}'
9032 PYTHON_EXEC_PREFIX
='${exec_prefix}'
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
9037 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
9038 if ${am_cv_python_platform+:} false
; then :
9039 $as_echo_n "(cached) " >&6
9041 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
9044 $as_echo "$am_cv_python_platform" >&6; }
9045 PYTHON_PLATFORM
=$am_cv_python_platform
9048 # Just factor out some code duplication.
9049 am_python_setup_sysconfig
="\
9051 # Prefer sysconfig over distutils.sysconfig, for better compatibility
9052 # with python 3.x. See automake bug#10227.
9056 can_use_sysconfig = 0
9058 can_use_sysconfig = 1
9059 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
9060 # <https://github.com/pypa/virtualenv/issues/118>
9062 from platform import python_implementation
9063 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
9064 can_use_sysconfig = 0
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
9070 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
9071 if ${am_cv_python_pythondir+:} false
; then :
9072 $as_echo_n "(cached) " >&6
9074 if test "x$prefix" = xNONE
9076 am_py_prefix
=$ac_default_prefix
9078 am_py_prefix
=$prefix
9080 am_cv_python_pythondir
=`$PYTHON -c "
9081 $am_python_setup_sysconfig
9082 if can_use_sysconfig:
9083 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
9085 from distutils import sysconfig
9086 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
9087 sys.stdout.write(sitedir)"`
9088 case $am_cv_python_pythondir in
9090 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
9091 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
9094 case $am_py_prefix in
9097 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
9105 $as_echo "$am_cv_python_pythondir" >&6; }
9106 pythondir
=$am_cv_python_pythondir
9110 pkgpythondir
=\
${pythondir}/$PACKAGE
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
9114 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
9115 if ${am_cv_python_pyexecdir+:} false
; then :
9116 $as_echo_n "(cached) " >&6
9118 if test "x$exec_prefix" = xNONE
9120 am_py_exec_prefix
=$am_py_prefix
9122 am_py_exec_prefix
=$exec_prefix
9124 am_cv_python_pyexecdir
=`$PYTHON -c "
9125 $am_python_setup_sysconfig
9126 if can_use_sysconfig:
9127 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
9129 from distutils import sysconfig
9130 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
9131 sys.stdout.write(sitedir)"`
9132 case $am_cv_python_pyexecdir in
9133 $am_py_exec_prefix*)
9134 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
9135 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
9138 case $am_py_exec_prefix in
9141 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
9149 $as_echo "$am_cv_python_pyexecdir" >&6; }
9150 pyexecdir
=$am_cv_python_pyexecdir
9154 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
9161 python_basename
=$
(basename "$PYTHON")
9163 cat >>confdefs.h
<<_ACEOF
9164 #define PYTHON_BASENAME "${python_basename}"
9167 if test "x$PYTHON" != "x:"; then
9169 $as_echo "#define PYTHON_EXISTS /**/" >>confdefs.h
9173 # AM_PATH_PYTHON defines 'pyexecdir'. Make sure the python and
9174 # pyexecdir variables get sent down to the subconfigure in the
9175 # testsuite directory.
9176 as_fn_append ac_configure_args
" python='$PYTHON' pyexecdir='$pyexecdir'"
9178 # Now let's try to find python version 3.
9179 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$ac_cv_python_unknown_version" = "x3"; then
9180 # Extract the first word of "python", so it can be a program name with args.
9181 set dummy python
; ac_word
=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9183 $as_echo_n "checking for $ac_word... " >&6; }
9184 if ${ac_cv_path_PYTHON3+:} false
; then :
9185 $as_echo_n "(cached) " >&6
9189 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9196 test -z "$as_dir" && as_dir
=.
9197 for ac_exec_ext
in '' $ac_executable_extensions; do
9198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9199 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9210 PYTHON3
=$ac_cv_path_PYTHON3
9211 if test -n "$PYTHON3"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9213 $as_echo "$PYTHON3" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9221 for ac_prog
in python3 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0
9223 # Extract the first word of "$ac_prog", so it can be a program name with args.
9224 set dummy
$ac_prog; ac_word
=$2
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9226 $as_echo_n "checking for $ac_word... " >&6; }
9227 if ${ac_cv_path_PYTHON3+:} false
; then :
9228 $as_echo_n "(cached) " >&6
9232 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9239 test -z "$as_dir" && as_dir
=.
9240 for ac_exec_ext
in '' $ac_executable_extensions; do
9241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9242 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9253 PYTHON3
=$ac_cv_path_PYTHON3
9254 if test -n "$PYTHON3"; then
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9256 $as_echo "$PYTHON3" >&6; }
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9259 $as_echo "no" >&6; }
9263 test -n "$PYTHON3" && break
9265 test -n "$PYTHON3" || PYTHON3
=":"
9268 python3_basename
=$
(basename "$PYTHON3")
9270 cat >>confdefs.h
<<_ACEOF
9271 #define PYTHON3_BASENAME "${python3_basename}"
9275 # If we found python version 3, set up the other variables for python
9276 # version 3 that AM_PATH_PYTHON sets up for python version 2.
9277 if test "x$PYTHON3" != "x:"; then
9279 $as_echo "#define PYTHON3_EXISTS /**/" >>confdefs.h
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 version" >&5
9282 $as_echo_n "checking for python3 version... " >&6; }
9283 if ${ac_cv_python3_version+:} false
; then :
9284 $as_echo_n "(cached) " >&6
9286 ac_cv_python3_version
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.version[:3])"`
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_version" >&5
9289 $as_echo "$ac_cv_python3_version" >&6; }
9290 PYTHON3_VERSION
=$ac_cv_python3_version
9292 PYTHON3_PREFIX
='${prefix}'
9294 PYTHON3_EXEC_PREFIX
='${exec_prefix}'
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 platform" >&5
9297 $as_echo_n "checking for python3 platform... " >&6; }
9298 if ${ac_cv_python3_platform+:} false
; then :
9299 $as_echo_n "(cached) " >&6
9301 ac_cv_python3_platform
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.platform)"`
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_platform" >&5
9304 $as_echo "$ac_cv_python3_platform" >&6; }
9305 PYTHON3_PLATFORM
=$ac_cv_python3_platform
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 script directory" >&5
9309 $as_echo_n "checking for python3 script directory... " >&6; }
9310 if ${ac_cv_python3_dir+:} false
; then :
9311 $as_echo_n "(cached) " >&6
9313 ac_cv_python3_dir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(0,0,prefix='$PYTHON3_PREFIX'))"`
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_dir" >&5
9316 $as_echo "$ac_cv_python3_dir" >&6; }
9317 python3dir
=$ac_cv_python3_dir
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 extension module directory" >&5
9321 $as_echo_n "checking for python3 extension module directory... " >&6; }
9322 if ${ac_cv_py3execdir+:} false
; then :
9323 $as_echo_n "(cached) " >&6
9325 ac_cv_py3execdir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='$PYTHON3_EXEC_PREFIX'))"`
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_py3execdir" >&5
9328 $as_echo "$ac_cv_py3execdir" >&6; }
9329 py3execdir
=$ac_cv_py3execdir
9333 # Make sure the python3 and py3execdir variables get sent down to
9334 # the subconfigure in the testsuite directory.
9335 as_fn_append ac_configure_args
" python3='$PYTHON3' py3execdir='$ac_cv_py3execdir'"
9337 if test "${enable_prologues+set}" != set; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
9339 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
9340 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
9342 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9343 enable_prologues
=yes
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9345 $as_echo "yes" >&6; }
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9348 $as_echo "no" >&6; }
9351 # Check whether --enable-prologues was given.
9352 if test "${enable_prologues+set}" = set; then :
9353 enableval
=$enable_prologues;
9354 if test "$enable_prologues" = yes; then
9356 $as_echo "#define ENABLE_PROLOGUES /**/" >>confdefs.h
9363 if test "${enable_sdt_probes+set}" != set; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
9365 $as_echo_n "checking to see if sdt probes should be the default... " >&6; }
9366 if { echo '#if __GNUC__ < 4'
9368 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9369 enable_sdt_probes
=no
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 $as_echo "no" >&6; }
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9374 $as_echo "yes" >&6; }
9377 # Check whether --enable-sdt-probes was given.
9378 if test "${enable_sdt_probes+set}" = set; then :
9379 enableval
=$enable_sdt_probes;
9382 if test "x$enable_sdt_probes" != xno
; then :
9385 $as_echo "#define ENABLE_SDT_PROBES 1" >>confdefs.h
9391 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=false
9393 ac_cpp
='$CXXCPP $CPPFLAGS'
9394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
9399 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
9400 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
9401 $as_echo_n "(cached) " >&6
9403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9404 /* end confdefs.h. */
9407 // If the compiler admits that it is not ready for C++11, why torture it?
9408 // Hopefully, this will speed up the test.
9412 #error "This is not a C++ compiler"
9414 #elif __cplusplus < 201103L
9416 #error "This is not a C++11 compiler"
9423 namespace test_static_assert
9426 template <typename T>
9429 static_assert(sizeof(int) <= sizeof(T), "not big enough");
9434 namespace test_final_override
9442 struct Derived : public Base
9444 virtual void f() override {}
9449 namespace test_double_right_angle_brackets
9452 template < typename T >
9455 typedef check<void> single_type;
9456 typedef check<check<void>> double_type;
9457 typedef check<check<check<void>>> triple_type;
9458 typedef check<check<check<check<void>>>> quadruple_type;
9462 namespace test_decltype
9475 namespace test_type_deduction
9478 template < typename T1, typename T2 >
9481 static const bool value = false;
9484 template < typename T >
9485 struct is_same<T, T>
9487 static const bool value = true;
9490 template < typename T1, typename T2 >
9492 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9498 test(const int c, volatile int v)
9500 static_assert(is_same<int, decltype(0)>::value == true, "");
9501 static_assert(is_same<int, decltype(c)>::value == false, "");
9502 static_assert(is_same<int, decltype(v)>::value == false, "");
9505 auto sumi = ac + av + 'x';
9506 auto sumf = ac + av + 1.0;
9507 static_assert(is_same<int, decltype(ac)>::value == true, "");
9508 static_assert(is_same<int, decltype(av)>::value == true, "");
9509 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9510 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9511 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9512 return (sumf > 0.0) ? sumi : add(c, v);
9517 namespace test_noexcept
9520 int f() { return 0; }
9521 int g() noexcept { return 0; }
9523 static_assert(noexcept(f()) == false, "");
9524 static_assert(noexcept(g()) == true, "");
9528 namespace test_constexpr
9531 template < typename CharT >
9532 unsigned long constexpr
9533 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9535 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9538 template < typename CharT >
9539 unsigned long constexpr
9540 strlen_c(const CharT *const s) noexcept
9542 return strlen_c_r(s, 0UL);
9545 static_assert(strlen_c("") == 0UL, "");
9546 static_assert(strlen_c("1") == 1UL, "");
9547 static_assert(strlen_c("example") == 7UL, "");
9548 static_assert(strlen_c("another\0example") == 7UL, "");
9552 namespace test_rvalue_references
9558 static constexpr int value = N;
9561 answer<1> f(int&) { return answer<1>(); }
9562 answer<2> f(const int&) { return answer<2>(); }
9563 answer<3> f(int&&) { return answer<3>(); }
9570 static_assert(decltype(f(i))::value == 1, "");
9571 static_assert(decltype(f(c))::value == 2, "");
9572 static_assert(decltype(f(0))::value == 3, "");
9577 namespace test_uniform_initialization
9582 static const int zero {};
9583 static const int one {1};
9586 static_assert(test::zero == 0, "");
9587 static_assert(test::one == 1, "");
9591 namespace test_lambdas
9597 auto lambda1 = [](){};
9598 auto lambda2 = lambda1;
9606 auto a = [](int i, int j){ return i + j; }(1, 2);
9607 auto b = []() -> int { return '0'; }();
9608 auto c = [=](){ return a + b; }();
9609 auto d = [&](){ return c; }();
9610 auto e = [a, &b](int x) mutable {
9611 const auto identity = [](int y){ return y; };
9612 for (auto i = 0; i < a; ++i)
9614 return x + identity(a + b);
9616 return a + b + c + d + e;
9622 const auto nullary = [](){ return 0; };
9623 const auto unary = [](int x){ return x; };
9624 using nullary_t = decltype(nullary);
9625 using unary_t = decltype(unary);
9626 const auto higher1st = [](nullary_t f){ return f(); };
9627 const auto higher2nd = [unary](nullary_t f1){
9628 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9630 return higher1st(nullary) + higher2nd(nullary)(unary);
9635 namespace test_variadic_templates
9641 template <int N0, int... N1toN>
9642 struct sum<N0, N1toN...>
9644 static constexpr auto value = N0 + sum<N1toN...>::value;
9650 static constexpr auto value = 0;
9653 static_assert(sum<>::value == 0, "");
9654 static_assert(sum<1>::value == 1, "");
9655 static_assert(sum<23>::value == 23, "");
9656 static_assert(sum<1, 2>::value == 3, "");
9657 static_assert(sum<5, 5, 11>::value == 21, "");
9658 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9662 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9663 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9665 namespace test_template_alias_sfinae
9670 template<typename T>
9671 using member = typename T::member_type;
9673 template<typename T>
9676 template<typename T>
9677 void func(member<T>*) {}
9681 void test() { func<foo>(0); }
9685 } // namespace cxx11
9687 #endif // __cplusplus >= 201103L
9692 if ac_fn_cxx_try_compile
"$LINENO"; then :
9693 ax_cv_cxx_compile_cxx11
=yes
9695 ax_cv_cxx_compile_cxx11
=no
9697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
9700 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
9701 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
9707 if test x
$ac_success = xno
; then
9708 for alternative
in ${ax_cxx_compile_alternatives}; do
9709 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
9710 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
9712 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
9713 if eval \${$cachevar+:} false; then :
9714 $as_echo_n "(cached
) " >&6
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9722 // If the compiler admits that it is not ready for C++11, why torture it?
9723 // Hopefully, this will speed up the test.
9727 #error "This is not a C
++ compiler
"
9729 #elif __cplusplus < 201103L
9731 #error "This is not a C
++11 compiler
"
9738 namespace test_static_assert
9741 template <typename T>
9744 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
9749 namespace test_final_override
9757 struct Derived : public Base
9759 virtual void f() override {}
9764 namespace test_double_right_angle_brackets
9767 template < typename T >
9770 typedef check<void> single_type;
9771 typedef check<check<void>> double_type;
9772 typedef check<check<check<void>>> triple_type;
9773 typedef check<check<check<check<void>>>> quadruple_type;
9777 namespace test_decltype
9790 namespace test_type_deduction
9793 template < typename T1, typename T2 >
9796 static const bool value = false;
9799 template < typename T >
9800 struct is_same<T, T>
9802 static const bool value = true;
9805 template < typename T1, typename T2 >
9807 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9813 test(const int c, volatile int v)
9815 static_assert(is_same<int, decltype(0)>::value == true, "");
9816 static_assert(is_same<int, decltype(c)>::value == false, "");
9817 static_assert(is_same<int, decltype(v)>::value == false, "");
9820 auto sumi = ac + av + 'x';
9821 auto sumf = ac + av + 1.0;
9822 static_assert(is_same<int, decltype(ac)>::value == true, "");
9823 static_assert(is_same<int, decltype(av)>::value == true, "");
9824 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9825 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9826 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9827 return (sumf > 0.0) ? sumi : add(c, v);
9832 namespace test_noexcept
9835 int f() { return 0; }
9836 int g() noexcept { return 0; }
9838 static_assert(noexcept(f()) == false, "");
9839 static_assert(noexcept(g()) == true, "");
9843 namespace test_constexpr
9846 template < typename CharT >
9847 unsigned long constexpr
9848 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9850 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9853 template < typename CharT >
9854 unsigned long constexpr
9855 strlen_c(const CharT *const s) noexcept
9857 return strlen_c_r(s, 0UL);
9860 static_assert(strlen_c("") == 0UL, "");
9861 static_assert(strlen_c("1") == 1UL, "");
9862 static_assert(strlen_c("example
") == 7UL, "");
9863 static_assert(strlen_c("another\
0example
") == 7UL, "");
9867 namespace test_rvalue_references
9873 static constexpr int value = N;
9876 answer<1> f(int&) { return answer<1>(); }
9877 answer<2> f(const int&) { return answer<2>(); }
9878 answer<3> f(int&&) { return answer<3>(); }
9885 static_assert(decltype(f(i))::value == 1, "");
9886 static_assert(decltype(f(c))::value == 2, "");
9887 static_assert(decltype(f(0))::value == 3, "");
9892 namespace test_uniform_initialization
9897 static const int zero {};
9898 static const int one {1};
9901 static_assert(test::zero == 0, "");
9902 static_assert(test::one == 1, "");
9906 namespace test_lambdas
9912 auto lambda1 = [](){};
9913 auto lambda2 = lambda1;
9921 auto a = [](int i, int j){ return i + j; }(1, 2);
9922 auto b = []() -> int { return '0'; }();
9923 auto c = [=](){ return a + b; }();
9924 auto d = [&](){ return c; }();
9925 auto e = [a, &b](int x) mutable {
9926 const auto identity = [](int y){ return y; };
9927 for (auto i = 0; i < a; ++i)
9929 return x + identity(a + b);
9931 return a + b + c + d + e;
9937 const auto nullary = [](){ return 0; };
9938 const auto unary = [](int x){ return x; };
9939 using nullary_t = decltype(nullary);
9940 using unary_t = decltype(unary);
9941 const auto higher1st = [](nullary_t f){ return f(); };
9942 const auto higher2nd = [unary](nullary_t f1){
9943 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9945 return higher1st(nullary) + higher2nd(nullary)(unary);
9950 namespace test_variadic_templates
9956 template <int N0, int... N1toN>
9957 struct sum<N0, N1toN...>
9959 static constexpr auto value = N0 + sum<N1toN...>::value;
9965 static constexpr auto value = 0;
9968 static_assert(sum<>::value == 0, "");
9969 static_assert(sum<1>::value == 1, "");
9970 static_assert(sum<23>::value == 23, "");
9971 static_assert(sum<1, 2>::value == 3, "");
9972 static_assert(sum<5, 5, 11>::value == 21, "");
9973 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9977 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9978 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9980 namespace test_template_alias_sfinae
9985 template<typename T>
9986 using member = typename T::member_type;
9988 template<typename T>
9991 template<typename T>
9992 void func(member<T>*) {}
9996 void test() { func<foo>(0); }
10000 } // namespace cxx11
10002 #endif // __cplusplus >= 201103L
10007 if ac_fn_cxx_try_compile "$LINENO"; then :
10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10015 eval ac_res=\$$cachevar
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
10017 $as_echo "$ac_res" >&6; }
10018 if eval test x\$$cachevar = xyes; then
10020 if test -n "$CXXCPP" ; then
10021 CXXCPP="$CXXCPP $switch"
10027 if test x$ac_success = xyes; then
10033 ac_cpp='$CPP $CPPFLAGS'
10034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10038 if test x$ax_cxx_compile_cxx11_required = xtrue; then
10039 if test x$ac_success = xno; then
10040 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
10043 if test x$ac_success = xno; then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
10046 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
10050 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
10057 if test "x$HAVE_CXX11" != x1
; then :
10060 ac_cpp
='$CXXCPP $CPPFLAGS'
10061 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10062 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10063 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -std=c++0x" >&5
10066 $as_echo_n "checking whether C++ compiler accepts -std=c++0x... " >&6; }
10067 if ${ax_cv_check_cxxflags___std_cpp0x+:} false
; then :
10068 $as_echo_n "(cached) " >&6
10071 ax_check_save_flags
=$CXXFLAGS
10072 CXXFLAGS
="$CXXFLAGS -std=c++0x"
10073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10084 if ac_fn_cxx_try_compile
"$LINENO"; then :
10085 ax_cv_check_cxxflags___std_cpp0x
=yes
10087 ax_cv_check_cxxflags___std_cpp0x
=no
10089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10090 CXXFLAGS
=$ax_check_save_flags
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___std_cpp0x" >&5
10093 $as_echo "$ax_cv_check_cxxflags___std_cpp0x" >&6; }
10094 if test "x$ax_cv_check_cxxflags___std_cpp0x" = xyes
; then :
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with -std=c++0x" >&5
10097 $as_echo "$as_me: Compiling with -std=c++0x" >&6;}
10098 CXX
="$CXX -std=c++0x"
10104 as_fn_error $?
"A compiler with C++11 support is required." "$LINENO" 5
10109 ac_cpp
='$CPP $CPPFLAGS'
10110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10117 # Check whether --enable-ssp was given.
10118 if test "${enable_ssp+set}" = set; then :
10119 enableval
=$enable_ssp;
10122 if test "x$enable_ssp" != xno
; then :
10124 save_CFLAGS
="$CFLAGS"
10125 save_CXXFLAGS
="$CXXFLAGS"
10126 CXXFLAGS
="-Werror -fstack-protector-all -D_FORTIFY_SOURCE=2 $CXXFLAGS"
10127 CFLAGS
="-Werror -fstack-protector-all -D_FORTIFY_SOURCE=2 $CFLAGS"
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10132 if ac_fn_c_try_compile
"$LINENO"; then :
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
10135 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
10136 CFLAGS
="-fstack-protector-all -D_FORTIFY_SOURCE=2 $save_CFLAGS"
10137 CXXFLAGS
="-fstack-protector-all -D_FORTIFY_SOURCE=2 $save_CXXFLAGS"
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
10141 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
10142 CFLAGS
="$save_CFLAGS"
10143 CXXFLAGS
="$save_CXXFLAGS"
10145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10151 # Compiling with fPIE by default (but see PR 9922)
10152 # Check whether --enable-pie was given.
10153 if test "${enable_pie+set}" = set; then :
10154 enableval
=$enable_pie;
10157 if test "x$enable_pie" != xno
; then :
10160 PIECXXFLAGS
='-fPIE'
10161 PIELDFLAGS
='-pie -Wl,-z,relro -Wl,-z,now'
10162 save_CFLAGS
="$CFLAGS"
10163 save_CXXFLAGS
="$CXXFLAGS"
10164 save_LDFLAGS
="$LDFLAGS"
10165 CFLAGS
="$CFLAGS $PIECFLAGS"
10166 CXXFLAGS
="$CXXFLAGS $PIECXXFLAGS"
10167 LDFLAGS
="$LDFLAGS $PIELDFLAGS"
10168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10172 if ac_fn_c_try_link
"$LINENO"; then :
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
10175 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
10180 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
10186 rm -f core conftest.err conftest.
$ac_objext \
10187 conftest
$ac_exeext conftest.
$ac_ext
10188 CFLAGS
="$save_CFLAGS"
10189 CXXFLAGS
="$save_CXXFLAGS"
10190 LDFLAGS
="$save_LDFLAGS"
10197 # Check whether --enable-sqlite was given.
10198 if test "${enable_sqlite+set}" = set; then :
10199 enableval
=$enable_sqlite;
10201 enable_sqlite
=check
10211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10212 if test -n "$ac_tool_prefix"; then
10213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10214 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10216 $as_echo_n "checking for $ac_word... " >&6; }
10217 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10218 $as_echo_n "(cached) " >&6
10220 case $PKG_CONFIG in
10222 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10226 for as_dir
in $PATH
10229 test -z "$as_dir" && as_dir
=.
10230 for ac_exec_ext
in '' $ac_executable_extensions; do
10231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10232 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10244 if test -n "$PKG_CONFIG"; then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10246 $as_echo "$PKG_CONFIG" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10249 $as_echo "no" >&6; }
10254 if test -z "$ac_cv_path_PKG_CONFIG"; then
10255 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10256 # Extract the first word of "pkg-config", so it can be a program name with args.
10257 set dummy pkg-config
; ac_word
=$2
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10259 $as_echo_n "checking for $ac_word... " >&6; }
10260 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10261 $as_echo_n "(cached) " >&6
10263 case $ac_pt_PKG_CONFIG in
10265 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10269 for as_dir
in $PATH
10272 test -z "$as_dir" && as_dir
=.
10273 for ac_exec_ext
in '' $ac_executable_extensions; do
10274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10275 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10286 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10287 if test -n "$ac_pt_PKG_CONFIG"; then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10289 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10292 $as_echo "no" >&6; }
10295 if test "x$ac_pt_PKG_CONFIG" = x
; then
10298 case $cross_compiling:$ac_tool_warned in
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10302 ac_tool_warned
=yes ;;
10304 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10307 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10311 if test -n "$PKG_CONFIG"; then
10312 _pkg_min_version
=0.9.0
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10314 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10315 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10317 $as_echo "yes" >&6; }
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10320 $as_echo "no" >&6; }
10324 if test "x$enable_sqlite" != xno
; then :
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
10328 $as_echo_n "checking for sqlite3... " >&6; }
10330 if test -n "$sqlite3_CFLAGS"; then
10331 pkg_cv_sqlite3_CFLAGS
="$sqlite3_CFLAGS"
10332 elif test -n "$PKG_CONFIG"; then
10333 if test -n "$PKG_CONFIG" && \
10334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
10335 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
10337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10338 test $ac_status = 0; }; then
10339 pkg_cv_sqlite3_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3 > 3.7" 2>/dev/null`
10340 test "x$?" != "x0" && pkg_failed
=yes
10347 if test -n "$sqlite3_LIBS"; then
10348 pkg_cv_sqlite3_LIBS
="$sqlite3_LIBS"
10349 elif test -n "$PKG_CONFIG"; then
10350 if test -n "$PKG_CONFIG" && \
10351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
10352 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
10354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10355 test $ac_status = 0; }; then
10356 pkg_cv_sqlite3_LIBS
=`$PKG_CONFIG --libs "sqlite3 > 3.7" 2>/dev/null`
10357 test "x$?" != "x0" && pkg_failed
=yes
10367 if test $pkg_failed = yes; then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10369 $as_echo "no" >&6; }
10371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10372 _pkg_short_errors_supported
=yes
10374 _pkg_short_errors_supported
=no
10376 if test $_pkg_short_errors_supported = yes; then
10377 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
10379 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
10381 # Put the nasty error message in config.log where it belongs
10382 echo "$sqlite3_PKG_ERRORS" >&5
10384 if test "x$enable_sqlite" != xcheck
; then
10385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10387 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
10388 See \`config.log' for more details" "$LINENO" 5; }
10390 elif test $pkg_failed = untried
; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10392 $as_echo "no" >&6; }
10393 if test "x$enable_sqlite" != xcheck
; then
10394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10396 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
10397 See \`config.log' for more details" "$LINENO" 5; }
10400 sqlite3_CFLAGS
=$pkg_cv_sqlite3_CFLAGS
10401 sqlite3_LIBS
=$pkg_cv_sqlite3_LIBS
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10403 $as_echo "yes" >&6; }
10405 $as_echo "#define HAVE_LIBSQLITE3 1" >>confdefs.h
10410 # Check whether --enable-translator was given.
10411 if test "${enable_translator+set}" = set; then :
10412 enableval
=$enable_translator;
10414 enable_translator
="yes"
10417 if test "$enable_translator" == "yes"; then
10418 BUILD_TRANSLATOR_TRUE
=
10419 BUILD_TRANSLATOR_FALSE
='#'
10421 BUILD_TRANSLATOR_TRUE
='#'
10422 BUILD_TRANSLATOR_FALSE
=
10426 # Check whether --enable-crash was given.
10427 if test "${enable_crash+set}" = set; then :
10428 enableval
=$enable_crash; if test "$enable_crash" != "no"; then
10429 save_CPPFLAGS
="$CPPFLAGS"
10430 if test "$enable_crash" != "yes"; then
10431 staplog_CPPFLAGS
=-I$enable_crash
10432 CPPFLAGS
="${staplog_CPPFLAGS} $CPPFLAGS"
10435 for ac_header
in crash
/defs.h
10437 ac_fn_c_check_header_compile
"$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
10438 #define NR_CPUS 256
10441 if test "x$ac_cv_header_crash_defs_h" = xyes
; then :
10442 cat >>confdefs.h
<<_ACEOF
10443 #define HAVE_CRASH_DEFS_H 1
10447 as_fn_error $?
"cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
10452 CPPFLAGS
="$save_CPPFLAGS"
10458 if test "$enable_crash" != "no"; then
10459 BUILD_CRASHMOD_TRUE
=
10460 BUILD_CRASHMOD_FALSE
='#'
10462 BUILD_CRASHMOD_TRUE
='#'
10463 BUILD_CRASHMOD_FALSE
=
10468 installing_prebuilt_docs
="yes"
10469 # Check whether --enable-docs was given.
10470 if test "${enable_docs+set}" = set; then :
10471 enableval
=$enable_docs; enable_docs
=$enableval
10473 enable_docs
="prebuilt"
10476 # Extract the first word of "latex", so it can be a program name with args.
10477 set dummy latex
; ac_word
=$2
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10479 $as_echo_n "checking for $ac_word... " >&6; }
10480 if ${ac_cv_prog_have_latex+:} false
; then :
10481 $as_echo_n "(cached) " >&6
10483 if test -n "$have_latex"; then
10484 ac_cv_prog_have_latex
="$have_latex" # Let the user override the test.
10486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10487 for as_dir
in $PATH
10490 test -z "$as_dir" && as_dir
=.
10491 for ac_exec_ext
in '' $ac_executable_extensions; do
10492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10493 ac_cv_prog_have_latex
="yes"
10494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10501 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex
="no"
10504 have_latex
=$ac_cv_prog_have_latex
10505 if test -n "$have_latex"; then
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
10507 $as_echo "$have_latex" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10510 $as_echo "no" >&6; }
10514 # Extract the first word of "dvips", so it can be a program name with args.
10515 set dummy dvips
; ac_word
=$2
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10517 $as_echo_n "checking for $ac_word... " >&6; }
10518 if ${ac_cv_prog_have_dvips+:} false
; then :
10519 $as_echo_n "(cached) " >&6
10521 if test -n "$have_dvips"; then
10522 ac_cv_prog_have_dvips
="$have_dvips" # Let the user override the test.
10524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10525 for as_dir
in $PATH
10528 test -z "$as_dir" && as_dir
=.
10529 for ac_exec_ext
in '' $ac_executable_extensions; do
10530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10531 ac_cv_prog_have_dvips
="yes"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10539 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips
="no"
10542 have_dvips
=$ac_cv_prog_have_dvips
10543 if test -n "$have_dvips"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
10545 $as_echo "$have_dvips" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10548 $as_echo "no" >&6; }
10552 # Extract the first word of "ps2pdf", so it can be a program name with args.
10553 set dummy ps2pdf
; ac_word
=$2
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10555 $as_echo_n "checking for $ac_word... " >&6; }
10556 if ${ac_cv_prog_have_ps2pdf+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 if test -n "$have_ps2pdf"; then
10560 ac_cv_prog_have_ps2pdf
="$have_ps2pdf" # Let the user override the test.
10562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10563 for as_dir
in $PATH
10566 test -z "$as_dir" && as_dir
=.
10567 for ac_exec_ext
in '' $ac_executable_extensions; do
10568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10569 ac_cv_prog_have_ps2pdf
="yes"
10570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10577 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf
="no"
10580 have_ps2pdf
=$ac_cv_prog_have_ps2pdf
10581 if test -n "$have_ps2pdf"; then
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
10583 $as_echo "$have_ps2pdf" >&6; }
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10586 $as_echo "no" >&6; }
10590 if test "x${have_latex}${have_dvips}${have_ps2pdf}" != "xyesyesyes"; then
10591 if test "$enable_docs" == "yes"; then
10592 as_fn_error $?
"cannot find all tools for building documentation" "$LINENO" 5
10594 if test "$enable_docs" == "check"; then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
10596 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
10599 if test "$enable_docs" == "prebuilt"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: will only install prebuilt documentation" >&5
10601 $as_echo "$as_me: will only install prebuilt documentation" >&6;}
10603 if test "x${have_latex}${have_dvips}${have_ps2pdf}" == "xyesyesyes" -a "$enable_docs" != "no" -a "$enable_docs" != "prebuilt"; then
10604 building_docs
="yes"
10605 installing_prebuilt_docs
="yes"
10607 if test "$enable_docs" == "no"; then
10608 installing_prebuilt_docs
="no"
10610 if test "$building_docs" == "yes"; then
10612 BUILD_DOCS_FALSE
='#'
10614 BUILD_DOCS_TRUE
='#'
10618 if test "$installing_prebuilt_docs" == "yes"; then
10619 INSTALL_PREBUILT_DOCS_TRUE
=
10620 INSTALL_PREBUILT_DOCS_FALSE
='#'
10622 INSTALL_PREBUILT_DOCS_TRUE
='#'
10623 INSTALL_PREBUILT_DOCS_FALSE
=
10628 building_refdocs
="no"
10629 # Check whether --enable-refdocs was given.
10630 if test "${enable_refdocs+set}" = set; then :
10631 enableval
=$enable_refdocs; enable_refdocs
=$enableval
10633 enable_refdocs
="check"
10636 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
10637 as_fn_error $?
"must use --enable-docs with --enable-refdocs" "$LINENO" 5
10639 if test "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
10640 building_refdocs
="yes"
10642 if test "$building_refdocs" == "yes"; then
10643 BUILD_REFDOCS_TRUE
=
10644 BUILD_REFDOCS_FALSE
='#'
10646 BUILD_REFDOCS_TRUE
='#'
10647 BUILD_REFDOCS_FALSE
=
10651 # Extract the first word of "xmlto", so it can be a program name with args.
10652 set dummy xmlto
; ac_word
=$2
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10654 $as_echo_n "checking for $ac_word... " >&6; }
10655 if ${ac_cv_prog_have_xmlto+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 if test -n "$have_xmlto"; then
10659 ac_cv_prog_have_xmlto
="$have_xmlto" # Let the user override the test.
10661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10662 for as_dir
in $PATH
10665 test -z "$as_dir" && as_dir
=.
10666 for ac_exec_ext
in '' $ac_executable_extensions; do
10667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10668 ac_cv_prog_have_xmlto
="yes"
10669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10676 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto
="no"
10679 have_xmlto
=$ac_cv_prog_have_xmlto
10680 if test -n "$have_xmlto"; then
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
10682 $as_echo "$have_xmlto" >&6; }
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10685 $as_echo "no" >&6; }
10689 # Extract the first word of "fop", so it can be a program name with args.
10690 set dummy fop
; ac_word
=$2
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10692 $as_echo_n "checking for $ac_word... " >&6; }
10693 if ${ac_cv_prog_have_fop+:} false
; then :
10694 $as_echo_n "(cached) " >&6
10696 if test -n "$have_fop"; then
10697 ac_cv_prog_have_fop
="$have_fop" # Let the user override the test.
10699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10700 for as_dir
in $PATH
10703 test -z "$as_dir" && as_dir
=.
10704 for ac_exec_ext
in '' $ac_executable_extensions; do
10705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10706 ac_cv_prog_have_fop
="yes"
10707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10714 test -z "$ac_cv_prog_have_fop" && ac_cv_prog_have_fop
="no"
10717 have_fop
=$ac_cv_prog_have_fop
10718 if test -n "$have_fop"; then
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_fop" >&5
10720 $as_echo "$have_fop" >&6; }
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10723 $as_echo "no" >&6; }
10727 if test "x${have_fop}" == "xyes"; then
10728 # Due to rhbz505364 / 830266, we must actually test-run fop, not just
10729 # hope that it works.
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if xmlto --with-fop actually works" >&5
10731 $as_echo_n "checking to see if xmlto --with-fop actually works... " >&6; }
10732 if xmlto
--with-fop pdf
${srcdir}/doc
/SystemTap_Tapset_Reference
/dummy-tapsets.xml
>/dev
/null
2>&1; then
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10734 $as_echo "yes" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: it's dead, Jim" >&5
10737 $as_echo "it's dead, Jim" >&6; }
10740 rm -f dummy-tapsets.pdf
10742 if test "$have_fop" == "yes"; then
10750 if test "$have_xmlto" == "yes"; then
10752 HAVE_XMLTO_FALSE
='#'
10754 HAVE_XMLTO_TRUE
='#'
10759 building_htmldocs
="no"
10760 # Check whether --enable-htmldocs was given.
10761 if test "${enable_htmldocs+set}" = set; then :
10762 enableval
=$enable_htmldocs; building_htmldocs
=$enableval
10764 building_htmldocs
="no"
10767 if test "$have_xmlto" == "no" -a "$building_htmldocs" == "yes"; then
10768 as_fn_error $?
"xmlto required for building html documentation" "$LINENO" 5
10771 if test "$building_htmldocs" == "yes"; then
10772 BUILD_HTMLDOCS_TRUE
=
10773 BUILD_HTMLDOCS_FALSE
='#'
10775 BUILD_HTMLDOCS_TRUE
='#'
10776 BUILD_HTMLDOCS_FALSE
=
10780 cat > conftest.xml
<< 'EOF'
10781 <?xml version
="1.0" encoding
="UTF-8"?
>
10782 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN"
10783 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
10785 <bookinfo
><title
>foo
</title
></bookinfo
>
10786 <chapter id
="logging.stp"><title
>Logging Tapset
</title
>
10787 <refentry id
="API-log"><refnamediv
><refname
>log
</refname
>
10788 <refpurpose
>logging
</refpurpose
></refnamediv
>
10789 <refsect1
><title
>Description
</title
>
10790 <para
>baz
</para
></refsect1
></refentry
></chapter
>
10794 if test "x${have_xmlto}" == "xyes"; then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
10796 $as_echo_n "checking for xmlto --stringparam support... " >&6; }
10797 xmlto
--stringparam man.authors.section.enabled
=0 html-nochunks conftest.xml
>/dev
/null
2>&1
10798 if test $?
== 0; then
10799 have_xmlto_stringparam
="yes"
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10801 $as_echo "yes" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10806 rm -f conftest.html
10808 if test "$have_xmlto_stringparam" == "yes"; then
10809 XMLTO_STRINGPARAM_TRUE
=
10810 XMLTO_STRINGPARAM_FALSE
='#'
10812 XMLTO_STRINGPARAM_TRUE
='#'
10813 XMLTO_STRINGPARAM_FALSE
=
10820 # Check whether --with-nss was given.
10821 if test "${with_nss+set}" = set; then :
10826 if test "x$with_nss" != "xno"; then :
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
10831 $as_echo_n "checking for nss... " >&6; }
10833 if test -n "$nss_CFLAGS"; then
10834 pkg_cv_nss_CFLAGS
="$nss_CFLAGS"
10835 elif test -n "$PKG_CONFIG"; then
10836 if test -n "$PKG_CONFIG" && \
10837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10838 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10841 test $ac_status = 0; }; then
10842 pkg_cv_nss_CFLAGS
=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev/null`
10843 test "x$?" != "x0" && pkg_failed
=yes
10850 if test -n "$nss_LIBS"; then
10851 pkg_cv_nss_LIBS
="$nss_LIBS"
10852 elif test -n "$PKG_CONFIG"; then
10853 if test -n "$PKG_CONFIG" && \
10854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10855 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10858 test $ac_status = 0; }; then
10859 pkg_cv_nss_LIBS
=`$PKG_CONFIG --libs "nss >= 3" 2>/dev/null`
10860 test "x$?" != "x0" && pkg_failed
=yes
10870 if test $pkg_failed = yes; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10872 $as_echo "no" >&6; }
10874 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10875 _pkg_short_errors_supported
=yes
10877 _pkg_short_errors_supported
=no
10879 if test $_pkg_short_errors_supported = yes; then
10880 nss_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= 3" 2>&1`
10882 nss_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "nss >= 3" 2>&1`
10884 # Put the nasty error message in config.log where it belongs
10885 echo "$nss_PKG_ERRORS" >&5
10888 elif test $pkg_failed = untried
; then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10890 $as_echo "no" >&6; }
10893 nss_CFLAGS
=$pkg_cv_nss_CFLAGS
10894 nss_LIBS
=$pkg_cv_nss_LIBS
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10896 $as_echo "yes" >&6; }
10899 $as_echo "#define HAVE_NSS 1" >>confdefs.h
10908 if test "${have_nss}" = "yes"; then
10918 # Check whether --with-openssl was given.
10919 if test "${with_openssl+set}" = set; then :
10920 withval
=$with_openssl;
10924 if test "x$with_openssl" != "xno"; then :
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
10929 $as_echo_n "checking for openssl... " >&6; }
10931 if test -n "$openssl_CFLAGS"; then
10932 pkg_cv_openssl_CFLAGS
="$openssl_CFLAGS"
10933 elif test -n "$PKG_CONFIG"; then
10934 if test -n "$PKG_CONFIG" && \
10935 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
10936 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
10938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10939 test $ac_status = 0; }; then
10940 pkg_cv_openssl_CFLAGS
=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
10941 test "x$?" != "x0" && pkg_failed
=yes
10948 if test -n "$openssl_LIBS"; then
10949 pkg_cv_openssl_LIBS
="$openssl_LIBS"
10950 elif test -n "$PKG_CONFIG"; then
10951 if test -n "$PKG_CONFIG" && \
10952 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
10953 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
10955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10956 test $ac_status = 0; }; then
10957 pkg_cv_openssl_LIBS
=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
10958 test "x$?" != "x0" && pkg_failed
=yes
10968 if test $pkg_failed = yes; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10970 $as_echo "no" >&6; }
10972 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10973 _pkg_short_errors_supported
=yes
10975 _pkg_short_errors_supported
=no
10977 if test $_pkg_short_errors_supported = yes; then
10978 openssl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
10980 openssl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
10982 # Put the nasty error message in config.log where it belongs
10983 echo "$openssl_PKG_ERRORS" >&5
10986 elif test $pkg_failed = untried
; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10988 $as_echo "no" >&6; }
10991 openssl_CFLAGS
=$pkg_cv_openssl_CFLAGS
10992 openssl_LIBS
=$pkg_cv_openssl_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10994 $as_echo "yes" >&6; }
10997 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
11006 if test "${have_openssl}" = "yes"; then
11008 HAVE_OPENSSL_FALSE
='#'
11010 HAVE_OPENSSL_TRUE
='#'
11011 HAVE_OPENSSL_FALSE
=
11016 # Check whether --with-dracutstap was given.
11017 if test "${with_dracutstap+set}" = set; then :
11018 withval
=$with_dracutstap;
11021 if test "x$with_dracutstap" != "x"; then :
11022 dracutstap
="$with_dracutstap"
11024 dracutstap
=/usr
/lib
/dracut
/modules.d
/99stap
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut module directory $dracutstap" >&5
11027 $as_echo "$as_me: using dracut module directory $dracutstap" >&6;}
11031 # Check whether --with-dracutbindir was given.
11032 if test "${with_dracutbindir+set}" = set; then :
11033 withval
=$with_dracutbindir;
11036 if test "x$with_dracutbindir" != "x"; then :
11037 dracutbindir
="$with_dracutbindir"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut binary $dracutbindir" >&5
11042 $as_echo "$as_me: using dracut binary $dracutbindir" >&6;}
11045 # Check whether --enable-server was given.
11046 if test "${enable_server+set}" = set; then :
11047 enableval
=$enable_server; enable_server
=$enableval
11049 enable_server
="check"
11053 if test "$enable_server" != "no"; then
11054 if test "x${have_nss}" != "xyes"; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss headers" >&5
11056 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss headers" >&2;}
11059 if test "${have_nss}" == "yes" -a "$enable_server" != "no"; then
11061 BUILD_SERVER_FALSE
='#'
11063 BUILD_SERVER_TRUE
='#'
11064 BUILD_SERVER_FALSE
=
11068 if test "${have_nss}" != "yes"; then
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&5
11070 $as_echo "$as_me: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&2;}
11074 # Check whether --with-avahi was given.
11075 if test "${with_avahi+set}" = set; then :
11076 withval
=$with_avahi;
11080 if test "x$with_avahi" != "xno"; then :
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
11085 $as_echo_n "checking for avahi... " >&6; }
11087 if test -n "$avahi_CFLAGS"; then
11088 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
11089 elif test -n "$PKG_CONFIG"; then
11090 if test -n "$PKG_CONFIG" && \
11091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
11092 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
11094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11095 test $ac_status = 0; }; then
11096 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
11097 test "x$?" != "x0" && pkg_failed
=yes
11104 if test -n "$avahi_LIBS"; then
11105 pkg_cv_avahi_LIBS
="$avahi_LIBS"
11106 elif test -n "$PKG_CONFIG"; then
11107 if test -n "$PKG_CONFIG" && \
11108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
11109 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
11111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11112 test $ac_status = 0; }; then
11113 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
11114 test "x$?" != "x0" && pkg_failed
=yes
11124 if test $pkg_failed = yes; then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11126 $as_echo "no" >&6; }
11128 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11129 _pkg_short_errors_supported
=yes
11131 _pkg_short_errors_supported
=no
11133 if test $_pkg_short_errors_supported = yes; then
11134 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
11136 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
11138 # Put the nasty error message in config.log where it belongs
11139 echo "$avahi_PKG_ERRORS" >&5
11142 elif test $pkg_failed = untried
; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11144 $as_echo "no" >&6; }
11147 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
11148 avahi_LIBS
=$pkg_cv_avahi_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11150 $as_echo "yes" >&6; }
11153 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
11162 if test "${have_avahi}" = "yes"; then
11164 HAVE_AVAHI_FALSE
='#'
11166 HAVE_AVAHI_TRUE
='#'
11171 if test "${have_avahi}" != "yes"; then
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&5
11173 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&2;}
11178 # Check whether --with-rpm was given.
11179 if test "${with_rpm+set}" = set; then :
11185 if test "$with_rpm" != "no"; then
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
11187 $as_echo_n "checking for rpmtsInitIterator in -lrpm... " >&6; }
11188 if ${ac_cv_lib_rpm_rpmtsInitIterator+:} false
; then :
11189 $as_echo_n "(cached) " >&6
11191 ac_check_lib_save_LIBS
=$LIBS
11193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11202 char rpmtsInitIterator ();
11206 return rpmtsInitIterator ();
11211 if ac_fn_c_try_link
"$LINENO"; then :
11212 ac_cv_lib_rpm_rpmtsInitIterator
=yes
11214 ac_cv_lib_rpm_rpmtsInitIterator
=no
11216 rm -f core conftest.err conftest.
$ac_objext \
11217 conftest
$ac_exeext conftest.
$ac_ext
11218 LIBS
=$ac_check_lib_save_LIBS
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
11221 $as_echo "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
11222 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = xyes
; then :
11225 $as_echo "#define HAVE_LIBRPM 1" >>confdefs.h
11227 stap_LIBS
="$stap_LIBS -lc -lrpm"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmdbNextIterator in -lrpmdb" >&5
11234 $as_echo_n "checking for rpmdbNextIterator in -lrpmdb... " >&6; }
11235 if ${ac_cv_lib_rpmdb_rpmdbNextIterator+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_lib_save_LIBS
=$LIBS
11239 LIBS
="-lrpmdb $LIBS"
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11249 char rpmdbNextIterator ();
11253 return rpmdbNextIterator ();
11258 if ac_fn_c_try_link
"$LINENO"; then :
11259 ac_cv_lib_rpmdb_rpmdbNextIterator
=yes
11261 ac_cv_lib_rpmdb_rpmdbNextIterator
=no
11263 rm -f core conftest.err conftest.
$ac_objext \
11264 conftest
$ac_exeext conftest.
$ac_ext
11265 LIBS
=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmdb_rpmdbNextIterator" >&5
11268 $as_echo "$ac_cv_lib_rpmdb_rpmdbNextIterator" >&6; }
11269 if test "x$ac_cv_lib_rpmdb_rpmdbNextIterator" = xyes
; then :
11271 stap_LIBS
="$stap_LIBS -lrpmdb"
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
11275 $as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
11276 if ${ac_cv_lib_rpmio_rpmFreeCrypto+:} false
; then :
11277 $as_echo_n "(cached) " >&6
11279 ac_check_lib_save_LIBS
=$LIBS
11280 LIBS
="-lrpmio $LIBS"
11281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11284 /* Override any GCC internal prototype to avoid an error.
11285 Use char because int might match the return type of a GCC
11286 builtin and then its argument prototype would still apply. */
11290 char rpmFreeCrypto ();
11294 return rpmFreeCrypto ();
11299 if ac_fn_c_try_link
"$LINENO"; then :
11300 ac_cv_lib_rpmio_rpmFreeCrypto
=yes
11302 ac_cv_lib_rpmio_rpmFreeCrypto
=no
11304 rm -f core conftest.err conftest.
$ac_objext \
11305 conftest
$ac_exeext conftest.
$ac_ext
11306 LIBS
=$ac_check_lib_save_LIBS
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
11309 $as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
11310 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = xyes
; then :
11313 $as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
11315 stap_LIBS
="$stap_LIBS -lc -lrpmio"
11316 have_librpmio
="yes"
11321 if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
11322 as_fn_error $?
"cannot find librpm" "$LINENO" 5
11324 if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
11326 $as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
11330 LIBS_no_readline
=$LIBS
11332 have_libreadline
="no"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
11334 $as_echo_n "checking how to link readline libs... " >&6; }
11335 for libtermcap
in "" tinfo ncursesw ncurses curses termcap
; do
11336 if test -z "$libtermcap"; then
11337 READLINE_LIBS
="-lreadline"
11339 READLINE_LIBS
="-lreadline -l$libtermcap"
11341 LIBS
="$READLINE_LIBS $LIBS_no_readline"
11342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11355 return readline ();
11360 if ac_fn_c_try_link
"$LINENO"; then :
11361 have_libreadline
="yes"
11363 rm -f core conftest.err conftest.
$ac_objext \
11364 conftest
$ac_exeext conftest.
$ac_ext
11365 if test "$have_libreadline" = "yes"; then
11369 if test "$have_libreadline" = "no"; then
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11371 $as_echo "none" >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
11375 $as_echo "$READLINE_LIBS" >&6; }
11377 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
11381 if test "$have_libreadline" == "yes"; then
11382 HAVE_LIBREADLINE_TRUE
=
11383 HAVE_LIBREADLINE_FALSE
='#'
11385 HAVE_LIBREADLINE_TRUE
='#'
11386 HAVE_LIBREADLINE_FALSE
=
11390 LIBS
=$LIBS_no_readline
11393 # Check whether --with-python3 was given.
11394 if test "${with_python3+set}" = set; then :
11395 withval
=$with_python3;
11397 with_python3
="auto"
11400 if test "x$with_python3" = "xyes"; then :
11401 if test "x$PYTHON3" = "x:"; then :
11402 as_fn_error $?
"python version 3 is required" "$LINENO" 5
11404 preferred_python
=$PYTHON3
11407 elif test "x$with_python3" = "xno"; then :
11408 if test "x$PYTHON" = "x:"; then :
11409 as_fn_error $?
"python version 2 is required" "$LINENO" 5
11411 preferred_python
=$PYTHON
11414 elif test "x$PYTHON3" != "x:"; then :
11415 preferred_python
=$PYTHON3
11417 elif test "x$PYTHON" != "x:"; then :
11418 preferred_python
=$PYTHON
11421 as_fn_error $?
"neither python version 2 nor 3 found" "$LINENO" 5
11426 # Check whether --with-elfutils was given.
11427 if test "${with_elfutils+set}" = set; then :
11428 withval
=$with_elfutils;
11429 case "$with_elfutils" in
11430 yes) as_fn_error $?
"--with-elfutils requires an argument" "$LINENO" 5 ;;
11432 *) build_elfutils
=yes ;;
11436 if test $build_elfutils = yes; then
11437 BUILD_ELFUTILS_TRUE
=
11438 BUILD_ELFUTILS_FALSE
='#'
11440 BUILD_ELFUTILS_TRUE
='#'
11441 BUILD_ELFUTILS_FALSE
=
11444 elfutils_abs_srcdir
=`if test $build_elfutils = yes; then :
11445 cd $with_elfutils && pwd
11449 if test $enable_translator = yes; then
11450 if test $build_elfutils = no
; then
11451 # Need libdwfl-capable recent elfutils http://elfutils.org/
11453 # On modern debian/ubuntu, libebl has been merged into libdw
11454 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ebl_get_elfmachine in -lebl" >&5
11457 $as_echo_n "checking for ebl_get_elfmachine in -lebl... " >&6; }
11458 if ${ac_cv_lib_ebl_ebl_get_elfmachine+:} false
; then :
11459 $as_echo_n "(cached) " >&6
11461 ac_check_lib_save_LIBS
=$LIBS
11463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11472 char ebl_get_elfmachine ();
11476 return ebl_get_elfmachine ();
11481 if ac_fn_c_try_link
"$LINENO"; then :
11482 ac_cv_lib_ebl_ebl_get_elfmachine
=yes
11484 ac_cv_lib_ebl_ebl_get_elfmachine
=no
11486 rm -f core conftest.err conftest.
$ac_objext \
11487 conftest
$ac_exeext conftest.
$ac_ext
11488 LIBS
=$ac_check_lib_save_LIBS
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_get_elfmachine" >&5
11491 $as_echo "$ac_cv_lib_ebl_ebl_get_elfmachine" >&6; }
11492 if test "x$ac_cv_lib_ebl_ebl_get_elfmachine" = xyes
; then :
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
11502 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
11503 if ${ac_cv_lib_dw_dwfl_module_getsym+:} false
; then :
11504 $as_echo_n "(cached) " >&6
11506 ac_check_lib_save_LIBS
=$LIBS
11507 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11517 char dwfl_module_getsym ();
11521 return dwfl_module_getsym ();
11526 if ac_fn_c_try_link
"$LINENO"; then :
11527 ac_cv_lib_dw_dwfl_module_getsym
=yes
11529 ac_cv_lib_dw_dwfl_module_getsym
=no
11531 rm -f core conftest.err conftest.
$ac_objext \
11532 conftest
$ac_exeext conftest.
$ac_ext
11533 LIBS
=$ac_check_lib_save_LIBS
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
11536 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
11537 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = xyes
; then :
11538 cat >>confdefs.h
<<_ACEOF
11539 #define HAVE_LIBDW 1
11546 as_fn_error $?
"missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwarf_next_unit in -ldw" >&5
11550 $as_echo_n "checking for dwarf_next_unit in -ldw... " >&6; }
11551 if ${ac_cv_lib_dw_dwarf_next_unit+:} false
; then :
11552 $as_echo_n "(cached) " >&6
11554 ac_check_lib_save_LIBS
=$LIBS
11555 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11559 /* Override any GCC internal prototype to avoid an error.
11560 Use char because int might match the return type of a GCC
11561 builtin and then its argument prototype would still apply. */
11565 char dwarf_next_unit ();
11569 return dwarf_next_unit ();
11574 if ac_fn_c_try_link
"$LINENO"; then :
11575 ac_cv_lib_dw_dwarf_next_unit
=yes
11577 ac_cv_lib_dw_dwarf_next_unit
=no
11579 rm -f core conftest.err conftest.
$ac_objext \
11580 conftest
$ac_exeext conftest.
$ac_ext
11581 LIBS
=$ac_check_lib_save_LIBS
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_next_unit" >&5
11584 $as_echo "$ac_cv_lib_dw_dwarf_next_unit" >&6; }
11585 if test "x$ac_cv_lib_dw_dwarf_next_unit" = xyes
; then :
11586 cat >>confdefs.h
<<_ACEOF
11587 #define HAVE_LIBDW 1
11594 as_fn_error $?
"elfutils, libdw too old, need 0.148+" "$LINENO" 5
11597 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
11600 # We built our own and stap_LDFLAGS points at the install.
11601 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
11607 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
11609 # staprun has more modest libelf needs
11610 if test $build_elfutils = no
; then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
11613 $as_echo_n "checking for elf_getshdrstrndx in -lelf... " >&6; }
11614 if ${ac_cv_lib_elf_elf_getshdrstrndx+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_lib_save_LIBS
=$LIBS
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11628 char elf_getshdrstrndx ();
11632 return elf_getshdrstrndx ();
11637 if ac_fn_c_try_link
"$LINENO"; then :
11638 ac_cv_lib_elf_elf_getshdrstrndx
=yes
11640 ac_cv_lib_elf_elf_getshdrstrndx
=no
11642 rm -f core conftest.err conftest.
$ac_objext \
11643 conftest
$ac_exeext conftest.
$ac_ext
11644 LIBS
=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
11647 $as_echo "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
11648 if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes
; then :
11649 cat >>confdefs.h
<<_ACEOF
11650 #define HAVE_LIBELF 1
11657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11659 as_fn_error $?
"libelf too old, need 0.142+
11660 See \`config.log' for more details" "$LINENO" 5; }
11663 staprun_LIBS
="$staprun_LIBS -lelf"
11664 stapbpf_LIBS
="$stapbpf_LIBS -lelf"
11667 # We built our own and staprun_LDFLAGS points at the install.
11668 staprun_LIBS
="$staprun_LIBS -lelf"
11669 stapbpf_LIBS
="$stapbpf_LIBS -lelf"
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: staprun will link $staprun_LIBS" >&5
11675 $as_echo "$as_me: staprun will link $staprun_LIBS" >&6;}
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: stapbpf will link $stapbpf_LIBS" >&5
11677 $as_echo "$as_me: stapbpf will link $stapbpf_LIBS" >&6;}
11679 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
11680 # being compiled on 32-bit userspace but running against 64-bit kernels.
11681 # This is no longer necessary.
11684 ac_cpp
='$CXXCPP $CPPFLAGS'
11685 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11686 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11687 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11689 # Use boost::string_ref if available
11691 ac_cpp
='$CXXCPP $CPPFLAGS'
11692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11696 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11697 if test -z "$CXXCPP"; then
11698 if ${ac_cv_prog_CXXCPP+:} false
; then :
11699 $as_echo_n "(cached) " >&6
11701 # Double quotes because CXXCPP needs to be expanded
11702 for CXXCPP
in "$CXX -E" "/lib/cpp"
11704 ac_preproc_ok
=false
11705 for ac_cxx_preproc_warn_flag
in '' yes
11707 # Use a header file that comes with gcc, so configuring glibc
11708 # with a fresh cross-compiler works.
11709 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11710 # <limits.h> exists even on freestanding compilers.
11711 # On the NeXT, cc -E runs the code through the compiler's parser,
11712 # not just through cpp. "Syntax error" is here to catch this case.
11713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 # include <limits.h>
11718 # include <assert.h>
11722 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11725 # Broken: fails on valid input.
11728 rm -f conftest.err conftest.i conftest.
$ac_ext
11730 # OK, works on sane cases. Now check whether nonexistent headers
11731 # can be detected and how.
11732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11734 #include <ac_nonexistent.h>
11736 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11737 # Broken: success on invalid input.
11740 # Passes both tests.
11744 rm -f conftest.err conftest.i conftest.
$ac_ext
11747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11748 rm -f conftest.i conftest.err conftest.
$ac_ext
11749 if $ac_preproc_ok; then :
11754 ac_cv_prog_CXXCPP
=$CXXCPP
11757 CXXCPP
=$ac_cv_prog_CXXCPP
11759 ac_cv_prog_CXXCPP
=$CXXCPP
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11762 $as_echo "$CXXCPP" >&6; }
11763 ac_preproc_ok
=false
11764 for ac_cxx_preproc_warn_flag
in '' yes
11766 # Use a header file that comes with gcc, so configuring glibc
11767 # with a fresh cross-compiler works.
11768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11769 # <limits.h> exists even on freestanding compilers.
11770 # On the NeXT, cc -E runs the code through the compiler's parser,
11771 # not just through cpp. "Syntax error" is here to catch this case.
11772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11775 # include <limits.h>
11777 # include <assert.h>
11781 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11784 # Broken: fails on valid input.
11787 rm -f conftest.err conftest.i conftest.
$ac_ext
11789 # OK, works on sane cases. Now check whether nonexistent headers
11790 # can be detected and how.
11791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11793 #include <ac_nonexistent.h>
11795 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11796 # Broken: success on invalid input.
11799 # Passes both tests.
11803 rm -f conftest.err conftest.i conftest.
$ac_ext
11806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11807 rm -f conftest.i conftest.err conftest.
$ac_ext
11808 if $ac_preproc_ok; then :
11811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11813 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11814 See \`config.log' for more details" "$LINENO" 5; }
11818 ac_cpp
='$CXXCPP $CPPFLAGS'
11819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11824 for ac_header
in boost
/utility
/string_ref.hpp
11826 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/utility/string_ref.hpp" "ac_cv_header_boost_utility_string_ref_hpp" "$ac_includes_default"
11827 if test "x$ac_cv_header_boost_utility_string_ref_hpp" = xyes
; then :
11828 cat >>confdefs.h
<<_ACEOF
11829 #define HAVE_BOOST_UTILITY_STRING_REF_HPP 1
11836 # add boost_system bits for stapdyn with dyninst 10+
11838 LIBS
="-lboost_system $LIBS"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking need for -lboost_system library" >&5
11840 $as_echo_n "checking need for -lboost_system library... " >&6; }
11841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 #include <boost/system/system_error.hpp>
11846 boost::system::error_condition e();
11850 if ac_fn_cxx_try_link
"$LINENO"; then :
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yup" >&5
11852 $as_echo "yup" >&6; }
11853 BOOST_SYSTEM_LIB
="-lboost_system"
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: nope" >&5
11857 $as_echo "nope" >&6; }
11858 BOOST_SYSTEM_LIB
=""
11861 rm -f core conftest.err conftest.
$ac_objext \
11862 conftest
$ac_exeext conftest.
$ac_ext
11867 ac_cpp
='$CPP $CPPFLAGS'
11868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11873 # Check for Dyninst headers and libraries
11875 # Check whether --with-dyninst was given.
11876 if test "${with_dyninst+set}" = set; then :
11877 withval
=$with_dyninst;
11881 case "$with_dyninst" in
11883 ''|
yes) # Try a simple-minded distro search
11884 DYNINST_CXXFLAGS
="-I/usr/include/dyninst"
11885 DYNINST_LDFLAGS
="-L/usr/lib64/dyninst -L/usr/lib/dyninst" # XXX both lib paths!?!
11887 *) # Use paths in the user-specified prefix
11888 DYNINST_CXXFLAGS
="-I$with_dyninst/include"
11889 DYNINST_LDFLAGS
="-L$with_dyninst/lib/" # XXX need lib64 too?
11892 if test "$with_dyninst" != "no"; then
11894 ac_cpp
='$CXXCPP $CPPFLAGS'
11895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11899 old_CPPFLAGS
="$CPPFLAGS"
11900 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dyninst support" >&5
11902 $as_echo "$as_me: checking dyninst support" >&6;}
11903 for ac_header
in BPatch_object.h
11905 ac_fn_cxx_check_header_mongrel
"$LINENO" "BPatch_object.h" "ac_cv_header_BPatch_object_h" "$ac_includes_default"
11906 if test "x$ac_cv_header_BPatch_object_h" = xyes
; then :
11907 cat >>confdefs.h
<<_ACEOF
11908 #define HAVE_BPATCH_OBJECT_H 1
11914 $as_echo "#define HAVE_DYNINST 1" >>confdefs.h
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: dyninst support available" >&5
11918 $as_echo "$as_me: dyninst support available" >&6;}
11923 if test -n "$with_dyninst" -a "$have_dyninst" != "yes"; then
11924 as_fn_error $?
"Dyninst does not appear to be usable" "$LINENO" 5
11926 CPPFLAGS
="$old_CPPFLAGS"
11928 ac_cpp
='$CPP $CPPFLAGS'
11929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11934 if test "${have_dyninst}" = "yes"; then
11936 HAVE_DYNINST_FALSE
='#'
11938 HAVE_DYNINST_TRUE
='#'
11939 HAVE_DYNINST_FALSE
=
11945 # Check whether --enable-virt was given.
11946 if test "${enable_virt+set}" = set; then :
11947 enableval
=$enable_virt; enable_virt
=$enableval
11949 enable_virt
="check"
11953 # Check whether --enable-libvirt was given.
11954 if test "${enable_libvirt+set}" = set; then :
11955 enableval
=$enable_libvirt;
11959 if test "$enable_libvirt" != no
; then
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
11963 $as_echo_n "checking for libvirt... " >&6; }
11965 if test -n "$libvirt_CFLAGS"; then
11966 pkg_cv_libvirt_CFLAGS
="$libvirt_CFLAGS"
11967 elif test -n "$PKG_CONFIG"; then
11968 if test -n "$PKG_CONFIG" && \
11969 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11970 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11973 test $ac_status = 0; }; then
11974 pkg_cv_libvirt_CFLAGS
=`$PKG_CONFIG --cflags "libvirt >= 1.0.2" 2>/dev/null`
11975 test "x$?" != "x0" && pkg_failed
=yes
11982 if test -n "$libvirt_LIBS"; then
11983 pkg_cv_libvirt_LIBS
="$libvirt_LIBS"
11984 elif test -n "$PKG_CONFIG"; then
11985 if test -n "$PKG_CONFIG" && \
11986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11987 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11990 test $ac_status = 0; }; then
11991 pkg_cv_libvirt_LIBS
=`$PKG_CONFIG --libs "libvirt >= 1.0.2" 2>/dev/null`
11992 test "x$?" != "x0" && pkg_failed
=yes
12002 if test $pkg_failed = yes; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12006 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12007 _pkg_short_errors_supported
=yes
12009 _pkg_short_errors_supported
=no
12011 if test $_pkg_short_errors_supported = yes; then
12012 libvirt_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
12014 libvirt_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
12016 # Put the nasty error message in config.log where it belongs
12017 echo "$libvirt_PKG_ERRORS" >&5
12020 elif test $pkg_failed = untried
; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12022 $as_echo "no" >&6; }
12025 libvirt_CFLAGS
=$pkg_cv_libvirt_CFLAGS
12026 libvirt_LIBS
=$pkg_cv_libvirt_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12028 $as_echo "yes" >&6; }
12032 $as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h
12037 if test "${have_libvirt}" = "yes"; then
12039 HAVE_LIBVIRT_FALSE
='#'
12041 HAVE_LIBVIRT_TRUE
='#'
12042 HAVE_LIBVIRT_FALSE
=
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
12048 $as_echo_n "checking for libxml2... " >&6; }
12050 if test -n "$libxml2_CFLAGS"; then
12051 pkg_cv_libxml2_CFLAGS
="$libxml2_CFLAGS"
12052 elif test -n "$PKG_CONFIG"; then
12053 if test -n "$PKG_CONFIG" && \
12054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
12055 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
12057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12058 test $ac_status = 0; }; then
12059 pkg_cv_libxml2_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
12060 test "x$?" != "x0" && pkg_failed
=yes
12067 if test -n "$libxml2_LIBS"; then
12068 pkg_cv_libxml2_LIBS
="$libxml2_LIBS"
12069 elif test -n "$PKG_CONFIG"; then
12070 if test -n "$PKG_CONFIG" && \
12071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
12072 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
12074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12075 test $ac_status = 0; }; then
12076 pkg_cv_libxml2_LIBS
=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
12077 test "x$?" != "x0" && pkg_failed
=yes
12087 if test $pkg_failed = yes; then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12089 $as_echo "no" >&6; }
12091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12092 _pkg_short_errors_supported
=yes
12094 _pkg_short_errors_supported
=no
12096 if test $_pkg_short_errors_supported = yes; then
12097 libxml2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
12099 libxml2_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
12101 # Put the nasty error message in config.log where it belongs
12102 echo "$libxml2_PKG_ERRORS" >&5
12105 elif test $pkg_failed = untried
; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12107 $as_echo "no" >&6; }
12110 libxml2_CFLAGS
=$pkg_cv_libxml2_CFLAGS
12111 libxml2_LIBS
=$pkg_cv_libxml2_LIBS
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12113 $as_echo "yes" >&6; }
12117 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12121 if test "${have_libxml2}" = "yes"; then
12123 HAVE_LIBXML2_FALSE
='#'
12125 HAVE_LIBXML2_TRUE
='#'
12126 HAVE_LIBXML2_FALSE
=
12130 if test "$enable_virt" != "no"; then
12131 if test "x${have_libvirt}" != "xyes"; then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&5
12133 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&2;}
12135 if test "x${have_libxml2}" != "xyes"; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&5
12137 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&2;}
12140 if test "${have_libvirt}" == "yes" -a "${have_libxml2}" == "yes" -a "$enable_virt" != "no"; then
12142 BUILD_VIRT_FALSE
='#'
12144 BUILD_VIRT_TRUE
='#'
12150 # Check whether --with-python2-probes was given.
12151 if test "${with_python2_probes+set}" = set; then :
12152 withval
=$with_python2_probes;
12155 have_python2_support
=no
12156 if test "x$with_python2_probes" != "xno"; then :
12157 if test "x$PYTHON" != "x:"; then :
12158 for ac_prog
in ${python_basename}-config python2-config python-config
12160 # Extract the first word of "$ac_prog", so it can be a program name with args.
12161 set dummy
$ac_prog; ac_word
=$2
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12163 $as_echo_n "checking for $ac_word... " >&6; }
12164 if ${ac_cv_path_PYTHON_CONFIG+:} false
; then :
12165 $as_echo_n "(cached) " >&6
12167 case $PYTHON_CONFIG in
12169 ac_cv_path_PYTHON_CONFIG
="$PYTHON_CONFIG" # Let the user override the test with a path.
12172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12173 for as_dir
in $PATH
12176 test -z "$as_dir" && as_dir
=.
12177 for ac_exec_ext
in '' $ac_executable_extensions; do
12178 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12179 ac_cv_path_PYTHON_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12190 PYTHON_CONFIG
=$ac_cv_path_PYTHON_CONFIG
12191 if test -n "$PYTHON_CONFIG"; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
12193 $as_echo "$PYTHON_CONFIG" >&6; }
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196 $as_echo "no" >&6; }
12200 test -n "$PYTHON_CONFIG" && break
12204 if test "x$PYTHON_CONFIG" != "x"; then :
12205 PYTHON_CPPFLAGS
=`$PYTHON_CONFIG --includes 2> /dev/null`
12206 PYTHON_CPPFLAGS
=$PYTHON_CPPFLAGS
12208 save_CPPFLAGS
="$CPPFLAGS"
12209 CPPFLAGS
="$PYTHON_CPPFLAGS $CPPFLAGS"
12210 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
12211 for ac_header
in Python.h
12213 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
12214 if test "x$ac_cv_header_Python_h" = xyes
; then :
12215 cat >>confdefs.h
<<_ACEOF
12216 #define HAVE_PYTHON_H 1
12218 have_python2_support
=yes
12223 CPPFLAGS
="$save_CPPFLAGS"
12226 if test "x$have_python2_support" = "xyes"; then :
12228 $as_echo "#define HAVE_PYTHON2_PROBES 1" >>confdefs.h
12231 if test "x$with_python2_probes" = "xyes"; then :
12232 as_fn_error $?
"python version 2 probe support requested but not found" "$LINENO" 5
12236 if test "x$have_python2_support" = "xyes"; then
12237 HAVE_PYTHON2_PROBES_TRUE
=
12238 HAVE_PYTHON2_PROBES_FALSE
='#'
12240 HAVE_PYTHON2_PROBES_TRUE
='#'
12241 HAVE_PYTHON2_PROBES_FALSE
=
12246 # Check whether --with-python3-probes was given.
12247 if test "${with_python3_probes+set}" = set; then :
12248 withval
=$with_python3_probes;
12251 have_python3_support
=no
12252 if test "x$with_python3_probes" != "xno"; then :
12253 if test "x$PYTHON3" != "x:" ; then :
12254 # Extract the first word of "${python3_basename}-config", so it can be a program name with args.
12255 set dummy
${python3_basename}-config; ac_word
=$2
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12257 $as_echo_n "checking for $ac_word... " >&6; }
12258 if ${ac_cv_path_PYTHON3_CONFIG+:} false
; then :
12259 $as_echo_n "(cached) " >&6
12261 case $PYTHON3_CONFIG in
12263 ac_cv_path_PYTHON3_CONFIG
="$PYTHON3_CONFIG" # Let the user override the test with a path.
12266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12267 for as_dir
in $PATH
12270 test -z "$as_dir" && as_dir
=.
12271 for ac_exec_ext
in '' $ac_executable_extensions; do
12272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12273 ac_cv_path_PYTHON3_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12284 PYTHON3_CONFIG
=$ac_cv_path_PYTHON3_CONFIG
12285 if test -n "$PYTHON3_CONFIG"; then
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
12287 $as_echo "$PYTHON3_CONFIG" >&6; }
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12290 $as_echo "no" >&6; }
12295 if test "x$PYTHON3_CONFIG" != "x"; then :
12296 PYTHON3_CPPFLAGS
=`$PYTHON3_CONFIG --includes 2> /dev/null`
12297 PYTHON3_CPPFLAGS
=$PYTHON3_CPPFLAGS
12299 save_CPPFLAGS
="$CPPFLAGS"
12300 CPPFLAGS
="$PYTHON3_CPPFLAGS $CPPFLAGS"
12301 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
12302 for ac_header
in Python.h
12304 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
12305 if test "x$ac_cv_header_Python_h" = xyes
; then :
12306 cat >>confdefs.h
<<_ACEOF
12307 #define HAVE_PYTHON_H 1
12309 have_python3_support
=yes
12314 CPPFLAGS
="$save_CPPFLAGS"
12317 if test "x$have_python3_support" = "xyes"; then :
12319 $as_echo "#define HAVE_PYTHON3_PROBES 1" >>confdefs.h
12322 if test "x$with_python3_probes" = "xyes"; then :
12323 as_fn_error $?
"python version 3 probe support requested but not found" "$LINENO" 5
12327 if test "x$have_python3_support" = "xyes"; then
12328 HAVE_PYTHON3_PROBES_TRUE
=
12329 HAVE_PYTHON3_PROBES_FALSE
='#'
12331 HAVE_PYTHON3_PROBES_TRUE
='#'
12332 HAVE_PYTHON3_PROBES_FALSE
=
12336 if test "x$have_python2_support" = "xyes" -o "x$have_python3_support" = "xyes"; then
12337 HAVE_PYTHON_PROBES_TRUE
=
12338 HAVE_PYTHON_PROBES_FALSE
='#'
12340 HAVE_PYTHON_PROBES_TRUE
='#'
12341 HAVE_PYTHON_PROBES_FALSE
=
12345 # Check whether --enable-monitor was given.
12346 if test "${enable_monitor+set}" = set; then :
12347 enableval
=$enable_monitor;
12350 if test "$enable_monitor" != "no"; then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jsonc" >&5
12354 $as_echo_n "checking for jsonc... " >&6; }
12356 if test -n "$jsonc_CFLAGS"; then
12357 pkg_cv_jsonc_CFLAGS
="$jsonc_CFLAGS"
12358 elif test -n "$PKG_CONFIG"; then
12359 if test -n "$PKG_CONFIG" && \
12360 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
12361 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
12363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12364 test $ac_status = 0; }; then
12365 pkg_cv_jsonc_CFLAGS
=`$PKG_CONFIG --cflags "json-c >= 0.11" 2>/dev/null`
12366 test "x$?" != "x0" && pkg_failed
=yes
12373 if test -n "$jsonc_LIBS"; then
12374 pkg_cv_jsonc_LIBS
="$jsonc_LIBS"
12375 elif test -n "$PKG_CONFIG"; then
12376 if test -n "$PKG_CONFIG" && \
12377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
12378 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
12380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12381 test $ac_status = 0; }; then
12382 pkg_cv_jsonc_LIBS
=`$PKG_CONFIG --libs "json-c >= 0.11" 2>/dev/null`
12383 test "x$?" != "x0" && pkg_failed
=yes
12393 if test $pkg_failed = yes; then
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12395 $as_echo "no" >&6; }
12397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12398 _pkg_short_errors_supported
=yes
12400 _pkg_short_errors_supported
=no
12402 if test $_pkg_short_errors_supported = yes; then
12403 jsonc_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
12405 jsonc_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
12407 # Put the nasty error message in config.log where it belongs
12408 echo "$jsonc_PKG_ERRORS" >&5
12411 elif test $pkg_failed = untried
; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12413 $as_echo "no" >&6; }
12416 jsonc_CFLAGS
=$pkg_cv_jsonc_CFLAGS
12417 jsonc_LIBS
=$pkg_cv_jsonc_LIBS
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12419 $as_echo "yes" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
12425 $as_echo_n "checking for ncurses... " >&6; }
12427 if test -n "$ncurses_CFLAGS"; then
12428 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
12429 elif test -n "$PKG_CONFIG"; then
12430 if test -n "$PKG_CONFIG" && \
12431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12432 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12435 test $ac_status = 0; }; then
12436 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
12437 test "x$?" != "x0" && pkg_failed
=yes
12444 if test -n "$ncurses_LIBS"; then
12445 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
12446 elif test -n "$PKG_CONFIG"; then
12447 if test -n "$PKG_CONFIG" && \
12448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12449 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452 test $ac_status = 0; }; then
12453 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
12454 test "x$?" != "x0" && pkg_failed
=yes
12464 if test $pkg_failed = yes; then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12466 $as_echo "no" >&6; }
12468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12469 _pkg_short_errors_supported
=yes
12471 _pkg_short_errors_supported
=no
12473 if test $_pkg_short_errors_supported = yes; then
12474 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
12476 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
12478 # Put the nasty error message in config.log where it belongs
12479 echo "$ncurses_PKG_ERRORS" >&5
12482 elif test $pkg_failed = untried
; then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484 $as_echo "no" >&6; }
12487 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
12488 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12490 $as_echo "yes" >&6; }
12493 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == yes; then
12495 $as_echo "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
12499 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == "yes" -a "$enable_monitor" != "no"; then
12500 HAVE_MONITOR_LIBS_TRUE
=
12501 HAVE_MONITOR_LIBS_FALSE
='#'
12503 HAVE_MONITOR_LIBS_TRUE
='#'
12504 HAVE_MONITOR_LIBS_FALSE
=
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
12509 $as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }
12510 if ${stap_cv_sectionq+:} false
; then :
12511 $as_echo_n "(cached) " >&6
12514 old_CFLAGS
="$CFLAGS"
12515 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
12516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12518 asm(".section .note.foo,\"?\",\"note\"\n"
12521 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
12523 ".pushsection .note.foo,\"?\",\"note\"\n"
12528 if ac_fn_c_try_compile
"$LINENO"; then :
12529 stap_cv_sectionq
=yes
12531 stap_cv_sectionq
=no
12533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12534 CFLAGS
="$old_CFLAGS"
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
12537 $as_echo "$stap_cv_sectionq" >&6; }
12539 support_section_question
=0
12540 if test $stap_cv_sectionq = yes; then
12541 support_section_question
=1
12546 # Check whether --with-bpf was given.
12547 if test "${with_bpf+set}" = set; then :
12552 if test "x$with_bpf" != "xno"; then :
12554 ac_fn_c_check_decl
"$LINENO" "BPF_PROG_TYPE_PERF_EVENT" "ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" "#include <linux/bpf.h>
12556 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" = xyes
; then :
12562 cat >>confdefs.h
<<_ACEOF
12563 #define HAVE_DECL_BPF_PROG_TYPE_PERF_EVENT $ac_have_decl
12565 if test $ac_have_decl = 1; then :
12567 $as_echo "#define HAVE_BPF_DECLS 1" >>confdefs.h
12573 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" == "xyes"; then
12574 HAVE_BPF_DECLS_TRUE
=
12575 HAVE_BPF_DECLS_FALSE
='#'
12577 HAVE_BPF_DECLS_TRUE
='#'
12578 HAVE_BPF_DECLS_FALSE
=
12581 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
12584 ac_fn_c_check_decl
"$LINENO" "BPF_PROG_TYPE_RAW_TRACEPOINT" "ac_cv_have_decl_BPF_PROG_TYPE_RAW_TRACEPOINT" "#include <linux/bpf.h>
12586 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_RAW_TRACEPOINT" = xyes
; then :
12592 cat >>confdefs.h
<<_ACEOF
12593 #define HAVE_DECL_BPF_PROG_TYPE_RAW_TRACEPOINT $ac_have_decl
12595 if test $ac_have_decl = 1; then :
12597 $as_echo "#define HAVE_BPF_PROG_TYPE_RAW_TRACEPOINT 1" >>confdefs.h
12602 if test $build_elfutils = yes -a $enable_translator = yes; then
12604 case "$with_elfutils" in
12605 /*) elfutils_srcdir
="$with_elfutils" ;;
12606 *) elfutils_srcdir
="${here}/$with_elfutils" ;;
12609 if ! test -f ${elfutils_srcdir}/configure
; then
12610 as_fn_error $?
"No ${elfutils_srcdir}/configure, forgot to run autoreconf -i?" "$LINENO" 5
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: running ${elfutils_srcdir}/configure" >&5
12613 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
12615 save_CFLAGS
="$CFLAGS"
12616 save_CXXFLAGS
="$CXXFLAGS"
12617 CXXFLAGS
="$CXXFLAGS -fgnu89-inline"
12618 CFLAGS
="$CFLAGS -fgnu89-inline"
12619 gnu89_inline_flag
=""
12620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12624 if ac_fn_c_try_compile
"$LINENO"; then :
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling elfutils with gcc -fgnu89-inline" >&5
12627 $as_echo "$as_me: Compiling elfutils with gcc -fgnu89-inline" >&6;}
12628 gnu89_inline_flag
="-fgnu89-inline"
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fgnu89-inline" >&5
12632 $as_echo "$as_me: Compiler does not support -fgnu89-inline" >&6;}
12634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12635 CFLAGS
="$save_CFLAGS"
12636 CXXFLAGS
="$save_CXXFLAGS"
12638 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
12639 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
12640 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
12641 # So we must make sure to pass those settings to elfutils configure.
12642 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
12643 # Check whether this is a source release, or a source checkout.
12644 # We need --enable-maintainer-mode if it isn't a source release.
12645 # elfutils.spec is only distributed in source releases.
12646 if test -f ${elfutils_srcdir}/elfutils.spec
; then
12647 need_maintainer_option
=""
12649 need_maintainer_option
="--enable-maintainer-mode"
12651 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
12652 bash
${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
12653 --includedir="${here}/include-elfutils" \
12654 --libdir="${here}/lib-elfutils" \
12655 --exec-prefix="$exec_prefix" \
12656 --prefix="$prefix" \
12658 ${need_maintainer_option} \
12659 CFLAGS
="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \
12660 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
12661 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
12662 echo Found elfutils
/version.h header...
12664 echo elfutils
/version.h header not found
, need elfutils
0.142+...
12668 if test $?
!= 0; then exit -1; fi
12672 # Check whether --with-selinux was given.
12673 if test "${with_selinux+set}" = set; then :
12674 withval
=$with_selinux;
12678 if test "x$with_selinux" != "xno"; then :
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux" >&5
12683 $as_echo_n "checking for selinux... " >&6; }
12685 if test -n "$selinux_CFLAGS"; then
12686 pkg_cv_selinux_CFLAGS
="$selinux_CFLAGS"
12687 elif test -n "$PKG_CONFIG"; then
12688 if test -n "$PKG_CONFIG" && \
12689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12690 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12693 test $ac_status = 0; }; then
12694 pkg_cv_selinux_CFLAGS
=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
12695 test "x$?" != "x0" && pkg_failed
=yes
12702 if test -n "$selinux_LIBS"; then
12703 pkg_cv_selinux_LIBS
="$selinux_LIBS"
12704 elif test -n "$PKG_CONFIG"; then
12705 if test -n "$PKG_CONFIG" && \
12706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12707 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12710 test $ac_status = 0; }; then
12711 pkg_cv_selinux_LIBS
=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
12712 test "x$?" != "x0" && pkg_failed
=yes
12722 if test $pkg_failed = yes; then
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12727 _pkg_short_errors_supported
=yes
12729 _pkg_short_errors_supported
=no
12731 if test $_pkg_short_errors_supported = yes; then
12732 selinux_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
12734 selinux_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
12736 # Put the nasty error message in config.log where it belongs
12737 echo "$selinux_PKG_ERRORS" >&5
12740 elif test $pkg_failed = untried
; then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12742 $as_echo "no" >&6; }
12745 selinux_CFLAGS
=$pkg_cv_selinux_CFLAGS
12746 selinux_LIBS
=$pkg_cv_selinux_LIBS
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12748 $as_echo "yes" >&6; }
12751 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
12760 if test "${have_selinux}" = "yes"; then
12762 HAVE_SELINUX_FALSE
='#'
12764 HAVE_SELINUX_TRUE
='#'
12765 HAVE_SELINUX_FALSE
=
12769 ac_fn_c_check_decl
"$LINENO" "F_SETPIPE_SZ" "ac_cv_have_decl_F_SETPIPE_SZ" "#include <fcntl.h>
12771 if test "x$ac_cv_have_decl_F_SETPIPE_SZ" = xyes
; then :
12773 $as_echo "#define HAVE_F_SETPIPE_SZ 1" >>confdefs.h
12778 # Extract the first word of "javac", so it can be a program name with args.
12779 set dummy javac
; ac_word
=$2
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12781 $as_echo_n "checking for $ac_word... " >&6; }
12782 if ${ac_cv_prog_have_javac+:} false
; then :
12783 $as_echo_n "(cached) " >&6
12785 if test -n "$have_javac"; then
12786 ac_cv_prog_have_javac
="$have_javac" # Let the user override the test.
12788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12789 for as_dir
in $PATH
12792 test -z "$as_dir" && as_dir
=.
12793 for ac_exec_ext
in '' $ac_executable_extensions; do
12794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12795 ac_cv_prog_have_javac
="yes"
12796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 test -z "$ac_cv_prog_have_javac" && ac_cv_prog_have_javac
="no"
12806 have_javac
=$ac_cv_prog_have_javac
12807 if test -n "$have_javac"; then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_javac" >&5
12809 $as_echo "$have_javac" >&6; }
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12812 $as_echo "no" >&6; }
12816 # Extract the first word of "jar", so it can be a program name with args.
12817 set dummy jar
; ac_word
=$2
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12819 $as_echo_n "checking for $ac_word... " >&6; }
12820 if ${ac_cv_prog_have_jar+:} false
; then :
12821 $as_echo_n "(cached) " >&6
12823 if test -n "$have_jar"; then
12824 ac_cv_prog_have_jar
="$have_jar" # Let the user override the test.
12826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12827 for as_dir
in $PATH
12830 test -z "$as_dir" && as_dir
=.
12831 for ac_exec_ext
in '' $ac_executable_extensions; do
12832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12833 ac_cv_prog_have_jar
="yes"
12834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12841 test -z "$ac_cv_prog_have_jar" && ac_cv_prog_have_jar
="no"
12844 have_jar
=$ac_cv_prog_have_jar
12845 if test -n "$have_jar"; then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_jar" >&5
12847 $as_echo "$have_jar" >&6; }
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12850 $as_echo "no" >&6; }
12854 if test "$have_javac" != no
-a "$have_jar" != no
; then
12855 echo java found
, will try to configure Byteman support
12858 # Check whether --with-java was given.
12859 if test "${with_java+set}" = set; then :
12860 withval
=$with_java;
12862 with_java
=/usr
/lib
/jvm
/java
12865 if test ! -d "$with_java"; then
12868 JAVADIR
="${with_java}"
12869 # always needed to compile
12871 if test "$with_java" != "no"; then
12873 cat >>confdefs.h
<<_ACEOF
12874 #define HAVE_JAVA "1"
12879 if test "$with_java" != "no"; then
12881 HAVE_JAVA_FALSE
='#'
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not run per-method java probing, missing byteman or java requirements" >&5
12890 $as_echo "$as_me: WARNING: will not run per-method java probing, missing byteman or java requirements" >&2;}
12893 HAVE_JAVA_FALSE
='#'
12899 fi # java+byteman support
12901 ENABLE_NLS
="$USE_NLS"
12903 localedir
="$localedir"
12905 LOCALEDIR
="$localedir"
12909 # Check whether --with-extra-version was given.
12910 if test "${with_extra_version+set}" = set; then :
12911 withval
=$with_extra_version;
12914 if test "x$with_extra_version" != "xno"; then :
12916 stap_extra_version
="$with_extra_version"
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding extra version $stap_extra_version" >&5
12918 $as_echo "$as_me: Adding extra version $stap_extra_version" >&6;}
12921 stap_extra_version
=""
12924 cat >>confdefs.h
<<_ACEOF
12925 #define STAP_EXTRA_VERSION "$stap_extra_version"
12928 STAP_EXTRA_VERSION
="$stap_extra_version"
12931 # Check whether --enable-http was given.
12932 if test "${enable_http+set}" = set; then :
12933 enableval
=$enable_http;
12936 have_http_support
=no
12937 if test "x$enable_http" = "xyes"; then :
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmicrohttpd" >&5
12941 $as_echo_n "checking for libmicrohttpd... " >&6; }
12943 if test -n "$libmicrohttpd_CFLAGS"; then
12944 pkg_cv_libmicrohttpd_CFLAGS
="$libmicrohttpd_CFLAGS"
12945 elif test -n "$PKG_CONFIG"; then
12946 if test -n "$PKG_CONFIG" && \
12947 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
12948 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12951 test $ac_status = 0; }; then
12952 pkg_cv_libmicrohttpd_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd > 0.9.0" 2>/dev/null`
12953 test "x$?" != "x0" && pkg_failed
=yes
12960 if test -n "$libmicrohttpd_LIBS"; then
12961 pkg_cv_libmicrohttpd_LIBS
="$libmicrohttpd_LIBS"
12962 elif test -n "$PKG_CONFIG"; then
12963 if test -n "$PKG_CONFIG" && \
12964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
12965 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
12967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12968 test $ac_status = 0; }; then
12969 pkg_cv_libmicrohttpd_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd > 0.9.0" 2>/dev/null`
12970 test "x$?" != "x0" && pkg_failed
=yes
12980 if test $pkg_failed = yes; then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12982 $as_echo "no" >&6; }
12984 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12985 _pkg_short_errors_supported
=yes
12987 _pkg_short_errors_supported
=no
12989 if test $_pkg_short_errors_supported = yes; then
12990 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
12992 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
12994 # Put the nasty error message in config.log where it belongs
12995 echo "$libmicrohttpd_PKG_ERRORS" >&5
12997 have_libmicrohttpd
=false
12998 elif test $pkg_failed = untried
; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13000 $as_echo "no" >&6; }
13001 have_libmicrohttpd
=false
13003 libmicrohttpd_CFLAGS
=$pkg_cv_libmicrohttpd_CFLAGS
13004 libmicrohttpd_LIBS
=$pkg_cv_libmicrohttpd_LIBS
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13006 $as_echo "yes" >&6; }
13007 have_libmicrohttpd
=true
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid" >&5
13013 $as_echo_n "checking for uuid... " >&6; }
13015 if test -n "$uuid_CFLAGS"; then
13016 pkg_cv_uuid_CFLAGS
="$uuid_CFLAGS"
13017 elif test -n "$PKG_CONFIG"; then
13018 if test -n "$PKG_CONFIG" && \
13019 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
13020 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
13022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13023 test $ac_status = 0; }; then
13024 pkg_cv_uuid_CFLAGS
=`$PKG_CONFIG --cflags "uuid >= 2.17.0" 2>/dev/null`
13025 test "x$?" != "x0" && pkg_failed
=yes
13032 if test -n "$uuid_LIBS"; then
13033 pkg_cv_uuid_LIBS
="$uuid_LIBS"
13034 elif test -n "$PKG_CONFIG"; then
13035 if test -n "$PKG_CONFIG" && \
13036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
13037 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
13039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13040 test $ac_status = 0; }; then
13041 pkg_cv_uuid_LIBS
=`$PKG_CONFIG --libs "uuid >= 2.17.0" 2>/dev/null`
13042 test "x$?" != "x0" && pkg_failed
=yes
13052 if test $pkg_failed = yes; then
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13054 $as_echo "no" >&6; }
13056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13057 _pkg_short_errors_supported
=yes
13059 _pkg_short_errors_supported
=no
13061 if test $_pkg_short_errors_supported = yes; then
13062 uuid_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
13064 uuid_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
13066 # Put the nasty error message in config.log where it belongs
13067 echo "$uuid_PKG_ERRORS" >&5
13070 elif test $pkg_failed = untried
; then
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13072 $as_echo "no" >&6; }
13075 uuid_CFLAGS
=$pkg_cv_uuid_CFLAGS
13076 uuid_LIBS
=$pkg_cv_uuid_LIBS
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13078 $as_echo "yes" >&6; }
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
13085 $as_echo_n "checking for libcurl... " >&6; }
13087 if test -n "$libcurl_CFLAGS"; then
13088 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
13089 elif test -n "$PKG_CONFIG"; then
13090 if test -n "$PKG_CONFIG" && \
13091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.19.7\""; } >&5
13092 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.19.7") 2>&5
13094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13095 test $ac_status = 0; }; then
13096 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.19.7" 2>/dev/null`
13097 test "x$?" != "x0" && pkg_failed
=yes
13104 if test -n "$libcurl_LIBS"; then
13105 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
13106 elif test -n "$PKG_CONFIG"; then
13107 if test -n "$PKG_CONFIG" && \
13108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.19.7\""; } >&5
13109 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.19.7") 2>&5
13111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13112 test $ac_status = 0; }; then
13113 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.19.7" 2>/dev/null`
13114 test "x$?" != "x0" && pkg_failed
=yes
13124 if test $pkg_failed = yes; then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13126 $as_echo "no" >&6; }
13128 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13129 _pkg_short_errors_supported
=yes
13131 _pkg_short_errors_supported
=no
13133 if test $_pkg_short_errors_supported = yes; then
13134 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.19.7" 2>&1`
13136 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.19.7" 2>&1`
13138 # Put the nasty error message in config.log where it belongs
13139 echo "$libcurl_PKG_ERRORS" >&5
13142 elif test $pkg_failed = untried
; then
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13144 $as_echo "no" >&6; }
13147 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
13148 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13150 $as_echo "yes" >&6; }
13154 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"; then :
13155 have_http_support
=yes
13159 if test "x$have_http_support" = "xyes"; then :
13161 $as_echo "#define HAVE_HTTP_SUPPORT 1" >>confdefs.h
13164 if test "x$enable_http" = "xyes"; then :
13165 as_fn_error $?
"http service support requested but not found" "$LINENO" 5
13169 if test "x$have_http_support" = "xyes"; then
13170 HAVE_HTTP_SUPPORT_TRUE
=
13171 HAVE_HTTP_SUPPORT_FALSE
='#'
13173 HAVE_HTTP_SUPPORT_TRUE
='#'
13174 HAVE_HTTP_SUPPORT_FALSE
=
13178 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then
13179 NEED_BASE_CLIENT_CODE_TRUE
=
13180 NEED_BASE_CLIENT_CODE_FALSE
='#'
13182 NEED_BASE_CLIENT_CODE_TRUE
='#'
13183 NEED_BASE_CLIENT_CODE_FALSE
=
13186 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then :
13189 $as_echo "#define NEED_BASE_CLIENT_CODE 1" >>confdefs.h
13195 stap_prefix
=$prefix
13196 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
13198 cat >>confdefs.h
<<_ACEOF
13199 #define STAP_PREFIX "$stap_prefix"
13202 STAP_PREFIX
="$stap_prefix"
13205 ac_config_headers
="$ac_config_headers config.h:config.in"
13209 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"
13213 subdirs
="$subdirs testsuite"
13215 if test $enable_translator == "yes"; then
13216 ac_config_files
="$ac_config_files run-stap"
13219 ac_config_files
="$ac_config_files dtrace"
13221 ac_config_files
="$ac_config_files stapdyn/Makefile"
13223 ac_config_files
="$ac_config_files java/Makefile"
13225 ac_config_files
="$ac_config_files java/stapbm"
13227 ac_config_files
="$ac_config_files python/Makefile"
13229 ac_config_files
="$ac_config_files staprun/Makefile"
13231 ac_config_files
="$ac_config_files stapbpf/Makefile"
13233 ac_config_files
="$ac_config_files httpd/Makefile httpd/docker/Makefile"
13235 ac_config_files
="$ac_config_files staprun/run-staprun"
13237 ac_config_files
="$ac_config_files staprun/guest/stapshd"
13239 ac_config_files
="$ac_config_files staprun/guest/stapsh-daemon"
13241 ac_config_files
="$ac_config_files staprun/guest/stapsh@.service"
13243 ac_config_files
="$ac_config_files stap-exporter/Makefile"
13247 # Setup "shadow" directory doc/beginners that has the basic directories setup for
13248 # xmlto in one directory (through directory links if necessary).
13249 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
13250 # the src is a directory and not a file.
13251 ac_config_commands
="$ac_config_commands doc/beginners"
13254 cat >confcache
<<\_ACEOF
13255 # This file is a shell script that caches the results of configure
13256 # tests run on this system so they can be shared between configure
13257 # scripts and configure runs, see configure's option --config-cache.
13258 # It is not useful on other systems. If it contains results you don't
13259 # want to keep, you may remove or edit it.
13261 # config.status only pays attention to the cache file if you give it
13262 # the --recheck option to rerun configure.
13264 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13265 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13266 # following values.
13270 # The following way of writing the cache mishandles newlines in values,
13271 # but we know of no workaround that is simple, portable, and efficient.
13272 # So, we kill variables containing newlines.
13273 # Ultrix sh set writes to stderr and can't be redirected directly,
13274 # and sets the high bit in the cache file unless we assign to the vars.
13276 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13277 eval ac_val
=\$
$ac_var
13281 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13282 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13285 _ | IFS | as_nl
) ;; #(
13286 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13287 *) { eval $ac_var=; unset $ac_var;} ;;
13293 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13294 *${as_nl}ac_space
=\
*)
13295 # `set' does not quote correctly, so add quotes: double-quote
13296 # substitution turns \\\\ into \\, and sed turns \\ into \.
13299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13302 # `set' quotes correctly as required by POSIX, so do not add quotes.
13303 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13312 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13314 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13316 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13317 if test -w "$cache_file"; then
13318 if test "x$cache_file" != "x/dev/null"; then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13320 $as_echo "$as_me: updating cache $cache_file" >&6;}
13321 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13322 cat confcache
>"$cache_file"
13324 case $cache_file in #(
13326 mv -f confcache
"$cache_file"$$
&&
13327 mv -f "$cache_file"$$
"$cache_file" ;; #(
13329 mv -f confcache
"$cache_file" ;;
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13335 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13340 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13341 # Let make expand exec_prefix.
13342 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13344 DEFS
=-DHAVE_CONFIG_H
13349 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13350 # 1. Remove the extension, and $U if already installed.
13351 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13352 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13353 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13354 # will be set to the directory where LIBOBJS objects are built.
13355 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13356 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13358 LIBOBJS
=$ac_libobjs
13360 LTLIBOBJS
=$ac_ltlibobjs
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13364 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13365 if test -n "$am_sleep_pid"; then
13366 # Hide warnings about reused PIDs.
13367 wait $am_sleep_pid 2>/dev
/null
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13370 $as_echo "done" >&6; }
13371 if test -n "$EXEEXT"; then
13373 am__EXEEXT_FALSE
='#'
13375 am__EXEEXT_TRUE
='#'
13379 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13380 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13383 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13384 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13387 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13388 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13391 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13392 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13395 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13396 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
13397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13399 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
13400 as_fn_error $?
"conditional \"BUILD_TRANSLATOR\" was never defined.
13401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13403 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
13404 as_fn_error $?
"conditional \"BUILD_CRASHMOD\" was never defined.
13405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13407 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
13408 as_fn_error $?
"conditional \"BUILD_DOCS\" was never defined.
13409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13411 if test -z "${INSTALL_PREBUILT_DOCS_TRUE}" && test -z "${INSTALL_PREBUILT_DOCS_FALSE}"; then
13412 as_fn_error $?
"conditional \"INSTALL_PREBUILT_DOCS\" was never defined.
13413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13415 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
13416 as_fn_error $?
"conditional \"BUILD_REFDOCS\" was never defined.
13417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13419 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
13420 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
13421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13423 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
13424 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
13425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13427 if test -z "${BUILD_HTMLDOCS_TRUE}" && test -z "${BUILD_HTMLDOCS_FALSE}"; then
13428 as_fn_error $?
"conditional \"BUILD_HTMLDOCS\" was never defined.
13429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13431 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
13432 as_fn_error $?
"conditional \"XMLTO_STRINGPARAM\" was never defined.
13433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13435 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
13436 as_fn_error $?
"conditional \"HAVE_NSS\" was never defined.
13437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13439 if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
13440 as_fn_error $?
"conditional \"HAVE_OPENSSL\" was never defined.
13441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13443 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13444 as_fn_error $?
"conditional \"BUILD_SERVER\" was never defined.
13445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13447 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
13448 as_fn_error $?
"conditional \"HAVE_AVAHI\" was never defined.
13449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13451 if test -z "${HAVE_LIBREADLINE_TRUE}" && test -z "${HAVE_LIBREADLINE_FALSE}"; then
13452 as_fn_error $?
"conditional \"HAVE_LIBREADLINE\" was never defined.
13453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13455 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
13456 as_fn_error $?
"conditional \"BUILD_ELFUTILS\" was never defined.
13457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13459 if test -z "${HAVE_DYNINST_TRUE}" && test -z "${HAVE_DYNINST_FALSE}"; then
13460 as_fn_error $?
"conditional \"HAVE_DYNINST\" was never defined.
13461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13463 if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then
13464 as_fn_error $?
"conditional \"HAVE_LIBVIRT\" was never defined.
13465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13467 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
13468 as_fn_error $?
"conditional \"HAVE_LIBXML2\" was never defined.
13469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13471 if test -z "${BUILD_VIRT_TRUE}" && test -z "${BUILD_VIRT_FALSE}"; then
13472 as_fn_error $?
"conditional \"BUILD_VIRT\" was never defined.
13473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13475 if test -z "${HAVE_PYTHON2_PROBES_TRUE}" && test -z "${HAVE_PYTHON2_PROBES_FALSE}"; then
13476 as_fn_error $?
"conditional \"HAVE_PYTHON2_PROBES\" was never defined.
13477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13479 if test -z "${HAVE_PYTHON3_PROBES_TRUE}" && test -z "${HAVE_PYTHON3_PROBES_FALSE}"; then
13480 as_fn_error $?
"conditional \"HAVE_PYTHON3_PROBES\" was never defined.
13481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13483 if test -z "${HAVE_PYTHON_PROBES_TRUE}" && test -z "${HAVE_PYTHON_PROBES_FALSE}"; then
13484 as_fn_error $?
"conditional \"HAVE_PYTHON_PROBES\" was never defined.
13485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13487 if test -z "${HAVE_MONITOR_LIBS_TRUE}" && test -z "${HAVE_MONITOR_LIBS_FALSE}"; then
13488 as_fn_error $?
"conditional \"HAVE_MONITOR_LIBS\" was never defined.
13489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13491 if test -z "${HAVE_BPF_DECLS_TRUE}" && test -z "${HAVE_BPF_DECLS_FALSE}"; then
13492 as_fn_error $?
"conditional \"HAVE_BPF_DECLS\" was never defined.
13493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13495 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
13496 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
13497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13499 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
13500 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
13501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13503 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
13504 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
13505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13507 if test -z "${HAVE_HTTP_SUPPORT_TRUE}" && test -z "${HAVE_HTTP_SUPPORT_FALSE}"; then
13508 as_fn_error $?
"conditional \"HAVE_HTTP_SUPPORT\" was never defined.
13509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13511 if test -z "${NEED_BASE_CLIENT_CODE_TRUE}" && test -z "${NEED_BASE_CLIENT_CODE_FALSE}"; then
13512 as_fn_error $?
"conditional \"NEED_BASE_CLIENT_CODE\" was never defined.
13513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13516 : "${CONFIG_STATUS=./config.status}"
13518 ac_clean_files_save
=$ac_clean_files
13519 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13521 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13523 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13525 # Generated by $as_me.
13526 # Run this file to recreate the current configuration.
13527 # Compiler output produced by configure, useful for debugging
13528 # configure, is in config.log if it exists.
13531 ac_cs_recheck=false
13534 SHELL=\${CONFIG_SHELL-$SHELL}
13537 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13538 ## -------------------- ##
13539 ## M4sh Initialization. ##
13540 ## -------------------- ##
13542 # Be more Bourne compatible
13543 DUALCASE
=1; export DUALCASE
# for MKS sh
13544 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13547 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13548 # is contrary to our usage. Disable this feature.
13549 alias -g '${1+"$@"}'='"$@"'
13550 setopt NO_GLOB_SUBST
13552 case `(set -o) 2>/dev/null` in #(
13564 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13565 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13566 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13567 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13568 # Prefer a ksh shell builtin over an external printf program on Solaris,
13569 # but without wasting forks for bash or zsh.
13570 if test -z "$BASH_VERSION$ZSH_VERSION" \
13571 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13572 as_echo='print
-r --'
13573 as_echo_n='print
-rn --'
13574 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13575 as_echo='printf %s
\n'
13576 as_echo_n='printf %s
'
13578 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13579 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13580 as_echo_n='/usr
/ucb
/echo -n'
13582 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13583 as_echo_n_body='eval
13587 expr "X$arg" : "X\\(.*\\)$as_nl";
13588 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13590 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13592 export as_echo_n_body
13593 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13595 export as_echo_body
13596 as_echo='sh
-c $as_echo_body as_echo
'
13599 # The user is always right.
13600 if test "${PATH_SEPARATOR+set}" != set; then
13602 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13603 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13610 # We need space, tab and new line, in precisely that order. Quoting is
13611 # there to prevent editors from complaining about space-tab.
13612 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13613 # splitting by setting IFS to empty value.)
13616 # Find who we are. Look in the path if we contain no directory separator.
13619 *[\\/]* ) as_myself=$0 ;;
13620 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13621 for as_dir in $PATH
13624 test -z "$as_dir" && as_dir=.
13625 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13631 # We did not find ourselves, most probably we were run as `sh COMMAND'
13632 # in which case we are not to be found in the path.
13633 if test "x$as_myself" = x
; then
13636 if test ! -f "$as_myself"; then
13637 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13641 # Unset variables that we do not need and which cause bugs (e.g. in
13642 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13643 # suppresses any "Segmentation fault" message there. '((' could
13644 # trigger a bug in pdksh 5.2.14.
13645 for as_var
in BASH_ENV ENV MAIL MAILPATH
13646 do eval test x\
${$as_var+set} = xset \
13647 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13660 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13663 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13664 # ----------------------------------------
13665 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13666 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13667 # script with STATUS, using 1 if that was 0.
13670 as_status
=$1; test $as_status -eq 0 && as_status
=1
13672 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13673 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13675 $as_echo "$as_me: error: $2" >&2
13676 as_fn_exit
$as_status
13680 # as_fn_set_status STATUS
13681 # -----------------------
13682 # Set $? to STATUS, without forking.
13683 as_fn_set_status
()
13686 } # as_fn_set_status
13688 # as_fn_exit STATUS
13689 # -----------------
13690 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13694 as_fn_set_status
$1
13700 # Portably unset VAR.
13703 { eval $1=; unset $1;}
13705 as_unset
=as_fn_unset
13706 # as_fn_append VAR VALUE
13707 # ----------------------
13708 # Append the text in VALUE to the end of the definition contained in VAR. Take
13709 # advantage of any shell optimizations that allow amortized linear growth over
13710 # repeated appends, instead of the typical quadratic growth present in naive
13712 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13713 eval 'as_fn_append ()
13724 # as_fn_arith ARG...
13725 # ------------------
13726 # Perform arithmetic evaluation on the ARGs, and store the result in the
13727 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13728 # must be portable across $(()) and expr.
13729 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13730 eval 'as_fn_arith ()
13737 as_val
=`expr "$@" || test $? -eq 1`
13742 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13743 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13749 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13750 as_basename
=basename
13755 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13761 as_me
=`$as_basename -- "$0" ||
13762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13763 X"$0" : 'X\(//\)$' \| \
13764 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13766 sed '/^.*\/\([^/][^/]*\)\/*$/{
13780 # Avoid depending upon Character Ranges.
13781 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13782 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13783 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13784 as_cr_digits
='0123456789'
13785 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13787 ECHO_C
= ECHO_N
= ECHO_T
=
13788 case `echo -n x` in #(((((
13790 case `echo 'xy\c'` in
13791 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13793 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13800 rm -f conf$$ conf$$.exe conf$$.
file
13801 if test -d conf$$.dir
; then
13802 rm -f conf$$.dir
/conf$$.
file
13805 mkdir conf$$.dir
2>/dev
/null
13807 if (echo >conf$$.
file) 2>/dev
/null
; then
13808 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13810 # ... but there are two gotchas:
13811 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13812 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13813 # In both cases, we have to default to `cp -pR'.
13814 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13816 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13824 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13825 rmdir conf$$.dir
2>/dev
/null
13830 # Create "$as_dir" as a directory, including parents if necessary.
13835 -*) as_dir
=.
/$as_dir;;
13837 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13841 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13842 *) as_qdir
=$as_dir;;
13844 as_dirs
="'$as_qdir' $as_dirs"
13845 as_dir
=`$as_dirname -- "$as_dir" ||
13846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13847 X"$as_dir" : 'X\(//\)[^/]' \| \
13848 X"$as_dir" : 'X\(//\)$' \| \
13849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13850 $as_echo X"$as_dir" |
13851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13855 /^X\(\/\/\)[^/].*/{
13868 test -d "$as_dir" && break
13870 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13871 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13875 if mkdir
-p .
2>/dev
/null
; then
13876 as_mkdir_p
='mkdir -p "$as_dir"'
13878 test -d .
/-p && rmdir .
/-p
13883 # as_fn_executable_p FILE
13884 # -----------------------
13885 # Test if FILE is an executable regular file.
13886 as_fn_executable_p
()
13888 test -f "$1" && test -x "$1"
13889 } # as_fn_executable_p
13890 as_test_x
='test -x'
13891 as_executable_p
=as_fn_executable_p
13893 # Sed expression to map a string onto a valid CPP name.
13894 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13896 # Sed expression to map a string onto a valid variable name.
13897 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13901 ## ----------------------------------- ##
13902 ## Main body of $CONFIG_STATUS script. ##
13903 ## ----------------------------------- ##
13905 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13908 # Save the log message, to keep $0 and so on meaningful, and to
13909 # report actual input values of CONFIG_FILES etc. instead of their
13910 # values after options handling.
13912 This file was extended by systemtap $as_me 4.3, which was
13913 generated by GNU Autoconf 2.69. Invocation command line was
13915 CONFIG_FILES = $CONFIG_FILES
13916 CONFIG_HEADERS = $CONFIG_HEADERS
13917 CONFIG_LINKS = $CONFIG_LINKS
13918 CONFIG_COMMANDS = $CONFIG_COMMANDS
13921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13926 case $ac_config_files in *"
13927 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13930 case $ac_config_headers in *"
13931 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13936 # Files that config.status was made for.
13937 config_files="$ac_config_files"
13938 config_headers="$ac_config_headers"
13939 config_commands="$ac_config_commands"
13943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13945 \`$as_me' instantiates files and other configuration actions
13946 from templates according to the current configuration. Unless the files
13947 and actions are specified as TAGs, all are instantiated by default.
13949 Usage: $0 [OPTION]... [TAG]...
13951 -h, --help print this help, then exit
13952 -V, --version print version number and configuration settings, then exit
13953 --config print configuration, then exit
13954 -q, --quiet, --silent
13955 do not print progress messages
13956 -d, --debug don't remove temporary files
13957 --recheck update $as_me by reconfiguring in the same conditions
13958 --file=FILE[:TEMPLATE]
13959 instantiate the configuration file FILE
13960 --header=FILE[:TEMPLATE]
13961 instantiate the configuration header FILE
13963 Configuration files:
13966 Configuration headers:
13969 Configuration commands:
13972 Report bugs to <systemtap@sourceware.org>."
13975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13976 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13978 systemtap config.status 4.3
13979 configured by $0, generated by GNU Autoconf 2.69,
13980 with options \\"\$ac_cs_config\\"
13982 Copyright (C) 2012 Free Software Foundation, Inc.
13983 This config.status script is free software; the Free Software Foundation
13984 gives unlimited permission to copy, distribute and modify it."
13991 test -n "\$AWK" || AWK=awk
13994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13995 # The default lists apply if the user does not specify any file.
14001 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14002 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14006 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14018 # Handling of the options.
14019 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14021 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14022 $as_echo "$ac_cs_version"; exit ;;
14023 --config |
--confi |
--conf |
--con |
--co |
--c )
14024 $as_echo "$ac_cs_config"; exit ;;
14025 --debug |
--debu |
--deb |
--de |
--d |
-d )
14027 --file |
--fil |
--fi |
--f )
14030 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14031 '') as_fn_error $?
"missing file argument" ;;
14033 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14034 ac_need_defaults
=false
;;
14035 --header |
--heade |
--head |
--hea )
14038 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14040 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14041 ac_need_defaults
=false
;;
14043 # Conflict between --help and --header
14044 as_fn_error $?
"ambiguous option: \`$1'
14045 Try \`$0 --help' for more information.";;
14046 --help |
--hel |
-h )
14047 $as_echo "$ac_cs_usage"; exit ;;
14048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14049 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14052 # This is an error.
14053 -*) as_fn_error $?
"unrecognized option: \`$1'
14054 Try \`$0 --help' for more information." ;;
14056 *) as_fn_append ac_config_targets
" $1"
14057 ac_need_defaults
=false
;;
14063 ac_configure_extra_args
=
14065 if $ac_cs_silent; then
14067 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14072 if \$ac_cs_recheck; then
14073 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14075 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14076 CONFIG_SHELL='$SHELL'
14077 export CONFIG_SHELL
14082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14086 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14087 ## Running $as_me. ##
14093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14097 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14098 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14099 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
14100 # from automake < 1.5.
14101 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14102 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14103 LINGUAS="${LINGUAS-%UNSET%}"
14108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14110 # Handling of arguments.
14111 for ac_config_target
in $ac_config_targets
14113 case $ac_config_target in
14114 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14115 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
14116 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
14117 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
14118 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14119 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14120 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14121 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
14122 "man/cs/Makefile") CONFIG_FILES
="$CONFIG_FILES man/cs/Makefile" ;;
14123 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
14124 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
14125 "man/stap.1") CONFIG_FILES
="$CONFIG_FILES man/stap.1" ;;
14126 "man/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/stappaths.7" ;;
14127 "man/systemtap-service.8") CONFIG_FILES
="$CONFIG_FILES man/systemtap-service.8" ;;
14128 "man/cs/stap.1") CONFIG_FILES
="$CONFIG_FILES man/cs/stap.1" ;;
14129 "man/cs/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/cs/stappaths.7" ;;
14130 "man/cs/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/cs/systemtap.8" ;;
14131 "initscript/config.systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/config.systemtap" ;;
14132 "initscript/config.stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/config.stap-server" ;;
14133 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
14134 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
14135 "initscript/99stap/module-setup.sh") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/module-setup.sh" ;;
14136 "initscript/99stap/install") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/install" ;;
14137 "initscript/99stap/check") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/check" ;;
14138 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
14139 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
14140 "stapdyn/Makefile") CONFIG_FILES
="$CONFIG_FILES stapdyn/Makefile" ;;
14141 "java/Makefile") CONFIG_FILES
="$CONFIG_FILES java/Makefile" ;;
14142 "java/stapbm") CONFIG_FILES
="$CONFIG_FILES java/stapbm" ;;
14143 "python/Makefile") CONFIG_FILES
="$CONFIG_FILES python/Makefile" ;;
14144 "staprun/Makefile") CONFIG_FILES
="$CONFIG_FILES staprun/Makefile" ;;
14145 "stapbpf/Makefile") CONFIG_FILES
="$CONFIG_FILES stapbpf/Makefile" ;;
14146 "httpd/Makefile") CONFIG_FILES
="$CONFIG_FILES httpd/Makefile" ;;
14147 "httpd/docker/Makefile") CONFIG_FILES
="$CONFIG_FILES httpd/docker/Makefile" ;;
14148 "staprun/run-staprun") CONFIG_FILES
="$CONFIG_FILES staprun/run-staprun" ;;
14149 "staprun/guest/stapshd") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapshd" ;;
14150 "staprun/guest/stapsh-daemon") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh-daemon" ;;
14151 "staprun/guest/stapsh@.service") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh@.service" ;;
14152 "stap-exporter/Makefile") CONFIG_FILES
="$CONFIG_FILES stap-exporter/Makefile" ;;
14153 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
14155 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14160 # If the user did not use the arguments to specify the items to instantiate,
14161 # then the envvar interface is used. Set only those that are not.
14162 # We use the long form for the default assignment because of an extremely
14163 # bizarre bug on SunOS 4.1.3.
14164 if $ac_need_defaults; then
14165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14166 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14167 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14170 # Have a temporary directory for convenience. Make it in the build tree
14171 # simply because there is no reason against having it here, and in addition,
14172 # creating and moving files from /tmp can sometimes cause problems.
14173 # Hook for its removal unless debugging.
14174 # Note that there is a small window in which the directory will not be cleaned:
14175 # after its creation but before its name has been assigned to `$tmp'.
14179 trap 'exit_status=$?
14180 : "${ac_tmp:=$tmp}"
14181 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14183 trap 'as_fn_exit 1' 1 2 13 15
14185 # Create a (secure) tmp directory for tmp files.
14188 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14192 tmp
=.
/conf$$
-$RANDOM
14193 (umask 077 && mkdir
"$tmp")
14194 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14197 # Set up the scripts for CONFIG_FILES section.
14198 # No need to generate them if there are no CONFIG_FILES.
14199 # This happens for instance with `./config.status config.h'.
14200 if test -n "$CONFIG_FILES"; then
14203 ac_cr
=`echo X | tr X '\015'`
14204 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14205 # But we know of no other shell where ac_cr would be empty at this
14206 # point, so we can use a bashism as a fallback.
14207 if test "x$ac_cr" = x
; then
14208 eval ac_cr
=\$
\'\\r
\'
14210 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14211 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14214 ac_cs_awk_cr
=$ac_cr
14217 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14222 echo "cat >conf$$subs.awk <<_ACEOF" &&
14223 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14225 } >conf$$subs.sh ||
14226 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14227 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14229 for ac_last_try in false false false false false :; do
14230 . ./conf$$subs.sh ||
14231 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14233 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14234 if test $ac_delim_n = $ac_delim_num; then
14236 elif $ac_last_try; then
14237 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14239 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14242 rm -f conf$$subs.sh
14244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14245 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14249 s/^/S["/; s
/!.
*/"]=/
14259 s/\(.\{148\}\)..*/\1/
14261 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14266 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14273 s/\(.\{148\}\)..*/\1/
14275 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14279 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14284 ' <conf$$subs.awk | sed '
14289 ' >>$CONFIG_STATUS || ac_write_fail=1
14290 rm -f conf$$subs.awk
14291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14293 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14294 for (key in S) S_is_set[key] = 1
14300 nfields = split(line, field, "@
")
14302 len = length(field[1])
14303 for (i = 2; i < nfields; i++) {
14305 keylen = length(key)
14306 if (S_is_set[key]) {
14308 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14309 len += length(value) + length(field[++i])
14320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14321 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14322 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14325 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14326 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14329 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14330 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14331 # trailing colons and then remove the whole line if VPATH becomes empty
14332 # (actually we leave an empty line to preserve line numbers).
14333 if test "x
$srcdir" = x.; then
14334 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14353 fi # test -n "$CONFIG_FILES"
14355 # Set up the scripts for CONFIG_HEADERS section.
14356 # No need to generate them if there are no CONFIG_HEADERS.
14357 # This happens for instance with `./config.status Makefile'.
14358 if test -n "$CONFIG_HEADERS"; then
14359 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14363 # Transform confdefs.h into an awk script `defines.awk', embedded as
14364 # here-document in config.status, that substitutes the proper values into
14365 # config.h.in to produce config.h.
14367 # Create a delimiter string that does not exist in confdefs.h, to ease
14368 # handling of long lines.
14370 for ac_last_try in false false :; do
14371 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14372 if test -z "$ac_tt"; then
14374 elif $ac_last_try; then
14375 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14377 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14381 # For the awk script, D is an array of macro values keyed by name,
14382 # likewise P contains macro parameters if any. Preserve backslash
14383 # newline sequences.
14385 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14387 s/.\{148\}/&'"$ac_delim"'/g
14390 s/^[ ]*#[ ]*define[ ][ ]*/ /
14397 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14399 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14403 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14404 D["\
1"]=" \
3\\\\\\n
"\\/p
14406 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14411 s/.\{148\}/&'"$ac_delim"'/g
14416 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14419 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14421 ' <confdefs.h | sed '
14422 s/'"$ac_delim"'/"\\\
14423 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14426 for (key in D) D_is_set[key] = 1
14429 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14431 split(line, arg, " ")
14432 if (arg[1] == "#") {
14436 defundef
= substr
(arg
[1], 2)
14439 split(mac1
, mac2
, "(") #)
14441 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14442 if (D_is_set
[macro
]) {
14443 # Preserve the white space surrounding the "#".
14444 print prefix
"define", macro P
[macro
] D
[macro
]
14447 # Replace #undef with comments. This is necessary, for example,
14448 # in the case of _POSIX_SOURCE, which is predefined and required
14449 # on some systems where configure will not decide to define it.
14450 if (defundef
== "undef") {
14451 print
"/*", prefix defundef
, macro
, "*/"
14459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14460 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14461 fi # test -n "$CONFIG_HEADERS"
14464 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14469 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14471 case $ac_mode$ac_tag in
14473 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14474 :[FH
]-) ac_tag
=-:-;;
14475 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14492 -) ac_f
="$ac_tmp/stdin";;
14493 *) # Look for the file first in the build tree, then in the source tree
14494 # (if the path is not absolute). The absolute path cannot be DOS-style,
14495 # because $ac_f cannot contain `:'.
14499 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14501 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14503 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14504 as_fn_append ac_file_inputs
" '$ac_f'"
14507 # Let's still pretend it is `configure' which instantiates (i.e., don't
14508 # use $as_me), people would be surprised to read:
14509 # /* config.h. Generated by config.status. */
14510 configure_input
='Generated from '`
14511 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14513 if test x
"$ac_file" != x-
; then
14514 configure_input
="$ac_file. $configure_input"
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14516 $as_echo "$as_me: creating $ac_file" >&6;}
14518 # Neutralize special characters interpreted by sed in replacement strings.
14519 case $configure_input in #(
14520 *\
&* |
*\|
* |
*\\* )
14521 ac_sed_conf_input
=`$as_echo "$configure_input" |
14522 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14523 *) ac_sed_conf_input
=$configure_input;;
14527 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14528 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14533 ac_dir
=`$as_dirname -- "$ac_file" ||
14534 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14535 X"$ac_file" : 'X\(//\)[^/]' \| \
14536 X"$ac_file" : 'X\(//\)$' \| \
14537 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14538 $as_echo X"$ac_file" |
14539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14543 /^X\(\/\/\)[^/].*/{
14556 as_dir
="$ac_dir"; as_fn_mkdir_p
14560 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14562 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14563 # A ".." for each directory in $ac_dir_suffix.
14564 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14565 case $ac_top_builddir_sub in
14566 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14567 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14570 ac_abs_top_builddir
=$ac_pwd
14571 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14572 # for backward compatibility:
14573 ac_top_builddir
=$ac_top_build_prefix
14576 .
) # We are building in place.
14578 ac_top_srcdir
=$ac_top_builddir_sub
14579 ac_abs_top_srcdir
=$ac_pwd ;;
14580 [\\/]* | ?
:[\\/]* ) # Absolute name.
14581 ac_srcdir
=$srcdir$ac_dir_suffix;
14582 ac_top_srcdir
=$srcdir
14583 ac_abs_top_srcdir
=$srcdir ;;
14584 *) # Relative name.
14585 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14586 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14587 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14589 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14599 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14600 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14602 ac_MKDIR_P
=$MKDIR_P
14604 [\\/$
]* | ?
:[\\/]* ) ;;
14605 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14610 # If the template does not know about datarootdir, expand it.
14611 # FIXME: This hack should be removed a few years after 2.60.
14612 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14623 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14624 *datarootdir
*) ac_datarootdir_seen
=yes;;
14625 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14627 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14630 ac_datarootdir_hack='
14631 s&@datadir@&$datadir&g
14632 s&@docdir@&$docdir&g
14633 s&@infodir@&$infodir&g
14634 s&@localedir@&$localedir&g
14635 s&@mandir@&$mandir&g
14636 s&\\\${datarootdir}&$datarootdir&g' ;;
14640 # Neutralize VPATH when `$srcdir' = `.'.
14641 # Shell code in configure.ac might set extrasub.
14642 # FIXME: do we really want to maintain this feature?
14643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14644 ac_sed_extra="$ac_vpsub
14647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14649 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14650 s|@configure_input@|
$ac_sed_conf_input|
;t t
14651 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14652 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14653 s
&@srcdir@
&$ac_srcdir&;t t
14654 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14655 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14656 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14657 s
&@builddir@
&$ac_builddir&;t t
14658 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14659 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14660 s
&@INSTALL@
&$ac_INSTALL&;t t
14661 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14662 $ac_datarootdir_hack
14664 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14665 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14667 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14668 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14669 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14670 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14672 which seems to be undefined. Please make sure it is defined" >&5
14673 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14674 which seems to be undefined. Please make sure it is defined" >&2;}
14676 rm -f "$ac_tmp/stdin"
14678 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14679 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14681 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14687 if test x"$ac_file" != x-; then
14689 $as_echo "/* $configure_input */" \
14690 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14691 } >"$ac_tmp/config.h" \
14692 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14693 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14695 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14698 mv "$ac_tmp/config.h" "$ac_file" \
14699 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14702 $as_echo "/* $configure_input */" \
14703 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14704 || as_fn_error $? "could not create -" "$LINENO" 5
14706 # Compute "$ac_file"'s index
in $config_headers.
14709 for _am_header
in $config_headers :; do
14710 case $_am_header in
14711 $_am_arg |
$_am_arg:* )
14714 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14717 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14718 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14719 X"$_am_arg" : 'X\(//\)[^/]' \| \
14720 X"$_am_arg" : 'X\(//\)$' \| \
14721 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14722 $as_echo X"$_am_arg" |
14723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14727 /^X\(\/\/\)[^/].*/{
14739 s/.*/./; q'`/stamp-h
$_am_stamp_count
14742 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14743 $as_echo "$as_me: executing $ac_file commands" >&6;}
14748 case $ac_file$ac_mode in
14749 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14750 # Older Autoconf quotes --file arguments for eval, but not when files
14751 # are listed without --file. Let's play safe and only enable the eval
14752 # if we detect the quoting.
14753 # TODO: see whether this extra hack can be removed once we start
14754 # requiring Autoconf 2.70 or later.
14755 case $CONFIG_FILES in #(
14757 eval set x
"$CONFIG_FILES" ;; #(
14759 set x
$CONFIG_FILES ;; #(
14764 # Used to flag and report bootstrapping failures.
14768 # Strip MF so we end up with the name of the file.
14769 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14770 # Check whether this is an Automake generated Makefile which includes
14771 # dependency-tracking related rules and includes.
14772 # Grep'ing the whole file directly is not great: AIX grep has a line
14773 # limit of 2048, but all sed's we know have understand at least 4000.
14774 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
14776 am_dirpart
=`$as_dirname -- "$am_mf" ||
14777 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14778 X"$am_mf" : 'X\(//\)[^/]' \| \
14779 X"$am_mf" : 'X\(//\)$' \| \
14780 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14781 $as_echo X"$am_mf" |
14782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14786 /^X\(\/\/\)[^/].*/{
14799 am_filepart
=`$as_basename -- "$am_mf" ||
14800 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14801 X"$am_mf" : 'X\(//\)$' \| \
14802 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14803 $as_echo X/"$am_mf" |
14804 sed '/^.*\/\([^/][^/]*\)\/*$/{
14817 { echo "$as_me:$LINENO: cd "$am_dirpart" \
14818 && sed -e '/# am--include-marker/d' "$am_filepart" \
14819 | $MAKE -f - am--depfiles" >&5
14820 (cd "$am_dirpart" \
14821 && sed -e '/# am--include-marker/d' "$am_filepart" \
14822 |
$MAKE -f - am--depfiles
) >&5 2>&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } || am_rc
=$?
14827 if test $am_rc -ne 0; then
14828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14830 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
14831 for automatic dependency tracking. Try re-running configure with the
14832 '--disable-dependency-tracking' option to at least be able to build
14833 the package (albeit without support for automatic dependency tracking).
14834 See \`config.log' for more details" "$LINENO" 5; }
14836 { am_dirpart
=; unset am_dirpart
;}
14837 { am_filepart
=; unset am_filepart
;}
14838 { am_mf
=; unset am_mf
;}
14839 { am_rc
=; unset am_rc
;}
14840 rm -f conftest-deps.mk
14843 "po-directories":C
)
14844 for ac_file
in $CONFIG_FILES; do
14845 # Support "outfile[:infile[:infile...]]"
14847 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14849 # PO directories have a Makefile.in generated from Makefile.in.in.
14850 case "$ac_file" in */Makefile.
in)
14851 # Adjust a relative srcdir.
14852 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14853 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
14854 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14855 # In autoconf-2.13 it is called $ac_given_srcdir.
14856 # In autoconf-2.50 it is called $srcdir.
14857 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14858 case "$ac_given_srcdir" in
14859 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14860 /*) top_srcdir
="$ac_given_srcdir" ;;
14861 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14863 # Treat a directory as a PO directory if and only if it has a
14864 # POTFILES.in file. This allows packages to have multiple PO
14865 # directories under different names or in different locations.
14866 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14867 rm -f "$ac_dir/POTFILES"
14868 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14869 gt_tab
=`printf '\t'`
14870 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"
14871 POMAKEFILEDEPS
="POTFILES.in"
14872 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14873 # on $ac_dir but don't depend on user-specified configuration
14875 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14876 # The LINGUAS file contains the set of available languages.
14877 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14878 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14880 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14881 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14882 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14883 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14885 # The set of available languages was given in configure.in.
14886 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14887 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14890 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14891 # Compute UPDATEPOFILES
14892 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14893 # Compute DUMMYPOFILES
14894 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14896 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14897 case "$ac_given_srcdir" in
14899 *) srcdirpre
='$(srcdir)/' ;;
14905 for lang
in $ALL_LINGUAS; do
14906 POFILES
="$POFILES $srcdirpre$lang.po"
14907 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14908 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14909 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14911 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14912 # environment variable.
14914 if test -n "$ALL_LINGUAS"; then
14915 for presentlang
in $ALL_LINGUAS; do
14917 if test "%UNSET%" != "$LINGUAS"; then
14918 desiredlanguages
="$LINGUAS"
14920 desiredlanguages
="$ALL_LINGUAS"
14922 for desiredlang
in $desiredlanguages; do
14923 # Use the presentlang catalog if desiredlang is
14924 # a. equal to presentlang, or
14925 # b. a variant of presentlang (because in this case,
14926 # presentlang can be used as a fallback for messages
14927 # which are not translated in the desiredlang catalog).
14928 case "$desiredlang" in
14929 "$presentlang"*) useit
=yes;;
14932 if test $useit = yes; then
14933 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14938 if test -n "$INST_LINGUAS"; then
14939 for lang
in $INST_LINGUAS; do
14940 CATALOGS
="$CATALOGS $lang.gmo"
14943 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14944 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"
14945 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14946 if test -f "$f"; then
14948 *.orig |
*.bak |
*~
) ;;
14949 *) cat "$f" >> "$ac_dir/Makefile" ;;
14957 "run-stap":F
) chmod +x run-stap
;;
14958 "dtrace":F
) chmod +x dtrace
;;
14959 "java/stapbm":F
) chmod +x java
/stapbm
;;
14960 "staprun/run-staprun":F
) chmod +x staprun
/run-staprun
;;
14961 "staprun/guest/stapshd":F
) chmod +x staprun
/guest
/stapshd
;;
14962 "staprun/guest/stapsh-daemon":F
) chmod +x staprun
/guest
/stapsh-daemon
;;
14963 "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
;;
14971 ac_clean_files
=$ac_clean_files_save
14973 test $ac_write_fail = 0 ||
14974 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14977 # configure is writing to config.log, and then calls config.status.
14978 # config.status does its own redirection, appending to config.log.
14979 # Unfortunately, on DOS this fails, as config.log is still kept open
14980 # by configure, so config.status won't be able to write to it; its
14981 # output is simply discarded. So we exec the FD to /dev/null,
14982 # effectively closing config.log, so it can be properly (re)opened and
14983 # appended to by config.status. When coming back to configure, we
14984 # need to make the FD available again.
14985 if test "$no_create" != yes; then
14987 ac_config_status_args
=
14988 test "$silent" = yes &&
14989 ac_config_status_args
="$ac_config_status_args --quiet"
14991 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14993 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14994 # would make configure fail if this is the last instruction.
14995 $ac_cs_success || as_fn_exit
1
14999 # CONFIG_SUBDIRS section.
15001 if test "$no_recursion" != yes; then
15003 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15004 # so they do not pile up.
15005 ac_sub_configure_args
=
15007 eval "set x $ac_configure_args"
15011 if test -n "$ac_prev"; then
15016 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
15017 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
15018 ac_prev
=cache_file
;;
15019 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
15020 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
15023 --config-cache |
-C)
15025 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
15027 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
15029 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
15031 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
15033 --disable-option-checking)
15037 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15039 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
15043 # Always prepend --prefix to ensure using the same prefix
15044 # in subdir configurations.
15045 ac_arg
="--prefix=$prefix"
15047 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15049 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
15052 if test "$silent" = yes; then
15053 ac_sub_configure_args
="--silent $ac_sub_configure_args"
15056 # Always prepend --disable-option-checking to silence warnings, since
15057 # different subdirs can have different --enable and --with options.
15058 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
15061 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
15063 # Do not complain, so a configure script can configure whichever
15064 # parts of a large source tree are present.
15065 test -d "$srcdir/$ac_dir" ||
continue
15067 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15068 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15069 $as_echo "$ac_msg" >&6
15070 as_dir
="$ac_dir"; as_fn_mkdir_p
15074 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15076 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15077 # A ".." for each directory in $ac_dir_suffix.
15078 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15079 case $ac_top_builddir_sub in
15080 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15081 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15084 ac_abs_top_builddir
=$ac_pwd
15085 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15086 # for backward compatibility:
15087 ac_top_builddir
=$ac_top_build_prefix
15090 .
) # We are building in place.
15092 ac_top_srcdir
=$ac_top_builddir_sub
15093 ac_abs_top_srcdir
=$ac_pwd ;;
15094 [\\/]* | ?
:[\\/]* ) # Absolute name.
15095 ac_srcdir
=$srcdir$ac_dir_suffix;
15096 ac_top_srcdir
=$srcdir
15097 ac_abs_top_srcdir
=$srcdir ;;
15098 *) # Relative name.
15099 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15100 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15101 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15103 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15108 # Check for guested configure; otherwise get Cygnus style configure.
15109 if test -f "$ac_srcdir/configure.gnu"; then
15110 ac_sub_configure
=$ac_srcdir/configure.gnu
15111 elif test -f "$ac_srcdir/configure"; then
15112 ac_sub_configure
=$ac_srcdir/configure
15113 elif test -f "$ac_srcdir/configure.in"; then
15114 # This should be Cygnus configure.
15115 ac_sub_configure
=$ac_aux_dir/configure
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15118 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15122 # The recursion is here.
15123 if test -n "$ac_sub_configure"; then
15124 # Make the cache file name correct relative to the subdirectory.
15125 case $cache_file in
15126 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
15127 *) # Relative name.
15128 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15132 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15133 # The eval makes quoting arguments work.
15134 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15135 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15136 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15142 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15144 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15148 if test "${prefix}" = "/usr/local"; then
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15150 $as_echo "$as_me: " >&6;}
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
15152 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
15154 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
15156 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
15158 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: is not supported." >&5
15160 $as_echo "$as_me: is not supported." >&6;}