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
652 support_section_question
653 HAVE_MONITOR_LIBS_FALSE
654 HAVE_MONITOR_LIBS_TRUE
659 HAVE_PYTHON_PROBES_FALSE
660 HAVE_PYTHON_PROBES_TRUE
661 HAVE_PYTHON3_PROBES_FALSE
662 HAVE_PYTHON3_PROBES_TRUE
665 HAVE_PYTHON2_PROBES_FALSE
666 HAVE_PYTHON2_PROBES_TRUE
691 HAVE_LIBREADLINE_FALSE
692 HAVE_LIBREADLINE_TRUE
706 XMLTO_STRINGPARAM_FALSE
707 XMLTO_STRINGPARAM_TRUE
726 BUILD_TRANSLATOR_FALSE
727 BUILD_TRANSLATOR_TRUE
761 XGETTEXT_EXTRA_OPTIONS
769 GETTEXT_MACRO_VERSION
801 MAINTAINER_MODE_FALSE
815 INSTALL_STRIP_PROGRAM
869 program_transform_name
882 enable_option_checking
884 enable_maintainer_mode
885 enable_dependency_tracking
919 ac_precious_vars
='build_alias
956 ac_subdirs_all
='testsuite'
958 # Initialize some variables set by options.
960 ac_init_version
=false
961 ac_unrecognized_opts
=
963 # The variables have the same names as the options, with
964 # dashes changed to underlines.
972 program_transform_name
=s
,x
,x
,
980 # Installation directory options.
981 # These are left unexpanded so users can "make install exec_prefix=/foo"
982 # and all the variables that are supposed to be based on exec_prefix
983 # by default will actually change.
984 # Use braces instead of parens because sh, perl, etc. also accept them.
985 # (The list follows the same order as the GNU Coding Standards.)
986 bindir
='${exec_prefix}/bin'
987 sbindir
='${exec_prefix}/sbin'
988 libexecdir
='${exec_prefix}/libexec'
989 datarootdir
='${prefix}/share'
990 datadir
='${datarootdir}'
991 sysconfdir
='${prefix}/etc'
992 sharedstatedir
='${prefix}/com'
993 localstatedir
='${prefix}/var'
994 includedir
='${prefix}/include'
995 oldincludedir
='/usr/include'
996 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
997 infodir
='${datarootdir}/info'
1002 libdir
='${exec_prefix}/lib'
1003 localedir
='${datarootdir}/locale'
1004 mandir
='${datarootdir}/man'
1010 # If the previous option needs an argument, assign it.
1011 if test -n "$ac_prev"; then
1012 eval $ac_prev=\
$ac_option
1018 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 # Accept the important Cygnus configure options, so we can diagnose typos.
1025 case $ac_dashdash$ac_option in
1029 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1031 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1032 bindir
=$ac_optarg ;;
1034 -build |
--build |
--buil |
--bui |
--bu)
1035 ac_prev
=build_alias
;;
1036 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1037 build_alias
=$ac_optarg ;;
1039 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1040 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1041 ac_prev
=cache_file
;;
1042 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1043 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1044 cache_file
=$ac_optarg ;;
1046 --config-cache |
-C)
1047 cache_file
=config.cache
;;
1049 -datadir |
--datadir |
--datadi |
--datad)
1051 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1052 datadir
=$ac_optarg ;;
1054 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1055 |
--dataroo |
--dataro |
--datar)
1056 ac_prev
=datarootdir
;;
1057 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1058 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1059 datarootdir
=$ac_optarg ;;
1061 -disable-* |
--disable-*)
1062 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 as_fn_error $?
"invalid feature name: $ac_useropt"
1066 ac_useropt_orig
=$ac_useropt
1067 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1070 "enable_
$ac_useropt"
1072 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1073 ac_unrecognized_sep
=', ';;
1075 eval enable_
$ac_useropt=no
;;
1077 -docdir |
--docdir |
--docdi |
--doc |
--do)
1079 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1080 docdir
=$ac_optarg ;;
1082 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1084 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1085 dvidir
=$ac_optarg ;;
1087 -enable-* |
--enable-*)
1088 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1091 as_fn_error $?
"invalid feature name: $ac_useropt"
1092 ac_useropt_orig
=$ac_useropt
1093 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1096 "enable_
$ac_useropt"
1098 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1099 ac_unrecognized_sep
=', ';;
1101 eval enable_
$ac_useropt=\
$ac_optarg ;;
1103 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1104 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1105 |
--exec |
--exe |
--ex)
1106 ac_prev
=exec_prefix
;;
1107 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1108 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1109 |
--exec=* |
--exe=* |
--ex=*)
1110 exec_prefix
=$ac_optarg ;;
1112 -gas |
--gas |
--ga |
--g)
1113 # Obsolete; use --with-gas.
1116 -help |
--help |
--hel |
--he |
-h)
1117 ac_init_help
=long
;;
1118 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1119 ac_init_help
=recursive
;;
1120 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1121 ac_init_help
=short
;;
1123 -host |
--host |
--hos |
--ho)
1124 ac_prev
=host_alias
;;
1125 -host=* |
--host=* |
--hos=* |
--ho=*)
1126 host_alias
=$ac_optarg ;;
1128 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1130 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1132 htmldir
=$ac_optarg ;;
1134 -includedir |
--includedir |
--includedi |
--included |
--include \
1135 |
--includ |
--inclu |
--incl |
--inc)
1136 ac_prev
=includedir
;;
1137 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1138 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1139 includedir
=$ac_optarg ;;
1141 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1143 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1144 infodir
=$ac_optarg ;;
1146 -libdir |
--libdir |
--libdi |
--libd)
1148 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1149 libdir
=$ac_optarg ;;
1151 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1152 |
--libexe |
--libex |
--libe)
1153 ac_prev
=libexecdir
;;
1154 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1155 |
--libexe=* |
--libex=* |
--libe=*)
1156 libexecdir
=$ac_optarg ;;
1158 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1159 ac_prev
=localedir
;;
1160 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1161 localedir
=$ac_optarg ;;
1163 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1164 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1165 ac_prev
=localstatedir
;;
1166 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1167 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1168 localstatedir
=$ac_optarg ;;
1170 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1172 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1173 mandir
=$ac_optarg ;;
1175 -nfp |
--nfp |
--nf)
1176 # Obsolete; use --without-fp.
1179 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1180 |
--no-cr |
--no-c |
-n)
1183 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1184 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1187 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1188 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1189 |
--oldin |
--oldi |
--old |
--ol |
--o)
1190 ac_prev
=oldincludedir
;;
1191 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1192 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1193 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1194 oldincludedir
=$ac_optarg ;;
1196 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1198 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1199 prefix
=$ac_optarg ;;
1201 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1202 |
--program-pre |
--program-pr |
--program-p)
1203 ac_prev
=program_prefix
;;
1204 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1205 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1206 program_prefix
=$ac_optarg ;;
1208 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1209 |
--program-suf |
--program-su |
--program-s)
1210 ac_prev
=program_suffix
;;
1211 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1212 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1213 program_suffix
=$ac_optarg ;;
1215 -program-transform-name |
--program-transform-name \
1216 |
--program-transform-nam |
--program-transform-na \
1217 |
--program-transform-n |
--program-transform- \
1218 |
--program-transform |
--program-transfor \
1219 |
--program-transfo |
--program-transf \
1220 |
--program-trans |
--program-tran \
1221 |
--progr-tra |
--program-tr |
--program-t)
1222 ac_prev
=program_transform_name
;;
1223 -program-transform-name=* |
--program-transform-name=* \
1224 |
--program-transform-nam=* |
--program-transform-na=* \
1225 |
--program-transform-n=* |
--program-transform-=* \
1226 |
--program-transform=* |
--program-transfor=* \
1227 |
--program-transfo=* |
--program-transf=* \
1228 |
--program-trans=* |
--program-tran=* \
1229 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1230 program_transform_name
=$ac_optarg ;;
1232 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1234 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1235 pdfdir
=$ac_optarg ;;
1237 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1239 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1242 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1243 |
-silent |
--silent |
--silen |
--sile |
--sil)
1246 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1248 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1250 sbindir
=$ac_optarg ;;
1252 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1253 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1254 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1256 ac_prev
=sharedstatedir
;;
1257 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1258 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1259 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1261 sharedstatedir
=$ac_optarg ;;
1263 -site |
--site |
--sit)
1265 -site=* |
--site=* |
--sit=*)
1268 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1270 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1271 srcdir
=$ac_optarg ;;
1273 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1274 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1275 ac_prev
=sysconfdir
;;
1276 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1277 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1278 sysconfdir
=$ac_optarg ;;
1280 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1281 ac_prev
=target_alias
;;
1282 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1283 target_alias
=$ac_optarg ;;
1285 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1288 -version |
--version |
--versio |
--versi |
--vers |
-V)
1289 ac_init_version
=: ;;
1292 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1293 # Reject names that are not valid shell variable names.
1294 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1295 as_fn_error $?
"invalid package name: $ac_useropt"
1296 ac_useropt_orig
=$ac_useropt
1297 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298 case $ac_user_opts in
1302 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1303 ac_unrecognized_sep
=', ';;
1305 eval with_
$ac_useropt=\
$ac_optarg ;;
1307 -without-* |
--without-*)
1308 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1311 as_fn_error $?
"invalid package name: $ac_useropt"
1312 ac_useropt_orig
=$ac_useropt
1313 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1314 case $ac_user_opts in
1318 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1319 ac_unrecognized_sep
=', ';;
1321 eval with_
$ac_useropt=no
;;
1324 # Obsolete; use --with-x.
1327 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1328 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1329 ac_prev
=x_includes
;;
1330 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1331 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1332 x_includes
=$ac_optarg ;;
1334 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1335 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1336 ac_prev
=x_libraries
;;
1337 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1338 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1339 x_libraries
=$ac_optarg ;;
1341 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1342 Try \`$0 --help' for more information"
1346 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1347 # Reject names that are not valid shell variable names.
1348 case $ac_envvar in #(
1349 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1350 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1352 eval $ac_envvar=\
$ac_optarg
1353 export $ac_envvar ;;
1356 # FIXME: should be removed in autoconf 3.0.
1357 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1358 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1359 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1360 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1366 if test -n "$ac_prev"; then
1367 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1368 as_fn_error $?
"missing argument to $ac_option"
1371 if test -n "$ac_unrecognized_opts"; then
1372 case $enable_option_checking in
1374 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1375 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1379 # Check all directory arguments for consistency.
1380 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1381 datadir sysconfdir sharedstatedir localstatedir includedir \
1382 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1383 libdir localedir mandir
1385 eval ac_val
=\$
$ac_var
1386 # Remove trailing slashes.
1389 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1390 eval $ac_var=\
$ac_val;;
1392 # Be sure to have absolute directory names.
1394 [\\/$
]* | ?
:[\\/]* ) continue;;
1395 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1397 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1400 # There might be people who depend on the old broken behavior: `$host'
1401 # used to hold the argument of --host etc.
1402 # FIXME: To remove some day.
1405 target
=$target_alias
1407 # FIXME: To remove some day.
1408 if test "x$host_alias" != x
; then
1409 if test "x$build_alias" = x
; then
1410 cross_compiling
=maybe
1411 elif test "x$build_alias" != "x$host_alias"; then
1417 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1419 test "$silent" = yes && exec 6>/dev
/null
1422 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1423 ac_ls_di
=`ls -di .` &&
1424 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1425 as_fn_error $?
"working directory cannot be determined"
1426 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1427 as_fn_error $?
"pwd does not report name of working directory"
1430 # Find the source files, if location was not specified.
1431 if test -z "$srcdir"; then
1432 ac_srcdir_defaulted
=yes
1433 # Try the directory containing this script, then the parent directory.
1434 ac_confdir
=`$as_dirname -- "$as_myself" ||
1435 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1436 X"$as_myself" : 'X\(//\)[^/]' \| \
1437 X"$as_myself" : 'X\(//\)$' \| \
1438 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1439 $as_echo X"$as_myself" |
1440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1458 if test ! -r "$srcdir/$ac_unique_file"; then
1462 ac_srcdir_defaulted
=no
1464 if test ! -r "$srcdir/$ac_unique_file"; then
1465 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1466 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1468 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1470 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1472 # When building in place, set srcdir=.
1473 if test "$ac_abs_confdir" = "$ac_pwd"; then
1476 # Remove unnecessary trailing slashes from srcdir.
1477 # Double slashes in file names in object file debugging info
1478 # mess up M-x gdb in Emacs.
1480 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1482 for ac_var
in $ac_precious_vars; do
1483 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1484 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1485 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1486 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1490 # Report the --help message.
1492 if test "$ac_init_help" = "long"; then
1493 # Omit some internal or obsolete options to make the list less imposing.
1494 # This message is too long to be a string in the A/UX 3.1 sh.
1496 \`configure' configures systemtap 3.2 to adapt to many kinds of systems.
1498 Usage: $0 [OPTION]... [VAR=VALUE]...
1500 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1501 VAR=VALUE. See below for descriptions of some of the useful variables.
1503 Defaults for the options are specified in brackets.
1506 -h, --help display this help and exit
1507 --help=short display options specific to this package
1508 --help=recursive display the short help of all the included packages
1509 -V, --version display version information and exit
1510 -q, --quiet, --silent do not print \`checking ...' messages
1511 --cache-file=FILE cache test results in FILE [disabled]
1512 -C, --config-cache alias for \`--cache-file=config.cache'
1513 -n, --no-create do not create output files
1514 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1516 Installation directories:
1517 --prefix=PREFIX install architecture-independent files in PREFIX
1518 [$ac_default_prefix]
1519 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1522 By default, \`make install' will install all the files in
1523 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1524 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1525 for instance \`--prefix=\$HOME'.
1527 For better control, use the options below.
1529 Fine tuning of the installation directories:
1530 --bindir=DIR user executables [EPREFIX/bin]
1531 --sbindir=DIR system admin executables [EPREFIX/sbin]
1532 --libexecdir=DIR program executables [EPREFIX/libexec]
1533 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1534 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1535 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1536 --libdir=DIR object code libraries [EPREFIX/lib]
1537 --includedir=DIR C header files [PREFIX/include]
1538 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1539 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1540 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1541 --infodir=DIR info documentation [DATAROOTDIR/info]
1542 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1543 --mandir=DIR man documentation [DATAROOTDIR/man]
1544 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1545 --htmldir=DIR html documentation [DOCDIR]
1546 --dvidir=DIR dvi documentation [DOCDIR]
1547 --pdfdir=DIR pdf documentation [DOCDIR]
1548 --psdir=DIR ps documentation [DOCDIR]
1554 --program-prefix=PREFIX prepend PREFIX to installed program names
1555 --program-suffix=SUFFIX append SUFFIX to installed program names
1556 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1559 --build=BUILD configure
for building on BUILD
[guessed
]
1560 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1561 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1565 if test -n "$ac_init_help"; then
1566 case $ac_init_help in
1567 short | recursive
) echo "Configuration of systemtap 3.2:";;
1572 --disable-option-checking ignore unrecognized
--enable/--with options
1573 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1574 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1575 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1576 --disable-silent-rules verbose build output
(undo
: "make V=0")
1577 --enable-maintainer-mode
1578 enable make rules and dependencies not useful
(and
1579 sometimes confusing
) to the casual installer
1580 --enable-dependency-tracking
1581 do not reject slow dependency extractors
1582 --disable-dependency-tracking
1583 speeds up one-time build
1584 --disable-largefile omit support
for large files
1585 --disable-nls do not use Native Language Support
1586 --disable-rpath do not hardcode runtime library paths
1587 --enable-prologues make -P prologue-searching default
1588 --disable-sdt-probes disable process.mark probes
in stap
, staprun
, stapio
1589 --disable-ssp disable gcc stack-protector
1590 --enable-pie enable position-independent-executable
1591 --enable-sqlite build with sqlite support
1592 --disable-translator build only runtime utilities
1593 --enable-crash[=DIRECTORY
]
1594 enable crash extension
(default is disabled
).
1595 Optional DIRECTORY is the path to the crash header
1596 file (needed
if installed
in a non-standard
1598 --enable-docs enable building documentation
(default on
if latex
1600 --enable-refdocs enable building reference documentation
(default on
1601 if other documentation built
).
1602 --enable-htmldocs enable building html documentation
(default off
).
1603 --enable-server enable building of stap-server
(default on
if nss
1605 --enable-virt enable building of stapvirt support
(default on
if
1606 libvirt etc. found
).
1607 --disable-http Disable building http web compilation service
, even
1611 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1612 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1613 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1614 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1615 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1616 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1617 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1618 --without-nss Do not use NSS even
if present
1619 --with-dracutstap=DIR Install dracut module files
in DIR
1620 --with-dracutbindir=DIR Use the dracut binary located
in DIR
1621 --without-avahi Do not use Avahi even
if present
1622 --with-rpm query rpm database
for missing debuginfos
1623 --with-python3 prefer
/usr
/bin
/python3
1624 --with-elfutils=DIRECTORY
1625 find elfutils
source code
in DIRECTORY
1626 --with-dyninst=DIRECTORY
1627 find dyninst headers
/libraries
in DIRECTORY
1628 --without-python2-probes
1629 Disable building python version
2 probe support
,
1630 even
if it is available
1631 --without-python3-probes
1632 Disable building python version
3 probe support
,
1633 even
if it is available
1634 --without-selinux Do not use libselinux even
if present
1635 --with-java=DIRECTORY Specify JDK directory to compile libHelperSDT.so
1636 against
(default is
/usr
/lib
/jvm
/java
)
1637 --with-extra-version=STRING
1638 Add STRING to stap
-V version
1640 Some influential environment variables
:
1641 CC C compiler
command
1642 CFLAGS C compiler flags
1643 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1644 nonstandard directory
<lib dir
>
1645 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1646 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1647 you have headers
in a nonstandard directory
<include dir
>
1649 CXX C
++ compiler
command
1650 CXXFLAGS C
++ compiler flags
1651 PYTHON the Python interpreter
1652 PKG_CONFIG path to pkg-config utility
1654 directories to add to pkg-config
's search path
1656 path overriding pkg-config's built-in search path
1658 C compiler flags
for sqlite3
, overriding pkg-config
1660 linker flags
for sqlite3
, overriding pkg-config
1661 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1662 nss_LIBS linker flags
for nss
, overriding pkg-config
1664 C compiler flags
for avahi
, overriding pkg-config
1665 avahi_LIBS linker flags
for avahi
, overriding pkg-config
1666 CXXCPP C
++ preprocessor
1668 C compiler flags
for libvirt
, overriding pkg-config
1670 linker flags
for libvirt
, overriding pkg-config
1672 C compiler flags
for libxml2
, overriding pkg-config
1674 linker flags
for libxml2
, overriding pkg-config
1676 C compiler flags
for jsonc
, overriding pkg-config
1677 jsonc_LIBS linker flags
for jsonc
, overriding pkg-config
1679 C compiler flags
for ncurses
, overriding pkg-config
1681 linker flags
for ncurses
, overriding pkg-config
1683 C compiler flags
for selinux
, overriding pkg-config
1685 linker flags
for selinux
, overriding pkg-config
1686 libmicrohttpd_CFLAGS
1687 C compiler flags
for libmicrohttpd
, overriding pkg-config
1689 linker flags
for libmicrohttpd
, overriding pkg-config
1690 uuid_CFLAGS C compiler flags
for uuid
, overriding pkg-config
1691 uuid_LIBS linker flags
for uuid
, overriding pkg-config
1693 Use these variables to override the choices made by
`configure' or to help
1694 it to find libraries and programs with nonstandard names/locations.
1696 Report bugs to <systemtap@sourceware.org>.
1701 if test "$ac_init_help" = "recursive"; then
1702 # If there are subdirs, report their specific --help.
1703 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1704 test -d "$ac_dir" ||
1705 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1710 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1712 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1713 # A ".." for each directory in $ac_dir_suffix.
1714 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1715 case $ac_top_builddir_sub in
1716 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1717 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1720 ac_abs_top_builddir=$ac_pwd
1721 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1722 # for backward compatibility:
1723 ac_top_builddir=$ac_top_build_prefix
1726 .) # We are building in place.
1728 ac_top_srcdir=$ac_top_builddir_sub
1729 ac_abs_top_srcdir=$ac_pwd ;;
1730 [\\/]* | ?:[\\/]* ) # Absolute name.
1731 ac_srcdir=$srcdir$ac_dir_suffix;
1732 ac_top_srcdir=$srcdir
1733 ac_abs_top_srcdir=$srcdir ;;
1735 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1736 ac_top_srcdir=$ac_top_build_prefix$srcdir
1737 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1739 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1741 cd "$ac_dir" || { ac_status=$?; continue; }
1742 # Check for guested configure.
1743 if test -f "$ac_srcdir/configure.gnu"; then
1745 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1746 elif test -f "$ac_srcdir/configure"; then
1748 $SHELL "$ac_srcdir/configure" --help=recursive
1750 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1752 cd "$ac_pwd" || { ac_status=$?; break; }
1756 test -n "$ac_init_help" && exit $ac_status
1757 if $ac_init_version; then
1759 systemtap configure 3.2
1760 generated by GNU Autoconf 2.69
1762 Copyright (C) 2012 Free Software Foundation, Inc.
1763 This configure script is free software; the Free Software Foundation
1764 gives unlimited permission to copy, distribute and modify it.
1769 ## ------------------------ ##
1770 ## Autoconf initialization. ##
1771 ## ------------------------ ##
1773 # ac_fn_c_try_compile LINENO
1774 # --------------------------
1775 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1776 ac_fn_c_try_compile ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 rm -f conftest.$ac_objext
1780 if { { ac_try="$ac_compile"
1782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1783 *) ac_try_echo
=$ac_try;;
1785 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_compile") 2>conftest.err
1789 if test -s conftest.err
; then
1790 grep -v '^ *+' conftest.err
>conftest.er1
1791 cat conftest.er1
>&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } && {
1796 test -z "$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 } && test -s conftest.
$ac_objext; then :
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.
$ac_ext >&5
1806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807 as_fn_set_status
$ac_retval
1809 } # ac_fn_c_try_compile
1811 # ac_fn_c_try_cpp LINENO
1812 # ----------------------
1813 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1816 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1817 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1820 *) ac_try_echo=$ac_try;;
1822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823 $as_echo "$ac_try_echo"; } >&5
1824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1826 if test -s conftest.err; then
1827 grep -v '^ *+' conftest.err >conftest.er1
1828 cat conftest.er1 >&5
1829 mv -f conftest.er1 conftest.err
1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832 test $ac_status = 0; } > conftest.i && {
1833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1834 test ! -s conftest.err
1838 $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.$ac_ext >&5
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844 as_fn_set_status $ac_retval
1848 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1849 # -------------------------------------------------------
1850 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1851 # the include files in INCLUDES and setting the cache variable VAR
1853 ac_fn_c_check_header_mongrel ()
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 if eval \${$3+:} false; then :
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if eval \${$3+:} false; then :
1860 $as_echo_n "(cached) " >&6
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1866 # Is the header compilable?
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1868 $as_echo_n "checking $2 usability... " >&6; }
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 ac_header_compiler=yes
1877 ac_header_compiler=no
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1881 $as_echo "$ac_header_compiler" >&6; }
1883 # Is the header present?
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1885 $as_echo_n "checking $2 presence... " >&6; }
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1890 if ac_fn_c_try_cpp "$LINENO"; then :
1891 ac_header_preproc=yes
1893 ac_header_preproc=no
1895 rm -f conftest.err conftest.i conftest.$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1897 $as_echo "$ac_header_preproc" >&6; }
1899 # So? What about this header?
1900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1903 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1905 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1909 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1911 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1913 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1915 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1917 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1918 ( $as_echo "## --------------------------------------- ##
1919 ## Report this to systemtap@sourceware.org ##
1920 ## --------------------------------------- ##"
1921 ) | sed "s/^/$as_me: WARNING: /" >&2
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if eval \${$3+:} false; then :
1927 $as_echo_n "(cached) " >&6
1929 eval "$3=\$ac_header_compiler"
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937 } # ac_fn_c_check_header_mongrel
1939 # ac_fn_c_try_run LINENO
1940 # ----------------------
1941 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1942 # that executables *can* be run.
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if { { ac_try="$ac_link"
1948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1949 *) ac_try_echo
=$ac_try;;
1951 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_link") 2>&5
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1957 { { case "(($ac_try" in
1958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1959 *) ac_try_echo=$ac_try;;
1961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_try") 2>&5
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; }; }; then :
1969 $as_echo "$as_me: program exited with status $ac_status" >&5
1970 $as_echo "$as_me: failed program was:" >&5
1971 sed 's/^/| /' conftest.$ac_ext >&5
1973 ac_retval=$ac_status
1975 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status $ac_retval
1981 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1982 # -------------------------------------------------------
1983 # Tests whether HEADER exists and can be compiled using the include files in
1984 # INCLUDES, setting the cache variable VAR accordingly.
1985 ac_fn_c_check_header_compile ()
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989 $as_echo_n "checking for $2... " >&6; }
1990 if eval \${$3+:} false; then :
1991 $as_echo_n "(cached) " >&6
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
1998 if ac_fn_c_try_compile "$LINENO"; then :
2003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 } # ac_fn_c_check_header_compile
2012 # ac_fn_cxx_try_compile LINENO
2013 # ----------------------------
2014 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_compile ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 rm -f conftest.$ac_objext
2019 if { { ac_try="$ac_compile"
2021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2022 *) ac_try_echo
=$ac_try;;
2024 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_compile") 2>conftest.err
2028 if test -s conftest.err
; then
2029 grep -v '^ *+' conftest.err
>conftest.er1
2030 cat conftest.er1
>&5
2031 mv -f conftest.er1 conftest.err
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } && {
2035 test -z "$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 } && test -s conftest.
$ac_objext; then :
2040 $as_echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.
$ac_ext >&5
2045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046 as_fn_set_status
$ac_retval
2048 } # ac_fn_cxx_try_compile
2050 # ac_fn_c_try_link LINENO
2051 # -----------------------
2052 # Try to link conftest.$ac_ext, and return whether this succeeded.
2055 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2056 rm -f conftest.
$ac_objext conftest
$ac_exeext
2057 if { { ac_try
="$ac_link"
2059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064 (eval "$ac_link") 2>conftest.err
2066 if test -s conftest.err; then
2067 grep -v '^ *+' conftest.err >conftest.er1
2068 cat conftest.er1 >&5
2069 mv -f conftest.er1 conftest.err
2071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2072 test $ac_status = 0; } && {
2073 test -z "$ac_c_werror_flag" ||
2074 test ! -s conftest.err
2075 } && test -s conftest$ac_exeext && {
2076 test "$cross_compiling" = yes ||
2077 test -x conftest$ac_exeext
2081 $as_echo "$as_me: failed program was:" >&5
2082 sed 's/^/| /' conftest.$ac_ext >&5
2086 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2087 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2088 # interfere with the next link command; also delete a directory that is
2089 # left behind by Apple's compiler. We do this before executing the actions.
2090 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2092 as_fn_set_status $ac_retval
2094 } # ac_fn_c_try_link
2096 # ac_fn_c_check_func LINENO FUNC VAR
2097 # ----------------------------------
2098 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2099 ac_fn_c_check_func ()
2101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2103 $as_echo_n "checking for $2... " >&6; }
2104 if eval \${$3+:} false; then :
2105 $as_echo_n "(cached) " >&6
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2109 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2111 #define $2 innocuous_$2
2113 /* System header to define __stub macros and hopefully few prototypes,
2114 which can conflict with char $2 (); below.
2115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2116 <limits.h> exists even on freestanding compilers. */
2119 # include <limits.h>
2121 # include <assert.h>
2126 /* Override any GCC internal prototype to avoid an error.
2127 Use char because int might match the return type of a GCC
2128 builtin and then its argument prototype would still apply. */
2133 /* The GNU C library defines this for functions which it implements
2134 to always fail with ENOSYS. Some functions are actually named
2135 something starting with __ and the normal name is an alias. */
2136 #if defined __stub_$2 || defined __stub___$2
2148 if ac_fn_c_try_link "$LINENO"; then :
2153 rm -f core conftest.err conftest.$ac_objext \
2154 conftest$ac_exeext conftest.$ac_ext
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158 $as_echo "$ac_res" >&6; }
2159 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2161 } # ac_fn_c_check_func
2163 # ac_fn_cxx_try_cpp LINENO
2164 # ------------------------
2165 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2166 ac_fn_cxx_try_cpp ()
2168 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2169 if { { ac_try="$ac_cpp conftest.$ac_ext"
2171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2172 *) ac_try_echo
=$ac_try;;
2174 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2175 $as_echo "$ac_try_echo"; } >&5
2176 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2178 if test -s conftest.err
; then
2179 grep -v '^ *+' conftest.err
>conftest.er1
2180 cat conftest.er1
>&5
2181 mv -f conftest.er1 conftest.err
2183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2184 test $ac_status = 0; } > conftest.i
&& {
2185 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2186 test ! -s conftest.err
2190 $as_echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.
$ac_ext >&5
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 as_fn_set_status
$ac_retval
2198 } # ac_fn_cxx_try_cpp
2200 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2201 # ---------------------------------------------------------
2202 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2203 # the include files in INCLUDES and setting the cache variable VAR
2205 ac_fn_cxx_check_header_mongrel
()
2207 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2208 if eval \
${$3+:} false
; then :
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \
${$3+:} false
; then :
2212 $as_echo_n "(cached) " >&6
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2218 # Is the header compilable?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2220 $as_echo_n "checking $2 usability... " >&6; }
2221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2226 if ac_fn_cxx_try_compile
"$LINENO"; then :
2227 ac_header_compiler
=yes
2229 ac_header_compiler
=no
2231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2233 $as_echo "$ac_header_compiler" >&6; }
2235 # Is the header present?
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2237 $as_echo_n "checking $2 presence... " >&6; }
2238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2242 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2243 ac_header_preproc
=yes
2245 ac_header_preproc
=no
2247 rm -f conftest.err conftest.i conftest.
$ac_ext
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2249 $as_echo "$ac_header_preproc" >&6; }
2251 # So? What about this header?
2252 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2255 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2261 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2263 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2265 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2267 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2269 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2270 ( $as_echo "## --------------------------------------- ##
2271 ## Report this to systemtap@sourceware.org ##
2272 ## --------------------------------------- ##"
2273 ) |
sed "s/^/$as_me: WARNING: /" >&2
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2277 $as_echo_n "checking for $2... " >&6; }
2278 if eval \
${$3+:} false
; then :
2279 $as_echo_n "(cached) " >&6
2281 eval "$3=\$ac_header_compiler"
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2285 $as_echo "$ac_res" >&6; }
2287 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2289 } # ac_fn_cxx_check_header_mongrel
2291 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2292 # ---------------------------------------------
2293 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2295 ac_fn_c_check_decl
()
2297 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2298 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2299 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2301 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2302 if eval \
${$3+:} false
; then :
2303 $as_echo_n "(cached) " >&6
2305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2306 /* end confdefs.h. */
2311 #ifndef $as_decl_name
2313 (void) $as_decl_use;
2315 (void) $as_decl_name;
2323 if ac_fn_c_try_compile
"$LINENO"; then :
2328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2332 $as_echo "$ac_res" >&6; }
2333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2335 } # ac_fn_c_check_decl
2336 cat >config.log
<<_ACEOF
2337 This file contains any messages produced by compilers while
2338 running configure, to aid debugging if configure makes a mistake.
2340 It was created by systemtap $as_me 3.2, which was
2341 generated by GNU Autoconf 2.69. Invocation command line was
2353 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2354 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2355 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2356 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2357 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2359 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2360 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2362 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2363 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2364 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2365 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2366 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2367 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2368 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir
=.
2377 $as_echo "PATH: $as_dir"
2393 # Keep a trace of the command line.
2394 # Strip out --no-create and --no-recursion so they do not pile up.
2395 # Strip out --silent because we don't want to record it for future runs.
2396 # Also quote any args containing shell meta-characters.
2397 # Make two passes to allow for proper duplicate-argument suppression.
2401 ac_must_keep_next
=false
2407 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2408 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2409 |
-silent |
--silent |
--silen |
--sile |
--sil)
2412 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2415 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2417 as_fn_append ac_configure_args1
" '$ac_arg'"
2418 if test $ac_must_keep_next = true
; then
2419 ac_must_keep_next
=false
# Got value, back to normal.
2422 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2423 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2424 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2425 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2426 case "$ac_configure_args0 " in
2427 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2430 -* ) ac_must_keep_next
=true
;;
2433 as_fn_append ac_configure_args
" '$ac_arg'"
2438 { ac_configure_args0
=; unset ac_configure_args0
;}
2439 { ac_configure_args1
=; unset ac_configure_args1
;}
2441 # When interrupted or exit'd, cleanup temporary files, and complete
2442 # config.log. We remove comments because anyway the quotes in there
2443 # would cause problems or look ugly.
2444 # WARNING: Use '\'' to represent an apostrophe within the trap.
2445 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2446 trap 'exit_status=$?
2447 # Save into config.log some information that might help in debugging.
2451 $as_echo "## ---------------- ##
2452 ## Cache variables. ##
2453 ## ---------------- ##"
2455 # The following way of writing the cache mishandles newlines in values,
2457 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2458 eval ac_val=\$$ac_var
2462 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2463 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2466 _ | IFS | as_nl) ;; #(
2467 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2468 *) { eval $ac_var=; unset $ac_var;} ;;
2473 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2474 *${as_nl}ac_space=\ *)
2476 "s/'\''/'\''\\\\'\'''\''/g;
2477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2487 $as_echo "## ----------------- ##
2488 ## Output variables. ##
2489 ## ----------------- ##"
2491 for ac_var in $ac_subst_vars
2493 eval ac_val=\$$ac_var
2495 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2497 $as_echo "$ac_var='\''$ac_val'\''"
2501 if test -n "$ac_subst_files"; then
2502 $as_echo "## ------------------- ##
2503 ## File substitutions. ##
2504 ## ------------------- ##"
2506 for ac_var
in $ac_subst_files
2508 eval ac_val
=\$
$ac_var
2510 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2512 $as_echo "$ac_var='\''$ac_val'\''"
2517 if test -s confdefs.h; then
2518 $as_echo "## ----------- ##
2525 test "$ac_signal" != 0 &&
2526 $as_echo "$as_me: caught signal $ac_signal"
2527 $as_echo "$as_me: exit $exit_status"
2529 rm -f core *.core core.conftest.* &&
2530 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2533 for ac_signal
in 1 2 13 15; do
2534 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2538 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2539 rm -f -r conftest
* confdefs.h
2541 $as_echo "/* confdefs.h */" > confdefs.h
2543 # Predefined preprocessor variables.
2545 cat >>confdefs.h
<<_ACEOF
2546 #define PACKAGE_NAME "$PACKAGE_NAME"
2549 cat >>confdefs.h
<<_ACEOF
2550 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2553 cat >>confdefs.h
<<_ACEOF
2554 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2557 cat >>confdefs.h
<<_ACEOF
2558 #define PACKAGE_STRING "$PACKAGE_STRING"
2561 cat >>confdefs.h
<<_ACEOF
2562 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2565 cat >>confdefs.h
<<_ACEOF
2566 #define PACKAGE_URL "$PACKAGE_URL"
2570 # Let the site file select an alternate cache file if it wants to.
2571 # Prefer an explicitly selected file to automatically selected ones.
2574 if test -n "$CONFIG_SITE"; then
2575 # We do not want a PATH search for config.site.
2576 case $CONFIG_SITE in #((
2577 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2578 */*) ac_site_file1
=$CONFIG_SITE;;
2579 *) ac_site_file1
=.
/$CONFIG_SITE;;
2581 elif test "x$prefix" != xNONE
; then
2582 ac_site_file1
=$prefix/share
/config.site
2583 ac_site_file2
=$prefix/etc
/config.site
2585 ac_site_file1
=$ac_default_prefix/share
/config.site
2586 ac_site_file2
=$ac_default_prefix/etc
/config.site
2588 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2590 test "x$ac_site_file" = xNONE
&& continue
2591 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2593 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2594 sed 's/^/| /' "$ac_site_file" >&5
2596 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 as_fn_error $?
"failed to load site script $ac_site_file
2599 See \`config.log' for more details" "$LINENO" 5; }
2603 if test -r "$cache_file"; then
2604 # Some versions of bash will fail to source /dev/null (special files
2605 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2606 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2608 $as_echo "$as_me: loading cache $cache_file" >&6;}
2610 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2611 *) .
"./$cache_file";;
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2616 $as_echo "$as_me: creating cache $cache_file" >&6;}
2620 gt_needs
="$gt_needs "
2621 # Check that the precious variables saved in the cache have kept the same
2623 ac_cache_corrupted
=false
2624 for ac_var
in $ac_precious_vars; do
2625 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2626 eval ac_new_set
=\
$ac_env_${ac_var}_set
2627 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2628 eval ac_new_val
=\
$ac_env_${ac_var}_value
2629 case $ac_old_set,$ac_new_set in
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2632 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2633 ac_cache_corrupted
=: ;;
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2636 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2637 ac_cache_corrupted
=: ;;
2640 if test "x$ac_old_val" != "x$ac_new_val"; then
2641 # differences in whitespace do not lead to failure.
2642 ac_old_val_w
=`echo x $ac_old_val`
2643 ac_new_val_w
=`echo x $ac_new_val`
2644 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2646 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2647 ac_cache_corrupted
=:
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2650 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2651 eval $ac_var=\
$ac_old_val
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2654 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2656 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2659 # Pass precious variables to config.status.
2660 if test "$ac_new_set" = set; then
2662 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2663 *) ac_arg
=$ac_var=$ac_new_val ;;
2665 case " $ac_configure_args " in
2666 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2667 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2671 if $ac_cache_corrupted; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2675 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2676 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2678 ## -------------------- ##
2679 ## Main body of script. ##
2680 ## -------------------- ##
2683 ac_cpp
='$CPP $CPPFLAGS'
2684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2691 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2692 if test -f "$ac_dir/install-sh"; then
2694 ac_install_sh
="$ac_aux_dir/install-sh -c"
2696 elif test -f "$ac_dir/install.sh"; then
2698 ac_install_sh
="$ac_aux_dir/install.sh -c"
2700 elif test -f "$ac_dir/shtool"; then
2702 ac_install_sh
="$ac_aux_dir/shtool install -c"
2706 if test -z "$ac_aux_dir"; then
2707 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2710 # These three variables are undocumented and unsupported,
2711 # and are intended to be withdrawn in a future Autoconf release.
2712 # They can cause serious problems if a builder's source tree is in a directory
2713 # whose full name contains unusual characters.
2714 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2715 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2716 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2719 # Make sure we can run config.sub.
2720 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2721 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2724 $as_echo_n "checking build system type... " >&6; }
2725 if ${ac_cv_build+:} false
; then :
2726 $as_echo_n "(cached) " >&6
2728 ac_build_alias
=$build_alias
2729 test "x$ac_build_alias" = x
&&
2730 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2731 test "x$ac_build_alias" = x
&&
2732 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2733 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2734 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2738 $as_echo "$ac_cv_build" >&6; }
2739 case $ac_cv_build in
2741 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2744 ac_save_IFS
=$IFS; IFS
='-'
2750 # Remember, the first character of IFS is used to create $*,
2751 # except with old shells:
2754 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2758 $as_echo_n "checking host system type... " >&6; }
2759 if ${ac_cv_host+:} false
; then :
2760 $as_echo_n "(cached) " >&6
2762 if test "x$host_alias" = x
; then
2763 ac_cv_host
=$ac_cv_build
2765 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2766 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2771 $as_echo "$ac_cv_host" >&6; }
2774 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2777 ac_save_IFS
=$IFS; IFS
='-'
2783 # Remember, the first character of IFS is used to create $*,
2784 # except with old shells:
2787 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2791 $as_echo_n "checking target system type... " >&6; }
2792 if ${ac_cv_target+:} false
; then :
2793 $as_echo_n "(cached) " >&6
2795 if test "x$target_alias" = x
; then
2796 ac_cv_target
=$ac_cv_host
2798 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2799 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2804 $as_echo "$ac_cv_target" >&6; }
2805 case $ac_cv_target in
2807 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2809 target
=$ac_cv_target
2810 ac_save_IFS
=$IFS; IFS
='-'
2816 # Remember, the first character of IFS is used to create $*,
2817 # except with old shells:
2820 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2823 # The aliases save the names the user supplied, while $host etc.
2824 # will get canonicalized.
2825 test -n "$target_alias" &&
2826 test "$program_prefix$program_suffix$program_transform_name" = \
2828 program_prefix
=${target_alias}-
2831 am__api_version
='1.15'
2833 # Find a good install program. We prefer a C program (faster),
2834 # so one script is as good as another. But avoid the broken or
2835 # incompatible versions:
2836 # SysV /etc/install, /usr/sbin/install
2837 # SunOS /usr/etc/install
2838 # IRIX /sbin/install
2840 # AmigaOS /C/install, which installs bootblocks on floppy discs
2841 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2842 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2843 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2844 # OS/2's system install, which has a completely different semantic
2845 # ./install, which can be erroneously created by make from ./install.sh.
2846 # Reject install programs that cannot install multiple files.
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2848 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2849 if test -z "$INSTALL"; then
2850 if ${ac_cv_path_install+:} false
; then :
2851 $as_echo_n "(cached) " >&6
2853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir
=.
2858 # Account for people who put trailing slashes in PATH elements.
2859 case $as_dir/ in #((
2860 .
/ | .
// |
/[cC
]/* | \
2861 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2862 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2865 # OSF1 and SCO ODT 3.0 have their own names for install.
2866 # Don't use installbsd from OSF since it installs stuff as root
2868 for ac_prog
in ginstall scoinst
install; do
2869 for ac_exec_ext
in '' $ac_executable_extensions; do
2870 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2871 if test $ac_prog = install &&
2872 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2873 # AIX install. It has an incompatible calling convention.
2875 elif test $ac_prog = install &&
2876 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2877 # program-specific install script used by HP pwplus--don't use.
2880 rm -rf conftest.one conftest.two conftest.dir
2881 echo one
> conftest.one
2882 echo two
> conftest.two
2884 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2885 test -s conftest.one
&& test -s conftest.two
&&
2886 test -s conftest.dir
/conftest.one
&&
2887 test -s conftest.dir
/conftest.two
2889 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2902 rm -rf conftest.one conftest.two conftest.dir
2905 if test "${ac_cv_path_install+set}" = set; then
2906 INSTALL
=$ac_cv_path_install
2908 # As a last resort, use the slow shell script. Don't cache a
2909 # value for INSTALL within a source directory, because that will
2910 # break other packages using the cache if that directory is
2911 # removed, or if the value is a relative name.
2912 INSTALL
=$ac_install_sh
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2916 $as_echo "$INSTALL" >&6; }
2918 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2919 # It thinks the first close brace ends the variable substitution.
2920 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2922 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2924 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2927 $as_echo_n "checking whether build environment is sane... " >&6; }
2928 # Reject unsafe characters in $srcdir or the absolute working directory
2929 # name. Accept space and tab only in the latter.
2933 *[\\\"\
#\$\&\'\`$am_lf]*)
2934 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2937 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2938 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2941 # Do 'set' in a subshell so we don't clobber the current shell's
2942 # arguments. Must try -L first in case configure is actually a
2943 # symlink; some systems play weird games with the mod time of symlinks
2944 # (eg FreeBSD returns the mod time of the symlink's containing
2948 for am_try
in 1 2; do
2949 echo "timestamp, slept: $am_has_slept" > conftest.
file
2950 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2951 if test "$*" = "X"; then
2953 set X
`ls -t "$srcdir/configure" conftest.file`
2955 if test "$*" != "X $srcdir/configure conftest.file" \
2956 && test "$*" != "X conftest.file $srcdir/configure"; then
2958 # If neither matched, then we have a broken ls. This can happen
2959 # if, for instance, CONFIG_SHELL is bash and it inherits a
2960 # broken ls alias from the environment. This has actually
2961 # happened. Such a system could not be considered "sane".
2962 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2963 alias in your environment" "$LINENO" 5
2965 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2972 test "$2" = conftest.
file
2978 as_fn_error $?
"newly created file is older than distributed files!
2979 Check your system clock" "$LINENO" 5
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2982 $as_echo "yes" >&6; }
2983 # If we didn't sleep, we still need to ensure time stamps of config.status and
2984 # generated files are strictly newer.
2986 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2993 test "$program_prefix" != NONE
&&
2994 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2995 # Use a double $ so make ignores it.
2996 test "$program_suffix" != NONE
&&
2997 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2998 # Double any \ or $.
2999 # By default was `s,x,x', remove it if useless.
3000 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3001 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3003 # Expand $ac_aux_dir to an absolute path.
3004 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3006 if test x
"${MISSING+set}" != xset
; then
3009 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3011 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3014 # Use eval to expand $SHELL
3015 if eval "$MISSING --is-lightweight"; then
3016 am_missing_run
="$MISSING "
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3020 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3023 if test x
"${install_sh+set}" != xset
; then
3026 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3028 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3032 # Installed binaries are usually stripped using 'strip' when the user
3033 # run "make install-strip". However 'strip' might not be the right
3034 # tool to use in cross-compilation environments, therefore Automake
3035 # will honor the 'STRIP' environment variable to overrule this program.
3036 if test "$cross_compiling" != no
; then
3037 if test -n "$ac_tool_prefix"; then
3038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3039 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if ${ac_cv_prog_STRIP+:} false
; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$STRIP"; then
3046 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir
=.
3053 for ac_exec_ext
in '' $ac_executable_extensions; do
3054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3055 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 STRIP
=$ac_cv_prog_STRIP
3066 if test -n "$STRIP"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3068 $as_echo "$STRIP" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3076 if test -z "$ac_cv_prog_STRIP"; then
3078 # Extract the first word of "strip", so it can be a program name with args.
3079 set dummy strip
; ac_word
=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$ac_ct_STRIP"; then
3086 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir
=.
3093 for ac_exec_ext
in '' $ac_executable_extensions; do
3094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3095 ac_cv_prog_ac_ct_STRIP
="strip"
3096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3106 if test -n "$ac_ct_STRIP"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3108 $as_echo "$ac_ct_STRIP" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3114 if test "x$ac_ct_STRIP" = x
; then
3117 case $cross_compiling:$ac_tool_warned in
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3121 ac_tool_warned
=yes ;;
3126 STRIP
="$ac_cv_prog_STRIP"
3130 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3133 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3134 if test -z "$MKDIR_P"; then
3135 if ${ac_cv_path_mkdir+:} false
; then :
3136 $as_echo_n "(cached) " >&6
3138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3139 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3142 test -z "$as_dir" && as_dir
=.
3143 for ac_prog
in mkdir gmkdir
; do
3144 for ac_exec_ext
in '' $ac_executable_extensions; do
3145 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3146 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3147 'mkdir (GNU coreutils) '* | \
3148 'mkdir (coreutils) '* | \
3149 'mkdir (fileutils) '4.1*)
3150 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3160 test -d .
/--version && rmdir .
/--version
3161 if test "${ac_cv_path_mkdir+set}" = set; then
3162 MKDIR_P
="$ac_cv_path_mkdir -p"
3164 # As a last resort, use the slow shell script. Don't cache a
3165 # value for MKDIR_P within a source directory, because that will
3166 # break other packages using the cache if that directory is
3167 # removed, or if the value is a relative name.
3168 MKDIR_P
="$ac_install_sh -d"
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3172 $as_echo "$MKDIR_P" >&6; }
3174 for ac_prog
in gawk mawk nawk
awk
3176 # Extract the first word of "$ac_prog", so it can be a program name with args.
3177 set dummy
$ac_prog; ac_word
=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_AWK+:} false
; then :
3181 $as_echo_n "(cached) " >&6
3183 if test -n "$AWK"; then
3184 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir
=.
3191 for ac_exec_ext
in '' $ac_executable_extensions; do
3192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_AWK
="$ac_prog"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 if test -n "$AWK"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3206 $as_echo "$AWK" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3213 test -n "$AWK" && break
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3217 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3219 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3220 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3221 $as_echo_n "(cached) " >&6
3223 cat >conftest.
make <<\_ACEOF
3226 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3228 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3229 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3231 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3233 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3237 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3239 $as_echo "yes" >&6; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3244 SET_MAKE
="MAKE=${MAKE-make}"
3247 rm -rf .tst
2>/dev
/null
3248 mkdir .tst
2>/dev
/null
3249 if test -d .tst
; then
3254 rmdir .tst
2>/dev
/null
3256 # Check whether --enable-silent-rules was given.
3257 if test "${enable_silent_rules+set}" = set; then :
3258 enableval
=$enable_silent_rules;
3261 case $enable_silent_rules in # (((
3262 yes) AM_DEFAULT_VERBOSITY
=0;;
3263 no
) AM_DEFAULT_VERBOSITY
=1;;
3264 *) AM_DEFAULT_VERBOSITY
=1;;
3266 am_make
=${MAKE-make}
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3268 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3269 if ${am_cv_make_support_nested_variables+:} false
; then :
3270 $as_echo_n "(cached) " >&6
3272 if $as_echo 'TRUE=$(BAR$(V))
3278 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3279 am_cv_make_support_nested_variables
=yes
3281 am_cv_make_support_nested_variables
=no
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3285 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3286 if test $am_cv_make_support_nested_variables = yes; then
3288 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3290 AM_V
=$AM_DEFAULT_VERBOSITY
3291 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3295 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3296 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3297 # is not polluted with repeated "-I."
3298 am__isrc
=' -I$(srcdir)'
3299 # test to see if srcdir already configured
3300 if test -f $srcdir/config.status
; then
3301 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3305 # test whether we have cygpath
3306 if test -z "$CYGPATH_W"; then
3307 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3308 CYGPATH_W
='cygpath -w'
3315 # Define the identity of the package.
3320 cat >>confdefs.h
<<_ACEOF
3321 #define PACKAGE "$PACKAGE"
3325 cat >>confdefs.h
<<_ACEOF
3326 #define VERSION "$VERSION"
3329 # Some tools Automake needs.
3331 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3334 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3337 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3340 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3343 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3345 # For better backward compatibility. To be removed once Automake 1.9.x
3346 # dies out for good. For more background, see:
3347 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3348 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3349 mkdir_p
='$(MKDIR_P)'
3351 # We need awk for the "check" target (and possibly the TAP driver). The
3352 # system "awk" is bad on some platforms.
3353 # Always define AMTAR for backward compatibility. Yes, it's still used
3354 # in the wild :-( We should find a proper way to deprecate it ...
3358 # We'll loop over all known methods to create a tar archive until one works.
3359 _am_tools
='gnutar pax cpio none'
3361 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3368 # POSIX will say in a future version that running "rm -f" with no argument
3369 # is OK; and we want to be able to make that assumption in our Makefile
3370 # recipes. So use an aggressive probe to check that the usage we want is
3371 # actually supported "in the wild" to an acceptable degree.
3372 # See automake bug#10828.
3373 # To make any issue more visible, cause the running configure to be aborted
3374 # by default if the 'rm' program in use doesn't match our expectations; the
3375 # user can still override this though.
3376 if rm -f && rm -fr && rm -rf; then : OK
; else
3380 Your 'rm' program seems unable to run without file operands specified
3381 on the command line, even when the '-f' option is present. This is contrary
3382 to the behaviour of most rm programs out there, and not conforming with
3383 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3385 Please tell bug-automake@gnu.org about your system, including the value
3386 of your $PATH and any error possibly output before this message. This
3387 can help us improve future automake versions.
3390 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3391 echo 'Configuration will proceed anyway, since you have set the' >&2
3392 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3396 Aborting the configuration process, to ensure you take notice of the issue.
3398 You can download and install GNU coreutils to get an 'rm' implementation
3399 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3401 If you want to complete the configuration process using your problematic
3402 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3403 to "yes", and re-run configure.
3406 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3412 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3413 # Check whether --enable-maintainer-mode was given.
3414 if test "${enable_maintainer_mode+set}" = set; then :
3415 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3417 USE_MAINTAINER_MODE
=no
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3421 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3422 if test $USE_MAINTAINER_MODE = yes; then
3423 MAINTAINER_MODE_TRUE
=
3424 MAINTAINER_MODE_FALSE
='#'
3426 MAINTAINER_MODE_TRUE
='#'
3427 MAINTAINER_MODE_FALSE
=
3430 MAINT
=$MAINTAINER_MODE_TRUE
3434 # Check whether --enable-silent-rules was given.
3435 if test "${enable_silent_rules+set}" = set; then :
3436 enableval
=$enable_silent_rules;
3439 case $enable_silent_rules in # (((
3440 yes) AM_DEFAULT_VERBOSITY
=0;;
3441 no
) AM_DEFAULT_VERBOSITY
=1;;
3442 *) AM_DEFAULT_VERBOSITY
=0;;
3444 am_make
=${MAKE-make}
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3446 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3447 if ${am_cv_make_support_nested_variables+:} false
; then :
3448 $as_echo_n "(cached) " >&6
3450 if $as_echo 'TRUE=$(BAR$(V))
3456 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3457 am_cv_make_support_nested_variables
=yes
3459 am_cv_make_support_nested_variables
=no
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3463 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3464 if test $am_cv_make_support_nested_variables = yes; then
3466 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3468 AM_V
=$AM_DEFAULT_VERBOSITY
3469 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3474 DEPDIR="${am__leading_dot}deps"
3476 ac_config_commands="$ac_config_commands depfiles"
3479 am_make=${MAKE-make}
3480 cat > confinc << 'END
'
3482 @echo this is the am__doit target
3485 # If we don't
find an include directive
, just comment out the code.
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3487 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3491 # First try GNU make style include.
3492 echo "include confinc" > confmf
3493 # Ignore all kinds of additional output from 'make'.
3494 case `$am_make -s -f confmf 2> /dev/null` in #(
3495 *the\ am__doit\ target
*)
3501 # Now try BSD make style include.
3502 if test "$am__include" = "#"; then
3503 echo '.include "confinc"' > confmf
3504 case `$am_make -s -f confmf 2> /dev/null` in #(
3505 *the\ am__doit\ target
*)
3506 am__include
=.include
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3515 $as_echo "$_am_result" >&6; }
3516 rm -f confinc confmf
3518 # Check whether --enable-dependency-tracking was given.
3519 if test "${enable_dependency_tracking+set}" = set; then :
3520 enableval
=$enable_dependency_tracking;
3523 if test "x$enable_dependency_tracking" != xno
; then
3524 am_depcomp
="$ac_aux_dir/depcomp"
3528 if test "x$enable_dependency_tracking" != xno; then
3538 ac_cpp
='$CPP $CPPFLAGS'
3539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3544 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if ${ac_cv_prog_CC+:} false
; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC
="$CC" # Let the user override the test.
3553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir
=.
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 if test -n "$CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3581 if test -z "$ac_cv_prog_CC"; then
3583 # Extract the first word of "gcc", so it can be a program name with args.
3584 set dummy gcc
; ac_word
=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3588 $as_echo_n "(cached) " >&6
3590 if test -n "$ac_ct_CC"; then
3591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir
=.
3598 for ac_exec_ext
in '' $ac_executable_extensions; do
3599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3600 ac_cv_prog_ac_ct_CC
="gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3611 if test -n "$ac_ct_CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3613 $as_echo "$ac_ct_CC" >&6; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3619 if test "x$ac_ct_CC" = x
; then
3622 case $cross_compiling:$ac_tool_warned in
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626 ac_tool_warned
=yes ;;
3634 if test -z "$CC"; then
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3637 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_CC+:} false
; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC
="$CC" # Let the user override the test.
3646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir
=.
3651 for ac_exec_ext
in '' $ac_executable_extensions; do
3652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 # Extract the first word of "cc", so it can be a program name with args.
3677 set dummy cc
; ac_word
=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if ${ac_cv_prog_CC+:} false
; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC
="$CC" # Let the user override the test.
3687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir
=.
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3695 ac_prog_rejected
=yes
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test $ac_prog_rejected = yes; then
3707 # We found a bogon in the path, so make sure we never use it.
3708 set dummy
$ac_cv_prog_CC
3710 if test $# != 0; then
3711 # We chose a different compiler from the bogus one.
3712 # However, it has the same basename, so the bogon will be chosen
3713 # first if we set CC to just the basename; use the full file name.
3715 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog
in cl.exe
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if ${ac_cv_prog_CC+:} false
; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC
="$CC" # Let the user override the test.
3745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir
=.
3750 for ac_exec_ext
in '' $ac_executable_extensions; do
3751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3752 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CC" && break
3775 if test -z "$CC"; then
3777 for ac_prog
in cl.exe
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy
$ac_prog; ac_word
=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$ac_ct_CC"; then
3787 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_ac_ct_CC
="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3807 if test -n "$ac_ct_CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3809 $as_echo "$ac_ct_CC" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CC" && break
3819 if test "x$ac_ct_CC" = x
; then
3822 case $cross_compiling:$ac_tool_warned in
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned
=yes ;;
3835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error $?
"no acceptable C compiler found in \$PATH
3838 See \`config.log' for more details" "$LINENO" 5; }
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3844 for ac_option
in --version -v -V -qversion; do
3845 { { ac_try
="$ac_compiler $ac_option >&5"
3847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854 if test -s conftest.err; then
3856 ... rest of stderr output deleted ...
3857 10q' conftest.err >conftest.er1
3858 cat conftest.er1 >&5
3860 rm -f conftest.er1 conftest.err
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3876 ac_clean_files_save=$ac_clean_files
3877 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3878 # Try to create an executable without -o first, disregard a.out.
3879 # It will help us diagnose broken compilers, and finding out an intuition
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3882 $as_echo_n "checking whether the C compiler works... " >&6; }
3883 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3885 # The possible output files:
3886 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3889 for ac_file in $ac_files
3892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3893 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3898 if { { ac_try="$ac_link_default"
3900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3901 *) ac_try_echo
=$ac_try;;
3903 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_link_default") 2>&5
3907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3908 test $ac_status = 0; }; then :
3909 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3910 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3911 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3912 # so that the user can short-circuit this test for compilers unknown to
3914 for ac_file
in $ac_files ''
3916 test -f "$ac_file" ||
continue
3918 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3921 # We found the default executable, but exeext='' is most
3925 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3927 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3929 # We set ac_cv_exeext here because the later test for it is not
3930 # safe: cross compilers may not add the suffix if given an `-o'
3931 # argument, so we may need to know it at that point already.
3932 # Even if this section looks crufty: it has the advantage of
3939 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3944 if test -z "$ac_file"; then :
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3947 $as_echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.
$ac_ext >&5
3950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3952 as_fn_error
77 "C compiler cannot create executables
3953 See \`config.log' for more details" "$LINENO" 5; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3956 $as_echo "yes" >&6; }
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3959 $as_echo_n "checking for C compiler default output file name... " >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3961 $as_echo "$ac_file" >&6; }
3962 ac_exeext
=$ac_cv_exeext
3964 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3965 ac_clean_files
=$ac_clean_files_save
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3967 $as_echo_n "checking for suffix of executables... " >&6; }
3968 if { { ac_try
="$ac_link"
3970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975 (eval "$ac_link") 2>&5
3977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978 test $ac_status = 0; }; then :
3979 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3980 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3981 # work properly (i.e., refer to `conftest.exe'), while it won't with
3983 for ac_file
in conftest.exe conftest conftest.
*; do
3984 test -f "$ac_file" ||
continue
3986 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3987 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3996 See \`config.log' for more details" "$LINENO" 5; }
3998 rm -f conftest conftest
$ac_cv_exeext
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4000 $as_echo "$ac_cv_exeext" >&6; }
4002 rm -f conftest.
$ac_ext
4003 EXEEXT
=$ac_cv_exeext
4005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4011 FILE *f = fopen ("conftest.out", "w");
4012 return ferror (f) || fclose (f) != 0;
4018 ac_clean_files
="$ac_clean_files conftest.out"
4019 # Check that the compiler produces executables we can run. If not, either
4020 # the compiler is broken, or we cross compile.
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4022 $as_echo_n "checking whether we are cross compiling... " >&6; }
4023 if test "$cross_compiling" != yes; then
4024 { { ac_try
="$ac_link"
4026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_link") 2>&5
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }
4035 if { ac_try='./conftest$ac_cv_exeext'
4036 { { case "(($ac_try" in
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_try") 2>&5
4044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045 test $ac_status = 0; }; }; then
4048 if test "$cross_compiling" = maybe
; then
4051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error $?
"cannot run C compiled programs.
4054 If you meant to cross compile, use \`--host'.
4055 See \`config.log' for more details" "$LINENO" 5; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4060 $as_echo "$cross_compiling" >&6; }
4062 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4063 ac_clean_files
=$ac_clean_files_save
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4065 $as_echo_n "checking for suffix of object files... " >&6; }
4066 if ${ac_cv_objext+:} false
; then :
4067 $as_echo_n "(cached) " >&6
4069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4080 rm -f conftest.o conftest.obj
4081 if { { ac_try
="$ac_compile"
4083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_compile") 2>&5
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; then :
4092 for ac_file in conftest.o conftest.obj conftest.*; do
4093 test -f "$ac_file" || continue;
4095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4096 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4101 $as_echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4107 See \
`config.log' for more details" "$LINENO" 5; }
4109 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4112 $as_echo "$ac_cv_objext" >&6; }
4113 OBJEXT=$ac_cv_objext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4116 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4117 if ${ac_cv_c_compiler_gnu+:} false; then :
4118 $as_echo_n "(cached) " >&6
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4134 if ac_fn_c_try_compile "$LINENO"; then :
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4144 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4145 if test $ac_compiler_gnu = yes; then
4150 ac_test_CFLAGS=${CFLAGS+set}
4151 ac_save_CFLAGS=$CFLAGS
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4153 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4154 if ${ac_cv_prog_cc_g+:} false; then :
4155 $as_echo_n "(cached) " >&6
4157 ac_save_c_werror_flag=$ac_c_werror_flag
4158 ac_c_werror_flag=yes
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4172 if ac_fn_c_try_compile "$LINENO"; then :
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4187 if ac_fn_c_try_compile "$LINENO"; then :
4190 ac_c_werror_flag=$ac_save_c_werror_flag
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4214 $as_echo "$ac_cv_prog_cc_g" >&6; }
4215 if test "$ac_test_CFLAGS" = set; then
4216 CFLAGS=$ac_save_CFLAGS
4217 elif test $ac_cv_prog_cc_g = yes; then
4218 if test "$GCC" = yes; then
4224 if test "$GCC" = yes; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4231 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4232 if ${ac_cv_prog_cc_c89+:} false; then :
4233 $as_echo_n "(cached) " >&6
4235 ac_cv_prog_cc_c89=no
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4242 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4243 struct buf { int x; };
4244 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4245 static char *e (p, i)
4251 static char *f (char * (*g) (char **, int), char **p, ...)
4256 s = g (p, va_arg (v,int));
4261 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4262 function prototypes and stuff, but not '\xHH' hex character constants.
4263 These don't provoke an error unfortunately, instead are silently treated
4264 as 'x'. The following induces an error, until -std is added to get
4265 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4266 array size at least. It's necessary to write '\x00'==0 to get something
4267 that's true only with -std. */
4268 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4270 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4271 inside strings and character constants. */
4273 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4275 int test (int i, double x);
4276 struct s1 {int (*f) (int a);};
4277 struct s2 {int (*f) (double a);};
4278 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4284 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4289 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4290 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4292 CC="$ac_save_CC $ac_arg"
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294 ac_cv_prog_cc_c89=$ac_arg
4296 rm -f core conftest.err conftest.$ac_objext
4297 test "x$ac_cv_prog_cc_c89" != "xno" && break
4299 rm -f conftest.$ac_ext
4304 case "x$ac_cv_prog_cc_c89" in
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4307 $as_echo "none needed" >&6; } ;;
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4310 $as_echo "unsupported" >&6; } ;;
4312 CC="$CC $ac_cv_prog_cc_c89"
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4314 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4316 if test "x$ac_cv_prog_cc_c89" != xno; then :
4321 ac_cpp='$CPP $CPPFLAGS'
4322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4332 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4333 if ${am_cv_prog_cc_c_o+:} false; then :
4334 $as_echo_n "(cached) " >&6
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4347 # Make sure it works both with $CC and with simple cc.
4348 # Following AC_PROG_CC_C_O, we do the test twice because some
4349 # compilers refuse to overwrite an existing .o file with -o,
4350 # though they will create one.
4351 am_cv_prog_cc_c_o=yes
4353 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4354 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } \
4358 && test -f conftest2.$ac_objext; then
4361 am_cv_prog_cc_c_o=no
4365 rm -f core conftest*
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4369 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4370 if test "$am_cv_prog_cc_c_o" != yes; then
4371 # Losing compiler, so override with the script.
4372 # FIXME: It is wrong to rewrite CC.
4373 # But if we don't then we get into trouble of one sort or another.
4374 # A longer-term fix would be to have automake use am__CC in this case,
4375 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4376 CC="$am_aux_dir/compile $CC"
4379 ac_cpp='$CPP $CPPFLAGS'
4380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 depcc="$CC" am_compiler_list=
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4388 $as_echo_n "checking dependency style of $depcc... " >&6; }
4389 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4393 # We make a subdir and do the tests there. Otherwise we can end up
4394 # making bogus files that we don't know about and never remove. For
4395 # instance it was reported that on HP-UX the gcc test will end up
4396 # making a dummy file named 'D' -- because '-MD' means "put the output
4400 # Copy depcomp to subdir because otherwise we won't find it if we're
4401 # using a relative directory.
4402 cp "$am_depcomp" conftest.dir
4404 # We will build objects and dependencies in a subdirectory because
4405 # it helps to detect inapplicable dependency modes. For instance
4406 # both Tru64's cc and ICC support -MD to output dependencies as a
4407 # side effect of compilation, but ICC will put the dependencies in
4408 # the current directory while Tru64 will put them in the object
4412 am_cv_CC_dependencies_compiler_type=none
4413 if test "$am_compiler_list" = ""; then
4414 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4417 case " $depcc " in #(
4418 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4421 for depmode in $am_compiler_list; do
4422 # Setup a source with many dependencies, because some compilers
4423 # like to wrap large dependency lists on column 80 (with \), and
4424 # we should not choose a depcomp mode which is confused by this.
4426 # We need to recreate these files for each test, as the compiler may
4427 # overwrite some of them when testing with obscure command lines.
4428 # This happens at least with the AIX C compiler.
4430 for i in 1 2 3 4 5 6; do
4431 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4432 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4433 # Solaris 10 /bin/sh.
4434 echo '/* dummy */' > sub/conftst$i.h
4436 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4438 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4439 # mode. It turns out that the SunPro C++ compiler does not properly
4440 # handle '-M -o', and we need to detect this. Also, some Intel
4441 # versions had trouble with output in subdirs.
4442 am__obj=sub/conftest.${OBJEXT-o}
4443 am__minus_obj="-o $am__obj"
4446 # This depmode causes a compiler race in universal mode.
4447 test "$am__universal" = false || continue
4450 # After this tag, mechanisms are not by side-effect, so they'll
4451 # only be used when explicitly requested.
4452 if test "x$enable_dependency_tracking" = xyes; then
4458 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4459 # This compiler won't grok '-c -o', but also, the minuso test has
4460 # not run yet. These depmodes are late enough in the game, and
4461 # so weak that their functioning should not be impacted.
4462 am__obj=conftest.${OBJEXT-o}
4467 if depmode=$depmode \
4468 source=sub/conftest.c object=$am__obj \
4469 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4470 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4471 >/dev/null 2>conftest.err &&
4472 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4473 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4474 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4475 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4476 # icc doesn't choke on unknown options, it will just issue warnings
4477 # or remarks (even with -Werror). So we grep stderr for any message
4478 # that says an option was ignored or not supported.
4479 # When given -MP, icc 7.0 and 7.1 complain thusly:
4480 # icc: Command line warning: ignoring option '-M'; no argument required
4481 # The diagnosis changed in icc 8.0:
4482 # icc: Command line remark: option '-MP' not supported
4483 if (grep 'ignoring option' conftest.err ||
4484 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4485 am_cv_CC_dependencies_compiler_type=$depmode
4494 am_cv_CC_dependencies_compiler_type=none
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4499 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4500 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4503 test "x$enable_dependency_tracking" != xno \
4504 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4506 am__fastdepCC_FALSE='#'
4508 am__fastdepCC_TRUE='#'
4509 am__fastdepCC_FALSE=
4515 ac_cpp='$CPP $CPPFLAGS'
4516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4520 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4521 # On Suns, sometimes $CPP names a directory.
4522 if test -n "$CPP" && test -d "$CPP"; then
4525 if test -z "$CPP"; then
4526 if ${ac_cv_prog_CPP+:} false; then :
4527 $as_echo_n "(cached) " >&6
4529 # Double quotes because CPP needs to be expanded
4530 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4533 for ac_c_preproc_warn_flag in '' yes
4535 # Use a header file that comes with gcc, so configuring glibc
4536 # with a fresh cross-compiler works.
4537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4538 # <limits.h> exists even on freestanding compilers.
4539 # On the NeXT, cc -E runs the code through the compiler's parser,
4540 # not just through cpp. "Syntax error" is here to catch this case.
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4544 # include <limits.h>
4546 # include <assert.h>
4550 if ac_fn_c_try_cpp "$LINENO"; then :
4553 # Broken: fails on valid input.
4556 rm -f conftest.err conftest.i conftest.$ac_ext
4558 # OK, works on sane cases. Now check whether nonexistent headers
4559 # can be detected and how.
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4562 #include <ac_nonexistent.h>
4564 if ac_fn_c_try_cpp "$LINENO"; then :
4565 # Broken: success on invalid input.
4568 # Passes both tests.
4572 rm -f conftest.err conftest.i conftest.$ac_ext
4575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4576 rm -f conftest.i conftest.err conftest.
$ac_ext
4577 if $ac_preproc_ok; then :
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4590 $as_echo "$CPP" >&6; }
4592 for ac_c_preproc_warn_flag
in '' yes
4594 # Use a header file that comes with gcc, so configuring glibc
4595 # with a fresh cross-compiler works.
4596 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4597 # <limits.h> exists even on freestanding compilers.
4598 # On the NeXT, cc -E runs the code through the compiler's parser,
4599 # not just through cpp. "Syntax error" is here to catch this case.
4600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4603 # include <limits.h>
4605 # include <assert.h>
4609 if ac_fn_c_try_cpp
"$LINENO"; then :
4612 # Broken: fails on valid input.
4615 rm -f conftest.err conftest.i conftest.
$ac_ext
4617 # OK, works on sane cases. Now check whether nonexistent headers
4618 # can be detected and how.
4619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4621 #include <ac_nonexistent.h>
4623 if ac_fn_c_try_cpp
"$LINENO"; then :
4624 # Broken: success on invalid input.
4627 # Passes both tests.
4631 rm -f conftest.err conftest.i conftest.
$ac_ext
4634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4635 rm -f conftest.i conftest.err conftest.
$ac_ext
4636 if $ac_preproc_ok; then :
4639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4641 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4642 See \`config.log' for more details" "$LINENO" 5; }
4646 ac_cpp
='$CPP $CPPFLAGS'
4647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4653 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4654 if ${ac_cv_path_GREP+:} false
; then :
4655 $as_echo_n "(cached) " >&6
4657 if test -z "$GREP"; then
4658 ac_path_GREP_found
=false
4659 # Loop through the user's path and test for each of PROGNAME-LIST
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4664 test -z "$as_dir" && as_dir
=.
4665 for ac_prog
in grep ggrep
; do
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4668 as_fn_executable_p
"$ac_path_GREP" ||
continue
4669 # Check for GNU ac_path_GREP and select it if it is found.
4670 # Check for GNU $ac_path_GREP
4671 case `"$ac_path_GREP" --version 2>&1` in
4673 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4676 $as_echo_n 0123456789 >"conftest.in"
4679 cat "conftest.in" "conftest.in" >"conftest.tmp"
4680 mv "conftest.tmp" "conftest.in"
4681 cp "conftest.in" "conftest.nl"
4682 $as_echo 'GREP' >> "conftest.nl"
4683 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4684 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4685 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4686 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4687 # Best one so far, save it but keep looking for a better one
4688 ac_cv_path_GREP
="$ac_path_GREP"
4689 ac_path_GREP_max
=$ac_count
4691 # 10*(2^10) chars as input seems more than enough
4692 test $ac_count -gt 10 && break
4694 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4697 $ac_path_GREP_found && break 3
4702 if test -z "$ac_cv_path_GREP"; then
4703 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4706 ac_cv_path_GREP
=$GREP
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4711 $as_echo "$ac_cv_path_GREP" >&6; }
4712 GREP
="$ac_cv_path_GREP"
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4716 $as_echo_n "checking for egrep... " >&6; }
4717 if ${ac_cv_path_EGREP+:} false
; then :
4718 $as_echo_n "(cached) " >&6
4720 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4721 then ac_cv_path_EGREP
="$GREP -E"
4723 if test -z "$EGREP"; then
4724 ac_path_EGREP_found
=false
4725 # Loop through the user's path and test for each of PROGNAME-LIST
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_prog
in egrep; do
4732 for ac_exec_ext
in '' $ac_executable_extensions; do
4733 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4734 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4735 # Check for GNU ac_path_EGREP and select it if it is found.
4736 # Check for GNU $ac_path_EGREP
4737 case `"$ac_path_EGREP" --version 2>&1` in
4739 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4742 $as_echo_n 0123456789 >"conftest.in"
4745 cat "conftest.in" "conftest.in" >"conftest.tmp"
4746 mv "conftest.tmp" "conftest.in"
4747 cp "conftest.in" "conftest.nl"
4748 $as_echo 'EGREP' >> "conftest.nl"
4749 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4750 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4751 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4752 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4753 # Best one so far, save it but keep looking for a better one
4754 ac_cv_path_EGREP
="$ac_path_EGREP"
4755 ac_path_EGREP_max
=$ac_count
4757 # 10*(2^10) chars as input seems more than enough
4758 test $ac_count -gt 10 && break
4760 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4763 $ac_path_EGREP_found && break 3
4768 if test -z "$ac_cv_path_EGREP"; then
4769 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4772 ac_cv_path_EGREP
=$EGREP
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4778 $as_echo "$ac_cv_path_EGREP" >&6; }
4779 EGREP
="$ac_cv_path_EGREP"
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4783 $as_echo_n "checking for ANSI C header files... " >&6; }
4784 if ${ac_cv_header_stdc+:} false
; then :
4785 $as_echo_n "(cached) " >&6
4787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4802 if ac_fn_c_try_compile
"$LINENO"; then :
4803 ac_cv_header_stdc
=yes
4805 ac_cv_header_stdc
=no
4807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4809 if test $ac_cv_header_stdc = yes; then
4810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4817 $EGREP "memchr" >/dev
/null
2>&1; then :
4820 ac_cv_header_stdc
=no
4826 if test $ac_cv_header_stdc = yes; then
4827 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4834 $EGREP "free" >/dev
/null
2>&1; then :
4837 ac_cv_header_stdc
=no
4843 if test $ac_cv_header_stdc = yes; then
4844 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4845 if test "$cross_compiling" = yes; then :
4848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4852 #if ((' ' & 0x0FF) == 0x020)
4853 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4854 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4856 # define ISLOWER(c) \
4857 (('a' <= (c) && (c) <= 'i') \
4858 || ('j' <= (c) && (c) <= 'r') \
4859 || ('s' <= (c) && (c) <= 'z'))
4860 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4863 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4868 for (i = 0; i < 256; i++)
4869 if (XOR (islower (i), ISLOWER (i))
4870 || toupper (i) != TOUPPER (i))
4875 if ac_fn_c_try_run
"$LINENO"; then :
4878 ac_cv_header_stdc
=no
4880 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4881 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4887 $as_echo "$ac_cv_header_stdc" >&6; }
4888 if test $ac_cv_header_stdc = yes; then
4890 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4894 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4895 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4896 inttypes.h stdint.h unistd.h
4898 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4899 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4901 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4902 cat >>confdefs.h
<<_ACEOF
4903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4912 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4913 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4920 if test "$MINIX" = yes; then
4922 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4925 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4928 $as_echo "#define _MINIX 1" >>confdefs.h
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4934 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4935 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4936 $as_echo_n "(cached) " >&6
4938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4941 # define __EXTENSIONS__ 1
4942 $ac_includes_default
4951 if ac_fn_c_try_compile
"$LINENO"; then :
4952 ac_cv_safe_to_define___extensions__
=yes
4954 ac_cv_safe_to_define___extensions__
=no
4956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4959 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4960 test $ac_cv_safe_to_define___extensions__ = yes &&
4961 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4963 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4965 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4967 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4969 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4975 $as_echo_n "checking whether ln -s works... " >&6; }
4977 if test "$LN_S" = "ln -s"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4979 $as_echo "yes" >&6; }
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4982 $as_echo "no, using $LN_S" >&6; }
4986 ac_cpp
='$CPP $CPPFLAGS'
4987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4990 if test -n "$ac_tool_prefix"; then
4991 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4992 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if ${ac_cv_prog_CC+:} false
; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$CC"; then
4999 ac_cv_prog_CC
="$CC" # Let the user override the test.
5001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir
=.
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 if test -n "$CC"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5021 $as_echo "$CC" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5029 if test -z "$ac_cv_prog_CC"; then
5031 # Extract the first word of "gcc", so it can be a program name with args.
5032 set dummy gcc
; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$ac_ct_CC"; then
5039 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_ac_ct_CC
="gcc"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5059 if test -n "$ac_ct_CC"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5061 $as_echo "$ac_ct_CC" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5067 if test "x$ac_ct_CC" = x
; then
5070 case $cross_compiling:$ac_tool_warned in
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned
=yes ;;
5082 if test -z "$CC"; then
5083 if test -n "$ac_tool_prefix"; then
5084 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5085 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_CC+:} false
; then :
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$CC"; then
5092 ac_cv_prog_CC
="$CC" # Let the user override the test.
5094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir
=.
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5101 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 if test -n "$CC"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5114 $as_echo "$CC" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5123 if test -z "$CC"; then
5124 # Extract the first word of "cc", so it can be a program name with args.
5125 set dummy cc
; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_CC+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$CC"; then
5132 ac_cv_prog_CC
="$CC" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5142 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5143 ac_prog_rejected
=yes
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 if test $ac_prog_rejected = yes; then
5155 # We found a bogon in the path, so make sure we never use it.
5156 set dummy
$ac_cv_prog_CC
5158 if test $# != 0; then
5159 # We chose a different compiler from the bogus one.
5160 # However, it has the same basename, so the bogon will be chosen
5161 # first if we set CC to just the basename; use the full file name.
5163 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5169 if test -n "$CC"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5171 $as_echo "$CC" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5179 if test -z "$CC"; then
5180 if test -n "$ac_tool_prefix"; then
5181 for ac_prog
in cl.exe
5183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5184 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_CC+:} false
; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$CC"; then
5191 ac_cv_prog_CC
="$CC" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 if test -n "$CC"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5213 $as_echo "$CC" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5220 test -n "$CC" && break
5223 if test -z "$CC"; then
5225 for ac_prog
in cl.exe
5227 # Extract the first word of "$ac_prog", so it can be a program name with args.
5228 set dummy
$ac_prog; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$ac_ct_CC"; then
5235 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_CC
="$ac_prog"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5255 if test -n "$ac_ct_CC"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5257 $as_echo "$ac_ct_CC" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5264 test -n "$ac_ct_CC" && break
5267 if test "x$ac_ct_CC" = x
; then
5270 case $cross_compiling:$ac_tool_warned in
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5274 ac_tool_warned
=yes ;;
5283 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5285 as_fn_error $?
"no acceptable C compiler found in \$PATH
5286 See \`config.log' for more details" "$LINENO" 5; }
5288 # Provide some information about the compiler.
5289 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5292 for ac_option
in --version -v -V -qversion; do
5293 { { ac_try
="$ac_compiler $ac_option >&5"
5295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5299 $as_echo "$ac_try_echo"; } >&5
5300 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5302 if test -s conftest.err; then
5304 ... rest of stderr output deleted ...
5305 10q' conftest.err >conftest.er1
5306 cat conftest.er1 >&5
5308 rm -f conftest.er1 conftest.err
5309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5310 test $ac_status = 0; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5314 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5315 if ${ac_cv_c_compiler_gnu+:} false; then :
5316 $as_echo_n "(cached) " >&6
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5332 if ac_fn_c_try_compile "$LINENO"; then :
5337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5338 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5342 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5343 if test $ac_compiler_gnu = yes; then
5348 ac_test_CFLAGS=${CFLAGS+set}
5349 ac_save_CFLAGS=$CFLAGS
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5351 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5352 if ${ac_cv_prog_cc_g+:} false; then :
5353 $as_echo_n "(cached) " >&6
5355 ac_save_c_werror_flag=$ac_c_werror_flag
5356 ac_c_werror_flag=yes
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5370 if ac_fn_c_try_compile "$LINENO"; then :
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5385 if ac_fn_c_try_compile "$LINENO"; then :
5388 ac_c_werror_flag=$ac_save_c_werror_flag
5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5401 if ac_fn_c_try_compile "$LINENO"; then :
5404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5409 ac_c_werror_flag=$ac_save_c_werror_flag
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5412 $as_echo "$ac_cv_prog_cc_g" >&6; }
5413 if test "$ac_test_CFLAGS" = set; then
5414 CFLAGS=$ac_save_CFLAGS
5415 elif test $ac_cv_prog_cc_g = yes; then
5416 if test "$GCC" = yes; then
5422 if test "$GCC" = yes; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5429 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5430 if ${ac_cv_prog_cc_c89+:} false; then :
5431 $as_echo_n "(cached) " >&6
5433 ac_cv_prog_cc_c89=no
5435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5440 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5441 struct buf { int x; };
5442 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5443 static char *e (p, i)
5449 static char *f (char * (*g) (char **, int), char **p, ...)
5454 s = g (p, va_arg (v,int));
5459 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5460 function prototypes and stuff, but not '\xHH' hex character constants.
5461 These don't provoke an error unfortunately, instead are silently treated
5462 as 'x'. The following induces an error, until -std is added to get
5463 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5464 array size at least. It's necessary to write '\x00'==0 to get something
5465 that's true only with -std. */
5466 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5468 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5469 inside strings and character constants. */
5471 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5473 int test (int i, double x);
5474 struct s1 {int (*f) (int a);};
5475 struct s2 {int (*f) (double a);};
5476 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5482 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5487 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5488 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5490 CC="$ac_save_CC $ac_arg"
5491 if ac_fn_c_try_compile "$LINENO"; then :
5492 ac_cv_prog_cc_c89=$ac_arg
5494 rm -f core conftest.err conftest.$ac_objext
5495 test "x$ac_cv_prog_cc_c89" != "xno" && break
5497 rm -f conftest.$ac_ext
5502 case "x$ac_cv_prog_cc_c89" in
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5505 $as_echo "none needed" >&6; } ;;
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5508 $as_echo "unsupported" >&6; } ;;
5510 CC="$CC $ac_cv_prog_cc_c89"
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5512 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5514 if test "x$ac_cv_prog_cc_c89" != xno; then :
5519 ac_cpp='$CPP $CPPFLAGS'
5520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5525 ac_cpp='$CPP $CPPFLAGS'
5526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5530 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5531 if ${am_cv_prog_cc_c_o+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5545 # Make sure it works both with $CC and with simple cc.
5546 # Following AC_PROG_CC_C_O, we do the test twice because some
5547 # compilers refuse to overwrite an existing .o file with -o,
5548 # though they will create one.
5549 am_cv_prog_cc_c_o=yes
5551 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5552 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } \
5556 && test -f conftest2.$ac_objext; then
5559 am_cv_prog_cc_c_o=no
5563 rm -f core conftest*
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5567 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5568 if test "$am_cv_prog_cc_c_o" != yes; then
5569 # Losing compiler, so override with the script.
5570 # FIXME: It is wrong to rewrite CC.
5571 # But if we don't then we get into trouble of one sort or another.
5572 # A longer-term fix would be to have automake use am__CC in this case,
5573 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5574 CC="$am_aux_dir/compile $CC"
5577 ac_cpp='$CPP $CPPFLAGS'
5578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5583 depcc="$CC" am_compiler_list=
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5586 $as_echo_n "checking dependency style of $depcc... " >&6; }
5587 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5591 # We make a subdir and do the tests there. Otherwise we can end up
5592 # making bogus files that we don't know about and never remove. For
5593 # instance it was reported that on HP-UX the gcc test will end up
5594 # making a dummy file named 'D' -- because '-MD' means "put the output
5598 # Copy depcomp to subdir because otherwise we won't find it if we're
5599 # using a relative directory.
5600 cp "$am_depcomp" conftest.dir
5602 # We will build objects and dependencies in a subdirectory because
5603 # it helps to detect inapplicable dependency modes. For instance
5604 # both Tru64's cc and ICC support -MD to output dependencies as a
5605 # side effect of compilation, but ICC will put the dependencies in
5606 # the current directory while Tru64 will put them in the object
5610 am_cv_CC_dependencies_compiler_type=none
5611 if test "$am_compiler_list" = ""; then
5612 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5615 case " $depcc " in #(
5616 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5619 for depmode in $am_compiler_list; do
5620 # Setup a source with many dependencies, because some compilers
5621 # like to wrap large dependency lists on column 80 (with \), and
5622 # we should not choose a depcomp mode which is confused by this.
5624 # We need to recreate these files for each test, as the compiler may
5625 # overwrite some of them when testing with obscure command lines.
5626 # This happens at least with the AIX C compiler.
5628 for i in 1 2 3 4 5 6; do
5629 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5630 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5631 # Solaris 10 /bin/sh.
5632 echo '/* dummy */' > sub/conftst$i.h
5634 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5636 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5637 # mode. It turns out that the SunPro C++ compiler does not properly
5638 # handle '-M -o', and we need to detect this. Also, some Intel
5639 # versions had trouble with output in subdirs.
5640 am__obj=sub/conftest.${OBJEXT-o}
5641 am__minus_obj="-o $am__obj"
5644 # This depmode causes a compiler race in universal mode.
5645 test "$am__universal" = false || continue
5648 # After this tag, mechanisms are not by side-effect, so they'll
5649 # only be used when explicitly requested.
5650 if test "x$enable_dependency_tracking" = xyes; then
5656 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5657 # This compiler won't grok '-c -o', but also, the minuso test has
5658 # not run yet. These depmodes are late enough in the game, and
5659 # so weak that their functioning should not be impacted.
5660 am__obj=conftest.${OBJEXT-o}
5665 if depmode=$depmode \
5666 source=sub/conftest.c object=$am__obj \
5667 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5668 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5669 >/dev/null 2>conftest.err &&
5670 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5671 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5672 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5673 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5674 # icc doesn't choke on unknown options, it will just issue warnings
5675 # or remarks (even with -Werror). So we grep stderr for any message
5676 # that says an option was ignored or not supported.
5677 # When given -MP, icc 7.0 and 7.1 complain thusly:
5678 # icc: Command line warning: ignoring option '-M'; no argument required
5679 # The diagnosis changed in icc 8.0:
5680 # icc: Command line remark: option '-MP' not supported
5681 if (grep 'ignoring option' conftest.err ||
5682 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5683 am_cv_CC_dependencies_compiler_type=$depmode
5692 am_cv_CC_dependencies_compiler_type=none
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5697 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5698 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5701 test "x$enable_dependency_tracking" != xno \
5702 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5704 am__fastdepCC_FALSE='#'
5706 am__fastdepCC_TRUE='#'
5707 am__fastdepCC_FALSE=
5712 ac_cpp='$CXXCPP $CPPFLAGS'
5713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5716 if test -z "$CXX"; then
5717 if test -n "$CCC"; then
5720 if test -n "$ac_tool_prefix"; then
5721 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_CXX+:} false; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$CXX"; then
5731 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 if test -n "$CXX"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5753 $as_echo "$CXX" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5760 test -n "$CXX" && break
5763 if test -z "$CXX"; then
5765 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5767 # Extract the first word of "$ac_prog", so it can be a program name with args.
5768 set dummy $ac_prog; ac_word=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5772 $as_echo_n "(cached) " >&6
5774 if test -n "$ac_ct_CXX"; then
5775 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir=.
5782 for ac_exec_ext in '' $ac_executable_extensions; do
5783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5784 ac_cv_prog_ac_ct_CXX="$ac_prog"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5795 if test -n "$ac_ct_CXX"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5797 $as_echo "$ac_ct_CXX" >&6; }
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5804 test -n "$ac_ct_CXX" && break
5807 if test "x$ac_ct_CXX" = x; then
5810 case $cross_compiling:$ac_tool_warned in
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5814 ac_tool_warned=yes ;;
5822 # Provide some information about the compiler.
5823 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5826 for ac_option in --version -v -V -qversion; do
5827 { { ac_try="$ac_compiler $ac_option >&5"
5829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5830 *) ac_try_echo
=$ac_try;;
5832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5833 $as_echo "$ac_try_echo"; } >&5
5834 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5836 if test -s conftest.err
; then
5838 ... rest of stderr output deleted ...
5839 10q' conftest.err
>conftest.er1
5840 cat conftest.er1
>&5
5842 rm -f conftest.er1 conftest.err
5843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5844 test $ac_status = 0; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5848 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5849 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5850 $as_echo_n "(cached) " >&6
5852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5866 if ac_fn_cxx_try_compile
"$LINENO"; then :
5871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5872 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5876 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5877 if test $ac_compiler_gnu = yes; then
5882 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5883 ac_save_CXXFLAGS
=$CXXFLAGS
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5885 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5886 if ${ac_cv_prog_cxx_g+:} false
; then :
5887 $as_echo_n "(cached) " >&6
5889 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5890 ac_cxx_werror_flag
=yes
5893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5904 if ac_fn_cxx_try_compile
"$LINENO"; then :
5905 ac_cv_prog_cxx_g
=yes
5908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5909 /* end confdefs.h. */
5919 if ac_fn_cxx_try_compile
"$LINENO"; then :
5922 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5935 if ac_fn_cxx_try_compile
"$LINENO"; then :
5936 ac_cv_prog_cxx_g
=yes
5938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5943 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5946 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5947 if test "$ac_test_CXXFLAGS" = set; then
5948 CXXFLAGS
=$ac_save_CXXFLAGS
5949 elif test $ac_cv_prog_cxx_g = yes; then
5950 if test "$GXX" = yes; then
5956 if test "$GXX" = yes; then
5963 ac_cpp
='$CPP $CPPFLAGS'
5964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5968 depcc
="$CXX" am_compiler_list
=
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5971 $as_echo_n "checking dependency style of $depcc... " >&6; }
5972 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5973 $as_echo_n "(cached) " >&6
5975 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5976 # We make a subdir and do the tests there. Otherwise we can end up
5977 # making bogus files that we don't know about and never remove. For
5978 # instance it was reported that on HP-UX the gcc test will end up
5979 # making a dummy file named 'D' -- because '-MD' means "put the output
5983 # Copy depcomp to subdir because otherwise we won't find it if we're
5984 # using a relative directory.
5985 cp "$am_depcomp" conftest.dir
5987 # We will build objects and dependencies in a subdirectory because
5988 # it helps to detect inapplicable dependency modes. For instance
5989 # both Tru64's cc and ICC support -MD to output dependencies as a
5990 # side effect of compilation, but ICC will put the dependencies in
5991 # the current directory while Tru64 will put them in the object
5995 am_cv_CXX_dependencies_compiler_type
=none
5996 if test "$am_compiler_list" = ""; then
5997 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6000 case " $depcc " in #(
6001 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6004 for depmode
in $am_compiler_list; do
6005 # Setup a source with many dependencies, because some compilers
6006 # like to wrap large dependency lists on column 80 (with \), and
6007 # we should not choose a depcomp mode which is confused by this.
6009 # We need to recreate these files for each test, as the compiler may
6010 # overwrite some of them when testing with obscure command lines.
6011 # This happens at least with the AIX C compiler.
6013 for i
in 1 2 3 4 5 6; do
6014 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6015 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6016 # Solaris 10 /bin/sh.
6017 echo '/* dummy */' > sub
/conftst
$i.h
6019 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6021 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6022 # mode. It turns out that the SunPro C++ compiler does not properly
6023 # handle '-M -o', and we need to detect this. Also, some Intel
6024 # versions had trouble with output in subdirs.
6025 am__obj
=sub
/conftest.
${OBJEXT-o}
6026 am__minus_obj
="-o $am__obj"
6029 # This depmode causes a compiler race in universal mode.
6030 test "$am__universal" = false ||
continue
6033 # After this tag, mechanisms are not by side-effect, so they'll
6034 # only be used when explicitly requested.
6035 if test "x$enable_dependency_tracking" = xyes
; then
6041 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6042 # This compiler won't grok '-c -o', but also, the minuso test has
6043 # not run yet. These depmodes are late enough in the game, and
6044 # so weak that their functioning should not be impacted.
6045 am__obj
=conftest.
${OBJEXT-o}
6050 if depmode
=$depmode \
6051 source=sub
/conftest.c object
=$am__obj \
6052 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6053 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6054 >/dev
/null
2>conftest.err
&&
6055 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6056 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6057 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6058 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6059 # icc doesn't choke on unknown options, it will just issue warnings
6060 # or remarks (even with -Werror). So we grep stderr for any message
6061 # that says an option was ignored or not supported.
6062 # When given -MP, icc 7.0 and 7.1 complain thusly:
6063 # icc: Command line warning: ignoring option '-M'; no argument required
6064 # The diagnosis changed in icc 8.0:
6065 # icc: Command line remark: option '-MP' not supported
6066 if (grep 'ignoring option' conftest.err ||
6067 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6068 am_cv_CXX_dependencies_compiler_type
=$depmode
6077 am_cv_CXX_dependencies_compiler_type
=none
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6082 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6083 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6086 test "x$enable_dependency_tracking" != xno \
6087 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6088 am__fastdepCXX_TRUE
=
6089 am__fastdepCXX_FALSE
='#'
6091 am__fastdepCXX_TRUE
='#'
6092 am__fastdepCXX_FALSE
=
6097 ac_cpp
='$CPP $CPPFLAGS'
6098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6102 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6103 # On Suns, sometimes $CPP names a directory.
6104 if test -n "$CPP" && test -d "$CPP"; then
6107 if test -z "$CPP"; then
6108 if ${ac_cv_prog_CPP+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 # Double quotes because CPP needs to be expanded
6112 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6115 for ac_c_preproc_warn_flag
in '' yes
6117 # Use a header file that comes with gcc, so configuring glibc
6118 # with a fresh cross-compiler works.
6119 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6120 # <limits.h> exists even on freestanding compilers.
6121 # On the NeXT, cc -E runs the code through the compiler's parser,
6122 # not just through cpp. "Syntax error" is here to catch this case.
6123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6124 /* end confdefs.h. */
6126 # include <limits.h>
6128 # include <assert.h>
6132 if ac_fn_c_try_cpp
"$LINENO"; then :
6135 # Broken: fails on valid input.
6138 rm -f conftest.err conftest.i conftest.
$ac_ext
6140 # OK, works on sane cases. Now check whether nonexistent headers
6141 # can be detected and how.
6142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6143 /* end confdefs.h. */
6144 #include <ac_nonexistent.h>
6146 if ac_fn_c_try_cpp
"$LINENO"; then :
6147 # Broken: success on invalid input.
6150 # Passes both tests.
6154 rm -f conftest.err conftest.i conftest.
$ac_ext
6157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6158 rm -f conftest.i conftest.err conftest.
$ac_ext
6159 if $ac_preproc_ok; then :
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6172 $as_echo "$CPP" >&6; }
6174 for ac_c_preproc_warn_flag
in '' yes
6176 # Use a header file that comes with gcc, so configuring glibc
6177 # with a fresh cross-compiler works.
6178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6179 # <limits.h> exists even on freestanding compilers.
6180 # On the NeXT, cc -E runs the code through the compiler's parser,
6181 # not just through cpp. "Syntax error" is here to catch this case.
6182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6185 # include <limits.h>
6187 # include <assert.h>
6191 if ac_fn_c_try_cpp
"$LINENO"; then :
6194 # Broken: fails on valid input.
6197 rm -f conftest.err conftest.i conftest.
$ac_ext
6199 # OK, works on sane cases. Now check whether nonexistent headers
6200 # can be detected and how.
6201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6203 #include <ac_nonexistent.h>
6205 if ac_fn_c_try_cpp
"$LINENO"; then :
6206 # Broken: success on invalid input.
6209 # Passes both tests.
6213 rm -f conftest.err conftest.i conftest.
$ac_ext
6216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6217 rm -f conftest.i conftest.err conftest.
$ac_ext
6218 if $ac_preproc_ok; then :
6221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6223 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6224 See \`config.log' for more details" "$LINENO" 5; }
6228 ac_cpp
='$CPP $CPPFLAGS'
6229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6234 if test -n "$ac_tool_prefix"; then
6235 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6236 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_RANLIB+:} false
; then :
6240 $as_echo_n "(cached) " >&6
6242 if test -n "$RANLIB"; then
6243 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir
=.
6250 for ac_exec_ext
in '' $ac_executable_extensions; do
6251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 RANLIB
=$ac_cv_prog_RANLIB
6263 if test -n "$RANLIB"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6265 $as_echo "$RANLIB" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6273 if test -z "$ac_cv_prog_RANLIB"; then
6274 ac_ct_RANLIB
=$RANLIB
6275 # Extract the first word of "ranlib", so it can be a program name with args.
6276 set dummy ranlib
; ac_word
=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6278 $as_echo_n "checking for $ac_word... " >&6; }
6279 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6280 $as_echo_n "(cached) " >&6
6282 if test -n "$ac_ct_RANLIB"; then
6283 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir
=.
6290 for ac_exec_ext
in '' $ac_executable_extensions; do
6291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6303 if test -n "$ac_ct_RANLIB"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6305 $as_echo "$ac_ct_RANLIB" >&6; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6308 $as_echo "no" >&6; }
6311 if test "x$ac_ct_RANLIB" = x
; then
6314 case $cross_compiling:$ac_tool_warned in
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6318 ac_tool_warned
=yes ;;
6320 RANLIB
=$ac_ct_RANLIB
6323 RANLIB
="$ac_cv_prog_RANLIB"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6330 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6332 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6333 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6334 $as_echo_n "(cached) " >&6
6336 cat >conftest.
make <<\_ACEOF
6339 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6341 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6342 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6344 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6346 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6350 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6352 $as_echo "yes" >&6; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356 $as_echo "no" >&6; }
6357 SET_MAKE
="MAKE=${MAKE-make}"
6362 # Check whether --enable-largefile was given.
6363 if test "${enable_largefile+set}" = set; then :
6364 enableval
=$enable_largefile;
6367 if test "$enable_largefile" != no
; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6370 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6371 if ${ac_cv_sys_largefile_CC+:} false
; then :
6372 $as_echo_n "(cached) " >&6
6374 ac_cv_sys_largefile_CC
=no
6375 if test "$GCC" != yes; then
6378 # IRIX 6.2 and later do not support large files by default,
6379 # so use the C compiler's -n32 option if that helps.
6380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #include <sys/types.h>
6383 /* Check that off_t can represent 2**63 - 1 correctly.
6384 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6385 since some C++ compilers masquerading as C compilers
6386 incorrectly reject 9223372036854775807. */
6387 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6388 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6389 && LARGE_OFF_T % 2147483647 == 1)
6399 if ac_fn_c_try_compile
"$LINENO"; then :
6402 rm -f core conftest.err conftest.
$ac_objext
6404 if ac_fn_c_try_compile
"$LINENO"; then :
6405 ac_cv_sys_largefile_CC
=' -n32'; break
6407 rm -f core conftest.err conftest.
$ac_objext
6411 rm -f conftest.
$ac_ext
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6415 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6416 if test "$ac_cv_sys_largefile_CC" != no
; then
6417 CC
=$CC$ac_cv_sys_largefile_CC
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6421 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6422 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6423 $as_echo_n "(cached) " >&6
6426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6427 /* end confdefs.h. */
6428 #include <sys/types.h>
6429 /* Check that off_t can represent 2**63 - 1 correctly.
6430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6431 since some C++ compilers masquerading as C compilers
6432 incorrectly reject 9223372036854775807. */
6433 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6435 && LARGE_OFF_T % 2147483647 == 1)
6445 if ac_fn_c_try_compile
"$LINENO"; then :
6446 ac_cv_sys_file_offset_bits
=no
; break
6448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6451 #define _FILE_OFFSET_BITS 64
6452 #include <sys/types.h>
6453 /* Check that off_t can represent 2**63 - 1 correctly.
6454 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6455 since some C++ compilers masquerading as C compilers
6456 incorrectly reject 9223372036854775807. */
6457 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6458 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6459 && LARGE_OFF_T % 2147483647 == 1)
6469 if ac_fn_c_try_compile
"$LINENO"; then :
6470 ac_cv_sys_file_offset_bits
=64; break
6472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6473 ac_cv_sys_file_offset_bits
=unknown
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6478 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6479 case $ac_cv_sys_file_offset_bits in #(
6482 cat >>confdefs.h
<<_ACEOF
6483 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6488 if test $ac_cv_sys_file_offset_bits = unknown
; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6490 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6491 if ${ac_cv_sys_large_files+:} false
; then :
6492 $as_echo_n "(cached) " >&6
6495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6496 /* end confdefs.h. */
6497 #include <sys/types.h>
6498 /* Check that off_t can represent 2**63 - 1 correctly.
6499 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6500 since some C++ compilers masquerading as C compilers
6501 incorrectly reject 9223372036854775807. */
6502 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6503 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6504 && LARGE_OFF_T % 2147483647 == 1)
6514 if ac_fn_c_try_compile
"$LINENO"; then :
6515 ac_cv_sys_large_files
=no
; break
6517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6520 #define _LARGE_FILES 1
6521 #include <sys/types.h>
6522 /* Check that off_t can represent 2**63 - 1 correctly.
6523 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6524 since some C++ compilers masquerading as C compilers
6525 incorrectly reject 9223372036854775807. */
6526 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6527 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6528 && LARGE_OFF_T % 2147483647 == 1)
6538 if ac_fn_c_try_compile
"$LINENO"; then :
6539 ac_cv_sys_large_files
=1; break
6541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6542 ac_cv_sys_large_files
=unknown
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6547 $as_echo "$ac_cv_sys_large_files" >&6; }
6548 case $ac_cv_sys_large_files in #(
6551 cat >>confdefs.h
<<_ACEOF
6552 #define _LARGE_FILES $ac_cv_sys_large_files
6562 for ac_func
in ppoll
6564 ac_fn_c_check_func
"$LINENO" "ppoll" "ac_cv_func_ppoll"
6565 if test "x$ac_cv_func_ppoll" = xyes
; then :
6566 cat >>confdefs.h
<<_ACEOF
6567 #define HAVE_PPOLL 1
6573 for ac_func
in openat
6575 ac_fn_c_check_func
"$LINENO" "openat" "ac_cv_func_openat"
6576 if test "x$ac_cv_func_openat" = xyes
; then :
6577 cat >>confdefs.h
<<_ACEOF
6578 #define HAVE_OPENAT 1
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6585 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6586 if ${ac_cv_path_SED+:} false
; then :
6587 $as_echo_n "(cached) " >&6
6589 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6590 for ac_i
in 1 2 3 4 5 6 7; do
6591 ac_script
="$ac_script$as_nl$ac_script"
6593 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6594 { ac_script
=; unset ac_script
;}
6595 if test -z "$SED"; then
6596 ac_path_SED_found
=false
6597 # Loop through the user's path and test for each of PROGNAME-LIST
6598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir
=.
6603 for ac_prog
in sed gsed
; do
6604 for ac_exec_ext
in '' $ac_executable_extensions; do
6605 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6606 as_fn_executable_p
"$ac_path_SED" ||
continue
6607 # Check for GNU ac_path_SED and select it if it is found.
6608 # Check for GNU $ac_path_SED
6609 case `"$ac_path_SED" --version 2>&1` in
6611 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6614 $as_echo_n 0123456789 >"conftest.in"
6617 cat "conftest.in" "conftest.in" >"conftest.tmp"
6618 mv "conftest.tmp" "conftest.in"
6619 cp "conftest.in" "conftest.nl"
6620 $as_echo '' >> "conftest.nl"
6621 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6622 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6623 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6624 if test $ac_count -gt ${ac_path_SED_max-0}; then
6625 # Best one so far, save it but keep looking for a better one
6626 ac_cv_path_SED
="$ac_path_SED"
6627 ac_path_SED_max
=$ac_count
6629 # 10*(2^10) chars as input seems more than enough
6630 test $ac_count -gt 10 && break
6632 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6635 $ac_path_SED_found && break 3
6640 if test -z "$ac_cv_path_SED"; then
6641 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6649 $as_echo "$ac_cv_path_SED" >&6; }
6650 SED
="$ac_cv_path_SED"
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6655 $as_echo_n "checking whether NLS is requested... " >&6; }
6656 # Check whether --enable-nls was given.
6657 if test "${enable_nls+set}" = set; then :
6658 enableval
=$enable_nls; USE_NLS
=$enableval
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6664 $as_echo "$USE_NLS" >&6; }
6669 GETTEXT_MACRO_VERSION
=0.19
6674 # Prepare PATH_SEPARATOR.
6675 # The user is always right.
6676 if test "${PATH_SEPARATOR+set}" != set; then
6677 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6678 # contains only /bin. Note that ksh looks also at the FPATH variable,
6679 # so we have to set that as well for the test.
6681 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6682 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6683 || PATH_SEPARATOR
=';'
6687 # Find out how to test for executable files. Don't use a zero-byte file,
6688 # as systems may use methods other than mode bits to determine executability.
6689 cat >conf$$.
file <<_ASEOF
6693 chmod +x conf$$.
file
6694 if test -x conf$$.
file >/dev
/null
2>&1; then
6695 ac_executable_p
="test -x"
6697 ac_executable_p
="test -f"
6701 # Extract the first word of "msgfmt", so it can be a program name with args.
6702 set dummy msgfmt
; ac_word
=$2
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704 $as_echo_n "checking for $ac_word... " >&6; }
6705 if ${ac_cv_path_MSGFMT+:} false
; then :
6706 $as_echo_n "(cached) " >&6
6710 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6713 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6714 for ac_dir
in $PATH; do
6716 test -z "$ac_dir" && ac_dir
=.
6717 for ac_exec_ext
in '' $ac_executable_extensions; do
6718 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6719 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6720 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
6721 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6722 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6729 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6733 MSGFMT
="$ac_cv_path_MSGFMT"
6734 if test "$MSGFMT" != ":"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6736 $as_echo "$MSGFMT" >&6; }
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6742 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6743 set dummy gmsgfmt
; ac_word
=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745 $as_echo_n "checking for $ac_word... " >&6; }
6746 if ${ac_cv_path_GMSGFMT+:} false
; then :
6747 $as_echo_n "(cached) " >&6
6751 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6758 test -z "$as_dir" && as_dir
=.
6759 for ac_exec_ext
in '' $ac_executable_extensions; do
6760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6761 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6773 GMSGFMT
=$ac_cv_path_GMSGFMT
6774 if test -n "$GMSGFMT"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6776 $as_echo "$GMSGFMT" >&6; }
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6784 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6785 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
6786 *) MSGFMT_015
=$MSGFMT ;;
6789 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6790 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
6791 *) GMSGFMT_015
=$GMSGFMT ;;
6796 # Prepare PATH_SEPARATOR.
6797 # The user is always right.
6798 if test "${PATH_SEPARATOR+set}" != set; then
6799 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6800 # contains only /bin. Note that ksh looks also at the FPATH variable,
6801 # so we have to set that as well for the test.
6803 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6804 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6805 || PATH_SEPARATOR
=';'
6809 # Find out how to test for executable files. Don't use a zero-byte file,
6810 # as systems may use methods other than mode bits to determine executability.
6811 cat >conf$$.
file <<_ASEOF
6815 chmod +x conf$$.
file
6816 if test -x conf$$.
file >/dev
/null
2>&1; then
6817 ac_executable_p
="test -x"
6819 ac_executable_p
="test -f"
6823 # Extract the first word of "xgettext", so it can be a program name with args.
6824 set dummy xgettext
; ac_word
=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if ${ac_cv_path_XGETTEXT+:} false
; then :
6828 $as_echo_n "(cached) " >&6
6832 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6835 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6836 for ac_dir
in $PATH; do
6838 test -z "$ac_dir" && ac_dir
=.
6839 for ac_exec_ext
in '' $ac_executable_extensions; do
6840 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6841 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6842 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
6843 (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
6844 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6851 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6855 XGETTEXT
="$ac_cv_path_XGETTEXT"
6856 if test "$XGETTEXT" != ":"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6858 $as_echo "$XGETTEXT" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6866 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6867 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
6868 *) XGETTEXT_015
=$XGETTEXT ;;
6873 # Prepare PATH_SEPARATOR.
6874 # The user is always right.
6875 if test "${PATH_SEPARATOR+set}" != set; then
6876 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6877 # contains only /bin. Note that ksh looks also at the FPATH variable,
6878 # so we have to set that as well for the test.
6880 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6881 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6882 || PATH_SEPARATOR
=';'
6886 # Find out how to test for executable files. Don't use a zero-byte file,
6887 # as systems may use methods other than mode bits to determine executability.
6888 cat >conf$$.
file <<_ASEOF
6892 chmod +x conf$$.
file
6893 if test -x conf$$.
file >/dev
/null
2>&1; then
6894 ac_executable_p
="test -x"
6896 ac_executable_p
="test -f"
6900 # Extract the first word of "msgmerge", so it can be a program name with args.
6901 set dummy msgmerge
; ac_word
=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903 $as_echo_n "checking for $ac_word... " >&6; }
6904 if ${ac_cv_path_MSGMERGE+:} false
; then :
6905 $as_echo_n "(cached) " >&6
6909 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6912 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6913 for ac_dir
in $PATH; do
6915 test -z "$ac_dir" && ac_dir
=.
6916 for ac_exec_ext
in '' $ac_executable_extensions; do
6917 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6918 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6919 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
6920 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6927 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6931 MSGMERGE
="$ac_cv_path_MSGMERGE"
6932 if test "$MSGMERGE" != ":"; then
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6934 $as_echo "$MSGMERGE" >&6; }
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937 $as_echo "no" >&6; }
6941 test -n "$localedir" || localedir
='${datadir}/locale'
6944 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
6947 ac_config_commands
="$ac_config_commands po-directories"
6951 if test "X$prefix" = "XNONE"; then
6952 acl_final_prefix
="$ac_default_prefix"
6954 acl_final_prefix
="$prefix"
6956 if test "X$exec_prefix" = "XNONE"; then
6957 acl_final_exec_prefix
='${prefix}'
6959 acl_final_exec_prefix
="$exec_prefix"
6961 acl_save_prefix
="$prefix"
6962 prefix
="$acl_final_prefix"
6963 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6964 prefix
="$acl_save_prefix"
6968 # Check whether --with-gnu-ld was given.
6969 if test "${with_gnu_ld+set}" = set; then :
6970 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6975 # Prepare PATH_SEPARATOR.
6976 # The user is always right.
6977 if test "${PATH_SEPARATOR+set}" != set; then
6978 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6979 # contains only /bin. Note that ksh looks also at the FPATH variable,
6980 # so we have to set that as well for the test.
6982 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6983 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6984 || PATH_SEPARATOR
=';'
6989 if test "$GCC" = yes; then
6990 # Check if gcc -print-prog-name=ld gives a path.
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6992 $as_echo_n "checking for ld used by $CC... " >&6; }
6995 # gcc leaves a trailing carriage return which upsets mingw
6996 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6998 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7001 # Accept absolute paths.
7003 re_direlt
='/[^/][^/]*/\.\./'
7004 # Canonicalize the pathname of ld
7005 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
7006 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
7007 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7009 test -z "$LD" && LD
="$ac_prog"
7012 # If it fails, then pretend we aren't using GCC.
7016 # If it is relative, then search for the first ld in PATH.
7020 elif test "$with_gnu_ld" = yes; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7022 $as_echo_n "checking for GNU ld... " >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7025 $as_echo_n "checking for non-GNU ld... " >&6; }
7027 if ${acl_cv_path_LD+:} false
; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -z "$LD"; then
7031 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7032 for ac_dir
in $PATH; do
7034 test -z "$ac_dir" && ac_dir
=.
7035 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7036 acl_cv_path_LD
="$ac_dir/$ac_prog"
7037 # Check to see if the program is GNU ld. I'd rather use --version,
7038 # but apparently some variants of GNU ld only accept -v.
7039 # Break only if it was the GNU/non-GNU ld that we prefer.
7040 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
7041 *GNU
* |
*'with BFD'*)
7042 test "$with_gnu_ld" != no
&& break
7045 test "$with_gnu_ld" != yes && break
7052 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7056 LD
="$acl_cv_path_LD"
7057 if test -n "$LD"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7059 $as_echo "$LD" >&6; }
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7064 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7066 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7067 if ${acl_cv_prog_gnu_ld+:} false
; then :
7068 $as_echo_n "(cached) " >&6
7070 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7071 case `$LD -v 2>&1 </dev/null` in
7072 *GNU
* |
*'with BFD'*)
7073 acl_cv_prog_gnu_ld
=yes
7076 acl_cv_prog_gnu_ld
=no
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7081 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7082 with_gnu_ld
=$acl_cv_prog_gnu_ld
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7088 $as_echo_n "checking for shared library run path origin... " >&6; }
7089 if ${acl_cv_rpath+:} false
; then :
7090 $as_echo_n "(cached) " >&6
7093 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7094 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7101 $as_echo "$acl_cv_rpath" >&6; }
7103 acl_libext
="$acl_cv_libext"
7104 acl_shlibext
="$acl_cv_shlibext"
7105 acl_libname_spec
="$acl_cv_libname_spec"
7106 acl_library_names_spec
="$acl_cv_library_names_spec"
7107 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7108 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7109 acl_hardcode_direct
="$acl_cv_hardcode_direct"
7110 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7111 # Check whether --enable-rpath was given.
7112 if test "${enable_rpath+set}" = set; then :
7113 enableval
=$enable_rpath; :
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7126 $as_echo_n "checking for 64-bit host... " >&6; }
7127 if ${gl_cv_solaris_64bit+:} false
; then :
7128 $as_echo_n "(cached) " >&6
7130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7131 /* end confdefs.h. */
7138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7139 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
7140 gl_cv_solaris_64bit
=yes
7142 gl_cv_solaris_64bit
=no
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7149 $as_echo "$gl_cv_solaris_64bit" >&6; }
7150 if test $gl_cv_solaris_64bit = yes; then
7151 acl_libdirstem
=lib
/64
7153 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
7154 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
7159 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7160 if test -n "$searchpath"; then
7161 acl_save_IFS
="${IFS= }"; IFS
=":"
7162 for searchdir
in $searchpath; do
7163 if test -d "$searchdir"; then
7164 case "$searchdir" in
7165 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
7167 # Better ignore directories of this form. They are misleading.
7169 *) searchdir
=`cd "$searchdir" && pwd`
7170 case "$searchdir" in
7171 */lib64
) acl_libdirstem
=lib64
;;
7180 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
7195 acl_save_prefix
="$prefix"
7196 prefix
="$acl_final_prefix"
7197 acl_save_exec_prefix
="$exec_prefix"
7198 exec_prefix
="$acl_final_exec_prefix"
7200 eval additional_includedir
=\"$includedir\"
7201 eval additional_libdir
=\"$libdir\"
7203 exec_prefix
="$acl_save_exec_prefix"
7204 prefix
="$acl_save_prefix"
7207 # Check whether --with-libiconv-prefix was given.
7208 if test "${with_libiconv_prefix+set}" = set; then :
7209 withval
=$with_libiconv_prefix;
7210 if test "X$withval" = "Xno"; then
7213 if test "X$withval" = "X"; then
7215 acl_save_prefix
="$prefix"
7216 prefix
="$acl_final_prefix"
7217 acl_save_exec_prefix
="$exec_prefix"
7218 exec_prefix
="$acl_final_exec_prefix"
7220 eval additional_includedir
=\"$includedir\"
7221 eval additional_libdir
=\"$libdir\"
7223 exec_prefix
="$acl_save_exec_prefix"
7224 prefix
="$acl_save_prefix"
7227 additional_includedir
="$withval/include"
7228 additional_libdir
="$withval/$acl_libdirstem"
7229 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7230 && ! test -d "$withval/$acl_libdirstem"; then
7231 additional_libdir
="$withval/$acl_libdirstem2"
7245 names_already_handled
=
7246 names_next_round
='iconv '
7247 while test -n "$names_next_round"; do
7248 names_this_round
="$names_next_round"
7250 for name
in $names_this_round; do
7252 for n
in $names_already_handled; do
7253 if test "$n" = "$name"; then
7258 if test -z "$already_handled"; then
7259 names_already_handled
="$names_already_handled $name"
7260 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7261 eval value
=\"\
$HAVE_LIB$uppername\"
7262 if test -n "$value"; then
7263 if test "$value" = yes; then
7264 eval value
=\"\
$LIB$uppername\"
7265 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7266 eval value
=\"\
$LTLIB$uppername\"
7267 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7276 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
7277 if test -n "$acl_shlibext"; then
7278 shrext
=".$acl_shlibext" # typically: shrext=.so
7282 if test $use_additional = yes; then
7283 dir
="$additional_libdir"
7284 if test -n "$acl_shlibext"; then
7285 if test -f "$dir/$libname$shrext"; then
7287 found_so
="$dir/$libname$shrext"
7289 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7290 ver
=`(cd "$dir" && \
7291 for f in "$libname$shrext".*; do echo "$f"; done \
7292 | sed -e "s,^$libname$shrext\\\\.,," \
7293 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7294 | sed 1q ) 2>/dev/null`
7295 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7297 found_so
="$dir/$libname$shrext.$ver"
7300 eval library_names
=\"$acl_library_names_spec\"
7301 for f
in $library_names; do
7302 if test -f "$dir/$f"; then
7311 if test "X$found_dir" = "X"; then
7312 if test -f "$dir/$libname.$acl_libext"; then
7314 found_a
="$dir/$libname.$acl_libext"
7317 if test "X$found_dir" != "X"; then
7318 if test -f "$dir/$libname.la"; then
7319 found_la
="$dir/$libname.la"
7323 if test "X$found_dir" = "X"; then
7324 for x
in $LDFLAGS $LTLIBICONV; do
7326 acl_save_prefix
="$prefix"
7327 prefix
="$acl_final_prefix"
7328 acl_save_exec_prefix
="$exec_prefix"
7329 exec_prefix
="$acl_final_exec_prefix"
7331 exec_prefix
="$acl_save_exec_prefix"
7332 prefix
="$acl_save_prefix"
7336 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7337 if test -n "$acl_shlibext"; then
7338 if test -f "$dir/$libname$shrext"; then
7340 found_so
="$dir/$libname$shrext"
7342 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7343 ver
=`(cd "$dir" && \
7344 for f in "$libname$shrext".*; do echo "$f"; done \
7345 | sed -e "s,^$libname$shrext\\\\.,," \
7346 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7347 | sed 1q ) 2>/dev/null`
7348 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7350 found_so
="$dir/$libname$shrext.$ver"
7353 eval library_names
=\"$acl_library_names_spec\"
7354 for f
in $library_names; do
7355 if test -f "$dir/$f"; then
7364 if test "X$found_dir" = "X"; then
7365 if test -f "$dir/$libname.$acl_libext"; then
7367 found_a
="$dir/$libname.$acl_libext"
7370 if test "X$found_dir" != "X"; then
7371 if test -f "$dir/$libname.la"; then
7372 found_la
="$dir/$libname.la"
7377 if test "X$found_dir" != "X"; then
7382 if test "X$found_dir" != "X"; then
7383 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7384 if test "X$found_so" != "X"; then
7385 if test "$enable_rpath" = no \
7386 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
7387 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7388 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7391 for x
in $ltrpathdirs; do
7392 if test "X$x" = "X$found_dir"; then
7397 if test -z "$haveit"; then
7398 ltrpathdirs
="$ltrpathdirs $found_dir"
7400 if test "$acl_hardcode_direct" = yes; then
7401 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7403 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
7404 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7406 for x
in $rpathdirs; do
7407 if test "X$x" = "X$found_dir"; then
7412 if test -z "$haveit"; then
7413 rpathdirs
="$rpathdirs $found_dir"
7417 for x
in $LDFLAGS $LIBICONV; do
7419 acl_save_prefix
="$prefix"
7420 prefix
="$acl_final_prefix"
7421 acl_save_exec_prefix
="$exec_prefix"
7422 exec_prefix
="$acl_final_exec_prefix"
7424 exec_prefix
="$acl_save_exec_prefix"
7425 prefix
="$acl_save_prefix"
7427 if test "X$x" = "X-L$found_dir"; then
7432 if test -z "$haveit"; then
7433 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7435 if test "$acl_hardcode_minus_L" != no
; then
7436 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7438 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7444 if test "X$found_a" != "X"; then
7445 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7447 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7450 additional_includedir
=
7451 case "$found_dir" in
7452 */$acl_libdirstem |
*/$acl_libdirstem/)
7453 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7454 if test "$name" = 'iconv'; then
7455 LIBICONV_PREFIX
="$basedir"
7457 additional_includedir
="$basedir/include"
7459 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
7460 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7461 if test "$name" = 'iconv'; then
7462 LIBICONV_PREFIX
="$basedir"
7464 additional_includedir
="$basedir/include"
7467 if test "X$additional_includedir" != "X"; then
7468 if test "X$additional_includedir" != "X/usr/include"; then
7470 if test "X$additional_includedir" = "X/usr/local/include"; then
7471 if test -n "$GCC"; then
7473 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7477 if test -z "$haveit"; then
7478 for x
in $CPPFLAGS $INCICONV; do
7480 acl_save_prefix
="$prefix"
7481 prefix
="$acl_final_prefix"
7482 acl_save_exec_prefix
="$exec_prefix"
7483 exec_prefix
="$acl_final_exec_prefix"
7485 exec_prefix
="$acl_save_exec_prefix"
7486 prefix
="$acl_save_prefix"
7488 if test "X$x" = "X-I$additional_includedir"; then
7493 if test -z "$haveit"; then
7494 if test -d "$additional_includedir"; then
7495 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7501 if test -n "$found_la"; then
7502 save_libdir
="$libdir"
7504 */* |
*\\*) .
"$found_la" ;;
7505 *) .
"./$found_la" ;;
7507 libdir
="$save_libdir"
7508 for dep
in $dependency_libs; do
7511 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7512 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7513 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7515 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7516 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7517 if test -n "$GCC"; then
7519 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7523 if test -z "$haveit"; then
7525 for x
in $LDFLAGS $LIBICONV; do
7527 acl_save_prefix
="$prefix"
7528 prefix
="$acl_final_prefix"
7529 acl_save_exec_prefix
="$exec_prefix"
7530 exec_prefix
="$acl_final_exec_prefix"
7532 exec_prefix
="$acl_save_exec_prefix"
7533 prefix
="$acl_save_prefix"
7535 if test "X$x" = "X-L$additional_libdir"; then
7540 if test -z "$haveit"; then
7541 if test -d "$additional_libdir"; then
7542 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7546 for x
in $LDFLAGS $LTLIBICONV; do
7548 acl_save_prefix
="$prefix"
7549 prefix
="$acl_final_prefix"
7550 acl_save_exec_prefix
="$exec_prefix"
7551 exec_prefix
="$acl_final_exec_prefix"
7553 exec_prefix
="$acl_save_exec_prefix"
7554 prefix
="$acl_save_prefix"
7556 if test "X$x" = "X-L$additional_libdir"; then
7561 if test -z "$haveit"; then
7562 if test -d "$additional_libdir"; then
7563 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7570 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7571 if test "$enable_rpath" != no
; then
7573 for x
in $rpathdirs; do
7574 if test "X$x" = "X$dir"; then
7579 if test -z "$haveit"; then
7580 rpathdirs
="$rpathdirs $dir"
7583 for x
in $ltrpathdirs; do
7584 if test "X$x" = "X$dir"; then
7589 if test -z "$haveit"; then
7590 ltrpathdirs
="$ltrpathdirs $dir"
7595 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7598 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7601 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7602 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7608 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7609 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7615 if test "X$rpathdirs" != "X"; then
7616 if test -n "$acl_hardcode_libdir_separator"; then
7618 for found_dir
in $rpathdirs; do
7619 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7621 acl_save_libdir
="$libdir"
7623 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7624 libdir
="$acl_save_libdir"
7625 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7627 for found_dir
in $rpathdirs; do
7628 acl_save_libdir
="$libdir"
7630 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7631 libdir
="$acl_save_libdir"
7632 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7636 if test "X$ltrpathdirs" != "X"; then
7637 for found_dir
in $ltrpathdirs; do
7638 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7673 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7674 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
7675 $as_echo_n "(cached) " >&6
7677 gt_save_LIBS
="$LIBS"
7678 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7680 /* end confdefs.h. */
7681 #include <CoreFoundation/CFPreferences.h>
7685 CFPreferencesCopyAppValue(NULL, NULL)
7690 if ac_fn_c_try_link
"$LINENO"; then :
7691 gt_cv_func_CFPreferencesCopyAppValue
=yes
7693 gt_cv_func_CFPreferencesCopyAppValue
=no
7695 rm -f core conftest.err conftest.
$ac_objext \
7696 conftest
$ac_exeext conftest.
$ac_ext
7697 LIBS
="$gt_save_LIBS"
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7700 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7701 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7703 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
7707 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
7708 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
7709 $as_echo_n "(cached) " >&6
7711 gt_save_LIBS
="$LIBS"
7712 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 #include <CoreFoundation/CFLocale.h>
7719 CFLocaleCopyCurrent();
7724 if ac_fn_c_try_link
"$LINENO"; then :
7725 gt_cv_func_CFLocaleCopyCurrent
=yes
7727 gt_cv_func_CFLocaleCopyCurrent
=no
7729 rm -f core conftest.err conftest.
$ac_objext \
7730 conftest
$ac_exeext conftest.
$ac_ext
7731 LIBS
="$gt_save_LIBS"
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
7734 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
7735 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7737 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
7741 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7742 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
7754 case " $gt_needs " in
7755 *" need-formatstring-macros "*) gt_api_version
=3 ;;
7756 *" need-ngettext "*) gt_api_version
=2 ;;
7757 *) gt_api_version
=1 ;;
7759 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
7760 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
7762 if test "$USE_NLS" = "yes"; then
7763 gt_use_preinstalled_gnugettext
=no
7766 if test $gt_api_version -ge 3; then
7767 gt_revision_test_code
='
7768 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7769 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7771 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7774 gt_revision_test_code
=
7776 if test $gt_api_version -ge 2; then
7777 gt_expression_test_code
=' + * ngettext ("", "", 0)'
7779 gt_expression_test_code
=
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7783 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7784 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
7785 $as_echo_n "(cached) " >&6
7787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7790 #include <libintl.h>
7791 $gt_revision_test_code
7792 extern int _nl_msg_cat_cntr;
7793 extern int *_nl_domain_bindings;
7799 bindtextdomain ("", "");
7800 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
7806 if ac_fn_c_try_link
"$LINENO"; then :
7807 eval "$gt_func_gnugettext_libc=yes"
7809 eval "$gt_func_gnugettext_libc=no"
7811 rm -f core conftest.err conftest.
$ac_objext \
7812 conftest
$ac_exeext conftest.
$ac_ext
7814 eval ac_res
=\$
$gt_func_gnugettext_libc
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7816 $as_echo "$ac_res" >&6; }
7818 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7824 am_save_CPPFLAGS
="$CPPFLAGS"
7826 for element
in $INCICONV; do
7828 for x
in $CPPFLAGS; do
7830 acl_save_prefix
="$prefix"
7831 prefix
="$acl_final_prefix"
7832 acl_save_exec_prefix
="$exec_prefix"
7833 exec_prefix
="$acl_final_exec_prefix"
7835 exec_prefix
="$acl_save_exec_prefix"
7836 prefix
="$acl_save_prefix"
7838 if test "X$x" = "X$element"; then
7843 if test -z "$haveit"; then
7844 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7850 $as_echo_n "checking for iconv... " >&6; }
7851 if ${am_cv_func_iconv+:} false
; then :
7852 $as_echo_n "(cached) " >&6
7855 am_cv_func_iconv
="no, consider installing GNU libiconv"
7857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h. */
7866 iconv_t cd = iconv_open("","");
7867 iconv(cd,NULL,NULL,NULL,NULL);
7873 if ac_fn_c_try_link
"$LINENO"; then :
7874 am_cv_func_iconv
=yes
7876 rm -f core conftest.err conftest.
$ac_objext \
7877 conftest
$ac_exeext conftest.
$ac_ext
7878 if test "$am_cv_func_iconv" != yes; then
7879 am_save_LIBS
="$LIBS"
7880 LIBS
="$LIBS $LIBICONV"
7881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7890 iconv_t cd = iconv_open("","");
7891 iconv(cd,NULL,NULL,NULL,NULL);
7897 if ac_fn_c_try_link
"$LINENO"; then :
7899 am_cv_func_iconv
=yes
7901 rm -f core conftest.err conftest.
$ac_objext \
7902 conftest
$ac_exeext conftest.
$ac_ext
7903 LIBS
="$am_save_LIBS"
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7908 $as_echo "$am_cv_func_iconv" >&6; }
7909 if test "$am_cv_func_iconv" = yes; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7911 $as_echo_n "checking for working iconv... " >&6; }
7912 if ${am_cv_func_iconv_works+:} false
; then :
7913 $as_echo_n "(cached) " >&6
7916 am_save_LIBS
="$LIBS"
7917 if test $am_cv_lib_iconv = yes; then
7918 LIBS
="$LIBS $LIBICONV"
7920 am_cv_func_iconv_works
=no
7921 for ac_iconv_const
in '' 'const'; do
7922 if test "$cross_compiling" = yes; then :
7924 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
7925 *) am_cv_func_iconv_works
="guessing yes" ;;
7928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7935 # define ICONV_CONST $ac_iconv_const
7942 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
7945 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
7946 if (cd_utf8_to_88591 != (iconv_t)(-1))
7948 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
7950 ICONV_CONST char *inptr = input;
7951 size_t inbytesleft = strlen (input);
7953 size_t outbytesleft = sizeof (buf);
7954 size_t res = iconv (cd_utf8_to_88591,
7955 &inptr, &inbytesleft,
7956 &outptr, &outbytesleft);
7959 iconv_close (cd_utf8_to_88591);
7962 /* Test against Solaris 10 bug: Failures are not distinguishable from
7963 successful returns. */
7965 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
7966 if (cd_ascii_to_88591 != (iconv_t)(-1))
7968 static ICONV_CONST char input[] = "\263";
7970 ICONV_CONST char *inptr = input;
7971 size_t inbytesleft = strlen (input);
7973 size_t outbytesleft = sizeof (buf);
7974 size_t res = iconv (cd_ascii_to_88591,
7975 &inptr, &inbytesleft,
7976 &outptr, &outbytesleft);
7979 iconv_close (cd_ascii_to_88591);
7982 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
7984 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
7985 if (cd_88591_to_utf8 != (iconv_t)(-1))
7987 static ICONV_CONST char input[] = "\304";
7988 static char buf[2] = { (char)0xDE, (char)0xAD };
7989 ICONV_CONST char *inptr = input;
7990 size_t inbytesleft = 1;
7992 size_t outbytesleft = 1;
7993 size_t res = iconv (cd_88591_to_utf8,
7994 &inptr, &inbytesleft,
7995 &outptr, &outbytesleft);
7996 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
7998 iconv_close (cd_88591_to_utf8);
8001 #if 0 /* This bug could be worked around by the caller. */
8002 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8004 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8005 if (cd_88591_to_utf8 != (iconv_t)(-1))
8007 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8009 ICONV_CONST char *inptr = input;
8010 size_t inbytesleft = strlen (input);
8012 size_t outbytesleft = sizeof (buf);
8013 size_t res = iconv (cd_88591_to_utf8,
8014 &inptr, &inbytesleft,
8015 &outptr, &outbytesleft);
8018 iconv_close (cd_88591_to_utf8);
8022 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8024 if (/* Try standardized names. */
8025 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
8026 /* Try IRIX, OSF/1 names. */
8027 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8028 /* Try AIX names. */
8029 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8030 /* Try HP-UX names. */
8031 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8039 if ac_fn_c_try_run
"$LINENO"; then :
8040 am_cv_func_iconv_works
=yes
8042 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8043 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8046 test "$am_cv_func_iconv_works" = no ||
break
8048 LIBS
="$am_save_LIBS"
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8052 $as_echo "$am_cv_func_iconv_works" >&6; }
8053 case "$am_cv_func_iconv_works" in
8054 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8055 *) am_func_iconv
=yes ;;
8058 am_func_iconv
=no am_cv_lib_iconv
=no
8060 if test "$am_func_iconv" = yes; then
8062 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8065 if test "$am_cv_lib_iconv" = yes; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8067 $as_echo_n "checking how to link with libiconv... " >&6; }
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8069 $as_echo "$LIBICONV" >&6; }
8071 CPPFLAGS
="$am_save_CPPFLAGS"
8088 acl_save_prefix
="$prefix"
8089 prefix
="$acl_final_prefix"
8090 acl_save_exec_prefix
="$exec_prefix"
8091 exec_prefix
="$acl_final_exec_prefix"
8093 eval additional_includedir
=\"$includedir\"
8094 eval additional_libdir
=\"$libdir\"
8096 exec_prefix
="$acl_save_exec_prefix"
8097 prefix
="$acl_save_prefix"
8100 # Check whether --with-libintl-prefix was given.
8101 if test "${with_libintl_prefix+set}" = set; then :
8102 withval
=$with_libintl_prefix;
8103 if test "X$withval" = "Xno"; then
8106 if test "X$withval" = "X"; then
8108 acl_save_prefix
="$prefix"
8109 prefix
="$acl_final_prefix"
8110 acl_save_exec_prefix
="$exec_prefix"
8111 exec_prefix
="$acl_final_exec_prefix"
8113 eval additional_includedir
=\"$includedir\"
8114 eval additional_libdir
=\"$libdir\"
8116 exec_prefix
="$acl_save_exec_prefix"
8117 prefix
="$acl_save_prefix"
8120 additional_includedir
="$withval/include"
8121 additional_libdir
="$withval/$acl_libdirstem"
8122 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8123 && ! test -d "$withval/$acl_libdirstem"; then
8124 additional_libdir
="$withval/$acl_libdirstem2"
8138 names_already_handled
=
8139 names_next_round
='intl '
8140 while test -n "$names_next_round"; do
8141 names_this_round
="$names_next_round"
8143 for name
in $names_this_round; do
8145 for n
in $names_already_handled; do
8146 if test "$n" = "$name"; then
8151 if test -z "$already_handled"; then
8152 names_already_handled
="$names_already_handled $name"
8153 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8154 eval value
=\"\
$HAVE_LIB$uppername\"
8155 if test -n "$value"; then
8156 if test "$value" = yes; then
8157 eval value
=\"\
$LIB$uppername\"
8158 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8159 eval value
=\"\
$LTLIB$uppername\"
8160 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8169 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8170 if test -n "$acl_shlibext"; then
8171 shrext
=".$acl_shlibext" # typically: shrext=.so
8175 if test $use_additional = yes; then
8176 dir
="$additional_libdir"
8177 if test -n "$acl_shlibext"; then
8178 if test -f "$dir/$libname$shrext"; then
8180 found_so
="$dir/$libname$shrext"
8182 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8183 ver
=`(cd "$dir" && \
8184 for f in "$libname$shrext".*; do echo "$f"; done \
8185 | sed -e "s,^$libname$shrext\\\\.,," \
8186 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8187 | sed 1q ) 2>/dev/null`
8188 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8190 found_so
="$dir/$libname$shrext.$ver"
8193 eval library_names
=\"$acl_library_names_spec\"
8194 for f
in $library_names; do
8195 if test -f "$dir/$f"; then
8204 if test "X$found_dir" = "X"; then
8205 if test -f "$dir/$libname.$acl_libext"; then
8207 found_a
="$dir/$libname.$acl_libext"
8210 if test "X$found_dir" != "X"; then
8211 if test -f "$dir/$libname.la"; then
8212 found_la
="$dir/$libname.la"
8216 if test "X$found_dir" = "X"; then
8217 for x
in $LDFLAGS $LTLIBINTL; do
8219 acl_save_prefix
="$prefix"
8220 prefix
="$acl_final_prefix"
8221 acl_save_exec_prefix
="$exec_prefix"
8222 exec_prefix
="$acl_final_exec_prefix"
8224 exec_prefix
="$acl_save_exec_prefix"
8225 prefix
="$acl_save_prefix"
8229 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8230 if test -n "$acl_shlibext"; then
8231 if test -f "$dir/$libname$shrext"; then
8233 found_so
="$dir/$libname$shrext"
8235 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8236 ver
=`(cd "$dir" && \
8237 for f in "$libname$shrext".*; do echo "$f"; done \
8238 | sed -e "s,^$libname$shrext\\\\.,," \
8239 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8240 | sed 1q ) 2>/dev/null`
8241 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8243 found_so
="$dir/$libname$shrext.$ver"
8246 eval library_names
=\"$acl_library_names_spec\"
8247 for f
in $library_names; do
8248 if test -f "$dir/$f"; then
8257 if test "X$found_dir" = "X"; then
8258 if test -f "$dir/$libname.$acl_libext"; then
8260 found_a
="$dir/$libname.$acl_libext"
8263 if test "X$found_dir" != "X"; then
8264 if test -f "$dir/$libname.la"; then
8265 found_la
="$dir/$libname.la"
8270 if test "X$found_dir" != "X"; then
8275 if test "X$found_dir" != "X"; then
8276 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8277 if test "X$found_so" != "X"; then
8278 if test "$enable_rpath" = no \
8279 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8280 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8281 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8284 for x
in $ltrpathdirs; do
8285 if test "X$x" = "X$found_dir"; then
8290 if test -z "$haveit"; then
8291 ltrpathdirs
="$ltrpathdirs $found_dir"
8293 if test "$acl_hardcode_direct" = yes; then
8294 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8296 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8297 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8299 for x
in $rpathdirs; do
8300 if test "X$x" = "X$found_dir"; then
8305 if test -z "$haveit"; then
8306 rpathdirs
="$rpathdirs $found_dir"
8310 for x
in $LDFLAGS $LIBINTL; do
8312 acl_save_prefix
="$prefix"
8313 prefix
="$acl_final_prefix"
8314 acl_save_exec_prefix
="$exec_prefix"
8315 exec_prefix
="$acl_final_exec_prefix"
8317 exec_prefix
="$acl_save_exec_prefix"
8318 prefix
="$acl_save_prefix"
8320 if test "X$x" = "X-L$found_dir"; then
8325 if test -z "$haveit"; then
8326 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8328 if test "$acl_hardcode_minus_L" != no
; then
8329 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8331 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8337 if test "X$found_a" != "X"; then
8338 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
8340 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8343 additional_includedir
=
8344 case "$found_dir" in
8345 */$acl_libdirstem |
*/$acl_libdirstem/)
8346 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8347 if test "$name" = 'intl'; then
8348 LIBINTL_PREFIX
="$basedir"
8350 additional_includedir
="$basedir/include"
8352 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8353 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8354 if test "$name" = 'intl'; then
8355 LIBINTL_PREFIX
="$basedir"
8357 additional_includedir
="$basedir/include"
8360 if test "X$additional_includedir" != "X"; then
8361 if test "X$additional_includedir" != "X/usr/include"; then
8363 if test "X$additional_includedir" = "X/usr/local/include"; then
8364 if test -n "$GCC"; then
8366 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8370 if test -z "$haveit"; then
8371 for x
in $CPPFLAGS $INCINTL; do
8373 acl_save_prefix
="$prefix"
8374 prefix
="$acl_final_prefix"
8375 acl_save_exec_prefix
="$exec_prefix"
8376 exec_prefix
="$acl_final_exec_prefix"
8378 exec_prefix
="$acl_save_exec_prefix"
8379 prefix
="$acl_save_prefix"
8381 if test "X$x" = "X-I$additional_includedir"; then
8386 if test -z "$haveit"; then
8387 if test -d "$additional_includedir"; then
8388 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8394 if test -n "$found_la"; then
8395 save_libdir
="$libdir"
8397 */* |
*\\*) .
"$found_la" ;;
8398 *) .
"./$found_la" ;;
8400 libdir
="$save_libdir"
8401 for dep
in $dependency_libs; do
8404 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8405 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8406 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8408 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8409 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8410 if test -n "$GCC"; then
8412 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8416 if test -z "$haveit"; then
8418 for x
in $LDFLAGS $LIBINTL; do
8420 acl_save_prefix
="$prefix"
8421 prefix
="$acl_final_prefix"
8422 acl_save_exec_prefix
="$exec_prefix"
8423 exec_prefix
="$acl_final_exec_prefix"
8425 exec_prefix
="$acl_save_exec_prefix"
8426 prefix
="$acl_save_prefix"
8428 if test "X$x" = "X-L$additional_libdir"; then
8433 if test -z "$haveit"; then
8434 if test -d "$additional_libdir"; then
8435 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8439 for x
in $LDFLAGS $LTLIBINTL; do
8441 acl_save_prefix
="$prefix"
8442 prefix
="$acl_final_prefix"
8443 acl_save_exec_prefix
="$exec_prefix"
8444 exec_prefix
="$acl_final_exec_prefix"
8446 exec_prefix
="$acl_save_exec_prefix"
8447 prefix
="$acl_save_prefix"
8449 if test "X$x" = "X-L$additional_libdir"; then
8454 if test -z "$haveit"; then
8455 if test -d "$additional_libdir"; then
8456 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8463 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8464 if test "$enable_rpath" != no
; then
8466 for x
in $rpathdirs; do
8467 if test "X$x" = "X$dir"; then
8472 if test -z "$haveit"; then
8473 rpathdirs
="$rpathdirs $dir"
8476 for x
in $ltrpathdirs; do
8477 if test "X$x" = "X$dir"; then
8482 if test -z "$haveit"; then
8483 ltrpathdirs
="$ltrpathdirs $dir"
8488 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8491 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8494 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
8495 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8501 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8502 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8508 if test "X$rpathdirs" != "X"; then
8509 if test -n "$acl_hardcode_libdir_separator"; then
8511 for found_dir
in $rpathdirs; do
8512 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8514 acl_save_libdir
="$libdir"
8516 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8517 libdir
="$acl_save_libdir"
8518 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8520 for found_dir
in $rpathdirs; do
8521 acl_save_libdir
="$libdir"
8523 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8524 libdir
="$acl_save_libdir"
8525 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8529 if test "X$ltrpathdirs" != "X"; then
8530 for found_dir
in $ltrpathdirs; do
8531 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8541 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
8542 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
8543 $as_echo_n "(cached) " >&6
8545 gt_save_CPPFLAGS
="$CPPFLAGS"
8546 CPPFLAGS
="$CPPFLAGS $INCINTL"
8547 gt_save_LIBS
="$LIBS"
8548 LIBS
="$LIBS $LIBINTL"
8549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8552 #include <libintl.h>
8553 $gt_revision_test_code
8554 extern int _nl_msg_cat_cntr;
8559 const char *_nl_expand_alias (const char *);
8565 bindtextdomain ("", "");
8566 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8572 if ac_fn_c_try_link
"$LINENO"; then :
8573 eval "$gt_func_gnugettext_libintl=yes"
8575 eval "$gt_func_gnugettext_libintl=no"
8577 rm -f core conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8580 LIBS
="$LIBS $LIBICONV"
8581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8584 #include <libintl.h>
8585 $gt_revision_test_code
8586 extern int _nl_msg_cat_cntr;
8591 const char *_nl_expand_alias (const char *);
8597 bindtextdomain ("", "");
8598 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8604 if ac_fn_c_try_link
"$LINENO"; then :
8605 LIBINTL
="$LIBINTL $LIBICONV"
8606 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
8607 eval "$gt_func_gnugettext_libintl=yes"
8610 rm -f core conftest.err conftest.
$ac_objext \
8611 conftest
$ac_exeext conftest.
$ac_ext
8613 CPPFLAGS
="$gt_save_CPPFLAGS"
8614 LIBS
="$gt_save_LIBS"
8616 eval ac_res
=\$
$gt_func_gnugettext_libintl
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8618 $as_echo "$ac_res" >&6; }
8621 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8622 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8623 && test "$PACKAGE" != gettext-runtime \
8624 && test "$PACKAGE" != gettext-tools
; }; then
8625 gt_use_preinstalled_gnugettext
=yes
8634 if test -n "$INTL_MACOSX_LIBS"; then
8635 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8636 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8637 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
8638 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
8642 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8643 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8645 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8653 $as_echo_n "checking whether to use NLS... " >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8655 $as_echo "$USE_NLS" >&6; }
8656 if test "$USE_NLS" = "yes"; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8658 $as_echo_n "checking where the gettext function comes from... " >&6; }
8659 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8660 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8661 gt_source
="external libintl"
8666 gt_source
="included intl directory"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8669 $as_echo "$gt_source" >&6; }
8672 if test "$USE_NLS" = "yes"; then
8674 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8675 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8677 $as_echo_n "checking how to link with libintl... " >&6; }
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8679 $as_echo "$LIBINTL" >&6; }
8681 for element
in $INCINTL; do
8683 for x
in $CPPFLAGS; do
8685 acl_save_prefix
="$prefix"
8686 prefix
="$acl_final_prefix"
8687 acl_save_exec_prefix
="$exec_prefix"
8688 exec_prefix
="$acl_final_exec_prefix"
8690 exec_prefix
="$acl_save_exec_prefix"
8691 prefix
="$acl_save_prefix"
8693 if test "X$x" = "X$element"; then
8698 if test -z "$haveit"; then
8699 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8706 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8709 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8727 if test "x$GMSGFMT" = "x:"; then
8728 as_fn_error $?
"missing gnu /usr/bin/msgfmt" "$LINENO" 5
8731 # We want the 'PYTHON' varible to be python version 2. We also want
8732 # our custom 'PYTHON3' varible to be python version 3.
8734 # Note that the python2/python3 code was inspired by code in the
8736 # <https://github.com/abrt/abrt/blob/master/configure.ac>
8738 # First, figure out what version of python is in the executable named
8739 # 'python'. On most systems that is python version 2, but on arch
8740 # linux that is python version 3.
8741 # Extract the first word of "python", so it can be a program name with args.
8742 set dummy python
; ac_word
=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_path_PYTHON_UNKNOWN+:} false
; then :
8746 $as_echo_n "(cached) " >&6
8748 case $PYTHON_UNKNOWN in
8750 ac_cv_path_PYTHON_UNKNOWN
="$PYTHON_UNKNOWN" # Let the user override the test with a path.
8753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8757 test -z "$as_dir" && as_dir
=.
8758 for ac_exec_ext
in '' $ac_executable_extensions; do
8759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8760 ac_cv_path_PYTHON_UNKNOWN
="$as_dir/$ac_word$ac_exec_ext"
8761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 test -z "$ac_cv_path_PYTHON_UNKNOWN" && ac_cv_path_PYTHON_UNKNOWN
="no"
8772 PYTHON_UNKNOWN
=$ac_cv_path_PYTHON_UNKNOWN
8773 if test -n "$PYTHON_UNKNOWN"; then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_UNKNOWN" >&5
8775 $as_echo "$PYTHON_UNKNOWN" >&6; }
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8778 $as_echo "no" >&6; }
8782 if test "x$PYTHON_UNKNOWN" != "xno"; then
8783 # OK, we found 'python'. What version is it?
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON_UNKNOWN is version 2 or 3" >&5
8785 $as_echo_n "checking whether $PYTHON_UNKNOWN is version 2 or 3... " >&6; }
8786 if ${ac_cv_python_unknown_version+:} false
; then :
8787 $as_echo_n "(cached) " >&6
8789 ac_cv_python_unknown_version
=`$PYTHON_UNKNOWN -c "import sys; sys.stdout.write(sys.version[:3][0])"`
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_unknown_version" >&5
8792 $as_echo "$ac_cv_python_unknown_version" >&6; }
8795 # Now we'll update the _AM_PYTHON_INTERPRETER_LIST variable (which
8796 # AM_PATH_PYTHON uses) to only be version 2 versions of python. Note
8797 # that the m4_define happens when autoconf is run, but the
8798 # FIRST_PYTHON_INTERPRETER variable expansion will happen when the
8799 # user runs configure.
8800 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$ac_cv_python_unknown_version" = "x2"; then
8801 FIRST_PYTHON_INTERPRETER
=python
8803 FIRST_PYTHON_INTERPRETER
=python2
8807 # Now we can call AM_PATH_PYTHON to find python version 2.6+ (and
8815 if test -n "$PYTHON"; then
8816 # If the user set $PYTHON, use it and don't search something else.
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
8818 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
8820 # split strings by '.' and convert to numeric. Append some zeros
8821 # because we need at least 4 digits for the hex conversion.
8822 # map returns an iterator in Python 3.0 and a list in 2.x
8823 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8825 # xrange is not present in Python 3.0 and range returns an iterator
8826 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8827 sys.exit(sys.hexversion < minverhex)"
8828 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
8829 ($PYTHON -c "$prog") >&5 2>&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; then :
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8834 $as_echo "yes" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8837 $as_echo "no" >&6; }
8838 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
8840 am_display_PYTHON
=$PYTHON
8842 # Otherwise, try each interpreter until we find one that satisfies
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
8845 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
8846 if ${am_cv_pathless_PYTHON+:} false
; then :
8847 $as_echo_n "(cached) " >&6
8850 for am_cv_pathless_PYTHON
in $FIRST_PYTHON_INTERPRETER python2 python2.7 python2.6 none
; do
8851 test "$am_cv_pathless_PYTHON" = none
&& break
8853 # split strings by '.' and convert to numeric. Append some zeros
8854 # because we need at least 4 digits for the hex conversion.
8855 # map returns an iterator in Python 3.0 and a list in 2.x
8856 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8858 # xrange is not present in Python 3.0 and range returns an iterator
8859 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8860 sys.exit(sys.hexversion < minverhex)"
8861 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
8862 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; then :
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
8871 $as_echo "$am_cv_pathless_PYTHON" >&6; }
8872 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
8873 if test "$am_cv_pathless_PYTHON" = none
; then
8876 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
8877 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8879 $as_echo_n "checking for $ac_word... " >&6; }
8880 if ${ac_cv_path_PYTHON+:} false
; then :
8881 $as_echo_n "(cached) " >&6
8885 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
8888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8892 test -z "$as_dir" && as_dir
=.
8893 for ac_exec_ext
in '' $ac_executable_extensions; do
8894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8895 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
8896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8906 PYTHON
=$ac_cv_path_PYTHON
8907 if test -n "$PYTHON"; then
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
8909 $as_echo "$PYTHON" >&6; }
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912 $as_echo "no" >&6; }
8917 am_display_PYTHON
=$am_cv_pathless_PYTHON
8921 if test "$PYTHON" = :; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
8927 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
8928 if ${am_cv_python_version+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
8934 $as_echo "$am_cv_python_version" >&6; }
8935 PYTHON_VERSION
=$am_cv_python_version
8939 PYTHON_PREFIX
='${prefix}'
8941 PYTHON_EXEC_PREFIX
='${exec_prefix}'
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
8946 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
8947 if ${am_cv_python_platform+:} false
; then :
8948 $as_echo_n "(cached) " >&6
8950 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
8953 $as_echo "$am_cv_python_platform" >&6; }
8954 PYTHON_PLATFORM
=$am_cv_python_platform
8957 # Just factor out some code duplication.
8958 am_python_setup_sysconfig
="\
8960 # Prefer sysconfig over distutils.sysconfig, for better compatibility
8961 # with python 3.x. See automake bug#10227.
8965 can_use_sysconfig = 0
8967 can_use_sysconfig = 1
8968 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
8969 # <https://github.com/pypa/virtualenv/issues/118>
8971 from platform import python_implementation
8972 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
8973 can_use_sysconfig = 0
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
8979 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
8980 if ${am_cv_python_pythondir+:} false
; then :
8981 $as_echo_n "(cached) " >&6
8983 if test "x$prefix" = xNONE
8985 am_py_prefix
=$ac_default_prefix
8987 am_py_prefix
=$prefix
8989 am_cv_python_pythondir
=`$PYTHON -c "
8990 $am_python_setup_sysconfig
8991 if can_use_sysconfig:
8992 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
8994 from distutils import sysconfig
8995 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
8996 sys.stdout.write(sitedir)"`
8997 case $am_cv_python_pythondir in
8999 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
9000 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
9003 case $am_py_prefix in
9006 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
9014 $as_echo "$am_cv_python_pythondir" >&6; }
9015 pythondir
=$am_cv_python_pythondir
9019 pkgpythondir
=\
${pythondir}/$PACKAGE
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
9023 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
9024 if ${am_cv_python_pyexecdir+:} false
; then :
9025 $as_echo_n "(cached) " >&6
9027 if test "x$exec_prefix" = xNONE
9029 am_py_exec_prefix
=$am_py_prefix
9031 am_py_exec_prefix
=$exec_prefix
9033 am_cv_python_pyexecdir
=`$PYTHON -c "
9034 $am_python_setup_sysconfig
9035 if can_use_sysconfig:
9036 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
9038 from distutils import sysconfig
9039 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
9040 sys.stdout.write(sitedir)"`
9041 case $am_cv_python_pyexecdir in
9042 $am_py_exec_prefix*)
9043 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
9044 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
9047 case $am_py_exec_prefix in
9050 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
9058 $as_echo "$am_cv_python_pyexecdir" >&6; }
9059 pyexecdir
=$am_cv_python_pyexecdir
9063 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
9070 python_basename
=$
(basename "$PYTHON")
9072 cat >>confdefs.h
<<_ACEOF
9073 #define PYTHON_BASENAME "${python_basename}"
9076 # AM_PATH_PYTHON defines 'pyexecdir'. Make sure the python and
9077 # pyexecdir variables get sent down to the subconfigure in the
9078 # testsuite directory.
9079 as_fn_append ac_configure_args
" python='$PYTHON' pyexecdir='$pyexecdir'"
9081 # Now let's try to find python version 3.
9082 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$python_unknown_version" = "x3"; then
9083 # Extract the first word of "python", so it can be a program name with args.
9084 set dummy python
; ac_word
=$2
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9086 $as_echo_n "checking for $ac_word... " >&6; }
9087 if ${ac_cv_path_PYTHON3+:} false
; then :
9088 $as_echo_n "(cached) " >&6
9092 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9099 test -z "$as_dir" && as_dir
=.
9100 for ac_exec_ext
in '' $ac_executable_extensions; do
9101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9102 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9113 PYTHON3
=$ac_cv_path_PYTHON3
9114 if test -n "$PYTHON3"; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9116 $as_echo "$PYTHON3" >&6; }
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9119 $as_echo "no" >&6; }
9124 for ac_prog
in python3 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0
9126 # Extract the first word of "$ac_prog", so it can be a program name with args.
9127 set dummy
$ac_prog; ac_word
=$2
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129 $as_echo_n "checking for $ac_word... " >&6; }
9130 if ${ac_cv_path_PYTHON3+:} false
; then :
9131 $as_echo_n "(cached) " >&6
9135 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9142 test -z "$as_dir" && as_dir
=.
9143 for ac_exec_ext
in '' $ac_executable_extensions; do
9144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9145 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9156 PYTHON3
=$ac_cv_path_PYTHON3
9157 if test -n "$PYTHON3"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9159 $as_echo "$PYTHON3" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9162 $as_echo "no" >&6; }
9166 test -n "$PYTHON3" && break
9170 python3_basename
=$
(basename "$PYTHON3")
9172 cat >>confdefs.h
<<_ACEOF
9173 #define PYTHON3_BASENAME "${python3_basename}"
9177 # If we found python version 3, set up the other variables for python
9178 # version 3 that AM_PATH_PYTHON sets up for python version 2.
9179 if test -n "$PYTHON3"; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 version" >&5
9181 $as_echo_n "checking for python3 version... " >&6; }
9182 if ${ac_cv_python3_version+:} false
; then :
9183 $as_echo_n "(cached) " >&6
9185 ac_cv_python3_version
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.version[:3])"`
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_version" >&5
9188 $as_echo "$ac_cv_python3_version" >&6; }
9189 PYTHON3_VERSION
=$ac_cv_python3_version
9191 PYTHON3_PREFIX
='${prefix}'
9193 PYTHON3_EXEC_PREFIX
='${exec_prefix}'
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 platform" >&5
9196 $as_echo_n "checking for python3 platform... " >&6; }
9197 if ${ac_cv_python3_platform+:} false
; then :
9198 $as_echo_n "(cached) " >&6
9200 ac_cv_python3_platform
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.platform)"`
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_platform" >&5
9203 $as_echo "$ac_cv_python3_platform" >&6; }
9204 PYTHON3_PLATFORM
=$ac_cv_python3_platform
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 script directory" >&5
9208 $as_echo_n "checking for python3 script directory... " >&6; }
9209 if ${ac_cv_python3_dir+:} false
; then :
9210 $as_echo_n "(cached) " >&6
9212 ac_cv_python3_dir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(0,0,prefix='$PYTHON3_PREFIX'))"`
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_dir" >&5
9215 $as_echo "$ac_cv_python3_dir" >&6; }
9216 python3dir
=$ac_cv_python3_dir
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 extension module directory" >&5
9220 $as_echo_n "checking for python3 extension module directory... " >&6; }
9221 if ${ac_cv_py3execdir+:} false
; then :
9222 $as_echo_n "(cached) " >&6
9224 ac_cv_py3execdir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='$PYTHON3_EXEC_PREFIX'))"`
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_py3execdir" >&5
9227 $as_echo "$ac_cv_py3execdir" >&6; }
9228 py3execdir
=$ac_cv_py3execdir
9231 # Make sure the python3 and py3execdir variables get sent down to
9232 # the subconfigure in the testsuite directory.
9233 as_fn_append ac_configure_args
" python3='$PYTHON3' py3execdir='$ac_cv_py3execdir'"
9236 if test "${enable_prologues+set}" != set; then
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
9238 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
9239 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
9241 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9242 enable_prologues
=yes
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9244 $as_echo "yes" >&6; }
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9247 $as_echo "no" >&6; }
9250 # Check whether --enable-prologues was given.
9251 if test "${enable_prologues+set}" = set; then :
9252 enableval
=$enable_prologues;
9253 if test "$enable_prologues" = yes; then
9255 $as_echo "#define ENABLE_PROLOGUES /**/" >>confdefs.h
9262 if test "${enable_sdt_probes+set}" != set; then
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
9264 $as_echo_n "checking to see if sdt probes should be the default... " >&6; }
9265 if { echo '#if __GNUC__ < 4'
9267 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9268 enable_sdt_probes
=no
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9270 $as_echo "no" >&6; }
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9273 $as_echo "yes" >&6; }
9276 # Check whether --enable-sdt-probes was given.
9277 if test "${enable_sdt_probes+set}" = set; then :
9278 enableval
=$enable_sdt_probes;
9281 if test "x$enable_sdt_probes" != xno
; then :
9284 $as_echo "#define ENABLE_SDT_PROBES 1" >>confdefs.h
9290 ax_cxx_compile_cxx11_required
=false
9292 ac_cpp
='$CXXCPP $CPPFLAGS'
9293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
9298 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
9299 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
9300 $as_echo_n "(cached) " >&6
9302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9306 // If the compiler admits that it is not ready for C++11, why torture it?
9307 // Hopefully, this will speed up the test.
9311 #error "This is not a C++ compiler"
9313 #elif __cplusplus < 201103L
9315 #error "This is not a C++11 compiler"
9322 namespace test_static_assert
9325 template <typename T>
9328 static_assert(sizeof(int) <= sizeof(T), "not big enough");
9333 namespace test_final_override
9341 struct Derived : public Base
9343 virtual void f() override {}
9348 namespace test_double_right_angle_brackets
9351 template < typename T >
9354 typedef check<void> single_type;
9355 typedef check<check<void>> double_type;
9356 typedef check<check<check<void>>> triple_type;
9357 typedef check<check<check<check<void>>>> quadruple_type;
9361 namespace test_decltype
9374 namespace test_type_deduction
9377 template < typename T1, typename T2 >
9380 static const bool value = false;
9383 template < typename T >
9384 struct is_same<T, T>
9386 static const bool value = true;
9389 template < typename T1, typename T2 >
9391 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9397 test(const int c, volatile int v)
9399 static_assert(is_same<int, decltype(0)>::value == true, "");
9400 static_assert(is_same<int, decltype(c)>::value == false, "");
9401 static_assert(is_same<int, decltype(v)>::value == false, "");
9404 auto sumi = ac + av + 'x';
9405 auto sumf = ac + av + 1.0;
9406 static_assert(is_same<int, decltype(ac)>::value == true, "");
9407 static_assert(is_same<int, decltype(av)>::value == true, "");
9408 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9409 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9410 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9411 return (sumf > 0.0) ? sumi : add(c, v);
9416 namespace test_noexcept
9419 int f() { return 0; }
9420 int g() noexcept { return 0; }
9422 static_assert(noexcept(f()) == false, "");
9423 static_assert(noexcept(g()) == true, "");
9427 namespace test_constexpr
9430 template < typename CharT >
9431 unsigned long constexpr
9432 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9434 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9437 template < typename CharT >
9438 unsigned long constexpr
9439 strlen_c(const CharT *const s) noexcept
9441 return strlen_c_r(s, 0UL);
9444 static_assert(strlen_c("") == 0UL, "");
9445 static_assert(strlen_c("1") == 1UL, "");
9446 static_assert(strlen_c("example") == 7UL, "");
9447 static_assert(strlen_c("another\0example") == 7UL, "");
9451 namespace test_rvalue_references
9457 static constexpr int value = N;
9460 answer<1> f(int&) { return answer<1>(); }
9461 answer<2> f(const int&) { return answer<2>(); }
9462 answer<3> f(int&&) { return answer<3>(); }
9469 static_assert(decltype(f(i))::value == 1, "");
9470 static_assert(decltype(f(c))::value == 2, "");
9471 static_assert(decltype(f(0))::value == 3, "");
9476 namespace test_uniform_initialization
9481 static const int zero {};
9482 static const int one {1};
9485 static_assert(test::zero == 0, "");
9486 static_assert(test::one == 1, "");
9490 namespace test_lambdas
9496 auto lambda1 = [](){};
9497 auto lambda2 = lambda1;
9505 auto a = [](int i, int j){ return i + j; }(1, 2);
9506 auto b = []() -> int { return '0'; }();
9507 auto c = [=](){ return a + b; }();
9508 auto d = [&](){ return c; }();
9509 auto e = [a, &b](int x) mutable {
9510 const auto identity = [](int y){ return y; };
9511 for (auto i = 0; i < a; ++i)
9513 return x + identity(a + b);
9515 return a + b + c + d + e;
9521 const auto nullary = [](){ return 0; };
9522 const auto unary = [](int x){ return x; };
9523 using nullary_t = decltype(nullary);
9524 using unary_t = decltype(unary);
9525 const auto higher1st = [](nullary_t f){ return f(); };
9526 const auto higher2nd = [unary](nullary_t f1){
9527 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9529 return higher1st(nullary) + higher2nd(nullary)(unary);
9534 namespace test_variadic_templates
9540 template <int N0, int... N1toN>
9541 struct sum<N0, N1toN...>
9543 static constexpr auto value = N0 + sum<N1toN...>::value;
9549 static constexpr auto value = 0;
9552 static_assert(sum<>::value == 0, "");
9553 static_assert(sum<1>::value == 1, "");
9554 static_assert(sum<23>::value == 23, "");
9555 static_assert(sum<1, 2>::value == 3, "");
9556 static_assert(sum<5, 5, 11>::value == 21, "");
9557 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9561 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9562 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9564 namespace test_template_alias_sfinae
9569 template<typename T>
9570 using member = typename T::member_type;
9572 template<typename T>
9575 template<typename T>
9576 void func(member<T>*) {}
9580 void test() { func<foo>(0); }
9584 } // namespace cxx11
9586 #endif // __cplusplus >= 201103L
9591 if ac_fn_cxx_try_compile
"$LINENO"; then :
9592 ax_cv_cxx_compile_cxx11
=yes
9594 ax_cv_cxx_compile_cxx11
=no
9596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
9599 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
9600 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
9606 if test x
$ac_success = xno
; then
9607 for switch
in -std=c
++11 -std=c
++0x
+std
=c
++11 "-h std=c++11"; do
9608 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
9610 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
9611 if eval \
${$cachevar+:} false
; then :
9612 $as_echo_n "(cached) " >&6
9616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9620 // If the compiler admits that it is not ready for C++11, why torture it?
9621 // Hopefully, this will speed up the test.
9625 #error "This is not a C++ compiler"
9627 #elif __cplusplus < 201103L
9629 #error "This is not a C++11 compiler"
9636 namespace test_static_assert
9639 template <typename T>
9642 static_assert(sizeof(int) <= sizeof(T), "not big enough");
9647 namespace test_final_override
9655 struct Derived : public Base
9657 virtual void f() override {}
9662 namespace test_double_right_angle_brackets
9665 template < typename T >
9668 typedef check<void> single_type;
9669 typedef check<check<void>> double_type;
9670 typedef check<check<check<void>>> triple_type;
9671 typedef check<check<check<check<void>>>> quadruple_type;
9675 namespace test_decltype
9688 namespace test_type_deduction
9691 template < typename T1, typename T2 >
9694 static const bool value = false;
9697 template < typename T >
9698 struct is_same<T, T>
9700 static const bool value = true;
9703 template < typename T1, typename T2 >
9705 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9711 test(const int c, volatile int v)
9713 static_assert(is_same<int, decltype(0)>::value == true, "");
9714 static_assert(is_same<int, decltype(c)>::value == false, "");
9715 static_assert(is_same<int, decltype(v)>::value == false, "");
9718 auto sumi = ac + av + 'x';
9719 auto sumf = ac + av + 1.0;
9720 static_assert(is_same<int, decltype(ac)>::value == true, "");
9721 static_assert(is_same<int, decltype(av)>::value == true, "");
9722 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9723 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9724 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9725 return (sumf > 0.0) ? sumi : add(c, v);
9730 namespace test_noexcept
9733 int f() { return 0; }
9734 int g() noexcept { return 0; }
9736 static_assert(noexcept(f()) == false, "");
9737 static_assert(noexcept(g()) == true, "");
9741 namespace test_constexpr
9744 template < typename CharT >
9745 unsigned long constexpr
9746 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9748 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9751 template < typename CharT >
9752 unsigned long constexpr
9753 strlen_c(const CharT *const s) noexcept
9755 return strlen_c_r(s, 0UL);
9758 static_assert(strlen_c("") == 0UL, "");
9759 static_assert(strlen_c("1") == 1UL, "");
9760 static_assert(strlen_c("example") == 7UL, "");
9761 static_assert(strlen_c("another\0example") == 7UL, "");
9765 namespace test_rvalue_references
9771 static constexpr int value = N;
9774 answer<1> f(int&) { return answer<1>(); }
9775 answer<2> f(const int&) { return answer<2>(); }
9776 answer<3> f(int&&) { return answer<3>(); }
9783 static_assert(decltype(f(i))::value == 1, "");
9784 static_assert(decltype(f(c))::value == 2, "");
9785 static_assert(decltype(f(0))::value == 3, "");
9790 namespace test_uniform_initialization
9795 static const int zero {};
9796 static const int one {1};
9799 static_assert(test::zero == 0, "");
9800 static_assert(test::one == 1, "");
9804 namespace test_lambdas
9810 auto lambda1 = [](){};
9811 auto lambda2 = lambda1;
9819 auto a = [](int i, int j){ return i + j; }(1, 2);
9820 auto b = []() -> int { return '0'; }();
9821 auto c = [=](){ return a + b; }();
9822 auto d = [&](){ return c; }();
9823 auto e = [a, &b](int x) mutable {
9824 const auto identity = [](int y){ return y; };
9825 for (auto i = 0; i < a; ++i)
9827 return x + identity(a + b);
9829 return a + b + c + d + e;
9835 const auto nullary = [](){ return 0; };
9836 const auto unary = [](int x){ return x; };
9837 using nullary_t = decltype(nullary);
9838 using unary_t = decltype(unary);
9839 const auto higher1st = [](nullary_t f){ return f(); };
9840 const auto higher2nd = [unary](nullary_t f1){
9841 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9843 return higher1st(nullary) + higher2nd(nullary)(unary);
9848 namespace test_variadic_templates
9854 template <int N0, int... N1toN>
9855 struct sum<N0, N1toN...>
9857 static constexpr auto value = N0 + sum<N1toN...>::value;
9863 static constexpr auto value = 0;
9866 static_assert(sum<>::value == 0, "");
9867 static_assert(sum<1>::value == 1, "");
9868 static_assert(sum<23>::value == 23, "");
9869 static_assert(sum<1, 2>::value == 3, "");
9870 static_assert(sum<5, 5, 11>::value == 21, "");
9871 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9875 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9876 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9878 namespace test_template_alias_sfinae
9883 template<typename T>
9884 using member = typename T::member_type;
9886 template<typename T>
9889 template<typename T>
9890 void func(member<T>*) {}
9894 void test() { func<foo>(0); }
9898 } // namespace cxx11
9900 #endif // __cplusplus >= 201103L
9905 if ac_fn_cxx_try_compile
"$LINENO"; then :
9910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9913 eval ac_res
=\$
$cachevar
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9915 $as_echo "$ac_res" >&6; }
9916 if eval test x\$
$cachevar = xyes
; then
9924 ac_cpp
='$CPP $CPPFLAGS'
9925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9929 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
9930 if test x
$ac_success = xno
; then
9931 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
9934 if test x
$ac_success = xno
; then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
9937 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
9941 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
9946 if test "x$HAVE_CXX11" != x1
; then :
9949 ac_cpp
='$CXXCPP $CPPFLAGS'
9950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -std=c++0x" >&5
9955 $as_echo_n "checking whether C++ compiler accepts -std=c++0x... " >&6; }
9956 if ${ax_cv_check_cxxflags___std_cpp0x+:} false
; then :
9957 $as_echo_n "(cached) " >&6
9960 ax_check_save_flags
=$CXXFLAGS
9961 CXXFLAGS
="$CXXFLAGS -std=c++0x"
9962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9973 if ac_fn_cxx_try_compile
"$LINENO"; then :
9974 ax_cv_check_cxxflags___std_cpp0x
=yes
9976 ax_cv_check_cxxflags___std_cpp0x
=no
9978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9979 CXXFLAGS
=$ax_check_save_flags
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___std_cpp0x" >&5
9982 $as_echo "$ax_cv_check_cxxflags___std_cpp0x" >&6; }
9983 if test "x$ax_cv_check_cxxflags___std_cpp0x" = xyes
; then :
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with -std=c++0x" >&5
9986 $as_echo "$as_me: Compiling with -std=c++0x" >&6;}
9987 CXX
="$CXX -std=c++0x"
9992 as_fn_error $?
"A compiler with C++11 support is required." "$LINENO" 5
9997 ac_cpp
='$CPP $CPPFLAGS'
9998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10005 # Check whether --enable-ssp was given.
10006 if test "${enable_ssp+set}" = set; then :
10007 enableval
=$enable_ssp;
10010 if test "x$enable_ssp" != xno
; then :
10012 save_CFLAGS
="$CFLAGS"
10013 save_CXXFLAGS
="$CXXFLAGS"
10014 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
10015 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
10016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10020 if ac_fn_c_try_compile
"$LINENO"; then :
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
10023 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
10024 CFLAGS
="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
10025 CXXFLAGS
="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
10029 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
10030 CFLAGS
="$save_CFLAGS"
10031 CXXFLAGS
="$save_CXXFLAGS"
10033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10039 # Compiling without fPIE by default (see PR 9922)
10040 # Check whether --enable-pie was given.
10041 if test "${enable_pie+set}" = set; then :
10042 enableval
=$enable_pie;
10045 if test "x$enable_pie" == xyes
; then :
10048 PIECXXFLAGS
='-fPIE'
10049 PIELDFLAGS
='-pie -Wl,-z,relro -Wl,-z,now'
10050 save_CFLAGS
="$CFLAGS"
10051 save_CXXFLAGS
="$CXXFLAGS"
10052 save_LDFLAGS
="$LDFLAGS"
10053 CFLAGS
="$CFLAGS $PIECFLAGS"
10054 CXXFLAGS
="$CXXFLAGS $PIECXXFLAGS"
10055 LDFLAGS
="$LDFLAGS $PIELDFLAGS"
10056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10057 /* end confdefs.h. */
10060 if ac_fn_c_try_link
"$LINENO"; then :
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
10063 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
10068 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
10074 rm -f core conftest.err conftest.
$ac_objext \
10075 conftest
$ac_exeext conftest.
$ac_ext
10076 CFLAGS
="$save_CFLAGS"
10077 CXXFLAGS
="$save_CXXFLAGS"
10078 LDFLAGS
="$save_LDFLAGS"
10085 # Check whether --enable-sqlite was given.
10086 if test "${enable_sqlite+set}" = set; then :
10087 enableval
=$enable_sqlite;
10089 enable_sqlite
=check
10099 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10100 if test -n "$ac_tool_prefix"; then
10101 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10102 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10104 $as_echo_n "checking for $ac_word... " >&6; }
10105 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10106 $as_echo_n "(cached) " >&6
10108 case $PKG_CONFIG in
10110 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10114 for as_dir
in $PATH
10117 test -z "$as_dir" && as_dir
=.
10118 for ac_exec_ext
in '' $ac_executable_extensions; do
10119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10120 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10131 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10132 if test -n "$PKG_CONFIG"; then
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10134 $as_echo "$PKG_CONFIG" >&6; }
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10137 $as_echo "no" >&6; }
10142 if test -z "$ac_cv_path_PKG_CONFIG"; then
10143 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10144 # Extract the first word of "pkg-config", so it can be a program name with args.
10145 set dummy pkg-config
; ac_word
=$2
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10147 $as_echo_n "checking for $ac_word... " >&6; }
10148 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10149 $as_echo_n "(cached) " >&6
10151 case $ac_pt_PKG_CONFIG in
10153 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10157 for as_dir
in $PATH
10160 test -z "$as_dir" && as_dir
=.
10161 for ac_exec_ext
in '' $ac_executable_extensions; do
10162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10174 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10175 if test -n "$ac_pt_PKG_CONFIG"; then
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10177 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10180 $as_echo "no" >&6; }
10183 if test "x$ac_pt_PKG_CONFIG" = x
; then
10186 case $cross_compiling:$ac_tool_warned in
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10190 ac_tool_warned
=yes ;;
10192 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10195 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10199 if test -n "$PKG_CONFIG"; then
10200 _pkg_min_version
=0.9.0
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10202 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10203 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10205 $as_echo "yes" >&6; }
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10208 $as_echo "no" >&6; }
10212 if test "x$enable_sqlite" != xno
; then :
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
10216 $as_echo_n "checking for sqlite3... " >&6; }
10218 if test -n "$sqlite3_CFLAGS"; then
10219 pkg_cv_sqlite3_CFLAGS
="$sqlite3_CFLAGS"
10220 elif test -n "$PKG_CONFIG"; then
10221 if test -n "$PKG_CONFIG" && \
10222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
10223 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
10225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10226 test $ac_status = 0; }; then
10227 pkg_cv_sqlite3_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3 > 3.7" 2>/dev/null`
10228 test "x$?" != "x0" && pkg_failed
=yes
10235 if test -n "$sqlite3_LIBS"; then
10236 pkg_cv_sqlite3_LIBS
="$sqlite3_LIBS"
10237 elif test -n "$PKG_CONFIG"; then
10238 if test -n "$PKG_CONFIG" && \
10239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
10240 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
10242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10243 test $ac_status = 0; }; then
10244 pkg_cv_sqlite3_LIBS
=`$PKG_CONFIG --libs "sqlite3 > 3.7" 2>/dev/null`
10245 test "x$?" != "x0" && pkg_failed
=yes
10255 if test $pkg_failed = yes; then
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10257 $as_echo "no" >&6; }
10259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10260 _pkg_short_errors_supported
=yes
10262 _pkg_short_errors_supported
=no
10264 if test $_pkg_short_errors_supported = yes; then
10265 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
10267 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
10269 # Put the nasty error message in config.log where it belongs
10270 echo "$sqlite3_PKG_ERRORS" >&5
10272 if test "x$enable_sqlite" != xcheck
; then
10273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10275 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
10276 See \`config.log' for more details" "$LINENO" 5; }
10278 elif test $pkg_failed = untried
; then
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10280 $as_echo "no" >&6; }
10281 if test "x$enable_sqlite" != xcheck
; then
10282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10284 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
10285 See \`config.log' for more details" "$LINENO" 5; }
10288 sqlite3_CFLAGS
=$pkg_cv_sqlite3_CFLAGS
10289 sqlite3_LIBS
=$pkg_cv_sqlite3_LIBS
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10291 $as_echo "yes" >&6; }
10293 $as_echo "#define HAVE_LIBSQLITE3 1" >>confdefs.h
10298 # Check whether --enable-translator was given.
10299 if test "${enable_translator+set}" = set; then :
10300 enableval
=$enable_translator;
10302 enable_translator
="yes"
10305 if test "$enable_translator" == "yes"; then
10306 BUILD_TRANSLATOR_TRUE
=
10307 BUILD_TRANSLATOR_FALSE
='#'
10309 BUILD_TRANSLATOR_TRUE
='#'
10310 BUILD_TRANSLATOR_FALSE
=
10314 # Check whether --enable-crash was given.
10315 if test "${enable_crash+set}" = set; then :
10316 enableval
=$enable_crash; if test "$enable_crash" != "no"; then
10317 save_CPPFLAGS
="$CPPFLAGS"
10318 if test "$enable_crash" != "yes"; then
10319 staplog_CPPFLAGS
=-I$enable_crash
10320 CPPFLAGS
="${staplog_CPPFLAGS} $CPPFLAGS"
10323 for ac_header
in crash
/defs.h
10325 ac_fn_c_check_header_compile
"$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
10326 #define NR_CPUS 256
10329 if test "x$ac_cv_header_crash_defs_h" = xyes
; then :
10330 cat >>confdefs.h
<<_ACEOF
10331 #define HAVE_CRASH_DEFS_H 1
10335 as_fn_error $?
"cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
10340 CPPFLAGS
="$save_CPPFLAGS"
10346 if test "$enable_crash" != "no"; then
10347 BUILD_CRASHMOD_TRUE
=
10348 BUILD_CRASHMOD_FALSE
='#'
10350 BUILD_CRASHMOD_TRUE
='#'
10351 BUILD_CRASHMOD_FALSE
=
10356 # Check whether --enable-docs was given.
10357 if test "${enable_docs+set}" = set; then :
10358 enableval
=$enable_docs; enable_docs
=$enableval
10360 enable_docs
="check"
10363 # Extract the first word of "latex", so it can be a program name with args.
10364 set dummy latex
; ac_word
=$2
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10366 $as_echo_n "checking for $ac_word... " >&6; }
10367 if ${ac_cv_prog_have_latex+:} false
; then :
10368 $as_echo_n "(cached) " >&6
10370 if test -n "$have_latex"; then
10371 ac_cv_prog_have_latex
="$have_latex" # Let the user override the test.
10373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10374 for as_dir
in $PATH
10377 test -z "$as_dir" && as_dir
=.
10378 for ac_exec_ext
in '' $ac_executable_extensions; do
10379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_have_latex
="yes"
10381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10388 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex
="no"
10391 have_latex
=$ac_cv_prog_have_latex
10392 if test -n "$have_latex"; then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
10394 $as_echo "$have_latex" >&6; }
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10397 $as_echo "no" >&6; }
10401 # Extract the first word of "dvips", so it can be a program name with args.
10402 set dummy dvips
; ac_word
=$2
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10404 $as_echo_n "checking for $ac_word... " >&6; }
10405 if ${ac_cv_prog_have_dvips+:} false
; then :
10406 $as_echo_n "(cached) " >&6
10408 if test -n "$have_dvips"; then
10409 ac_cv_prog_have_dvips
="$have_dvips" # Let the user override the test.
10411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10412 for as_dir
in $PATH
10415 test -z "$as_dir" && as_dir
=.
10416 for ac_exec_ext
in '' $ac_executable_extensions; do
10417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10418 ac_cv_prog_have_dvips
="yes"
10419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10426 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips
="no"
10429 have_dvips
=$ac_cv_prog_have_dvips
10430 if test -n "$have_dvips"; then
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
10432 $as_echo "$have_dvips" >&6; }
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10435 $as_echo "no" >&6; }
10439 # Extract the first word of "ps2pdf", so it can be a program name with args.
10440 set dummy ps2pdf
; ac_word
=$2
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10442 $as_echo_n "checking for $ac_word... " >&6; }
10443 if ${ac_cv_prog_have_ps2pdf+:} false
; then :
10444 $as_echo_n "(cached) " >&6
10446 if test -n "$have_ps2pdf"; then
10447 ac_cv_prog_have_ps2pdf
="$have_ps2pdf" # Let the user override the test.
10449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10450 for as_dir
in $PATH
10453 test -z "$as_dir" && as_dir
=.
10454 for ac_exec_ext
in '' $ac_executable_extensions; do
10455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10456 ac_cv_prog_have_ps2pdf
="yes"
10457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10464 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf
="no"
10467 have_ps2pdf
=$ac_cv_prog_have_ps2pdf
10468 if test -n "$have_ps2pdf"; then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
10470 $as_echo "$have_ps2pdf" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10473 $as_echo "no" >&6; }
10477 if test "x${have_latex}${have_dvips}${have_ps2pdf}" != "xyesyesyes"; then
10478 if test "$enable_docs" == "yes"; then
10479 as_fn_error $?
"cannot find all tools for building documentation" "$LINENO" 5
10481 if test "$enable_docs" == "check"; then
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
10483 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
10486 if test "x${have_latex}${have_dvips}${have_ps2pdf}" == "xyesyesyes" -a "$enable_docs" != "no"; then
10487 building_docs
="yes"
10489 if test "$building_docs" == "yes"; then
10491 BUILD_DOCS_FALSE
='#'
10493 BUILD_DOCS_TRUE
='#'
10499 building_refdocs
="no"
10500 # Check whether --enable-refdocs was given.
10501 if test "${enable_refdocs+set}" = set; then :
10502 enableval
=$enable_refdocs; enable_refdocs
=$enableval
10504 enable_refdocs
="check"
10507 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
10508 as_fn_error $?
"must use --enable-docs with --enable-refdocs" "$LINENO" 5
10510 if test "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
10511 building_refdocs
="yes"
10513 if test "$building_refdocs" == "yes"; then
10514 BUILD_REFDOCS_TRUE
=
10515 BUILD_REFDOCS_FALSE
='#'
10517 BUILD_REFDOCS_TRUE
='#'
10518 BUILD_REFDOCS_FALSE
=
10522 # Extract the first word of "xmlto", so it can be a program name with args.
10523 set dummy xmlto
; ac_word
=$2
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10525 $as_echo_n "checking for $ac_word... " >&6; }
10526 if ${ac_cv_prog_have_xmlto+:} false
; then :
10527 $as_echo_n "(cached) " >&6
10529 if test -n "$have_xmlto"; then
10530 ac_cv_prog_have_xmlto
="$have_xmlto" # Let the user override the test.
10532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10533 for as_dir
in $PATH
10536 test -z "$as_dir" && as_dir
=.
10537 for ac_exec_ext
in '' $ac_executable_extensions; do
10538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10539 ac_cv_prog_have_xmlto
="yes"
10540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10547 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto
="no"
10550 have_xmlto
=$ac_cv_prog_have_xmlto
10551 if test -n "$have_xmlto"; then
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
10553 $as_echo "$have_xmlto" >&6; }
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10556 $as_echo "no" >&6; }
10560 # Extract the first word of "fop", so it can be a program name with args.
10561 set dummy fop
; ac_word
=$2
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10563 $as_echo_n "checking for $ac_word... " >&6; }
10564 if ${ac_cv_prog_have_fop+:} false
; then :
10565 $as_echo_n "(cached) " >&6
10567 if test -n "$have_fop"; then
10568 ac_cv_prog_have_fop
="$have_fop" # Let the user override the test.
10570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10571 for as_dir
in $PATH
10574 test -z "$as_dir" && as_dir
=.
10575 for ac_exec_ext
in '' $ac_executable_extensions; do
10576 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10577 ac_cv_prog_have_fop
="yes"
10578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10585 test -z "$ac_cv_prog_have_fop" && ac_cv_prog_have_fop
="no"
10588 have_fop
=$ac_cv_prog_have_fop
10589 if test -n "$have_fop"; then
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_fop" >&5
10591 $as_echo "$have_fop" >&6; }
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10594 $as_echo "no" >&6; }
10598 if test "x${have_fop}" == "xyes"; then
10599 # Due to rhbz505364 / 830266, we must actually test-run fop, not just
10600 # hope that it works.
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if xmlto --with-fop actually works" >&5
10602 $as_echo_n "checking to see if xmlto --with-fop actually works... " >&6; }
10603 if xmlto
--with-fop pdf
${srcdir}/doc
/SystemTap_Tapset_Reference
/dummy-tapsets.xml
>/dev
/null
2>&1; then
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10605 $as_echo "yes" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: it's dead, Jim" >&5
10608 $as_echo "it's dead, Jim" >&6; }
10611 rm -f dummy-tapsets.pdf
10613 if test "$have_fop" == "yes"; then
10621 if test "$have_xmlto" == "yes"; then
10623 HAVE_XMLTO_FALSE
='#'
10625 HAVE_XMLTO_TRUE
='#'
10630 building_htmldocs
="no"
10631 # Check whether --enable-htmldocs was given.
10632 if test "${enable_htmldocs+set}" = set; then :
10633 enableval
=$enable_htmldocs; building_htmldocs
=$enableval
10635 building_htmldocs
="no"
10638 if test "$have_xmlto" == "no" -a "$building_htmldocs" == "yes"; then
10639 as_fn_error $?
"xmlto required for building html documentation" "$LINENO" 5
10642 if test "$building_htmldocs" == "yes"; then
10643 BUILD_HTMLDOCS_TRUE
=
10644 BUILD_HTMLDOCS_FALSE
='#'
10646 BUILD_HTMLDOCS_TRUE
='#'
10647 BUILD_HTMLDOCS_FALSE
=
10651 cat > conftest.xml
<< 'EOF'
10652 <?xml version
="1.0" encoding
="UTF-8"?
>
10653 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN"
10654 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
10656 <bookinfo
><title
>foo
</title
></bookinfo
>
10657 <chapter id
="logging.stp"><title
>Logging Tapset
</title
>
10658 <refentry id
="API-log"><refnamediv
><refname
>log
</refname
>
10659 <refpurpose
>logging
</refpurpose
></refnamediv
>
10660 <refsect1
><title
>Description
</title
>
10661 <para
>baz
</para
></refsect1
></refentry
></chapter
>
10665 if test "x${have_xmlto}" == "xyes"; then
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
10667 $as_echo_n "checking for xmlto --stringparam support... " >&6; }
10668 xmlto
--stringparam man.authors.section.enabled
=0 html-nochunks conftest.xml
>/dev
/null
2>&1
10669 if test $?
== 0; then
10670 have_xmlto_stringparam
="yes"
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10672 $as_echo "yes" >&6; }
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10675 $as_echo "no" >&6; }
10677 rm -f conftest.html
10679 if test "$have_xmlto_stringparam" == "yes"; then
10680 XMLTO_STRINGPARAM_TRUE
=
10681 XMLTO_STRINGPARAM_FALSE
='#'
10683 XMLTO_STRINGPARAM_TRUE
='#'
10684 XMLTO_STRINGPARAM_FALSE
=
10691 # Check whether --with-nss was given.
10692 if test "${with_nss+set}" = set; then :
10697 if test "x$with_nss" != "xno"; then :
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
10702 $as_echo_n "checking for nss... " >&6; }
10704 if test -n "$nss_CFLAGS"; then
10705 pkg_cv_nss_CFLAGS
="$nss_CFLAGS"
10706 elif test -n "$PKG_CONFIG"; then
10707 if test -n "$PKG_CONFIG" && \
10708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10709 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10712 test $ac_status = 0; }; then
10713 pkg_cv_nss_CFLAGS
=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev/null`
10714 test "x$?" != "x0" && pkg_failed
=yes
10721 if test -n "$nss_LIBS"; then
10722 pkg_cv_nss_LIBS
="$nss_LIBS"
10723 elif test -n "$PKG_CONFIG"; then
10724 if test -n "$PKG_CONFIG" && \
10725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10726 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10729 test $ac_status = 0; }; then
10730 pkg_cv_nss_LIBS
=`$PKG_CONFIG --libs "nss >= 3" 2>/dev/null`
10731 test "x$?" != "x0" && pkg_failed
=yes
10741 if test $pkg_failed = yes; then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10743 $as_echo "no" >&6; }
10745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10746 _pkg_short_errors_supported
=yes
10748 _pkg_short_errors_supported
=no
10750 if test $_pkg_short_errors_supported = yes; then
10751 nss_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= 3" 2>&1`
10753 nss_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "nss >= 3" 2>&1`
10755 # Put the nasty error message in config.log where it belongs
10756 echo "$nss_PKG_ERRORS" >&5
10759 elif test $pkg_failed = untried
; then
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10761 $as_echo "no" >&6; }
10764 nss_CFLAGS
=$pkg_cv_nss_CFLAGS
10765 nss_LIBS
=$pkg_cv_nss_LIBS
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10767 $as_echo "yes" >&6; }
10770 $as_echo "#define HAVE_NSS 1" >>confdefs.h
10779 if test "${have_nss}" = "yes"; then
10789 # Check whether --with-dracutstap was given.
10790 if test "${with_dracutstap+set}" = set; then :
10791 withval
=$with_dracutstap;
10794 if test "x$with_dracutstap" != "x"; then :
10795 dracutstap
="$with_dracutstap"
10797 dracutstap
=/usr
/lib
/dracut
/modules.d
/99stap
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut module directory $dracutstap" >&5
10800 $as_echo "$as_me: using dracut module directory $dracutstap" >&6;}
10804 # Check whether --with-dracutbindir was given.
10805 if test "${with_dracutbindir+set}" = set; then :
10806 withval
=$with_dracutbindir;
10809 if test "x$with_dracutbindir" != "x"; then :
10810 dracutbindir
="$with_dracutbindir"
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut binary $dracutbindir" >&5
10815 $as_echo "$as_me: using dracut binary $dracutbindir" >&6;}
10818 # Check whether --enable-server was given.
10819 if test "${enable_server+set}" = set; then :
10820 enableval
=$enable_server; enable_server
=$enableval
10822 enable_server
="check"
10826 if test "$enable_server" != "no"; then
10827 if test "x${have_nss}" != "xyes"; then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss headers" >&5
10829 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss headers" >&2;}
10832 if test "${have_nss}" == "yes" -a "$enable_server" != "no"; then
10834 BUILD_SERVER_FALSE
='#'
10836 BUILD_SERVER_TRUE
='#'
10837 BUILD_SERVER_FALSE
=
10841 if test "${have_nss}" != "yes"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&5
10843 $as_echo "$as_me: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&2;}
10847 # Check whether --with-avahi was given.
10848 if test "${with_avahi+set}" = set; then :
10849 withval
=$with_avahi;
10853 if test "x$with_avahi" != "xno"; then :
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
10858 $as_echo_n "checking for avahi... " >&6; }
10860 if test -n "$avahi_CFLAGS"; then
10861 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
10862 elif test -n "$PKG_CONFIG"; then
10863 if test -n "$PKG_CONFIG" && \
10864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10865 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10868 test $ac_status = 0; }; then
10869 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
10870 test "x$?" != "x0" && pkg_failed
=yes
10877 if test -n "$avahi_LIBS"; then
10878 pkg_cv_avahi_LIBS
="$avahi_LIBS"
10879 elif test -n "$PKG_CONFIG"; then
10880 if test -n "$PKG_CONFIG" && \
10881 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10882 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10885 test $ac_status = 0; }; then
10886 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
10887 test "x$?" != "x0" && pkg_failed
=yes
10897 if test $pkg_failed = yes; then
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10899 $as_echo "no" >&6; }
10901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10902 _pkg_short_errors_supported
=yes
10904 _pkg_short_errors_supported
=no
10906 if test $_pkg_short_errors_supported = yes; then
10907 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
10909 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
10911 # Put the nasty error message in config.log where it belongs
10912 echo "$avahi_PKG_ERRORS" >&5
10915 elif test $pkg_failed = untried
; then
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10917 $as_echo "no" >&6; }
10920 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
10921 avahi_LIBS
=$pkg_cv_avahi_LIBS
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10923 $as_echo "yes" >&6; }
10926 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
10935 if test "${have_avahi}" = "yes"; then
10937 HAVE_AVAHI_FALSE
='#'
10939 HAVE_AVAHI_TRUE
='#'
10944 if test "${have_avahi}" != "yes"; then
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&5
10946 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&2;}
10951 # Check whether --with-rpm was given.
10952 if test "${with_rpm+set}" = set; then :
10958 if test "$with_rpm" != "no"; then
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
10960 $as_echo_n "checking for rpmtsInitIterator in -lrpm... " >&6; }
10961 if ${ac_cv_lib_rpm_rpmtsInitIterator+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_lib_save_LIBS
=$LIBS
10966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10975 char rpmtsInitIterator ();
10979 return rpmtsInitIterator ();
10984 if ac_fn_c_try_link
"$LINENO"; then :
10985 ac_cv_lib_rpm_rpmtsInitIterator
=yes
10987 ac_cv_lib_rpm_rpmtsInitIterator
=no
10989 rm -f core conftest.err conftest.
$ac_objext \
10990 conftest
$ac_exeext conftest.
$ac_ext
10991 LIBS
=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
10994 $as_echo "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
10995 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = xyes
; then :
10998 $as_echo "#define HAVE_LIBRPM 1" >>confdefs.h
11000 stap_LIBS
="$stap_LIBS -lc -lrpm"
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmdbNextIterator in -lrpmdb" >&5
11007 $as_echo_n "checking for rpmdbNextIterator in -lrpmdb... " >&6; }
11008 if ${ac_cv_lib_rpmdb_rpmdbNextIterator+:} false
; then :
11009 $as_echo_n "(cached) " >&6
11011 ac_check_lib_save_LIBS
=$LIBS
11012 LIBS
="-lrpmdb $LIBS"
11013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11014 /* end confdefs.h. */
11016 /* Override any GCC internal prototype to avoid an error.
11017 Use char because int might match the return type of a GCC
11018 builtin and then its argument prototype would still apply. */
11022 char rpmdbNextIterator ();
11026 return rpmdbNextIterator ();
11031 if ac_fn_c_try_link
"$LINENO"; then :
11032 ac_cv_lib_rpmdb_rpmdbNextIterator
=yes
11034 ac_cv_lib_rpmdb_rpmdbNextIterator
=no
11036 rm -f core conftest.err conftest.
$ac_objext \
11037 conftest
$ac_exeext conftest.
$ac_ext
11038 LIBS
=$ac_check_lib_save_LIBS
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmdb_rpmdbNextIterator" >&5
11041 $as_echo "$ac_cv_lib_rpmdb_rpmdbNextIterator" >&6; }
11042 if test "x$ac_cv_lib_rpmdb_rpmdbNextIterator" = xyes
; then :
11044 stap_LIBS
="$stap_LIBS -lrpmdb"
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
11048 $as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
11049 if ${ac_cv_lib_rpmio_rpmFreeCrypto+:} false
; then :
11050 $as_echo_n "(cached) " >&6
11052 ac_check_lib_save_LIBS
=$LIBS
11053 LIBS
="-lrpmio $LIBS"
11054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11057 /* Override any GCC internal prototype to avoid an error.
11058 Use char because int might match the return type of a GCC
11059 builtin and then its argument prototype would still apply. */
11063 char rpmFreeCrypto ();
11067 return rpmFreeCrypto ();
11072 if ac_fn_c_try_link
"$LINENO"; then :
11073 ac_cv_lib_rpmio_rpmFreeCrypto
=yes
11075 ac_cv_lib_rpmio_rpmFreeCrypto
=no
11077 rm -f core conftest.err conftest.
$ac_objext \
11078 conftest
$ac_exeext conftest.
$ac_ext
11079 LIBS
=$ac_check_lib_save_LIBS
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
11082 $as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
11083 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = xyes
; then :
11086 $as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
11088 stap_LIBS
="$stap_LIBS -lc -lrpmio"
11089 have_librpmio
="yes"
11094 if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
11095 as_fn_error $?
"cannot find librpm" "$LINENO" 5
11097 if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
11099 $as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
11103 LIBS_no_readline
=$LIBS
11105 have_libreadline
="no"
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
11107 $as_echo_n "checking how to link readline libs... " >&6; }
11108 for libtermcap
in "" tinfo ncursesw ncurses curses termcap
; do
11109 if test -z "$libtermcap"; then
11110 READLINE_LIBS
="-lreadline"
11112 READLINE_LIBS
="-lreadline -l$libtermcap"
11114 LIBS
="$READLINE_LIBS $LIBS_no_readline"
11115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11128 return readline ();
11133 if ac_fn_c_try_link
"$LINENO"; then :
11134 have_libreadline
="yes"
11136 rm -f core conftest.err conftest.
$ac_objext \
11137 conftest
$ac_exeext conftest.
$ac_ext
11138 if test "$have_libreadline" = "yes"; then
11142 if test "$have_libreadline" = "no"; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11144 $as_echo "none" >&6; }
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
11148 $as_echo "$READLINE_LIBS" >&6; }
11150 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
11154 if test "$have_libreadline" == "yes"; then
11155 HAVE_LIBREADLINE_TRUE
=
11156 HAVE_LIBREADLINE_FALSE
='#'
11158 HAVE_LIBREADLINE_TRUE
='#'
11159 HAVE_LIBREADLINE_FALSE
=
11163 LIBS
=$LIBS_no_readline
11166 # Check whether --with-python3 was given.
11167 if test "${with_python3+set}" = set; then :
11168 withval
=$with_python3;
11171 if test "x$with_python3" = "xyes"; then :
11172 if test -z "$PYTHON3"; then :
11173 as_fn_error $?
"python version 3 is required" "$LINENO" 5
11175 preferred_python
=$PYTHON3
11179 if test "x$PYTHON" = "x:"; then :
11180 as_fn_error $?
"python version 2 is required" "$LINENO" 5
11182 preferred_python
=$PYTHON
11189 # Check whether --with-elfutils was given.
11190 if test "${with_elfutils+set}" = set; then :
11191 withval
=$with_elfutils;
11192 case "$with_elfutils" in
11193 yes) as_fn_error $?
"--with-elfutils requires an argument" "$LINENO" 5 ;;
11195 *) build_elfutils
=yes ;;
11199 if test $build_elfutils = yes; then
11200 BUILD_ELFUTILS_TRUE
=
11201 BUILD_ELFUTILS_FALSE
='#'
11203 BUILD_ELFUTILS_TRUE
='#'
11204 BUILD_ELFUTILS_FALSE
=
11207 elfutils_abs_srcdir
=`if test $build_elfutils = yes; then :
11208 cd $with_elfutils && pwd
11212 if test $enable_translator = yes; then
11213 if test $build_elfutils = no
; then
11214 # Need libdwfl-capable recent elfutils http://elfutils.org/
11216 # On modern debian/ubuntu, libebl has been merged into libdw
11217 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ebl_get_elfmachine in -lebl" >&5
11220 $as_echo_n "checking for ebl_get_elfmachine in -lebl... " >&6; }
11221 if ${ac_cv_lib_ebl_ebl_get_elfmachine+:} false
; then :
11222 $as_echo_n "(cached) " >&6
11224 ac_check_lib_save_LIBS
=$LIBS
11226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11235 char ebl_get_elfmachine ();
11239 return ebl_get_elfmachine ();
11244 if ac_fn_c_try_link
"$LINENO"; then :
11245 ac_cv_lib_ebl_ebl_get_elfmachine
=yes
11247 ac_cv_lib_ebl_ebl_get_elfmachine
=no
11249 rm -f core conftest.err conftest.
$ac_objext \
11250 conftest
$ac_exeext conftest.
$ac_ext
11251 LIBS
=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_get_elfmachine" >&5
11254 $as_echo "$ac_cv_lib_ebl_ebl_get_elfmachine" >&6; }
11255 if test "x$ac_cv_lib_ebl_ebl_get_elfmachine" = xyes
; then :
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
11265 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
11266 if ${ac_cv_lib_dw_dwfl_module_getsym+:} false
; then :
11267 $as_echo_n "(cached) " >&6
11269 ac_check_lib_save_LIBS
=$LIBS
11270 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11280 char dwfl_module_getsym ();
11284 return dwfl_module_getsym ();
11289 if ac_fn_c_try_link
"$LINENO"; then :
11290 ac_cv_lib_dw_dwfl_module_getsym
=yes
11292 ac_cv_lib_dw_dwfl_module_getsym
=no
11294 rm -f core conftest.err conftest.
$ac_objext \
11295 conftest
$ac_exeext conftest.
$ac_ext
11296 LIBS
=$ac_check_lib_save_LIBS
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
11299 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
11300 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = xyes
; then :
11301 cat >>confdefs.h
<<_ACEOF
11302 #define HAVE_LIBDW 1
11309 as_fn_error $?
"missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwarf_next_unit in -ldw" >&5
11313 $as_echo_n "checking for dwarf_next_unit in -ldw... " >&6; }
11314 if ${ac_cv_lib_dw_dwarf_next_unit+:} false
; then :
11315 $as_echo_n "(cached) " >&6
11317 ac_check_lib_save_LIBS
=$LIBS
11318 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11328 char dwarf_next_unit ();
11332 return dwarf_next_unit ();
11337 if ac_fn_c_try_link
"$LINENO"; then :
11338 ac_cv_lib_dw_dwarf_next_unit
=yes
11340 ac_cv_lib_dw_dwarf_next_unit
=no
11342 rm -f core conftest.err conftest.
$ac_objext \
11343 conftest
$ac_exeext conftest.
$ac_ext
11344 LIBS
=$ac_check_lib_save_LIBS
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_next_unit" >&5
11347 $as_echo "$ac_cv_lib_dw_dwarf_next_unit" >&6; }
11348 if test "x$ac_cv_lib_dw_dwarf_next_unit" = xyes
; then :
11349 cat >>confdefs.h
<<_ACEOF
11350 #define HAVE_LIBDW 1
11357 as_fn_error $?
"elfutils, libdw too old, need 0.148+" "$LINENO" 5
11360 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
11363 # We built our own and stap_LDFLAGS points at the install.
11364 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
11370 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
11372 # staprun has more modest libelf needs
11373 if test $build_elfutils = no
; then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
11376 $as_echo_n "checking for elf_getshdrstrndx in -lelf... " >&6; }
11377 if ${ac_cv_lib_elf_elf_getshdrstrndx+:} false
; then :
11378 $as_echo_n "(cached) " >&6
11380 ac_check_lib_save_LIBS
=$LIBS
11382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11391 char elf_getshdrstrndx ();
11395 return elf_getshdrstrndx ();
11400 if ac_fn_c_try_link
"$LINENO"; then :
11401 ac_cv_lib_elf_elf_getshdrstrndx
=yes
11403 ac_cv_lib_elf_elf_getshdrstrndx
=no
11405 rm -f core conftest.err conftest.
$ac_objext \
11406 conftest
$ac_exeext conftest.
$ac_ext
11407 LIBS
=$ac_check_lib_save_LIBS
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
11410 $as_echo "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
11411 if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes
; then :
11412 cat >>confdefs.h
<<_ACEOF
11413 #define HAVE_LIBELF 1
11420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11422 as_fn_error $?
"libelf too old, need 0.142+
11423 See \`config.log' for more details" "$LINENO" 5; }
11426 staprun_LIBS
="$staprun_LIBS -lelf"
11429 # We built our own and staprun_LDFLAGS points at the install.
11430 staprun_LIBS
="$staprun_LIBS -lelf"
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: staprun will link $staprun_LIBS" >&5
11435 $as_echo "$as_me: staprun will link $staprun_LIBS" >&6;}
11438 date=`date +%Y-%m-%d`
11440 cat >>confdefs.h
<<_ACEOF
11441 #define DATE "$date"
11447 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
11448 # being compiled on 32-bit userspace but running against 64-bit kernels.
11449 # This is no longer necessary.
11452 ac_cpp
='$CXXCPP $CPPFLAGS'
11453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11457 # Use boost::string_ref if available
11459 ac_cpp
='$CXXCPP $CPPFLAGS'
11460 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11461 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11462 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11464 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11465 if test -z "$CXXCPP"; then
11466 if ${ac_cv_prog_CXXCPP+:} false
; then :
11467 $as_echo_n "(cached) " >&6
11469 # Double quotes because CXXCPP needs to be expanded
11470 for CXXCPP
in "$CXX -E" "/lib/cpp"
11472 ac_preproc_ok
=false
11473 for ac_cxx_preproc_warn_flag
in '' yes
11475 # Use a header file that comes with gcc, so configuring glibc
11476 # with a fresh cross-compiler works.
11477 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11478 # <limits.h> exists even on freestanding compilers.
11479 # On the NeXT, cc -E runs the code through the compiler's parser,
11480 # not just through cpp. "Syntax error" is here to catch this case.
11481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 # include <limits.h>
11486 # include <assert.h>
11490 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11493 # Broken: fails on valid input.
11496 rm -f conftest.err conftest.i conftest.
$ac_ext
11498 # OK, works on sane cases. Now check whether nonexistent headers
11499 # can be detected and how.
11500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11502 #include <ac_nonexistent.h>
11504 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11505 # Broken: success on invalid input.
11508 # Passes both tests.
11512 rm -f conftest.err conftest.i conftest.
$ac_ext
11515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11516 rm -f conftest.i conftest.err conftest.
$ac_ext
11517 if $ac_preproc_ok; then :
11522 ac_cv_prog_CXXCPP
=$CXXCPP
11525 CXXCPP
=$ac_cv_prog_CXXCPP
11527 ac_cv_prog_CXXCPP
=$CXXCPP
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11530 $as_echo "$CXXCPP" >&6; }
11531 ac_preproc_ok
=false
11532 for ac_cxx_preproc_warn_flag
in '' yes
11534 # Use a header file that comes with gcc, so configuring glibc
11535 # with a fresh cross-compiler works.
11536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11537 # <limits.h> exists even on freestanding compilers.
11538 # On the NeXT, cc -E runs the code through the compiler's parser,
11539 # not just through cpp. "Syntax error" is here to catch this case.
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 # include <limits.h>
11545 # include <assert.h>
11549 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11552 # Broken: fails on valid input.
11555 rm -f conftest.err conftest.i conftest.
$ac_ext
11557 # OK, works on sane cases. Now check whether nonexistent headers
11558 # can be detected and how.
11559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11561 #include <ac_nonexistent.h>
11563 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11564 # Broken: success on invalid input.
11567 # Passes both tests.
11571 rm -f conftest.err conftest.i conftest.
$ac_ext
11574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11575 rm -f conftest.i conftest.err conftest.
$ac_ext
11576 if $ac_preproc_ok; then :
11579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11581 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11582 See \`config.log' for more details" "$LINENO" 5; }
11586 ac_cpp
='$CXXCPP $CPPFLAGS'
11587 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11588 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11589 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11592 for ac_header
in boost
/utility
/string_ref.hpp
11594 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/utility/string_ref.hpp" "ac_cv_header_boost_utility_string_ref_hpp" "$ac_includes_default"
11595 if test "x$ac_cv_header_boost_utility_string_ref_hpp" = xyes
; then :
11596 cat >>confdefs.h
<<_ACEOF
11597 #define HAVE_BOOST_UTILITY_STRING_REF_HPP 1
11605 ac_cpp
='$CPP $CPPFLAGS'
11606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11612 # Check for Dyninst headers and libraries
11614 # Check whether --with-dyninst was given.
11615 if test "${with_dyninst+set}" = set; then :
11616 withval
=$with_dyninst;
11620 case "$with_dyninst" in
11622 ''|
yes) # Try a simple-minded distro search
11623 DYNINST_CXXFLAGS
="-I/usr/include/dyninst"
11624 DYNINST_LDFLAGS
="-L/usr/lib64/dyninst -L/usr/lib/dyninst" # XXX both lib paths!?!
11626 *) # Use paths in the user-specified prefix
11627 DYNINST_CXXFLAGS
="-I$with_dyninst/include"
11628 DYNINST_LDFLAGS
="-L$with_dyninst/lib/" # XXX need lib64 too?
11631 if test "$with_dyninst" != "no"; then
11633 ac_cpp
='$CXXCPP $CPPFLAGS'
11634 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11635 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11636 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11638 old_CPPFLAGS
="$CPPFLAGS"
11639 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dyninst support" >&5
11641 $as_echo "$as_me: checking dyninst support" >&6;}
11642 for ac_header
in BPatch_object.h
11644 ac_fn_cxx_check_header_mongrel
"$LINENO" "BPatch_object.h" "ac_cv_header_BPatch_object_h" "$ac_includes_default"
11645 if test "x$ac_cv_header_BPatch_object_h" = xyes
; then :
11646 cat >>confdefs.h
<<_ACEOF
11647 #define HAVE_BPATCH_OBJECT_H 1
11653 $as_echo "#define HAVE_DYNINST 1" >>confdefs.h
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: dyninst support available" >&5
11657 $as_echo "$as_me: dyninst support available" >&6;}
11662 if test -n "$with_dyninst" -a "$have_dyninst" != "yes"; then
11663 as_fn_error $?
"Dyninst does not appear to be usable" "$LINENO" 5
11665 CPPFLAGS
="$old_CPPFLAGS"
11667 ac_cpp
='$CPP $CPPFLAGS'
11668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11673 if test "${have_dyninst}" = "yes"; then
11675 HAVE_DYNINST_FALSE
='#'
11677 HAVE_DYNINST_TRUE
='#'
11678 HAVE_DYNINST_FALSE
=
11684 # Check whether --enable-virt was given.
11685 if test "${enable_virt+set}" = set; then :
11686 enableval
=$enable_virt; enable_virt
=$enableval
11688 enable_virt
="check"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
11695 $as_echo_n "checking for libvirt... " >&6; }
11697 if test -n "$libvirt_CFLAGS"; then
11698 pkg_cv_libvirt_CFLAGS
="$libvirt_CFLAGS"
11699 elif test -n "$PKG_CONFIG"; then
11700 if test -n "$PKG_CONFIG" && \
11701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11702 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11705 test $ac_status = 0; }; then
11706 pkg_cv_libvirt_CFLAGS
=`$PKG_CONFIG --cflags "libvirt >= 1.0.2" 2>/dev/null`
11707 test "x$?" != "x0" && pkg_failed
=yes
11714 if test -n "$libvirt_LIBS"; then
11715 pkg_cv_libvirt_LIBS
="$libvirt_LIBS"
11716 elif test -n "$PKG_CONFIG"; then
11717 if test -n "$PKG_CONFIG" && \
11718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11719 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11722 test $ac_status = 0; }; then
11723 pkg_cv_libvirt_LIBS
=`$PKG_CONFIG --libs "libvirt >= 1.0.2" 2>/dev/null`
11724 test "x$?" != "x0" && pkg_failed
=yes
11734 if test $pkg_failed = yes; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11736 $as_echo "no" >&6; }
11738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11739 _pkg_short_errors_supported
=yes
11741 _pkg_short_errors_supported
=no
11743 if test $_pkg_short_errors_supported = yes; then
11744 libvirt_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11746 libvirt_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11748 # Put the nasty error message in config.log where it belongs
11749 echo "$libvirt_PKG_ERRORS" >&5
11752 elif test $pkg_failed = untried
; then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11757 libvirt_CFLAGS
=$pkg_cv_libvirt_CFLAGS
11758 libvirt_LIBS
=$pkg_cv_libvirt_LIBS
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11760 $as_echo "yes" >&6; }
11764 $as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h
11768 if test "${have_libvirt}" = "yes"; then
11770 HAVE_LIBVIRT_FALSE
='#'
11772 HAVE_LIBVIRT_TRUE
='#'
11773 HAVE_LIBVIRT_FALSE
=
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
11779 $as_echo_n "checking for libxml2... " >&6; }
11781 if test -n "$libxml2_CFLAGS"; then
11782 pkg_cv_libxml2_CFLAGS
="$libxml2_CFLAGS"
11783 elif test -n "$PKG_CONFIG"; then
11784 if test -n "$PKG_CONFIG" && \
11785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11786 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11789 test $ac_status = 0; }; then
11790 pkg_cv_libxml2_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
11791 test "x$?" != "x0" && pkg_failed
=yes
11798 if test -n "$libxml2_LIBS"; then
11799 pkg_cv_libxml2_LIBS
="$libxml2_LIBS"
11800 elif test -n "$PKG_CONFIG"; then
11801 if test -n "$PKG_CONFIG" && \
11802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11803 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11806 test $ac_status = 0; }; then
11807 pkg_cv_libxml2_LIBS
=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
11808 test "x$?" != "x0" && pkg_failed
=yes
11818 if test $pkg_failed = yes; then
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11820 $as_echo "no" >&6; }
11822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11823 _pkg_short_errors_supported
=yes
11825 _pkg_short_errors_supported
=no
11827 if test $_pkg_short_errors_supported = yes; then
11828 libxml2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
11830 libxml2_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
11832 # Put the nasty error message in config.log where it belongs
11833 echo "$libxml2_PKG_ERRORS" >&5
11836 elif test $pkg_failed = untried
; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11838 $as_echo "no" >&6; }
11841 libxml2_CFLAGS
=$pkg_cv_libxml2_CFLAGS
11842 libxml2_LIBS
=$pkg_cv_libxml2_LIBS
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11844 $as_echo "yes" >&6; }
11848 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11852 if test "${have_libxml2}" = "yes"; then
11854 HAVE_LIBXML2_FALSE
='#'
11856 HAVE_LIBXML2_TRUE
='#'
11857 HAVE_LIBXML2_FALSE
=
11861 if test "$enable_virt" != "no"; then
11862 if test "x${have_libvirt}" != "xyes"; then
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&5
11864 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&2;}
11866 if test "x${have_libxml2}" != "xyes"; then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&5
11868 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&2;}
11871 if test "${have_libvirt}" == "yes" -a "${have_libxml2}" == "yes" -a "$enable_virt" != "no"; then
11873 BUILD_VIRT_FALSE
='#'
11875 BUILD_VIRT_TRUE
='#'
11881 # Check whether --with-python2-probes was given.
11882 if test "${with_python2_probes+set}" = set; then :
11883 withval
=$with_python2_probes;
11886 have_python2_support
=no
11887 if test "x$with_python2_probes" != "xno"; then :
11888 pathless_python
=$
(basename "$PYTHON")
11889 # Extract the first word of "${pathless_python}-config", so it can be a program name with args.
11890 set dummy
${pathless_python}-config; ac_word
=$2
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11892 $as_echo_n "checking for $ac_word... " >&6; }
11893 if ${ac_cv_path_PYTHON_CONFIG+:} false
; then :
11894 $as_echo_n "(cached) " >&6
11896 case $PYTHON_CONFIG in
11898 ac_cv_path_PYTHON_CONFIG
="$PYTHON_CONFIG" # Let the user override the test with a path.
11901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11902 for as_dir
in $PATH
11905 test -z "$as_dir" && as_dir
=.
11906 for ac_exec_ext
in '' $ac_executable_extensions; do
11907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11908 ac_cv_path_PYTHON_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11916 test -z "$ac_cv_path_PYTHON_CONFIG" && ac_cv_path_PYTHON_CONFIG
="no"
11920 PYTHON_CONFIG
=$ac_cv_path_PYTHON_CONFIG
11921 if test -n "$PYTHON_CONFIG"; then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
11923 $as_echo "$PYTHON_CONFIG" >&6; }
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11926 $as_echo "no" >&6; }
11930 if test "x$PYTHON_CONFIG" != "xno"; then :
11931 PYTHON_CPPFLAGS
=`$PYTHON_CONFIG --includes 2> /dev/null`
11932 PYTHON_CPPFLAGS
=$PYTHON_CPPFLAGS
11934 save_CPPFLAGS
="$CPPFLAGS"
11935 CPPFLAGS
="$PYTHON_CPPFLAGS $CPPFLAGS"
11936 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
11937 for ac_header
in Python.h
11939 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
11940 if test "x$ac_cv_header_Python_h" = xyes
; then :
11941 cat >>confdefs.h
<<_ACEOF
11942 #define HAVE_PYTHON_H 1
11944 have_python2_support
=yes
11949 CPPFLAGS
="$save_CPPFLAGS"
11952 if test "x$have_python2_support" = "xyes"; then :
11954 $as_echo "#define HAVE_PYTHON2_PROBES 1" >>confdefs.h
11957 if test "x$with_python2_probes" = "xyes"; then :
11958 as_fn_error $?
"python version 2 probe support requested but not found" "$LINENO" 5
11962 if test "x$have_python2_support" = "xyes"; then
11963 HAVE_PYTHON2_PROBES_TRUE
=
11964 HAVE_PYTHON2_PROBES_FALSE
='#'
11966 HAVE_PYTHON2_PROBES_TRUE
='#'
11967 HAVE_PYTHON2_PROBES_FALSE
=
11972 # Check whether --with-python3-probes was given.
11973 if test "${with_python3_probes+set}" = set; then :
11974 withval
=$with_python3_probes;
11977 have_python3_support
=no
11978 if test "x$with_python3_probes" != "xno"; then :
11979 pathless_python3
=$
(basename "$PYTHON3")
11980 if test "x${pathless_python3}" == "x"; then
11981 pathless_python3
="python3"
11983 # Extract the first word of "${pathless_python3}-config", so it can be a program name with args.
11984 set dummy
${pathless_python3}-config; ac_word
=$2
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11986 $as_echo_n "checking for $ac_word... " >&6; }
11987 if ${ac_cv_path_PYTHON3_CONFIG+:} false
; then :
11988 $as_echo_n "(cached) " >&6
11990 case $PYTHON3_CONFIG in
11992 ac_cv_path_PYTHON3_CONFIG
="$PYTHON3_CONFIG" # Let the user override the test with a path.
11995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11996 for as_dir
in $PATH
11999 test -z "$as_dir" && as_dir
=.
12000 for ac_exec_ext
in '' $ac_executable_extensions; do
12001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12002 ac_cv_path_PYTHON3_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12010 test -z "$ac_cv_path_PYTHON3_CONFIG" && ac_cv_path_PYTHON3_CONFIG
="no"
12014 PYTHON3_CONFIG
=$ac_cv_path_PYTHON3_CONFIG
12015 if test -n "$PYTHON3_CONFIG"; then
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
12017 $as_echo "$PYTHON3_CONFIG" >&6; }
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12020 $as_echo "no" >&6; }
12024 if test "x$PYTHON3_CONFIG" != "xno"; then :
12025 PYTHON3_CPPFLAGS
=`$PYTHON3_CONFIG --includes 2> /dev/null`
12026 PYTHON3_CPPFLAGS
=$PYTHON3_CPPFLAGS
12028 save_CPPFLAGS
="$CPPFLAGS"
12029 CPPFLAGS
="$PYTHON3_CPPFLAGS $CPPFLAGS"
12030 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
12031 for ac_header
in Python.h
12033 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
12034 if test "x$ac_cv_header_Python_h" = xyes
; then :
12035 cat >>confdefs.h
<<_ACEOF
12036 #define HAVE_PYTHON_H 1
12038 have_python3_support
=yes
12043 CPPFLAGS
="$save_CPPFLAGS"
12046 if test "x$have_python3_support" = "xyes"; then :
12048 $as_echo "#define HAVE_PYTHON3_PROBES 1" >>confdefs.h
12051 if test "x$with_python3_probes" = "xyes"; then :
12052 as_fn_error $?
"python version 3 probe support requested but not found" "$LINENO" 5
12056 if test "x$have_python3_support" = "xyes"; then
12057 HAVE_PYTHON3_PROBES_TRUE
=
12058 HAVE_PYTHON3_PROBES_FALSE
='#'
12060 HAVE_PYTHON3_PROBES_TRUE
='#'
12061 HAVE_PYTHON3_PROBES_FALSE
=
12065 if test "x$have_python2_support" = "xyes" -o "x$have_python3_support" = "xyes"; then
12066 HAVE_PYTHON_PROBES_TRUE
=
12067 HAVE_PYTHON_PROBES_FALSE
='#'
12069 HAVE_PYTHON_PROBES_TRUE
='#'
12070 HAVE_PYTHON_PROBES_FALSE
=
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jsonc" >&5
12077 $as_echo_n "checking for jsonc... " >&6; }
12079 if test -n "$jsonc_CFLAGS"; then
12080 pkg_cv_jsonc_CFLAGS
="$jsonc_CFLAGS"
12081 elif test -n "$PKG_CONFIG"; then
12082 if test -n "$PKG_CONFIG" && \
12083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.12\""; } >&5
12084 ($PKG_CONFIG --exists --print-errors "json-c >= 0.12") 2>&5
12086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12087 test $ac_status = 0; }; then
12088 pkg_cv_jsonc_CFLAGS
=`$PKG_CONFIG --cflags "json-c >= 0.12" 2>/dev/null`
12089 test "x$?" != "x0" && pkg_failed
=yes
12096 if test -n "$jsonc_LIBS"; then
12097 pkg_cv_jsonc_LIBS
="$jsonc_LIBS"
12098 elif test -n "$PKG_CONFIG"; then
12099 if test -n "$PKG_CONFIG" && \
12100 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.12\""; } >&5
12101 ($PKG_CONFIG --exists --print-errors "json-c >= 0.12") 2>&5
12103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12104 test $ac_status = 0; }; then
12105 pkg_cv_jsonc_LIBS
=`$PKG_CONFIG --libs "json-c >= 0.12" 2>/dev/null`
12106 test "x$?" != "x0" && pkg_failed
=yes
12116 if test $pkg_failed = yes; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12118 $as_echo "no" >&6; }
12120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12121 _pkg_short_errors_supported
=yes
12123 _pkg_short_errors_supported
=no
12125 if test $_pkg_short_errors_supported = yes; then
12126 jsonc_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.12" 2>&1`
12128 jsonc_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.12" 2>&1`
12130 # Put the nasty error message in config.log where it belongs
12131 echo "$jsonc_PKG_ERRORS" >&5
12134 elif test $pkg_failed = untried
; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12139 jsonc_CFLAGS
=$pkg_cv_jsonc_CFLAGS
12140 jsonc_LIBS
=$pkg_cv_jsonc_LIBS
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12142 $as_echo "yes" >&6; }
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
12148 $as_echo_n "checking for ncurses... " >&6; }
12150 if test -n "$ncurses_CFLAGS"; then
12151 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
12152 elif test -n "$PKG_CONFIG"; then
12153 if test -n "$PKG_CONFIG" && \
12154 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12155 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12158 test $ac_status = 0; }; then
12159 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
12160 test "x$?" != "x0" && pkg_failed
=yes
12167 if test -n "$ncurses_LIBS"; then
12168 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
12169 elif test -n "$PKG_CONFIG"; then
12170 if test -n "$PKG_CONFIG" && \
12171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12172 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12175 test $ac_status = 0; }; then
12176 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
12177 test "x$?" != "x0" && pkg_failed
=yes
12187 if test $pkg_failed = yes; then
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12189 $as_echo "no" >&6; }
12191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12192 _pkg_short_errors_supported
=yes
12194 _pkg_short_errors_supported
=no
12196 if test $_pkg_short_errors_supported = yes; then
12197 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
12199 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
12201 # Put the nasty error message in config.log where it belongs
12202 echo "$ncurses_PKG_ERRORS" >&5
12205 elif test $pkg_failed = untried
; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12207 $as_echo "no" >&6; }
12210 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
12211 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12213 $as_echo "yes" >&6; }
12216 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == "yes"; then
12217 HAVE_MONITOR_LIBS_TRUE
=
12218 HAVE_MONITOR_LIBS_FALSE
='#'
12220 HAVE_MONITOR_LIBS_TRUE
='#'
12221 HAVE_MONITOR_LIBS_FALSE
=
12224 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == yes; then
12226 $as_echo "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
12231 $as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }
12232 if ${stap_cv_sectionq+:} false
; then :
12233 $as_echo_n "(cached) " >&6
12236 old_CFLAGS
="$CFLAGS"
12237 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
12238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12239 /* end confdefs.h. */
12240 asm(".section .note.foo,\"?\",\"note\"\n"
12243 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
12245 ".pushsection .note.foo,\"?\",\"note\"\n"
12250 if ac_fn_c_try_compile
"$LINENO"; then :
12251 stap_cv_sectionq
=yes
12253 stap_cv_sectionq
=no
12255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12256 CFLAGS
="$old_CFLAGS"
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
12259 $as_echo "$stap_cv_sectionq" >&6; }
12261 support_section_question
=0
12262 if test $stap_cv_sectionq = yes; then
12263 support_section_question
=1
12265 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
12268 if test $build_elfutils = yes -a $enable_translator = yes; then
12270 case "$with_elfutils" in
12271 /*) elfutils_srcdir
="$with_elfutils" ;;
12272 *) elfutils_srcdir
="${here}/$with_elfutils" ;;
12275 if ! test -f ${elfutils_srcdir}/configure
; then
12276 as_fn_error $?
"No ${elfutils_srcdir}/configure, forgot to run autoreconf -i?" "$LINENO" 5
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: running ${elfutils_srcdir}/configure" >&5
12279 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
12281 save_CFLAGS
="$CFLAGS"
12282 save_CXXFLAGS
="$CXXFLAGS"
12283 CXXFLAGS
="$CXXFLAGS -fgnu89-inline"
12284 CFLAGS
="$CFLAGS -fgnu89-inline"
12285 gnu89_inline_flag
=""
12286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12290 if ac_fn_c_try_compile
"$LINENO"; then :
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling elfutils with gcc -fgnu89-inline" >&5
12293 $as_echo "$as_me: Compiling elfutils with gcc -fgnu89-inline" >&6;}
12294 gnu89_inline_flag
="-fgnu89-inline"
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fgnu89-inline" >&5
12298 $as_echo "$as_me: Compiler does not support -fgnu89-inline" >&6;}
12300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12301 CFLAGS
="$save_CFLAGS"
12302 CXXFLAGS
="$save_CXXFLAGS"
12304 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
12305 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
12306 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
12307 # So we must make sure to pass those settings to elfutils configure.
12308 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
12309 # Check whether this is a source release, or a source checkout.
12310 # We need --enable-maintainer-mode if it isn't a source release.
12311 # elfutils.spec is only distributed in source releases.
12312 if test -f ${elfutils_srcdir}/elfutils.spec
; then
12313 need_maintainer_option
=""
12315 need_maintainer_option
="--enable-maintainer-mode"
12317 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
12318 bash
${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
12319 --includedir="${here}/include-elfutils" \
12320 --libdir="${here}/lib-elfutils" \
12321 --exec-prefix="$exec_prefix" \
12322 --prefix="$prefix" \
12324 ${need_maintainer_option} \
12325 CFLAGS
="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \
12326 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
12327 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
12328 echo Found elfutils
/version.h header...
12330 echo elfutils
/version.h header not found
, need elfutils
0.142+...
12334 if test $?
!= 0; then exit -1; fi
12338 # Check whether --with-selinux was given.
12339 if test "${with_selinux+set}" = set; then :
12340 withval
=$with_selinux;
12344 if test "x$with_selinux" != "xno"; then :
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux" >&5
12349 $as_echo_n "checking for selinux... " >&6; }
12351 if test -n "$selinux_CFLAGS"; then
12352 pkg_cv_selinux_CFLAGS
="$selinux_CFLAGS"
12353 elif test -n "$PKG_CONFIG"; then
12354 if test -n "$PKG_CONFIG" && \
12355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12356 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12359 test $ac_status = 0; }; then
12360 pkg_cv_selinux_CFLAGS
=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
12361 test "x$?" != "x0" && pkg_failed
=yes
12368 if test -n "$selinux_LIBS"; then
12369 pkg_cv_selinux_LIBS
="$selinux_LIBS"
12370 elif test -n "$PKG_CONFIG"; then
12371 if test -n "$PKG_CONFIG" && \
12372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12373 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12376 test $ac_status = 0; }; then
12377 pkg_cv_selinux_LIBS
=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
12378 test "x$?" != "x0" && pkg_failed
=yes
12388 if test $pkg_failed = yes; then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12390 $as_echo "no" >&6; }
12392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12393 _pkg_short_errors_supported
=yes
12395 _pkg_short_errors_supported
=no
12397 if test $_pkg_short_errors_supported = yes; then
12398 selinux_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
12400 selinux_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
12402 # Put the nasty error message in config.log where it belongs
12403 echo "$selinux_PKG_ERRORS" >&5
12406 elif test $pkg_failed = untried
; then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12408 $as_echo "no" >&6; }
12411 selinux_CFLAGS
=$pkg_cv_selinux_CFLAGS
12412 selinux_LIBS
=$pkg_cv_selinux_LIBS
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12414 $as_echo "yes" >&6; }
12417 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
12426 if test "${have_selinux}" = "yes"; then
12428 HAVE_SELINUX_FALSE
='#'
12430 HAVE_SELINUX_TRUE
='#'
12431 HAVE_SELINUX_FALSE
=
12435 ac_fn_c_check_decl
"$LINENO" "F_SETPIPE_SZ" "ac_cv_have_decl_F_SETPIPE_SZ" "#include <fcntl.h>
12437 if test "x$ac_cv_have_decl_F_SETPIPE_SZ" = xyes
; then :
12439 $as_echo "#define HAVE_F_SETPIPE_SZ 1" >>confdefs.h
12444 # Extract the first word of "javac", so it can be a program name with args.
12445 set dummy javac
; ac_word
=$2
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12447 $as_echo_n "checking for $ac_word... " >&6; }
12448 if ${ac_cv_prog_have_javac+:} false
; then :
12449 $as_echo_n "(cached) " >&6
12451 if test -n "$have_javac"; then
12452 ac_cv_prog_have_javac
="$have_javac" # Let the user override the test.
12454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12455 for as_dir
in $PATH
12458 test -z "$as_dir" && as_dir
=.
12459 for ac_exec_ext
in '' $ac_executable_extensions; do
12460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12461 ac_cv_prog_have_javac
="yes"
12462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12469 test -z "$ac_cv_prog_have_javac" && ac_cv_prog_have_javac
="no"
12472 have_javac
=$ac_cv_prog_have_javac
12473 if test -n "$have_javac"; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_javac" >&5
12475 $as_echo "$have_javac" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478 $as_echo "no" >&6; }
12482 # Extract the first word of "jar", so it can be a program name with args.
12483 set dummy jar
; 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_jar+:} false
; then :
12487 $as_echo_n "(cached) " >&6
12489 if test -n "$have_jar"; then
12490 ac_cv_prog_have_jar
="$have_jar" # 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_jar
="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_jar" && ac_cv_prog_have_jar
="no"
12510 have_jar
=$ac_cv_prog_have_jar
12511 if test -n "$have_jar"; then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_jar" >&5
12513 $as_echo "$have_jar" >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12516 $as_echo "no" >&6; }
12520 if test "$have_javac" != no
-a "$have_jar" != no
; then
12521 echo java found
, will try to configure Byteman support
12524 # Check whether --with-java was given.
12525 if test "${with_java+set}" = set; then :
12526 withval
=$with_java;
12528 with_java
=/usr
/lib
/jvm
/java
12531 if test ! -d "$with_java"; then
12534 JAVADIR
="${with_java}"
12535 # always needed to compile
12537 if test "$with_java" != "no"; then
12539 cat >>confdefs.h
<<_ACEOF
12540 #define HAVE_JAVA "1"
12545 if test "$with_java" != "no"; then
12547 HAVE_JAVA_FALSE
='#'
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not run per-method java probing, missing byteman or java requirements" >&5
12556 $as_echo "$as_me: WARNING: will not run per-method java probing, missing byteman or java requirements" >&2;}
12559 HAVE_JAVA_FALSE
='#'
12565 fi # java+byteman support
12567 ENABLE_NLS
="$USE_NLS"
12569 localedir
="$localedir"
12571 LOCALEDIR
="$localedir"
12575 # Check whether --with-extra-version was given.
12576 if test "${with_extra_version+set}" = set; then :
12577 withval
=$with_extra_version;
12580 if test "x$with_extra_version" != "xno"; then :
12582 stap_extra_version
="$with_extra_version"
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding extra version $stap_extra_version" >&5
12584 $as_echo "$as_me: Adding extra version $stap_extra_version" >&6;}
12587 stap_extra_version
=""
12590 cat >>confdefs.h
<<_ACEOF
12591 #define STAP_EXTRA_VERSION "$stap_extra_version"
12594 STAP_EXTRA_VERSION
="$stap_extra_version"
12597 # Check whether --enable-http was given.
12598 if test "${enable_http+set}" = set; then :
12599 enableval
=$enable_http;
12602 have_http_support
=no
12603 if test "x$enable_http" != "xno"; then :
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmicrohttpd" >&5
12607 $as_echo_n "checking for libmicrohttpd... " >&6; }
12609 if test -n "$libmicrohttpd_CFLAGS"; then
12610 pkg_cv_libmicrohttpd_CFLAGS
="$libmicrohttpd_CFLAGS"
12611 elif test -n "$PKG_CONFIG"; then
12612 if test -n "$PKG_CONFIG" && \
12613 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
12614 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
12616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12617 test $ac_status = 0; }; then
12618 pkg_cv_libmicrohttpd_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd > 0.9.0" 2>/dev/null`
12619 test "x$?" != "x0" && pkg_failed
=yes
12626 if test -n "$libmicrohttpd_LIBS"; then
12627 pkg_cv_libmicrohttpd_LIBS
="$libmicrohttpd_LIBS"
12628 elif test -n "$PKG_CONFIG"; then
12629 if test -n "$PKG_CONFIG" && \
12630 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
12631 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
12633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12634 test $ac_status = 0; }; then
12635 pkg_cv_libmicrohttpd_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd > 0.9.0" 2>/dev/null`
12636 test "x$?" != "x0" && pkg_failed
=yes
12646 if test $pkg_failed = yes; then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12648 $as_echo "no" >&6; }
12650 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12651 _pkg_short_errors_supported
=yes
12653 _pkg_short_errors_supported
=no
12655 if test $_pkg_short_errors_supported = yes; then
12656 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
12658 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
12660 # Put the nasty error message in config.log where it belongs
12661 echo "$libmicrohttpd_PKG_ERRORS" >&5
12663 have_libmicrohttpd
=false
12664 elif test $pkg_failed = untried
; then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12666 $as_echo "no" >&6; }
12667 have_libmicrohttpd
=false
12669 libmicrohttpd_CFLAGS
=$pkg_cv_libmicrohttpd_CFLAGS
12670 libmicrohttpd_LIBS
=$pkg_cv_libmicrohttpd_LIBS
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12672 $as_echo "yes" >&6; }
12673 have_libmicrohttpd
=true
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid" >&5
12679 $as_echo_n "checking for uuid... " >&6; }
12681 if test -n "$uuid_CFLAGS"; then
12682 pkg_cv_uuid_CFLAGS
="$uuid_CFLAGS"
12683 elif test -n "$PKG_CONFIG"; then
12684 if test -n "$PKG_CONFIG" && \
12685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
12686 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
12688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12689 test $ac_status = 0; }; then
12690 pkg_cv_uuid_CFLAGS
=`$PKG_CONFIG --cflags "uuid >= 2.17.0" 2>/dev/null`
12691 test "x$?" != "x0" && pkg_failed
=yes
12698 if test -n "$uuid_LIBS"; then
12699 pkg_cv_uuid_LIBS
="$uuid_LIBS"
12700 elif test -n "$PKG_CONFIG"; then
12701 if test -n "$PKG_CONFIG" && \
12702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
12703 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
12705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12706 test $ac_status = 0; }; then
12707 pkg_cv_uuid_LIBS
=`$PKG_CONFIG --libs "uuid >= 2.17.0" 2>/dev/null`
12708 test "x$?" != "x0" && pkg_failed
=yes
12718 if test $pkg_failed = yes; then
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12720 $as_echo "no" >&6; }
12722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12723 _pkg_short_errors_supported
=yes
12725 _pkg_short_errors_supported
=no
12727 if test $_pkg_short_errors_supported = yes; then
12728 uuid_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
12730 uuid_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
12732 # Put the nasty error message in config.log where it belongs
12733 echo "$uuid_PKG_ERRORS" >&5
12736 elif test $pkg_failed = untried
; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12738 $as_echo "no" >&6; }
12741 uuid_CFLAGS
=$pkg_cv_uuid_CFLAGS
12742 uuid_LIBS
=$pkg_cv_uuid_LIBS
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12744 $as_echo "yes" >&6; }
12748 if test "x$have_libmicrohttpd" == "xtrue" -a "x$have_libuuid" == "xtrue" -a "x$have_jsonc" == "xyes"; then :
12749 have_http_support
=yes
12753 if test "x$have_http_support" = "xyes"; then :
12755 $as_echo "#define HAVE_HTTP_SUPPORT 1" >>confdefs.h
12758 if test "x$enable_http" = "xyes"; then :
12759 as_fn_error $?
"http service support requested but not found" "$LINENO" 5
12763 if test "x$have_http_support" = "xyes"; then
12764 HAVE_HTTP_SUPPORT_TRUE
=
12765 HAVE_HTTP_SUPPORT_FALSE
='#'
12767 HAVE_HTTP_SUPPORT_TRUE
='#'
12768 HAVE_HTTP_SUPPORT_FALSE
=
12772 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then
12773 NEED_BASE_CLIENT_CODE_TRUE
=
12774 NEED_BASE_CLIENT_CODE_FALSE
='#'
12776 NEED_BASE_CLIENT_CODE_TRUE
='#'
12777 NEED_BASE_CLIENT_CODE_FALSE
=
12780 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then :
12783 $as_echo "#define NEED_BASE_CLIENT_CODE 1" >>confdefs.h
12789 stap_prefix
=$prefix
12790 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
12792 cat >>confdefs.h
<<_ACEOF
12793 #define STAP_PREFIX "$stap_prefix"
12796 STAP_PREFIX
="$stap_prefix"
12799 ac_config_headers
="$ac_config_headers config.h:config.in"
12801 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"
12805 subdirs
="$subdirs testsuite"
12807 if test $enable_translator == "yes"; then
12808 ac_config_files
="$ac_config_files run-stap"
12811 ac_config_files
="$ac_config_files dtrace"
12813 ac_config_files
="$ac_config_files stapdyn/Makefile"
12815 ac_config_files
="$ac_config_files java/Makefile"
12817 ac_config_files
="$ac_config_files java/stapbm"
12819 ac_config_files
="$ac_config_files python/Makefile"
12821 ac_config_files
="$ac_config_files staprun/Makefile"
12823 ac_config_files
="$ac_config_files httpd/Makefile"
12825 ac_config_files
="$ac_config_files staprun/run-staprun"
12827 ac_config_files
="$ac_config_files staprun/guest/stapshd"
12829 ac_config_files
="$ac_config_files staprun/guest/stapsh-daemon"
12831 ac_config_files
="$ac_config_files staprun/guest/stapsh@.service"
12834 # Setup "shadow" directory doc/beginners that has the basic directories setup for
12835 # xmlto in one directory (through directory links if necessary).
12836 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
12837 # the src is a directory and not a file.
12838 ac_config_commands
="$ac_config_commands doc/beginners"
12841 cat >confcache
<<\_ACEOF
12842 # This file is a shell script that caches the results of configure
12843 # tests run on this system so they can be shared between configure
12844 # scripts and configure runs, see configure's option --config-cache.
12845 # It is not useful on other systems. If it contains results you don't
12846 # want to keep, you may remove or edit it.
12848 # config.status only pays attention to the cache file if you give it
12849 # the --recheck option to rerun configure.
12851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12853 # following values.
12857 # The following way of writing the cache mishandles newlines in values,
12858 # but we know of no workaround that is simple, portable, and efficient.
12859 # So, we kill variables containing newlines.
12860 # Ultrix sh set writes to stderr and can't be redirected directly,
12861 # and sets the high bit in the cache file unless we assign to the vars.
12863 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12864 eval ac_val
=\$
$ac_var
12868 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12869 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12872 _ | IFS | as_nl
) ;; #(
12873 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12874 *) { eval $ac_var=; unset $ac_var;} ;;
12880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12881 *${as_nl}ac_space
=\
*)
12882 # `set' does not quote correctly, so add quotes: double-quote
12883 # substitution turns \\\\ into \\, and sed turns \\ into \.
12886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12889 # `set' quotes correctly as required by POSIX, so do not add quotes.
12890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12903 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12904 if test -w "$cache_file"; then
12905 if test "x$cache_file" != "x/dev/null"; then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12907 $as_echo "$as_me: updating cache $cache_file" >&6;}
12908 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12909 cat confcache
>"$cache_file"
12911 case $cache_file in #(
12913 mv -f confcache
"$cache_file"$$
&&
12914 mv -f "$cache_file"$$
"$cache_file" ;; #(
12916 mv -f confcache
"$cache_file" ;;
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12922 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12927 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12928 # Let make expand exec_prefix.
12929 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12931 DEFS
=-DHAVE_CONFIG_H
12936 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12937 # 1. Remove the extension, and $U if already installed.
12938 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12939 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12940 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12941 # will be set to the directory where LIBOBJS objects are built.
12942 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12943 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12945 LIBOBJS
=$ac_libobjs
12947 LTLIBOBJS
=$ac_ltlibobjs
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12951 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12952 if test -n "$am_sleep_pid"; then
12953 # Hide warnings about reused PIDs.
12954 wait $am_sleep_pid 2>/dev
/null
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12957 $as_echo "done" >&6; }
12958 if test -n "$EXEEXT"; then
12960 am__EXEEXT_FALSE
='#'
12962 am__EXEEXT_TRUE
='#'
12966 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12967 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
12968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12970 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12971 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12974 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12975 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12978 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12979 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12982 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
12983 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
12984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12986 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
12987 as_fn_error $?
"conditional \"BUILD_TRANSLATOR\" was never defined.
12988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12990 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
12991 as_fn_error $?
"conditional \"BUILD_CRASHMOD\" was never defined.
12992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12994 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
12995 as_fn_error $?
"conditional \"BUILD_DOCS\" was never defined.
12996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12998 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
12999 as_fn_error $?
"conditional \"BUILD_REFDOCS\" was never defined.
13000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13002 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
13003 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
13004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13006 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
13007 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
13008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13010 if test -z "${BUILD_HTMLDOCS_TRUE}" && test -z "${BUILD_HTMLDOCS_FALSE}"; then
13011 as_fn_error $?
"conditional \"BUILD_HTMLDOCS\" was never defined.
13012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13014 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
13015 as_fn_error $?
"conditional \"XMLTO_STRINGPARAM\" was never defined.
13016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13018 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
13019 as_fn_error $?
"conditional \"HAVE_NSS\" was never defined.
13020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13022 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13023 as_fn_error $?
"conditional \"BUILD_SERVER\" was never defined.
13024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13026 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
13027 as_fn_error $?
"conditional \"HAVE_AVAHI\" was never defined.
13028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13030 if test -z "${HAVE_LIBREADLINE_TRUE}" && test -z "${HAVE_LIBREADLINE_FALSE}"; then
13031 as_fn_error $?
"conditional \"HAVE_LIBREADLINE\" was never defined.
13032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13034 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
13035 as_fn_error $?
"conditional \"BUILD_ELFUTILS\" was never defined.
13036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13038 if test -z "${HAVE_DYNINST_TRUE}" && test -z "${HAVE_DYNINST_FALSE}"; then
13039 as_fn_error $?
"conditional \"HAVE_DYNINST\" was never defined.
13040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13042 if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then
13043 as_fn_error $?
"conditional \"HAVE_LIBVIRT\" was never defined.
13044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13046 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
13047 as_fn_error $?
"conditional \"HAVE_LIBXML2\" was never defined.
13048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13050 if test -z "${BUILD_VIRT_TRUE}" && test -z "${BUILD_VIRT_FALSE}"; then
13051 as_fn_error $?
"conditional \"BUILD_VIRT\" was never defined.
13052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13054 if test -z "${HAVE_PYTHON2_PROBES_TRUE}" && test -z "${HAVE_PYTHON2_PROBES_FALSE}"; then
13055 as_fn_error $?
"conditional \"HAVE_PYTHON2_PROBES\" was never defined.
13056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13058 if test -z "${HAVE_PYTHON3_PROBES_TRUE}" && test -z "${HAVE_PYTHON3_PROBES_FALSE}"; then
13059 as_fn_error $?
"conditional \"HAVE_PYTHON3_PROBES\" was never defined.
13060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13062 if test -z "${HAVE_PYTHON_PROBES_TRUE}" && test -z "${HAVE_PYTHON_PROBES_FALSE}"; then
13063 as_fn_error $?
"conditional \"HAVE_PYTHON_PROBES\" was never defined.
13064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13066 if test -z "${HAVE_MONITOR_LIBS_TRUE}" && test -z "${HAVE_MONITOR_LIBS_FALSE}"; then
13067 as_fn_error $?
"conditional \"HAVE_MONITOR_LIBS\" was never defined.
13068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13070 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
13071 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
13072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13074 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
13075 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
13076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13078 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
13079 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
13080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13082 if test -z "${HAVE_HTTP_SUPPORT_TRUE}" && test -z "${HAVE_HTTP_SUPPORT_FALSE}"; then
13083 as_fn_error $?
"conditional \"HAVE_HTTP_SUPPORT\" was never defined.
13084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13086 if test -z "${NEED_BASE_CLIENT_CODE_TRUE}" && test -z "${NEED_BASE_CLIENT_CODE_FALSE}"; then
13087 as_fn_error $?
"conditional \"NEED_BASE_CLIENT_CODE\" was never defined.
13088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13091 : "${CONFIG_STATUS=./config.status}"
13093 ac_clean_files_save
=$ac_clean_files
13094 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13096 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13098 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13100 # Generated by $as_me.
13101 # Run this file to recreate the current configuration.
13102 # Compiler output produced by configure, useful for debugging
13103 # configure, is in config.log if it exists.
13106 ac_cs_recheck=false
13109 SHELL=\${CONFIG_SHELL-$SHELL}
13112 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13113 ## -------------------- ##
13114 ## M4sh Initialization. ##
13115 ## -------------------- ##
13117 # Be more Bourne compatible
13118 DUALCASE
=1; export DUALCASE
# for MKS sh
13119 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13122 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13123 # is contrary to our usage. Disable this feature.
13124 alias -g '${1+"$@"}'='"$@"'
13125 setopt NO_GLOB_SUBST
13127 case `(set -o) 2>/dev/null` in #(
13139 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13140 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13141 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13142 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13143 # Prefer a ksh shell builtin over an external printf program on Solaris,
13144 # but without wasting forks for bash or zsh.
13145 if test -z "$BASH_VERSION$ZSH_VERSION" \
13146 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13147 as_echo='print
-r --'
13148 as_echo_n='print
-rn --'
13149 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13150 as_echo='printf %s
\n'
13151 as_echo_n='printf %s
'
13153 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13154 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13155 as_echo_n='/usr
/ucb
/echo -n'
13157 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13158 as_echo_n_body='eval
13162 expr "X$arg" : "X\\(.*\\)$as_nl";
13163 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13165 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13167 export as_echo_n_body
13168 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13170 export as_echo_body
13171 as_echo='sh
-c $as_echo_body as_echo
'
13174 # The user is always right.
13175 if test "${PATH_SEPARATOR+set}" != set; then
13177 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13178 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13185 # We need space, tab and new line, in precisely that order. Quoting is
13186 # there to prevent editors from complaining about space-tab.
13187 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13188 # splitting by setting IFS to empty value.)
13191 # Find who we are. Look in the path if we contain no directory separator.
13194 *[\\/]* ) as_myself=$0 ;;
13195 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13196 for as_dir in $PATH
13199 test -z "$as_dir" && as_dir=.
13200 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13206 # We did not find ourselves, most probably we were run as `sh COMMAND'
13207 # in which case we are not to be found in the path.
13208 if test "x$as_myself" = x
; then
13211 if test ! -f "$as_myself"; then
13212 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13216 # Unset variables that we do not need and which cause bugs (e.g. in
13217 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13218 # suppresses any "Segmentation fault" message there. '((' could
13219 # trigger a bug in pdksh 5.2.14.
13220 for as_var
in BASH_ENV ENV MAIL MAILPATH
13221 do eval test x\
${$as_var+set} = xset \
13222 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13235 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13238 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13239 # ----------------------------------------
13240 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13241 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13242 # script with STATUS, using 1 if that was 0.
13245 as_status
=$1; test $as_status -eq 0 && as_status
=1
13247 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13248 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13250 $as_echo "$as_me: error: $2" >&2
13251 as_fn_exit
$as_status
13255 # as_fn_set_status STATUS
13256 # -----------------------
13257 # Set $? to STATUS, without forking.
13258 as_fn_set_status
()
13261 } # as_fn_set_status
13263 # as_fn_exit STATUS
13264 # -----------------
13265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13269 as_fn_set_status
$1
13275 # Portably unset VAR.
13278 { eval $1=; unset $1;}
13280 as_unset
=as_fn_unset
13281 # as_fn_append VAR VALUE
13282 # ----------------------
13283 # Append the text in VALUE to the end of the definition contained in VAR. Take
13284 # advantage of any shell optimizations that allow amortized linear growth over
13285 # repeated appends, instead of the typical quadratic growth present in naive
13287 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13288 eval 'as_fn_append ()
13299 # as_fn_arith ARG...
13300 # ------------------
13301 # Perform arithmetic evaluation on the ARGs, and store the result in the
13302 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13303 # must be portable across $(()) and expr.
13304 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13305 eval 'as_fn_arith ()
13312 as_val
=`expr "$@" || test $? -eq 1`
13317 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13318 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13324 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13325 as_basename
=basename
13330 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13336 as_me
=`$as_basename -- "$0" ||
13337 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13338 X"$0" : 'X\(//\)$' \| \
13339 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13341 sed '/^.*\/\([^/][^/]*\)\/*$/{
13355 # Avoid depending upon Character Ranges.
13356 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13357 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13358 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13359 as_cr_digits
='0123456789'
13360 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13362 ECHO_C
= ECHO_N
= ECHO_T
=
13363 case `echo -n x` in #(((((
13365 case `echo 'xy\c'` in
13366 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13368 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13375 rm -f conf$$ conf$$.exe conf$$.
file
13376 if test -d conf$$.dir
; then
13377 rm -f conf$$.dir
/conf$$.
file
13380 mkdir conf$$.dir
2>/dev
/null
13382 if (echo >conf$$.
file) 2>/dev
/null
; then
13383 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13385 # ... but there are two gotchas:
13386 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13387 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13388 # In both cases, we have to default to `cp -pR'.
13389 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13391 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13399 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13400 rmdir conf$$.dir
2>/dev
/null
13405 # Create "$as_dir" as a directory, including parents if necessary.
13410 -*) as_dir
=.
/$as_dir;;
13412 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13416 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13417 *) as_qdir
=$as_dir;;
13419 as_dirs
="'$as_qdir' $as_dirs"
13420 as_dir
=`$as_dirname -- "$as_dir" ||
13421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13422 X"$as_dir" : 'X\(//\)[^/]' \| \
13423 X"$as_dir" : 'X\(//\)$' \| \
13424 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13425 $as_echo X"$as_dir" |
13426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13430 /^X\(\/\/\)[^/].*/{
13443 test -d "$as_dir" && break
13445 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13446 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13450 if mkdir
-p .
2>/dev
/null
; then
13451 as_mkdir_p
='mkdir -p "$as_dir"'
13453 test -d .
/-p && rmdir .
/-p
13458 # as_fn_executable_p FILE
13459 # -----------------------
13460 # Test if FILE is an executable regular file.
13461 as_fn_executable_p
()
13463 test -f "$1" && test -x "$1"
13464 } # as_fn_executable_p
13465 as_test_x
='test -x'
13466 as_executable_p
=as_fn_executable_p
13468 # Sed expression to map a string onto a valid CPP name.
13469 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13471 # Sed expression to map a string onto a valid variable name.
13472 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13476 ## ----------------------------------- ##
13477 ## Main body of $CONFIG_STATUS script. ##
13478 ## ----------------------------------- ##
13480 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13483 # Save the log message, to keep $0 and so on meaningful, and to
13484 # report actual input values of CONFIG_FILES etc. instead of their
13485 # values after options handling.
13487 This file was extended by systemtap $as_me 3.2, which was
13488 generated by GNU Autoconf 2.69. Invocation command line was
13490 CONFIG_FILES = $CONFIG_FILES
13491 CONFIG_HEADERS = $CONFIG_HEADERS
13492 CONFIG_LINKS = $CONFIG_LINKS
13493 CONFIG_COMMANDS = $CONFIG_COMMANDS
13496 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13501 case $ac_config_files in *"
13502 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13505 case $ac_config_headers in *"
13506 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13511 # Files that config.status was made for.
13512 config_files="$ac_config_files"
13513 config_headers="$ac_config_headers"
13514 config_commands="$ac_config_commands"
13518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13520 \`$as_me' instantiates files and other configuration actions
13521 from templates according to the current configuration. Unless the files
13522 and actions are specified as TAGs, all are instantiated by default.
13524 Usage: $0 [OPTION]... [TAG]...
13526 -h, --help print this help, then exit
13527 -V, --version print version number and configuration settings, then exit
13528 --config print configuration, then exit
13529 -q, --quiet, --silent
13530 do not print progress messages
13531 -d, --debug don't remove temporary files
13532 --recheck update $as_me by reconfiguring in the same conditions
13533 --file=FILE[:TEMPLATE]
13534 instantiate the configuration file FILE
13535 --header=FILE[:TEMPLATE]
13536 instantiate the configuration header FILE
13538 Configuration files:
13541 Configuration headers:
13544 Configuration commands:
13547 Report bugs to <systemtap@sourceware.org>."
13550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13551 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13553 systemtap config.status 3.2
13554 configured by $0, generated by GNU Autoconf 2.69,
13555 with options \\"\$ac_cs_config\\"
13557 Copyright (C) 2012 Free Software Foundation, Inc.
13558 This config.status script is free software; the Free Software Foundation
13559 gives unlimited permission to copy, distribute and modify it."
13566 test -n "\$AWK" || AWK=awk
13569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13570 # The default lists apply if the user does not specify any file.
13576 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13577 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13581 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13593 # Handling of the options.
13594 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13596 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13597 $as_echo "$ac_cs_version"; exit ;;
13598 --config |
--confi |
--conf |
--con |
--co |
--c )
13599 $as_echo "$ac_cs_config"; exit ;;
13600 --debug |
--debu |
--deb |
--de |
--d |
-d )
13602 --file |
--fil |
--fi |
--f )
13605 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13606 '') as_fn_error $?
"missing file argument" ;;
13608 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13609 ac_need_defaults
=false
;;
13610 --header |
--heade |
--head |
--hea )
13613 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13615 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13616 ac_need_defaults
=false
;;
13618 # Conflict between --help and --header
13619 as_fn_error $?
"ambiguous option: \`$1'
13620 Try \`$0 --help' for more information.";;
13621 --help |
--hel |
-h )
13622 $as_echo "$ac_cs_usage"; exit ;;
13623 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13624 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13627 # This is an error.
13628 -*) as_fn_error $?
"unrecognized option: \`$1'
13629 Try \`$0 --help' for more information." ;;
13631 *) as_fn_append ac_config_targets
" $1"
13632 ac_need_defaults
=false
;;
13638 ac_configure_extra_args
=
13640 if $ac_cs_silent; then
13642 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13647 if \$ac_cs_recheck; then
13648 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13650 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13651 CONFIG_SHELL='$SHELL'
13652 export CONFIG_SHELL
13657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13661 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13662 ## Running $as_me. ##
13668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13672 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13673 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13674 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
13675 # from automake < 1.5.
13676 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13677 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13678 LINGUAS="${LINGUAS-%UNSET%}"
13683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13685 # Handling of arguments.
13686 for ac_config_target
in $ac_config_targets
13688 case $ac_config_target in
13689 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13690 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
13691 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
13692 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
13693 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13694 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13695 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13696 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
13697 "man/cs/Makefile") CONFIG_FILES
="$CONFIG_FILES man/cs/Makefile" ;;
13698 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
13699 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
13700 "man/stap.1") CONFIG_FILES
="$CONFIG_FILES man/stap.1" ;;
13701 "man/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/stappaths.7" ;;
13702 "man/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/systemtap.8" ;;
13703 "man/cs/stap.1") CONFIG_FILES
="$CONFIG_FILES man/cs/stap.1" ;;
13704 "man/cs/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/cs/stappaths.7" ;;
13705 "man/cs/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/cs/systemtap.8" ;;
13706 "initscript/config.systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/config.systemtap" ;;
13707 "initscript/config.stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/config.stap-server" ;;
13708 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
13709 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
13710 "initscript/99stap/module-setup.sh") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/module-setup.sh" ;;
13711 "initscript/99stap/install") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/install" ;;
13712 "initscript/99stap/check") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/check" ;;
13713 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
13714 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
13715 "stapdyn/Makefile") CONFIG_FILES
="$CONFIG_FILES stapdyn/Makefile" ;;
13716 "java/Makefile") CONFIG_FILES
="$CONFIG_FILES java/Makefile" ;;
13717 "java/stapbm") CONFIG_FILES
="$CONFIG_FILES java/stapbm" ;;
13718 "python/Makefile") CONFIG_FILES
="$CONFIG_FILES python/Makefile" ;;
13719 "staprun/Makefile") CONFIG_FILES
="$CONFIG_FILES staprun/Makefile" ;;
13720 "httpd/Makefile") CONFIG_FILES
="$CONFIG_FILES httpd/Makefile" ;;
13721 "staprun/run-staprun") CONFIG_FILES
="$CONFIG_FILES staprun/run-staprun" ;;
13722 "staprun/guest/stapshd") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapshd" ;;
13723 "staprun/guest/stapsh-daemon") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh-daemon" ;;
13724 "staprun/guest/stapsh@.service") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh@.service" ;;
13725 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
13727 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13732 # If the user did not use the arguments to specify the items to instantiate,
13733 # then the envvar interface is used. Set only those that are not.
13734 # We use the long form for the default assignment because of an extremely
13735 # bizarre bug on SunOS 4.1.3.
13736 if $ac_need_defaults; then
13737 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13738 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13739 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13742 # Have a temporary directory for convenience. Make it in the build tree
13743 # simply because there is no reason against having it here, and in addition,
13744 # creating and moving files from /tmp can sometimes cause problems.
13745 # Hook for its removal unless debugging.
13746 # Note that there is a small window in which the directory will not be cleaned:
13747 # after its creation but before its name has been assigned to `$tmp'.
13751 trap 'exit_status=$?
13752 : "${ac_tmp:=$tmp}"
13753 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13755 trap 'as_fn_exit 1' 1 2 13 15
13757 # Create a (secure) tmp directory for tmp files.
13760 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13764 tmp
=.
/conf$$
-$RANDOM
13765 (umask 077 && mkdir
"$tmp")
13766 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13769 # Set up the scripts for CONFIG_FILES section.
13770 # No need to generate them if there are no CONFIG_FILES.
13771 # This happens for instance with `./config.status config.h'.
13772 if test -n "$CONFIG_FILES"; then
13775 ac_cr
=`echo X | tr X '\015'`
13776 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13777 # But we know of no other shell where ac_cr would be empty at this
13778 # point, so we can use a bashism as a fallback.
13779 if test "x$ac_cr" = x
; then
13780 eval ac_cr
=\$
\'\\r
\'
13782 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13783 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13786 ac_cs_awk_cr
=$ac_cr
13789 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13794 echo "cat >conf$$subs.awk <<_ACEOF" &&
13795 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13797 } >conf$$subs.sh ||
13798 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13799 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13801 for ac_last_try in false false false false false :; do
13802 . ./conf$$subs.sh ||
13803 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13805 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13806 if test $ac_delim_n = $ac_delim_num; then
13808 elif $ac_last_try; then
13809 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13811 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13814 rm -f conf$$subs.sh
13816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13817 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13821 s/^/S["/; s
/!.
*/"]=/
13831 s/\(.\{148\}\)..*/\1/
13833 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13838 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13845 s/\(.\{148\}\)..*/\1/
13847 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13851 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13856 ' <conf$$subs.awk | sed '
13861 ' >>$CONFIG_STATUS || ac_write_fail=1
13862 rm -f conf$$subs.awk
13863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13865 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13866 for (key in S) S_is_set[key] = 1
13872 nfields = split(line, field, "@
")
13874 len = length(field[1])
13875 for (i = 2; i < nfields; i++) {
13877 keylen = length(key)
13878 if (S_is_set[key]) {
13880 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13881 len += length(value) + length(field[++i])
13892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13893 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13894 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13897 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13898 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13901 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13902 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13903 # trailing colons and then remove the whole line if VPATH becomes empty
13904 # (actually we leave an empty line to preserve line numbers).
13905 if test "x
$srcdir" = x.; then
13906 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13925 fi # test -n "$CONFIG_FILES"
13927 # Set up the scripts for CONFIG_HEADERS section.
13928 # No need to generate them if there are no CONFIG_HEADERS.
13929 # This happens for instance with `./config.status Makefile'.
13930 if test -n "$CONFIG_HEADERS"; then
13931 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13935 # Transform confdefs.h into an awk script `defines.awk', embedded as
13936 # here-document in config.status, that substitutes the proper values into
13937 # config.h.in to produce config.h.
13939 # Create a delimiter string that does not exist in confdefs.h, to ease
13940 # handling of long lines.
13942 for ac_last_try in false false :; do
13943 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13944 if test -z "$ac_tt"; then
13946 elif $ac_last_try; then
13947 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13949 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13953 # For the awk script, D is an array of macro values keyed by name,
13954 # likewise P contains macro parameters if any. Preserve backslash
13955 # newline sequences.
13957 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13959 s/.\{148\}/&'"$ac_delim"'/g
13962 s/^[ ]*#[ ]*define[ ][ ]*/ /
13969 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13971 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13975 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13976 D["\
1"]=" \
3\\\\\\n
"\\/p
13978 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13983 s/.\{148\}/&'"$ac_delim"'/g
13988 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13991 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13993 ' <confdefs.h | sed '
13994 s/'"$ac_delim"'/"\\\
13995 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13998 for (key in D) D_is_set[key] = 1
14001 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14003 split(line, arg, " ")
14004 if (arg[1] == "#") {
14008 defundef
= substr
(arg
[1], 2)
14011 split(mac1
, mac2
, "(") #)
14013 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14014 if (D_is_set
[macro
]) {
14015 # Preserve the white space surrounding the "#".
14016 print prefix
"define", macro P
[macro
] D
[macro
]
14019 # Replace #undef with comments. This is necessary, for example,
14020 # in the case of _POSIX_SOURCE, which is predefined and required
14021 # on some systems where configure will not decide to define it.
14022 if (defundef
== "undef") {
14023 print
"/*", prefix defundef
, macro
, "*/"
14031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14032 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14033 fi # test -n "$CONFIG_HEADERS"
14036 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14041 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14043 case $ac_mode$ac_tag in
14045 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14046 :[FH
]-) ac_tag
=-:-;;
14047 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14064 -) ac_f
="$ac_tmp/stdin";;
14065 *) # Look for the file first in the build tree, then in the source tree
14066 # (if the path is not absolute). The absolute path cannot be DOS-style,
14067 # because $ac_f cannot contain `:'.
14071 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14073 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14075 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14076 as_fn_append ac_file_inputs
" '$ac_f'"
14079 # Let's still pretend it is `configure' which instantiates (i.e., don't
14080 # use $as_me), people would be surprised to read:
14081 # /* config.h. Generated by config.status. */
14082 configure_input
='Generated from '`
14083 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14085 if test x
"$ac_file" != x-
; then
14086 configure_input
="$ac_file. $configure_input"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14088 $as_echo "$as_me: creating $ac_file" >&6;}
14090 # Neutralize special characters interpreted by sed in replacement strings.
14091 case $configure_input in #(
14092 *\
&* |
*\|
* |
*\\* )
14093 ac_sed_conf_input
=`$as_echo "$configure_input" |
14094 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14095 *) ac_sed_conf_input
=$configure_input;;
14099 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14100 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14105 ac_dir
=`$as_dirname -- "$ac_file" ||
14106 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14107 X"$ac_file" : 'X\(//\)[^/]' \| \
14108 X"$ac_file" : 'X\(//\)$' \| \
14109 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14110 $as_echo X"$ac_file" |
14111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14115 /^X\(\/\/\)[^/].*/{
14128 as_dir
="$ac_dir"; as_fn_mkdir_p
14132 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14134 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14135 # A ".." for each directory in $ac_dir_suffix.
14136 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14137 case $ac_top_builddir_sub in
14138 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14139 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14142 ac_abs_top_builddir
=$ac_pwd
14143 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14144 # for backward compatibility:
14145 ac_top_builddir
=$ac_top_build_prefix
14148 .
) # We are building in place.
14150 ac_top_srcdir
=$ac_top_builddir_sub
14151 ac_abs_top_srcdir
=$ac_pwd ;;
14152 [\\/]* | ?
:[\\/]* ) # Absolute name.
14153 ac_srcdir
=$srcdir$ac_dir_suffix;
14154 ac_top_srcdir
=$srcdir
14155 ac_abs_top_srcdir
=$srcdir ;;
14156 *) # Relative name.
14157 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14158 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14159 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14161 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14171 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14172 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14174 ac_MKDIR_P
=$MKDIR_P
14176 [\\/$
]* | ?
:[\\/]* ) ;;
14177 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14182 # If the template does not know about datarootdir, expand it.
14183 # FIXME: This hack should be removed a few years after 2.60.
14184 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14195 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14196 *datarootdir
*) ac_datarootdir_seen
=yes;;
14197 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14199 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14202 ac_datarootdir_hack='
14203 s&@datadir@&$datadir&g
14204 s&@docdir@&$docdir&g
14205 s&@infodir@&$infodir&g
14206 s&@localedir@&$localedir&g
14207 s&@mandir@&$mandir&g
14208 s&\\\${datarootdir}&$datarootdir&g' ;;
14212 # Neutralize VPATH when `$srcdir' = `.'.
14213 # Shell code in configure.ac might set extrasub.
14214 # FIXME: do we really want to maintain this feature?
14215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14216 ac_sed_extra="$ac_vpsub
14219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14221 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14222 s|@configure_input@|
$ac_sed_conf_input|
;t t
14223 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14224 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14225 s
&@srcdir@
&$ac_srcdir&;t t
14226 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14227 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14228 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14229 s
&@builddir@
&$ac_builddir&;t t
14230 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14231 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14232 s
&@INSTALL@
&$ac_INSTALL&;t t
14233 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14234 $ac_datarootdir_hack
14236 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14237 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14239 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14240 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14241 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14242 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14244 which seems to be undefined. Please make sure it is defined" >&5
14245 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14246 which seems to be undefined. Please make sure it is defined" >&2;}
14248 rm -f "$ac_tmp/stdin"
14250 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14251 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14253 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14259 if test x"$ac_file" != x-; then
14261 $as_echo "/* $configure_input */" \
14262 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14263 } >"$ac_tmp/config.h" \
14264 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14265 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14267 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14270 mv "$ac_tmp/config.h" "$ac_file" \
14271 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14274 $as_echo "/* $configure_input */" \
14275 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14276 || as_fn_error $? "could not create -" "$LINENO" 5
14278 # Compute "$ac_file"'s index
in $config_headers.
14281 for _am_header
in $config_headers :; do
14282 case $_am_header in
14283 $_am_arg |
$_am_arg:* )
14286 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14289 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14290 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14291 X"$_am_arg" : 'X\(//\)[^/]' \| \
14292 X"$_am_arg" : 'X\(//\)$' \| \
14293 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14294 $as_echo X"$_am_arg" |
14295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14299 /^X\(\/\/\)[^/].*/{
14311 s/.*/./; q'`/stamp-h
$_am_stamp_count
14314 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14315 $as_echo "$as_me: executing $ac_file commands" >&6;}
14320 case $ac_file$ac_mode in
14321 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14322 # Older Autoconf quotes --file arguments for eval, but not when files
14323 # are listed without --file. Let's play safe and only enable the eval
14324 # if we detect the quoting.
14325 case $CONFIG_FILES in
14326 *\'*) eval set x
"$CONFIG_FILES" ;;
14327 *) set x
$CONFIG_FILES ;;
14332 # Strip MF so we end up with the name of the file.
14333 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14334 # Check whether this is an Automake generated Makefile or not.
14335 # We used to match only the files named 'Makefile.in', but
14336 # some people rename them; so instead we look at the file content.
14337 # Grep'ing the first line is not enough: some people post-process
14338 # each Makefile.in and add a new line on top of each file to say so.
14339 # Grep'ing the whole file is not good either: AIX grep has a line
14340 # limit of 2048, but all sed's we know have understand at least 4000.
14341 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14342 dirpart
=`$as_dirname -- "$mf" ||
14343 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14344 X"$mf" : 'X\(//\)[^/]' \| \
14345 X"$mf" : 'X\(//\)$' \| \
14346 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14352 /^X\(\/\/\)[^/].*/{
14368 # Extract the definition of DEPDIR, am__include, and am__quote
14369 # from the Makefile without running 'make'.
14370 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14371 test -z "$DEPDIR" && continue
14372 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14373 test -z "$am__include" && continue
14374 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14375 # Find all dependency output files, they are included files with
14376 # $(DEPDIR) in their names. We invoke sed twice because it is the
14377 # simplest approach to changing $(DEPDIR) to its actual value in the
14379 for file in `sed -n "
14380 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14381 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14382 # Make sure the directory exists.
14383 test -f "$dirpart/$file" && continue
14384 fdir
=`$as_dirname -- "$file" ||
14385 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14386 X"$file" : 'X\(//\)[^/]' \| \
14387 X"$file" : 'X\(//\)$' \| \
14388 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14389 $as_echo X"$file" |
14390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14394 /^X\(\/\/\)[^/].*/{
14407 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14408 # echo "creating $dirpart/$file"
14409 echo '# dummy' > "$dirpart/$file"
14414 "po-directories":C
)
14415 for ac_file
in $CONFIG_FILES; do
14416 # Support "outfile[:infile[:infile...]]"
14418 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14420 # PO directories have a Makefile.in generated from Makefile.in.in.
14421 case "$ac_file" in */Makefile.
in)
14422 # Adjust a relative srcdir.
14423 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14424 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
14425 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14426 # In autoconf-2.13 it is called $ac_given_srcdir.
14427 # In autoconf-2.50 it is called $srcdir.
14428 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14429 case "$ac_given_srcdir" in
14430 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14431 /*) top_srcdir
="$ac_given_srcdir" ;;
14432 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14434 # Treat a directory as a PO directory if and only if it has a
14435 # POTFILES.in file. This allows packages to have multiple PO
14436 # directories under different names or in different locations.
14437 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14438 rm -f "$ac_dir/POTFILES"
14439 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14440 gt_tab
=`printf '\t'`
14441 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"
14442 POMAKEFILEDEPS
="POTFILES.in"
14443 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14444 # on $ac_dir but don't depend on user-specified configuration
14446 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14447 # The LINGUAS file contains the set of available languages.
14448 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14449 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14451 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14452 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14453 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14454 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14456 # The set of available languages was given in configure.in.
14457 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14458 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14461 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14462 # Compute UPDATEPOFILES
14463 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14464 # Compute DUMMYPOFILES
14465 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14467 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14468 case "$ac_given_srcdir" in
14470 *) srcdirpre
='$(srcdir)/' ;;
14476 for lang
in $ALL_LINGUAS; do
14477 POFILES
="$POFILES $srcdirpre$lang.po"
14478 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14479 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14480 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14482 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14483 # environment variable.
14485 if test -n "$ALL_LINGUAS"; then
14486 for presentlang
in $ALL_LINGUAS; do
14488 if test "%UNSET%" != "$LINGUAS"; then
14489 desiredlanguages
="$LINGUAS"
14491 desiredlanguages
="$ALL_LINGUAS"
14493 for desiredlang
in $desiredlanguages; do
14494 # Use the presentlang catalog if desiredlang is
14495 # a. equal to presentlang, or
14496 # b. a variant of presentlang (because in this case,
14497 # presentlang can be used as a fallback for messages
14498 # which are not translated in the desiredlang catalog).
14499 case "$desiredlang" in
14500 "$presentlang"*) useit
=yes;;
14503 if test $useit = yes; then
14504 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14509 if test -n "$INST_LINGUAS"; then
14510 for lang
in $INST_LINGUAS; do
14511 CATALOGS
="$CATALOGS $lang.gmo"
14514 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14515 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"
14516 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14517 if test -f "$f"; then
14519 *.orig |
*.bak |
*~
) ;;
14520 *) cat "$f" >> "$ac_dir/Makefile" ;;
14528 "run-stap":F
) chmod +x run-stap
;;
14529 "dtrace":F
) chmod +x dtrace
;;
14530 "java/stapbm":F
) chmod +x java
/stapbm
;;
14531 "staprun/run-staprun":F
) chmod +x staprun
/run-staprun
;;
14532 "staprun/guest/stapshd":F
) chmod +x staprun
/guest
/stapshd
;;
14533 "staprun/guest/stapsh-daemon":F
) chmod +x staprun
/guest
/stapsh-daemon
;;
14534 "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
;;
14542 ac_clean_files
=$ac_clean_files_save
14544 test $ac_write_fail = 0 ||
14545 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14548 # configure is writing to config.log, and then calls config.status.
14549 # config.status does its own redirection, appending to config.log.
14550 # Unfortunately, on DOS this fails, as config.log is still kept open
14551 # by configure, so config.status won't be able to write to it; its
14552 # output is simply discarded. So we exec the FD to /dev/null,
14553 # effectively closing config.log, so it can be properly (re)opened and
14554 # appended to by config.status. When coming back to configure, we
14555 # need to make the FD available again.
14556 if test "$no_create" != yes; then
14558 ac_config_status_args
=
14559 test "$silent" = yes &&
14560 ac_config_status_args
="$ac_config_status_args --quiet"
14562 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14564 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14565 # would make configure fail if this is the last instruction.
14566 $ac_cs_success || as_fn_exit
1
14570 # CONFIG_SUBDIRS section.
14572 if test "$no_recursion" != yes; then
14574 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
14575 # so they do not pile up.
14576 ac_sub_configure_args
=
14578 eval "set x $ac_configure_args"
14582 if test -n "$ac_prev"; then
14587 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
14588 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
14589 ac_prev
=cache_file
;;
14590 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
14591 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
14594 --config-cache |
-C)
14596 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
14598 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
14600 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
14602 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
14604 --disable-option-checking)
14608 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14610 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
14614 # Always prepend --prefix to ensure using the same prefix
14615 # in subdir configurations.
14616 ac_arg
="--prefix=$prefix"
14618 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14620 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
14623 if test "$silent" = yes; then
14624 ac_sub_configure_args
="--silent $ac_sub_configure_args"
14627 # Always prepend --disable-option-checking to silence warnings, since
14628 # different subdirs can have different --enable and --with options.
14629 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
14632 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
14634 # Do not complain, so a configure script can configure whichever
14635 # parts of a large source tree are present.
14636 test -d "$srcdir/$ac_dir" ||
continue
14638 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
14639 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
14640 $as_echo "$ac_msg" >&6
14641 as_dir
="$ac_dir"; as_fn_mkdir_p
14645 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14647 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14648 # A ".." for each directory in $ac_dir_suffix.
14649 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14650 case $ac_top_builddir_sub in
14651 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14652 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14655 ac_abs_top_builddir
=$ac_pwd
14656 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14657 # for backward compatibility:
14658 ac_top_builddir
=$ac_top_build_prefix
14661 .
) # We are building in place.
14663 ac_top_srcdir
=$ac_top_builddir_sub
14664 ac_abs_top_srcdir
=$ac_pwd ;;
14665 [\\/]* | ?
:[\\/]* ) # Absolute name.
14666 ac_srcdir
=$srcdir$ac_dir_suffix;
14667 ac_top_srcdir
=$srcdir
14668 ac_abs_top_srcdir
=$srcdir ;;
14669 *) # Relative name.
14670 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14671 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14672 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14674 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14679 # Check for guested configure; otherwise get Cygnus style configure.
14680 if test -f "$ac_srcdir/configure.gnu"; then
14681 ac_sub_configure
=$ac_srcdir/configure.gnu
14682 elif test -f "$ac_srcdir/configure"; then
14683 ac_sub_configure
=$ac_srcdir/configure
14684 elif test -f "$ac_srcdir/configure.in"; then
14685 # This should be Cygnus configure.
14686 ac_sub_configure
=$ac_aux_dir/configure
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
14689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
14693 # The recursion is here.
14694 if test -n "$ac_sub_configure"; then
14695 # Make the cache file name correct relative to the subdirectory.
14696 case $cache_file in
14697 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
14698 *) # Relative name.
14699 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
14702 { $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
14703 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
14704 # The eval makes quoting arguments work.
14705 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
14706 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
14707 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
14713 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14715 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14719 if test "${prefix}" = "/usr/local"; then
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14721 $as_echo "$as_me: " >&6;}
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
14723 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
14725 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
14727 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
14729 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: is not supported." >&5
14731 $as_echo "$as_me: is not supported." >&6;}