2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemtap 3.2.
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
='3.2'
584 PACKAGE_STRING
='systemtap 3.2'
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
654 HAVE_LINUX_BPF_H_FALSE
655 HAVE_LINUX_BPF_H_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
711 XMLTO_STRINGPARAM_FALSE
712 XMLTO_STRINGPARAM_TRUE
731 BUILD_TRANSLATOR_FALSE
732 BUILD_TRANSLATOR_TRUE
766 XGETTEXT_EXTRA_OPTIONS
774 GETTEXT_MACRO_VERSION
806 MAINTAINER_MODE_FALSE
820 INSTALL_STRIP_PROGRAM
874 program_transform_name
887 enable_option_checking
889 enable_maintainer_mode
890 enable_dependency_tracking
924 ac_precious_vars
='build_alias
963 ac_subdirs_all
='testsuite'
965 # Initialize some variables set by options.
967 ac_init_version
=false
968 ac_unrecognized_opts
=
970 # The variables have the same names as the options, with
971 # dashes changed to underlines.
979 program_transform_name
=s
,x
,x
,
987 # Installation directory options.
988 # These are left unexpanded so users can "make install exec_prefix=/foo"
989 # and all the variables that are supposed to be based on exec_prefix
990 # by default will actually change.
991 # Use braces instead of parens because sh, perl, etc. also accept them.
992 # (The list follows the same order as the GNU Coding Standards.)
993 bindir
='${exec_prefix}/bin'
994 sbindir
='${exec_prefix}/sbin'
995 libexecdir
='${exec_prefix}/libexec'
996 datarootdir
='${prefix}/share'
997 datadir
='${datarootdir}'
998 sysconfdir
='${prefix}/etc'
999 sharedstatedir
='${prefix}/com'
1000 localstatedir
='${prefix}/var'
1001 includedir
='${prefix}/include'
1002 oldincludedir
='/usr/include'
1003 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1004 infodir
='${datarootdir}/info'
1009 libdir
='${exec_prefix}/lib'
1010 localedir
='${datarootdir}/locale'
1011 mandir
='${datarootdir}/man'
1017 # If the previous option needs an argument, assign it.
1018 if test -n "$ac_prev"; then
1019 eval $ac_prev=\
$ac_option
1025 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1030 # Accept the important Cygnus configure options, so we can diagnose typos.
1032 case $ac_dashdash$ac_option in
1036 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1038 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1039 bindir
=$ac_optarg ;;
1041 -build |
--build |
--buil |
--bui |
--bu)
1042 ac_prev
=build_alias
;;
1043 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1044 build_alias
=$ac_optarg ;;
1046 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1047 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1048 ac_prev
=cache_file
;;
1049 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1050 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1051 cache_file
=$ac_optarg ;;
1053 --config-cache |
-C)
1054 cache_file
=config.cache
;;
1056 -datadir |
--datadir |
--datadi |
--datad)
1058 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1059 datadir
=$ac_optarg ;;
1061 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1062 |
--dataroo |
--dataro |
--datar)
1063 ac_prev
=datarootdir
;;
1064 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1065 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1066 datarootdir
=$ac_optarg ;;
1068 -disable-* |
--disable-*)
1069 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1072 as_fn_error $?
"invalid feature name: $ac_useropt"
1073 ac_useropt_orig
=$ac_useropt
1074 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1077 "enable_
$ac_useropt"
1079 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1080 ac_unrecognized_sep
=', ';;
1082 eval enable_
$ac_useropt=no
;;
1084 -docdir |
--docdir |
--docdi |
--doc |
--do)
1086 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1087 docdir
=$ac_optarg ;;
1089 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1091 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1092 dvidir
=$ac_optarg ;;
1094 -enable-* |
--enable-*)
1095 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 as_fn_error $?
"invalid feature name: $ac_useropt"
1099 ac_useropt_orig
=$ac_useropt
1100 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1103 "enable_
$ac_useropt"
1105 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1106 ac_unrecognized_sep
=', ';;
1108 eval enable_
$ac_useropt=\
$ac_optarg ;;
1110 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1111 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1112 |
--exec |
--exe |
--ex)
1113 ac_prev
=exec_prefix
;;
1114 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1115 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1116 |
--exec=* |
--exe=* |
--ex=*)
1117 exec_prefix
=$ac_optarg ;;
1119 -gas |
--gas |
--ga |
--g)
1120 # Obsolete; use --with-gas.
1123 -help |
--help |
--hel |
--he |
-h)
1124 ac_init_help
=long
;;
1125 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1126 ac_init_help
=recursive
;;
1127 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1128 ac_init_help
=short
;;
1130 -host |
--host |
--hos |
--ho)
1131 ac_prev
=host_alias
;;
1132 -host=* |
--host=* |
--hos=* |
--ho=*)
1133 host_alias
=$ac_optarg ;;
1135 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1137 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1139 htmldir
=$ac_optarg ;;
1141 -includedir |
--includedir |
--includedi |
--included |
--include \
1142 |
--includ |
--inclu |
--incl |
--inc)
1143 ac_prev
=includedir
;;
1144 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1145 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1146 includedir
=$ac_optarg ;;
1148 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1150 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1151 infodir
=$ac_optarg ;;
1153 -libdir |
--libdir |
--libdi |
--libd)
1155 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1156 libdir
=$ac_optarg ;;
1158 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1159 |
--libexe |
--libex |
--libe)
1160 ac_prev
=libexecdir
;;
1161 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1162 |
--libexe=* |
--libex=* |
--libe=*)
1163 libexecdir
=$ac_optarg ;;
1165 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1166 ac_prev
=localedir
;;
1167 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1168 localedir
=$ac_optarg ;;
1170 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1171 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1172 ac_prev
=localstatedir
;;
1173 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1174 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1175 localstatedir
=$ac_optarg ;;
1177 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1179 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1180 mandir
=$ac_optarg ;;
1182 -nfp |
--nfp |
--nf)
1183 # Obsolete; use --without-fp.
1186 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1187 |
--no-cr |
--no-c |
-n)
1190 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1191 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1194 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1195 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1196 |
--oldin |
--oldi |
--old |
--ol |
--o)
1197 ac_prev
=oldincludedir
;;
1198 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1199 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1200 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1201 oldincludedir
=$ac_optarg ;;
1203 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1205 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1206 prefix
=$ac_optarg ;;
1208 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1209 |
--program-pre |
--program-pr |
--program-p)
1210 ac_prev
=program_prefix
;;
1211 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1212 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1213 program_prefix
=$ac_optarg ;;
1215 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1216 |
--program-suf |
--program-su |
--program-s)
1217 ac_prev
=program_suffix
;;
1218 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1219 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1220 program_suffix
=$ac_optarg ;;
1222 -program-transform-name |
--program-transform-name \
1223 |
--program-transform-nam |
--program-transform-na \
1224 |
--program-transform-n |
--program-transform- \
1225 |
--program-transform |
--program-transfor \
1226 |
--program-transfo |
--program-transf \
1227 |
--program-trans |
--program-tran \
1228 |
--progr-tra |
--program-tr |
--program-t)
1229 ac_prev
=program_transform_name
;;
1230 -program-transform-name=* |
--program-transform-name=* \
1231 |
--program-transform-nam=* |
--program-transform-na=* \
1232 |
--program-transform-n=* |
--program-transform-=* \
1233 |
--program-transform=* |
--program-transfor=* \
1234 |
--program-transfo=* |
--program-transf=* \
1235 |
--program-trans=* |
--program-tran=* \
1236 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1237 program_transform_name
=$ac_optarg ;;
1239 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1241 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1242 pdfdir
=$ac_optarg ;;
1244 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1246 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1249 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1250 |
-silent |
--silent |
--silen |
--sile |
--sil)
1253 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1255 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1257 sbindir
=$ac_optarg ;;
1259 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1260 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1261 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1263 ac_prev
=sharedstatedir
;;
1264 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1265 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1266 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1268 sharedstatedir
=$ac_optarg ;;
1270 -site |
--site |
--sit)
1272 -site=* |
--site=* |
--sit=*)
1275 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1277 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1278 srcdir
=$ac_optarg ;;
1280 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1281 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1282 ac_prev
=sysconfdir
;;
1283 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1284 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1285 sysconfdir
=$ac_optarg ;;
1287 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1288 ac_prev
=target_alias
;;
1289 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1290 target_alias
=$ac_optarg ;;
1292 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1295 -version |
--version |
--versio |
--versi |
--vers |
-V)
1296 ac_init_version
=: ;;
1299 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1300 # Reject names that are not valid shell variable names.
1301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1302 as_fn_error $?
"invalid package name: $ac_useropt"
1303 ac_useropt_orig
=$ac_useropt
1304 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305 case $ac_user_opts in
1309 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1310 ac_unrecognized_sep
=', ';;
1312 eval with_
$ac_useropt=\
$ac_optarg ;;
1314 -without-* |
--without-*)
1315 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1316 # Reject names that are not valid shell variable names.
1317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1318 as_fn_error $?
"invalid package name: $ac_useropt"
1319 ac_useropt_orig
=$ac_useropt
1320 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1321 case $ac_user_opts in
1325 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1326 ac_unrecognized_sep
=', ';;
1328 eval with_
$ac_useropt=no
;;
1331 # Obsolete; use --with-x.
1334 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1335 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1336 ac_prev
=x_includes
;;
1337 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1338 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1339 x_includes
=$ac_optarg ;;
1341 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1342 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1343 ac_prev
=x_libraries
;;
1344 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1345 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1346 x_libraries
=$ac_optarg ;;
1348 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1349 Try \`$0 --help' for more information"
1353 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1354 # Reject names that are not valid shell variable names.
1355 case $ac_envvar in #(
1356 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1357 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1359 eval $ac_envvar=\
$ac_optarg
1360 export $ac_envvar ;;
1363 # FIXME: should be removed in autoconf 3.0.
1364 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1365 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1366 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1367 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1373 if test -n "$ac_prev"; then
1374 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1375 as_fn_error $?
"missing argument to $ac_option"
1378 if test -n "$ac_unrecognized_opts"; then
1379 case $enable_option_checking in
1381 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1382 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1386 # Check all directory arguments for consistency.
1387 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1388 datadir sysconfdir sharedstatedir localstatedir includedir \
1389 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1390 libdir localedir mandir
1392 eval ac_val
=\$
$ac_var
1393 # Remove trailing slashes.
1396 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1397 eval $ac_var=\
$ac_val;;
1399 # Be sure to have absolute directory names.
1401 [\\/$
]* | ?
:[\\/]* ) continue;;
1402 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1404 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1407 # There might be people who depend on the old broken behavior: `$host'
1408 # used to hold the argument of --host etc.
1409 # FIXME: To remove some day.
1412 target
=$target_alias
1414 # FIXME: To remove some day.
1415 if test "x$host_alias" != x
; then
1416 if test "x$build_alias" = x
; then
1417 cross_compiling
=maybe
1418 elif test "x$build_alias" != "x$host_alias"; then
1424 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1426 test "$silent" = yes && exec 6>/dev
/null
1429 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1430 ac_ls_di
=`ls -di .` &&
1431 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1432 as_fn_error $?
"working directory cannot be determined"
1433 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1434 as_fn_error $?
"pwd does not report name of working directory"
1437 # Find the source files, if location was not specified.
1438 if test -z "$srcdir"; then
1439 ac_srcdir_defaulted
=yes
1440 # Try the directory containing this script, then the parent directory.
1441 ac_confdir
=`$as_dirname -- "$as_myself" ||
1442 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1443 X"$as_myself" : 'X\(//\)[^/]' \| \
1444 X"$as_myself" : 'X\(//\)$' \| \
1445 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1446 $as_echo X"$as_myself" |
1447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1465 if test ! -r "$srcdir/$ac_unique_file"; then
1469 ac_srcdir_defaulted
=no
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1472 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1473 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1475 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1477 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1479 # When building in place, set srcdir=.
1480 if test "$ac_abs_confdir" = "$ac_pwd"; then
1483 # Remove unnecessary trailing slashes from srcdir.
1484 # Double slashes in file names in object file debugging info
1485 # mess up M-x gdb in Emacs.
1487 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1489 for ac_var
in $ac_precious_vars; do
1490 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1491 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1492 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1493 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1497 # Report the --help message.
1499 if test "$ac_init_help" = "long"; then
1500 # Omit some internal or obsolete options to make the list less imposing.
1501 # This message is too long to be a string in the A/UX 3.1 sh.
1503 \`configure' configures systemtap 3.2 to adapt to many kinds of systems.
1505 Usage: $0 [OPTION]... [VAR=VALUE]...
1507 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1508 VAR=VALUE. See below for descriptions of some of the useful variables.
1510 Defaults for the options are specified in brackets.
1513 -h, --help display this help and exit
1514 --help=short display options specific to this package
1515 --help=recursive display the short help of all the included packages
1516 -V, --version display version information and exit
1517 -q, --quiet, --silent do not print \`checking ...' messages
1518 --cache-file=FILE cache test results in FILE [disabled]
1519 -C, --config-cache alias for \`--cache-file=config.cache'
1520 -n, --no-create do not create output files
1521 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1523 Installation directories:
1524 --prefix=PREFIX install architecture-independent files in PREFIX
1525 [$ac_default_prefix]
1526 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1529 By default, \`make install' will install all the files in
1530 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1531 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1532 for instance \`--prefix=\$HOME'.
1534 For better control, use the options below.
1536 Fine tuning of the installation directories:
1537 --bindir=DIR user executables [EPREFIX/bin]
1538 --sbindir=DIR system admin executables [EPREFIX/sbin]
1539 --libexecdir=DIR program executables [EPREFIX/libexec]
1540 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1541 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1542 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1543 --libdir=DIR object code libraries [EPREFIX/lib]
1544 --includedir=DIR C header files [PREFIX/include]
1545 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1546 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1547 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1548 --infodir=DIR info documentation [DATAROOTDIR/info]
1549 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1550 --mandir=DIR man documentation [DATAROOTDIR/man]
1551 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1552 --htmldir=DIR html documentation [DOCDIR]
1553 --dvidir=DIR dvi documentation [DOCDIR]
1554 --pdfdir=DIR pdf documentation [DOCDIR]
1555 --psdir=DIR ps documentation [DOCDIR]
1561 --program-prefix=PREFIX prepend PREFIX to installed program names
1562 --program-suffix=SUFFIX append SUFFIX to installed program names
1563 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1566 --build=BUILD configure
for building on BUILD
[guessed
]
1567 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1568 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1572 if test -n "$ac_init_help"; then
1573 case $ac_init_help in
1574 short | recursive
) echo "Configuration of systemtap 3.2:";;
1579 --disable-option-checking ignore unrecognized
--enable/--with options
1580 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1581 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1582 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1583 --disable-silent-rules verbose build output
(undo
: "make V=0")
1584 --enable-maintainer-mode
1585 enable make rules and dependencies not useful
(and
1586 sometimes confusing
) to the casual installer
1587 --enable-dependency-tracking
1588 do not reject slow dependency extractors
1589 --disable-dependency-tracking
1590 speeds up one-time build
1591 --disable-largefile omit support
for large files
1592 --disable-nls do not use Native Language Support
1593 --disable-rpath do not hardcode runtime library paths
1594 --enable-prologues make -P prologue-searching default
1595 --disable-sdt-probes disable process.mark probes
in stap
, staprun
, stapio
1596 --disable-ssp disable gcc stack-protector
1597 --enable-pie enable position-independent-executable
1598 --enable-sqlite build with sqlite support
1599 --disable-translator build only runtime utilities
1600 --enable-crash[=DIRECTORY
]
1601 enable crash extension
(default is disabled
).
1602 Optional DIRECTORY is the path to the crash header
1603 file (needed
if installed
in a non-standard
1605 --enable-docs enable building documentation
(default on
if latex
1607 --enable-refdocs enable building reference documentation
(default on
1608 if other documentation built
).
1609 --enable-htmldocs enable building html documentation
(default off
).
1610 --enable-server enable building of stap-server
(default on
if nss
1612 --enable-virt enable building of stapvirt support
(default on
if
1613 libvirt etc. found
).
1614 --enable-http Enable building http web compilation service
, if
1618 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1619 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1620 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1621 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1622 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1623 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1624 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1625 --without-nss Do not use NSS even
if present
1626 --with-dracutstap=DIR Install dracut module files
in DIR
1627 --with-dracutbindir=DIR Use the dracut binary located
in DIR
1628 --without-avahi Do not use Avahi even
if present
1629 --with-rpm query rpm database
for missing debuginfos
1630 --with-python3 prefer
/usr
/bin
/python3
1631 --with-elfutils=DIRECTORY
1632 find elfutils
source code
in DIRECTORY
1633 --with-dyninst=DIRECTORY
1634 find dyninst headers
/libraries
in DIRECTORY
1635 --without-python2-probes
1636 Disable building python version
2 probe support
,
1637 even
if it is available
1638 --without-python3-probes
1639 Disable building python version
3 probe support
,
1640 even
if it is available
1641 --without-selinux Do not use libselinux even
if present
1642 --with-java=DIRECTORY Specify JDK directory to compile libHelperSDT.so
1643 against
(default is
/usr
/lib
/jvm
/java
)
1644 --with-extra-version=STRING
1645 Add STRING to stap
-V version
1647 Some influential environment variables
:
1648 CC C compiler
command
1649 CFLAGS C compiler flags
1650 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1651 nonstandard directory
<lib dir
>
1652 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1653 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1654 you have headers
in a nonstandard directory
<include dir
>
1656 CXX C
++ compiler
command
1657 CXXFLAGS C
++ compiler flags
1658 PYTHON the Python interpreter
1659 PKG_CONFIG path to pkg-config utility
1661 directories to add to pkg-config
's search path
1663 path overriding pkg-config's built-in search path
1665 C compiler flags
for sqlite3
, overriding pkg-config
1667 linker flags
for sqlite3
, overriding pkg-config
1668 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1669 nss_LIBS linker flags
for nss
, overriding pkg-config
1671 C compiler flags
for avahi
, overriding pkg-config
1672 avahi_LIBS linker flags
for avahi
, overriding pkg-config
1673 CXXCPP C
++ preprocessor
1675 C compiler flags
for libvirt
, overriding pkg-config
1677 linker flags
for libvirt
, overriding pkg-config
1679 C compiler flags
for libxml2
, overriding pkg-config
1681 linker flags
for libxml2
, overriding pkg-config
1683 C compiler flags
for jsonc
, overriding pkg-config
1684 jsonc_LIBS linker flags
for jsonc
, overriding pkg-config
1686 C compiler flags
for ncurses
, overriding pkg-config
1688 linker flags
for ncurses
, overriding pkg-config
1690 C compiler flags
for selinux
, overriding pkg-config
1692 linker flags
for selinux
, overriding pkg-config
1693 libmicrohttpd_CFLAGS
1694 C compiler flags
for libmicrohttpd
, overriding pkg-config
1696 linker flags
for libmicrohttpd
, overriding pkg-config
1697 uuid_CFLAGS C compiler flags
for uuid
, overriding pkg-config
1698 uuid_LIBS linker flags
for uuid
, overriding pkg-config
1700 C compiler flags
for libcurl
, overriding pkg-config
1702 linker flags
for libcurl
, overriding pkg-config
1704 Use these variables to override the choices made by
`configure' or to help
1705 it to find libraries and programs with nonstandard names/locations.
1707 Report bugs to <systemtap@sourceware.org>.
1712 if test "$ac_init_help" = "recursive"; then
1713 # If there are subdirs, report their specific --help.
1714 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1715 test -d "$ac_dir" ||
1716 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1723 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1724 # A ".." for each directory in $ac_dir_suffix.
1725 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1726 case $ac_top_builddir_sub in
1727 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1728 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1731 ac_abs_top_builddir=$ac_pwd
1732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1733 # for backward compatibility:
1734 ac_top_builddir=$ac_top_build_prefix
1737 .) # We are building in place.
1739 ac_top_srcdir=$ac_top_builddir_sub
1740 ac_abs_top_srcdir=$ac_pwd ;;
1741 [\\/]* | ?:[\\/]* ) # Absolute name.
1742 ac_srcdir=$srcdir$ac_dir_suffix;
1743 ac_top_srcdir=$srcdir
1744 ac_abs_top_srcdir=$srcdir ;;
1746 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1747 ac_top_srcdir=$ac_top_build_prefix$srcdir
1748 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1752 cd "$ac_dir" || { ac_status=$?; continue; }
1753 # Check for guested configure.
1754 if test -f "$ac_srcdir/configure.gnu"; then
1756 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1757 elif test -f "$ac_srcdir/configure"; then
1759 $SHELL "$ac_srcdir/configure" --help=recursive
1761 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1763 cd "$ac_pwd" || { ac_status=$?; break; }
1767 test -n "$ac_init_help" && exit $ac_status
1768 if $ac_init_version; then
1770 systemtap configure 3.2
1771 generated by GNU Autoconf 2.69
1773 Copyright (C) 2012 Free Software Foundation, Inc.
1774 This configure script is free software; the Free Software Foundation
1775 gives unlimited permission to copy, distribute and modify it.
1780 ## ------------------------ ##
1781 ## Autoconf initialization. ##
1782 ## ------------------------ ##
1784 # ac_fn_c_try_compile LINENO
1785 # --------------------------
1786 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1787 ac_fn_c_try_compile ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 rm -f conftest.$ac_objext
1791 if { { ac_try="$ac_compile"
1793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1794 *) ac_try_echo
=$ac_try;;
1796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_compile") 2>conftest.err
1800 if test -s conftest.err
; then
1801 grep -v '^ *+' conftest.err
>conftest.er1
1802 cat conftest.er1
>&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } && {
1807 test -z "$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1809 } && test -s conftest.
$ac_objext; then :
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.
$ac_ext >&5
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status
$ac_retval
1820 } # ac_fn_c_try_compile
1822 # ac_fn_c_try_cpp LINENO
1823 # ----------------------
1824 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1827 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1828 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^ *+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } > conftest.i && {
1844 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 as_fn_set_status $ac_retval
1859 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1860 # -------------------------------------------------------
1861 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1862 # the include files in INCLUDES and setting the cache variable VAR
1864 ac_fn_c_check_header_mongrel ()
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 if eval \${$3+:} false; then :
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1877 # Is the header compilable?
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1879 $as_echo_n "checking $2 usability... " >&6; }
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886 ac_header_compiler=yes
1888 ac_header_compiler=no
1890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1892 $as_echo "$ac_header_compiler" >&6; }
1894 # Is the header present?
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1896 $as_echo_n "checking $2 presence... " >&6; }
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1901 if ac_fn_c_try_cpp "$LINENO"; then :
1902 ac_header_preproc=yes
1904 ac_header_preproc=no
1906 rm -f conftest.err conftest.i conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1908 $as_echo "$ac_header_preproc" >&6; }
1910 # So? What about this header?
1911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1914 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1916 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1920 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1922 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1924 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1926 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1928 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1929 ( $as_echo "## --------------------------------------- ##
1930 ## Report this to systemtap@sourceware.org ##
1931 ## --------------------------------------- ##"
1932 ) | sed "s/^/$as_me: WARNING: /" >&2
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if eval \${$3+:} false; then :
1938 $as_echo_n "(cached) " >&6
1940 eval "$3=\$ac_header_compiler"
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 } # ac_fn_c_check_header_mongrel
1950 # ac_fn_c_try_run LINENO
1951 # ----------------------
1952 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1953 # that executables *can* be run.
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 if { { ac_try="$ac_link"
1959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1960 *) ac_try_echo
=$ac_try;;
1962 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964 (eval "$ac_link") 2>&5
1966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1967 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1968 { { case "(($ac_try" in
1969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1970 *) ac_try_echo=$ac_try;;
1972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1973 $as_echo "$ac_try_echo"; } >&5
1974 (eval "$ac_try") 2>&5
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; }; }; then :
1980 $as_echo "$as_me: program exited with status $ac_status" >&5
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.$ac_ext >&5
1984 ac_retval=$ac_status
1986 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 as_fn_set_status $ac_retval
1992 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1993 # -------------------------------------------------------
1994 # Tests whether HEADER exists and can be compiled using the include files in
1995 # INCLUDES, setting the cache variable VAR accordingly.
1996 ac_fn_c_check_header_compile ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2000 $as_echo_n "checking for $2... " >&6; }
2001 if eval \${$3+:} false; then :
2002 $as_echo_n "(cached) " >&6
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2009 if ac_fn_c_try_compile "$LINENO"; then :
2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 } # ac_fn_c_check_header_compile
2023 # ac_fn_cxx_try_compile LINENO
2024 # ----------------------------
2025 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_compile ()
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext
2030 if { { ac_try="$ac_compile"
2032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2033 *) ac_try_echo
=$ac_try;;
2035 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_compile") 2>conftest.err
2039 if test -s conftest.err
; then
2040 grep -v '^ *+' conftest.err
>conftest.er1
2041 cat conftest.er1
>&5
2042 mv -f conftest.er1 conftest.err
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest.
$ac_objext; then :
2051 $as_echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.
$ac_ext >&5
2056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2057 as_fn_set_status
$ac_retval
2059 } # ac_fn_cxx_try_compile
2061 # ac_fn_c_try_link LINENO
2062 # -----------------------
2063 # Try to link conftest.$ac_ext, and return whether this succeeded.
2066 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2067 rm -f conftest.
$ac_objext conftest
$ac_exeext
2068 if { { ac_try
="$ac_link"
2070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2071 *) ac_try_echo=$ac_try;;
2073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2074 $as_echo "$ac_try_echo"; } >&5
2075 (eval "$ac_link") 2>conftest.err
2077 if test -s conftest.err; then
2078 grep -v '^ *+' conftest.err >conftest.er1
2079 cat conftest.er1 >&5
2080 mv -f conftest.er1 conftest.err
2082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2083 test $ac_status = 0; } && {
2084 test -z "$ac_c_werror_flag" ||
2085 test ! -s conftest.err
2086 } && test -s conftest$ac_exeext && {
2087 test "$cross_compiling" = yes ||
2088 test -x conftest$ac_exeext
2092 $as_echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2097 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2098 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2099 # interfere with the next link command; also delete a directory that is
2100 # left behind by Apple's compiler. We do this before executing the actions.
2101 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103 as_fn_set_status $ac_retval
2105 } # ac_fn_c_try_link
2107 # ac_fn_c_check_func LINENO FUNC VAR
2108 # ----------------------------------
2109 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2110 ac_fn_c_check_func ()
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval \${$3+:} false; then :
2116 $as_echo_n "(cached) " >&6
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2120 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2122 #define $2 innocuous_$2
2124 /* System header to define __stub macros and hopefully few prototypes,
2125 which can conflict with char $2 (); below.
2126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2127 <limits.h> exists even on freestanding compilers. */
2130 # include <limits.h>
2132 # include <assert.h>
2137 /* Override any GCC internal prototype to avoid an error.
2138 Use char because int might match the return type of a GCC
2139 builtin and then its argument prototype would still apply. */
2144 /* The GNU C library defines this for functions which it implements
2145 to always fail with ENOSYS. Some functions are actually named
2146 something starting with __ and the normal name is an alias. */
2147 #if defined __stub_$2 || defined __stub___$2
2159 if ac_fn_c_try_link "$LINENO"; then :
2164 rm -f core conftest.err conftest.$ac_objext \
2165 conftest$ac_exeext conftest.$ac_ext
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2170 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2172 } # ac_fn_c_check_func
2174 # ac_fn_cxx_try_cpp LINENO
2175 # ------------------------
2176 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2177 ac_fn_cxx_try_cpp ()
2179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2180 if { { ac_try="$ac_cpp conftest.$ac_ext"
2182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2183 *) ac_try_echo
=$ac_try;;
2185 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2186 $as_echo "$ac_try_echo"; } >&5
2187 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2189 if test -s conftest.err
; then
2190 grep -v '^ *+' conftest.err
>conftest.er1
2191 cat conftest.er1
>&5
2192 mv -f conftest.er1 conftest.err
2194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2195 test $ac_status = 0; } > conftest.i
&& {
2196 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2197 test ! -s conftest.err
2201 $as_echo "$as_me: failed program was:" >&5
2202 sed 's/^/| /' conftest.
$ac_ext >&5
2206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2207 as_fn_set_status
$ac_retval
2209 } # ac_fn_cxx_try_cpp
2211 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2212 # ---------------------------------------------------------
2213 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2214 # the include files in INCLUDES and setting the cache variable VAR
2216 ac_fn_cxx_check_header_mongrel
()
2218 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2219 if eval \
${$3+:} false
; then :
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2221 $as_echo_n "checking for $2... " >&6; }
2222 if eval \
${$3+:} false
; then :
2223 $as_echo_n "(cached) " >&6
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2229 # Is the header compilable?
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2231 $as_echo_n "checking $2 usability... " >&6; }
2232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2237 if ac_fn_cxx_try_compile
"$LINENO"; then :
2238 ac_header_compiler
=yes
2240 ac_header_compiler
=no
2242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2244 $as_echo "$ac_header_compiler" >&6; }
2246 # Is the header present?
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2248 $as_echo_n "checking $2 presence... " >&6; }
2249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h. */
2253 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2254 ac_header_preproc
=yes
2256 ac_header_preproc
=no
2258 rm -f conftest.err conftest.i conftest.
$ac_ext
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2260 $as_echo "$ac_header_preproc" >&6; }
2262 # So? What about this header?
2263 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2266 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2268 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2272 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2274 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2276 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2278 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2280 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2281 ( $as_echo "## --------------------------------------- ##
2282 ## Report this to systemtap@sourceware.org ##
2283 ## --------------------------------------- ##"
2284 ) |
sed "s/^/$as_me: WARNING: /" >&2
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2288 $as_echo_n "checking for $2... " >&6; }
2289 if eval \
${$3+:} false
; then :
2290 $as_echo_n "(cached) " >&6
2292 eval "$3=\$ac_header_compiler"
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2296 $as_echo "$ac_res" >&6; }
2298 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2300 } # ac_fn_cxx_check_header_mongrel
2302 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2303 # ---------------------------------------------
2304 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2306 ac_fn_c_check_decl
()
2308 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2309 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2310 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2312 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2313 if eval \
${$3+:} false
; then :
2314 $as_echo_n "(cached) " >&6
2316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2317 /* end confdefs.h. */
2322 #ifndef $as_decl_name
2324 (void) $as_decl_use;
2326 (void) $as_decl_name;
2334 if ac_fn_c_try_compile
"$LINENO"; then :
2339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2343 $as_echo "$ac_res" >&6; }
2344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2346 } # ac_fn_c_check_decl
2347 cat >config.log
<<_ACEOF
2348 This file contains any messages produced by compilers while
2349 running configure, to aid debugging if configure makes a mistake.
2351 It was created by systemtap $as_me 3.2, which was
2352 generated by GNU Autoconf 2.69. Invocation command line was
2364 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2365 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2366 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2367 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2368 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2370 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2371 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2373 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2374 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2375 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2376 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2377 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2378 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2379 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir
=.
2388 $as_echo "PATH: $as_dir"
2404 # Keep a trace of the command line.
2405 # Strip out --no-create and --no-recursion so they do not pile up.
2406 # Strip out --silent because we don't want to record it for future runs.
2407 # Also quote any args containing shell meta-characters.
2408 # Make two passes to allow for proper duplicate-argument suppression.
2412 ac_must_keep_next
=false
2418 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2419 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2420 |
-silent |
--silent |
--silen |
--sile |
--sil)
2423 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2426 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2428 as_fn_append ac_configure_args1
" '$ac_arg'"
2429 if test $ac_must_keep_next = true
; then
2430 ac_must_keep_next
=false
# Got value, back to normal.
2433 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2434 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2435 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2436 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2437 case "$ac_configure_args0 " in
2438 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2441 -* ) ac_must_keep_next
=true
;;
2444 as_fn_append ac_configure_args
" '$ac_arg'"
2449 { ac_configure_args0
=; unset ac_configure_args0
;}
2450 { ac_configure_args1
=; unset ac_configure_args1
;}
2452 # When interrupted or exit'd, cleanup temporary files, and complete
2453 # config.log. We remove comments because anyway the quotes in there
2454 # would cause problems or look ugly.
2455 # WARNING: Use '\'' to represent an apostrophe within the trap.
2456 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2457 trap 'exit_status=$?
2458 # Save into config.log some information that might help in debugging.
2462 $as_echo "## ---------------- ##
2463 ## Cache variables. ##
2464 ## ---------------- ##"
2466 # The following way of writing the cache mishandles newlines in values,
2468 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2469 eval ac_val=\$$ac_var
2473 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2474 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2477 _ | IFS | as_nl) ;; #(
2478 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2479 *) { eval $ac_var=; unset $ac_var;} ;;
2484 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2485 *${as_nl}ac_space=\ *)
2487 "s/'\''/'\''\\\\'\'''\''/g;
2488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2498 $as_echo "## ----------------- ##
2499 ## Output variables. ##
2500 ## ----------------- ##"
2502 for ac_var in $ac_subst_vars
2504 eval ac_val=\$$ac_var
2506 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2508 $as_echo "$ac_var='\''$ac_val'\''"
2512 if test -n "$ac_subst_files"; then
2513 $as_echo "## ------------------- ##
2514 ## File substitutions. ##
2515 ## ------------------- ##"
2517 for ac_var
in $ac_subst_files
2519 eval ac_val
=\$
$ac_var
2521 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2523 $as_echo "$ac_var='\''$ac_val'\''"
2528 if test -s confdefs.h; then
2529 $as_echo "## ----------- ##
2536 test "$ac_signal" != 0 &&
2537 $as_echo "$as_me: caught signal $ac_signal"
2538 $as_echo "$as_me: exit $exit_status"
2540 rm -f core *.core core.conftest.* &&
2541 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2544 for ac_signal
in 1 2 13 15; do
2545 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2549 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2550 rm -f -r conftest
* confdefs.h
2552 $as_echo "/* confdefs.h */" > confdefs.h
2554 # Predefined preprocessor variables.
2556 cat >>confdefs.h
<<_ACEOF
2557 #define PACKAGE_NAME "$PACKAGE_NAME"
2560 cat >>confdefs.h
<<_ACEOF
2561 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2564 cat >>confdefs.h
<<_ACEOF
2565 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2568 cat >>confdefs.h
<<_ACEOF
2569 #define PACKAGE_STRING "$PACKAGE_STRING"
2572 cat >>confdefs.h
<<_ACEOF
2573 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2576 cat >>confdefs.h
<<_ACEOF
2577 #define PACKAGE_URL "$PACKAGE_URL"
2581 # Let the site file select an alternate cache file if it wants to.
2582 # Prefer an explicitly selected file to automatically selected ones.
2585 if test -n "$CONFIG_SITE"; then
2586 # We do not want a PATH search for config.site.
2587 case $CONFIG_SITE in #((
2588 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2589 */*) ac_site_file1
=$CONFIG_SITE;;
2590 *) ac_site_file1
=.
/$CONFIG_SITE;;
2592 elif test "x$prefix" != xNONE
; then
2593 ac_site_file1
=$prefix/share
/config.site
2594 ac_site_file2
=$prefix/etc
/config.site
2596 ac_site_file1
=$ac_default_prefix/share
/config.site
2597 ac_site_file2
=$ac_default_prefix/etc
/config.site
2599 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2601 test "x$ac_site_file" = xNONE
&& continue
2602 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2604 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2605 sed 's/^/| /' "$ac_site_file" >&5
2607 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2609 as_fn_error $?
"failed to load site script $ac_site_file
2610 See \`config.log' for more details" "$LINENO" 5; }
2614 if test -r "$cache_file"; then
2615 # Some versions of bash will fail to source /dev/null (special files
2616 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2617 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2619 $as_echo "$as_me: loading cache $cache_file" >&6;}
2621 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2622 *) .
"./$cache_file";;
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2627 $as_echo "$as_me: creating cache $cache_file" >&6;}
2631 gt_needs
="$gt_needs "
2632 # Check that the precious variables saved in the cache have kept the same
2634 ac_cache_corrupted
=false
2635 for ac_var
in $ac_precious_vars; do
2636 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2637 eval ac_new_set
=\
$ac_env_${ac_var}_set
2638 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2639 eval ac_new_val
=\
$ac_env_${ac_var}_value
2640 case $ac_old_set,$ac_new_set in
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2643 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2644 ac_cache_corrupted
=: ;;
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2647 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2648 ac_cache_corrupted
=: ;;
2651 if test "x$ac_old_val" != "x$ac_new_val"; then
2652 # differences in whitespace do not lead to failure.
2653 ac_old_val_w
=`echo x $ac_old_val`
2654 ac_new_val_w
=`echo x $ac_new_val`
2655 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2657 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2658 ac_cache_corrupted
=:
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2661 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2662 eval $ac_var=\
$ac_old_val
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2665 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2667 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2670 # Pass precious variables to config.status.
2671 if test "$ac_new_set" = set; then
2673 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2674 *) ac_arg
=$ac_var=$ac_new_val ;;
2676 case " $ac_configure_args " in
2677 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2678 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2682 if $ac_cache_corrupted; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2686 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2687 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2689 ## -------------------- ##
2690 ## Main body of script. ##
2691 ## -------------------- ##
2694 ac_cpp
='$CPP $CPPFLAGS'
2695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2702 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2703 if test -f "$ac_dir/install-sh"; then
2705 ac_install_sh
="$ac_aux_dir/install-sh -c"
2707 elif test -f "$ac_dir/install.sh"; then
2709 ac_install_sh
="$ac_aux_dir/install.sh -c"
2711 elif test -f "$ac_dir/shtool"; then
2713 ac_install_sh
="$ac_aux_dir/shtool install -c"
2717 if test -z "$ac_aux_dir"; then
2718 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2721 # These three variables are undocumented and unsupported,
2722 # and are intended to be withdrawn in a future Autoconf release.
2723 # They can cause serious problems if a builder's source tree is in a directory
2724 # whose full name contains unusual characters.
2725 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2726 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2727 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2730 # Make sure we can run config.sub.
2731 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2732 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2735 $as_echo_n "checking build system type... " >&6; }
2736 if ${ac_cv_build+:} false
; then :
2737 $as_echo_n "(cached) " >&6
2739 ac_build_alias
=$build_alias
2740 test "x$ac_build_alias" = x
&&
2741 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2742 test "x$ac_build_alias" = x
&&
2743 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2744 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2745 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2749 $as_echo "$ac_cv_build" >&6; }
2750 case $ac_cv_build in
2752 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2755 ac_save_IFS
=$IFS; IFS
='-'
2761 # Remember, the first character of IFS is used to create $*,
2762 # except with old shells:
2765 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2769 $as_echo_n "checking host system type... " >&6; }
2770 if ${ac_cv_host+:} false
; then :
2771 $as_echo_n "(cached) " >&6
2773 if test "x$host_alias" = x
; then
2774 ac_cv_host
=$ac_cv_build
2776 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2777 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2782 $as_echo "$ac_cv_host" >&6; }
2785 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2788 ac_save_IFS
=$IFS; IFS
='-'
2794 # Remember, the first character of IFS is used to create $*,
2795 # except with old shells:
2798 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2802 $as_echo_n "checking target system type... " >&6; }
2803 if ${ac_cv_target+:} false
; then :
2804 $as_echo_n "(cached) " >&6
2806 if test "x$target_alias" = x
; then
2807 ac_cv_target
=$ac_cv_host
2809 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2810 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2815 $as_echo "$ac_cv_target" >&6; }
2816 case $ac_cv_target in
2818 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2820 target
=$ac_cv_target
2821 ac_save_IFS
=$IFS; IFS
='-'
2827 # Remember, the first character of IFS is used to create $*,
2828 # except with old shells:
2831 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2834 # The aliases save the names the user supplied, while $host etc.
2835 # will get canonicalized.
2836 test -n "$target_alias" &&
2837 test "$program_prefix$program_suffix$program_transform_name" = \
2839 program_prefix
=${target_alias}-
2842 am__api_version
='1.15'
2844 # Find a good install program. We prefer a C program (faster),
2845 # so one script is as good as another. But avoid the broken or
2846 # incompatible versions:
2847 # SysV /etc/install, /usr/sbin/install
2848 # SunOS /usr/etc/install
2849 # IRIX /sbin/install
2851 # AmigaOS /C/install, which installs bootblocks on floppy discs
2852 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2853 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2854 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2855 # OS/2's system install, which has a completely different semantic
2856 # ./install, which can be erroneously created by make from ./install.sh.
2857 # Reject install programs that cannot install multiple files.
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2859 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2860 if test -z "$INSTALL"; then
2861 if ${ac_cv_path_install+:} false
; then :
2862 $as_echo_n "(cached) " >&6
2864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2868 test -z "$as_dir" && as_dir
=.
2869 # Account for people who put trailing slashes in PATH elements.
2870 case $as_dir/ in #((
2871 .
/ | .
// |
/[cC
]/* | \
2872 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2873 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2876 # OSF1 and SCO ODT 3.0 have their own names for install.
2877 # Don't use installbsd from OSF since it installs stuff as root
2879 for ac_prog
in ginstall scoinst
install; do
2880 for ac_exec_ext
in '' $ac_executable_extensions; do
2881 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2882 if test $ac_prog = install &&
2883 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2884 # AIX install. It has an incompatible calling convention.
2886 elif test $ac_prog = install &&
2887 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2888 # program-specific install script used by HP pwplus--don't use.
2891 rm -rf conftest.one conftest.two conftest.dir
2892 echo one
> conftest.one
2893 echo two
> conftest.two
2895 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2896 test -s conftest.one
&& test -s conftest.two
&&
2897 test -s conftest.dir
/conftest.one
&&
2898 test -s conftest.dir
/conftest.two
2900 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2913 rm -rf conftest.one conftest.two conftest.dir
2916 if test "${ac_cv_path_install+set}" = set; then
2917 INSTALL
=$ac_cv_path_install
2919 # As a last resort, use the slow shell script. Don't cache a
2920 # value for INSTALL within a source directory, because that will
2921 # break other packages using the cache if that directory is
2922 # removed, or if the value is a relative name.
2923 INSTALL
=$ac_install_sh
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2927 $as_echo "$INSTALL" >&6; }
2929 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2930 # It thinks the first close brace ends the variable substitution.
2931 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2933 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2935 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2938 $as_echo_n "checking whether build environment is sane... " >&6; }
2939 # Reject unsafe characters in $srcdir or the absolute working directory
2940 # name. Accept space and tab only in the latter.
2944 *[\\\"\
#\$\&\'\`$am_lf]*)
2945 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2948 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2949 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2952 # Do 'set' in a subshell so we don't clobber the current shell's
2953 # arguments. Must try -L first in case configure is actually a
2954 # symlink; some systems play weird games with the mod time of symlinks
2955 # (eg FreeBSD returns the mod time of the symlink's containing
2959 for am_try
in 1 2; do
2960 echo "timestamp, slept: $am_has_slept" > conftest.
file
2961 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2962 if test "$*" = "X"; then
2964 set X
`ls -t "$srcdir/configure" conftest.file`
2966 if test "$*" != "X $srcdir/configure conftest.file" \
2967 && test "$*" != "X conftest.file $srcdir/configure"; then
2969 # If neither matched, then we have a broken ls. This can happen
2970 # if, for instance, CONFIG_SHELL is bash and it inherits a
2971 # broken ls alias from the environment. This has actually
2972 # happened. Such a system could not be considered "sane".
2973 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2974 alias in your environment" "$LINENO" 5
2976 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2983 test "$2" = conftest.
file
2989 as_fn_error $?
"newly created file is older than distributed files!
2990 Check your system clock" "$LINENO" 5
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2993 $as_echo "yes" >&6; }
2994 # If we didn't sleep, we still need to ensure time stamps of config.status and
2995 # generated files are strictly newer.
2997 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3004 test "$program_prefix" != NONE
&&
3005 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3006 # Use a double $ so make ignores it.
3007 test "$program_suffix" != NONE
&&
3008 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3009 # Double any \ or $.
3010 # By default was `s,x,x', remove it if useless.
3011 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3012 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3014 # Expand $ac_aux_dir to an absolute path.
3015 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3017 if test x
"${MISSING+set}" != xset
; then
3020 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3022 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3025 # Use eval to expand $SHELL
3026 if eval "$MISSING --is-lightweight"; then
3027 am_missing_run
="$MISSING "
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3031 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3034 if test x
"${install_sh+set}" != xset
; then
3037 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3039 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3043 # Installed binaries are usually stripped using 'strip' when the user
3044 # run "make install-strip". However 'strip' might not be the right
3045 # tool to use in cross-compilation environments, therefore Automake
3046 # will honor the 'STRIP' environment variable to overrule this program.
3047 if test "$cross_compiling" != no
; then
3048 if test -n "$ac_tool_prefix"; then
3049 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3050 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; }
3053 if ${ac_cv_prog_STRIP+:} false
; then :
3054 $as_echo_n "(cached) " >&6
3056 if test -n "$STRIP"; then
3057 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3063 test -z "$as_dir" && as_dir
=.
3064 for ac_exec_ext
in '' $ac_executable_extensions; do
3065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3066 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 STRIP
=$ac_cv_prog_STRIP
3077 if test -n "$STRIP"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3079 $as_echo "$STRIP" >&6; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082 $as_echo "no" >&6; }
3087 if test -z "$ac_cv_prog_STRIP"; then
3089 # Extract the first word of "strip", so it can be a program name with args.
3090 set dummy strip
; ac_word
=$2
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092 $as_echo_n "checking for $ac_word... " >&6; }
3093 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3094 $as_echo_n "(cached) " >&6
3096 if test -n "$ac_ct_STRIP"; then
3097 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir
=.
3104 for ac_exec_ext
in '' $ac_executable_extensions; do
3105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_ac_ct_STRIP
="strip"
3107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3117 if test -n "$ac_ct_STRIP"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3119 $as_echo "$ac_ct_STRIP" >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3125 if test "x$ac_ct_STRIP" = x
; then
3128 case $cross_compiling:$ac_tool_warned in
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3132 ac_tool_warned
=yes ;;
3137 STRIP
="$ac_cv_prog_STRIP"
3141 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3144 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3145 if test -z "$MKDIR_P"; then
3146 if ${ac_cv_path_mkdir+:} false
; then :
3147 $as_echo_n "(cached) " >&6
3149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3150 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3153 test -z "$as_dir" && as_dir
=.
3154 for ac_prog
in mkdir gmkdir
; do
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3157 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3158 'mkdir (GNU coreutils) '* | \
3159 'mkdir (coreutils) '* | \
3160 'mkdir (fileutils) '4.1*)
3161 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3171 test -d .
/--version && rmdir .
/--version
3172 if test "${ac_cv_path_mkdir+set}" = set; then
3173 MKDIR_P
="$ac_cv_path_mkdir -p"
3175 # As a last resort, use the slow shell script. Don't cache a
3176 # value for MKDIR_P within a source directory, because that will
3177 # break other packages using the cache if that directory is
3178 # removed, or if the value is a relative name.
3179 MKDIR_P
="$ac_install_sh -d"
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3183 $as_echo "$MKDIR_P" >&6; }
3185 for ac_prog
in gawk mawk nawk
awk
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set dummy
$ac_prog; ac_word
=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if ${ac_cv_prog_AWK+:} false
; then :
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$AWK"; then
3195 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_AWK
="$ac_prog"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 if test -n "$AWK"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3217 $as_echo "$AWK" >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$AWK" && break
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3228 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3230 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3231 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3232 $as_echo_n "(cached) " >&6
3234 cat >conftest.
make <<\_ACEOF
3237 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3239 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3240 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3242 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3244 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3248 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3250 $as_echo "yes" >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3255 SET_MAKE
="MAKE=${MAKE-make}"
3258 rm -rf .tst
2>/dev
/null
3259 mkdir .tst
2>/dev
/null
3260 if test -d .tst
; then
3265 rmdir .tst
2>/dev
/null
3267 # Check whether --enable-silent-rules was given.
3268 if test "${enable_silent_rules+set}" = set; then :
3269 enableval
=$enable_silent_rules;
3272 case $enable_silent_rules in # (((
3273 yes) AM_DEFAULT_VERBOSITY
=0;;
3274 no
) AM_DEFAULT_VERBOSITY
=1;;
3275 *) AM_DEFAULT_VERBOSITY
=1;;
3277 am_make
=${MAKE-make}
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3279 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3280 if ${am_cv_make_support_nested_variables+:} false
; then :
3281 $as_echo_n "(cached) " >&6
3283 if $as_echo 'TRUE=$(BAR$(V))
3289 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3290 am_cv_make_support_nested_variables
=yes
3292 am_cv_make_support_nested_variables
=no
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3296 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3297 if test $am_cv_make_support_nested_variables = yes; then
3299 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3301 AM_V
=$AM_DEFAULT_VERBOSITY
3302 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3306 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3307 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3308 # is not polluted with repeated "-I."
3309 am__isrc
=' -I$(srcdir)'
3310 # test to see if srcdir already configured
3311 if test -f $srcdir/config.status
; then
3312 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3316 # test whether we have cygpath
3317 if test -z "$CYGPATH_W"; then
3318 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3319 CYGPATH_W
='cygpath -w'
3326 # Define the identity of the package.
3331 cat >>confdefs.h
<<_ACEOF
3332 #define PACKAGE "$PACKAGE"
3336 cat >>confdefs.h
<<_ACEOF
3337 #define VERSION "$VERSION"
3340 # Some tools Automake needs.
3342 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3345 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3348 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3351 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3354 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3356 # For better backward compatibility. To be removed once Automake 1.9.x
3357 # dies out for good. For more background, see:
3358 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3359 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3360 mkdir_p
='$(MKDIR_P)'
3362 # We need awk for the "check" target (and possibly the TAP driver). The
3363 # system "awk" is bad on some platforms.
3364 # Always define AMTAR for backward compatibility. Yes, it's still used
3365 # in the wild :-( We should find a proper way to deprecate it ...
3369 # We'll loop over all known methods to create a tar archive until one works.
3370 _am_tools
='gnutar pax cpio none'
3372 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3379 # POSIX will say in a future version that running "rm -f" with no argument
3380 # is OK; and we want to be able to make that assumption in our Makefile
3381 # recipes. So use an aggressive probe to check that the usage we want is
3382 # actually supported "in the wild" to an acceptable degree.
3383 # See automake bug#10828.
3384 # To make any issue more visible, cause the running configure to be aborted
3385 # by default if the 'rm' program in use doesn't match our expectations; the
3386 # user can still override this though.
3387 if rm -f && rm -fr && rm -rf; then : OK
; else
3391 Your 'rm' program seems unable to run without file operands specified
3392 on the command line, even when the '-f' option is present. This is contrary
3393 to the behaviour of most rm programs out there, and not conforming with
3394 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3396 Please tell bug-automake@gnu.org about your system, including the value
3397 of your $PATH and any error possibly output before this message. This
3398 can help us improve future automake versions.
3401 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3402 echo 'Configuration will proceed anyway, since you have set the' >&2
3403 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3407 Aborting the configuration process, to ensure you take notice of the issue.
3409 You can download and install GNU coreutils to get an 'rm' implementation
3410 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3412 If you want to complete the configuration process using your problematic
3413 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3414 to "yes", and re-run configure.
3417 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3423 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3424 # Check whether --enable-maintainer-mode was given.
3425 if test "${enable_maintainer_mode+set}" = set; then :
3426 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3428 USE_MAINTAINER_MODE
=no
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3432 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3433 if test $USE_MAINTAINER_MODE = yes; then
3434 MAINTAINER_MODE_TRUE
=
3435 MAINTAINER_MODE_FALSE
='#'
3437 MAINTAINER_MODE_TRUE
='#'
3438 MAINTAINER_MODE_FALSE
=
3441 MAINT
=$MAINTAINER_MODE_TRUE
3445 # Check whether --enable-silent-rules was given.
3446 if test "${enable_silent_rules+set}" = set; then :
3447 enableval
=$enable_silent_rules;
3450 case $enable_silent_rules in # (((
3451 yes) AM_DEFAULT_VERBOSITY
=0;;
3452 no
) AM_DEFAULT_VERBOSITY
=1;;
3453 *) AM_DEFAULT_VERBOSITY
=0;;
3455 am_make
=${MAKE-make}
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3457 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3458 if ${am_cv_make_support_nested_variables+:} false
; then :
3459 $as_echo_n "(cached) " >&6
3461 if $as_echo 'TRUE=$(BAR$(V))
3467 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3468 am_cv_make_support_nested_variables
=yes
3470 am_cv_make_support_nested_variables
=no
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3474 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3475 if test $am_cv_make_support_nested_variables = yes; then
3477 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3479 AM_V
=$AM_DEFAULT_VERBOSITY
3480 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3485 DEPDIR="${am__leading_dot}deps"
3487 ac_config_commands="$ac_config_commands depfiles"
3490 am_make=${MAKE-make}
3491 cat > confinc << 'END
'
3493 @echo this is the am__doit target
3496 # If we don't
find an include directive
, just comment out the code.
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3498 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3502 # First try GNU make style include.
3503 echo "include confinc" > confmf
3504 # Ignore all kinds of additional output from 'make'.
3505 case `$am_make -s -f confmf 2> /dev/null` in #(
3506 *the\ am__doit\ target
*)
3512 # Now try BSD make style include.
3513 if test "$am__include" = "#"; then
3514 echo '.include "confinc"' > confmf
3515 case `$am_make -s -f confmf 2> /dev/null` in #(
3516 *the\ am__doit\ target
*)
3517 am__include
=.include
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3526 $as_echo "$_am_result" >&6; }
3527 rm -f confinc confmf
3529 # Check whether --enable-dependency-tracking was given.
3530 if test "${enable_dependency_tracking+set}" = set; then :
3531 enableval
=$enable_dependency_tracking;
3534 if test "x$enable_dependency_tracking" != xno
; then
3535 am_depcomp
="$ac_aux_dir/depcomp"
3539 if test "x$enable_dependency_tracking" != xno; then
3549 ac_cpp
='$CPP $CPPFLAGS'
3550 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3551 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3552 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3553 if test -n "$ac_tool_prefix"; then
3554 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3555 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if ${ac_cv_prog_CC+:} false
; then :
3559 $as_echo_n "(cached) " >&6
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC
="$CC" # Let the user override the test.
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 for ac_exec_ext
in '' $ac_executable_extensions; do
3570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3571 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 if test -n "$CC"; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3584 $as_echo "$CC" >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3592 if test -z "$ac_cv_prog_CC"; then
3594 # Extract the first word of "gcc", so it can be a program name with args.
3595 set dummy gcc
; ac_word
=$2
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3597 $as_echo_n "checking for $ac_word... " >&6; }
3598 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3599 $as_echo_n "(cached) " >&6
3601 if test -n "$ac_ct_CC"; then
3602 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3608 test -z "$as_dir" && as_dir
=.
3609 for ac_exec_ext
in '' $ac_executable_extensions; do
3610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3611 ac_cv_prog_ac_ct_CC
="gcc"
3612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3622 if test -n "$ac_ct_CC"; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3624 $as_echo "$ac_ct_CC" >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 $as_echo "no" >&6; }
3630 if test "x$ac_ct_CC" = x
; then
3633 case $cross_compiling:$ac_tool_warned in
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3637 ac_tool_warned
=yes ;;
3645 if test -z "$CC"; then
3646 if test -n "$ac_tool_prefix"; then
3647 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3648 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if ${ac_cv_prog_CC+:} false
; then :
3652 $as_echo_n "(cached) " >&6
3654 if test -n "$CC"; then
3655 ac_cv_prog_CC
="$CC" # Let the user override the test.
3657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir
=.
3662 for ac_exec_ext
in '' $ac_executable_extensions; do
3663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 if test -n "$CC"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3677 $as_echo "$CC" >&6; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3686 if test -z "$CC"; then
3687 # Extract the first word of "cc", so it can be a program name with args.
3688 set dummy cc
; ac_word
=$2
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3690 $as_echo_n "checking for $ac_word... " >&6; }
3691 if ${ac_cv_prog_CC+:} false
; then :
3692 $as_echo_n "(cached) " >&6
3694 if test -n "$CC"; then
3695 ac_cv_prog_CC
="$CC" # Let the user override the test.
3698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir
=.
3703 for ac_exec_ext
in '' $ac_executable_extensions; do
3704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3705 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3706 ac_prog_rejected
=yes
3710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 if test $ac_prog_rejected = yes; then
3718 # We found a bogon in the path, so make sure we never use it.
3719 set dummy
$ac_cv_prog_CC
3721 if test $# != 0; then
3722 # We chose a different compiler from the bogus one.
3723 # However, it has the same basename, so the bogon will be chosen
3724 # first if we set CC to just the basename; use the full file name.
3726 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3742 if test -z "$CC"; then
3743 if test -n "$ac_tool_prefix"; then
3744 for ac_prog
in cl.exe
3746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3747 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_CC+:} false
; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$CC"; then
3754 ac_cv_prog_CC
="$CC" # Let the user override the test.
3756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir
=.
3761 for ac_exec_ext
in '' $ac_executable_extensions; do
3762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3763 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 if test -n "$CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3776 $as_echo "$CC" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3783 test -n "$CC" && break
3786 if test -z "$CC"; then
3788 for ac_prog
in cl.exe
3790 # Extract the first word of "$ac_prog", so it can be a program name with args.
3791 set dummy
$ac_prog; ac_word
=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3795 $as_echo_n "(cached) " >&6
3797 if test -n "$ac_ct_CC"; then
3798 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir
=.
3805 for ac_exec_ext
in '' $ac_executable_extensions; do
3806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3807 ac_cv_prog_ac_ct_CC
="$ac_prog"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3818 if test -n "$ac_ct_CC"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3820 $as_echo "$ac_ct_CC" >&6; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3827 test -n "$ac_ct_CC" && break
3830 if test "x$ac_ct_CC" = x
; then
3833 case $cross_compiling:$ac_tool_warned in
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3837 ac_tool_warned
=yes ;;
3846 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error $?
"no acceptable C compiler found in \$PATH
3849 See \`config.log' for more details" "$LINENO" 5; }
3851 # Provide some information about the compiler.
3852 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3855 for ac_option
in --version -v -V -qversion; do
3856 { { ac_try
="$ac_compiler $ac_option >&5"
3858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3862 $as_echo "$ac_try_echo"; } >&5
3863 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3865 if test -s conftest.err; then
3867 ... rest of stderr output deleted ...
3868 10q' conftest.err >conftest.er1
3869 cat conftest.er1 >&5
3871 rm -f conftest.er1 conftest.err
3872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873 test $ac_status = 0; }
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3887 ac_clean_files_save=$ac_clean_files
3888 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3889 # Try to create an executable without -o first, disregard a.out.
3890 # It will help us diagnose broken compilers, and finding out an intuition
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3893 $as_echo_n "checking whether the C compiler works... " >&6; }
3894 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3896 # The possible output files:
3897 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3900 for ac_file in $ac_files
3903 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3904 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3909 if { { ac_try="$ac_link_default"
3911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3912 *) ac_try_echo
=$ac_try;;
3914 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3915 $as_echo "$ac_try_echo"; } >&5
3916 (eval "$ac_link_default") 2>&5
3918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3919 test $ac_status = 0; }; then :
3920 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3921 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3922 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3923 # so that the user can short-circuit this test for compilers unknown to
3925 for ac_file
in $ac_files ''
3927 test -f "$ac_file" ||
continue
3929 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3932 # We found the default executable, but exeext='' is most
3936 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3938 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3940 # We set ac_cv_exeext here because the later test for it is not
3941 # safe: cross compilers may not add the suffix if given an `-o'
3942 # argument, so we may need to know it at that point already.
3943 # Even if this section looks crufty: it has the advantage of
3950 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3955 if test -z "$ac_file"; then :
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3958 $as_echo "$as_me: failed program was:" >&5
3959 sed 's/^/| /' conftest.
$ac_ext >&5
3961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3963 as_fn_error
77 "C compiler cannot create executables
3964 See \`config.log' for more details" "$LINENO" 5; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3967 $as_echo "yes" >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3970 $as_echo_n "checking for C compiler default output file name... " >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3972 $as_echo "$ac_file" >&6; }
3973 ac_exeext
=$ac_cv_exeext
3975 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3976 ac_clean_files
=$ac_clean_files_save
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3978 $as_echo_n "checking for suffix of executables... " >&6; }
3979 if { { ac_try
="$ac_link"
3981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$ac_try_echo"; } >&5
3986 (eval "$ac_link") 2>&5
3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989 test $ac_status = 0; }; then :
3990 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3991 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3992 # work properly (i.e., refer to `conftest.exe'), while it won't with
3994 for ac_file
in conftest.exe conftest conftest.
*; do
3995 test -f "$ac_file" ||
continue
3997 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3998 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4007 See \`config.log' for more details" "$LINENO" 5; }
4009 rm -f conftest conftest
$ac_cv_exeext
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4011 $as_echo "$ac_cv_exeext" >&6; }
4013 rm -f conftest.
$ac_ext
4014 EXEEXT
=$ac_cv_exeext
4016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4022 FILE *f = fopen ("conftest.out", "w");
4023 return ferror (f) || fclose (f) != 0;
4029 ac_clean_files
="$ac_clean_files conftest.out"
4030 # Check that the compiler produces executables we can run. If not, either
4031 # the compiler is broken, or we cross compile.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4033 $as_echo_n "checking whether we are cross compiling... " >&6; }
4034 if test "$cross_compiling" != yes; then
4035 { { ac_try
="$ac_link"
4037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4041 $as_echo "$ac_try_echo"; } >&5
4042 (eval "$ac_link") 2>&5
4044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045 test $ac_status = 0; }
4046 if { ac_try='./conftest$ac_cv_exeext'
4047 { { case "(($ac_try" in
4048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4049 *) ac_try_echo
=$ac_try;;
4051 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_try") 2>&5
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }; }; then
4059 if test "$cross_compiling" = maybe
; then
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error $?
"cannot run C compiled programs.
4065 If you meant to cross compile, use \`--host'.
4066 See \`config.log' for more details" "$LINENO" 5; }
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4071 $as_echo "$cross_compiling" >&6; }
4073 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4074 ac_clean_files
=$ac_clean_files_save
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4076 $as_echo_n "checking for suffix of object files... " >&6; }
4077 if ${ac_cv_objext+:} false
; then :
4078 $as_echo_n "(cached) " >&6
4080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4091 rm -f conftest.o conftest.obj
4092 if { { ac_try
="$ac_compile"
4094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_compile") 2>&5
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 for ac_file in conftest.o conftest.obj conftest.*; do
4104 test -f "$ac_file" || continue;
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4107 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4112 $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4118 See \
`config.log' for more details" "$LINENO" 5; }
4120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4123 $as_echo "$ac_cv_objext" >&6; }
4124 OBJEXT=$ac_cv_objext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4127 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4128 if ${ac_cv_c_compiler_gnu+:} false; then :
4129 $as_echo_n "(cached) " >&6
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4145 if ac_fn_c_try_compile "$LINENO"; then :
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4155 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4156 if test $ac_compiler_gnu = yes; then
4161 ac_test_CFLAGS=${CFLAGS+set}
4162 ac_save_CFLAGS=$CFLAGS
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4164 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4165 if ${ac_cv_prog_cc_g+:} false; then :
4166 $as_echo_n "(cached) " >&6
4168 ac_save_c_werror_flag=$ac_c_werror_flag
4169 ac_c_werror_flag=yes
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4183 if ac_fn_c_try_compile "$LINENO"; then :
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4198 if ac_fn_c_try_compile "$LINENO"; then :
4201 ac_c_werror_flag=$ac_save_c_werror_flag
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4214 if ac_fn_c_try_compile "$LINENO"; then :
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4225 $as_echo "$ac_cv_prog_cc_g" >&6; }
4226 if test "$ac_test_CFLAGS" = set; then
4227 CFLAGS=$ac_save_CFLAGS
4228 elif test $ac_cv_prog_cc_g = yes; then
4229 if test "$GCC" = yes; then
4235 if test "$GCC" = yes; then
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4242 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4243 if ${ac_cv_prog_cc_c89+:} false; then :
4244 $as_echo_n "(cached) " >&6
4246 ac_cv_prog_cc_c89=no
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4253 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4254 struct buf { int x; };
4255 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4256 static char *e (p, i)
4262 static char *f (char * (*g) (char **, int), char **p, ...)
4267 s = g (p, va_arg (v,int));
4272 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4273 function prototypes and stuff, but not '\xHH' hex character constants.
4274 These don't provoke an error unfortunately, instead are silently treated
4275 as 'x'. The following induces an error, until -std is added to get
4276 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4277 array size at least. It's necessary to write '\x00'==0 to get something
4278 that's true only with -std. */
4279 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4281 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4282 inside strings and character constants. */
4284 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4286 int test (int i, double x);
4287 struct s1 {int (*f) (int a);};
4288 struct s2 {int (*f) (double a);};
4289 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4295 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4300 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4301 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4303 CC="$ac_save_CC $ac_arg"
4304 if ac_fn_c_try_compile "$LINENO"; then :
4305 ac_cv_prog_cc_c89=$ac_arg
4307 rm -f core conftest.err conftest.$ac_objext
4308 test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 rm -f conftest.$ac_ext
4315 case "x$ac_cv_prog_cc_c89" in
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4318 $as_echo "none needed" >&6; } ;;
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4321 $as_echo "unsupported" >&6; } ;;
4323 CC="$CC $ac_cv_prog_cc_c89"
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4325 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 if test "x$ac_cv_prog_cc_c89" != xno; then :
4332 ac_cpp='$CPP $CPPFLAGS'
4333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4338 ac_cpp='$CPP $CPPFLAGS'
4339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4343 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4344 if ${am_cv_prog_cc_c_o+:} false; then :
4345 $as_echo_n "(cached) " >&6
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4358 # Make sure it works both with $CC and with simple cc.
4359 # Following AC_PROG_CC_C_O, we do the test twice because some
4360 # compilers refuse to overwrite an existing .o file with -o,
4361 # though they will create one.
4362 am_cv_prog_cc_c_o=yes
4364 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4365 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } \
4369 && test -f conftest2.$ac_objext; then
4372 am_cv_prog_cc_c_o=no
4376 rm -f core conftest*
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4380 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4381 if test "$am_cv_prog_cc_c_o" != yes; then
4382 # Losing compiler, so override with the script.
4383 # FIXME: It is wrong to rewrite CC.
4384 # But if we don't then we get into trouble of one sort or another.
4385 # A longer-term fix would be to have automake use am__CC in this case,
4386 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4387 CC="$am_aux_dir/compile $CC"
4390 ac_cpp='$CPP $CPPFLAGS'
4391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4396 depcc="$CC" am_compiler_list=
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4399 $as_echo_n "checking dependency style of $depcc... " >&6; }
4400 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4404 # We make a subdir and do the tests there. Otherwise we can end up
4405 # making bogus files that we don't know about and never remove. For
4406 # instance it was reported that on HP-UX the gcc test will end up
4407 # making a dummy file named 'D' -- because '-MD' means "put the output
4411 # Copy depcomp to subdir because otherwise we won't find it if we're
4412 # using a relative directory.
4413 cp "$am_depcomp" conftest.dir
4415 # We will build objects and dependencies in a subdirectory because
4416 # it helps to detect inapplicable dependency modes. For instance
4417 # both Tru64's cc and ICC support -MD to output dependencies as a
4418 # side effect of compilation, but ICC will put the dependencies in
4419 # the current directory while Tru64 will put them in the object
4423 am_cv_CC_dependencies_compiler_type=none
4424 if test "$am_compiler_list" = ""; then
4425 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4428 case " $depcc " in #(
4429 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4432 for depmode in $am_compiler_list; do
4433 # Setup a source with many dependencies, because some compilers
4434 # like to wrap large dependency lists on column 80 (with \), and
4435 # we should not choose a depcomp mode which is confused by this.
4437 # We need to recreate these files for each test, as the compiler may
4438 # overwrite some of them when testing with obscure command lines.
4439 # This happens at least with the AIX C compiler.
4441 for i in 1 2 3 4 5 6; do
4442 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4443 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4444 # Solaris 10 /bin/sh.
4445 echo '/* dummy */' > sub/conftst$i.h
4447 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4449 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4450 # mode. It turns out that the SunPro C++ compiler does not properly
4451 # handle '-M -o', and we need to detect this. Also, some Intel
4452 # versions had trouble with output in subdirs.
4453 am__obj=sub/conftest.${OBJEXT-o}
4454 am__minus_obj="-o $am__obj"
4457 # This depmode causes a compiler race in universal mode.
4458 test "$am__universal" = false || continue
4461 # After this tag, mechanisms are not by side-effect, so they'll
4462 # only be used when explicitly requested.
4463 if test "x$enable_dependency_tracking" = xyes; then
4469 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4470 # This compiler won't grok '-c -o', but also, the minuso test has
4471 # not run yet. These depmodes are late enough in the game, and
4472 # so weak that their functioning should not be impacted.
4473 am__obj=conftest.${OBJEXT-o}
4478 if depmode=$depmode \
4479 source=sub/conftest.c object=$am__obj \
4480 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4481 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4482 >/dev/null 2>conftest.err &&
4483 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4484 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4485 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4486 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4487 # icc doesn't choke on unknown options, it will just issue warnings
4488 # or remarks (even with -Werror). So we grep stderr for any message
4489 # that says an option was ignored or not supported.
4490 # When given -MP, icc 7.0 and 7.1 complain thusly:
4491 # icc: Command line warning: ignoring option '-M'; no argument required
4492 # The diagnosis changed in icc 8.0:
4493 # icc: Command line remark: option '-MP' not supported
4494 if (grep 'ignoring option' conftest.err ||
4495 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4496 am_cv_CC_dependencies_compiler_type=$depmode
4505 am_cv_CC_dependencies_compiler_type=none
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4510 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4511 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4514 test "x$enable_dependency_tracking" != xno \
4515 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4517 am__fastdepCC_FALSE='#'
4519 am__fastdepCC_TRUE='#'
4520 am__fastdepCC_FALSE=
4526 ac_cpp='$CPP $CPPFLAGS'
4527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4531 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4532 # On Suns, sometimes $CPP names a directory.
4533 if test -n "$CPP" && test -d "$CPP"; then
4536 if test -z "$CPP"; then
4537 if ${ac_cv_prog_CPP+:} false; then :
4538 $as_echo_n "(cached) " >&6
4540 # Double quotes because CPP needs to be expanded
4541 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4544 for ac_c_preproc_warn_flag in '' yes
4546 # Use a header file that comes with gcc, so configuring glibc
4547 # with a fresh cross-compiler works.
4548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4549 # <limits.h> exists even on freestanding compilers.
4550 # On the NeXT, cc -E runs the code through the compiler's parser,
4551 # not just through cpp. "Syntax error" is here to catch this case.
4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4555 # include <limits.h>
4557 # include <assert.h>
4561 if ac_fn_c_try_cpp "$LINENO"; then :
4564 # Broken: fails on valid input.
4567 rm -f conftest.err conftest.i conftest.$ac_ext
4569 # OK, works on sane cases. Now check whether nonexistent headers
4570 # can be detected and how.
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4573 #include <ac_nonexistent.h>
4575 if ac_fn_c_try_cpp "$LINENO"; then :
4576 # Broken: success on invalid input.
4579 # Passes both tests.
4583 rm -f conftest.err conftest.i conftest.$ac_ext
4586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4587 rm -f conftest.i conftest.err conftest.
$ac_ext
4588 if $ac_preproc_ok; then :
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4601 $as_echo "$CPP" >&6; }
4603 for ac_c_preproc_warn_flag
in '' yes
4605 # Use a header file that comes with gcc, so configuring glibc
4606 # with a fresh cross-compiler works.
4607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4608 # <limits.h> exists even on freestanding compilers.
4609 # On the NeXT, cc -E runs the code through the compiler's parser,
4610 # not just through cpp. "Syntax error" is here to catch this case.
4611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4614 # include <limits.h>
4616 # include <assert.h>
4620 if ac_fn_c_try_cpp
"$LINENO"; then :
4623 # Broken: fails on valid input.
4626 rm -f conftest.err conftest.i conftest.
$ac_ext
4628 # OK, works on sane cases. Now check whether nonexistent headers
4629 # can be detected and how.
4630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4632 #include <ac_nonexistent.h>
4634 if ac_fn_c_try_cpp
"$LINENO"; then :
4635 # Broken: success on invalid input.
4638 # Passes both tests.
4642 rm -f conftest.err conftest.i conftest.
$ac_ext
4645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4646 rm -f conftest.i conftest.err conftest.
$ac_ext
4647 if $ac_preproc_ok; then :
4650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4652 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4653 See \`config.log' for more details" "$LINENO" 5; }
4657 ac_cpp
='$CPP $CPPFLAGS'
4658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4664 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4665 if ${ac_cv_path_GREP+:} false
; then :
4666 $as_echo_n "(cached) " >&6
4668 if test -z "$GREP"; then
4669 ac_path_GREP_found
=false
4670 # Loop through the user's path and test for each of PROGNAME-LIST
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_prog
in grep ggrep
; do
4677 for ac_exec_ext
in '' $ac_executable_extensions; do
4678 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4679 as_fn_executable_p
"$ac_path_GREP" ||
continue
4680 # Check for GNU ac_path_GREP and select it if it is found.
4681 # Check for GNU $ac_path_GREP
4682 case `"$ac_path_GREP" --version 2>&1` in
4684 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4687 $as_echo_n 0123456789 >"conftest.in"
4690 cat "conftest.in" "conftest.in" >"conftest.tmp"
4691 mv "conftest.tmp" "conftest.in"
4692 cp "conftest.in" "conftest.nl"
4693 $as_echo 'GREP' >> "conftest.nl"
4694 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4695 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4696 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4697 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4698 # Best one so far, save it but keep looking for a better one
4699 ac_cv_path_GREP
="$ac_path_GREP"
4700 ac_path_GREP_max
=$ac_count
4702 # 10*(2^10) chars as input seems more than enough
4703 test $ac_count -gt 10 && break
4705 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4708 $ac_path_GREP_found && break 3
4713 if test -z "$ac_cv_path_GREP"; then
4714 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4717 ac_cv_path_GREP
=$GREP
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4722 $as_echo "$ac_cv_path_GREP" >&6; }
4723 GREP
="$ac_cv_path_GREP"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4727 $as_echo_n "checking for egrep... " >&6; }
4728 if ${ac_cv_path_EGREP+:} false
; then :
4729 $as_echo_n "(cached) " >&6
4731 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4732 then ac_cv_path_EGREP
="$GREP -E"
4734 if test -z "$EGREP"; then
4735 ac_path_EGREP_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 egrep; do
4743 for ac_exec_ext
in '' $ac_executable_extensions; do
4744 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4745 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4746 # Check for GNU ac_path_EGREP and select it if it is found.
4747 # Check for GNU $ac_path_EGREP
4748 case `"$ac_path_EGREP" --version 2>&1` in
4750 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_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 'EGREP' >> "conftest.nl"
4760 "$ac_path_EGREP" 'EGREP$' < "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_EGREP_max-0}; then
4764 # Best one so far, save it but keep looking for a better one
4765 ac_cv_path_EGREP
="$ac_path_EGREP"
4766 ac_path_EGREP_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_EGREP_found && break 3
4779 if test -z "$ac_cv_path_EGREP"; then
4780 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4783 ac_cv_path_EGREP
=$EGREP
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4789 $as_echo "$ac_cv_path_EGREP" >&6; }
4790 EGREP
="$ac_cv_path_EGREP"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4794 $as_echo_n "checking for ANSI C header files... " >&6; }
4795 if ${ac_cv_header_stdc+:} false
; then :
4796 $as_echo_n "(cached) " >&6
4798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4813 if ac_fn_c_try_compile
"$LINENO"; then :
4814 ac_cv_header_stdc
=yes
4816 ac_cv_header_stdc
=no
4818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4820 if test $ac_cv_header_stdc = yes; then
4821 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4828 $EGREP "memchr" >/dev
/null
2>&1; then :
4831 ac_cv_header_stdc
=no
4837 if test $ac_cv_header_stdc = yes; then
4838 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4840 /* end confdefs.h. */
4844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4845 $EGREP "free" >/dev
/null
2>&1; then :
4848 ac_cv_header_stdc
=no
4854 if test $ac_cv_header_stdc = yes; then
4855 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4856 if test "$cross_compiling" = yes; then :
4859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4863 #if ((' ' & 0x0FF) == 0x020)
4864 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4865 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4867 # define ISLOWER(c) \
4868 (('a' <= (c) && (c) <= 'i') \
4869 || ('j' <= (c) && (c) <= 'r') \
4870 || ('s' <= (c) && (c) <= 'z'))
4871 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4874 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4879 for (i = 0; i < 256; i++)
4880 if (XOR (islower (i), ISLOWER (i))
4881 || toupper (i) != TOUPPER (i))
4886 if ac_fn_c_try_run
"$LINENO"; then :
4889 ac_cv_header_stdc
=no
4891 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4892 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4898 $as_echo "$ac_cv_header_stdc" >&6; }
4899 if test $ac_cv_header_stdc = yes; then
4901 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4905 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4906 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4907 inttypes.h stdint.h unistd.h
4909 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4910 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4912 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4913 cat >>confdefs.h
<<_ACEOF
4914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4923 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4924 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4931 if test "$MINIX" = yes; then
4933 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4936 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4939 $as_echo "#define _MINIX 1" >>confdefs.h
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4945 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4946 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4947 $as_echo_n "(cached) " >&6
4949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4952 # define __EXTENSIONS__ 1
4953 $ac_includes_default
4962 if ac_fn_c_try_compile
"$LINENO"; then :
4963 ac_cv_safe_to_define___extensions__
=yes
4965 ac_cv_safe_to_define___extensions__
=no
4967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4970 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4971 test $ac_cv_safe_to_define___extensions__ = yes &&
4972 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4974 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4976 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4978 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4980 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4986 $as_echo_n "checking whether ln -s works... " >&6; }
4988 if test "$LN_S" = "ln -s"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4990 $as_echo "yes" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4993 $as_echo "no, using $LN_S" >&6; }
4997 ac_cpp
='$CPP $CPPFLAGS'
4998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5001 if test -n "$ac_tool_prefix"; then
5002 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5003 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_CC+:} false
; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$CC"; then
5010 ac_cv_prog_CC
="$CC" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 if test -n "$CC"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5032 $as_echo "$CC" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5040 if test -z "$ac_cv_prog_CC"; then
5042 # Extract the first word of "gcc", so it can be a program name with args.
5043 set dummy gcc
; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$ac_ct_CC"; then
5050 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_ac_ct_CC
="gcc"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5070 if test -n "$ac_ct_CC"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5072 $as_echo "$ac_ct_CC" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5078 if test "x$ac_ct_CC" = x
; then
5081 case $cross_compiling:$ac_tool_warned in
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5085 ac_tool_warned
=yes ;;
5093 if test -z "$CC"; then
5094 if test -n "$ac_tool_prefix"; then
5095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5096 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_CC+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 if test -n "$CC"; then
5103 ac_cv_prog_CC
="$CC" # Let the user override the test.
5105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir
=.
5110 for ac_exec_ext
in '' $ac_executable_extensions; do
5111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5112 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 if test -n "$CC"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5125 $as_echo "$CC" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5134 if test -z "$CC"; then
5135 # Extract the first word of "cc", so it can be a program name with args.
5136 set dummy cc
; ac_word
=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if ${ac_cv_prog_CC+:} false
; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$CC"; then
5143 ac_cv_prog_CC
="$CC" # Let the user override the test.
5146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir
=.
5151 for ac_exec_ext
in '' $ac_executable_extensions; do
5152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5153 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5154 ac_prog_rejected
=yes
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 if test $ac_prog_rejected = yes; then
5166 # We found a bogon in the path, so make sure we never use it.
5167 set dummy
$ac_cv_prog_CC
5169 if test $# != 0; then
5170 # We chose a different compiler from the bogus one.
5171 # However, it has the same basename, so the bogon will be chosen
5172 # first if we set CC to just the basename; use the full file name.
5174 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5180 if test -n "$CC"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5182 $as_echo "$CC" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5190 if test -z "$CC"; then
5191 if test -n "$ac_tool_prefix"; then
5192 for ac_prog
in cl.exe
5194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5195 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5197 $as_echo_n "checking for $ac_word... " >&6; }
5198 if ${ac_cv_prog_CC+:} false
; then :
5199 $as_echo_n "(cached) " >&6
5201 if test -n "$CC"; then
5202 ac_cv_prog_CC
="$CC" # Let the user override the test.
5204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir
=.
5209 for ac_exec_ext
in '' $ac_executable_extensions; do
5210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 if test -n "$CC"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5224 $as_echo "$CC" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5231 test -n "$CC" && break
5234 if test -z "$CC"; then
5236 for ac_prog
in cl.exe
5238 # Extract the first word of "$ac_prog", so it can be a program name with args.
5239 set dummy
$ac_prog; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$ac_ct_CC"; then
5246 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_ac_ct_CC
="$ac_prog"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5266 if test -n "$ac_ct_CC"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5268 $as_echo "$ac_ct_CC" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 test -n "$ac_ct_CC" && break
5278 if test "x$ac_ct_CC" = x
; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned
=yes ;;
5294 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5296 as_fn_error $?
"no acceptable C compiler found in \$PATH
5297 See \`config.log' for more details" "$LINENO" 5; }
5299 # Provide some information about the compiler.
5300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5303 for ac_option
in --version -v -V -qversion; do
5304 { { ac_try
="$ac_compiler $ac_option >&5"
5306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5307 *) ac_try_echo=$ac_try;;
5309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5310 $as_echo "$ac_try_echo"; } >&5
5311 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5313 if test -s conftest.err; then
5315 ... rest of stderr output deleted ...
5316 10q' conftest.err >conftest.er1
5317 cat conftest.er1 >&5
5319 rm -f conftest.er1 conftest.err
5320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5321 test $ac_status = 0; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5325 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5326 if ${ac_cv_c_compiler_gnu+:} false; then :
5327 $as_echo_n "(cached) " >&6
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5343 if ac_fn_c_try_compile "$LINENO"; then :
5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5353 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5354 if test $ac_compiler_gnu = yes; then
5359 ac_test_CFLAGS=${CFLAGS+set}
5360 ac_save_CFLAGS=$CFLAGS
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5362 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5363 if ${ac_cv_prog_cc_g+:} false; then :
5364 $as_echo_n "(cached) " >&6
5366 ac_save_c_werror_flag=$ac_c_werror_flag
5367 ac_c_werror_flag=yes
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5381 if ac_fn_c_try_compile "$LINENO"; then :
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5396 if ac_fn_c_try_compile "$LINENO"; then :
5399 ac_c_werror_flag=$ac_save_c_werror_flag
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5412 if ac_fn_c_try_compile "$LINENO"; then :
5415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5420 ac_c_werror_flag=$ac_save_c_werror_flag
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5423 $as_echo "$ac_cv_prog_cc_g" >&6; }
5424 if test "$ac_test_CFLAGS" = set; then
5425 CFLAGS=$ac_save_CFLAGS
5426 elif test $ac_cv_prog_cc_g = yes; then
5427 if test "$GCC" = yes; then
5433 if test "$GCC" = yes; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5440 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5441 if ${ac_cv_prog_cc_c89+:} false; then :
5442 $as_echo_n "(cached) " >&6
5444 ac_cv_prog_cc_c89=no
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5451 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5452 struct buf { int x; };
5453 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5454 static char *e (p, i)
5460 static char *f (char * (*g) (char **, int), char **p, ...)
5465 s = g (p, va_arg (v,int));
5470 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5471 function prototypes and stuff, but not '\xHH' hex character constants.
5472 These don't provoke an error unfortunately, instead are silently treated
5473 as 'x'. The following induces an error, until -std is added to get
5474 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5475 array size at least. It's necessary to write '\x00'==0 to get something
5476 that's true only with -std. */
5477 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5479 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5480 inside strings and character constants. */
5482 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5484 int test (int i, double x);
5485 struct s1 {int (*f) (int a);};
5486 struct s2 {int (*f) (double a);};
5487 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5493 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5498 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5499 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5501 CC="$ac_save_CC $ac_arg"
5502 if ac_fn_c_try_compile "$LINENO"; then :
5503 ac_cv_prog_cc_c89=$ac_arg
5505 rm -f core conftest.err conftest.$ac_objext
5506 test "x$ac_cv_prog_cc_c89" != "xno" && break
5508 rm -f conftest.$ac_ext
5513 case "x$ac_cv_prog_cc_c89" in
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5516 $as_echo "none needed" >&6; } ;;
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5519 $as_echo "unsupported" >&6; } ;;
5521 CC="$CC $ac_cv_prog_cc_c89"
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5523 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5525 if test "x$ac_cv_prog_cc_c89" != xno; then :
5530 ac_cpp='$CPP $CPPFLAGS'
5531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5536 ac_cpp='$CPP $CPPFLAGS'
5537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5541 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5542 if ${am_cv_prog_cc_c_o+:} false; then :
5543 $as_echo_n "(cached) " >&6
5545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5546 /* end confdefs.h. */
5556 # Make sure it works both with $CC and with simple cc.
5557 # Following AC_PROG_CC_C_O, we do the test twice because some
5558 # compilers refuse to overwrite an existing .o file with -o,
5559 # though they will create one.
5560 am_cv_prog_cc_c_o=yes
5562 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5563 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); } \
5567 && test -f conftest2.$ac_objext; then
5570 am_cv_prog_cc_c_o=no
5574 rm -f core conftest*
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5578 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5579 if test "$am_cv_prog_cc_c_o" != yes; then
5580 # Losing compiler, so override with the script.
5581 # FIXME: It is wrong to rewrite CC.
5582 # But if we don't then we get into trouble of one sort or another.
5583 # A longer-term fix would be to have automake use am__CC in this case,
5584 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5585 CC="$am_aux_dir/compile $CC"
5588 ac_cpp='$CPP $CPPFLAGS'
5589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5594 depcc="$CC" am_compiler_list=
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5597 $as_echo_n "checking dependency style of $depcc... " >&6; }
5598 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5599 $as_echo_n "(cached) " >&6
5601 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5602 # We make a subdir and do the tests there. Otherwise we can end up
5603 # making bogus files that we don't know about and never remove. For
5604 # instance it was reported that on HP-UX the gcc test will end up
5605 # making a dummy file named 'D' -- because '-MD' means "put the output
5609 # Copy depcomp to subdir because otherwise we won't find it if we're
5610 # using a relative directory.
5611 cp "$am_depcomp" conftest.dir
5613 # We will build objects and dependencies in a subdirectory because
5614 # it helps to detect inapplicable dependency modes. For instance
5615 # both Tru64's cc and ICC support -MD to output dependencies as a
5616 # side effect of compilation, but ICC will put the dependencies in
5617 # the current directory while Tru64 will put them in the object
5621 am_cv_CC_dependencies_compiler_type=none
5622 if test "$am_compiler_list" = ""; then
5623 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5626 case " $depcc " in #(
5627 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5630 for depmode in $am_compiler_list; do
5631 # Setup a source with many dependencies, because some compilers
5632 # like to wrap large dependency lists on column 80 (with \), and
5633 # we should not choose a depcomp mode which is confused by this.
5635 # We need to recreate these files for each test, as the compiler may
5636 # overwrite some of them when testing with obscure command lines.
5637 # This happens at least with the AIX C compiler.
5639 for i in 1 2 3 4 5 6; do
5640 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5641 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5642 # Solaris 10 /bin/sh.
5643 echo '/* dummy */' > sub/conftst$i.h
5645 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5647 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5648 # mode. It turns out that the SunPro C++ compiler does not properly
5649 # handle '-M -o', and we need to detect this. Also, some Intel
5650 # versions had trouble with output in subdirs.
5651 am__obj=sub/conftest.${OBJEXT-o}
5652 am__minus_obj="-o $am__obj"
5655 # This depmode causes a compiler race in universal mode.
5656 test "$am__universal" = false || continue
5659 # After this tag, mechanisms are not by side-effect, so they'll
5660 # only be used when explicitly requested.
5661 if test "x$enable_dependency_tracking" = xyes; then
5667 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5668 # This compiler won't grok '-c -o', but also, the minuso test has
5669 # not run yet. These depmodes are late enough in the game, and
5670 # so weak that their functioning should not be impacted.
5671 am__obj=conftest.${OBJEXT-o}
5676 if depmode=$depmode \
5677 source=sub/conftest.c object=$am__obj \
5678 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5679 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5680 >/dev/null 2>conftest.err &&
5681 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5682 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5683 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5684 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5685 # icc doesn't choke on unknown options, it will just issue warnings
5686 # or remarks (even with -Werror). So we grep stderr for any message
5687 # that says an option was ignored or not supported.
5688 # When given -MP, icc 7.0 and 7.1 complain thusly:
5689 # icc: Command line warning: ignoring option '-M'; no argument required
5690 # The diagnosis changed in icc 8.0:
5691 # icc: Command line remark: option '-MP' not supported
5692 if (grep 'ignoring option' conftest.err ||
5693 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5694 am_cv_CC_dependencies_compiler_type=$depmode
5703 am_cv_CC_dependencies_compiler_type=none
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5708 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5709 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5712 test "x$enable_dependency_tracking" != xno \
5713 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5715 am__fastdepCC_FALSE='#'
5717 am__fastdepCC_TRUE='#'
5718 am__fastdepCC_FALSE=
5723 ac_cpp='$CXXCPP $CPPFLAGS'
5724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5727 if test -z "$CXX"; then
5728 if test -n "$CCC"; then
5731 if test -n "$ac_tool_prefix"; then
5732 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_CXX+:} false; then :
5739 $as_echo_n "(cached) " >&6
5741 if test -n "$CXX"; then
5742 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir=.
5749 for ac_exec_ext in '' $ac_executable_extensions; do
5750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5751 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 if test -n "$CXX"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5764 $as_echo "$CXX" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5771 test -n "$CXX" && break
5774 if test -z "$CXX"; then
5776 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5778 # Extract the first word of "$ac_prog", so it can be a program name with args.
5779 set dummy $ac_prog; ac_word=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781 $as_echo_n "checking for $ac_word... " >&6; }
5782 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5783 $as_echo_n "(cached) " >&6
5785 if test -n "$ac_ct_CXX"; then
5786 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir=.
5793 for ac_exec_ext in '' $ac_executable_extensions; do
5794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_prog_ac_ct_CXX="$ac_prog"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5806 if test -n "$ac_ct_CXX"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5808 $as_echo "$ac_ct_CXX" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811 $as_echo "no" >&6; }
5815 test -n "$ac_ct_CXX" && break
5818 if test "x$ac_ct_CXX" = x; then
5821 case $cross_compiling:$ac_tool_warned in
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5825 ac_tool_warned=yes ;;
5833 # Provide some information about the compiler.
5834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5837 for ac_option in --version -v -V -qversion; do
5838 { { ac_try="$ac_compiler $ac_option >&5"
5840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5841 *) ac_try_echo
=$ac_try;;
5843 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5844 $as_echo "$ac_try_echo"; } >&5
5845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5847 if test -s conftest.err
; then
5849 ... rest of stderr output deleted ...
5850 10q' conftest.err
>conftest.er1
5851 cat conftest.er1
>&5
5853 rm -f conftest.er1 conftest.err
5854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5855 test $ac_status = 0; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5859 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5860 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5861 $as_echo_n "(cached) " >&6
5863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5864 /* end confdefs.h. */
5877 if ac_fn_cxx_try_compile
"$LINENO"; then :
5882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5883 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5887 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5888 if test $ac_compiler_gnu = yes; then
5893 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5894 ac_save_CXXFLAGS
=$CXXFLAGS
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5896 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5897 if ${ac_cv_prog_cxx_g+:} false
; then :
5898 $as_echo_n "(cached) " >&6
5900 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5901 ac_cxx_werror_flag
=yes
5904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5905 /* end confdefs.h. */
5915 if ac_fn_cxx_try_compile
"$LINENO"; then :
5916 ac_cv_prog_cxx_g
=yes
5919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5930 if ac_fn_cxx_try_compile
"$LINENO"; then :
5933 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5946 if ac_fn_cxx_try_compile
"$LINENO"; then :
5947 ac_cv_prog_cxx_g
=yes
5949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5954 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5957 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5958 if test "$ac_test_CXXFLAGS" = set; then
5959 CXXFLAGS
=$ac_save_CXXFLAGS
5960 elif test $ac_cv_prog_cxx_g = yes; then
5961 if test "$GXX" = yes; then
5967 if test "$GXX" = yes; then
5974 ac_cpp
='$CPP $CPPFLAGS'
5975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5979 depcc
="$CXX" am_compiler_list
=
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5982 $as_echo_n "checking dependency style of $depcc... " >&6; }
5983 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5984 $as_echo_n "(cached) " >&6
5986 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5987 # We make a subdir and do the tests there. Otherwise we can end up
5988 # making bogus files that we don't know about and never remove. For
5989 # instance it was reported that on HP-UX the gcc test will end up
5990 # making a dummy file named 'D' -- because '-MD' means "put the output
5994 # Copy depcomp to subdir because otherwise we won't find it if we're
5995 # using a relative directory.
5996 cp "$am_depcomp" conftest.dir
5998 # We will build objects and dependencies in a subdirectory because
5999 # it helps to detect inapplicable dependency modes. For instance
6000 # both Tru64's cc and ICC support -MD to output dependencies as a
6001 # side effect of compilation, but ICC will put the dependencies in
6002 # the current directory while Tru64 will put them in the object
6006 am_cv_CXX_dependencies_compiler_type
=none
6007 if test "$am_compiler_list" = ""; then
6008 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6011 case " $depcc " in #(
6012 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6015 for depmode
in $am_compiler_list; do
6016 # Setup a source with many dependencies, because some compilers
6017 # like to wrap large dependency lists on column 80 (with \), and
6018 # we should not choose a depcomp mode which is confused by this.
6020 # We need to recreate these files for each test, as the compiler may
6021 # overwrite some of them when testing with obscure command lines.
6022 # This happens at least with the AIX C compiler.
6024 for i
in 1 2 3 4 5 6; do
6025 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6026 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6027 # Solaris 10 /bin/sh.
6028 echo '/* dummy */' > sub
/conftst
$i.h
6030 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6032 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6033 # mode. It turns out that the SunPro C++ compiler does not properly
6034 # handle '-M -o', and we need to detect this. Also, some Intel
6035 # versions had trouble with output in subdirs.
6036 am__obj
=sub
/conftest.
${OBJEXT-o}
6037 am__minus_obj
="-o $am__obj"
6040 # This depmode causes a compiler race in universal mode.
6041 test "$am__universal" = false ||
continue
6044 # After this tag, mechanisms are not by side-effect, so they'll
6045 # only be used when explicitly requested.
6046 if test "x$enable_dependency_tracking" = xyes
; then
6052 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6053 # This compiler won't grok '-c -o', but also, the minuso test has
6054 # not run yet. These depmodes are late enough in the game, and
6055 # so weak that their functioning should not be impacted.
6056 am__obj
=conftest.
${OBJEXT-o}
6061 if depmode
=$depmode \
6062 source=sub
/conftest.c object
=$am__obj \
6063 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6064 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6065 >/dev
/null
2>conftest.err
&&
6066 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6067 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6068 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6069 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6070 # icc doesn't choke on unknown options, it will just issue warnings
6071 # or remarks (even with -Werror). So we grep stderr for any message
6072 # that says an option was ignored or not supported.
6073 # When given -MP, icc 7.0 and 7.1 complain thusly:
6074 # icc: Command line warning: ignoring option '-M'; no argument required
6075 # The diagnosis changed in icc 8.0:
6076 # icc: Command line remark: option '-MP' not supported
6077 if (grep 'ignoring option' conftest.err ||
6078 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6079 am_cv_CXX_dependencies_compiler_type
=$depmode
6088 am_cv_CXX_dependencies_compiler_type
=none
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6093 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6094 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6097 test "x$enable_dependency_tracking" != xno \
6098 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6099 am__fastdepCXX_TRUE
=
6100 am__fastdepCXX_FALSE
='#'
6102 am__fastdepCXX_TRUE
='#'
6103 am__fastdepCXX_FALSE
=
6108 ac_cpp
='$CPP $CPPFLAGS'
6109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6113 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6114 # On Suns, sometimes $CPP names a directory.
6115 if test -n "$CPP" && test -d "$CPP"; then
6118 if test -z "$CPP"; then
6119 if ${ac_cv_prog_CPP+:} false
; then :
6120 $as_echo_n "(cached) " >&6
6122 # Double quotes because CPP needs to be expanded
6123 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6126 for ac_c_preproc_warn_flag
in '' yes
6128 # Use a header file that comes with gcc, so configuring glibc
6129 # with a fresh cross-compiler works.
6130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6131 # <limits.h> exists even on freestanding compilers.
6132 # On the NeXT, cc -E runs the code through the compiler's parser,
6133 # not just through cpp. "Syntax error" is here to catch this case.
6134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6137 # include <limits.h>
6139 # include <assert.h>
6143 if ac_fn_c_try_cpp
"$LINENO"; then :
6146 # Broken: fails on valid input.
6149 rm -f conftest.err conftest.i conftest.
$ac_ext
6151 # OK, works on sane cases. Now check whether nonexistent headers
6152 # can be detected and how.
6153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6154 /* end confdefs.h. */
6155 #include <ac_nonexistent.h>
6157 if ac_fn_c_try_cpp
"$LINENO"; then :
6158 # Broken: success on invalid input.
6161 # Passes both tests.
6165 rm -f conftest.err conftest.i conftest.
$ac_ext
6168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6169 rm -f conftest.i conftest.err conftest.
$ac_ext
6170 if $ac_preproc_ok; then :
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6183 $as_echo "$CPP" >&6; }
6185 for ac_c_preproc_warn_flag
in '' yes
6187 # Use a header file that comes with gcc, so configuring glibc
6188 # with a fresh cross-compiler works.
6189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6190 # <limits.h> exists even on freestanding compilers.
6191 # On the NeXT, cc -E runs the code through the compiler's parser,
6192 # not just through cpp. "Syntax error" is here to catch this case.
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6196 # include <limits.h>
6198 # include <assert.h>
6202 if ac_fn_c_try_cpp
"$LINENO"; then :
6205 # Broken: fails on valid input.
6208 rm -f conftest.err conftest.i conftest.
$ac_ext
6210 # OK, works on sane cases. Now check whether nonexistent headers
6211 # can be detected and how.
6212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6213 /* end confdefs.h. */
6214 #include <ac_nonexistent.h>
6216 if ac_fn_c_try_cpp
"$LINENO"; then :
6217 # Broken: success on invalid input.
6220 # Passes both tests.
6224 rm -f conftest.err conftest.i conftest.
$ac_ext
6227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6228 rm -f conftest.i conftest.err conftest.
$ac_ext
6229 if $ac_preproc_ok; then :
6232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6234 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6235 See \`config.log' for more details" "$LINENO" 5; }
6239 ac_cpp
='$CPP $CPPFLAGS'
6240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6245 if test -n "$ac_tool_prefix"; then
6246 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6247 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249 $as_echo_n "checking for $ac_word... " >&6; }
6250 if ${ac_cv_prog_RANLIB+:} false
; then :
6251 $as_echo_n "(cached) " >&6
6253 if test -n "$RANLIB"; then
6254 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6260 test -z "$as_dir" && as_dir
=.
6261 for ac_exec_ext
in '' $ac_executable_extensions; do
6262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6263 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 RANLIB
=$ac_cv_prog_RANLIB
6274 if test -n "$RANLIB"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6276 $as_echo "$RANLIB" >&6; }
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6284 if test -z "$ac_cv_prog_RANLIB"; then
6285 ac_ct_RANLIB
=$RANLIB
6286 # Extract the first word of "ranlib", so it can be a program name with args.
6287 set dummy ranlib
; ac_word
=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6291 $as_echo_n "(cached) " >&6
6293 if test -n "$ac_ct_RANLIB"; then
6294 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir
=.
6301 for ac_exec_ext
in '' $ac_executable_extensions; do
6302 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6303 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6314 if test -n "$ac_ct_RANLIB"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6316 $as_echo "$ac_ct_RANLIB" >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6322 if test "x$ac_ct_RANLIB" = x
; then
6325 case $cross_compiling:$ac_tool_warned in
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6329 ac_tool_warned
=yes ;;
6331 RANLIB
=$ac_ct_RANLIB
6334 RANLIB
="$ac_cv_prog_RANLIB"
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6341 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6343 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6344 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6345 $as_echo_n "(cached) " >&6
6347 cat >conftest.
make <<\_ACEOF
6350 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6352 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6353 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6355 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6357 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6361 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6363 $as_echo "yes" >&6; }
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6367 $as_echo "no" >&6; }
6368 SET_MAKE
="MAKE=${MAKE-make}"
6373 # Check whether --enable-largefile was given.
6374 if test "${enable_largefile+set}" = set; then :
6375 enableval
=$enable_largefile;
6378 if test "$enable_largefile" != no
; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6381 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6382 if ${ac_cv_sys_largefile_CC+:} false
; then :
6383 $as_echo_n "(cached) " >&6
6385 ac_cv_sys_largefile_CC
=no
6386 if test "$GCC" != yes; then
6389 # IRIX 6.2 and later do not support large files by default,
6390 # so use the C compiler's -n32 option if that helps.
6391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6392 /* end confdefs.h. */
6393 #include <sys/types.h>
6394 /* Check that off_t can represent 2**63 - 1 correctly.
6395 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6396 since some C++ compilers masquerading as C compilers
6397 incorrectly reject 9223372036854775807. */
6398 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6399 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6400 && LARGE_OFF_T % 2147483647 == 1)
6410 if ac_fn_c_try_compile
"$LINENO"; then :
6413 rm -f core conftest.err conftest.
$ac_objext
6415 if ac_fn_c_try_compile
"$LINENO"; then :
6416 ac_cv_sys_largefile_CC
=' -n32'; break
6418 rm -f core conftest.err conftest.
$ac_objext
6422 rm -f conftest.
$ac_ext
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6426 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6427 if test "$ac_cv_sys_largefile_CC" != no
; then
6428 CC
=$CC$ac_cv_sys_largefile_CC
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6432 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6433 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6434 $as_echo_n "(cached) " >&6
6437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6439 #include <sys/types.h>
6440 /* Check that off_t can represent 2**63 - 1 correctly.
6441 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6442 since some C++ compilers masquerading as C compilers
6443 incorrectly reject 9223372036854775807. */
6444 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6445 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6446 && LARGE_OFF_T % 2147483647 == 1)
6456 if ac_fn_c_try_compile
"$LINENO"; then :
6457 ac_cv_sys_file_offset_bits
=no
; break
6459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6462 #define _FILE_OFFSET_BITS 64
6463 #include <sys/types.h>
6464 /* Check that off_t can represent 2**63 - 1 correctly.
6465 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6466 since some C++ compilers masquerading as C compilers
6467 incorrectly reject 9223372036854775807. */
6468 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6469 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6470 && LARGE_OFF_T % 2147483647 == 1)
6480 if ac_fn_c_try_compile
"$LINENO"; then :
6481 ac_cv_sys_file_offset_bits
=64; break
6483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6484 ac_cv_sys_file_offset_bits
=unknown
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6489 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6490 case $ac_cv_sys_file_offset_bits in #(
6493 cat >>confdefs.h
<<_ACEOF
6494 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6499 if test $ac_cv_sys_file_offset_bits = unknown
; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6501 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6502 if ${ac_cv_sys_large_files+:} false
; then :
6503 $as_echo_n "(cached) " >&6
6506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508 #include <sys/types.h>
6509 /* Check that off_t can represent 2**63 - 1 correctly.
6510 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6511 since some C++ compilers masquerading as C compilers
6512 incorrectly reject 9223372036854775807. */
6513 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6514 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6515 && LARGE_OFF_T % 2147483647 == 1)
6525 if ac_fn_c_try_compile
"$LINENO"; then :
6526 ac_cv_sys_large_files
=no
; break
6528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #define _LARGE_FILES 1
6532 #include <sys/types.h>
6533 /* Check that off_t can represent 2**63 - 1 correctly.
6534 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6535 since some C++ compilers masquerading as C compilers
6536 incorrectly reject 9223372036854775807. */
6537 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6538 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6539 && LARGE_OFF_T % 2147483647 == 1)
6549 if ac_fn_c_try_compile
"$LINENO"; then :
6550 ac_cv_sys_large_files
=1; break
6552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6553 ac_cv_sys_large_files
=unknown
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6558 $as_echo "$ac_cv_sys_large_files" >&6; }
6559 case $ac_cv_sys_large_files in #(
6562 cat >>confdefs.h
<<_ACEOF
6563 #define _LARGE_FILES $ac_cv_sys_large_files
6573 for ac_func
in ppoll
6575 ac_fn_c_check_func
"$LINENO" "ppoll" "ac_cv_func_ppoll"
6576 if test "x$ac_cv_func_ppoll" = xyes
; then :
6577 cat >>confdefs.h
<<_ACEOF
6578 #define HAVE_PPOLL 1
6584 for ac_func
in openat
6586 ac_fn_c_check_func
"$LINENO" "openat" "ac_cv_func_openat"
6587 if test "x$ac_cv_func_openat" = xyes
; then :
6588 cat >>confdefs.h
<<_ACEOF
6589 #define HAVE_OPENAT 1
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6596 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6597 if ${ac_cv_path_SED+:} false
; then :
6598 $as_echo_n "(cached) " >&6
6600 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6601 for ac_i
in 1 2 3 4 5 6 7; do
6602 ac_script
="$ac_script$as_nl$ac_script"
6604 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6605 { ac_script
=; unset ac_script
;}
6606 if test -z "$SED"; then
6607 ac_path_SED_found
=false
6608 # Loop through the user's path and test for each of PROGNAME-LIST
6609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6613 test -z "$as_dir" && as_dir
=.
6614 for ac_prog
in sed gsed
; do
6615 for ac_exec_ext
in '' $ac_executable_extensions; do
6616 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6617 as_fn_executable_p
"$ac_path_SED" ||
continue
6618 # Check for GNU ac_path_SED and select it if it is found.
6619 # Check for GNU $ac_path_SED
6620 case `"$ac_path_SED" --version 2>&1` in
6622 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6625 $as_echo_n 0123456789 >"conftest.in"
6628 cat "conftest.in" "conftest.in" >"conftest.tmp"
6629 mv "conftest.tmp" "conftest.in"
6630 cp "conftest.in" "conftest.nl"
6631 $as_echo '' >> "conftest.nl"
6632 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6633 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6634 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6635 if test $ac_count -gt ${ac_path_SED_max-0}; then
6636 # Best one so far, save it but keep looking for a better one
6637 ac_cv_path_SED
="$ac_path_SED"
6638 ac_path_SED_max
=$ac_count
6640 # 10*(2^10) chars as input seems more than enough
6641 test $ac_count -gt 10 && break
6643 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6646 $ac_path_SED_found && break 3
6651 if test -z "$ac_cv_path_SED"; then
6652 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6660 $as_echo "$ac_cv_path_SED" >&6; }
6661 SED
="$ac_cv_path_SED"
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6666 $as_echo_n "checking whether NLS is requested... " >&6; }
6667 # Check whether --enable-nls was given.
6668 if test "${enable_nls+set}" = set; then :
6669 enableval
=$enable_nls; USE_NLS
=$enableval
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6675 $as_echo "$USE_NLS" >&6; }
6680 GETTEXT_MACRO_VERSION
=0.19
6685 # Prepare PATH_SEPARATOR.
6686 # The user is always right.
6687 if test "${PATH_SEPARATOR+set}" != set; then
6688 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6689 # contains only /bin. Note that ksh looks also at the FPATH variable,
6690 # so we have to set that as well for the test.
6692 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6693 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6694 || PATH_SEPARATOR
=';'
6698 # Find out how to test for executable files. Don't use a zero-byte file,
6699 # as systems may use methods other than mode bits to determine executability.
6700 cat >conf$$.
file <<_ASEOF
6704 chmod +x conf$$.
file
6705 if test -x conf$$.
file >/dev
/null
2>&1; then
6706 ac_executable_p
="test -x"
6708 ac_executable_p
="test -f"
6712 # Extract the first word of "msgfmt", so it can be a program name with args.
6713 set dummy msgfmt
; ac_word
=$2
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 $as_echo_n "checking for $ac_word... " >&6; }
6716 if ${ac_cv_path_MSGFMT+:} false
; then :
6717 $as_echo_n "(cached) " >&6
6721 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6724 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6725 for ac_dir
in $PATH; do
6727 test -z "$ac_dir" && ac_dir
=.
6728 for ac_exec_ext
in '' $ac_executable_extensions; do
6729 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6730 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6731 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
6732 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6733 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6740 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6744 MSGFMT
="$ac_cv_path_MSGFMT"
6745 if test "$MSGFMT" != ":"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6747 $as_echo "$MSGFMT" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6753 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6754 set dummy gmsgfmt
; ac_word
=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_path_GMSGFMT+:} false
; then :
6758 $as_echo_n "(cached) " >&6
6762 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6769 test -z "$as_dir" && as_dir
=.
6770 for ac_exec_ext
in '' $ac_executable_extensions; do
6771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6784 GMSGFMT
=$ac_cv_path_GMSGFMT
6785 if test -n "$GMSGFMT"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6787 $as_echo "$GMSGFMT" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6795 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6796 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
6797 *) MSGFMT_015
=$MSGFMT ;;
6800 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6801 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
6802 *) GMSGFMT_015
=$GMSGFMT ;;
6807 # Prepare PATH_SEPARATOR.
6808 # The user is always right.
6809 if test "${PATH_SEPARATOR+set}" != set; then
6810 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6811 # contains only /bin. Note that ksh looks also at the FPATH variable,
6812 # so we have to set that as well for the test.
6814 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6815 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6816 || PATH_SEPARATOR
=';'
6820 # Find out how to test for executable files. Don't use a zero-byte file,
6821 # as systems may use methods other than mode bits to determine executability.
6822 cat >conf$$.
file <<_ASEOF
6826 chmod +x conf$$.
file
6827 if test -x conf$$.
file >/dev
/null
2>&1; then
6828 ac_executable_p
="test -x"
6830 ac_executable_p
="test -f"
6834 # Extract the first word of "xgettext", so it can be a program name with args.
6835 set dummy xgettext
; ac_word
=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if ${ac_cv_path_XGETTEXT+:} false
; then :
6839 $as_echo_n "(cached) " >&6
6843 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6846 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6847 for ac_dir
in $PATH; do
6849 test -z "$ac_dir" && ac_dir
=.
6850 for ac_exec_ext
in '' $ac_executable_extensions; do
6851 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6852 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6853 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
6854 (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
6855 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6862 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6866 XGETTEXT
="$ac_cv_path_XGETTEXT"
6867 if test "$XGETTEXT" != ":"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6869 $as_echo "$XGETTEXT" >&6; }
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 $as_echo "no" >&6; }
6877 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6878 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
6879 *) XGETTEXT_015
=$XGETTEXT ;;
6884 # Prepare PATH_SEPARATOR.
6885 # The user is always right.
6886 if test "${PATH_SEPARATOR+set}" != set; then
6887 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6888 # contains only /bin. Note that ksh looks also at the FPATH variable,
6889 # so we have to set that as well for the test.
6891 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6892 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6893 || PATH_SEPARATOR
=';'
6897 # Find out how to test for executable files. Don't use a zero-byte file,
6898 # as systems may use methods other than mode bits to determine executability.
6899 cat >conf$$.
file <<_ASEOF
6903 chmod +x conf$$.
file
6904 if test -x conf$$.
file >/dev
/null
2>&1; then
6905 ac_executable_p
="test -x"
6907 ac_executable_p
="test -f"
6911 # Extract the first word of "msgmerge", so it can be a program name with args.
6912 set dummy msgmerge
; ac_word
=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if ${ac_cv_path_MSGMERGE+:} false
; then :
6916 $as_echo_n "(cached) " >&6
6920 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6923 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6924 for ac_dir
in $PATH; do
6926 test -z "$ac_dir" && ac_dir
=.
6927 for ac_exec_ext
in '' $ac_executable_extensions; do
6928 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6929 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6930 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
6931 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6938 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6942 MSGMERGE
="$ac_cv_path_MSGMERGE"
6943 if test "$MSGMERGE" != ":"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6945 $as_echo "$MSGMERGE" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6952 test -n "$localedir" || localedir
='${datadir}/locale'
6955 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
6958 ac_config_commands
="$ac_config_commands po-directories"
6962 if test "X$prefix" = "XNONE"; then
6963 acl_final_prefix
="$ac_default_prefix"
6965 acl_final_prefix
="$prefix"
6967 if test "X$exec_prefix" = "XNONE"; then
6968 acl_final_exec_prefix
='${prefix}'
6970 acl_final_exec_prefix
="$exec_prefix"
6972 acl_save_prefix
="$prefix"
6973 prefix
="$acl_final_prefix"
6974 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6975 prefix
="$acl_save_prefix"
6979 # Check whether --with-gnu-ld was given.
6980 if test "${with_gnu_ld+set}" = set; then :
6981 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6986 # Prepare PATH_SEPARATOR.
6987 # The user is always right.
6988 if test "${PATH_SEPARATOR+set}" != set; then
6989 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6990 # contains only /bin. Note that ksh looks also at the FPATH variable,
6991 # so we have to set that as well for the test.
6993 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6994 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6995 || PATH_SEPARATOR
=';'
7000 if test "$GCC" = yes; then
7001 # Check if gcc -print-prog-name=ld gives a path.
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7003 $as_echo_n "checking for ld used by $CC... " >&6; }
7006 # gcc leaves a trailing carriage return which upsets mingw
7007 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7009 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7012 # Accept absolute paths.
7014 re_direlt
='/[^/][^/]*/\.\./'
7015 # Canonicalize the pathname of ld
7016 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
7017 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
7018 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7020 test -z "$LD" && LD
="$ac_prog"
7023 # If it fails, then pretend we aren't using GCC.
7027 # If it is relative, then search for the first ld in PATH.
7031 elif test "$with_gnu_ld" = yes; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7033 $as_echo_n "checking for GNU ld... " >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7036 $as_echo_n "checking for non-GNU ld... " >&6; }
7038 if ${acl_cv_path_LD+:} false
; then :
7039 $as_echo_n "(cached) " >&6
7041 if test -z "$LD"; then
7042 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7043 for ac_dir
in $PATH; do
7045 test -z "$ac_dir" && ac_dir
=.
7046 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7047 acl_cv_path_LD
="$ac_dir/$ac_prog"
7048 # Check to see if the program is GNU ld. I'd rather use --version,
7049 # but apparently some variants of GNU ld only accept -v.
7050 # Break only if it was the GNU/non-GNU ld that we prefer.
7051 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
7052 *GNU
* |
*'with BFD'*)
7053 test "$with_gnu_ld" != no
&& break
7056 test "$with_gnu_ld" != yes && break
7063 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7067 LD
="$acl_cv_path_LD"
7068 if test -n "$LD"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7070 $as_echo "$LD" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7075 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7077 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7078 if ${acl_cv_prog_gnu_ld+:} false
; then :
7079 $as_echo_n "(cached) " >&6
7081 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7082 case `$LD -v 2>&1 </dev/null` in
7083 *GNU
* |
*'with BFD'*)
7084 acl_cv_prog_gnu_ld
=yes
7087 acl_cv_prog_gnu_ld
=no
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7092 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7093 with_gnu_ld
=$acl_cv_prog_gnu_ld
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7099 $as_echo_n "checking for shared library run path origin... " >&6; }
7100 if ${acl_cv_rpath+:} false
; then :
7101 $as_echo_n "(cached) " >&6
7104 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7105 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7112 $as_echo "$acl_cv_rpath" >&6; }
7114 acl_libext
="$acl_cv_libext"
7115 acl_shlibext
="$acl_cv_shlibext"
7116 acl_libname_spec
="$acl_cv_libname_spec"
7117 acl_library_names_spec
="$acl_cv_library_names_spec"
7118 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7119 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7120 acl_hardcode_direct
="$acl_cv_hardcode_direct"
7121 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7122 # Check whether --enable-rpath was given.
7123 if test "${enable_rpath+set}" = set; then :
7124 enableval
=$enable_rpath; :
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7137 $as_echo_n "checking for 64-bit host... " >&6; }
7138 if ${gl_cv_solaris_64bit+:} false
; then :
7139 $as_echo_n "(cached) " >&6
7141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7150 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
7151 gl_cv_solaris_64bit
=yes
7153 gl_cv_solaris_64bit
=no
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7160 $as_echo "$gl_cv_solaris_64bit" >&6; }
7161 if test $gl_cv_solaris_64bit = yes; then
7162 acl_libdirstem
=lib
/64
7164 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
7165 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
7170 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7171 if test -n "$searchpath"; then
7172 acl_save_IFS
="${IFS= }"; IFS
=":"
7173 for searchdir
in $searchpath; do
7174 if test -d "$searchdir"; then
7175 case "$searchdir" in
7176 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
7178 # Better ignore directories of this form. They are misleading.
7180 *) searchdir
=`cd "$searchdir" && pwd`
7181 case "$searchdir" in
7182 */lib64
) acl_libdirstem
=lib64
;;
7191 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
7206 acl_save_prefix
="$prefix"
7207 prefix
="$acl_final_prefix"
7208 acl_save_exec_prefix
="$exec_prefix"
7209 exec_prefix
="$acl_final_exec_prefix"
7211 eval additional_includedir
=\"$includedir\"
7212 eval additional_libdir
=\"$libdir\"
7214 exec_prefix
="$acl_save_exec_prefix"
7215 prefix
="$acl_save_prefix"
7218 # Check whether --with-libiconv-prefix was given.
7219 if test "${with_libiconv_prefix+set}" = set; then :
7220 withval
=$with_libiconv_prefix;
7221 if test "X$withval" = "Xno"; then
7224 if test "X$withval" = "X"; then
7226 acl_save_prefix
="$prefix"
7227 prefix
="$acl_final_prefix"
7228 acl_save_exec_prefix
="$exec_prefix"
7229 exec_prefix
="$acl_final_exec_prefix"
7231 eval additional_includedir
=\"$includedir\"
7232 eval additional_libdir
=\"$libdir\"
7234 exec_prefix
="$acl_save_exec_prefix"
7235 prefix
="$acl_save_prefix"
7238 additional_includedir
="$withval/include"
7239 additional_libdir
="$withval/$acl_libdirstem"
7240 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7241 && ! test -d "$withval/$acl_libdirstem"; then
7242 additional_libdir
="$withval/$acl_libdirstem2"
7256 names_already_handled
=
7257 names_next_round
='iconv '
7258 while test -n "$names_next_round"; do
7259 names_this_round
="$names_next_round"
7261 for name
in $names_this_round; do
7263 for n
in $names_already_handled; do
7264 if test "$n" = "$name"; then
7269 if test -z "$already_handled"; then
7270 names_already_handled
="$names_already_handled $name"
7271 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7272 eval value
=\"\
$HAVE_LIB$uppername\"
7273 if test -n "$value"; then
7274 if test "$value" = yes; then
7275 eval value
=\"\
$LIB$uppername\"
7276 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7277 eval value
=\"\
$LTLIB$uppername\"
7278 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7287 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
7288 if test -n "$acl_shlibext"; then
7289 shrext
=".$acl_shlibext" # typically: shrext=.so
7293 if test $use_additional = yes; then
7294 dir
="$additional_libdir"
7295 if test -n "$acl_shlibext"; then
7296 if test -f "$dir/$libname$shrext"; then
7298 found_so
="$dir/$libname$shrext"
7300 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7301 ver
=`(cd "$dir" && \
7302 for f in "$libname$shrext".*; do echo "$f"; done \
7303 | sed -e "s,^$libname$shrext\\\\.,," \
7304 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7305 | sed 1q ) 2>/dev/null`
7306 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7308 found_so
="$dir/$libname$shrext.$ver"
7311 eval library_names
=\"$acl_library_names_spec\"
7312 for f
in $library_names; do
7313 if test -f "$dir/$f"; then
7322 if test "X$found_dir" = "X"; then
7323 if test -f "$dir/$libname.$acl_libext"; then
7325 found_a
="$dir/$libname.$acl_libext"
7328 if test "X$found_dir" != "X"; then
7329 if test -f "$dir/$libname.la"; then
7330 found_la
="$dir/$libname.la"
7334 if test "X$found_dir" = "X"; then
7335 for x
in $LDFLAGS $LTLIBICONV; do
7337 acl_save_prefix
="$prefix"
7338 prefix
="$acl_final_prefix"
7339 acl_save_exec_prefix
="$exec_prefix"
7340 exec_prefix
="$acl_final_exec_prefix"
7342 exec_prefix
="$acl_save_exec_prefix"
7343 prefix
="$acl_save_prefix"
7347 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7348 if test -n "$acl_shlibext"; then
7349 if test -f "$dir/$libname$shrext"; then
7351 found_so
="$dir/$libname$shrext"
7353 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7354 ver
=`(cd "$dir" && \
7355 for f in "$libname$shrext".*; do echo "$f"; done \
7356 | sed -e "s,^$libname$shrext\\\\.,," \
7357 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7358 | sed 1q ) 2>/dev/null`
7359 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7361 found_so
="$dir/$libname$shrext.$ver"
7364 eval library_names
=\"$acl_library_names_spec\"
7365 for f
in $library_names; do
7366 if test -f "$dir/$f"; then
7375 if test "X$found_dir" = "X"; then
7376 if test -f "$dir/$libname.$acl_libext"; then
7378 found_a
="$dir/$libname.$acl_libext"
7381 if test "X$found_dir" != "X"; then
7382 if test -f "$dir/$libname.la"; then
7383 found_la
="$dir/$libname.la"
7388 if test "X$found_dir" != "X"; then
7393 if test "X$found_dir" != "X"; then
7394 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7395 if test "X$found_so" != "X"; then
7396 if test "$enable_rpath" = no \
7397 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
7398 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7399 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7402 for x
in $ltrpathdirs; do
7403 if test "X$x" = "X$found_dir"; then
7408 if test -z "$haveit"; then
7409 ltrpathdirs
="$ltrpathdirs $found_dir"
7411 if test "$acl_hardcode_direct" = yes; then
7412 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7414 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
7415 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7417 for x
in $rpathdirs; do
7418 if test "X$x" = "X$found_dir"; then
7423 if test -z "$haveit"; then
7424 rpathdirs
="$rpathdirs $found_dir"
7428 for x
in $LDFLAGS $LIBICONV; do
7430 acl_save_prefix
="$prefix"
7431 prefix
="$acl_final_prefix"
7432 acl_save_exec_prefix
="$exec_prefix"
7433 exec_prefix
="$acl_final_exec_prefix"
7435 exec_prefix
="$acl_save_exec_prefix"
7436 prefix
="$acl_save_prefix"
7438 if test "X$x" = "X-L$found_dir"; then
7443 if test -z "$haveit"; then
7444 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7446 if test "$acl_hardcode_minus_L" != no
; then
7447 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7449 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7455 if test "X$found_a" != "X"; then
7456 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7458 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7461 additional_includedir
=
7462 case "$found_dir" in
7463 */$acl_libdirstem |
*/$acl_libdirstem/)
7464 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7465 if test "$name" = 'iconv'; then
7466 LIBICONV_PREFIX
="$basedir"
7468 additional_includedir
="$basedir/include"
7470 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
7471 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7472 if test "$name" = 'iconv'; then
7473 LIBICONV_PREFIX
="$basedir"
7475 additional_includedir
="$basedir/include"
7478 if test "X$additional_includedir" != "X"; then
7479 if test "X$additional_includedir" != "X/usr/include"; then
7481 if test "X$additional_includedir" = "X/usr/local/include"; then
7482 if test -n "$GCC"; then
7484 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7488 if test -z "$haveit"; then
7489 for x
in $CPPFLAGS $INCICONV; do
7491 acl_save_prefix
="$prefix"
7492 prefix
="$acl_final_prefix"
7493 acl_save_exec_prefix
="$exec_prefix"
7494 exec_prefix
="$acl_final_exec_prefix"
7496 exec_prefix
="$acl_save_exec_prefix"
7497 prefix
="$acl_save_prefix"
7499 if test "X$x" = "X-I$additional_includedir"; then
7504 if test -z "$haveit"; then
7505 if test -d "$additional_includedir"; then
7506 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7512 if test -n "$found_la"; then
7513 save_libdir
="$libdir"
7515 */* |
*\\*) .
"$found_la" ;;
7516 *) .
"./$found_la" ;;
7518 libdir
="$save_libdir"
7519 for dep
in $dependency_libs; do
7522 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7523 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7524 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7526 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7527 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7528 if test -n "$GCC"; then
7530 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7534 if test -z "$haveit"; then
7536 for x
in $LDFLAGS $LIBICONV; do
7538 acl_save_prefix
="$prefix"
7539 prefix
="$acl_final_prefix"
7540 acl_save_exec_prefix
="$exec_prefix"
7541 exec_prefix
="$acl_final_exec_prefix"
7543 exec_prefix
="$acl_save_exec_prefix"
7544 prefix
="$acl_save_prefix"
7546 if test "X$x" = "X-L$additional_libdir"; then
7551 if test -z "$haveit"; then
7552 if test -d "$additional_libdir"; then
7553 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7557 for x
in $LDFLAGS $LTLIBICONV; do
7559 acl_save_prefix
="$prefix"
7560 prefix
="$acl_final_prefix"
7561 acl_save_exec_prefix
="$exec_prefix"
7562 exec_prefix
="$acl_final_exec_prefix"
7564 exec_prefix
="$acl_save_exec_prefix"
7565 prefix
="$acl_save_prefix"
7567 if test "X$x" = "X-L$additional_libdir"; then
7572 if test -z "$haveit"; then
7573 if test -d "$additional_libdir"; then
7574 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7581 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7582 if test "$enable_rpath" != no
; then
7584 for x
in $rpathdirs; do
7585 if test "X$x" = "X$dir"; then
7590 if test -z "$haveit"; then
7591 rpathdirs
="$rpathdirs $dir"
7594 for x
in $ltrpathdirs; do
7595 if test "X$x" = "X$dir"; then
7600 if test -z "$haveit"; then
7601 ltrpathdirs
="$ltrpathdirs $dir"
7606 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7609 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7612 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7613 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7619 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7620 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7626 if test "X$rpathdirs" != "X"; then
7627 if test -n "$acl_hardcode_libdir_separator"; then
7629 for found_dir
in $rpathdirs; do
7630 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7632 acl_save_libdir
="$libdir"
7634 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7635 libdir
="$acl_save_libdir"
7636 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7638 for found_dir
in $rpathdirs; do
7639 acl_save_libdir
="$libdir"
7641 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7642 libdir
="$acl_save_libdir"
7643 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7647 if test "X$ltrpathdirs" != "X"; then
7648 for found_dir
in $ltrpathdirs; do
7649 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7684 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7685 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
7686 $as_echo_n "(cached) " >&6
7688 gt_save_LIBS
="$LIBS"
7689 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #include <CoreFoundation/CFPreferences.h>
7696 CFPreferencesCopyAppValue(NULL, NULL)
7701 if ac_fn_c_try_link
"$LINENO"; then :
7702 gt_cv_func_CFPreferencesCopyAppValue
=yes
7704 gt_cv_func_CFPreferencesCopyAppValue
=no
7706 rm -f core conftest.err conftest.
$ac_objext \
7707 conftest
$ac_exeext conftest.
$ac_ext
7708 LIBS
="$gt_save_LIBS"
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7711 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7712 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7714 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
7718 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
7719 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
7720 $as_echo_n "(cached) " >&6
7722 gt_save_LIBS
="$LIBS"
7723 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7725 /* end confdefs.h. */
7726 #include <CoreFoundation/CFLocale.h>
7730 CFLocaleCopyCurrent();
7735 if ac_fn_c_try_link
"$LINENO"; then :
7736 gt_cv_func_CFLocaleCopyCurrent
=yes
7738 gt_cv_func_CFLocaleCopyCurrent
=no
7740 rm -f core conftest.err conftest.
$ac_objext \
7741 conftest
$ac_exeext conftest.
$ac_ext
7742 LIBS
="$gt_save_LIBS"
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
7745 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
7746 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7748 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
7752 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7753 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
7765 case " $gt_needs " in
7766 *" need-formatstring-macros "*) gt_api_version
=3 ;;
7767 *" need-ngettext "*) gt_api_version
=2 ;;
7768 *) gt_api_version
=1 ;;
7770 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
7771 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
7773 if test "$USE_NLS" = "yes"; then
7774 gt_use_preinstalled_gnugettext
=no
7777 if test $gt_api_version -ge 3; then
7778 gt_revision_test_code
='
7779 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7780 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7782 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7785 gt_revision_test_code
=
7787 if test $gt_api_version -ge 2; then
7788 gt_expression_test_code
=' + * ngettext ("", "", 0)'
7790 gt_expression_test_code
=
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7794 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7795 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
7796 $as_echo_n "(cached) " >&6
7798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7799 /* end confdefs.h. */
7801 #include <libintl.h>
7802 $gt_revision_test_code
7803 extern int _nl_msg_cat_cntr;
7804 extern int *_nl_domain_bindings;
7810 bindtextdomain ("", "");
7811 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
7817 if ac_fn_c_try_link
"$LINENO"; then :
7818 eval "$gt_func_gnugettext_libc=yes"
7820 eval "$gt_func_gnugettext_libc=no"
7822 rm -f core conftest.err conftest.
$ac_objext \
7823 conftest
$ac_exeext conftest.
$ac_ext
7825 eval ac_res
=\$
$gt_func_gnugettext_libc
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7827 $as_echo "$ac_res" >&6; }
7829 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7835 am_save_CPPFLAGS
="$CPPFLAGS"
7837 for element
in $INCICONV; do
7839 for x
in $CPPFLAGS; do
7841 acl_save_prefix
="$prefix"
7842 prefix
="$acl_final_prefix"
7843 acl_save_exec_prefix
="$exec_prefix"
7844 exec_prefix
="$acl_final_exec_prefix"
7846 exec_prefix
="$acl_save_exec_prefix"
7847 prefix
="$acl_save_prefix"
7849 if test "X$x" = "X$element"; then
7854 if test -z "$haveit"; then
7855 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7861 $as_echo_n "checking for iconv... " >&6; }
7862 if ${am_cv_func_iconv+:} false
; then :
7863 $as_echo_n "(cached) " >&6
7866 am_cv_func_iconv
="no, consider installing GNU libiconv"
7868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7877 iconv_t cd = iconv_open("","");
7878 iconv(cd,NULL,NULL,NULL,NULL);
7884 if ac_fn_c_try_link
"$LINENO"; then :
7885 am_cv_func_iconv
=yes
7887 rm -f core conftest.err conftest.
$ac_objext \
7888 conftest
$ac_exeext conftest.
$ac_ext
7889 if test "$am_cv_func_iconv" != yes; then
7890 am_save_LIBS
="$LIBS"
7891 LIBS
="$LIBS $LIBICONV"
7892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7901 iconv_t cd = iconv_open("","");
7902 iconv(cd,NULL,NULL,NULL,NULL);
7908 if ac_fn_c_try_link
"$LINENO"; then :
7910 am_cv_func_iconv
=yes
7912 rm -f core conftest.err conftest.
$ac_objext \
7913 conftest
$ac_exeext conftest.
$ac_ext
7914 LIBS
="$am_save_LIBS"
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7919 $as_echo "$am_cv_func_iconv" >&6; }
7920 if test "$am_cv_func_iconv" = yes; then
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7922 $as_echo_n "checking for working iconv... " >&6; }
7923 if ${am_cv_func_iconv_works+:} false
; then :
7924 $as_echo_n "(cached) " >&6
7927 am_save_LIBS
="$LIBS"
7928 if test $am_cv_lib_iconv = yes; then
7929 LIBS
="$LIBS $LIBICONV"
7931 am_cv_func_iconv_works
=no
7932 for ac_iconv_const
in '' 'const'; do
7933 if test "$cross_compiling" = yes; then :
7935 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
7936 *) am_cv_func_iconv_works
="guessing yes" ;;
7939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7946 # define ICONV_CONST $ac_iconv_const
7953 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
7956 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
7957 if (cd_utf8_to_88591 != (iconv_t)(-1))
7959 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
7961 ICONV_CONST char *inptr = input;
7962 size_t inbytesleft = strlen (input);
7964 size_t outbytesleft = sizeof (buf);
7965 size_t res = iconv (cd_utf8_to_88591,
7966 &inptr, &inbytesleft,
7967 &outptr, &outbytesleft);
7970 iconv_close (cd_utf8_to_88591);
7973 /* Test against Solaris 10 bug: Failures are not distinguishable from
7974 successful returns. */
7976 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
7977 if (cd_ascii_to_88591 != (iconv_t)(-1))
7979 static ICONV_CONST char input[] = "\263";
7981 ICONV_CONST char *inptr = input;
7982 size_t inbytesleft = strlen (input);
7984 size_t outbytesleft = sizeof (buf);
7985 size_t res = iconv (cd_ascii_to_88591,
7986 &inptr, &inbytesleft,
7987 &outptr, &outbytesleft);
7990 iconv_close (cd_ascii_to_88591);
7993 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
7995 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
7996 if (cd_88591_to_utf8 != (iconv_t)(-1))
7998 static ICONV_CONST char input[] = "\304";
7999 static char buf[2] = { (char)0xDE, (char)0xAD };
8000 ICONV_CONST char *inptr = input;
8001 size_t inbytesleft = 1;
8003 size_t outbytesleft = 1;
8004 size_t res = iconv (cd_88591_to_utf8,
8005 &inptr, &inbytesleft,
8006 &outptr, &outbytesleft);
8007 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8009 iconv_close (cd_88591_to_utf8);
8012 #if 0 /* This bug could be worked around by the caller. */
8013 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8015 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8016 if (cd_88591_to_utf8 != (iconv_t)(-1))
8018 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8020 ICONV_CONST char *inptr = input;
8021 size_t inbytesleft = strlen (input);
8023 size_t outbytesleft = sizeof (buf);
8024 size_t res = iconv (cd_88591_to_utf8,
8025 &inptr, &inbytesleft,
8026 &outptr, &outbytesleft);
8029 iconv_close (cd_88591_to_utf8);
8033 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8035 if (/* Try standardized names. */
8036 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
8037 /* Try IRIX, OSF/1 names. */
8038 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8039 /* Try AIX names. */
8040 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8041 /* Try HP-UX names. */
8042 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8050 if ac_fn_c_try_run
"$LINENO"; then :
8051 am_cv_func_iconv_works
=yes
8053 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8054 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8057 test "$am_cv_func_iconv_works" = no ||
break
8059 LIBS
="$am_save_LIBS"
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8063 $as_echo "$am_cv_func_iconv_works" >&6; }
8064 case "$am_cv_func_iconv_works" in
8065 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8066 *) am_func_iconv
=yes ;;
8069 am_func_iconv
=no am_cv_lib_iconv
=no
8071 if test "$am_func_iconv" = yes; then
8073 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8076 if test "$am_cv_lib_iconv" = yes; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8078 $as_echo_n "checking how to link with libiconv... " >&6; }
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8080 $as_echo "$LIBICONV" >&6; }
8082 CPPFLAGS
="$am_save_CPPFLAGS"
8099 acl_save_prefix
="$prefix"
8100 prefix
="$acl_final_prefix"
8101 acl_save_exec_prefix
="$exec_prefix"
8102 exec_prefix
="$acl_final_exec_prefix"
8104 eval additional_includedir
=\"$includedir\"
8105 eval additional_libdir
=\"$libdir\"
8107 exec_prefix
="$acl_save_exec_prefix"
8108 prefix
="$acl_save_prefix"
8111 # Check whether --with-libintl-prefix was given.
8112 if test "${with_libintl_prefix+set}" = set; then :
8113 withval
=$with_libintl_prefix;
8114 if test "X$withval" = "Xno"; then
8117 if test "X$withval" = "X"; then
8119 acl_save_prefix
="$prefix"
8120 prefix
="$acl_final_prefix"
8121 acl_save_exec_prefix
="$exec_prefix"
8122 exec_prefix
="$acl_final_exec_prefix"
8124 eval additional_includedir
=\"$includedir\"
8125 eval additional_libdir
=\"$libdir\"
8127 exec_prefix
="$acl_save_exec_prefix"
8128 prefix
="$acl_save_prefix"
8131 additional_includedir
="$withval/include"
8132 additional_libdir
="$withval/$acl_libdirstem"
8133 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8134 && ! test -d "$withval/$acl_libdirstem"; then
8135 additional_libdir
="$withval/$acl_libdirstem2"
8149 names_already_handled
=
8150 names_next_round
='intl '
8151 while test -n "$names_next_round"; do
8152 names_this_round
="$names_next_round"
8154 for name
in $names_this_round; do
8156 for n
in $names_already_handled; do
8157 if test "$n" = "$name"; then
8162 if test -z "$already_handled"; then
8163 names_already_handled
="$names_already_handled $name"
8164 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8165 eval value
=\"\
$HAVE_LIB$uppername\"
8166 if test -n "$value"; then
8167 if test "$value" = yes; then
8168 eval value
=\"\
$LIB$uppername\"
8169 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8170 eval value
=\"\
$LTLIB$uppername\"
8171 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8180 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8181 if test -n "$acl_shlibext"; then
8182 shrext
=".$acl_shlibext" # typically: shrext=.so
8186 if test $use_additional = yes; then
8187 dir
="$additional_libdir"
8188 if test -n "$acl_shlibext"; then
8189 if test -f "$dir/$libname$shrext"; then
8191 found_so
="$dir/$libname$shrext"
8193 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8194 ver
=`(cd "$dir" && \
8195 for f in "$libname$shrext".*; do echo "$f"; done \
8196 | sed -e "s,^$libname$shrext\\\\.,," \
8197 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8198 | sed 1q ) 2>/dev/null`
8199 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8201 found_so
="$dir/$libname$shrext.$ver"
8204 eval library_names
=\"$acl_library_names_spec\"
8205 for f
in $library_names; do
8206 if test -f "$dir/$f"; then
8215 if test "X$found_dir" = "X"; then
8216 if test -f "$dir/$libname.$acl_libext"; then
8218 found_a
="$dir/$libname.$acl_libext"
8221 if test "X$found_dir" != "X"; then
8222 if test -f "$dir/$libname.la"; then
8223 found_la
="$dir/$libname.la"
8227 if test "X$found_dir" = "X"; then
8228 for x
in $LDFLAGS $LTLIBINTL; do
8230 acl_save_prefix
="$prefix"
8231 prefix
="$acl_final_prefix"
8232 acl_save_exec_prefix
="$exec_prefix"
8233 exec_prefix
="$acl_final_exec_prefix"
8235 exec_prefix
="$acl_save_exec_prefix"
8236 prefix
="$acl_save_prefix"
8240 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8241 if test -n "$acl_shlibext"; then
8242 if test -f "$dir/$libname$shrext"; then
8244 found_so
="$dir/$libname$shrext"
8246 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8247 ver
=`(cd "$dir" && \
8248 for f in "$libname$shrext".*; do echo "$f"; done \
8249 | sed -e "s,^$libname$shrext\\\\.,," \
8250 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8251 | sed 1q ) 2>/dev/null`
8252 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8254 found_so
="$dir/$libname$shrext.$ver"
8257 eval library_names
=\"$acl_library_names_spec\"
8258 for f
in $library_names; do
8259 if test -f "$dir/$f"; then
8268 if test "X$found_dir" = "X"; then
8269 if test -f "$dir/$libname.$acl_libext"; then
8271 found_a
="$dir/$libname.$acl_libext"
8274 if test "X$found_dir" != "X"; then
8275 if test -f "$dir/$libname.la"; then
8276 found_la
="$dir/$libname.la"
8281 if test "X$found_dir" != "X"; then
8286 if test "X$found_dir" != "X"; then
8287 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8288 if test "X$found_so" != "X"; then
8289 if test "$enable_rpath" = no \
8290 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8291 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8292 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8295 for x
in $ltrpathdirs; do
8296 if test "X$x" = "X$found_dir"; then
8301 if test -z "$haveit"; then
8302 ltrpathdirs
="$ltrpathdirs $found_dir"
8304 if test "$acl_hardcode_direct" = yes; then
8305 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8307 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8308 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8310 for x
in $rpathdirs; do
8311 if test "X$x" = "X$found_dir"; then
8316 if test -z "$haveit"; then
8317 rpathdirs
="$rpathdirs $found_dir"
8321 for x
in $LDFLAGS $LIBINTL; do
8323 acl_save_prefix
="$prefix"
8324 prefix
="$acl_final_prefix"
8325 acl_save_exec_prefix
="$exec_prefix"
8326 exec_prefix
="$acl_final_exec_prefix"
8328 exec_prefix
="$acl_save_exec_prefix"
8329 prefix
="$acl_save_prefix"
8331 if test "X$x" = "X-L$found_dir"; then
8336 if test -z "$haveit"; then
8337 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8339 if test "$acl_hardcode_minus_L" != no
; then
8340 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8342 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8348 if test "X$found_a" != "X"; then
8349 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
8351 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8354 additional_includedir
=
8355 case "$found_dir" in
8356 */$acl_libdirstem |
*/$acl_libdirstem/)
8357 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8358 if test "$name" = 'intl'; then
8359 LIBINTL_PREFIX
="$basedir"
8361 additional_includedir
="$basedir/include"
8363 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8364 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8365 if test "$name" = 'intl'; then
8366 LIBINTL_PREFIX
="$basedir"
8368 additional_includedir
="$basedir/include"
8371 if test "X$additional_includedir" != "X"; then
8372 if test "X$additional_includedir" != "X/usr/include"; then
8374 if test "X$additional_includedir" = "X/usr/local/include"; then
8375 if test -n "$GCC"; then
8377 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8381 if test -z "$haveit"; then
8382 for x
in $CPPFLAGS $INCINTL; do
8384 acl_save_prefix
="$prefix"
8385 prefix
="$acl_final_prefix"
8386 acl_save_exec_prefix
="$exec_prefix"
8387 exec_prefix
="$acl_final_exec_prefix"
8389 exec_prefix
="$acl_save_exec_prefix"
8390 prefix
="$acl_save_prefix"
8392 if test "X$x" = "X-I$additional_includedir"; then
8397 if test -z "$haveit"; then
8398 if test -d "$additional_includedir"; then
8399 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8405 if test -n "$found_la"; then
8406 save_libdir
="$libdir"
8408 */* |
*\\*) .
"$found_la" ;;
8409 *) .
"./$found_la" ;;
8411 libdir
="$save_libdir"
8412 for dep
in $dependency_libs; do
8415 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8416 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8417 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8419 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8420 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8421 if test -n "$GCC"; then
8423 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8427 if test -z "$haveit"; then
8429 for x
in $LDFLAGS $LIBINTL; do
8431 acl_save_prefix
="$prefix"
8432 prefix
="$acl_final_prefix"
8433 acl_save_exec_prefix
="$exec_prefix"
8434 exec_prefix
="$acl_final_exec_prefix"
8436 exec_prefix
="$acl_save_exec_prefix"
8437 prefix
="$acl_save_prefix"
8439 if test "X$x" = "X-L$additional_libdir"; then
8444 if test -z "$haveit"; then
8445 if test -d "$additional_libdir"; then
8446 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8450 for x
in $LDFLAGS $LTLIBINTL; do
8452 acl_save_prefix
="$prefix"
8453 prefix
="$acl_final_prefix"
8454 acl_save_exec_prefix
="$exec_prefix"
8455 exec_prefix
="$acl_final_exec_prefix"
8457 exec_prefix
="$acl_save_exec_prefix"
8458 prefix
="$acl_save_prefix"
8460 if test "X$x" = "X-L$additional_libdir"; then
8465 if test -z "$haveit"; then
8466 if test -d "$additional_libdir"; then
8467 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8474 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8475 if test "$enable_rpath" != no
; then
8477 for x
in $rpathdirs; do
8478 if test "X$x" = "X$dir"; then
8483 if test -z "$haveit"; then
8484 rpathdirs
="$rpathdirs $dir"
8487 for x
in $ltrpathdirs; do
8488 if test "X$x" = "X$dir"; then
8493 if test -z "$haveit"; then
8494 ltrpathdirs
="$ltrpathdirs $dir"
8499 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8502 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8505 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
8506 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8512 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8513 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8519 if test "X$rpathdirs" != "X"; then
8520 if test -n "$acl_hardcode_libdir_separator"; then
8522 for found_dir
in $rpathdirs; do
8523 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8525 acl_save_libdir
="$libdir"
8527 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8528 libdir
="$acl_save_libdir"
8529 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8531 for found_dir
in $rpathdirs; do
8532 acl_save_libdir
="$libdir"
8534 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8535 libdir
="$acl_save_libdir"
8536 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8540 if test "X$ltrpathdirs" != "X"; then
8541 for found_dir
in $ltrpathdirs; do
8542 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8552 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
8553 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
8554 $as_echo_n "(cached) " >&6
8556 gt_save_CPPFLAGS
="$CPPFLAGS"
8557 CPPFLAGS
="$CPPFLAGS $INCINTL"
8558 gt_save_LIBS
="$LIBS"
8559 LIBS
="$LIBS $LIBINTL"
8560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8563 #include <libintl.h>
8564 $gt_revision_test_code
8565 extern int _nl_msg_cat_cntr;
8570 const char *_nl_expand_alias (const char *);
8576 bindtextdomain ("", "");
8577 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8583 if ac_fn_c_try_link
"$LINENO"; then :
8584 eval "$gt_func_gnugettext_libintl=yes"
8586 eval "$gt_func_gnugettext_libintl=no"
8588 rm -f core conftest.err conftest.
$ac_objext \
8589 conftest
$ac_exeext conftest.
$ac_ext
8590 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8591 LIBS
="$LIBS $LIBICONV"
8592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8595 #include <libintl.h>
8596 $gt_revision_test_code
8597 extern int _nl_msg_cat_cntr;
8602 const char *_nl_expand_alias (const char *);
8608 bindtextdomain ("", "");
8609 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8615 if ac_fn_c_try_link
"$LINENO"; then :
8616 LIBINTL
="$LIBINTL $LIBICONV"
8617 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
8618 eval "$gt_func_gnugettext_libintl=yes"
8621 rm -f core conftest.err conftest.
$ac_objext \
8622 conftest
$ac_exeext conftest.
$ac_ext
8624 CPPFLAGS
="$gt_save_CPPFLAGS"
8625 LIBS
="$gt_save_LIBS"
8627 eval ac_res
=\$
$gt_func_gnugettext_libintl
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8629 $as_echo "$ac_res" >&6; }
8632 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8633 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8634 && test "$PACKAGE" != gettext-runtime \
8635 && test "$PACKAGE" != gettext-tools
; }; then
8636 gt_use_preinstalled_gnugettext
=yes
8645 if test -n "$INTL_MACOSX_LIBS"; then
8646 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8647 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8648 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
8649 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
8653 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8654 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8656 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8664 $as_echo_n "checking whether to use NLS... " >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8666 $as_echo "$USE_NLS" >&6; }
8667 if test "$USE_NLS" = "yes"; then
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8669 $as_echo_n "checking where the gettext function comes from... " >&6; }
8670 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8671 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8672 gt_source
="external libintl"
8677 gt_source
="included intl directory"
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8680 $as_echo "$gt_source" >&6; }
8683 if test "$USE_NLS" = "yes"; then
8685 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8686 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8688 $as_echo_n "checking how to link with libintl... " >&6; }
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8690 $as_echo "$LIBINTL" >&6; }
8692 for element
in $INCINTL; do
8694 for x
in $CPPFLAGS; do
8696 acl_save_prefix
="$prefix"
8697 prefix
="$acl_final_prefix"
8698 acl_save_exec_prefix
="$exec_prefix"
8699 exec_prefix
="$acl_final_exec_prefix"
8701 exec_prefix
="$acl_save_exec_prefix"
8702 prefix
="$acl_save_prefix"
8704 if test "X$x" = "X$element"; then
8709 if test -z "$haveit"; then
8710 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8717 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8720 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8738 if test "x$GMSGFMT" = "x:"; then
8739 as_fn_error $?
"missing gnu /usr/bin/msgfmt" "$LINENO" 5
8742 # We want the 'PYTHON' varible to be python version 2. We also want
8743 # our custom 'PYTHON3' varible to be python version 3.
8745 # Note that the python2/python3 code was inspired by code in the
8747 # <https://github.com/abrt/abrt/blob/master/configure.ac>
8749 # First, figure out what version of python is in the executable named
8750 # 'python'. On most systems that is python version 2, but on arch
8751 # linux that is python version 3.
8752 # Extract the first word of "python", so it can be a program name with args.
8753 set dummy python
; ac_word
=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if ${ac_cv_path_PYTHON_UNKNOWN+:} false
; then :
8757 $as_echo_n "(cached) " >&6
8759 case $PYTHON_UNKNOWN in
8761 ac_cv_path_PYTHON_UNKNOWN
="$PYTHON_UNKNOWN" # Let the user override the test with a path.
8764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8768 test -z "$as_dir" && as_dir
=.
8769 for ac_exec_ext
in '' $ac_executable_extensions; do
8770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_path_PYTHON_UNKNOWN
="$as_dir/$ac_word$ac_exec_ext"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8779 test -z "$ac_cv_path_PYTHON_UNKNOWN" && ac_cv_path_PYTHON_UNKNOWN
="no"
8783 PYTHON_UNKNOWN
=$ac_cv_path_PYTHON_UNKNOWN
8784 if test -n "$PYTHON_UNKNOWN"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_UNKNOWN" >&5
8786 $as_echo "$PYTHON_UNKNOWN" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8793 if test "x$PYTHON_UNKNOWN" != "xno"; then
8794 # OK, we found 'python'. What version is it?
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON_UNKNOWN is version 2 or 3" >&5
8796 $as_echo_n "checking whether $PYTHON_UNKNOWN is version 2 or 3... " >&6; }
8797 if ${ac_cv_python_unknown_version+:} false
; then :
8798 $as_echo_n "(cached) " >&6
8800 ac_cv_python_unknown_version
=`$PYTHON_UNKNOWN -c "import sys; sys.stdout.write(sys.version[:3][0])"`
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_unknown_version" >&5
8803 $as_echo "$ac_cv_python_unknown_version" >&6; }
8806 # Now we'll update the _AM_PYTHON_INTERPRETER_LIST variable (which
8807 # AM_PATH_PYTHON uses) to only be version 2 versions of python. Note
8808 # that the m4_define happens when autoconf is run, but the
8809 # FIRST_PYTHON_INTERPRETER variable expansion will happen when the
8810 # user runs configure.
8811 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$ac_cv_python_unknown_version" = "x2"; then
8812 FIRST_PYTHON_INTERPRETER
=python
8814 FIRST_PYTHON_INTERPRETER
=python2
8818 # Now we can call AM_PATH_PYTHON to find python version 2.6+ (and
8826 if test -n "$PYTHON"; then
8827 # If the user set $PYTHON, use it and don't search something else.
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
8829 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
8831 # split strings by '.' and convert to numeric. Append some zeros
8832 # because we need at least 4 digits for the hex conversion.
8833 # map returns an iterator in Python 3.0 and a list in 2.x
8834 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8836 # xrange is not present in Python 3.0 and range returns an iterator
8837 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8838 sys.exit(sys.hexversion < minverhex)"
8839 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
8840 ($PYTHON -c "$prog") >&5 2>&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); }; then :
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8845 $as_echo "yes" >&6; }
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848 $as_echo "no" >&6; }
8849 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
8851 am_display_PYTHON
=$PYTHON
8853 # Otherwise, try each interpreter until we find one that satisfies
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
8856 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
8857 if ${am_cv_pathless_PYTHON+:} false
; then :
8858 $as_echo_n "(cached) " >&6
8861 for am_cv_pathless_PYTHON
in $FIRST_PYTHON_INTERPRETER python2 python2.7 python2.6 none
; do
8862 test "$am_cv_pathless_PYTHON" = none
&& break
8864 # split strings by '.' and convert to numeric. Append some zeros
8865 # because we need at least 4 digits for the hex conversion.
8866 # map returns an iterator in Python 3.0 and a list in 2.x
8867 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8869 # xrange is not present in Python 3.0 and range returns an iterator
8870 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8871 sys.exit(sys.hexversion < minverhex)"
8872 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
8873 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); }; then :
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
8882 $as_echo "$am_cv_pathless_PYTHON" >&6; }
8883 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
8884 if test "$am_cv_pathless_PYTHON" = none
; then
8887 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
8888 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8890 $as_echo_n "checking for $ac_word... " >&6; }
8891 if ${ac_cv_path_PYTHON+:} false
; then :
8892 $as_echo_n "(cached) " >&6
8896 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
8899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir
=.
8904 for ac_exec_ext
in '' $ac_executable_extensions; do
8905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8917 PYTHON
=$ac_cv_path_PYTHON
8918 if test -n "$PYTHON"; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
8920 $as_echo "$PYTHON" >&6; }
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8923 $as_echo "no" >&6; }
8928 am_display_PYTHON
=$am_cv_pathless_PYTHON
8932 if test "$PYTHON" = :; then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
8938 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
8939 if ${am_cv_python_version+:} false
; then :
8940 $as_echo_n "(cached) " >&6
8942 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
8945 $as_echo "$am_cv_python_version" >&6; }
8946 PYTHON_VERSION
=$am_cv_python_version
8950 PYTHON_PREFIX
='${prefix}'
8952 PYTHON_EXEC_PREFIX
='${exec_prefix}'
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
8957 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
8958 if ${am_cv_python_platform+:} false
; then :
8959 $as_echo_n "(cached) " >&6
8961 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
8964 $as_echo "$am_cv_python_platform" >&6; }
8965 PYTHON_PLATFORM
=$am_cv_python_platform
8968 # Just factor out some code duplication.
8969 am_python_setup_sysconfig
="\
8971 # Prefer sysconfig over distutils.sysconfig, for better compatibility
8972 # with python 3.x. See automake bug#10227.
8976 can_use_sysconfig = 0
8978 can_use_sysconfig = 1
8979 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
8980 # <https://github.com/pypa/virtualenv/issues/118>
8982 from platform import python_implementation
8983 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
8984 can_use_sysconfig = 0
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
8990 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
8991 if ${am_cv_python_pythondir+:} false
; then :
8992 $as_echo_n "(cached) " >&6
8994 if test "x$prefix" = xNONE
8996 am_py_prefix
=$ac_default_prefix
8998 am_py_prefix
=$prefix
9000 am_cv_python_pythondir
=`$PYTHON -c "
9001 $am_python_setup_sysconfig
9002 if can_use_sysconfig:
9003 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
9005 from distutils import sysconfig
9006 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
9007 sys.stdout.write(sitedir)"`
9008 case $am_cv_python_pythondir in
9010 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
9011 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
9014 case $am_py_prefix in
9017 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
9025 $as_echo "$am_cv_python_pythondir" >&6; }
9026 pythondir
=$am_cv_python_pythondir
9030 pkgpythondir
=\
${pythondir}/$PACKAGE
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
9034 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
9035 if ${am_cv_python_pyexecdir+:} false
; then :
9036 $as_echo_n "(cached) " >&6
9038 if test "x$exec_prefix" = xNONE
9040 am_py_exec_prefix
=$am_py_prefix
9042 am_py_exec_prefix
=$exec_prefix
9044 am_cv_python_pyexecdir
=`$PYTHON -c "
9045 $am_python_setup_sysconfig
9046 if can_use_sysconfig:
9047 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
9049 from distutils import sysconfig
9050 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
9051 sys.stdout.write(sitedir)"`
9052 case $am_cv_python_pyexecdir in
9053 $am_py_exec_prefix*)
9054 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
9055 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
9058 case $am_py_exec_prefix in
9061 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
9069 $as_echo "$am_cv_python_pyexecdir" >&6; }
9070 pyexecdir
=$am_cv_python_pyexecdir
9074 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
9081 python_basename
=$
(basename "$PYTHON")
9083 cat >>confdefs.h
<<_ACEOF
9084 #define PYTHON_BASENAME "${python_basename}"
9087 # AM_PATH_PYTHON defines 'pyexecdir'. Make sure the python and
9088 # pyexecdir variables get sent down to the subconfigure in the
9089 # testsuite directory.
9090 as_fn_append ac_configure_args
" python='$PYTHON' pyexecdir='$pyexecdir'"
9092 # Now let's try to find python version 3.
9093 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$python_unknown_version" = "x3"; then
9094 # Extract the first word of "python", so it can be a program name with args.
9095 set dummy python
; ac_word
=$2
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9097 $as_echo_n "checking for $ac_word... " >&6; }
9098 if ${ac_cv_path_PYTHON3+:} false
; then :
9099 $as_echo_n "(cached) " >&6
9103 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9110 test -z "$as_dir" && as_dir
=.
9111 for ac_exec_ext
in '' $ac_executable_extensions; do
9112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9113 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9124 PYTHON3
=$ac_cv_path_PYTHON3
9125 if test -n "$PYTHON3"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9127 $as_echo "$PYTHON3" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130 $as_echo "no" >&6; }
9135 for ac_prog
in python3 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0
9137 # Extract the first word of "$ac_prog", so it can be a program name with args.
9138 set dummy
$ac_prog; ac_word
=$2
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9140 $as_echo_n "checking for $ac_word... " >&6; }
9141 if ${ac_cv_path_PYTHON3+:} false
; then :
9142 $as_echo_n "(cached) " >&6
9146 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9153 test -z "$as_dir" && as_dir
=.
9154 for ac_exec_ext
in '' $ac_executable_extensions; do
9155 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9156 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167 PYTHON3
=$ac_cv_path_PYTHON3
9168 if test -n "$PYTHON3"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9170 $as_echo "$PYTHON3" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9177 test -n "$PYTHON3" && break
9181 python3_basename
=$
(basename "$PYTHON3")
9183 cat >>confdefs.h
<<_ACEOF
9184 #define PYTHON3_BASENAME "${python3_basename}"
9188 # If we found python version 3, set up the other variables for python
9189 # version 3 that AM_PATH_PYTHON sets up for python version 2.
9190 if test -n "$PYTHON3"; then
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 version" >&5
9192 $as_echo_n "checking for python3 version... " >&6; }
9193 if ${ac_cv_python3_version+:} false
; then :
9194 $as_echo_n "(cached) " >&6
9196 ac_cv_python3_version
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.version[:3])"`
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_version" >&5
9199 $as_echo "$ac_cv_python3_version" >&6; }
9200 PYTHON3_VERSION
=$ac_cv_python3_version
9202 PYTHON3_PREFIX
='${prefix}'
9204 PYTHON3_EXEC_PREFIX
='${exec_prefix}'
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 platform" >&5
9207 $as_echo_n "checking for python3 platform... " >&6; }
9208 if ${ac_cv_python3_platform+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 ac_cv_python3_platform
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.platform)"`
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_platform" >&5
9214 $as_echo "$ac_cv_python3_platform" >&6; }
9215 PYTHON3_PLATFORM
=$ac_cv_python3_platform
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 script directory" >&5
9219 $as_echo_n "checking for python3 script directory... " >&6; }
9220 if ${ac_cv_python3_dir+:} false
; then :
9221 $as_echo_n "(cached) " >&6
9223 ac_cv_python3_dir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(0,0,prefix='$PYTHON3_PREFIX'))"`
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_dir" >&5
9226 $as_echo "$ac_cv_python3_dir" >&6; }
9227 python3dir
=$ac_cv_python3_dir
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 extension module directory" >&5
9231 $as_echo_n "checking for python3 extension module directory... " >&6; }
9232 if ${ac_cv_py3execdir+:} false
; then :
9233 $as_echo_n "(cached) " >&6
9235 ac_cv_py3execdir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='$PYTHON3_EXEC_PREFIX'))"`
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_py3execdir" >&5
9238 $as_echo "$ac_cv_py3execdir" >&6; }
9239 py3execdir
=$ac_cv_py3execdir
9242 # Make sure the python3 and py3execdir variables get sent down to
9243 # the subconfigure in the testsuite directory.
9244 as_fn_append ac_configure_args
" python3='$PYTHON3' py3execdir='$ac_cv_py3execdir'"
9247 if test "${enable_prologues+set}" != set; then
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
9249 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
9250 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
9252 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9253 enable_prologues
=yes
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9255 $as_echo "yes" >&6; }
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 $as_echo "no" >&6; }
9261 # Check whether --enable-prologues was given.
9262 if test "${enable_prologues+set}" = set; then :
9263 enableval
=$enable_prologues;
9264 if test "$enable_prologues" = yes; then
9266 $as_echo "#define ENABLE_PROLOGUES /**/" >>confdefs.h
9273 if test "${enable_sdt_probes+set}" != set; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
9275 $as_echo_n "checking to see if sdt probes should be the default... " >&6; }
9276 if { echo '#if __GNUC__ < 4'
9278 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9279 enable_sdt_probes
=no
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9281 $as_echo "no" >&6; }
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9284 $as_echo "yes" >&6; }
9287 # Check whether --enable-sdt-probes was given.
9288 if test "${enable_sdt_probes+set}" = set; then :
9289 enableval
=$enable_sdt_probes;
9292 if test "x$enable_sdt_probes" != xno
; then :
9295 $as_echo "#define ENABLE_SDT_PROBES 1" >>confdefs.h
9301 ax_cxx_compile_cxx11_required
=false
9303 ac_cpp
='$CXXCPP $CPPFLAGS'
9304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
9309 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
9310 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
9311 $as_echo_n "(cached) " >&6
9313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9317 // If the compiler admits that it is not ready for C++11, why torture it?
9318 // Hopefully, this will speed up the test.
9322 #error "This is not a C++ compiler"
9324 #elif __cplusplus < 201103L
9326 #error "This is not a C++11 compiler"
9333 namespace test_static_assert
9336 template <typename T>
9339 static_assert(sizeof(int) <= sizeof(T), "not big enough");
9344 namespace test_final_override
9352 struct Derived : public Base
9354 virtual void f() override {}
9359 namespace test_double_right_angle_brackets
9362 template < typename T >
9365 typedef check<void> single_type;
9366 typedef check<check<void>> double_type;
9367 typedef check<check<check<void>>> triple_type;
9368 typedef check<check<check<check<void>>>> quadruple_type;
9372 namespace test_decltype
9385 namespace test_type_deduction
9388 template < typename T1, typename T2 >
9391 static const bool value = false;
9394 template < typename T >
9395 struct is_same<T, T>
9397 static const bool value = true;
9400 template < typename T1, typename T2 >
9402 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9408 test(const int c, volatile int v)
9410 static_assert(is_same<int, decltype(0)>::value == true, "");
9411 static_assert(is_same<int, decltype(c)>::value == false, "");
9412 static_assert(is_same<int, decltype(v)>::value == false, "");
9415 auto sumi = ac + av + 'x';
9416 auto sumf = ac + av + 1.0;
9417 static_assert(is_same<int, decltype(ac)>::value == true, "");
9418 static_assert(is_same<int, decltype(av)>::value == true, "");
9419 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9420 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9421 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9422 return (sumf > 0.0) ? sumi : add(c, v);
9427 namespace test_noexcept
9430 int f() { return 0; }
9431 int g() noexcept { return 0; }
9433 static_assert(noexcept(f()) == false, "");
9434 static_assert(noexcept(g()) == true, "");
9438 namespace test_constexpr
9441 template < typename CharT >
9442 unsigned long constexpr
9443 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9445 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9448 template < typename CharT >
9449 unsigned long constexpr
9450 strlen_c(const CharT *const s) noexcept
9452 return strlen_c_r(s, 0UL);
9455 static_assert(strlen_c("") == 0UL, "");
9456 static_assert(strlen_c("1") == 1UL, "");
9457 static_assert(strlen_c("example") == 7UL, "");
9458 static_assert(strlen_c("another\0example") == 7UL, "");
9462 namespace test_rvalue_references
9468 static constexpr int value = N;
9471 answer<1> f(int&) { return answer<1>(); }
9472 answer<2> f(const int&) { return answer<2>(); }
9473 answer<3> f(int&&) { return answer<3>(); }
9480 static_assert(decltype(f(i))::value == 1, "");
9481 static_assert(decltype(f(c))::value == 2, "");
9482 static_assert(decltype(f(0))::value == 3, "");
9487 namespace test_uniform_initialization
9492 static const int zero {};
9493 static const int one {1};
9496 static_assert(test::zero == 0, "");
9497 static_assert(test::one == 1, "");
9501 namespace test_lambdas
9507 auto lambda1 = [](){};
9508 auto lambda2 = lambda1;
9516 auto a = [](int i, int j){ return i + j; }(1, 2);
9517 auto b = []() -> int { return '0'; }();
9518 auto c = [=](){ return a + b; }();
9519 auto d = [&](){ return c; }();
9520 auto e = [a, &b](int x) mutable {
9521 const auto identity = [](int y){ return y; };
9522 for (auto i = 0; i < a; ++i)
9524 return x + identity(a + b);
9526 return a + b + c + d + e;
9532 const auto nullary = [](){ return 0; };
9533 const auto unary = [](int x){ return x; };
9534 using nullary_t = decltype(nullary);
9535 using unary_t = decltype(unary);
9536 const auto higher1st = [](nullary_t f){ return f(); };
9537 const auto higher2nd = [unary](nullary_t f1){
9538 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9540 return higher1st(nullary) + higher2nd(nullary)(unary);
9545 namespace test_variadic_templates
9551 template <int N0, int... N1toN>
9552 struct sum<N0, N1toN...>
9554 static constexpr auto value = N0 + sum<N1toN...>::value;
9560 static constexpr auto value = 0;
9563 static_assert(sum<>::value == 0, "");
9564 static_assert(sum<1>::value == 1, "");
9565 static_assert(sum<23>::value == 23, "");
9566 static_assert(sum<1, 2>::value == 3, "");
9567 static_assert(sum<5, 5, 11>::value == 21, "");
9568 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9572 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9573 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9575 namespace test_template_alias_sfinae
9580 template<typename T>
9581 using member = typename T::member_type;
9583 template<typename T>
9586 template<typename T>
9587 void func(member<T>*) {}
9591 void test() { func<foo>(0); }
9595 } // namespace cxx11
9597 #endif // __cplusplus >= 201103L
9602 if ac_fn_cxx_try_compile
"$LINENO"; then :
9603 ax_cv_cxx_compile_cxx11
=yes
9605 ax_cv_cxx_compile_cxx11
=no
9607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
9610 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
9611 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
9617 if test x
$ac_success = xno
; then
9618 for switch
in -std=c
++11 -std=c
++0x
+std
=c
++11 "-h std=c++11"; do
9619 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
9621 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
9622 if eval \
${$cachevar+:} false
; then :
9623 $as_echo_n "(cached) " >&6
9627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9631 // If the compiler admits that it is not ready for C++11, why torture it?
9632 // Hopefully, this will speed up the test.
9636 #error "This is not a C++ compiler"
9638 #elif __cplusplus < 201103L
9640 #error "This is not a C++11 compiler"
9647 namespace test_static_assert
9650 template <typename T>
9653 static_assert(sizeof(int) <= sizeof(T), "not big enough");
9658 namespace test_final_override
9666 struct Derived : public Base
9668 virtual void f() override {}
9673 namespace test_double_right_angle_brackets
9676 template < typename T >
9679 typedef check<void> single_type;
9680 typedef check<check<void>> double_type;
9681 typedef check<check<check<void>>> triple_type;
9682 typedef check<check<check<check<void>>>> quadruple_type;
9686 namespace test_decltype
9699 namespace test_type_deduction
9702 template < typename T1, typename T2 >
9705 static const bool value = false;
9708 template < typename T >
9709 struct is_same<T, T>
9711 static const bool value = true;
9714 template < typename T1, typename T2 >
9716 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9722 test(const int c, volatile int v)
9724 static_assert(is_same<int, decltype(0)>::value == true, "");
9725 static_assert(is_same<int, decltype(c)>::value == false, "");
9726 static_assert(is_same<int, decltype(v)>::value == false, "");
9729 auto sumi = ac + av + 'x';
9730 auto sumf = ac + av + 1.0;
9731 static_assert(is_same<int, decltype(ac)>::value == true, "");
9732 static_assert(is_same<int, decltype(av)>::value == true, "");
9733 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9734 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9735 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9736 return (sumf > 0.0) ? sumi : add(c, v);
9741 namespace test_noexcept
9744 int f() { return 0; }
9745 int g() noexcept { return 0; }
9747 static_assert(noexcept(f()) == false, "");
9748 static_assert(noexcept(g()) == true, "");
9752 namespace test_constexpr
9755 template < typename CharT >
9756 unsigned long constexpr
9757 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9759 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9762 template < typename CharT >
9763 unsigned long constexpr
9764 strlen_c(const CharT *const s) noexcept
9766 return strlen_c_r(s, 0UL);
9769 static_assert(strlen_c("") == 0UL, "");
9770 static_assert(strlen_c("1") == 1UL, "");
9771 static_assert(strlen_c("example") == 7UL, "");
9772 static_assert(strlen_c("another\0example") == 7UL, "");
9776 namespace test_rvalue_references
9782 static constexpr int value = N;
9785 answer<1> f(int&) { return answer<1>(); }
9786 answer<2> f(const int&) { return answer<2>(); }
9787 answer<3> f(int&&) { return answer<3>(); }
9794 static_assert(decltype(f(i))::value == 1, "");
9795 static_assert(decltype(f(c))::value == 2, "");
9796 static_assert(decltype(f(0))::value == 3, "");
9801 namespace test_uniform_initialization
9806 static const int zero {};
9807 static const int one {1};
9810 static_assert(test::zero == 0, "");
9811 static_assert(test::one == 1, "");
9815 namespace test_lambdas
9821 auto lambda1 = [](){};
9822 auto lambda2 = lambda1;
9830 auto a = [](int i, int j){ return i + j; }(1, 2);
9831 auto b = []() -> int { return '0'; }();
9832 auto c = [=](){ return a + b; }();
9833 auto d = [&](){ return c; }();
9834 auto e = [a, &b](int x) mutable {
9835 const auto identity = [](int y){ return y; };
9836 for (auto i = 0; i < a; ++i)
9838 return x + identity(a + b);
9840 return a + b + c + d + e;
9846 const auto nullary = [](){ return 0; };
9847 const auto unary = [](int x){ return x; };
9848 using nullary_t = decltype(nullary);
9849 using unary_t = decltype(unary);
9850 const auto higher1st = [](nullary_t f){ return f(); };
9851 const auto higher2nd = [unary](nullary_t f1){
9852 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9854 return higher1st(nullary) + higher2nd(nullary)(unary);
9859 namespace test_variadic_templates
9865 template <int N0, int... N1toN>
9866 struct sum<N0, N1toN...>
9868 static constexpr auto value = N0 + sum<N1toN...>::value;
9874 static constexpr auto value = 0;
9877 static_assert(sum<>::value == 0, "");
9878 static_assert(sum<1>::value == 1, "");
9879 static_assert(sum<23>::value == 23, "");
9880 static_assert(sum<1, 2>::value == 3, "");
9881 static_assert(sum<5, 5, 11>::value == 21, "");
9882 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9886 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9887 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9889 namespace test_template_alias_sfinae
9894 template<typename T>
9895 using member = typename T::member_type;
9897 template<typename T>
9900 template<typename T>
9901 void func(member<T>*) {}
9905 void test() { func<foo>(0); }
9909 } // namespace cxx11
9911 #endif // __cplusplus >= 201103L
9916 if ac_fn_cxx_try_compile
"$LINENO"; then :
9921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9924 eval ac_res
=\$
$cachevar
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9926 $as_echo "$ac_res" >&6; }
9927 if eval test x\$
$cachevar = xyes
; then
9935 ac_cpp
='$CPP $CPPFLAGS'
9936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9940 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
9941 if test x
$ac_success = xno
; then
9942 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
9945 if test x
$ac_success = xno
; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
9948 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
9952 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
9957 if test "x$HAVE_CXX11" != x1
; then :
9960 ac_cpp
='$CXXCPP $CPPFLAGS'
9961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -std=c++0x" >&5
9966 $as_echo_n "checking whether C++ compiler accepts -std=c++0x... " >&6; }
9967 if ${ax_cv_check_cxxflags___std_cpp0x+:} false
; then :
9968 $as_echo_n "(cached) " >&6
9971 ax_check_save_flags
=$CXXFLAGS
9972 CXXFLAGS
="$CXXFLAGS -std=c++0x"
9973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9984 if ac_fn_cxx_try_compile
"$LINENO"; then :
9985 ax_cv_check_cxxflags___std_cpp0x
=yes
9987 ax_cv_check_cxxflags___std_cpp0x
=no
9989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9990 CXXFLAGS
=$ax_check_save_flags
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___std_cpp0x" >&5
9993 $as_echo "$ax_cv_check_cxxflags___std_cpp0x" >&6; }
9994 if test "x$ax_cv_check_cxxflags___std_cpp0x" = xyes
; then :
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with -std=c++0x" >&5
9997 $as_echo "$as_me: Compiling with -std=c++0x" >&6;}
9998 CXX
="$CXX -std=c++0x"
10003 as_fn_error $?
"A compiler with C++11 support is required." "$LINENO" 5
10008 ac_cpp
='$CPP $CPPFLAGS'
10009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10016 # Check whether --enable-ssp was given.
10017 if test "${enable_ssp+set}" = set; then :
10018 enableval
=$enable_ssp;
10021 if test "x$enable_ssp" != xno
; then :
10023 save_CFLAGS
="$CFLAGS"
10024 save_CXXFLAGS
="$CXXFLAGS"
10025 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
10026 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
10027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10031 if ac_fn_c_try_compile
"$LINENO"; then :
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
10034 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
10035 CFLAGS
="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
10036 CXXFLAGS
="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
10040 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
10041 CFLAGS
="$save_CFLAGS"
10042 CXXFLAGS
="$save_CXXFLAGS"
10044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10050 # Compiling without fPIE by default (see PR 9922)
10051 # Check whether --enable-pie was given.
10052 if test "${enable_pie+set}" = set; then :
10053 enableval
=$enable_pie;
10056 if test "x$enable_pie" == xyes
; then :
10059 PIECXXFLAGS
='-fPIE'
10060 PIELDFLAGS
='-pie -Wl,-z,relro -Wl,-z,now'
10061 save_CFLAGS
="$CFLAGS"
10062 save_CXXFLAGS
="$CXXFLAGS"
10063 save_LDFLAGS
="$LDFLAGS"
10064 CFLAGS
="$CFLAGS $PIECFLAGS"
10065 CXXFLAGS
="$CXXFLAGS $PIECXXFLAGS"
10066 LDFLAGS
="$LDFLAGS $PIELDFLAGS"
10067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10071 if ac_fn_c_try_link
"$LINENO"; then :
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
10074 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
10079 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
10085 rm -f core conftest.err conftest.
$ac_objext \
10086 conftest
$ac_exeext conftest.
$ac_ext
10087 CFLAGS
="$save_CFLAGS"
10088 CXXFLAGS
="$save_CXXFLAGS"
10089 LDFLAGS
="$save_LDFLAGS"
10096 # Check whether --enable-sqlite was given.
10097 if test "${enable_sqlite+set}" = set; then :
10098 enableval
=$enable_sqlite;
10100 enable_sqlite
=check
10110 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10111 if test -n "$ac_tool_prefix"; then
10112 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10113 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10115 $as_echo_n "checking for $ac_word... " >&6; }
10116 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10117 $as_echo_n "(cached) " >&6
10119 case $PKG_CONFIG in
10121 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10125 for as_dir
in $PATH
10128 test -z "$as_dir" && as_dir
=.
10129 for ac_exec_ext
in '' $ac_executable_extensions; do
10130 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10131 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10142 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10143 if test -n "$PKG_CONFIG"; then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10145 $as_echo "$PKG_CONFIG" >&6; }
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10148 $as_echo "no" >&6; }
10153 if test -z "$ac_cv_path_PKG_CONFIG"; then
10154 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10155 # Extract the first word of "pkg-config", so it can be a program name with args.
10156 set dummy pkg-config
; ac_word
=$2
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10158 $as_echo_n "checking for $ac_word... " >&6; }
10159 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10160 $as_echo_n "(cached) " >&6
10162 case $ac_pt_PKG_CONFIG in
10164 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10168 for as_dir
in $PATH
10171 test -z "$as_dir" && as_dir
=.
10172 for ac_exec_ext
in '' $ac_executable_extensions; do
10173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10174 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10185 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10186 if test -n "$ac_pt_PKG_CONFIG"; then
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10188 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10191 $as_echo "no" >&6; }
10194 if test "x$ac_pt_PKG_CONFIG" = x
; then
10197 case $cross_compiling:$ac_tool_warned in
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10201 ac_tool_warned
=yes ;;
10203 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10206 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10210 if test -n "$PKG_CONFIG"; then
10211 _pkg_min_version
=0.9.0
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10213 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10214 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10216 $as_echo "yes" >&6; }
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10219 $as_echo "no" >&6; }
10223 if test "x$enable_sqlite" != xno
; then :
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
10227 $as_echo_n "checking for sqlite3... " >&6; }
10229 if test -n "$sqlite3_CFLAGS"; then
10230 pkg_cv_sqlite3_CFLAGS
="$sqlite3_CFLAGS"
10231 elif test -n "$PKG_CONFIG"; then
10232 if test -n "$PKG_CONFIG" && \
10233 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
10234 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
10236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10237 test $ac_status = 0; }; then
10238 pkg_cv_sqlite3_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3 > 3.7" 2>/dev/null`
10239 test "x$?" != "x0" && pkg_failed
=yes
10246 if test -n "$sqlite3_LIBS"; then
10247 pkg_cv_sqlite3_LIBS
="$sqlite3_LIBS"
10248 elif test -n "$PKG_CONFIG"; then
10249 if test -n "$PKG_CONFIG" && \
10250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
10251 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
10253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10254 test $ac_status = 0; }; then
10255 pkg_cv_sqlite3_LIBS
=`$PKG_CONFIG --libs "sqlite3 > 3.7" 2>/dev/null`
10256 test "x$?" != "x0" && pkg_failed
=yes
10266 if test $pkg_failed = yes; then
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10268 $as_echo "no" >&6; }
10270 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10271 _pkg_short_errors_supported
=yes
10273 _pkg_short_errors_supported
=no
10275 if test $_pkg_short_errors_supported = yes; then
10276 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
10278 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
10280 # Put the nasty error message in config.log where it belongs
10281 echo "$sqlite3_PKG_ERRORS" >&5
10283 if test "x$enable_sqlite" != xcheck
; then
10284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10286 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
10287 See \`config.log' for more details" "$LINENO" 5; }
10289 elif test $pkg_failed = untried
; then
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10291 $as_echo "no" >&6; }
10292 if test "x$enable_sqlite" != xcheck
; then
10293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10295 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
10296 See \`config.log' for more details" "$LINENO" 5; }
10299 sqlite3_CFLAGS
=$pkg_cv_sqlite3_CFLAGS
10300 sqlite3_LIBS
=$pkg_cv_sqlite3_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10302 $as_echo "yes" >&6; }
10304 $as_echo "#define HAVE_LIBSQLITE3 1" >>confdefs.h
10309 # Check whether --enable-translator was given.
10310 if test "${enable_translator+set}" = set; then :
10311 enableval
=$enable_translator;
10313 enable_translator
="yes"
10316 if test "$enable_translator" == "yes"; then
10317 BUILD_TRANSLATOR_TRUE
=
10318 BUILD_TRANSLATOR_FALSE
='#'
10320 BUILD_TRANSLATOR_TRUE
='#'
10321 BUILD_TRANSLATOR_FALSE
=
10325 # Check whether --enable-crash was given.
10326 if test "${enable_crash+set}" = set; then :
10327 enableval
=$enable_crash; if test "$enable_crash" != "no"; then
10328 save_CPPFLAGS
="$CPPFLAGS"
10329 if test "$enable_crash" != "yes"; then
10330 staplog_CPPFLAGS
=-I$enable_crash
10331 CPPFLAGS
="${staplog_CPPFLAGS} $CPPFLAGS"
10334 for ac_header
in crash
/defs.h
10336 ac_fn_c_check_header_compile
"$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
10337 #define NR_CPUS 256
10340 if test "x$ac_cv_header_crash_defs_h" = xyes
; then :
10341 cat >>confdefs.h
<<_ACEOF
10342 #define HAVE_CRASH_DEFS_H 1
10346 as_fn_error $?
"cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
10351 CPPFLAGS
="$save_CPPFLAGS"
10357 if test "$enable_crash" != "no"; then
10358 BUILD_CRASHMOD_TRUE
=
10359 BUILD_CRASHMOD_FALSE
='#'
10361 BUILD_CRASHMOD_TRUE
='#'
10362 BUILD_CRASHMOD_FALSE
=
10367 # Check whether --enable-docs was given.
10368 if test "${enable_docs+set}" = set; then :
10369 enableval
=$enable_docs; enable_docs
=$enableval
10371 enable_docs
="check"
10374 # Extract the first word of "latex", so it can be a program name with args.
10375 set dummy latex
; ac_word
=$2
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10377 $as_echo_n "checking for $ac_word... " >&6; }
10378 if ${ac_cv_prog_have_latex+:} false
; then :
10379 $as_echo_n "(cached) " >&6
10381 if test -n "$have_latex"; then
10382 ac_cv_prog_have_latex
="$have_latex" # Let the user override the test.
10384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10385 for as_dir
in $PATH
10388 test -z "$as_dir" && as_dir
=.
10389 for ac_exec_ext
in '' $ac_executable_extensions; do
10390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10391 ac_cv_prog_have_latex
="yes"
10392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10399 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex
="no"
10402 have_latex
=$ac_cv_prog_have_latex
10403 if test -n "$have_latex"; then
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
10405 $as_echo "$have_latex" >&6; }
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10408 $as_echo "no" >&6; }
10412 # Extract the first word of "dvips", so it can be a program name with args.
10413 set dummy dvips
; ac_word
=$2
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10415 $as_echo_n "checking for $ac_word... " >&6; }
10416 if ${ac_cv_prog_have_dvips+:} false
; then :
10417 $as_echo_n "(cached) " >&6
10419 if test -n "$have_dvips"; then
10420 ac_cv_prog_have_dvips
="$have_dvips" # Let the user override the test.
10422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10423 for as_dir
in $PATH
10426 test -z "$as_dir" && as_dir
=.
10427 for ac_exec_ext
in '' $ac_executable_extensions; do
10428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10429 ac_cv_prog_have_dvips
="yes"
10430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10437 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips
="no"
10440 have_dvips
=$ac_cv_prog_have_dvips
10441 if test -n "$have_dvips"; then
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
10443 $as_echo "$have_dvips" >&6; }
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10446 $as_echo "no" >&6; }
10450 # Extract the first word of "ps2pdf", so it can be a program name with args.
10451 set dummy ps2pdf
; ac_word
=$2
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10453 $as_echo_n "checking for $ac_word... " >&6; }
10454 if ${ac_cv_prog_have_ps2pdf+:} false
; then :
10455 $as_echo_n "(cached) " >&6
10457 if test -n "$have_ps2pdf"; then
10458 ac_cv_prog_have_ps2pdf
="$have_ps2pdf" # Let the user override the test.
10460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10461 for as_dir
in $PATH
10464 test -z "$as_dir" && as_dir
=.
10465 for ac_exec_ext
in '' $ac_executable_extensions; do
10466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10467 ac_cv_prog_have_ps2pdf
="yes"
10468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10475 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf
="no"
10478 have_ps2pdf
=$ac_cv_prog_have_ps2pdf
10479 if test -n "$have_ps2pdf"; then
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
10481 $as_echo "$have_ps2pdf" >&6; }
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10484 $as_echo "no" >&6; }
10488 if test "x${have_latex}${have_dvips}${have_ps2pdf}" != "xyesyesyes"; then
10489 if test "$enable_docs" == "yes"; then
10490 as_fn_error $?
"cannot find all tools for building documentation" "$LINENO" 5
10492 if test "$enable_docs" == "check"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
10494 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
10497 if test "x${have_latex}${have_dvips}${have_ps2pdf}" == "xyesyesyes" -a "$enable_docs" != "no"; then
10498 building_docs
="yes"
10500 if test "$building_docs" == "yes"; then
10502 BUILD_DOCS_FALSE
='#'
10504 BUILD_DOCS_TRUE
='#'
10510 building_refdocs
="no"
10511 # Check whether --enable-refdocs was given.
10512 if test "${enable_refdocs+set}" = set; then :
10513 enableval
=$enable_refdocs; enable_refdocs
=$enableval
10515 enable_refdocs
="check"
10518 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
10519 as_fn_error $?
"must use --enable-docs with --enable-refdocs" "$LINENO" 5
10521 if test "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
10522 building_refdocs
="yes"
10524 if test "$building_refdocs" == "yes"; then
10525 BUILD_REFDOCS_TRUE
=
10526 BUILD_REFDOCS_FALSE
='#'
10528 BUILD_REFDOCS_TRUE
='#'
10529 BUILD_REFDOCS_FALSE
=
10533 # Extract the first word of "xmlto", so it can be a program name with args.
10534 set dummy xmlto
; ac_word
=$2
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10536 $as_echo_n "checking for $ac_word... " >&6; }
10537 if ${ac_cv_prog_have_xmlto+:} false
; then :
10538 $as_echo_n "(cached) " >&6
10540 if test -n "$have_xmlto"; then
10541 ac_cv_prog_have_xmlto
="$have_xmlto" # Let the user override the test.
10543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10544 for as_dir
in $PATH
10547 test -z "$as_dir" && as_dir
=.
10548 for ac_exec_ext
in '' $ac_executable_extensions; do
10549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10550 ac_cv_prog_have_xmlto
="yes"
10551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10558 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto
="no"
10561 have_xmlto
=$ac_cv_prog_have_xmlto
10562 if test -n "$have_xmlto"; then
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
10564 $as_echo "$have_xmlto" >&6; }
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10567 $as_echo "no" >&6; }
10571 # Extract the first word of "fop", so it can be a program name with args.
10572 set dummy fop
; ac_word
=$2
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10574 $as_echo_n "checking for $ac_word... " >&6; }
10575 if ${ac_cv_prog_have_fop+:} false
; then :
10576 $as_echo_n "(cached) " >&6
10578 if test -n "$have_fop"; then
10579 ac_cv_prog_have_fop
="$have_fop" # Let the user override the test.
10581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10582 for as_dir
in $PATH
10585 test -z "$as_dir" && as_dir
=.
10586 for ac_exec_ext
in '' $ac_executable_extensions; do
10587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_prog_have_fop
="yes"
10589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10596 test -z "$ac_cv_prog_have_fop" && ac_cv_prog_have_fop
="no"
10599 have_fop
=$ac_cv_prog_have_fop
10600 if test -n "$have_fop"; then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_fop" >&5
10602 $as_echo "$have_fop" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10605 $as_echo "no" >&6; }
10609 if test "x${have_fop}" == "xyes"; then
10610 # Due to rhbz505364 / 830266, we must actually test-run fop, not just
10611 # hope that it works.
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if xmlto --with-fop actually works" >&5
10613 $as_echo_n "checking to see if xmlto --with-fop actually works... " >&6; }
10614 if xmlto
--with-fop pdf
${srcdir}/doc
/SystemTap_Tapset_Reference
/dummy-tapsets.xml
>/dev
/null
2>&1; then
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10616 $as_echo "yes" >&6; }
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: it's dead, Jim" >&5
10619 $as_echo "it's dead, Jim" >&6; }
10622 rm -f dummy-tapsets.pdf
10624 if test "$have_fop" == "yes"; then
10632 if test "$have_xmlto" == "yes"; then
10634 HAVE_XMLTO_FALSE
='#'
10636 HAVE_XMLTO_TRUE
='#'
10641 building_htmldocs
="no"
10642 # Check whether --enable-htmldocs was given.
10643 if test "${enable_htmldocs+set}" = set; then :
10644 enableval
=$enable_htmldocs; building_htmldocs
=$enableval
10646 building_htmldocs
="no"
10649 if test "$have_xmlto" == "no" -a "$building_htmldocs" == "yes"; then
10650 as_fn_error $?
"xmlto required for building html documentation" "$LINENO" 5
10653 if test "$building_htmldocs" == "yes"; then
10654 BUILD_HTMLDOCS_TRUE
=
10655 BUILD_HTMLDOCS_FALSE
='#'
10657 BUILD_HTMLDOCS_TRUE
='#'
10658 BUILD_HTMLDOCS_FALSE
=
10662 cat > conftest.xml
<< 'EOF'
10663 <?xml version
="1.0" encoding
="UTF-8"?
>
10664 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN"
10665 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
10667 <bookinfo
><title
>foo
</title
></bookinfo
>
10668 <chapter id
="logging.stp"><title
>Logging Tapset
</title
>
10669 <refentry id
="API-log"><refnamediv
><refname
>log
</refname
>
10670 <refpurpose
>logging
</refpurpose
></refnamediv
>
10671 <refsect1
><title
>Description
</title
>
10672 <para
>baz
</para
></refsect1
></refentry
></chapter
>
10676 if test "x${have_xmlto}" == "xyes"; then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
10678 $as_echo_n "checking for xmlto --stringparam support... " >&6; }
10679 xmlto
--stringparam man.authors.section.enabled
=0 html-nochunks conftest.xml
>/dev
/null
2>&1
10680 if test $?
== 0; then
10681 have_xmlto_stringparam
="yes"
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10683 $as_echo "yes" >&6; }
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10686 $as_echo "no" >&6; }
10688 rm -f conftest.html
10690 if test "$have_xmlto_stringparam" == "yes"; then
10691 XMLTO_STRINGPARAM_TRUE
=
10692 XMLTO_STRINGPARAM_FALSE
='#'
10694 XMLTO_STRINGPARAM_TRUE
='#'
10695 XMLTO_STRINGPARAM_FALSE
=
10702 # Check whether --with-nss was given.
10703 if test "${with_nss+set}" = set; then :
10708 if test "x$with_nss" != "xno"; then :
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
10713 $as_echo_n "checking for nss... " >&6; }
10715 if test -n "$nss_CFLAGS"; then
10716 pkg_cv_nss_CFLAGS
="$nss_CFLAGS"
10717 elif test -n "$PKG_CONFIG"; then
10718 if test -n "$PKG_CONFIG" && \
10719 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10720 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10723 test $ac_status = 0; }; then
10724 pkg_cv_nss_CFLAGS
=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev/null`
10725 test "x$?" != "x0" && pkg_failed
=yes
10732 if test -n "$nss_LIBS"; then
10733 pkg_cv_nss_LIBS
="$nss_LIBS"
10734 elif test -n "$PKG_CONFIG"; then
10735 if test -n "$PKG_CONFIG" && \
10736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10737 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10740 test $ac_status = 0; }; then
10741 pkg_cv_nss_LIBS
=`$PKG_CONFIG --libs "nss >= 3" 2>/dev/null`
10742 test "x$?" != "x0" && pkg_failed
=yes
10752 if test $pkg_failed = yes; then
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10754 $as_echo "no" >&6; }
10756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10757 _pkg_short_errors_supported
=yes
10759 _pkg_short_errors_supported
=no
10761 if test $_pkg_short_errors_supported = yes; then
10762 nss_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= 3" 2>&1`
10764 nss_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "nss >= 3" 2>&1`
10766 # Put the nasty error message in config.log where it belongs
10767 echo "$nss_PKG_ERRORS" >&5
10770 elif test $pkg_failed = untried
; then
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10772 $as_echo "no" >&6; }
10775 nss_CFLAGS
=$pkg_cv_nss_CFLAGS
10776 nss_LIBS
=$pkg_cv_nss_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10778 $as_echo "yes" >&6; }
10781 $as_echo "#define HAVE_NSS 1" >>confdefs.h
10790 if test "${have_nss}" = "yes"; then
10800 # Check whether --with-dracutstap was given.
10801 if test "${with_dracutstap+set}" = set; then :
10802 withval
=$with_dracutstap;
10805 if test "x$with_dracutstap" != "x"; then :
10806 dracutstap
="$with_dracutstap"
10808 dracutstap
=/usr
/lib
/dracut
/modules.d
/99stap
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut module directory $dracutstap" >&5
10811 $as_echo "$as_me: using dracut module directory $dracutstap" >&6;}
10815 # Check whether --with-dracutbindir was given.
10816 if test "${with_dracutbindir+set}" = set; then :
10817 withval
=$with_dracutbindir;
10820 if test "x$with_dracutbindir" != "x"; then :
10821 dracutbindir
="$with_dracutbindir"
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut binary $dracutbindir" >&5
10826 $as_echo "$as_me: using dracut binary $dracutbindir" >&6;}
10829 # Check whether --enable-server was given.
10830 if test "${enable_server+set}" = set; then :
10831 enableval
=$enable_server; enable_server
=$enableval
10833 enable_server
="check"
10837 if test "$enable_server" != "no"; then
10838 if test "x${have_nss}" != "xyes"; then
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss headers" >&5
10840 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss headers" >&2;}
10843 if test "${have_nss}" == "yes" -a "$enable_server" != "no"; then
10845 BUILD_SERVER_FALSE
='#'
10847 BUILD_SERVER_TRUE
='#'
10848 BUILD_SERVER_FALSE
=
10852 if test "${have_nss}" != "yes"; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&5
10854 $as_echo "$as_me: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&2;}
10858 # Check whether --with-avahi was given.
10859 if test "${with_avahi+set}" = set; then :
10860 withval
=$with_avahi;
10864 if test "x$with_avahi" != "xno"; then :
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
10869 $as_echo_n "checking for avahi... " >&6; }
10871 if test -n "$avahi_CFLAGS"; then
10872 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
10873 elif test -n "$PKG_CONFIG"; then
10874 if test -n "$PKG_CONFIG" && \
10875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10876 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10879 test $ac_status = 0; }; then
10880 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
10881 test "x$?" != "x0" && pkg_failed
=yes
10888 if test -n "$avahi_LIBS"; then
10889 pkg_cv_avahi_LIBS
="$avahi_LIBS"
10890 elif test -n "$PKG_CONFIG"; then
10891 if test -n "$PKG_CONFIG" && \
10892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10893 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10896 test $ac_status = 0; }; then
10897 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
10898 test "x$?" != "x0" && pkg_failed
=yes
10908 if test $pkg_failed = yes; then
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10910 $as_echo "no" >&6; }
10912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10913 _pkg_short_errors_supported
=yes
10915 _pkg_short_errors_supported
=no
10917 if test $_pkg_short_errors_supported = yes; then
10918 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
10920 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
10922 # Put the nasty error message in config.log where it belongs
10923 echo "$avahi_PKG_ERRORS" >&5
10926 elif test $pkg_failed = untried
; then
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10928 $as_echo "no" >&6; }
10931 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
10932 avahi_LIBS
=$pkg_cv_avahi_LIBS
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10934 $as_echo "yes" >&6; }
10937 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
10946 if test "${have_avahi}" = "yes"; then
10948 HAVE_AVAHI_FALSE
='#'
10950 HAVE_AVAHI_TRUE
='#'
10955 if test "${have_avahi}" != "yes"; then
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&5
10957 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&2;}
10962 # Check whether --with-rpm was given.
10963 if test "${with_rpm+set}" = set; then :
10969 if test "$with_rpm" != "no"; then
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
10971 $as_echo_n "checking for rpmtsInitIterator in -lrpm... " >&6; }
10972 if ${ac_cv_lib_rpm_rpmtsInitIterator+:} false
; then :
10973 $as_echo_n "(cached) " >&6
10975 ac_check_lib_save_LIBS
=$LIBS
10977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10980 /* Override any GCC internal prototype to avoid an error.
10981 Use char because int might match the return type of a GCC
10982 builtin and then its argument prototype would still apply. */
10986 char rpmtsInitIterator ();
10990 return rpmtsInitIterator ();
10995 if ac_fn_c_try_link
"$LINENO"; then :
10996 ac_cv_lib_rpm_rpmtsInitIterator
=yes
10998 ac_cv_lib_rpm_rpmtsInitIterator
=no
11000 rm -f core conftest.err conftest.
$ac_objext \
11001 conftest
$ac_exeext conftest.
$ac_ext
11002 LIBS
=$ac_check_lib_save_LIBS
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
11005 $as_echo "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
11006 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = xyes
; then :
11009 $as_echo "#define HAVE_LIBRPM 1" >>confdefs.h
11011 stap_LIBS
="$stap_LIBS -lc -lrpm"
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmdbNextIterator in -lrpmdb" >&5
11018 $as_echo_n "checking for rpmdbNextIterator in -lrpmdb... " >&6; }
11019 if ${ac_cv_lib_rpmdb_rpmdbNextIterator+:} false
; then :
11020 $as_echo_n "(cached) " >&6
11022 ac_check_lib_save_LIBS
=$LIBS
11023 LIBS
="-lrpmdb $LIBS"
11024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11033 char rpmdbNextIterator ();
11037 return rpmdbNextIterator ();
11042 if ac_fn_c_try_link
"$LINENO"; then :
11043 ac_cv_lib_rpmdb_rpmdbNextIterator
=yes
11045 ac_cv_lib_rpmdb_rpmdbNextIterator
=no
11047 rm -f core conftest.err conftest.
$ac_objext \
11048 conftest
$ac_exeext conftest.
$ac_ext
11049 LIBS
=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmdb_rpmdbNextIterator" >&5
11052 $as_echo "$ac_cv_lib_rpmdb_rpmdbNextIterator" >&6; }
11053 if test "x$ac_cv_lib_rpmdb_rpmdbNextIterator" = xyes
; then :
11055 stap_LIBS
="$stap_LIBS -lrpmdb"
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
11059 $as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
11060 if ${ac_cv_lib_rpmio_rpmFreeCrypto+:} false
; then :
11061 $as_echo_n "(cached) " >&6
11063 ac_check_lib_save_LIBS
=$LIBS
11064 LIBS
="-lrpmio $LIBS"
11065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11074 char rpmFreeCrypto ();
11078 return rpmFreeCrypto ();
11083 if ac_fn_c_try_link
"$LINENO"; then :
11084 ac_cv_lib_rpmio_rpmFreeCrypto
=yes
11086 ac_cv_lib_rpmio_rpmFreeCrypto
=no
11088 rm -f core conftest.err conftest.
$ac_objext \
11089 conftest
$ac_exeext conftest.
$ac_ext
11090 LIBS
=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
11093 $as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
11094 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = xyes
; then :
11097 $as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
11099 stap_LIBS
="$stap_LIBS -lc -lrpmio"
11100 have_librpmio
="yes"
11105 if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
11106 as_fn_error $?
"cannot find librpm" "$LINENO" 5
11108 if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
11110 $as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
11114 LIBS_no_readline
=$LIBS
11116 have_libreadline
="no"
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
11118 $as_echo_n "checking how to link readline libs... " >&6; }
11119 for libtermcap
in "" tinfo ncursesw ncurses curses termcap
; do
11120 if test -z "$libtermcap"; then
11121 READLINE_LIBS
="-lreadline"
11123 READLINE_LIBS
="-lreadline -l$libtermcap"
11125 LIBS
="$READLINE_LIBS $LIBS_no_readline"
11126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11139 return readline ();
11144 if ac_fn_c_try_link
"$LINENO"; then :
11145 have_libreadline
="yes"
11147 rm -f core conftest.err conftest.
$ac_objext \
11148 conftest
$ac_exeext conftest.
$ac_ext
11149 if test "$have_libreadline" = "yes"; then
11153 if test "$have_libreadline" = "no"; then
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11155 $as_echo "none" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
11159 $as_echo "$READLINE_LIBS" >&6; }
11161 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
11165 if test "$have_libreadline" == "yes"; then
11166 HAVE_LIBREADLINE_TRUE
=
11167 HAVE_LIBREADLINE_FALSE
='#'
11169 HAVE_LIBREADLINE_TRUE
='#'
11170 HAVE_LIBREADLINE_FALSE
=
11174 LIBS
=$LIBS_no_readline
11177 # Check whether --with-python3 was given.
11178 if test "${with_python3+set}" = set; then :
11179 withval
=$with_python3;
11182 if test "x$with_python3" = "xyes"; then :
11183 if test -z "$PYTHON3"; then :
11184 as_fn_error $?
"python version 3 is required" "$LINENO" 5
11186 preferred_python
=$PYTHON3
11190 if test "x$PYTHON" = "x:"; then :
11191 as_fn_error $?
"python version 2 is required" "$LINENO" 5
11193 preferred_python
=$PYTHON
11200 # Check whether --with-elfutils was given.
11201 if test "${with_elfutils+set}" = set; then :
11202 withval
=$with_elfutils;
11203 case "$with_elfutils" in
11204 yes) as_fn_error $?
"--with-elfutils requires an argument" "$LINENO" 5 ;;
11206 *) build_elfutils
=yes ;;
11210 if test $build_elfutils = yes; then
11211 BUILD_ELFUTILS_TRUE
=
11212 BUILD_ELFUTILS_FALSE
='#'
11214 BUILD_ELFUTILS_TRUE
='#'
11215 BUILD_ELFUTILS_FALSE
=
11218 elfutils_abs_srcdir
=`if test $build_elfutils = yes; then :
11219 cd $with_elfutils && pwd
11223 if test $enable_translator = yes; then
11224 if test $build_elfutils = no
; then
11225 # Need libdwfl-capable recent elfutils http://elfutils.org/
11227 # On modern debian/ubuntu, libebl has been merged into libdw
11228 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ebl_get_elfmachine in -lebl" >&5
11231 $as_echo_n "checking for ebl_get_elfmachine in -lebl... " >&6; }
11232 if ${ac_cv_lib_ebl_ebl_get_elfmachine+:} false
; then :
11233 $as_echo_n "(cached) " >&6
11235 ac_check_lib_save_LIBS
=$LIBS
11237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11246 char ebl_get_elfmachine ();
11250 return ebl_get_elfmachine ();
11255 if ac_fn_c_try_link
"$LINENO"; then :
11256 ac_cv_lib_ebl_ebl_get_elfmachine
=yes
11258 ac_cv_lib_ebl_ebl_get_elfmachine
=no
11260 rm -f core conftest.err conftest.
$ac_objext \
11261 conftest
$ac_exeext conftest.
$ac_ext
11262 LIBS
=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_get_elfmachine" >&5
11265 $as_echo "$ac_cv_lib_ebl_ebl_get_elfmachine" >&6; }
11266 if test "x$ac_cv_lib_ebl_ebl_get_elfmachine" = xyes
; then :
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
11276 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
11277 if ${ac_cv_lib_dw_dwfl_module_getsym+:} false
; then :
11278 $as_echo_n "(cached) " >&6
11280 ac_check_lib_save_LIBS
=$LIBS
11281 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11291 char dwfl_module_getsym ();
11295 return dwfl_module_getsym ();
11300 if ac_fn_c_try_link
"$LINENO"; then :
11301 ac_cv_lib_dw_dwfl_module_getsym
=yes
11303 ac_cv_lib_dw_dwfl_module_getsym
=no
11305 rm -f core conftest.err conftest.
$ac_objext \
11306 conftest
$ac_exeext conftest.
$ac_ext
11307 LIBS
=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
11310 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
11311 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = xyes
; then :
11312 cat >>confdefs.h
<<_ACEOF
11313 #define HAVE_LIBDW 1
11320 as_fn_error $?
"missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwarf_next_unit in -ldw" >&5
11324 $as_echo_n "checking for dwarf_next_unit in -ldw... " >&6; }
11325 if ${ac_cv_lib_dw_dwarf_next_unit+:} false
; then :
11326 $as_echo_n "(cached) " >&6
11328 ac_check_lib_save_LIBS
=$LIBS
11329 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11339 char dwarf_next_unit ();
11343 return dwarf_next_unit ();
11348 if ac_fn_c_try_link
"$LINENO"; then :
11349 ac_cv_lib_dw_dwarf_next_unit
=yes
11351 ac_cv_lib_dw_dwarf_next_unit
=no
11353 rm -f core conftest.err conftest.
$ac_objext \
11354 conftest
$ac_exeext conftest.
$ac_ext
11355 LIBS
=$ac_check_lib_save_LIBS
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_next_unit" >&5
11358 $as_echo "$ac_cv_lib_dw_dwarf_next_unit" >&6; }
11359 if test "x$ac_cv_lib_dw_dwarf_next_unit" = xyes
; then :
11360 cat >>confdefs.h
<<_ACEOF
11361 #define HAVE_LIBDW 1
11368 as_fn_error $?
"elfutils, libdw too old, need 0.148+" "$LINENO" 5
11371 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
11374 # We built our own and stap_LDFLAGS points at the install.
11375 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
11381 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
11383 # staprun has more modest libelf needs
11384 if test $build_elfutils = no
; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
11387 $as_echo_n "checking for elf_getshdrstrndx in -lelf... " >&6; }
11388 if ${ac_cv_lib_elf_elf_getshdrstrndx+:} false
; then :
11389 $as_echo_n "(cached) " >&6
11391 ac_check_lib_save_LIBS
=$LIBS
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11402 char elf_getshdrstrndx ();
11406 return elf_getshdrstrndx ();
11411 if ac_fn_c_try_link
"$LINENO"; then :
11412 ac_cv_lib_elf_elf_getshdrstrndx
=yes
11414 ac_cv_lib_elf_elf_getshdrstrndx
=no
11416 rm -f core conftest.err conftest.
$ac_objext \
11417 conftest
$ac_exeext conftest.
$ac_ext
11418 LIBS
=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
11421 $as_echo "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
11422 if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes
; then :
11423 cat >>confdefs.h
<<_ACEOF
11424 #define HAVE_LIBELF 1
11431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11433 as_fn_error $?
"libelf too old, need 0.142+
11434 See \`config.log' for more details" "$LINENO" 5; }
11437 staprun_LIBS
="$staprun_LIBS -lelf"
11438 stapbpf_LIBS
="$stapbpf_LIBS -lelf"
11441 # We built our own and staprun_LDFLAGS points at the install.
11442 staprun_LIBS
="$staprun_LIBS -lelf"
11443 stapbpf_LIBS
="$stapbpf_LIBS -lelf"
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: staprun will link $staprun_LIBS" >&5
11449 $as_echo "$as_me: staprun will link $staprun_LIBS" >&6;}
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: stapbpf will link $stapbpf_LIBS" >&5
11451 $as_echo "$as_me: stapbpf will link $stapbpf_LIBS" >&6;}
11454 date=`date +%Y-%m-%d`
11456 cat >>confdefs.h
<<_ACEOF
11457 #define DATE "$date"
11463 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
11464 # being compiled on 32-bit userspace but running against 64-bit kernels.
11465 # This is no longer necessary.
11468 ac_cpp
='$CXXCPP $CPPFLAGS'
11469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11473 # Use boost::string_ref if available
11475 ac_cpp
='$CXXCPP $CPPFLAGS'
11476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11480 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11481 if test -z "$CXXCPP"; then
11482 if ${ac_cv_prog_CXXCPP+:} false
; then :
11483 $as_echo_n "(cached) " >&6
11485 # Double quotes because CXXCPP needs to be expanded
11486 for CXXCPP
in "$CXX -E" "/lib/cpp"
11488 ac_preproc_ok
=false
11489 for ac_cxx_preproc_warn_flag
in '' yes
11491 # Use a header file that comes with gcc, so configuring glibc
11492 # with a fresh cross-compiler works.
11493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11494 # <limits.h> exists even on freestanding compilers.
11495 # On the NeXT, cc -E runs the code through the compiler's parser,
11496 # not just through cpp. "Syntax error" is here to catch this case.
11497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11500 # include <limits.h>
11502 # include <assert.h>
11506 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11509 # Broken: fails on valid input.
11512 rm -f conftest.err conftest.i conftest.
$ac_ext
11514 # OK, works on sane cases. Now check whether nonexistent headers
11515 # can be detected and how.
11516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11518 #include <ac_nonexistent.h>
11520 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11521 # Broken: success on invalid input.
11524 # Passes both tests.
11528 rm -f conftest.err conftest.i conftest.
$ac_ext
11531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11532 rm -f conftest.i conftest.err conftest.
$ac_ext
11533 if $ac_preproc_ok; then :
11538 ac_cv_prog_CXXCPP
=$CXXCPP
11541 CXXCPP
=$ac_cv_prog_CXXCPP
11543 ac_cv_prog_CXXCPP
=$CXXCPP
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11546 $as_echo "$CXXCPP" >&6; }
11547 ac_preproc_ok
=false
11548 for ac_cxx_preproc_warn_flag
in '' yes
11550 # Use a header file that comes with gcc, so configuring glibc
11551 # with a fresh cross-compiler works.
11552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11553 # <limits.h> exists even on freestanding compilers.
11554 # On the NeXT, cc -E runs the code through the compiler's parser,
11555 # not just through cpp. "Syntax error" is here to catch this case.
11556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11557 /* end confdefs.h. */
11559 # include <limits.h>
11561 # include <assert.h>
11565 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11568 # Broken: fails on valid input.
11571 rm -f conftest.err conftest.i conftest.
$ac_ext
11573 # OK, works on sane cases. Now check whether nonexistent headers
11574 # can be detected and how.
11575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11577 #include <ac_nonexistent.h>
11579 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11580 # Broken: success on invalid input.
11583 # Passes both tests.
11587 rm -f conftest.err conftest.i conftest.
$ac_ext
11590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11591 rm -f conftest.i conftest.err conftest.
$ac_ext
11592 if $ac_preproc_ok; then :
11595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11597 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11598 See \`config.log' for more details" "$LINENO" 5; }
11602 ac_cpp
='$CXXCPP $CPPFLAGS'
11603 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11604 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11605 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11608 for ac_header
in boost
/utility
/string_ref.hpp
11610 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/utility/string_ref.hpp" "ac_cv_header_boost_utility_string_ref_hpp" "$ac_includes_default"
11611 if test "x$ac_cv_header_boost_utility_string_ref_hpp" = xyes
; then :
11612 cat >>confdefs.h
<<_ACEOF
11613 #define HAVE_BOOST_UTILITY_STRING_REF_HPP 1
11621 ac_cpp
='$CPP $CPPFLAGS'
11622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11628 # Check for Dyninst headers and libraries
11630 # Check whether --with-dyninst was given.
11631 if test "${with_dyninst+set}" = set; then :
11632 withval
=$with_dyninst;
11636 case "$with_dyninst" in
11638 ''|
yes) # Try a simple-minded distro search
11639 DYNINST_CXXFLAGS
="-I/usr/include/dyninst"
11640 DYNINST_LDFLAGS
="-L/usr/lib64/dyninst -L/usr/lib/dyninst" # XXX both lib paths!?!
11642 *) # Use paths in the user-specified prefix
11643 DYNINST_CXXFLAGS
="-I$with_dyninst/include"
11644 DYNINST_LDFLAGS
="-L$with_dyninst/lib/" # XXX need lib64 too?
11647 if test "$with_dyninst" != "no"; then
11649 ac_cpp
='$CXXCPP $CPPFLAGS'
11650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11654 old_CPPFLAGS
="$CPPFLAGS"
11655 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dyninst support" >&5
11657 $as_echo "$as_me: checking dyninst support" >&6;}
11658 for ac_header
in BPatch_object.h
11660 ac_fn_cxx_check_header_mongrel
"$LINENO" "BPatch_object.h" "ac_cv_header_BPatch_object_h" "$ac_includes_default"
11661 if test "x$ac_cv_header_BPatch_object_h" = xyes
; then :
11662 cat >>confdefs.h
<<_ACEOF
11663 #define HAVE_BPATCH_OBJECT_H 1
11669 $as_echo "#define HAVE_DYNINST 1" >>confdefs.h
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: dyninst support available" >&5
11673 $as_echo "$as_me: dyninst support available" >&6;}
11678 if test -n "$with_dyninst" -a "$have_dyninst" != "yes"; then
11679 as_fn_error $?
"Dyninst does not appear to be usable" "$LINENO" 5
11681 CPPFLAGS
="$old_CPPFLAGS"
11683 ac_cpp
='$CPP $CPPFLAGS'
11684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11689 if test "${have_dyninst}" = "yes"; then
11691 HAVE_DYNINST_FALSE
='#'
11693 HAVE_DYNINST_TRUE
='#'
11694 HAVE_DYNINST_FALSE
=
11700 # Check whether --enable-virt was given.
11701 if test "${enable_virt+set}" = set; then :
11702 enableval
=$enable_virt; enable_virt
=$enableval
11704 enable_virt
="check"
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
11711 $as_echo_n "checking for libvirt... " >&6; }
11713 if test -n "$libvirt_CFLAGS"; then
11714 pkg_cv_libvirt_CFLAGS
="$libvirt_CFLAGS"
11715 elif test -n "$PKG_CONFIG"; then
11716 if test -n "$PKG_CONFIG" && \
11717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11718 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11721 test $ac_status = 0; }; then
11722 pkg_cv_libvirt_CFLAGS
=`$PKG_CONFIG --cflags "libvirt >= 1.0.2" 2>/dev/null`
11723 test "x$?" != "x0" && pkg_failed
=yes
11730 if test -n "$libvirt_LIBS"; then
11731 pkg_cv_libvirt_LIBS
="$libvirt_LIBS"
11732 elif test -n "$PKG_CONFIG"; then
11733 if test -n "$PKG_CONFIG" && \
11734 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11735 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11738 test $ac_status = 0; }; then
11739 pkg_cv_libvirt_LIBS
=`$PKG_CONFIG --libs "libvirt >= 1.0.2" 2>/dev/null`
11740 test "x$?" != "x0" && pkg_failed
=yes
11750 if test $pkg_failed = yes; then
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11752 $as_echo "no" >&6; }
11754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11755 _pkg_short_errors_supported
=yes
11757 _pkg_short_errors_supported
=no
11759 if test $_pkg_short_errors_supported = yes; then
11760 libvirt_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11762 libvirt_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11764 # Put the nasty error message in config.log where it belongs
11765 echo "$libvirt_PKG_ERRORS" >&5
11768 elif test $pkg_failed = untried
; then
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11770 $as_echo "no" >&6; }
11773 libvirt_CFLAGS
=$pkg_cv_libvirt_CFLAGS
11774 libvirt_LIBS
=$pkg_cv_libvirt_LIBS
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11776 $as_echo "yes" >&6; }
11780 $as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h
11784 if test "${have_libvirt}" = "yes"; then
11786 HAVE_LIBVIRT_FALSE
='#'
11788 HAVE_LIBVIRT_TRUE
='#'
11789 HAVE_LIBVIRT_FALSE
=
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
11795 $as_echo_n "checking for libxml2... " >&6; }
11797 if test -n "$libxml2_CFLAGS"; then
11798 pkg_cv_libxml2_CFLAGS
="$libxml2_CFLAGS"
11799 elif test -n "$PKG_CONFIG"; then
11800 if test -n "$PKG_CONFIG" && \
11801 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11802 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11805 test $ac_status = 0; }; then
11806 pkg_cv_libxml2_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
11807 test "x$?" != "x0" && pkg_failed
=yes
11814 if test -n "$libxml2_LIBS"; then
11815 pkg_cv_libxml2_LIBS
="$libxml2_LIBS"
11816 elif test -n "$PKG_CONFIG"; then
11817 if test -n "$PKG_CONFIG" && \
11818 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11819 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11822 test $ac_status = 0; }; then
11823 pkg_cv_libxml2_LIBS
=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
11824 test "x$?" != "x0" && pkg_failed
=yes
11834 if test $pkg_failed = yes; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11836 $as_echo "no" >&6; }
11838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11839 _pkg_short_errors_supported
=yes
11841 _pkg_short_errors_supported
=no
11843 if test $_pkg_short_errors_supported = yes; then
11844 libxml2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
11846 libxml2_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
11848 # Put the nasty error message in config.log where it belongs
11849 echo "$libxml2_PKG_ERRORS" >&5
11852 elif test $pkg_failed = untried
; then
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11854 $as_echo "no" >&6; }
11857 libxml2_CFLAGS
=$pkg_cv_libxml2_CFLAGS
11858 libxml2_LIBS
=$pkg_cv_libxml2_LIBS
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11860 $as_echo "yes" >&6; }
11864 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11868 if test "${have_libxml2}" = "yes"; then
11870 HAVE_LIBXML2_FALSE
='#'
11872 HAVE_LIBXML2_TRUE
='#'
11873 HAVE_LIBXML2_FALSE
=
11877 if test "$enable_virt" != "no"; then
11878 if test "x${have_libvirt}" != "xyes"; then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&5
11880 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&2;}
11882 if test "x${have_libxml2}" != "xyes"; then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&5
11884 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&2;}
11887 if test "${have_libvirt}" == "yes" -a "${have_libxml2}" == "yes" -a "$enable_virt" != "no"; then
11889 BUILD_VIRT_FALSE
='#'
11891 BUILD_VIRT_TRUE
='#'
11897 # Check whether --with-python2-probes was given.
11898 if test "${with_python2_probes+set}" = set; then :
11899 withval
=$with_python2_probes;
11902 have_python2_support
=no
11903 if test "x$with_python2_probes" != "xno"; then :
11904 pathless_python
=$
(basename "$PYTHON")
11905 # Extract the first word of "${pathless_python}-config", so it can be a program name with args.
11906 set dummy
${pathless_python}-config; ac_word
=$2
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11908 $as_echo_n "checking for $ac_word... " >&6; }
11909 if ${ac_cv_path_PYTHON_CONFIG+:} false
; then :
11910 $as_echo_n "(cached) " >&6
11912 case $PYTHON_CONFIG in
11914 ac_cv_path_PYTHON_CONFIG
="$PYTHON_CONFIG" # Let the user override the test with a path.
11917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11918 for as_dir
in $PATH
11921 test -z "$as_dir" && as_dir
=.
11922 for ac_exec_ext
in '' $ac_executable_extensions; do
11923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11924 ac_cv_path_PYTHON_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11932 test -z "$ac_cv_path_PYTHON_CONFIG" && ac_cv_path_PYTHON_CONFIG
="no"
11936 PYTHON_CONFIG
=$ac_cv_path_PYTHON_CONFIG
11937 if test -n "$PYTHON_CONFIG"; then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
11939 $as_echo "$PYTHON_CONFIG" >&6; }
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11942 $as_echo "no" >&6; }
11946 if test "x$PYTHON_CONFIG" != "xno"; then :
11947 PYTHON_CPPFLAGS
=`$PYTHON_CONFIG --includes 2> /dev/null`
11948 PYTHON_CPPFLAGS
=$PYTHON_CPPFLAGS
11950 save_CPPFLAGS
="$CPPFLAGS"
11951 CPPFLAGS
="$PYTHON_CPPFLAGS $CPPFLAGS"
11952 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
11953 for ac_header
in Python.h
11955 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
11956 if test "x$ac_cv_header_Python_h" = xyes
; then :
11957 cat >>confdefs.h
<<_ACEOF
11958 #define HAVE_PYTHON_H 1
11960 have_python2_support
=yes
11965 CPPFLAGS
="$save_CPPFLAGS"
11968 if test "x$have_python2_support" = "xyes"; then :
11970 $as_echo "#define HAVE_PYTHON2_PROBES 1" >>confdefs.h
11973 if test "x$with_python2_probes" = "xyes"; then :
11974 as_fn_error $?
"python version 2 probe support requested but not found" "$LINENO" 5
11978 if test "x$have_python2_support" = "xyes"; then
11979 HAVE_PYTHON2_PROBES_TRUE
=
11980 HAVE_PYTHON2_PROBES_FALSE
='#'
11982 HAVE_PYTHON2_PROBES_TRUE
='#'
11983 HAVE_PYTHON2_PROBES_FALSE
=
11988 # Check whether --with-python3-probes was given.
11989 if test "${with_python3_probes+set}" = set; then :
11990 withval
=$with_python3_probes;
11993 have_python3_support
=no
11994 if test "x$with_python3_probes" != "xno"; then :
11995 pathless_python3
=$
(basename "$PYTHON3")
11996 if test "x${pathless_python3}" == "x"; then
11997 pathless_python3
="python3"
11999 # Extract the first word of "${pathless_python3}-config", so it can be a program name with args.
12000 set dummy
${pathless_python3}-config; ac_word
=$2
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12002 $as_echo_n "checking for $ac_word... " >&6; }
12003 if ${ac_cv_path_PYTHON3_CONFIG+:} false
; then :
12004 $as_echo_n "(cached) " >&6
12006 case $PYTHON3_CONFIG in
12008 ac_cv_path_PYTHON3_CONFIG
="$PYTHON3_CONFIG" # Let the user override the test with a path.
12011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12012 for as_dir
in $PATH
12015 test -z "$as_dir" && as_dir
=.
12016 for ac_exec_ext
in '' $ac_executable_extensions; do
12017 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12018 ac_cv_path_PYTHON3_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12026 test -z "$ac_cv_path_PYTHON3_CONFIG" && ac_cv_path_PYTHON3_CONFIG
="no"
12030 PYTHON3_CONFIG
=$ac_cv_path_PYTHON3_CONFIG
12031 if test -n "$PYTHON3_CONFIG"; then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
12033 $as_echo "$PYTHON3_CONFIG" >&6; }
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12036 $as_echo "no" >&6; }
12040 if test "x$PYTHON3_CONFIG" != "xno"; then :
12041 PYTHON3_CPPFLAGS
=`$PYTHON3_CONFIG --includes 2> /dev/null`
12042 PYTHON3_CPPFLAGS
=$PYTHON3_CPPFLAGS
12044 save_CPPFLAGS
="$CPPFLAGS"
12045 CPPFLAGS
="$PYTHON3_CPPFLAGS $CPPFLAGS"
12046 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
12047 for ac_header
in Python.h
12049 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
12050 if test "x$ac_cv_header_Python_h" = xyes
; then :
12051 cat >>confdefs.h
<<_ACEOF
12052 #define HAVE_PYTHON_H 1
12054 have_python3_support
=yes
12059 CPPFLAGS
="$save_CPPFLAGS"
12062 if test "x$have_python3_support" = "xyes"; then :
12064 $as_echo "#define HAVE_PYTHON3_PROBES 1" >>confdefs.h
12067 if test "x$with_python3_probes" = "xyes"; then :
12068 as_fn_error $?
"python version 3 probe support requested but not found" "$LINENO" 5
12072 if test "x$have_python3_support" = "xyes"; then
12073 HAVE_PYTHON3_PROBES_TRUE
=
12074 HAVE_PYTHON3_PROBES_FALSE
='#'
12076 HAVE_PYTHON3_PROBES_TRUE
='#'
12077 HAVE_PYTHON3_PROBES_FALSE
=
12081 if test "x$have_python2_support" = "xyes" -o "x$have_python3_support" = "xyes"; then
12082 HAVE_PYTHON_PROBES_TRUE
=
12083 HAVE_PYTHON_PROBES_FALSE
='#'
12085 HAVE_PYTHON_PROBES_TRUE
='#'
12086 HAVE_PYTHON_PROBES_FALSE
=
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jsonc" >&5
12093 $as_echo_n "checking for jsonc... " >&6; }
12095 if test -n "$jsonc_CFLAGS"; then
12096 pkg_cv_jsonc_CFLAGS
="$jsonc_CFLAGS"
12097 elif test -n "$PKG_CONFIG"; then
12098 if test -n "$PKG_CONFIG" && \
12099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.12\""; } >&5
12100 ($PKG_CONFIG --exists --print-errors "json-c >= 0.12") 2>&5
12102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12103 test $ac_status = 0; }; then
12104 pkg_cv_jsonc_CFLAGS
=`$PKG_CONFIG --cflags "json-c >= 0.12" 2>/dev/null`
12105 test "x$?" != "x0" && pkg_failed
=yes
12112 if test -n "$jsonc_LIBS"; then
12113 pkg_cv_jsonc_LIBS
="$jsonc_LIBS"
12114 elif test -n "$PKG_CONFIG"; then
12115 if test -n "$PKG_CONFIG" && \
12116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.12\""; } >&5
12117 ($PKG_CONFIG --exists --print-errors "json-c >= 0.12") 2>&5
12119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12120 test $ac_status = 0; }; then
12121 pkg_cv_jsonc_LIBS
=`$PKG_CONFIG --libs "json-c >= 0.12" 2>/dev/null`
12122 test "x$?" != "x0" && pkg_failed
=yes
12132 if test $pkg_failed = yes; then
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12134 $as_echo "no" >&6; }
12136 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12137 _pkg_short_errors_supported
=yes
12139 _pkg_short_errors_supported
=no
12141 if test $_pkg_short_errors_supported = yes; then
12142 jsonc_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.12" 2>&1`
12144 jsonc_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.12" 2>&1`
12146 # Put the nasty error message in config.log where it belongs
12147 echo "$jsonc_PKG_ERRORS" >&5
12150 elif test $pkg_failed = untried
; then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12152 $as_echo "no" >&6; }
12155 jsonc_CFLAGS
=$pkg_cv_jsonc_CFLAGS
12156 jsonc_LIBS
=$pkg_cv_jsonc_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12158 $as_echo "yes" >&6; }
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
12164 $as_echo_n "checking for ncurses... " >&6; }
12166 if test -n "$ncurses_CFLAGS"; then
12167 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
12168 elif test -n "$PKG_CONFIG"; then
12169 if test -n "$PKG_CONFIG" && \
12170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12171 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12174 test $ac_status = 0; }; then
12175 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
12176 test "x$?" != "x0" && pkg_failed
=yes
12183 if test -n "$ncurses_LIBS"; then
12184 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
12185 elif test -n "$PKG_CONFIG"; then
12186 if test -n "$PKG_CONFIG" && \
12187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12188 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12191 test $ac_status = 0; }; then
12192 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
12193 test "x$?" != "x0" && pkg_failed
=yes
12203 if test $pkg_failed = yes; then
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12205 $as_echo "no" >&6; }
12207 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12208 _pkg_short_errors_supported
=yes
12210 _pkg_short_errors_supported
=no
12212 if test $_pkg_short_errors_supported = yes; then
12213 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
12215 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
12217 # Put the nasty error message in config.log where it belongs
12218 echo "$ncurses_PKG_ERRORS" >&5
12221 elif test $pkg_failed = untried
; then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223 $as_echo "no" >&6; }
12226 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
12227 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12229 $as_echo "yes" >&6; }
12232 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == "yes"; then
12233 HAVE_MONITOR_LIBS_TRUE
=
12234 HAVE_MONITOR_LIBS_FALSE
='#'
12236 HAVE_MONITOR_LIBS_TRUE
='#'
12237 HAVE_MONITOR_LIBS_FALSE
=
12240 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == yes; then
12242 $as_echo "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
12247 $as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }
12248 if ${stap_cv_sectionq+:} false
; then :
12249 $as_echo_n "(cached) " >&6
12252 old_CFLAGS
="$CFLAGS"
12253 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
12254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12256 asm(".section .note.foo,\"?\",\"note\"\n"
12259 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
12261 ".pushsection .note.foo,\"?\",\"note\"\n"
12266 if ac_fn_c_try_compile
"$LINENO"; then :
12267 stap_cv_sectionq
=yes
12269 stap_cv_sectionq
=no
12271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12272 CFLAGS
="$old_CFLAGS"
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
12275 $as_echo "$stap_cv_sectionq" >&6; }
12277 support_section_question
=0
12278 if test $stap_cv_sectionq = yes; then
12279 support_section_question
=1
12282 for ac_header
in linux
/bpf.h
12284 ac_fn_c_check_header_mongrel
"$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default"
12285 if test "x$ac_cv_header_linux_bpf_h" = xyes
; then :
12286 cat >>confdefs.h
<<_ACEOF
12287 #define HAVE_LINUX_BPF_H 1
12294 if test "x$ac_cv_header_linux_bpf_h" = "xyes"; then
12295 HAVE_LINUX_BPF_H_TRUE
=
12296 HAVE_LINUX_BPF_H_FALSE
='#'
12298 HAVE_LINUX_BPF_H_TRUE
='#'
12299 HAVE_LINUX_BPF_H_FALSE
=
12303 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
12306 if test $build_elfutils = yes -a $enable_translator = yes; then
12308 case "$with_elfutils" in
12309 /*) elfutils_srcdir
="$with_elfutils" ;;
12310 *) elfutils_srcdir
="${here}/$with_elfutils" ;;
12313 if ! test -f ${elfutils_srcdir}/configure
; then
12314 as_fn_error $?
"No ${elfutils_srcdir}/configure, forgot to run autoreconf -i?" "$LINENO" 5
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: running ${elfutils_srcdir}/configure" >&5
12317 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
12319 save_CFLAGS
="$CFLAGS"
12320 save_CXXFLAGS
="$CXXFLAGS"
12321 CXXFLAGS
="$CXXFLAGS -fgnu89-inline"
12322 CFLAGS
="$CFLAGS -fgnu89-inline"
12323 gnu89_inline_flag
=""
12324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12328 if ac_fn_c_try_compile
"$LINENO"; then :
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling elfutils with gcc -fgnu89-inline" >&5
12331 $as_echo "$as_me: Compiling elfutils with gcc -fgnu89-inline" >&6;}
12332 gnu89_inline_flag
="-fgnu89-inline"
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fgnu89-inline" >&5
12336 $as_echo "$as_me: Compiler does not support -fgnu89-inline" >&6;}
12338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12339 CFLAGS
="$save_CFLAGS"
12340 CXXFLAGS
="$save_CXXFLAGS"
12342 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
12343 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
12344 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
12345 # So we must make sure to pass those settings to elfutils configure.
12346 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
12347 # Check whether this is a source release, or a source checkout.
12348 # We need --enable-maintainer-mode if it isn't a source release.
12349 # elfutils.spec is only distributed in source releases.
12350 if test -f ${elfutils_srcdir}/elfutils.spec
; then
12351 need_maintainer_option
=""
12353 need_maintainer_option
="--enable-maintainer-mode"
12355 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
12356 bash
${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
12357 --includedir="${here}/include-elfutils" \
12358 --libdir="${here}/lib-elfutils" \
12359 --exec-prefix="$exec_prefix" \
12360 --prefix="$prefix" \
12362 ${need_maintainer_option} \
12363 CFLAGS
="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \
12364 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
12365 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
12366 echo Found elfutils
/version.h header...
12368 echo elfutils
/version.h header not found
, need elfutils
0.142+...
12372 if test $?
!= 0; then exit -1; fi
12376 # Check whether --with-selinux was given.
12377 if test "${with_selinux+set}" = set; then :
12378 withval
=$with_selinux;
12382 if test "x$with_selinux" != "xno"; then :
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux" >&5
12387 $as_echo_n "checking for selinux... " >&6; }
12389 if test -n "$selinux_CFLAGS"; then
12390 pkg_cv_selinux_CFLAGS
="$selinux_CFLAGS"
12391 elif test -n "$PKG_CONFIG"; then
12392 if test -n "$PKG_CONFIG" && \
12393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12394 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12397 test $ac_status = 0; }; then
12398 pkg_cv_selinux_CFLAGS
=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
12399 test "x$?" != "x0" && pkg_failed
=yes
12406 if test -n "$selinux_LIBS"; then
12407 pkg_cv_selinux_LIBS
="$selinux_LIBS"
12408 elif test -n "$PKG_CONFIG"; then
12409 if test -n "$PKG_CONFIG" && \
12410 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12411 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12414 test $ac_status = 0; }; then
12415 pkg_cv_selinux_LIBS
=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
12416 test "x$?" != "x0" && pkg_failed
=yes
12426 if test $pkg_failed = yes; then
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12428 $as_echo "no" >&6; }
12430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12431 _pkg_short_errors_supported
=yes
12433 _pkg_short_errors_supported
=no
12435 if test $_pkg_short_errors_supported = yes; then
12436 selinux_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
12438 selinux_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
12440 # Put the nasty error message in config.log where it belongs
12441 echo "$selinux_PKG_ERRORS" >&5
12444 elif test $pkg_failed = untried
; then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12446 $as_echo "no" >&6; }
12449 selinux_CFLAGS
=$pkg_cv_selinux_CFLAGS
12450 selinux_LIBS
=$pkg_cv_selinux_LIBS
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12452 $as_echo "yes" >&6; }
12455 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
12464 if test "${have_selinux}" = "yes"; then
12466 HAVE_SELINUX_FALSE
='#'
12468 HAVE_SELINUX_TRUE
='#'
12469 HAVE_SELINUX_FALSE
=
12473 ac_fn_c_check_decl
"$LINENO" "F_SETPIPE_SZ" "ac_cv_have_decl_F_SETPIPE_SZ" "#include <fcntl.h>
12475 if test "x$ac_cv_have_decl_F_SETPIPE_SZ" = xyes
; then :
12477 $as_echo "#define HAVE_F_SETPIPE_SZ 1" >>confdefs.h
12482 # Extract the first word of "javac", so it can be a program name with args.
12483 set dummy javac
; ac_word
=$2
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12485 $as_echo_n "checking for $ac_word... " >&6; }
12486 if ${ac_cv_prog_have_javac+:} false
; then :
12487 $as_echo_n "(cached) " >&6
12489 if test -n "$have_javac"; then
12490 ac_cv_prog_have_javac
="$have_javac" # Let the user override the test.
12492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12493 for as_dir
in $PATH
12496 test -z "$as_dir" && as_dir
=.
12497 for ac_exec_ext
in '' $ac_executable_extensions; do
12498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12499 ac_cv_prog_have_javac
="yes"
12500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12507 test -z "$ac_cv_prog_have_javac" && ac_cv_prog_have_javac
="no"
12510 have_javac
=$ac_cv_prog_have_javac
12511 if test -n "$have_javac"; then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_javac" >&5
12513 $as_echo "$have_javac" >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12516 $as_echo "no" >&6; }
12520 # Extract the first word of "jar", so it can be a program name with args.
12521 set dummy jar
; ac_word
=$2
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12523 $as_echo_n "checking for $ac_word... " >&6; }
12524 if ${ac_cv_prog_have_jar+:} false
; then :
12525 $as_echo_n "(cached) " >&6
12527 if test -n "$have_jar"; then
12528 ac_cv_prog_have_jar
="$have_jar" # Let the user override the test.
12530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12531 for as_dir
in $PATH
12534 test -z "$as_dir" && as_dir
=.
12535 for ac_exec_ext
in '' $ac_executable_extensions; do
12536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12537 ac_cv_prog_have_jar
="yes"
12538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12545 test -z "$ac_cv_prog_have_jar" && ac_cv_prog_have_jar
="no"
12548 have_jar
=$ac_cv_prog_have_jar
12549 if test -n "$have_jar"; then
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_jar" >&5
12551 $as_echo "$have_jar" >&6; }
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12554 $as_echo "no" >&6; }
12558 if test "$have_javac" != no
-a "$have_jar" != no
; then
12559 echo java found
, will try to configure Byteman support
12562 # Check whether --with-java was given.
12563 if test "${with_java+set}" = set; then :
12564 withval
=$with_java;
12566 with_java
=/usr
/lib
/jvm
/java
12569 if test ! -d "$with_java"; then
12572 JAVADIR
="${with_java}"
12573 # always needed to compile
12575 if test "$with_java" != "no"; then
12577 cat >>confdefs.h
<<_ACEOF
12578 #define HAVE_JAVA "1"
12583 if test "$with_java" != "no"; then
12585 HAVE_JAVA_FALSE
='#'
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not run per-method java probing, missing byteman or java requirements" >&5
12594 $as_echo "$as_me: WARNING: will not run per-method java probing, missing byteman or java requirements" >&2;}
12597 HAVE_JAVA_FALSE
='#'
12603 fi # java+byteman support
12605 ENABLE_NLS
="$USE_NLS"
12607 localedir
="$localedir"
12609 LOCALEDIR
="$localedir"
12613 # Check whether --with-extra-version was given.
12614 if test "${with_extra_version+set}" = set; then :
12615 withval
=$with_extra_version;
12618 if test "x$with_extra_version" != "xno"; then :
12620 stap_extra_version
="$with_extra_version"
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding extra version $stap_extra_version" >&5
12622 $as_echo "$as_me: Adding extra version $stap_extra_version" >&6;}
12625 stap_extra_version
=""
12628 cat >>confdefs.h
<<_ACEOF
12629 #define STAP_EXTRA_VERSION "$stap_extra_version"
12632 STAP_EXTRA_VERSION
="$stap_extra_version"
12635 # Check whether --enable-http was given.
12636 if test "${enable_http+set}" = set; then :
12637 enableval
=$enable_http;
12640 have_http_support
=no
12641 if test "x$enable_http" = "xyes"; then :
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmicrohttpd" >&5
12645 $as_echo_n "checking for libmicrohttpd... " >&6; }
12647 if test -n "$libmicrohttpd_CFLAGS"; then
12648 pkg_cv_libmicrohttpd_CFLAGS
="$libmicrohttpd_CFLAGS"
12649 elif test -n "$PKG_CONFIG"; then
12650 if test -n "$PKG_CONFIG" && \
12651 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
12652 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
12654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12655 test $ac_status = 0; }; then
12656 pkg_cv_libmicrohttpd_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd > 0.9.0" 2>/dev/null`
12657 test "x$?" != "x0" && pkg_failed
=yes
12664 if test -n "$libmicrohttpd_LIBS"; then
12665 pkg_cv_libmicrohttpd_LIBS
="$libmicrohttpd_LIBS"
12666 elif test -n "$PKG_CONFIG"; then
12667 if test -n "$PKG_CONFIG" && \
12668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
12669 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
12671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12672 test $ac_status = 0; }; then
12673 pkg_cv_libmicrohttpd_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd > 0.9.0" 2>/dev/null`
12674 test "x$?" != "x0" && pkg_failed
=yes
12684 if test $pkg_failed = yes; then
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12686 $as_echo "no" >&6; }
12688 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12689 _pkg_short_errors_supported
=yes
12691 _pkg_short_errors_supported
=no
12693 if test $_pkg_short_errors_supported = yes; then
12694 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
12696 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
12698 # Put the nasty error message in config.log where it belongs
12699 echo "$libmicrohttpd_PKG_ERRORS" >&5
12701 have_libmicrohttpd
=false
12702 elif test $pkg_failed = untried
; then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12705 have_libmicrohttpd
=false
12707 libmicrohttpd_CFLAGS
=$pkg_cv_libmicrohttpd_CFLAGS
12708 libmicrohttpd_LIBS
=$pkg_cv_libmicrohttpd_LIBS
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12710 $as_echo "yes" >&6; }
12711 have_libmicrohttpd
=true
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid" >&5
12717 $as_echo_n "checking for uuid... " >&6; }
12719 if test -n "$uuid_CFLAGS"; then
12720 pkg_cv_uuid_CFLAGS
="$uuid_CFLAGS"
12721 elif test -n "$PKG_CONFIG"; then
12722 if test -n "$PKG_CONFIG" && \
12723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
12724 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
12726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12727 test $ac_status = 0; }; then
12728 pkg_cv_uuid_CFLAGS
=`$PKG_CONFIG --cflags "uuid >= 2.17.0" 2>/dev/null`
12729 test "x$?" != "x0" && pkg_failed
=yes
12736 if test -n "$uuid_LIBS"; then
12737 pkg_cv_uuid_LIBS
="$uuid_LIBS"
12738 elif test -n "$PKG_CONFIG"; then
12739 if test -n "$PKG_CONFIG" && \
12740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
12741 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
12743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744 test $ac_status = 0; }; then
12745 pkg_cv_uuid_LIBS
=`$PKG_CONFIG --libs "uuid >= 2.17.0" 2>/dev/null`
12746 test "x$?" != "x0" && pkg_failed
=yes
12756 if test $pkg_failed = yes; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12758 $as_echo "no" >&6; }
12760 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12761 _pkg_short_errors_supported
=yes
12763 _pkg_short_errors_supported
=no
12765 if test $_pkg_short_errors_supported = yes; then
12766 uuid_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
12768 uuid_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
12770 # Put the nasty error message in config.log where it belongs
12771 echo "$uuid_PKG_ERRORS" >&5
12774 elif test $pkg_failed = untried
; then
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12779 uuid_CFLAGS
=$pkg_cv_uuid_CFLAGS
12780 uuid_LIBS
=$pkg_cv_uuid_LIBS
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12782 $as_echo "yes" >&6; }
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
12789 $as_echo_n "checking for libcurl... " >&6; }
12791 if test -n "$libcurl_CFLAGS"; then
12792 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
12793 elif test -n "$PKG_CONFIG"; then
12794 if test -n "$PKG_CONFIG" && \
12795 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.19.7\""; } >&5
12796 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.19.7") 2>&5
12798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12799 test $ac_status = 0; }; then
12800 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.19.7" 2>/dev/null`
12801 test "x$?" != "x0" && pkg_failed
=yes
12808 if test -n "$libcurl_LIBS"; then
12809 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
12810 elif test -n "$PKG_CONFIG"; then
12811 if test -n "$PKG_CONFIG" && \
12812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.19.7\""; } >&5
12813 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.19.7") 2>&5
12815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12816 test $ac_status = 0; }; then
12817 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.19.7" 2>/dev/null`
12818 test "x$?" != "x0" && pkg_failed
=yes
12828 if test $pkg_failed = yes; then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830 $as_echo "no" >&6; }
12832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12833 _pkg_short_errors_supported
=yes
12835 _pkg_short_errors_supported
=no
12837 if test $_pkg_short_errors_supported = yes; then
12838 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.19.7" 2>&1`
12840 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.19.7" 2>&1`
12842 # Put the nasty error message in config.log where it belongs
12843 echo "$libcurl_PKG_ERRORS" >&5
12846 elif test $pkg_failed = untried
; then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12848 $as_echo "no" >&6; }
12851 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
12852 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12854 $as_echo "yes" >&6; }
12858 if test "x$have_libmicrohttpd" == "xtrue" -a "x$have_libuuid" == "xtrue" -a "x$have_libcurl" == "xtrue" -a "x$have_jsonc" == "xyes"; then :
12859 have_http_support
=yes
12863 if test "x$have_http_support" = "xyes"; then :
12865 $as_echo "#define HAVE_HTTP_SUPPORT 1" >>confdefs.h
12868 if test "x$enable_http" = "xyes"; then :
12869 as_fn_error $?
"http service support requested but not found" "$LINENO" 5
12873 if test "x$have_http_support" = "xyes"; then
12874 HAVE_HTTP_SUPPORT_TRUE
=
12875 HAVE_HTTP_SUPPORT_FALSE
='#'
12877 HAVE_HTTP_SUPPORT_TRUE
='#'
12878 HAVE_HTTP_SUPPORT_FALSE
=
12882 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then
12883 NEED_BASE_CLIENT_CODE_TRUE
=
12884 NEED_BASE_CLIENT_CODE_FALSE
='#'
12886 NEED_BASE_CLIENT_CODE_TRUE
='#'
12887 NEED_BASE_CLIENT_CODE_FALSE
=
12890 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then :
12893 $as_echo "#define NEED_BASE_CLIENT_CODE 1" >>confdefs.h
12899 stap_prefix
=$prefix
12900 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
12902 cat >>confdefs.h
<<_ACEOF
12903 #define STAP_PREFIX "$stap_prefix"
12906 STAP_PREFIX
="$stap_prefix"
12909 ac_config_headers
="$ac_config_headers config.h:config.in"
12911 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.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"
12915 subdirs
="$subdirs testsuite"
12917 if test $enable_translator == "yes"; then
12918 ac_config_files
="$ac_config_files run-stap"
12921 ac_config_files
="$ac_config_files dtrace"
12923 ac_config_files
="$ac_config_files stapdyn/Makefile"
12925 ac_config_files
="$ac_config_files java/Makefile"
12927 ac_config_files
="$ac_config_files java/stapbm"
12929 ac_config_files
="$ac_config_files python/Makefile"
12931 ac_config_files
="$ac_config_files staprun/Makefile"
12933 ac_config_files
="$ac_config_files stapbpf/Makefile"
12935 ac_config_files
="$ac_config_files httpd/Makefile"
12937 ac_config_files
="$ac_config_files staprun/run-staprun"
12939 ac_config_files
="$ac_config_files staprun/guest/stapshd"
12941 ac_config_files
="$ac_config_files staprun/guest/stapsh-daemon"
12943 ac_config_files
="$ac_config_files staprun/guest/stapsh@.service"
12946 # Setup "shadow" directory doc/beginners that has the basic directories setup for
12947 # xmlto in one directory (through directory links if necessary).
12948 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
12949 # the src is a directory and not a file.
12950 ac_config_commands
="$ac_config_commands doc/beginners"
12953 cat >confcache
<<\_ACEOF
12954 # This file is a shell script that caches the results of configure
12955 # tests run on this system so they can be shared between configure
12956 # scripts and configure runs, see configure's option --config-cache.
12957 # It is not useful on other systems. If it contains results you don't
12958 # want to keep, you may remove or edit it.
12960 # config.status only pays attention to the cache file if you give it
12961 # the --recheck option to rerun configure.
12963 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12965 # following values.
12969 # The following way of writing the cache mishandles newlines in values,
12970 # but we know of no workaround that is simple, portable, and efficient.
12971 # So, we kill variables containing newlines.
12972 # Ultrix sh set writes to stderr and can't be redirected directly,
12973 # and sets the high bit in the cache file unless we assign to the vars.
12975 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12976 eval ac_val
=\$
$ac_var
12980 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12981 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12984 _ | IFS | as_nl
) ;; #(
12985 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12986 *) { eval $ac_var=; unset $ac_var;} ;;
12992 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12993 *${as_nl}ac_space
=\
*)
12994 # `set' does not quote correctly, so add quotes: double-quote
12995 # substitution turns \\\\ into \\, and sed turns \\ into \.
12998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13001 # `set' quotes correctly as required by POSIX, so do not add quotes.
13002 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13011 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13013 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13015 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13016 if test -w "$cache_file"; then
13017 if test "x$cache_file" != "x/dev/null"; then
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13019 $as_echo "$as_me: updating cache $cache_file" >&6;}
13020 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13021 cat confcache
>"$cache_file"
13023 case $cache_file in #(
13025 mv -f confcache
"$cache_file"$$
&&
13026 mv -f "$cache_file"$$
"$cache_file" ;; #(
13028 mv -f confcache
"$cache_file" ;;
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13034 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13039 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13040 # Let make expand exec_prefix.
13041 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13043 DEFS
=-DHAVE_CONFIG_H
13048 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13049 # 1. Remove the extension, and $U if already installed.
13050 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13051 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13052 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13053 # will be set to the directory where LIBOBJS objects are built.
13054 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13055 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13057 LIBOBJS
=$ac_libobjs
13059 LTLIBOBJS
=$ac_ltlibobjs
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13063 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13064 if test -n "$am_sleep_pid"; then
13065 # Hide warnings about reused PIDs.
13066 wait $am_sleep_pid 2>/dev
/null
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13069 $as_echo "done" >&6; }
13070 if test -n "$EXEEXT"; then
13072 am__EXEEXT_FALSE
='#'
13074 am__EXEEXT_TRUE
='#'
13078 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13079 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13082 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13083 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13086 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13087 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13090 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13091 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13094 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13095 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
13096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13098 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
13099 as_fn_error $?
"conditional \"BUILD_TRANSLATOR\" was never defined.
13100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13102 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
13103 as_fn_error $?
"conditional \"BUILD_CRASHMOD\" was never defined.
13104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13106 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
13107 as_fn_error $?
"conditional \"BUILD_DOCS\" was never defined.
13108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13110 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
13111 as_fn_error $?
"conditional \"BUILD_REFDOCS\" was never defined.
13112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13114 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
13115 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
13116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13118 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
13119 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
13120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13122 if test -z "${BUILD_HTMLDOCS_TRUE}" && test -z "${BUILD_HTMLDOCS_FALSE}"; then
13123 as_fn_error $?
"conditional \"BUILD_HTMLDOCS\" was never defined.
13124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13126 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
13127 as_fn_error $?
"conditional \"XMLTO_STRINGPARAM\" was never defined.
13128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13130 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
13131 as_fn_error $?
"conditional \"HAVE_NSS\" was never defined.
13132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13134 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13135 as_fn_error $?
"conditional \"BUILD_SERVER\" was never defined.
13136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13138 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
13139 as_fn_error $?
"conditional \"HAVE_AVAHI\" was never defined.
13140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13142 if test -z "${HAVE_LIBREADLINE_TRUE}" && test -z "${HAVE_LIBREADLINE_FALSE}"; then
13143 as_fn_error $?
"conditional \"HAVE_LIBREADLINE\" was never defined.
13144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13146 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
13147 as_fn_error $?
"conditional \"BUILD_ELFUTILS\" was never defined.
13148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13150 if test -z "${HAVE_DYNINST_TRUE}" && test -z "${HAVE_DYNINST_FALSE}"; then
13151 as_fn_error $?
"conditional \"HAVE_DYNINST\" was never defined.
13152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13154 if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then
13155 as_fn_error $?
"conditional \"HAVE_LIBVIRT\" was never defined.
13156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13158 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
13159 as_fn_error $?
"conditional \"HAVE_LIBXML2\" was never defined.
13160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13162 if test -z "${BUILD_VIRT_TRUE}" && test -z "${BUILD_VIRT_FALSE}"; then
13163 as_fn_error $?
"conditional \"BUILD_VIRT\" was never defined.
13164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13166 if test -z "${HAVE_PYTHON2_PROBES_TRUE}" && test -z "${HAVE_PYTHON2_PROBES_FALSE}"; then
13167 as_fn_error $?
"conditional \"HAVE_PYTHON2_PROBES\" was never defined.
13168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13170 if test -z "${HAVE_PYTHON3_PROBES_TRUE}" && test -z "${HAVE_PYTHON3_PROBES_FALSE}"; then
13171 as_fn_error $?
"conditional \"HAVE_PYTHON3_PROBES\" was never defined.
13172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13174 if test -z "${HAVE_PYTHON_PROBES_TRUE}" && test -z "${HAVE_PYTHON_PROBES_FALSE}"; then
13175 as_fn_error $?
"conditional \"HAVE_PYTHON_PROBES\" was never defined.
13176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13178 if test -z "${HAVE_MONITOR_LIBS_TRUE}" && test -z "${HAVE_MONITOR_LIBS_FALSE}"; then
13179 as_fn_error $?
"conditional \"HAVE_MONITOR_LIBS\" was never defined.
13180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13182 if test -z "${HAVE_LINUX_BPF_H_TRUE}" && test -z "${HAVE_LINUX_BPF_H_FALSE}"; then
13183 as_fn_error $?
"conditional \"HAVE_LINUX_BPF_H\" was never defined.
13184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13186 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
13187 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
13188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13190 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
13191 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
13192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13194 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
13195 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
13196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13198 if test -z "${HAVE_HTTP_SUPPORT_TRUE}" && test -z "${HAVE_HTTP_SUPPORT_FALSE}"; then
13199 as_fn_error $?
"conditional \"HAVE_HTTP_SUPPORT\" was never defined.
13200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13202 if test -z "${NEED_BASE_CLIENT_CODE_TRUE}" && test -z "${NEED_BASE_CLIENT_CODE_FALSE}"; then
13203 as_fn_error $?
"conditional \"NEED_BASE_CLIENT_CODE\" was never defined.
13204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13207 : "${CONFIG_STATUS=./config.status}"
13209 ac_clean_files_save
=$ac_clean_files
13210 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13212 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13214 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13216 # Generated by $as_me.
13217 # Run this file to recreate the current configuration.
13218 # Compiler output produced by configure, useful for debugging
13219 # configure, is in config.log if it exists.
13222 ac_cs_recheck=false
13225 SHELL=\${CONFIG_SHELL-$SHELL}
13228 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13229 ## -------------------- ##
13230 ## M4sh Initialization. ##
13231 ## -------------------- ##
13233 # Be more Bourne compatible
13234 DUALCASE
=1; export DUALCASE
# for MKS sh
13235 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13238 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13239 # is contrary to our usage. Disable this feature.
13240 alias -g '${1+"$@"}'='"$@"'
13241 setopt NO_GLOB_SUBST
13243 case `(set -o) 2>/dev/null` in #(
13255 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13256 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13257 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13258 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13259 # Prefer a ksh shell builtin over an external printf program on Solaris,
13260 # but without wasting forks for bash or zsh.
13261 if test -z "$BASH_VERSION$ZSH_VERSION" \
13262 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13263 as_echo='print
-r --'
13264 as_echo_n='print
-rn --'
13265 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13266 as_echo='printf %s
\n'
13267 as_echo_n='printf %s
'
13269 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13270 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13271 as_echo_n='/usr
/ucb
/echo -n'
13273 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13274 as_echo_n_body='eval
13278 expr "X$arg" : "X\\(.*\\)$as_nl";
13279 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13281 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13283 export as_echo_n_body
13284 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13286 export as_echo_body
13287 as_echo='sh
-c $as_echo_body as_echo
'
13290 # The user is always right.
13291 if test "${PATH_SEPARATOR+set}" != set; then
13293 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13294 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13301 # We need space, tab and new line, in precisely that order. Quoting is
13302 # there to prevent editors from complaining about space-tab.
13303 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13304 # splitting by setting IFS to empty value.)
13307 # Find who we are. Look in the path if we contain no directory separator.
13310 *[\\/]* ) as_myself=$0 ;;
13311 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13312 for as_dir in $PATH
13315 test -z "$as_dir" && as_dir=.
13316 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13322 # We did not find ourselves, most probably we were run as `sh COMMAND'
13323 # in which case we are not to be found in the path.
13324 if test "x$as_myself" = x
; then
13327 if test ! -f "$as_myself"; then
13328 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13332 # Unset variables that we do not need and which cause bugs (e.g. in
13333 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13334 # suppresses any "Segmentation fault" message there. '((' could
13335 # trigger a bug in pdksh 5.2.14.
13336 for as_var
in BASH_ENV ENV MAIL MAILPATH
13337 do eval test x\
${$as_var+set} = xset \
13338 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13351 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13354 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13355 # ----------------------------------------
13356 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13357 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13358 # script with STATUS, using 1 if that was 0.
13361 as_status
=$1; test $as_status -eq 0 && as_status
=1
13363 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13364 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13366 $as_echo "$as_me: error: $2" >&2
13367 as_fn_exit
$as_status
13371 # as_fn_set_status STATUS
13372 # -----------------------
13373 # Set $? to STATUS, without forking.
13374 as_fn_set_status
()
13377 } # as_fn_set_status
13379 # as_fn_exit STATUS
13380 # -----------------
13381 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13385 as_fn_set_status
$1
13391 # Portably unset VAR.
13394 { eval $1=; unset $1;}
13396 as_unset
=as_fn_unset
13397 # as_fn_append VAR VALUE
13398 # ----------------------
13399 # Append the text in VALUE to the end of the definition contained in VAR. Take
13400 # advantage of any shell optimizations that allow amortized linear growth over
13401 # repeated appends, instead of the typical quadratic growth present in naive
13403 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13404 eval 'as_fn_append ()
13415 # as_fn_arith ARG...
13416 # ------------------
13417 # Perform arithmetic evaluation on the ARGs, and store the result in the
13418 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13419 # must be portable across $(()) and expr.
13420 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13421 eval 'as_fn_arith ()
13428 as_val
=`expr "$@" || test $? -eq 1`
13433 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13434 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13440 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13441 as_basename
=basename
13446 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13452 as_me
=`$as_basename -- "$0" ||
13453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13454 X"$0" : 'X\(//\)$' \| \
13455 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13457 sed '/^.*\/\([^/][^/]*\)\/*$/{
13471 # Avoid depending upon Character Ranges.
13472 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13473 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13474 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13475 as_cr_digits
='0123456789'
13476 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13478 ECHO_C
= ECHO_N
= ECHO_T
=
13479 case `echo -n x` in #(((((
13481 case `echo 'xy\c'` in
13482 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13484 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13491 rm -f conf$$ conf$$.exe conf$$.
file
13492 if test -d conf$$.dir
; then
13493 rm -f conf$$.dir
/conf$$.
file
13496 mkdir conf$$.dir
2>/dev
/null
13498 if (echo >conf$$.
file) 2>/dev
/null
; then
13499 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13501 # ... but there are two gotchas:
13502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13504 # In both cases, we have to default to `cp -pR'.
13505 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13507 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13515 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13516 rmdir conf$$.dir
2>/dev
/null
13521 # Create "$as_dir" as a directory, including parents if necessary.
13526 -*) as_dir
=.
/$as_dir;;
13528 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13532 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13533 *) as_qdir
=$as_dir;;
13535 as_dirs
="'$as_qdir' $as_dirs"
13536 as_dir
=`$as_dirname -- "$as_dir" ||
13537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13538 X"$as_dir" : 'X\(//\)[^/]' \| \
13539 X"$as_dir" : 'X\(//\)$' \| \
13540 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13541 $as_echo X"$as_dir" |
13542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13546 /^X\(\/\/\)[^/].*/{
13559 test -d "$as_dir" && break
13561 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13562 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13566 if mkdir
-p .
2>/dev
/null
; then
13567 as_mkdir_p
='mkdir -p "$as_dir"'
13569 test -d .
/-p && rmdir .
/-p
13574 # as_fn_executable_p FILE
13575 # -----------------------
13576 # Test if FILE is an executable regular file.
13577 as_fn_executable_p
()
13579 test -f "$1" && test -x "$1"
13580 } # as_fn_executable_p
13581 as_test_x
='test -x'
13582 as_executable_p
=as_fn_executable_p
13584 # Sed expression to map a string onto a valid CPP name.
13585 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13587 # Sed expression to map a string onto a valid variable name.
13588 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13592 ## ----------------------------------- ##
13593 ## Main body of $CONFIG_STATUS script. ##
13594 ## ----------------------------------- ##
13596 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13599 # Save the log message, to keep $0 and so on meaningful, and to
13600 # report actual input values of CONFIG_FILES etc. instead of their
13601 # values after options handling.
13603 This file was extended by systemtap $as_me 3.2, which was
13604 generated by GNU Autoconf 2.69. Invocation command line was
13606 CONFIG_FILES = $CONFIG_FILES
13607 CONFIG_HEADERS = $CONFIG_HEADERS
13608 CONFIG_LINKS = $CONFIG_LINKS
13609 CONFIG_COMMANDS = $CONFIG_COMMANDS
13612 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13617 case $ac_config_files in *"
13618 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13621 case $ac_config_headers in *"
13622 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13627 # Files that config.status was made for.
13628 config_files="$ac_config_files"
13629 config_headers="$ac_config_headers"
13630 config_commands="$ac_config_commands"
13634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13636 \`$as_me' instantiates files and other configuration actions
13637 from templates according to the current configuration. Unless the files
13638 and actions are specified as TAGs, all are instantiated by default.
13640 Usage: $0 [OPTION]... [TAG]...
13642 -h, --help print this help, then exit
13643 -V, --version print version number and configuration settings, then exit
13644 --config print configuration, then exit
13645 -q, --quiet, --silent
13646 do not print progress messages
13647 -d, --debug don't remove temporary files
13648 --recheck update $as_me by reconfiguring in the same conditions
13649 --file=FILE[:TEMPLATE]
13650 instantiate the configuration file FILE
13651 --header=FILE[:TEMPLATE]
13652 instantiate the configuration header FILE
13654 Configuration files:
13657 Configuration headers:
13660 Configuration commands:
13663 Report bugs to <systemtap@sourceware.org>."
13666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13667 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13669 systemtap config.status 3.2
13670 configured by $0, generated by GNU Autoconf 2.69,
13671 with options \\"\$ac_cs_config\\"
13673 Copyright (C) 2012 Free Software Foundation, Inc.
13674 This config.status script is free software; the Free Software Foundation
13675 gives unlimited permission to copy, distribute and modify it."
13682 test -n "\$AWK" || AWK=awk
13685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13686 # The default lists apply if the user does not specify any file.
13692 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13693 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13697 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13709 # Handling of the options.
13710 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13712 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13713 $as_echo "$ac_cs_version"; exit ;;
13714 --config |
--confi |
--conf |
--con |
--co |
--c )
13715 $as_echo "$ac_cs_config"; exit ;;
13716 --debug |
--debu |
--deb |
--de |
--d |
-d )
13718 --file |
--fil |
--fi |
--f )
13721 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13722 '') as_fn_error $?
"missing file argument" ;;
13724 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13725 ac_need_defaults
=false
;;
13726 --header |
--heade |
--head |
--hea )
13729 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13731 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13732 ac_need_defaults
=false
;;
13734 # Conflict between --help and --header
13735 as_fn_error $?
"ambiguous option: \`$1'
13736 Try \`$0 --help' for more information.";;
13737 --help |
--hel |
-h )
13738 $as_echo "$ac_cs_usage"; exit ;;
13739 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13740 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13743 # This is an error.
13744 -*) as_fn_error $?
"unrecognized option: \`$1'
13745 Try \`$0 --help' for more information." ;;
13747 *) as_fn_append ac_config_targets
" $1"
13748 ac_need_defaults
=false
;;
13754 ac_configure_extra_args
=
13756 if $ac_cs_silent; then
13758 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13763 if \$ac_cs_recheck; then
13764 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13766 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13767 CONFIG_SHELL='$SHELL'
13768 export CONFIG_SHELL
13773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13777 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13778 ## Running $as_me. ##
13784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13788 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13789 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13790 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
13791 # from automake < 1.5.
13792 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13793 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13794 LINGUAS="${LINGUAS-%UNSET%}"
13799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13801 # Handling of arguments.
13802 for ac_config_target
in $ac_config_targets
13804 case $ac_config_target in
13805 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13806 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
13807 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
13808 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
13809 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13810 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13811 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13812 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
13813 "man/cs/Makefile") CONFIG_FILES
="$CONFIG_FILES man/cs/Makefile" ;;
13814 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
13815 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
13816 "man/stap.1") CONFIG_FILES
="$CONFIG_FILES man/stap.1" ;;
13817 "man/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/stappaths.7" ;;
13818 "man/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/systemtap.8" ;;
13819 "man/cs/stap.1") CONFIG_FILES
="$CONFIG_FILES man/cs/stap.1" ;;
13820 "man/cs/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/cs/stappaths.7" ;;
13821 "man/cs/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/cs/systemtap.8" ;;
13822 "initscript/config.systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/config.systemtap" ;;
13823 "initscript/config.stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/config.stap-server" ;;
13824 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
13825 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
13826 "initscript/99stap/module-setup.sh") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/module-setup.sh" ;;
13827 "initscript/99stap/install") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/install" ;;
13828 "initscript/99stap/check") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/check" ;;
13829 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
13830 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
13831 "stapdyn/Makefile") CONFIG_FILES
="$CONFIG_FILES stapdyn/Makefile" ;;
13832 "java/Makefile") CONFIG_FILES
="$CONFIG_FILES java/Makefile" ;;
13833 "java/stapbm") CONFIG_FILES
="$CONFIG_FILES java/stapbm" ;;
13834 "python/Makefile") CONFIG_FILES
="$CONFIG_FILES python/Makefile" ;;
13835 "staprun/Makefile") CONFIG_FILES
="$CONFIG_FILES staprun/Makefile" ;;
13836 "stapbpf/Makefile") CONFIG_FILES
="$CONFIG_FILES stapbpf/Makefile" ;;
13837 "httpd/Makefile") CONFIG_FILES
="$CONFIG_FILES httpd/Makefile" ;;
13838 "staprun/run-staprun") CONFIG_FILES
="$CONFIG_FILES staprun/run-staprun" ;;
13839 "staprun/guest/stapshd") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapshd" ;;
13840 "staprun/guest/stapsh-daemon") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh-daemon" ;;
13841 "staprun/guest/stapsh@.service") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh@.service" ;;
13842 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
13844 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13849 # If the user did not use the arguments to specify the items to instantiate,
13850 # then the envvar interface is used. Set only those that are not.
13851 # We use the long form for the default assignment because of an extremely
13852 # bizarre bug on SunOS 4.1.3.
13853 if $ac_need_defaults; then
13854 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13855 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13856 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13859 # Have a temporary directory for convenience. Make it in the build tree
13860 # simply because there is no reason against having it here, and in addition,
13861 # creating and moving files from /tmp can sometimes cause problems.
13862 # Hook for its removal unless debugging.
13863 # Note that there is a small window in which the directory will not be cleaned:
13864 # after its creation but before its name has been assigned to `$tmp'.
13868 trap 'exit_status=$?
13869 : "${ac_tmp:=$tmp}"
13870 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13872 trap 'as_fn_exit 1' 1 2 13 15
13874 # Create a (secure) tmp directory for tmp files.
13877 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13881 tmp
=.
/conf$$
-$RANDOM
13882 (umask 077 && mkdir
"$tmp")
13883 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13886 # Set up the scripts for CONFIG_FILES section.
13887 # No need to generate them if there are no CONFIG_FILES.
13888 # This happens for instance with `./config.status config.h'.
13889 if test -n "$CONFIG_FILES"; then
13892 ac_cr
=`echo X | tr X '\015'`
13893 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13894 # But we know of no other shell where ac_cr would be empty at this
13895 # point, so we can use a bashism as a fallback.
13896 if test "x$ac_cr" = x
; then
13897 eval ac_cr
=\$
\'\\r
\'
13899 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13900 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13903 ac_cs_awk_cr
=$ac_cr
13906 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13911 echo "cat >conf$$subs.awk <<_ACEOF" &&
13912 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13914 } >conf$$subs.sh ||
13915 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13916 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13918 for ac_last_try in false false false false false :; do
13919 . ./conf$$subs.sh ||
13920 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13922 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13923 if test $ac_delim_n = $ac_delim_num; then
13925 elif $ac_last_try; then
13926 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13928 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13931 rm -f conf$$subs.sh
13933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13934 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13938 s/^/S["/; s
/!.
*/"]=/
13948 s/\(.\{148\}\)..*/\1/
13950 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13955 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13962 s/\(.\{148\}\)..*/\1/
13964 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13968 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13973 ' <conf$$subs.awk | sed '
13978 ' >>$CONFIG_STATUS || ac_write_fail=1
13979 rm -f conf$$subs.awk
13980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13982 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13983 for (key in S) S_is_set[key] = 1
13989 nfields = split(line, field, "@
")
13991 len = length(field[1])
13992 for (i = 2; i < nfields; i++) {
13994 keylen = length(key)
13995 if (S_is_set[key]) {
13997 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13998 len += length(value) + length(field[++i])
14009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14010 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14011 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14014 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14015 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14018 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14019 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14020 # trailing colons and then remove the whole line if VPATH becomes empty
14021 # (actually we leave an empty line to preserve line numbers).
14022 if test "x
$srcdir" = x.; then
14023 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14042 fi # test -n "$CONFIG_FILES"
14044 # Set up the scripts for CONFIG_HEADERS section.
14045 # No need to generate them if there are no CONFIG_HEADERS.
14046 # This happens for instance with `./config.status Makefile'.
14047 if test -n "$CONFIG_HEADERS"; then
14048 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14052 # Transform confdefs.h into an awk script `defines.awk', embedded as
14053 # here-document in config.status, that substitutes the proper values into
14054 # config.h.in to produce config.h.
14056 # Create a delimiter string that does not exist in confdefs.h, to ease
14057 # handling of long lines.
14059 for ac_last_try in false false :; do
14060 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14061 if test -z "$ac_tt"; then
14063 elif $ac_last_try; then
14064 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14066 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14070 # For the awk script, D is an array of macro values keyed by name,
14071 # likewise P contains macro parameters if any. Preserve backslash
14072 # newline sequences.
14074 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14076 s/.\{148\}/&'"$ac_delim"'/g
14079 s/^[ ]*#[ ]*define[ ][ ]*/ /
14086 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14088 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14092 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14093 D["\
1"]=" \
3\\\\\\n
"\\/p
14095 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14100 s/.\{148\}/&'"$ac_delim"'/g
14105 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14108 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14110 ' <confdefs.h | sed '
14111 s/'"$ac_delim"'/"\\\
14112 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14115 for (key in D) D_is_set[key] = 1
14118 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14120 split(line, arg, " ")
14121 if (arg[1] == "#") {
14125 defundef
= substr
(arg
[1], 2)
14128 split(mac1
, mac2
, "(") #)
14130 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14131 if (D_is_set
[macro
]) {
14132 # Preserve the white space surrounding the "#".
14133 print prefix
"define", macro P
[macro
] D
[macro
]
14136 # Replace #undef with comments. This is necessary, for example,
14137 # in the case of _POSIX_SOURCE, which is predefined and required
14138 # on some systems where configure will not decide to define it.
14139 if (defundef
== "undef") {
14140 print
"/*", prefix defundef
, macro
, "*/"
14148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14149 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14150 fi # test -n "$CONFIG_HEADERS"
14153 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14158 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14160 case $ac_mode$ac_tag in
14162 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14163 :[FH
]-) ac_tag
=-:-;;
14164 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14181 -) ac_f
="$ac_tmp/stdin";;
14182 *) # Look for the file first in the build tree, then in the source tree
14183 # (if the path is not absolute). The absolute path cannot be DOS-style,
14184 # because $ac_f cannot contain `:'.
14188 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14190 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14192 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14193 as_fn_append ac_file_inputs
" '$ac_f'"
14196 # Let's still pretend it is `configure' which instantiates (i.e., don't
14197 # use $as_me), people would be surprised to read:
14198 # /* config.h. Generated by config.status. */
14199 configure_input
='Generated from '`
14200 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14202 if test x
"$ac_file" != x-
; then
14203 configure_input
="$ac_file. $configure_input"
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14205 $as_echo "$as_me: creating $ac_file" >&6;}
14207 # Neutralize special characters interpreted by sed in replacement strings.
14208 case $configure_input in #(
14209 *\
&* |
*\|
* |
*\\* )
14210 ac_sed_conf_input
=`$as_echo "$configure_input" |
14211 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14212 *) ac_sed_conf_input
=$configure_input;;
14216 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14217 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14222 ac_dir
=`$as_dirname -- "$ac_file" ||
14223 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14224 X"$ac_file" : 'X\(//\)[^/]' \| \
14225 X"$ac_file" : 'X\(//\)$' \| \
14226 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14227 $as_echo X"$ac_file" |
14228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14232 /^X\(\/\/\)[^/].*/{
14245 as_dir
="$ac_dir"; as_fn_mkdir_p
14249 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14251 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14252 # A ".." for each directory in $ac_dir_suffix.
14253 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14254 case $ac_top_builddir_sub in
14255 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14256 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14259 ac_abs_top_builddir
=$ac_pwd
14260 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14261 # for backward compatibility:
14262 ac_top_builddir
=$ac_top_build_prefix
14265 .
) # We are building in place.
14267 ac_top_srcdir
=$ac_top_builddir_sub
14268 ac_abs_top_srcdir
=$ac_pwd ;;
14269 [\\/]* | ?
:[\\/]* ) # Absolute name.
14270 ac_srcdir
=$srcdir$ac_dir_suffix;
14271 ac_top_srcdir
=$srcdir
14272 ac_abs_top_srcdir
=$srcdir ;;
14273 *) # Relative name.
14274 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14275 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14276 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14278 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14288 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14289 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14291 ac_MKDIR_P
=$MKDIR_P
14293 [\\/$
]* | ?
:[\\/]* ) ;;
14294 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14299 # If the template does not know about datarootdir, expand it.
14300 # FIXME: This hack should be removed a few years after 2.60.
14301 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14312 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14313 *datarootdir
*) ac_datarootdir_seen
=yes;;
14314 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14316 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14319 ac_datarootdir_hack='
14320 s&@datadir@&$datadir&g
14321 s&@docdir@&$docdir&g
14322 s&@infodir@&$infodir&g
14323 s&@localedir@&$localedir&g
14324 s&@mandir@&$mandir&g
14325 s&\\\${datarootdir}&$datarootdir&g' ;;
14329 # Neutralize VPATH when `$srcdir' = `.'.
14330 # Shell code in configure.ac might set extrasub.
14331 # FIXME: do we really want to maintain this feature?
14332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14333 ac_sed_extra="$ac_vpsub
14336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14338 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14339 s|@configure_input@|
$ac_sed_conf_input|
;t t
14340 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14341 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14342 s
&@srcdir@
&$ac_srcdir&;t t
14343 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14344 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14345 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14346 s
&@builddir@
&$ac_builddir&;t t
14347 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14348 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14349 s
&@INSTALL@
&$ac_INSTALL&;t t
14350 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14351 $ac_datarootdir_hack
14353 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14354 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14356 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14357 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14358 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14359 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14361 which seems to be undefined. Please make sure it is defined" >&5
14362 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14363 which seems to be undefined. Please make sure it is defined" >&2;}
14365 rm -f "$ac_tmp/stdin"
14367 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14368 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14370 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14376 if test x"$ac_file" != x-; then
14378 $as_echo "/* $configure_input */" \
14379 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14380 } >"$ac_tmp/config.h" \
14381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14382 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14384 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14387 mv "$ac_tmp/config.h" "$ac_file" \
14388 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14391 $as_echo "/* $configure_input */" \
14392 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14393 || as_fn_error $? "could not create -" "$LINENO" 5
14395 # Compute "$ac_file"'s index
in $config_headers.
14398 for _am_header
in $config_headers :; do
14399 case $_am_header in
14400 $_am_arg |
$_am_arg:* )
14403 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14406 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14407 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14408 X"$_am_arg" : 'X\(//\)[^/]' \| \
14409 X"$_am_arg" : 'X\(//\)$' \| \
14410 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14411 $as_echo X"$_am_arg" |
14412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14416 /^X\(\/\/\)[^/].*/{
14428 s/.*/./; q'`/stamp-h
$_am_stamp_count
14431 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14432 $as_echo "$as_me: executing $ac_file commands" >&6;}
14437 case $ac_file$ac_mode in
14438 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14439 # Older Autoconf quotes --file arguments for eval, but not when files
14440 # are listed without --file. Let's play safe and only enable the eval
14441 # if we detect the quoting.
14442 case $CONFIG_FILES in
14443 *\'*) eval set x
"$CONFIG_FILES" ;;
14444 *) set x
$CONFIG_FILES ;;
14449 # Strip MF so we end up with the name of the file.
14450 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14451 # Check whether this is an Automake generated Makefile or not.
14452 # We used to match only the files named 'Makefile.in', but
14453 # some people rename them; so instead we look at the file content.
14454 # Grep'ing the first line is not enough: some people post-process
14455 # each Makefile.in and add a new line on top of each file to say so.
14456 # Grep'ing the whole file is not good either: AIX grep has a line
14457 # limit of 2048, but all sed's we know have understand at least 4000.
14458 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14459 dirpart
=`$as_dirname -- "$mf" ||
14460 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14461 X"$mf" : 'X\(//\)[^/]' \| \
14462 X"$mf" : 'X\(//\)$' \| \
14463 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14469 /^X\(\/\/\)[^/].*/{
14485 # Extract the definition of DEPDIR, am__include, and am__quote
14486 # from the Makefile without running 'make'.
14487 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14488 test -z "$DEPDIR" && continue
14489 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14490 test -z "$am__include" && continue
14491 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14492 # Find all dependency output files, they are included files with
14493 # $(DEPDIR) in their names. We invoke sed twice because it is the
14494 # simplest approach to changing $(DEPDIR) to its actual value in the
14496 for file in `sed -n "
14497 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14498 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14499 # Make sure the directory exists.
14500 test -f "$dirpart/$file" && continue
14501 fdir
=`$as_dirname -- "$file" ||
14502 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14503 X"$file" : 'X\(//\)[^/]' \| \
14504 X"$file" : 'X\(//\)$' \| \
14505 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14506 $as_echo X"$file" |
14507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14511 /^X\(\/\/\)[^/].*/{
14524 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14525 # echo "creating $dirpart/$file"
14526 echo '# dummy' > "$dirpart/$file"
14531 "po-directories":C
)
14532 for ac_file
in $CONFIG_FILES; do
14533 # Support "outfile[:infile[:infile...]]"
14535 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14537 # PO directories have a Makefile.in generated from Makefile.in.in.
14538 case "$ac_file" in */Makefile.
in)
14539 # Adjust a relative srcdir.
14540 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14541 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
14542 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14543 # In autoconf-2.13 it is called $ac_given_srcdir.
14544 # In autoconf-2.50 it is called $srcdir.
14545 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14546 case "$ac_given_srcdir" in
14547 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14548 /*) top_srcdir
="$ac_given_srcdir" ;;
14549 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14551 # Treat a directory as a PO directory if and only if it has a
14552 # POTFILES.in file. This allows packages to have multiple PO
14553 # directories under different names or in different locations.
14554 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14555 rm -f "$ac_dir/POTFILES"
14556 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14557 gt_tab
=`printf '\t'`
14558 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"
14559 POMAKEFILEDEPS
="POTFILES.in"
14560 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14561 # on $ac_dir but don't depend on user-specified configuration
14563 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14564 # The LINGUAS file contains the set of available languages.
14565 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14566 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14568 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14569 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14570 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14571 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14573 # The set of available languages was given in configure.in.
14574 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14575 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14578 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14579 # Compute UPDATEPOFILES
14580 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14581 # Compute DUMMYPOFILES
14582 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14584 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14585 case "$ac_given_srcdir" in
14587 *) srcdirpre
='$(srcdir)/' ;;
14593 for lang
in $ALL_LINGUAS; do
14594 POFILES
="$POFILES $srcdirpre$lang.po"
14595 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14596 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14597 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14599 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14600 # environment variable.
14602 if test -n "$ALL_LINGUAS"; then
14603 for presentlang
in $ALL_LINGUAS; do
14605 if test "%UNSET%" != "$LINGUAS"; then
14606 desiredlanguages
="$LINGUAS"
14608 desiredlanguages
="$ALL_LINGUAS"
14610 for desiredlang
in $desiredlanguages; do
14611 # Use the presentlang catalog if desiredlang is
14612 # a. equal to presentlang, or
14613 # b. a variant of presentlang (because in this case,
14614 # presentlang can be used as a fallback for messages
14615 # which are not translated in the desiredlang catalog).
14616 case "$desiredlang" in
14617 "$presentlang"*) useit
=yes;;
14620 if test $useit = yes; then
14621 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14626 if test -n "$INST_LINGUAS"; then
14627 for lang
in $INST_LINGUAS; do
14628 CATALOGS
="$CATALOGS $lang.gmo"
14631 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14632 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"
14633 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14634 if test -f "$f"; then
14636 *.orig |
*.bak |
*~
) ;;
14637 *) cat "$f" >> "$ac_dir/Makefile" ;;
14645 "run-stap":F
) chmod +x run-stap
;;
14646 "dtrace":F
) chmod +x dtrace
;;
14647 "java/stapbm":F
) chmod +x java
/stapbm
;;
14648 "staprun/run-staprun":F
) chmod +x staprun
/run-staprun
;;
14649 "staprun/guest/stapshd":F
) chmod +x staprun
/guest
/stapshd
;;
14650 "staprun/guest/stapsh-daemon":F
) chmod +x staprun
/guest
/stapsh-daemon
;;
14651 "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
;;
14659 ac_clean_files
=$ac_clean_files_save
14661 test $ac_write_fail = 0 ||
14662 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14665 # configure is writing to config.log, and then calls config.status.
14666 # config.status does its own redirection, appending to config.log.
14667 # Unfortunately, on DOS this fails, as config.log is still kept open
14668 # by configure, so config.status won't be able to write to it; its
14669 # output is simply discarded. So we exec the FD to /dev/null,
14670 # effectively closing config.log, so it can be properly (re)opened and
14671 # appended to by config.status. When coming back to configure, we
14672 # need to make the FD available again.
14673 if test "$no_create" != yes; then
14675 ac_config_status_args
=
14676 test "$silent" = yes &&
14677 ac_config_status_args
="$ac_config_status_args --quiet"
14679 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14681 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14682 # would make configure fail if this is the last instruction.
14683 $ac_cs_success || as_fn_exit
1
14687 # CONFIG_SUBDIRS section.
14689 if test "$no_recursion" != yes; then
14691 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
14692 # so they do not pile up.
14693 ac_sub_configure_args
=
14695 eval "set x $ac_configure_args"
14699 if test -n "$ac_prev"; then
14704 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
14705 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
14706 ac_prev
=cache_file
;;
14707 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
14708 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
14711 --config-cache |
-C)
14713 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
14715 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
14717 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
14719 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
14721 --disable-option-checking)
14725 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14727 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
14731 # Always prepend --prefix to ensure using the same prefix
14732 # in subdir configurations.
14733 ac_arg
="--prefix=$prefix"
14735 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14737 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
14740 if test "$silent" = yes; then
14741 ac_sub_configure_args
="--silent $ac_sub_configure_args"
14744 # Always prepend --disable-option-checking to silence warnings, since
14745 # different subdirs can have different --enable and --with options.
14746 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
14749 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
14751 # Do not complain, so a configure script can configure whichever
14752 # parts of a large source tree are present.
14753 test -d "$srcdir/$ac_dir" ||
continue
14755 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
14756 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
14757 $as_echo "$ac_msg" >&6
14758 as_dir
="$ac_dir"; as_fn_mkdir_p
14762 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14764 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14765 # A ".." for each directory in $ac_dir_suffix.
14766 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14767 case $ac_top_builddir_sub in
14768 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14769 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14772 ac_abs_top_builddir
=$ac_pwd
14773 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14774 # for backward compatibility:
14775 ac_top_builddir
=$ac_top_build_prefix
14778 .
) # We are building in place.
14780 ac_top_srcdir
=$ac_top_builddir_sub
14781 ac_abs_top_srcdir
=$ac_pwd ;;
14782 [\\/]* | ?
:[\\/]* ) # Absolute name.
14783 ac_srcdir
=$srcdir$ac_dir_suffix;
14784 ac_top_srcdir
=$srcdir
14785 ac_abs_top_srcdir
=$srcdir ;;
14786 *) # Relative name.
14787 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14788 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14789 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14791 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14796 # Check for guested configure; otherwise get Cygnus style configure.
14797 if test -f "$ac_srcdir/configure.gnu"; then
14798 ac_sub_configure
=$ac_srcdir/configure.gnu
14799 elif test -f "$ac_srcdir/configure"; then
14800 ac_sub_configure
=$ac_srcdir/configure
14801 elif test -f "$ac_srcdir/configure.in"; then
14802 # This should be Cygnus configure.
14803 ac_sub_configure
=$ac_aux_dir/configure
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
14806 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
14810 # The recursion is here.
14811 if test -n "$ac_sub_configure"; then
14812 # Make the cache file name correct relative to the subdirectory.
14813 case $cache_file in
14814 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
14815 *) # Relative name.
14816 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
14819 { $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
14820 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
14821 # The eval makes quoting arguments work.
14822 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
14823 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
14824 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
14830 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14832 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14836 if test "${prefix}" = "/usr/local"; then
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14838 $as_echo "$as_me: " >&6;}
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
14840 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
14842 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
14844 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
14846 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: is not supported." >&5
14848 $as_echo "$as_me: is not supported." >&6;}