2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemtap 3.1.
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.1'
584 PACKAGE_STRING
='systemtap 3.1'
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
644 support_section_question
645 HAVE_MONITOR_LIBS_FALSE
646 HAVE_MONITOR_LIBS_TRUE
651 HAVE_PYTHON_PROBES_FALSE
652 HAVE_PYTHON_PROBES_TRUE
653 HAVE_PYTHON3_PROBES_FALSE
654 HAVE_PYTHON3_PROBES_TRUE
657 HAVE_PYTHON2_PROBES_FALSE
658 HAVE_PYTHON2_PROBES_TRUE
683 HAVE_LIBREADLINE_FALSE
684 HAVE_LIBREADLINE_TRUE
701 XMLTO_STRINGPARAM_FALSE
702 XMLTO_STRINGPARAM_TRUE
721 BUILD_TRANSLATOR_FALSE
722 BUILD_TRANSLATOR_TRUE
752 XGETTEXT_EXTRA_OPTIONS
760 GETTEXT_MACRO_VERSION
792 MAINTAINER_MODE_FALSE
806 INSTALL_STRIP_PROGRAM
860 program_transform_name
873 enable_option_checking
875 enable_maintainer_mode
876 enable_dependency_tracking
909 ac_precious_vars
='build_alias
940 ac_subdirs_all
='testsuite'
942 # Initialize some variables set by options.
944 ac_init_version
=false
945 ac_unrecognized_opts
=
947 # The variables have the same names as the options, with
948 # dashes changed to underlines.
956 program_transform_name
=s
,x
,x
,
964 # Installation directory options.
965 # These are left unexpanded so users can "make install exec_prefix=/foo"
966 # and all the variables that are supposed to be based on exec_prefix
967 # by default will actually change.
968 # Use braces instead of parens because sh, perl, etc. also accept them.
969 # (The list follows the same order as the GNU Coding Standards.)
970 bindir
='${exec_prefix}/bin'
971 sbindir
='${exec_prefix}/sbin'
972 libexecdir
='${exec_prefix}/libexec'
973 datarootdir
='${prefix}/share'
974 datadir
='${datarootdir}'
975 sysconfdir
='${prefix}/etc'
976 sharedstatedir
='${prefix}/com'
977 localstatedir
='${prefix}/var'
978 includedir
='${prefix}/include'
979 oldincludedir
='/usr/include'
980 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
981 infodir
='${datarootdir}/info'
986 libdir
='${exec_prefix}/lib'
987 localedir
='${datarootdir}/locale'
988 mandir
='${datarootdir}/man'
994 # If the previous option needs an argument, assign it.
995 if test -n "$ac_prev"; then
996 eval $ac_prev=\
$ac_option
1002 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1007 # Accept the important Cygnus configure options, so we can diagnose typos.
1009 case $ac_dashdash$ac_option in
1013 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1015 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1016 bindir
=$ac_optarg ;;
1018 -build |
--build |
--buil |
--bui |
--bu)
1019 ac_prev
=build_alias
;;
1020 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1021 build_alias
=$ac_optarg ;;
1023 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1024 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1025 ac_prev
=cache_file
;;
1026 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1027 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1028 cache_file
=$ac_optarg ;;
1030 --config-cache |
-C)
1031 cache_file
=config.cache
;;
1033 -datadir |
--datadir |
--datadi |
--datad)
1035 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1036 datadir
=$ac_optarg ;;
1038 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1039 |
--dataroo |
--dataro |
--datar)
1040 ac_prev
=datarootdir
;;
1041 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1042 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1043 datarootdir
=$ac_optarg ;;
1045 -disable-* |
--disable-*)
1046 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 as_fn_error $?
"invalid feature name: $ac_useropt"
1050 ac_useropt_orig
=$ac_useropt
1051 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_
$ac_useropt"
1056 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1057 ac_unrecognized_sep
=', ';;
1059 eval enable_
$ac_useropt=no
;;
1061 -docdir |
--docdir |
--docdi |
--doc |
--do)
1063 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1064 docdir
=$ac_optarg ;;
1066 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1068 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1069 dvidir
=$ac_optarg ;;
1071 -enable-* |
--enable-*)
1072 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1075 as_fn_error $?
"invalid feature name: $ac_useropt"
1076 ac_useropt_orig
=$ac_useropt
1077 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1080 "enable_
$ac_useropt"
1082 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1083 ac_unrecognized_sep
=', ';;
1085 eval enable_
$ac_useropt=\
$ac_optarg ;;
1087 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1088 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1089 |
--exec |
--exe |
--ex)
1090 ac_prev
=exec_prefix
;;
1091 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1092 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1093 |
--exec=* |
--exe=* |
--ex=*)
1094 exec_prefix
=$ac_optarg ;;
1096 -gas |
--gas |
--ga |
--g)
1097 # Obsolete; use --with-gas.
1100 -help |
--help |
--hel |
--he |
-h)
1101 ac_init_help
=long
;;
1102 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1103 ac_init_help
=recursive
;;
1104 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1105 ac_init_help
=short
;;
1107 -host |
--host |
--hos |
--ho)
1108 ac_prev
=host_alias
;;
1109 -host=* |
--host=* |
--hos=* |
--ho=*)
1110 host_alias
=$ac_optarg ;;
1112 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1114 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1116 htmldir
=$ac_optarg ;;
1118 -includedir |
--includedir |
--includedi |
--included |
--include \
1119 |
--includ |
--inclu |
--incl |
--inc)
1120 ac_prev
=includedir
;;
1121 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1122 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1123 includedir
=$ac_optarg ;;
1125 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1127 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1128 infodir
=$ac_optarg ;;
1130 -libdir |
--libdir |
--libdi |
--libd)
1132 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1133 libdir
=$ac_optarg ;;
1135 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1136 |
--libexe |
--libex |
--libe)
1137 ac_prev
=libexecdir
;;
1138 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1139 |
--libexe=* |
--libex=* |
--libe=*)
1140 libexecdir
=$ac_optarg ;;
1142 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1143 ac_prev
=localedir
;;
1144 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1145 localedir
=$ac_optarg ;;
1147 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1148 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1149 ac_prev
=localstatedir
;;
1150 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1151 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1152 localstatedir
=$ac_optarg ;;
1154 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1156 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1157 mandir
=$ac_optarg ;;
1159 -nfp |
--nfp |
--nf)
1160 # Obsolete; use --without-fp.
1163 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1164 |
--no-cr |
--no-c |
-n)
1167 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1168 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1171 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1172 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1173 |
--oldin |
--oldi |
--old |
--ol |
--o)
1174 ac_prev
=oldincludedir
;;
1175 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1176 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1177 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1178 oldincludedir
=$ac_optarg ;;
1180 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1182 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1183 prefix
=$ac_optarg ;;
1185 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1186 |
--program-pre |
--program-pr |
--program-p)
1187 ac_prev
=program_prefix
;;
1188 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1189 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1190 program_prefix
=$ac_optarg ;;
1192 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1193 |
--program-suf |
--program-su |
--program-s)
1194 ac_prev
=program_suffix
;;
1195 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1196 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1197 program_suffix
=$ac_optarg ;;
1199 -program-transform-name |
--program-transform-name \
1200 |
--program-transform-nam |
--program-transform-na \
1201 |
--program-transform-n |
--program-transform- \
1202 |
--program-transform |
--program-transfor \
1203 |
--program-transfo |
--program-transf \
1204 |
--program-trans |
--program-tran \
1205 |
--progr-tra |
--program-tr |
--program-t)
1206 ac_prev
=program_transform_name
;;
1207 -program-transform-name=* |
--program-transform-name=* \
1208 |
--program-transform-nam=* |
--program-transform-na=* \
1209 |
--program-transform-n=* |
--program-transform-=* \
1210 |
--program-transform=* |
--program-transfor=* \
1211 |
--program-transfo=* |
--program-transf=* \
1212 |
--program-trans=* |
--program-tran=* \
1213 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1214 program_transform_name
=$ac_optarg ;;
1216 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1218 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1219 pdfdir
=$ac_optarg ;;
1221 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1223 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1226 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1227 |
-silent |
--silent |
--silen |
--sile |
--sil)
1230 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1232 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1234 sbindir
=$ac_optarg ;;
1236 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1237 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1238 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1240 ac_prev
=sharedstatedir
;;
1241 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1242 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1243 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1245 sharedstatedir
=$ac_optarg ;;
1247 -site |
--site |
--sit)
1249 -site=* |
--site=* |
--sit=*)
1252 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1254 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1255 srcdir
=$ac_optarg ;;
1257 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1258 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1259 ac_prev
=sysconfdir
;;
1260 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1261 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1262 sysconfdir
=$ac_optarg ;;
1264 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1265 ac_prev
=target_alias
;;
1266 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1267 target_alias
=$ac_optarg ;;
1269 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1272 -version |
--version |
--versio |
--versi |
--vers |
-V)
1273 ac_init_version
=: ;;
1276 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1277 # Reject names that are not valid shell variable names.
1278 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1279 as_fn_error $?
"invalid package name: $ac_useropt"
1280 ac_useropt_orig
=$ac_useropt
1281 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282 case $ac_user_opts in
1286 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1287 ac_unrecognized_sep
=', ';;
1289 eval with_
$ac_useropt=\
$ac_optarg ;;
1291 -without-* |
--without-*)
1292 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1303 ac_unrecognized_sep
=', ';;
1305 eval with_
$ac_useropt=no
;;
1308 # Obsolete; use --with-x.
1311 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1312 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1313 ac_prev
=x_includes
;;
1314 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1315 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1316 x_includes
=$ac_optarg ;;
1318 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1319 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1320 ac_prev
=x_libraries
;;
1321 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1322 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1323 x_libraries
=$ac_optarg ;;
1325 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1326 Try \`$0 --help' for more information"
1330 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1331 # Reject names that are not valid shell variable names.
1332 case $ac_envvar in #(
1333 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1334 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1336 eval $ac_envvar=\
$ac_optarg
1337 export $ac_envvar ;;
1340 # FIXME: should be removed in autoconf 3.0.
1341 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1342 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1343 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1344 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1350 if test -n "$ac_prev"; then
1351 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1352 as_fn_error $?
"missing argument to $ac_option"
1355 if test -n "$ac_unrecognized_opts"; then
1356 case $enable_option_checking in
1358 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1359 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1363 # Check all directory arguments for consistency.
1364 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1365 datadir sysconfdir sharedstatedir localstatedir includedir \
1366 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1367 libdir localedir mandir
1369 eval ac_val
=\$
$ac_var
1370 # Remove trailing slashes.
1373 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1374 eval $ac_var=\
$ac_val;;
1376 # Be sure to have absolute directory names.
1378 [\\/$
]* | ?
:[\\/]* ) continue;;
1379 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1381 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1384 # There might be people who depend on the old broken behavior: `$host'
1385 # used to hold the argument of --host etc.
1386 # FIXME: To remove some day.
1389 target
=$target_alias
1391 # FIXME: To remove some day.
1392 if test "x$host_alias" != x
; then
1393 if test "x$build_alias" = x
; then
1394 cross_compiling
=maybe
1395 elif test "x$build_alias" != "x$host_alias"; then
1401 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1403 test "$silent" = yes && exec 6>/dev
/null
1406 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1407 ac_ls_di
=`ls -di .` &&
1408 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1409 as_fn_error $?
"working directory cannot be determined"
1410 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1411 as_fn_error $?
"pwd does not report name of working directory"
1414 # Find the source files, if location was not specified.
1415 if test -z "$srcdir"; then
1416 ac_srcdir_defaulted
=yes
1417 # Try the directory containing this script, then the parent directory.
1418 ac_confdir
=`$as_dirname -- "$as_myself" ||
1419 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1420 X"$as_myself" : 'X\(//\)[^/]' \| \
1421 X"$as_myself" : 'X\(//\)$' \| \
1422 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1423 $as_echo X"$as_myself" |
1424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1442 if test ! -r "$srcdir/$ac_unique_file"; then
1446 ac_srcdir_defaulted
=no
1448 if test ! -r "$srcdir/$ac_unique_file"; then
1449 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1450 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1452 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1454 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1456 # When building in place, set srcdir=.
1457 if test "$ac_abs_confdir" = "$ac_pwd"; then
1460 # Remove unnecessary trailing slashes from srcdir.
1461 # Double slashes in file names in object file debugging info
1462 # mess up M-x gdb in Emacs.
1464 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1466 for ac_var
in $ac_precious_vars; do
1467 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1468 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1469 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1470 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1474 # Report the --help message.
1476 if test "$ac_init_help" = "long"; then
1477 # Omit some internal or obsolete options to make the list less imposing.
1478 # This message is too long to be a string in the A/UX 3.1 sh.
1480 \`configure' configures systemtap 3.1 to adapt to many kinds of systems.
1482 Usage: $0 [OPTION]... [VAR=VALUE]...
1484 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1485 VAR=VALUE. See below for descriptions of some of the useful variables.
1487 Defaults for the options are specified in brackets.
1490 -h, --help display this help and exit
1491 --help=short display options specific to this package
1492 --help=recursive display the short help of all the included packages
1493 -V, --version display version information and exit
1494 -q, --quiet, --silent do not print \`checking ...' messages
1495 --cache-file=FILE cache test results in FILE [disabled]
1496 -C, --config-cache alias for \`--cache-file=config.cache'
1497 -n, --no-create do not create output files
1498 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1500 Installation directories:
1501 --prefix=PREFIX install architecture-independent files in PREFIX
1502 [$ac_default_prefix]
1503 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1506 By default, \`make install' will install all the files in
1507 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1508 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1509 for instance \`--prefix=\$HOME'.
1511 For better control, use the options below.
1513 Fine tuning of the installation directories:
1514 --bindir=DIR user executables [EPREFIX/bin]
1515 --sbindir=DIR system admin executables [EPREFIX/sbin]
1516 --libexecdir=DIR program executables [EPREFIX/libexec]
1517 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1518 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1519 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1520 --libdir=DIR object code libraries [EPREFIX/lib]
1521 --includedir=DIR C header files [PREFIX/include]
1522 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1523 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1524 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1525 --infodir=DIR info documentation [DATAROOTDIR/info]
1526 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1527 --mandir=DIR man documentation [DATAROOTDIR/man]
1528 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1529 --htmldir=DIR html documentation [DOCDIR]
1530 --dvidir=DIR dvi documentation [DOCDIR]
1531 --pdfdir=DIR pdf documentation [DOCDIR]
1532 --psdir=DIR ps documentation [DOCDIR]
1538 --program-prefix=PREFIX prepend PREFIX to installed program names
1539 --program-suffix=SUFFIX append SUFFIX to installed program names
1540 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1543 --build=BUILD configure
for building on BUILD
[guessed
]
1544 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1545 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1549 if test -n "$ac_init_help"; then
1550 case $ac_init_help in
1551 short | recursive
) echo "Configuration of systemtap 3.1:";;
1556 --disable-option-checking ignore unrecognized
--enable/--with options
1557 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1558 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1559 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1560 --disable-silent-rules verbose build output
(undo
: "make V=0")
1561 --enable-maintainer-mode
1562 enable make rules and dependencies not useful
(and
1563 sometimes confusing
) to the casual installer
1564 --enable-dependency-tracking
1565 do not reject slow dependency extractors
1566 --disable-dependency-tracking
1567 speeds up one-time build
1568 --disable-largefile omit support
for large files
1569 --disable-nls do not use Native Language Support
1570 --disable-rpath do not hardcode runtime library paths
1571 --enable-prologues make -P prologue-searching default
1572 --disable-sdt-probes disable process.mark probes
in stap
, staprun
, stapio
1573 --disable-ssp disable gcc stack-protector
1574 --enable-pie enable position-independent-executable
1575 --enable-sqlite build with sqlite support
1576 --disable-translator build only runtime utilities
1577 --enable-crash[=DIRECTORY
]
1578 enable crash extension
(default is disabled
).
1579 Optional DIRECTORY is the path to the crash header
1580 file (needed
if installed
in a non-standard
1582 --enable-docs enable building documentation
(default on
if latex
1584 --enable-refdocs enable building reference documentation
(default on
1585 if other documentation built
).
1586 --enable-htmldocs enable building html documentation
(default off
).
1587 --enable-server enable building of stap-server
(default on
if nss
1589 --enable-virt enable building of stapvirt support
(default on
if
1590 libvirt etc. found
).
1593 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1594 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1595 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1596 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1597 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1598 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1599 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1600 --without-nss Do not use NSS even
if present
1601 --with-dracutstap=DIR Install dracut module files
in DIR
1602 --with-dracutbindir=DIR Use the dracut binary located
in DIR
1603 --without-avahi Do not use Avahi even
if present
1604 --with-rpm query rpm database
for missing debuginfos
1605 --with-python3 prefer
/usr
/bin
/python3
1606 --with-elfutils=DIRECTORY
1607 find elfutils
source code
in DIRECTORY
1608 --with-dyninst=DIRECTORY
1609 find dyninst headers
/libraries
in DIRECTORY
1610 --without-python2-probes
1611 Disable building python version
2 probe support
,
1612 even
if it is available
1613 --without-python3-probes
1614 Disable building python version
3 probe support
,
1615 even
if it is available
1616 --without-selinux Do not use libselinux even
if present
1617 --with-java=DIRECTORY Specify JDK directory to compile libHelperSDT.so
1618 against
(default is
/usr
/lib
/jvm
/java
)
1619 --with-extra-version=STRING
1620 Add STRING to stap
-V version
1622 Some influential environment variables
:
1623 CC C compiler
command
1624 CFLAGS C compiler flags
1625 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1626 nonstandard directory
<lib dir
>
1627 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1628 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1629 you have headers
in a nonstandard directory
<include dir
>
1631 CXX C
++ compiler
command
1632 CXXFLAGS C
++ compiler flags
1633 PYTHON the Python interpreter
1634 PKG_CONFIG path to pkg-config utility
1636 directories to add to pkg-config
's search path
1638 path overriding pkg-config's built-in search path
1639 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1640 nss_LIBS linker flags
for nss
, overriding pkg-config
1642 C compiler flags
for avahi
, overriding pkg-config
1643 avahi_LIBS linker flags
for avahi
, overriding pkg-config
1644 CXXCPP C
++ preprocessor
1646 C compiler flags
for libvirt
, overriding pkg-config
1648 linker flags
for libvirt
, overriding pkg-config
1650 C compiler flags
for libxml2
, overriding pkg-config
1652 linker flags
for libxml2
, overriding pkg-config
1654 C compiler flags
for jsonc
, overriding pkg-config
1655 jsonc_LIBS linker flags
for jsonc
, overriding pkg-config
1657 C compiler flags
for ncurses
, overriding pkg-config
1659 linker flags
for ncurses
, overriding pkg-config
1661 C compiler flags
for selinux
, overriding pkg-config
1663 linker flags
for selinux
, overriding pkg-config
1665 Use these variables to override the choices made by
`configure' or to help
1666 it to find libraries and programs with nonstandard names/locations.
1668 Report bugs to <systemtap@sourceware.org>.
1673 if test "$ac_init_help" = "recursive"; then
1674 # If there are subdirs, report their specific --help.
1675 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1676 test -d "$ac_dir" ||
1677 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1682 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1684 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1685 # A ".." for each directory in $ac_dir_suffix.
1686 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1687 case $ac_top_builddir_sub in
1688 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1689 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1692 ac_abs_top_builddir=$ac_pwd
1693 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1694 # for backward compatibility:
1695 ac_top_builddir=$ac_top_build_prefix
1698 .) # We are building in place.
1700 ac_top_srcdir=$ac_top_builddir_sub
1701 ac_abs_top_srcdir=$ac_pwd ;;
1702 [\\/]* | ?:[\\/]* ) # Absolute name.
1703 ac_srcdir=$srcdir$ac_dir_suffix;
1704 ac_top_srcdir=$srcdir
1705 ac_abs_top_srcdir=$srcdir ;;
1707 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1708 ac_top_srcdir=$ac_top_build_prefix$srcdir
1709 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1711 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1713 cd "$ac_dir" || { ac_status=$?; continue; }
1714 # Check for guested configure.
1715 if test -f "$ac_srcdir/configure.gnu"; then
1717 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1718 elif test -f "$ac_srcdir/configure"; then
1720 $SHELL "$ac_srcdir/configure" --help=recursive
1722 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1724 cd "$ac_pwd" || { ac_status=$?; break; }
1728 test -n "$ac_init_help" && exit $ac_status
1729 if $ac_init_version; then
1731 systemtap configure 3.1
1732 generated by GNU Autoconf 2.69
1734 Copyright (C) 2012 Free Software Foundation, Inc.
1735 This configure script is free software; the Free Software Foundation
1736 gives unlimited permission to copy, distribute and modify it.
1741 ## ------------------------ ##
1742 ## Autoconf initialization. ##
1743 ## ------------------------ ##
1745 # ac_fn_c_try_compile LINENO
1746 # --------------------------
1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_c_try_compile ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 rm -f conftest.$ac_objext
1752 if { { ac_try="$ac_compile"
1754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1755 *) ac_try_echo
=$ac_try;;
1757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_compile") 2>conftest.err
1761 if test -s conftest.err
; then
1762 grep -v '^ *+' conftest.err
>conftest.er1
1763 cat conftest.er1
>&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_c_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest.
$ac_objext; then :
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.
$ac_ext >&5
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 as_fn_set_status
$ac_retval
1781 } # ac_fn_c_try_compile
1783 # ac_fn_c_try_cpp LINENO
1784 # ----------------------
1785 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } > conftest.i && {
1805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 as_fn_set_status $ac_retval
1820 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1821 # -------------------------------------------------------
1822 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1823 # the include files in INCLUDES and setting the cache variable VAR
1825 ac_fn_c_check_header_mongrel ()
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 if eval \${$3+:} false; then :
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830 $as_echo_n "checking for $2... " >&6; }
1831 if eval \${$3+:} false; then :
1832 $as_echo_n "(cached) " >&6
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1838 # Is the header compilable?
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1840 $as_echo_n "checking $2 usability... " >&6; }
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1846 if ac_fn_c_try_compile "$LINENO"; then :
1847 ac_header_compiler=yes
1849 ac_header_compiler=no
1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1853 $as_echo "$ac_header_compiler" >&6; }
1855 # Is the header present?
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1857 $as_echo_n "checking $2 presence... " >&6; }
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1862 if ac_fn_c_try_cpp "$LINENO"; then :
1863 ac_header_preproc=yes
1865 ac_header_preproc=no
1867 rm -f conftest.err conftest.i conftest.$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1869 $as_echo "$ac_header_preproc" >&6; }
1871 # So? What about this header?
1872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1875 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1877 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1881 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1883 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1885 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1887 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1889 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1890 ( $as_echo "## --------------------------------------- ##
1891 ## Report this to systemtap@sourceware.org ##
1892 ## --------------------------------------- ##"
1893 ) | sed "s/^/$as_me: WARNING: /" >&2
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1897 $as_echo_n "checking for $2... " >&6; }
1898 if eval \${$3+:} false; then :
1899 $as_echo_n "(cached) " >&6
1901 eval "$3=\$ac_header_compiler"
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 } # ac_fn_c_check_header_mongrel
1911 # ac_fn_c_try_run LINENO
1912 # ----------------------
1913 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1914 # that executables *can* be run.
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 if { { ac_try="$ac_link"
1920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1921 *) ac_try_echo
=$ac_try;;
1923 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_link") 2>&5
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1929 { { case "(($ac_try" in
1930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1931 *) ac_try_echo=$ac_try;;
1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_try") 2>&5
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; }; }; then :
1941 $as_echo "$as_me: program exited with status $ac_status" >&5
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1945 ac_retval=$ac_status
1947 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 as_fn_set_status $ac_retval
1953 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1954 # -------------------------------------------------------
1955 # Tests whether HEADER exists and can be compiled using the include files in
1956 # INCLUDES, setting the cache variable VAR accordingly.
1957 ac_fn_c_check_header_compile ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961 $as_echo_n "checking for $2... " >&6; }
1962 if eval \${$3+:} false; then :
1963 $as_echo_n "(cached) " >&6
1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1970 if ac_fn_c_try_compile "$LINENO"; then :
1975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 } # ac_fn_c_check_header_compile
1984 # ac_fn_cxx_try_compile LINENO
1985 # ----------------------------
1986 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_compile ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 rm -f conftest.$ac_objext
1991 if { { ac_try="$ac_compile"
1993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1994 *) ac_try_echo
=$ac_try;;
1996 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_compile") 2>conftest.err
2000 if test -s conftest.err
; then
2001 grep -v '^ *+' conftest.err
>conftest.er1
2002 cat conftest.er1
>&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } && {
2007 test -z "$ac_cxx_werror_flag" ||
2008 test ! -s conftest.err
2009 } && test -s conftest.
$ac_objext; then :
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.
$ac_ext >&5
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status
$ac_retval
2020 } # ac_fn_cxx_try_compile
2022 # ac_fn_c_try_link LINENO
2023 # -----------------------
2024 # Try to link conftest.$ac_ext, and return whether this succeeded.
2027 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2028 rm -f conftest.
$ac_objext conftest
$ac_exeext
2029 if { { ac_try
="$ac_link"
2031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2032 *) ac_try_echo=$ac_try;;
2034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2035 $as_echo "$ac_try_echo"; } >&5
2036 (eval "$ac_link") 2>conftest.err
2038 if test -s conftest.err; then
2039 grep -v '^ *+' conftest.err >conftest.er1
2040 cat conftest.er1 >&5
2041 mv -f conftest.er1 conftest.err
2043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2044 test $ac_status = 0; } && {
2045 test -z "$ac_c_werror_flag" ||
2046 test ! -s conftest.err
2047 } && test -s conftest$ac_exeext && {
2048 test "$cross_compiling" = yes ||
2049 test -x conftest$ac_exeext
2053 $as_echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.$ac_ext >&5
2058 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2059 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2060 # interfere with the next link command; also delete a directory that is
2061 # left behind by Apple's compiler. We do this before executing the actions.
2062 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 as_fn_set_status $ac_retval
2066 } # ac_fn_c_try_link
2068 # ac_fn_c_check_func LINENO FUNC VAR
2069 # ----------------------------------
2070 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2071 ac_fn_c_check_func ()
2073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2075 $as_echo_n "checking for $2... " >&6; }
2076 if eval \${$3+:} false; then :
2077 $as_echo_n "(cached) " >&6
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2081 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2083 #define $2 innocuous_$2
2085 /* System header to define __stub macros and hopefully few prototypes,
2086 which can conflict with char $2 (); below.
2087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2088 <limits.h> exists even on freestanding compilers. */
2091 # include <limits.h>
2093 # include <assert.h>
2098 /* Override any GCC internal prototype to avoid an error.
2099 Use char because int might match the return type of a GCC
2100 builtin and then its argument prototype would still apply. */
2105 /* The GNU C library defines this for functions which it implements
2106 to always fail with ENOSYS. Some functions are actually named
2107 something starting with __ and the normal name is an alias. */
2108 #if defined __stub_$2 || defined __stub___$2
2120 if ac_fn_c_try_link "$LINENO"; then :
2125 rm -f core conftest.err conftest.$ac_objext \
2126 conftest$ac_exeext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 } # ac_fn_c_check_func
2135 # ac_fn_cxx_try_cpp LINENO
2136 # ------------------------
2137 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2138 ac_fn_cxx_try_cpp ()
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 if { { ac_try="$ac_cpp conftest.$ac_ext"
2143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2144 *) ac_try_echo
=$ac_try;;
2146 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147 $as_echo "$ac_try_echo"; } >&5
2148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2150 if test -s conftest.err
; then
2151 grep -v '^ *+' conftest.err
>conftest.er1
2152 cat conftest.er1
>&5
2153 mv -f conftest.er1 conftest.err
2155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2156 test $ac_status = 0; } > conftest.i
&& {
2157 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2158 test ! -s conftest.err
2162 $as_echo "$as_me: failed program was:" >&5
2163 sed 's/^/| /' conftest.
$ac_ext >&5
2167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168 as_fn_set_status
$ac_retval
2170 } # ac_fn_cxx_try_cpp
2172 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2173 # ---------------------------------------------------------
2174 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2175 # the include files in INCLUDES and setting the cache variable VAR
2177 ac_fn_cxx_check_header_mongrel
()
2179 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2180 if eval \
${$3+:} false
; then :
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if eval \
${$3+:} false
; then :
2184 $as_echo_n "(cached) " >&6
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2190 # Is the header compilable?
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2192 $as_echo_n "checking $2 usability... " >&6; }
2193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2194 /* end confdefs.h. */
2198 if ac_fn_cxx_try_compile
"$LINENO"; then :
2199 ac_header_compiler
=yes
2201 ac_header_compiler
=no
2203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2205 $as_echo "$ac_header_compiler" >&6; }
2207 # Is the header present?
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2209 $as_echo_n "checking $2 presence... " >&6; }
2210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2211 /* end confdefs.h. */
2214 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2215 ac_header_preproc
=yes
2217 ac_header_preproc
=no
2219 rm -f conftest.err conftest.i conftest.
$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2221 $as_echo "$ac_header_preproc" >&6; }
2223 # So? What about this header?
2224 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2227 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2229 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2233 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2235 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2237 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2239 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 ( $as_echo "## --------------------------------------- ##
2243 ## Report this to systemtap@sourceware.org ##
2244 ## --------------------------------------- ##"
2245 ) |
sed "s/^/$as_me: WARNING: /" >&2
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2249 $as_echo_n "checking for $2... " >&6; }
2250 if eval \
${$3+:} false
; then :
2251 $as_echo_n "(cached) " >&6
2253 eval "$3=\$ac_header_compiler"
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2257 $as_echo "$ac_res" >&6; }
2259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2261 } # ac_fn_cxx_check_header_mongrel
2263 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2264 # ---------------------------------------------
2265 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2267 ac_fn_c_check_decl
()
2269 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2270 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2271 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2273 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2274 if eval \
${$3+:} false
; then :
2275 $as_echo_n "(cached) " >&6
2277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2283 #ifndef $as_decl_name
2285 (void) $as_decl_use;
2287 (void) $as_decl_name;
2295 if ac_fn_c_try_compile
"$LINENO"; then :
2300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2304 $as_echo "$ac_res" >&6; }
2305 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2307 } # ac_fn_c_check_decl
2308 cat >config.log
<<_ACEOF
2309 This file contains any messages produced by compilers while
2310 running configure, to aid debugging if configure makes a mistake.
2312 It was created by systemtap $as_me 3.1, which was
2313 generated by GNU Autoconf 2.69. Invocation command line was
2325 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2326 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2327 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2328 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2329 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2331 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2332 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2334 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2335 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2336 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2337 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2338 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2339 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2340 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir
=.
2349 $as_echo "PATH: $as_dir"
2365 # Keep a trace of the command line.
2366 # Strip out --no-create and --no-recursion so they do not pile up.
2367 # Strip out --silent because we don't want to record it for future runs.
2368 # Also quote any args containing shell meta-characters.
2369 # Make two passes to allow for proper duplicate-argument suppression.
2373 ac_must_keep_next
=false
2379 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2380 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2381 |
-silent |
--silent |
--silen |
--sile |
--sil)
2384 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2387 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2389 as_fn_append ac_configure_args1
" '$ac_arg'"
2390 if test $ac_must_keep_next = true
; then
2391 ac_must_keep_next
=false
# Got value, back to normal.
2394 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2395 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2396 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2397 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2398 case "$ac_configure_args0 " in
2399 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2402 -* ) ac_must_keep_next
=true
;;
2405 as_fn_append ac_configure_args
" '$ac_arg'"
2410 { ac_configure_args0
=; unset ac_configure_args0
;}
2411 { ac_configure_args1
=; unset ac_configure_args1
;}
2413 # When interrupted or exit'd, cleanup temporary files, and complete
2414 # config.log. We remove comments because anyway the quotes in there
2415 # would cause problems or look ugly.
2416 # WARNING: Use '\'' to represent an apostrophe within the trap.
2417 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2418 trap 'exit_status=$?
2419 # Save into config.log some information that might help in debugging.
2423 $as_echo "## ---------------- ##
2424 ## Cache variables. ##
2425 ## ---------------- ##"
2427 # The following way of writing the cache mishandles newlines in values,
2429 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2430 eval ac_val=\$$ac_var
2434 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2435 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2438 _ | IFS | as_nl) ;; #(
2439 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2440 *) { eval $ac_var=; unset $ac_var;} ;;
2445 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2446 *${as_nl}ac_space=\ *)
2448 "s/'\''/'\''\\\\'\'''\''/g;
2449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2459 $as_echo "## ----------------- ##
2460 ## Output variables. ##
2461 ## ----------------- ##"
2463 for ac_var in $ac_subst_vars
2465 eval ac_val=\$$ac_var
2467 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2469 $as_echo "$ac_var='\''$ac_val'\''"
2473 if test -n "$ac_subst_files"; then
2474 $as_echo "## ------------------- ##
2475 ## File substitutions. ##
2476 ## ------------------- ##"
2478 for ac_var
in $ac_subst_files
2480 eval ac_val
=\$
$ac_var
2482 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2484 $as_echo "$ac_var='\''$ac_val'\''"
2489 if test -s confdefs.h; then
2490 $as_echo "## ----------- ##
2497 test "$ac_signal" != 0 &&
2498 $as_echo "$as_me: caught signal $ac_signal"
2499 $as_echo "$as_me: exit $exit_status"
2501 rm -f core *.core core.conftest.* &&
2502 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2505 for ac_signal
in 1 2 13 15; do
2506 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2510 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2511 rm -f -r conftest
* confdefs.h
2513 $as_echo "/* confdefs.h */" > confdefs.h
2515 # Predefined preprocessor variables.
2517 cat >>confdefs.h
<<_ACEOF
2518 #define PACKAGE_NAME "$PACKAGE_NAME"
2521 cat >>confdefs.h
<<_ACEOF
2522 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2525 cat >>confdefs.h
<<_ACEOF
2526 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2529 cat >>confdefs.h
<<_ACEOF
2530 #define PACKAGE_STRING "$PACKAGE_STRING"
2533 cat >>confdefs.h
<<_ACEOF
2534 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2537 cat >>confdefs.h
<<_ACEOF
2538 #define PACKAGE_URL "$PACKAGE_URL"
2542 # Let the site file select an alternate cache file if it wants to.
2543 # Prefer an explicitly selected file to automatically selected ones.
2546 if test -n "$CONFIG_SITE"; then
2547 # We do not want a PATH search for config.site.
2548 case $CONFIG_SITE in #((
2549 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2550 */*) ac_site_file1
=$CONFIG_SITE;;
2551 *) ac_site_file1
=.
/$CONFIG_SITE;;
2553 elif test "x$prefix" != xNONE
; then
2554 ac_site_file1
=$prefix/share
/config.site
2555 ac_site_file2
=$prefix/etc
/config.site
2557 ac_site_file1
=$ac_default_prefix/share
/config.site
2558 ac_site_file2
=$ac_default_prefix/etc
/config.site
2560 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2562 test "x$ac_site_file" = xNONE
&& continue
2563 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2565 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2566 sed 's/^/| /' "$ac_site_file" >&5
2568 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2570 as_fn_error $?
"failed to load site script $ac_site_file
2571 See \`config.log' for more details" "$LINENO" 5; }
2575 if test -r "$cache_file"; then
2576 # Some versions of bash will fail to source /dev/null (special files
2577 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2578 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2580 $as_echo "$as_me: loading cache $cache_file" >&6;}
2582 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2583 *) .
"./$cache_file";;
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2588 $as_echo "$as_me: creating cache $cache_file" >&6;}
2592 gt_needs
="$gt_needs "
2593 # Check that the precious variables saved in the cache have kept the same
2595 ac_cache_corrupted
=false
2596 for ac_var
in $ac_precious_vars; do
2597 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2598 eval ac_new_set
=\
$ac_env_${ac_var}_set
2599 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2600 eval ac_new_val
=\
$ac_env_${ac_var}_value
2601 case $ac_old_set,$ac_new_set in
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2604 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2605 ac_cache_corrupted
=: ;;
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2608 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2609 ac_cache_corrupted
=: ;;
2612 if test "x$ac_old_val" != "x$ac_new_val"; then
2613 # differences in whitespace do not lead to failure.
2614 ac_old_val_w
=`echo x $ac_old_val`
2615 ac_new_val_w
=`echo x $ac_new_val`
2616 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2618 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2619 ac_cache_corrupted
=:
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2622 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2623 eval $ac_var=\
$ac_old_val
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2626 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2628 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2631 # Pass precious variables to config.status.
2632 if test "$ac_new_set" = set; then
2634 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2635 *) ac_arg
=$ac_var=$ac_new_val ;;
2637 case " $ac_configure_args " in
2638 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2639 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2643 if $ac_cache_corrupted; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2647 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2648 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2650 ## -------------------- ##
2651 ## Main body of script. ##
2652 ## -------------------- ##
2655 ac_cpp
='$CPP $CPPFLAGS'
2656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2663 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2664 if test -f "$ac_dir/install-sh"; then
2666 ac_install_sh
="$ac_aux_dir/install-sh -c"
2668 elif test -f "$ac_dir/install.sh"; then
2670 ac_install_sh
="$ac_aux_dir/install.sh -c"
2672 elif test -f "$ac_dir/shtool"; then
2674 ac_install_sh
="$ac_aux_dir/shtool install -c"
2678 if test -z "$ac_aux_dir"; then
2679 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2682 # These three variables are undocumented and unsupported,
2683 # and are intended to be withdrawn in a future Autoconf release.
2684 # They can cause serious problems if a builder's source tree is in a directory
2685 # whose full name contains unusual characters.
2686 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2687 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2688 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2691 # Make sure we can run config.sub.
2692 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2693 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2696 $as_echo_n "checking build system type... " >&6; }
2697 if ${ac_cv_build+:} false
; then :
2698 $as_echo_n "(cached) " >&6
2700 ac_build_alias
=$build_alias
2701 test "x$ac_build_alias" = x
&&
2702 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2703 test "x$ac_build_alias" = x
&&
2704 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2705 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2706 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2710 $as_echo "$ac_cv_build" >&6; }
2711 case $ac_cv_build in
2713 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2716 ac_save_IFS
=$IFS; IFS
='-'
2722 # Remember, the first character of IFS is used to create $*,
2723 # except with old shells:
2726 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2730 $as_echo_n "checking host system type... " >&6; }
2731 if ${ac_cv_host+:} false
; then :
2732 $as_echo_n "(cached) " >&6
2734 if test "x$host_alias" = x
; then
2735 ac_cv_host
=$ac_cv_build
2737 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2738 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2743 $as_echo "$ac_cv_host" >&6; }
2746 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2749 ac_save_IFS
=$IFS; IFS
='-'
2755 # Remember, the first character of IFS is used to create $*,
2756 # except with old shells:
2759 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2763 $as_echo_n "checking target system type... " >&6; }
2764 if ${ac_cv_target+:} false
; then :
2765 $as_echo_n "(cached) " >&6
2767 if test "x$target_alias" = x
; then
2768 ac_cv_target
=$ac_cv_host
2770 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2771 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2776 $as_echo "$ac_cv_target" >&6; }
2777 case $ac_cv_target in
2779 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2781 target
=$ac_cv_target
2782 ac_save_IFS
=$IFS; IFS
='-'
2788 # Remember, the first character of IFS is used to create $*,
2789 # except with old shells:
2792 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2795 # The aliases save the names the user supplied, while $host etc.
2796 # will get canonicalized.
2797 test -n "$target_alias" &&
2798 test "$program_prefix$program_suffix$program_transform_name" = \
2800 program_prefix
=${target_alias}-
2803 am__api_version
='1.15'
2805 # Find a good install program. We prefer a C program (faster),
2806 # so one script is as good as another. But avoid the broken or
2807 # incompatible versions:
2808 # SysV /etc/install, /usr/sbin/install
2809 # SunOS /usr/etc/install
2810 # IRIX /sbin/install
2812 # AmigaOS /C/install, which installs bootblocks on floppy discs
2813 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2814 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2815 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2816 # OS/2's system install, which has a completely different semantic
2817 # ./install, which can be erroneously created by make from ./install.sh.
2818 # Reject install programs that cannot install multiple files.
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2820 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2821 if test -z "$INSTALL"; then
2822 if ${ac_cv_path_install+:} false
; then :
2823 $as_echo_n "(cached) " >&6
2825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir
=.
2830 # Account for people who put trailing slashes in PATH elements.
2831 case $as_dir/ in #((
2832 .
/ | .
// |
/[cC
]/* | \
2833 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2834 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2837 # OSF1 and SCO ODT 3.0 have their own names for install.
2838 # Don't use installbsd from OSF since it installs stuff as root
2840 for ac_prog
in ginstall scoinst
install; do
2841 for ac_exec_ext
in '' $ac_executable_extensions; do
2842 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2843 if test $ac_prog = install &&
2844 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2845 # AIX install. It has an incompatible calling convention.
2847 elif test $ac_prog = install &&
2848 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2849 # program-specific install script used by HP pwplus--don't use.
2852 rm -rf conftest.one conftest.two conftest.dir
2853 echo one
> conftest.one
2854 echo two
> conftest.two
2856 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2857 test -s conftest.one
&& test -s conftest.two
&&
2858 test -s conftest.dir
/conftest.one
&&
2859 test -s conftest.dir
/conftest.two
2861 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2874 rm -rf conftest.one conftest.two conftest.dir
2877 if test "${ac_cv_path_install+set}" = set; then
2878 INSTALL
=$ac_cv_path_install
2880 # As a last resort, use the slow shell script. Don't cache a
2881 # value for INSTALL within a source directory, because that will
2882 # break other packages using the cache if that directory is
2883 # removed, or if the value is a relative name.
2884 INSTALL
=$ac_install_sh
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2888 $as_echo "$INSTALL" >&6; }
2890 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2891 # It thinks the first close brace ends the variable substitution.
2892 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2894 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2896 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2899 $as_echo_n "checking whether build environment is sane... " >&6; }
2900 # Reject unsafe characters in $srcdir or the absolute working directory
2901 # name. Accept space and tab only in the latter.
2905 *[\\\"\
#\$\&\'\`$am_lf]*)
2906 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2909 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2910 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2913 # Do 'set' in a subshell so we don't clobber the current shell's
2914 # arguments. Must try -L first in case configure is actually a
2915 # symlink; some systems play weird games with the mod time of symlinks
2916 # (eg FreeBSD returns the mod time of the symlink's containing
2920 for am_try
in 1 2; do
2921 echo "timestamp, slept: $am_has_slept" > conftest.
file
2922 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2923 if test "$*" = "X"; then
2925 set X
`ls -t "$srcdir/configure" conftest.file`
2927 if test "$*" != "X $srcdir/configure conftest.file" \
2928 && test "$*" != "X conftest.file $srcdir/configure"; then
2930 # If neither matched, then we have a broken ls. This can happen
2931 # if, for instance, CONFIG_SHELL is bash and it inherits a
2932 # broken ls alias from the environment. This has actually
2933 # happened. Such a system could not be considered "sane".
2934 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2935 alias in your environment" "$LINENO" 5
2937 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2944 test "$2" = conftest.
file
2950 as_fn_error $?
"newly created file is older than distributed files!
2951 Check your system clock" "$LINENO" 5
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2954 $as_echo "yes" >&6; }
2955 # If we didn't sleep, we still need to ensure time stamps of config.status and
2956 # generated files are strictly newer.
2958 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2965 test "$program_prefix" != NONE
&&
2966 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2967 # Use a double $ so make ignores it.
2968 test "$program_suffix" != NONE
&&
2969 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2970 # Double any \ or $.
2971 # By default was `s,x,x', remove it if useless.
2972 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2973 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2975 # Expand $ac_aux_dir to an absolute path.
2976 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2978 if test x
"${MISSING+set}" != xset
; then
2981 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2983 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2986 # Use eval to expand $SHELL
2987 if eval "$MISSING --is-lightweight"; then
2988 am_missing_run
="$MISSING "
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2992 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2995 if test x
"${install_sh+set}" != xset
; then
2998 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3000 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3004 # Installed binaries are usually stripped using 'strip' when the user
3005 # run "make install-strip". However 'strip' might not be the right
3006 # tool to use in cross-compilation environments, therefore Automake
3007 # will honor the 'STRIP' environment variable to overrule this program.
3008 if test "$cross_compiling" != no
; then
3009 if test -n "$ac_tool_prefix"; then
3010 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3011 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_STRIP+:} false
; then :
3015 $as_echo_n "(cached) " >&6
3017 if test -n "$STRIP"; then
3018 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 STRIP
=$ac_cv_prog_STRIP
3038 if test -n "$STRIP"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3040 $as_echo "$STRIP" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3048 if test -z "$ac_cv_prog_STRIP"; then
3050 # Extract the first word of "strip", so it can be a program name with args.
3051 set dummy strip
; ac_word
=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$ac_ct_STRIP"; then
3058 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir
=.
3065 for ac_exec_ext
in '' $ac_executable_extensions; do
3066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_ac_ct_STRIP
="strip"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3078 if test -n "$ac_ct_STRIP"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3080 $as_echo "$ac_ct_STRIP" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3086 if test "x$ac_ct_STRIP" = x
; then
3089 case $cross_compiling:$ac_tool_warned in
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3093 ac_tool_warned
=yes ;;
3098 STRIP
="$ac_cv_prog_STRIP"
3102 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3105 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3106 if test -z "$MKDIR_P"; then
3107 if ${ac_cv_path_mkdir+:} false
; then :
3108 $as_echo_n "(cached) " >&6
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3111 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3114 test -z "$as_dir" && as_dir
=.
3115 for ac_prog
in mkdir gmkdir
; do
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3118 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3119 'mkdir (GNU coreutils) '* | \
3120 'mkdir (coreutils) '* | \
3121 'mkdir (fileutils) '4.1*)
3122 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3132 test -d .
/--version && rmdir .
/--version
3133 if test "${ac_cv_path_mkdir+set}" = set; then
3134 MKDIR_P
="$ac_cv_path_mkdir -p"
3136 # As a last resort, use the slow shell script. Don't cache a
3137 # value for MKDIR_P within a source directory, because that will
3138 # break other packages using the cache if that directory is
3139 # removed, or if the value is a relative name.
3140 MKDIR_P
="$ac_install_sh -d"
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3144 $as_echo "$MKDIR_P" >&6; }
3146 for ac_prog
in gawk mawk nawk
awk
3148 # Extract the first word of "$ac_prog", so it can be a program name with args.
3149 set dummy
$ac_prog; ac_word
=$2
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 $as_echo_n "checking for $ac_word... " >&6; }
3152 if ${ac_cv_prog_AWK+:} false
; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -n "$AWK"; then
3156 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3162 test -z "$as_dir" && as_dir
=.
3163 for ac_exec_ext
in '' $ac_executable_extensions; do
3164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3165 ac_cv_prog_AWK
="$ac_prog"
3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 if test -n "$AWK"; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3178 $as_echo "$AWK" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181 $as_echo "no" >&6; }
3185 test -n "$AWK" && break
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3189 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3191 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3192 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3193 $as_echo_n "(cached) " >&6
3195 cat >conftest.
make <<\_ACEOF
3198 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3200 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3201 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3203 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3205 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3209 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3211 $as_echo "yes" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3216 SET_MAKE
="MAKE=${MAKE-make}"
3219 rm -rf .tst
2>/dev
/null
3220 mkdir .tst
2>/dev
/null
3221 if test -d .tst
; then
3226 rmdir .tst
2>/dev
/null
3228 # Check whether --enable-silent-rules was given.
3229 if test "${enable_silent_rules+set}" = set; then :
3230 enableval
=$enable_silent_rules;
3233 case $enable_silent_rules in # (((
3234 yes) AM_DEFAULT_VERBOSITY
=0;;
3235 no
) AM_DEFAULT_VERBOSITY
=1;;
3236 *) AM_DEFAULT_VERBOSITY
=1;;
3238 am_make
=${MAKE-make}
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3240 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3241 if ${am_cv_make_support_nested_variables+:} false
; then :
3242 $as_echo_n "(cached) " >&6
3244 if $as_echo 'TRUE=$(BAR$(V))
3250 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3251 am_cv_make_support_nested_variables
=yes
3253 am_cv_make_support_nested_variables
=no
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3257 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3258 if test $am_cv_make_support_nested_variables = yes; then
3260 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3262 AM_V
=$AM_DEFAULT_VERBOSITY
3263 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3267 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3268 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3269 # is not polluted with repeated "-I."
3270 am__isrc
=' -I$(srcdir)'
3271 # test to see if srcdir already configured
3272 if test -f $srcdir/config.status
; then
3273 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3277 # test whether we have cygpath
3278 if test -z "$CYGPATH_W"; then
3279 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3280 CYGPATH_W
='cygpath -w'
3287 # Define the identity of the package.
3292 cat >>confdefs.h
<<_ACEOF
3293 #define PACKAGE "$PACKAGE"
3297 cat >>confdefs.h
<<_ACEOF
3298 #define VERSION "$VERSION"
3301 # Some tools Automake needs.
3303 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3306 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3309 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3312 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3315 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3317 # For better backward compatibility. To be removed once Automake 1.9.x
3318 # dies out for good. For more background, see:
3319 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3320 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3321 mkdir_p
='$(MKDIR_P)'
3323 # We need awk for the "check" target (and possibly the TAP driver). The
3324 # system "awk" is bad on some platforms.
3325 # Always define AMTAR for backward compatibility. Yes, it's still used
3326 # in the wild :-( We should find a proper way to deprecate it ...
3330 # We'll loop over all known methods to create a tar archive until one works.
3331 _am_tools
='gnutar pax cpio none'
3333 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3340 # POSIX will say in a future version that running "rm -f" with no argument
3341 # is OK; and we want to be able to make that assumption in our Makefile
3342 # recipes. So use an aggressive probe to check that the usage we want is
3343 # actually supported "in the wild" to an acceptable degree.
3344 # See automake bug#10828.
3345 # To make any issue more visible, cause the running configure to be aborted
3346 # by default if the 'rm' program in use doesn't match our expectations; the
3347 # user can still override this though.
3348 if rm -f && rm -fr && rm -rf; then : OK
; else
3352 Your 'rm' program seems unable to run without file operands specified
3353 on the command line, even when the '-f' option is present. This is contrary
3354 to the behaviour of most rm programs out there, and not conforming with
3355 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3357 Please tell bug-automake@gnu.org about your system, including the value
3358 of your $PATH and any error possibly output before this message. This
3359 can help us improve future automake versions.
3362 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3363 echo 'Configuration will proceed anyway, since you have set the' >&2
3364 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3368 Aborting the configuration process, to ensure you take notice of the issue.
3370 You can download and install GNU coreutils to get an 'rm' implementation
3371 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3373 If you want to complete the configuration process using your problematic
3374 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3375 to "yes", and re-run configure.
3378 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3384 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3385 # Check whether --enable-maintainer-mode was given.
3386 if test "${enable_maintainer_mode+set}" = set; then :
3387 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3389 USE_MAINTAINER_MODE
=no
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3393 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3394 if test $USE_MAINTAINER_MODE = yes; then
3395 MAINTAINER_MODE_TRUE
=
3396 MAINTAINER_MODE_FALSE
='#'
3398 MAINTAINER_MODE_TRUE
='#'
3399 MAINTAINER_MODE_FALSE
=
3402 MAINT
=$MAINTAINER_MODE_TRUE
3406 # Check whether --enable-silent-rules was given.
3407 if test "${enable_silent_rules+set}" = set; then :
3408 enableval
=$enable_silent_rules;
3411 case $enable_silent_rules in # (((
3412 yes) AM_DEFAULT_VERBOSITY
=0;;
3413 no
) AM_DEFAULT_VERBOSITY
=1;;
3414 *) AM_DEFAULT_VERBOSITY
=0;;
3416 am_make
=${MAKE-make}
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3418 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3419 if ${am_cv_make_support_nested_variables+:} false
; then :
3420 $as_echo_n "(cached) " >&6
3422 if $as_echo 'TRUE=$(BAR$(V))
3428 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3429 am_cv_make_support_nested_variables
=yes
3431 am_cv_make_support_nested_variables
=no
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3435 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3436 if test $am_cv_make_support_nested_variables = yes; then
3438 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3440 AM_V
=$AM_DEFAULT_VERBOSITY
3441 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3446 DEPDIR="${am__leading_dot}deps"
3448 ac_config_commands="$ac_config_commands depfiles"
3451 am_make=${MAKE-make}
3452 cat > confinc << 'END
'
3454 @echo this is the am__doit target
3457 # If we don't
find an include directive
, just comment out the code.
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3459 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3463 # First try GNU make style include.
3464 echo "include confinc" > confmf
3465 # Ignore all kinds of additional output from 'make'.
3466 case `$am_make -s -f confmf 2> /dev/null` in #(
3467 *the\ am__doit\ target
*)
3473 # Now try BSD make style include.
3474 if test "$am__include" = "#"; then
3475 echo '.include "confinc"' > confmf
3476 case `$am_make -s -f confmf 2> /dev/null` in #(
3477 *the\ am__doit\ target
*)
3478 am__include
=.include
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3487 $as_echo "$_am_result" >&6; }
3488 rm -f confinc confmf
3490 # Check whether --enable-dependency-tracking was given.
3491 if test "${enable_dependency_tracking+set}" = set; then :
3492 enableval
=$enable_dependency_tracking;
3495 if test "x$enable_dependency_tracking" != xno
; then
3496 am_depcomp
="$ac_aux_dir/depcomp"
3500 if test "x$enable_dependency_tracking" != xno; then
3510 ac_cpp
='$CPP $CPPFLAGS'
3511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3514 if test -n "$ac_tool_prefix"; then
3515 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3516 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if ${ac_cv_prog_CC+:} false
; then :
3520 $as_echo_n "(cached) " >&6
3522 if test -n "$CC"; then
3523 ac_cv_prog_CC
="$CC" # Let the user override the test.
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir
=.
3530 for ac_exec_ext
in '' $ac_executable_extensions; do
3531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3532 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 if test -n "$CC"; then
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3545 $as_echo "$CC" >&6; }
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3553 if test -z "$ac_cv_prog_CC"; then
3555 # Extract the first word of "gcc", so it can be a program name with args.
3556 set dummy gcc
; ac_word
=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$ac_ct_CC"; then
3563 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir
=.
3570 for ac_exec_ext
in '' $ac_executable_extensions; do
3571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3572 ac_cv_prog_ac_ct_CC
="gcc"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3583 if test -n "$ac_ct_CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3585 $as_echo "$ac_ct_CC" >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3591 if test "x$ac_ct_CC" = x
; then
3594 case $cross_compiling:$ac_tool_warned in
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3598 ac_tool_warned
=yes ;;
3606 if test -z "$CC"; then
3607 if test -n "$ac_tool_prefix"; then
3608 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3609 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_CC+:} false
; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$CC"; then
3616 ac_cv_prog_CC
="$CC" # Let the user override the test.
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_exec_ext
in '' $ac_executable_extensions; do
3624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3625 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 if test -n "$CC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3638 $as_echo "$CC" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3647 if test -z "$CC"; then
3648 # Extract the first word of "cc", so it can be a program name with args.
3649 set dummy cc
; ac_word
=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if ${ac_cv_prog_CC+:} false
; then :
3653 $as_echo_n "(cached) " >&6
3655 if test -n "$CC"; then
3656 ac_cv_prog_CC
="$CC" # Let the user override the test.
3659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir
=.
3664 for ac_exec_ext
in '' $ac_executable_extensions; do
3665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3667 ac_prog_rejected
=yes
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3678 if test $ac_prog_rejected = yes; then
3679 # We found a bogon in the path, so make sure we never use it.
3680 set dummy
$ac_cv_prog_CC
3682 if test $# != 0; then
3683 # We chose a different compiler from the bogus one.
3684 # However, it has the same basename, so the bogon will be chosen
3685 # first if we set CC to just the basename; use the full file name.
3687 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3693 if test -n "$CC"; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3695 $as_echo "$CC" >&6; }
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3703 if test -z "$CC"; then
3704 if test -n "$ac_tool_prefix"; then
3705 for ac_prog
in cl.exe
3707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3708 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_CC+:} false
; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$CC"; then
3715 ac_cv_prog_CC
="$CC" # Let the user override the test.
3717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir
=.
3722 for ac_exec_ext
in '' $ac_executable_extensions; do
3723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3744 test -n "$CC" && break
3747 if test -z "$CC"; then
3749 for ac_prog
in cl.exe
3751 # Extract the first word of "$ac_prog", so it can be a program name with args.
3752 set dummy
$ac_prog; ac_word
=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3756 $as_echo_n "(cached) " >&6
3758 if test -n "$ac_ct_CC"; then
3759 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir
=.
3766 for ac_exec_ext
in '' $ac_executable_extensions; do
3767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_prog_ac_ct_CC
="$ac_prog"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3779 if test -n "$ac_ct_CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3781 $as_echo "$ac_ct_CC" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3788 test -n "$ac_ct_CC" && break
3791 if test "x$ac_ct_CC" = x
; then
3794 case $cross_compiling:$ac_tool_warned in
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3798 ac_tool_warned
=yes ;;
3807 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 as_fn_error $?
"no acceptable C compiler found in \$PATH
3810 See \`config.log' for more details" "$LINENO" 5; }
3812 # Provide some information about the compiler.
3813 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3816 for ac_option
in --version -v -V -qversion; do
3817 { { ac_try
="$ac_compiler $ac_option >&5"
3819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3820 *) ac_try_echo=$ac_try;;
3822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3823 $as_echo "$ac_try_echo"; } >&5
3824 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3826 if test -s conftest.err; then
3828 ... rest of stderr output deleted ...
3829 10q' conftest.err >conftest.er1
3830 cat conftest.er1 >&5
3832 rm -f conftest.er1 conftest.err
3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834 test $ac_status = 0; }
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3848 ac_clean_files_save=$ac_clean_files
3849 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3850 # Try to create an executable without -o first, disregard a.out.
3851 # It will help us diagnose broken compilers, and finding out an intuition
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3854 $as_echo_n "checking whether the C compiler works... " >&6; }
3855 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3857 # The possible output files:
3858 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3861 for ac_file in $ac_files
3864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3865 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3870 if { { ac_try="$ac_link_default"
3872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3873 *) ac_try_echo
=$ac_try;;
3875 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876 $as_echo "$ac_try_echo"; } >&5
3877 (eval "$ac_link_default") 2>&5
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; then :
3881 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3882 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3883 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3884 # so that the user can short-circuit this test for compilers unknown to
3886 for ac_file
in $ac_files ''
3888 test -f "$ac_file" ||
continue
3890 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3893 # We found the default executable, but exeext='' is most
3897 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3899 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3901 # We set ac_cv_exeext here because the later test for it is not
3902 # safe: cross compilers may not add the suffix if given an `-o'
3903 # argument, so we may need to know it at that point already.
3904 # Even if this section looks crufty: it has the advantage of
3911 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3916 if test -z "$ac_file"; then :
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3919 $as_echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.
$ac_ext >&5
3922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error
77 "C compiler cannot create executables
3925 See \`config.log' for more details" "$LINENO" 5; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3928 $as_echo "yes" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3933 $as_echo "$ac_file" >&6; }
3934 ac_exeext
=$ac_cv_exeext
3936 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3937 ac_clean_files
=$ac_clean_files_save
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3939 $as_echo_n "checking for suffix of executables... " >&6; }
3940 if { { ac_try
="$ac_link"
3942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link") 2>&5
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3952 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3953 # work properly (i.e., refer to `conftest.exe'), while it won't with
3955 for ac_file
in conftest.exe conftest conftest.
*; do
3956 test -f "$ac_file" ||
continue
3958 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3959 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3968 See \`config.log' for more details" "$LINENO" 5; }
3970 rm -f conftest conftest
$ac_cv_exeext
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3972 $as_echo "$ac_cv_exeext" >&6; }
3974 rm -f conftest.
$ac_ext
3975 EXEEXT
=$ac_cv_exeext
3977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3983 FILE *f = fopen ("conftest.out", "w");
3984 return ferror (f) || fclose (f) != 0;
3990 ac_clean_files
="$ac_clean_files conftest.out"
3991 # Check that the compiler produces executables we can run. If not, either
3992 # the compiler is broken, or we cross compile.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3994 $as_echo_n "checking whether we are cross compiling... " >&6; }
3995 if test "$cross_compiling" != yes; then
3996 { { ac_try
="$ac_link"
3998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4002 $as_echo "$ac_try_echo"; } >&5
4003 (eval "$ac_link") 2>&5
4005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4006 test $ac_status = 0; }
4007 if { ac_try='./conftest$ac_cv_exeext'
4008 { { case "(($ac_try" in
4009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4010 *) ac_try_echo
=$ac_try;;
4012 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_try") 2>&5
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }; }; then
4020 if test "$cross_compiling" = maybe
; then
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error $?
"cannot run C compiled programs.
4026 If you meant to cross compile, use \`--host'.
4027 See \`config.log' for more details" "$LINENO" 5; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4032 $as_echo "$cross_compiling" >&6; }
4034 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4035 ac_clean_files
=$ac_clean_files_save
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4037 $as_echo_n "checking for suffix of object files... " >&6; }
4038 if ${ac_cv_objext+:} false
; then :
4039 $as_echo_n "(cached) " >&6
4041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4052 rm -f conftest.o conftest.obj
4053 if { { ac_try
="$ac_compile"
4055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_compile") 2>&5
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; then :
4064 for ac_file in conftest.o conftest.obj conftest.*; do
4065 test -f "$ac_file" || continue;
4067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4068 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4073 $as_echo "$as_me: failed program was:" >&5
4074 sed 's/^/| /' conftest.$ac_ext >&5
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4079 See \
`config.log' for more details" "$LINENO" 5; }
4081 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4084 $as_echo "$ac_cv_objext" >&6; }
4085 OBJEXT=$ac_cv_objext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4088 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4089 if ${ac_cv_c_compiler_gnu+:} false; then :
4090 $as_echo_n "(cached) " >&6
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4106 if ac_fn_c_try_compile "$LINENO"; then :
4111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4112 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4116 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4117 if test $ac_compiler_gnu = yes; then
4122 ac_test_CFLAGS=${CFLAGS+set}
4123 ac_save_CFLAGS=$CFLAGS
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4125 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4126 if ${ac_cv_prog_cc_g+:} false; then :
4127 $as_echo_n "(cached) " >&6
4129 ac_save_c_werror_flag=$ac_c_werror_flag
4130 ac_c_werror_flag=yes
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4144 if ac_fn_c_try_compile "$LINENO"; then :
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4159 if ac_fn_c_try_compile "$LINENO"; then :
4162 ac_c_werror_flag=$ac_save_c_werror_flag
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4175 if ac_fn_c_try_compile "$LINENO"; then :
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 ac_c_werror_flag=$ac_save_c_werror_flag
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4186 $as_echo "$ac_cv_prog_cc_g" >&6; }
4187 if test "$ac_test_CFLAGS" = set; then
4188 CFLAGS=$ac_save_CFLAGS
4189 elif test $ac_cv_prog_cc_g = yes; then
4190 if test "$GCC" = yes; then
4196 if test "$GCC" = yes; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4203 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4204 if ${ac_cv_prog_cc_c89+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 ac_cv_prog_cc_c89=no
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4215 struct buf { int x; };
4216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4217 static char *e (p, i)
4223 static char *f (char * (*g) (char **, int), char **p, ...)
4228 s = g (p, va_arg (v,int));
4233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4234 function prototypes and stuff, but not '\xHH' hex character constants.
4235 These don't provoke an error unfortunately, instead are silently treated
4236 as 'x'. The following induces an error, until -std is added to get
4237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4238 array size at least. It's necessary to write '\x00'==0 to get something
4239 that's true only with -std. */
4240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4242 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4243 inside strings and character constants. */
4245 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4247 int test (int i, double x);
4248 struct s1 {int (*f) (int a);};
4249 struct s2 {int (*f) (double a);};
4250 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4256 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4261 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4262 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4264 CC="$ac_save_CC $ac_arg"
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_c89=$ac_arg
4268 rm -f core conftest.err conftest.$ac_objext
4269 test "x$ac_cv_prog_cc_c89" != "xno" && break
4271 rm -f conftest.$ac_ext
4276 case "x$ac_cv_prog_cc_c89" in
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4279 $as_echo "none needed" >&6; } ;;
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4282 $as_echo "unsupported" >&6; } ;;
4284 CC="$CC $ac_cv_prog_cc_c89"
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4286 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4288 if test "x$ac_cv_prog_cc_c89" != xno; then :
4293 ac_cpp='$CPP $CPPFLAGS'
4294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4304 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4305 if ${am_cv_prog_cc_c_o+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4319 # Make sure it works both with $CC and with simple cc.
4320 # Following AC_PROG_CC_C_O, we do the test twice because some
4321 # compilers refuse to overwrite an existing .o file with -o,
4322 # though they will create one.
4323 am_cv_prog_cc_c_o=yes
4325 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4326 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); } \
4330 && test -f conftest2.$ac_objext; then
4333 am_cv_prog_cc_c_o=no
4337 rm -f core conftest*
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4341 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4342 if test "$am_cv_prog_cc_c_o" != yes; then
4343 # Losing compiler, so override with the script.
4344 # FIXME: It is wrong to rewrite CC.
4345 # But if we don't then we get into trouble of one sort or another.
4346 # A longer-term fix would be to have automake use am__CC in this case,
4347 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4348 CC="$am_aux_dir/compile $CC"
4351 ac_cpp='$CPP $CPPFLAGS'
4352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4357 depcc="$CC" am_compiler_list=
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4360 $as_echo_n "checking dependency style of $depcc... " >&6; }
4361 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4365 # We make a subdir and do the tests there. Otherwise we can end up
4366 # making bogus files that we don't know about and never remove. For
4367 # instance it was reported that on HP-UX the gcc test will end up
4368 # making a dummy file named 'D' -- because '-MD' means "put the output
4372 # Copy depcomp to subdir because otherwise we won't find it if we're
4373 # using a relative directory.
4374 cp "$am_depcomp" conftest.dir
4376 # We will build objects and dependencies in a subdirectory because
4377 # it helps to detect inapplicable dependency modes. For instance
4378 # both Tru64's cc and ICC support -MD to output dependencies as a
4379 # side effect of compilation, but ICC will put the dependencies in
4380 # the current directory while Tru64 will put them in the object
4384 am_cv_CC_dependencies_compiler_type=none
4385 if test "$am_compiler_list" = ""; then
4386 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4389 case " $depcc " in #(
4390 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4393 for depmode in $am_compiler_list; do
4394 # Setup a source with many dependencies, because some compilers
4395 # like to wrap large dependency lists on column 80 (with \), and
4396 # we should not choose a depcomp mode which is confused by this.
4398 # We need to recreate these files for each test, as the compiler may
4399 # overwrite some of them when testing with obscure command lines.
4400 # This happens at least with the AIX C compiler.
4402 for i in 1 2 3 4 5 6; do
4403 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4404 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4405 # Solaris 10 /bin/sh.
4406 echo '/* dummy */' > sub/conftst$i.h
4408 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4410 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4411 # mode. It turns out that the SunPro C++ compiler does not properly
4412 # handle '-M -o', and we need to detect this. Also, some Intel
4413 # versions had trouble with output in subdirs.
4414 am__obj=sub/conftest.${OBJEXT-o}
4415 am__minus_obj="-o $am__obj"
4418 # This depmode causes a compiler race in universal mode.
4419 test "$am__universal" = false || continue
4422 # After this tag, mechanisms are not by side-effect, so they'll
4423 # only be used when explicitly requested.
4424 if test "x$enable_dependency_tracking" = xyes; then
4430 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4431 # This compiler won't grok '-c -o', but also, the minuso test has
4432 # not run yet. These depmodes are late enough in the game, and
4433 # so weak that their functioning should not be impacted.
4434 am__obj=conftest.${OBJEXT-o}
4439 if depmode=$depmode \
4440 source=sub/conftest.c object=$am__obj \
4441 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4442 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4443 >/dev/null 2>conftest.err &&
4444 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4445 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4446 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4447 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4448 # icc doesn't choke on unknown options, it will just issue warnings
4449 # or remarks (even with -Werror). So we grep stderr for any message
4450 # that says an option was ignored or not supported.
4451 # When given -MP, icc 7.0 and 7.1 complain thusly:
4452 # icc: Command line warning: ignoring option '-M'; no argument required
4453 # The diagnosis changed in icc 8.0:
4454 # icc: Command line remark: option '-MP' not supported
4455 if (grep 'ignoring option' conftest.err ||
4456 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4457 am_cv_CC_dependencies_compiler_type=$depmode
4466 am_cv_CC_dependencies_compiler_type=none
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4471 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4472 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4475 test "x$enable_dependency_tracking" != xno \
4476 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4478 am__fastdepCC_FALSE='#'
4480 am__fastdepCC_TRUE='#'
4481 am__fastdepCC_FALSE=
4487 ac_cpp='$CPP $CPPFLAGS'
4488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4492 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4493 # On Suns, sometimes $CPP names a directory.
4494 if test -n "$CPP" && test -d "$CPP"; then
4497 if test -z "$CPP"; then
4498 if ${ac_cv_prog_CPP+:} false; then :
4499 $as_echo_n "(cached) " >&6
4501 # Double quotes because CPP needs to be expanded
4502 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4505 for ac_c_preproc_warn_flag in '' yes
4507 # Use a header file that comes with gcc, so configuring glibc
4508 # with a fresh cross-compiler works.
4509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4510 # <limits.h> exists even on freestanding compilers.
4511 # On the NeXT, cc -E runs the code through the compiler's parser,
4512 # not just through cpp. "Syntax error" is here to catch this case.
4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4516 # include <limits.h>
4518 # include <assert.h>
4522 if ac_fn_c_try_cpp "$LINENO"; then :
4525 # Broken: fails on valid input.
4528 rm -f conftest.err conftest.i conftest.$ac_ext
4530 # OK, works on sane cases. Now check whether nonexistent headers
4531 # can be detected and how.
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4534 #include <ac_nonexistent.h>
4536 if ac_fn_c_try_cpp "$LINENO"; then :
4537 # Broken: success on invalid input.
4540 # Passes both tests.
4544 rm -f conftest.err conftest.i conftest.$ac_ext
4547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4548 rm -f conftest.i conftest.err conftest.
$ac_ext
4549 if $ac_preproc_ok; then :
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4562 $as_echo "$CPP" >&6; }
4564 for ac_c_preproc_warn_flag
in '' yes
4566 # Use a header file that comes with gcc, so configuring glibc
4567 # with a fresh cross-compiler works.
4568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4569 # <limits.h> exists even on freestanding compilers.
4570 # On the NeXT, cc -E runs the code through the compiler's parser,
4571 # not just through cpp. "Syntax error" is here to catch this case.
4572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4575 # include <limits.h>
4577 # include <assert.h>
4581 if ac_fn_c_try_cpp
"$LINENO"; then :
4584 # Broken: fails on valid input.
4587 rm -f conftest.err conftest.i conftest.
$ac_ext
4589 # OK, works on sane cases. Now check whether nonexistent headers
4590 # can be detected and how.
4591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4593 #include <ac_nonexistent.h>
4595 if ac_fn_c_try_cpp
"$LINENO"; then :
4596 # Broken: success on invalid input.
4599 # Passes both tests.
4603 rm -f conftest.err conftest.i conftest.
$ac_ext
4606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4607 rm -f conftest.i conftest.err conftest.
$ac_ext
4608 if $ac_preproc_ok; then :
4611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4613 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4614 See \`config.log' for more details" "$LINENO" 5; }
4618 ac_cpp
='$CPP $CPPFLAGS'
4619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4625 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4626 if ${ac_cv_path_GREP+:} false
; then :
4627 $as_echo_n "(cached) " >&6
4629 if test -z "$GREP"; then
4630 ac_path_GREP_found
=false
4631 # Loop through the user's path and test for each of PROGNAME-LIST
4632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4636 test -z "$as_dir" && as_dir
=.
4637 for ac_prog
in grep ggrep
; do
4638 for ac_exec_ext
in '' $ac_executable_extensions; do
4639 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4640 as_fn_executable_p
"$ac_path_GREP" ||
continue
4641 # Check for GNU ac_path_GREP and select it if it is found.
4642 # Check for GNU $ac_path_GREP
4643 case `"$ac_path_GREP" --version 2>&1` in
4645 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4648 $as_echo_n 0123456789 >"conftest.in"
4651 cat "conftest.in" "conftest.in" >"conftest.tmp"
4652 mv "conftest.tmp" "conftest.in"
4653 cp "conftest.in" "conftest.nl"
4654 $as_echo 'GREP' >> "conftest.nl"
4655 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4656 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4657 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4658 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4659 # Best one so far, save it but keep looking for a better one
4660 ac_cv_path_GREP
="$ac_path_GREP"
4661 ac_path_GREP_max
=$ac_count
4663 # 10*(2^10) chars as input seems more than enough
4664 test $ac_count -gt 10 && break
4666 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4669 $ac_path_GREP_found && break 3
4674 if test -z "$ac_cv_path_GREP"; then
4675 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4678 ac_cv_path_GREP
=$GREP
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4683 $as_echo "$ac_cv_path_GREP" >&6; }
4684 GREP
="$ac_cv_path_GREP"
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4688 $as_echo_n "checking for egrep... " >&6; }
4689 if ${ac_cv_path_EGREP+:} false
; then :
4690 $as_echo_n "(cached) " >&6
4692 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4693 then ac_cv_path_EGREP
="$GREP -E"
4695 if test -z "$EGREP"; then
4696 ac_path_EGREP_found
=false
4697 # Loop through the user's path and test for each of PROGNAME-LIST
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4699 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4702 test -z "$as_dir" && as_dir
=.
4703 for ac_prog
in egrep; do
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4706 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4707 # Check for GNU ac_path_EGREP and select it if it is found.
4708 # Check for GNU $ac_path_EGREP
4709 case `"$ac_path_EGREP" --version 2>&1` in
4711 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4714 $as_echo_n 0123456789 >"conftest.in"
4717 cat "conftest.in" "conftest.in" >"conftest.tmp"
4718 mv "conftest.tmp" "conftest.in"
4719 cp "conftest.in" "conftest.nl"
4720 $as_echo 'EGREP' >> "conftest.nl"
4721 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4722 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4723 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4724 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4725 # Best one so far, save it but keep looking for a better one
4726 ac_cv_path_EGREP
="$ac_path_EGREP"
4727 ac_path_EGREP_max
=$ac_count
4729 # 10*(2^10) chars as input seems more than enough
4730 test $ac_count -gt 10 && break
4732 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4735 $ac_path_EGREP_found && break 3
4740 if test -z "$ac_cv_path_EGREP"; then
4741 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4744 ac_cv_path_EGREP
=$EGREP
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4750 $as_echo "$ac_cv_path_EGREP" >&6; }
4751 EGREP
="$ac_cv_path_EGREP"
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4755 $as_echo_n "checking for ANSI C header files... " >&6; }
4756 if ${ac_cv_header_stdc+:} false
; then :
4757 $as_echo_n "(cached) " >&6
4759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4774 if ac_fn_c_try_compile
"$LINENO"; then :
4775 ac_cv_header_stdc
=yes
4777 ac_cv_header_stdc
=no
4779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4781 if test $ac_cv_header_stdc = yes; then
4782 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4789 $EGREP "memchr" >/dev
/null
2>&1; then :
4792 ac_cv_header_stdc
=no
4798 if test $ac_cv_header_stdc = yes; then
4799 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4806 $EGREP "free" >/dev
/null
2>&1; then :
4809 ac_cv_header_stdc
=no
4815 if test $ac_cv_header_stdc = yes; then
4816 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4817 if test "$cross_compiling" = yes; then :
4820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 #if ((' ' & 0x0FF) == 0x020)
4825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4828 # define ISLOWER(c) \
4829 (('a' <= (c) && (c) <= 'i') \
4830 || ('j' <= (c) && (c) <= 'r') \
4831 || ('s' <= (c) && (c) <= 'z'))
4832 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4835 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4840 for (i = 0; i < 256; i++)
4841 if (XOR (islower (i), ISLOWER (i))
4842 || toupper (i) != TOUPPER (i))
4847 if ac_fn_c_try_run
"$LINENO"; then :
4850 ac_cv_header_stdc
=no
4852 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4853 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4859 $as_echo "$ac_cv_header_stdc" >&6; }
4860 if test $ac_cv_header_stdc = yes; then
4862 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4866 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4867 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4868 inttypes.h stdint.h unistd.h
4870 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4871 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4873 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4874 cat >>confdefs.h
<<_ACEOF
4875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4884 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4885 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4892 if test "$MINIX" = yes; then
4894 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4897 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4900 $as_echo "#define _MINIX 1" >>confdefs.h
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4906 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4907 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4908 $as_echo_n "(cached) " >&6
4910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4913 # define __EXTENSIONS__ 1
4914 $ac_includes_default
4923 if ac_fn_c_try_compile
"$LINENO"; then :
4924 ac_cv_safe_to_define___extensions__
=yes
4926 ac_cv_safe_to_define___extensions__
=no
4928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4931 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4932 test $ac_cv_safe_to_define___extensions__ = yes &&
4933 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4935 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4937 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4939 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4941 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4947 $as_echo_n "checking whether ln -s works... " >&6; }
4949 if test "$LN_S" = "ln -s"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4951 $as_echo "yes" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4954 $as_echo "no, using $LN_S" >&6; }
4958 ac_cpp
='$CPP $CPPFLAGS'
4959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4962 if test -n "$ac_tool_prefix"; then
4963 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4964 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 $as_echo_n "checking for $ac_word... " >&6; }
4967 if ${ac_cv_prog_CC+:} false
; then :
4968 $as_echo_n "(cached) " >&6
4970 if test -n "$CC"; then
4971 ac_cv_prog_CC
="$CC" # Let the user override the test.
4973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4977 test -z "$as_dir" && as_dir
=.
4978 for ac_exec_ext
in '' $ac_executable_extensions; do
4979 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4980 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 if test -n "$CC"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4993 $as_echo "$CC" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
5001 if test -z "$ac_cv_prog_CC"; then
5003 # Extract the first word of "gcc", so it can be a program name with args.
5004 set dummy gcc
; ac_word
=$2
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5006 $as_echo_n "checking for $ac_word... " >&6; }
5007 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5008 $as_echo_n "(cached) " >&6
5010 if test -n "$ac_ct_CC"; then
5011 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir
=.
5018 for ac_exec_ext
in '' $ac_executable_extensions; do
5019 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_ac_ct_CC
="gcc"
5021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5031 if test -n "$ac_ct_CC"; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5033 $as_echo "$ac_ct_CC" >&6; }
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5039 if test "x$ac_ct_CC" = x
; then
5042 case $cross_compiling:$ac_tool_warned in
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5046 ac_tool_warned
=yes ;;
5054 if test -z "$CC"; then
5055 if test -n "$ac_tool_prefix"; then
5056 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5057 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_CC+:} false
; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$CC"; then
5064 ac_cv_prog_CC
="$CC" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 if test -n "$CC"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5086 $as_echo "$CC" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5095 if test -z "$CC"; then
5096 # Extract the first word of "cc", so it can be a program name with args.
5097 set dummy cc
; ac_word
=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if ${ac_cv_prog_CC+:} false
; then :
5101 $as_echo_n "(cached) " >&6
5103 if test -n "$CC"; then
5104 ac_cv_prog_CC
="$CC" # Let the user override the test.
5107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5111 test -z "$as_dir" && as_dir
=.
5112 for ac_exec_ext
in '' $ac_executable_extensions; do
5113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5114 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5115 ac_prog_rejected
=yes
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 if test $ac_prog_rejected = yes; then
5127 # We found a bogon in the path, so make sure we never use it.
5128 set dummy
$ac_cv_prog_CC
5130 if test $# != 0; then
5131 # We chose a different compiler from the bogus one.
5132 # However, it has the same basename, so the bogon will be chosen
5133 # first if we set CC to just the basename; use the full file name.
5135 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5141 if test -n "$CC"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5143 $as_echo "$CC" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5151 if test -z "$CC"; then
5152 if test -n "$ac_tool_prefix"; then
5153 for ac_prog
in cl.exe
5155 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5156 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_prog_CC+:} false
; then :
5160 $as_echo_n "(cached) " >&6
5162 if test -n "$CC"; then
5163 ac_cv_prog_CC
="$CC" # Let the user override the test.
5165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir
=.
5170 for ac_exec_ext
in '' $ac_executable_extensions; do
5171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 if test -n "$CC"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5185 $as_echo "$CC" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5192 test -n "$CC" && break
5195 if test -z "$CC"; then
5197 for ac_prog
in cl.exe
5199 # Extract the first word of "$ac_prog", so it can be a program name with args.
5200 set dummy
$ac_prog; ac_word
=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5204 $as_echo_n "(cached) " >&6
5206 if test -n "$ac_ct_CC"; then
5207 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir
=.
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_ac_ct_CC
="$ac_prog"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5227 if test -n "$ac_ct_CC"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5229 $as_echo "$ac_ct_CC" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5236 test -n "$ac_ct_CC" && break
5239 if test "x$ac_ct_CC" = x
; then
5242 case $cross_compiling:$ac_tool_warned in
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5246 ac_tool_warned
=yes ;;
5255 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5257 as_fn_error $?
"no acceptable C compiler found in \$PATH
5258 See \`config.log' for more details" "$LINENO" 5; }
5260 # Provide some information about the compiler.
5261 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5264 for ac_option
in --version -v -V -qversion; do
5265 { { ac_try
="$ac_compiler $ac_option >&5"
5267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5268 *) ac_try_echo=$ac_try;;
5270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5271 $as_echo "$ac_try_echo"; } >&5
5272 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5274 if test -s conftest.err; then
5276 ... rest of stderr output deleted ...
5277 10q' conftest.err >conftest.er1
5278 cat conftest.er1 >&5
5280 rm -f conftest.er1 conftest.err
5281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5282 test $ac_status = 0; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5286 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5287 if ${ac_cv_c_compiler_gnu+:} false; then :
5288 $as_echo_n "(cached) " >&6
5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5304 if ac_fn_c_try_compile "$LINENO"; then :
5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5314 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5315 if test $ac_compiler_gnu = yes; then
5320 ac_test_CFLAGS=${CFLAGS+set}
5321 ac_save_CFLAGS=$CFLAGS
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5323 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5324 if ${ac_cv_prog_cc_g+:} false; then :
5325 $as_echo_n "(cached) " >&6
5327 ac_save_c_werror_flag=$ac_c_werror_flag
5328 ac_c_werror_flag=yes
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5342 if ac_fn_c_try_compile "$LINENO"; then :
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5357 if ac_fn_c_try_compile "$LINENO"; then :
5360 ac_c_werror_flag=$ac_save_c_werror_flag
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5373 if ac_fn_c_try_compile "$LINENO"; then :
5376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5381 ac_c_werror_flag=$ac_save_c_werror_flag
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5384 $as_echo "$ac_cv_prog_cc_g" >&6; }
5385 if test "$ac_test_CFLAGS" = set; then
5386 CFLAGS=$ac_save_CFLAGS
5387 elif test $ac_cv_prog_cc_g = yes; then
5388 if test "$GCC" = yes; then
5394 if test "$GCC" = yes; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5401 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5402 if ${ac_cv_prog_cc_c89+:} false; then :
5403 $as_echo_n "(cached) " >&6
5405 ac_cv_prog_cc_c89=no
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5412 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5413 struct buf { int x; };
5414 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5415 static char *e (p, i)
5421 static char *f (char * (*g) (char **, int), char **p, ...)
5426 s = g (p, va_arg (v,int));
5431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5432 function prototypes and stuff, but not '\xHH' hex character constants.
5433 These don't provoke an error unfortunately, instead are silently treated
5434 as 'x'. The following induces an error, until -std is added to get
5435 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5436 array size at least. It's necessary to write '\x00'==0 to get something
5437 that's true only with -std. */
5438 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5441 inside strings and character constants. */
5443 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5445 int test (int i, double x);
5446 struct s1 {int (*f) (int a);};
5447 struct s2 {int (*f) (double a);};
5448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5454 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5460 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5462 CC="$ac_save_CC $ac_arg"
5463 if ac_fn_c_try_compile "$LINENO"; then :
5464 ac_cv_prog_cc_c89=$ac_arg
5466 rm -f core conftest.err conftest.$ac_objext
5467 test "x$ac_cv_prog_cc_c89" != "xno" && break
5469 rm -f conftest.$ac_ext
5474 case "x$ac_cv_prog_cc_c89" in
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5477 $as_echo "none needed" >&6; } ;;
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5480 $as_echo "unsupported" >&6; } ;;
5482 CC="$CC $ac_cv_prog_cc_c89"
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5484 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5486 if test "x$ac_cv_prog_cc_c89" != xno; then :
5491 ac_cpp='$CPP $CPPFLAGS'
5492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5497 ac_cpp='$CPP $CPPFLAGS'
5498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5502 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5503 if ${am_cv_prog_cc_c_o+:} false; then :
5504 $as_echo_n "(cached) " >&6
5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5517 # Make sure it works both with $CC and with simple cc.
5518 # Following AC_PROG_CC_C_O, we do the test twice because some
5519 # compilers refuse to overwrite an existing .o file with -o,
5520 # though they will create one.
5521 am_cv_prog_cc_c_o=yes
5523 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5524 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } \
5528 && test -f conftest2.$ac_objext; then
5531 am_cv_prog_cc_c_o=no
5535 rm -f core conftest*
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5539 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5540 if test "$am_cv_prog_cc_c_o" != yes; then
5541 # Losing compiler, so override with the script.
5542 # FIXME: It is wrong to rewrite CC.
5543 # But if we don't then we get into trouble of one sort or another.
5544 # A longer-term fix would be to have automake use am__CC in this case,
5545 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5546 CC="$am_aux_dir/compile $CC"
5549 ac_cpp='$CPP $CPPFLAGS'
5550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555 depcc="$CC" am_compiler_list=
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5558 $as_echo_n "checking dependency style of $depcc... " >&6; }
5559 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5560 $as_echo_n "(cached) " >&6
5562 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5563 # We make a subdir and do the tests there. Otherwise we can end up
5564 # making bogus files that we don't know about and never remove. For
5565 # instance it was reported that on HP-UX the gcc test will end up
5566 # making a dummy file named 'D' -- because '-MD' means "put the output
5570 # Copy depcomp to subdir because otherwise we won't find it if we're
5571 # using a relative directory.
5572 cp "$am_depcomp" conftest.dir
5574 # We will build objects and dependencies in a subdirectory because
5575 # it helps to detect inapplicable dependency modes. For instance
5576 # both Tru64's cc and ICC support -MD to output dependencies as a
5577 # side effect of compilation, but ICC will put the dependencies in
5578 # the current directory while Tru64 will put them in the object
5582 am_cv_CC_dependencies_compiler_type=none
5583 if test "$am_compiler_list" = ""; then
5584 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5587 case " $depcc " in #(
5588 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5591 for depmode in $am_compiler_list; do
5592 # Setup a source with many dependencies, because some compilers
5593 # like to wrap large dependency lists on column 80 (with \), and
5594 # we should not choose a depcomp mode which is confused by this.
5596 # We need to recreate these files for each test, as the compiler may
5597 # overwrite some of them when testing with obscure command lines.
5598 # This happens at least with the AIX C compiler.
5600 for i in 1 2 3 4 5 6; do
5601 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5602 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5603 # Solaris 10 /bin/sh.
5604 echo '/* dummy */' > sub/conftst$i.h
5606 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5608 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5609 # mode. It turns out that the SunPro C++ compiler does not properly
5610 # handle '-M -o', and we need to detect this. Also, some Intel
5611 # versions had trouble with output in subdirs.
5612 am__obj=sub/conftest.${OBJEXT-o}
5613 am__minus_obj="-o $am__obj"
5616 # This depmode causes a compiler race in universal mode.
5617 test "$am__universal" = false || continue
5620 # After this tag, mechanisms are not by side-effect, so they'll
5621 # only be used when explicitly requested.
5622 if test "x$enable_dependency_tracking" = xyes; then
5628 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5629 # This compiler won't grok '-c -o', but also, the minuso test has
5630 # not run yet. These depmodes are late enough in the game, and
5631 # so weak that their functioning should not be impacted.
5632 am__obj=conftest.${OBJEXT-o}
5637 if depmode=$depmode \
5638 source=sub/conftest.c object=$am__obj \
5639 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5640 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5641 >/dev/null 2>conftest.err &&
5642 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5643 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5644 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5645 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5646 # icc doesn't choke on unknown options, it will just issue warnings
5647 # or remarks (even with -Werror). So we grep stderr for any message
5648 # that says an option was ignored or not supported.
5649 # When given -MP, icc 7.0 and 7.1 complain thusly:
5650 # icc: Command line warning: ignoring option '-M'; no argument required
5651 # The diagnosis changed in icc 8.0:
5652 # icc: Command line remark: option '-MP' not supported
5653 if (grep 'ignoring option' conftest.err ||
5654 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5655 am_cv_CC_dependencies_compiler_type=$depmode
5664 am_cv_CC_dependencies_compiler_type=none
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5669 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5670 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5673 test "x$enable_dependency_tracking" != xno \
5674 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5676 am__fastdepCC_FALSE='#'
5678 am__fastdepCC_TRUE='#'
5679 am__fastdepCC_FALSE=
5684 ac_cpp='$CXXCPP $CPPFLAGS'
5685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5688 if test -z "$CXX"; then
5689 if test -n "$CCC"; then
5692 if test -n "$ac_tool_prefix"; then
5693 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if ${ac_cv_prog_CXX+:} false; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$CXX"; then
5703 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 if test -n "$CXX"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5725 $as_echo "$CXX" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5732 test -n "$CXX" && break
5735 if test -z "$CXX"; then
5737 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5739 # Extract the first word of "$ac_prog", so it can be a program name with args.
5740 set dummy $ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5744 $as_echo_n "(cached) " >&6
5746 if test -n "$ac_ct_CXX"; then
5747 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_ac_ct_CXX="$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5767 if test -n "$ac_ct_CXX"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5769 $as_echo "$ac_ct_CXX" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$ac_ct_CXX" && break
5779 if test "x$ac_ct_CXX" = x; then
5782 case $cross_compiling:$ac_tool_warned in
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5786 ac_tool_warned=yes ;;
5794 # Provide some information about the compiler.
5795 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5798 for ac_option in --version -v -V -qversion; do
5799 { { ac_try="$ac_compiler $ac_option >&5"
5801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5802 *) ac_try_echo
=$ac_try;;
5804 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5805 $as_echo "$ac_try_echo"; } >&5
5806 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5808 if test -s conftest.err
; then
5810 ... rest of stderr output deleted ...
5811 10q' conftest.err
>conftest.er1
5812 cat conftest.er1
>&5
5814 rm -f conftest.er1 conftest.err
5815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5816 test $ac_status = 0; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5820 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5821 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5822 $as_echo_n "(cached) " >&6
5824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5838 if ac_fn_cxx_try_compile
"$LINENO"; then :
5843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5844 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5848 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5849 if test $ac_compiler_gnu = yes; then
5854 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5855 ac_save_CXXFLAGS
=$CXXFLAGS
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5857 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5858 if ${ac_cv_prog_cxx_g+:} false
; then :
5859 $as_echo_n "(cached) " >&6
5861 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5862 ac_cxx_werror_flag
=yes
5865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5876 if ac_fn_cxx_try_compile
"$LINENO"; then :
5877 ac_cv_prog_cxx_g
=yes
5880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5881 /* end confdefs.h. */
5891 if ac_fn_cxx_try_compile
"$LINENO"; then :
5894 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5907 if ac_fn_cxx_try_compile
"$LINENO"; then :
5908 ac_cv_prog_cxx_g
=yes
5910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5915 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5918 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5919 if test "$ac_test_CXXFLAGS" = set; then
5920 CXXFLAGS
=$ac_save_CXXFLAGS
5921 elif test $ac_cv_prog_cxx_g = yes; then
5922 if test "$GXX" = yes; then
5928 if test "$GXX" = yes; then
5935 ac_cpp
='$CPP $CPPFLAGS'
5936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5940 depcc
="$CXX" am_compiler_list
=
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5943 $as_echo_n "checking dependency style of $depcc... " >&6; }
5944 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5945 $as_echo_n "(cached) " >&6
5947 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5948 # We make a subdir and do the tests there. Otherwise we can end up
5949 # making bogus files that we don't know about and never remove. For
5950 # instance it was reported that on HP-UX the gcc test will end up
5951 # making a dummy file named 'D' -- because '-MD' means "put the output
5955 # Copy depcomp to subdir because otherwise we won't find it if we're
5956 # using a relative directory.
5957 cp "$am_depcomp" conftest.dir
5959 # We will build objects and dependencies in a subdirectory because
5960 # it helps to detect inapplicable dependency modes. For instance
5961 # both Tru64's cc and ICC support -MD to output dependencies as a
5962 # side effect of compilation, but ICC will put the dependencies in
5963 # the current directory while Tru64 will put them in the object
5967 am_cv_CXX_dependencies_compiler_type
=none
5968 if test "$am_compiler_list" = ""; then
5969 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5972 case " $depcc " in #(
5973 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5976 for depmode
in $am_compiler_list; do
5977 # Setup a source with many dependencies, because some compilers
5978 # like to wrap large dependency lists on column 80 (with \), and
5979 # we should not choose a depcomp mode which is confused by this.
5981 # We need to recreate these files for each test, as the compiler may
5982 # overwrite some of them when testing with obscure command lines.
5983 # This happens at least with the AIX C compiler.
5985 for i
in 1 2 3 4 5 6; do
5986 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5987 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5988 # Solaris 10 /bin/sh.
5989 echo '/* dummy */' > sub
/conftst
$i.h
5991 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5993 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5994 # mode. It turns out that the SunPro C++ compiler does not properly
5995 # handle '-M -o', and we need to detect this. Also, some Intel
5996 # versions had trouble with output in subdirs.
5997 am__obj
=sub
/conftest.
${OBJEXT-o}
5998 am__minus_obj
="-o $am__obj"
6001 # This depmode causes a compiler race in universal mode.
6002 test "$am__universal" = false ||
continue
6005 # After this tag, mechanisms are not by side-effect, so they'll
6006 # only be used when explicitly requested.
6007 if test "x$enable_dependency_tracking" = xyes
; then
6013 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6014 # This compiler won't grok '-c -o', but also, the minuso test has
6015 # not run yet. These depmodes are late enough in the game, and
6016 # so weak that their functioning should not be impacted.
6017 am__obj
=conftest.
${OBJEXT-o}
6022 if depmode
=$depmode \
6023 source=sub
/conftest.c object
=$am__obj \
6024 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6025 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6026 >/dev
/null
2>conftest.err
&&
6027 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6028 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6029 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6030 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6031 # icc doesn't choke on unknown options, it will just issue warnings
6032 # or remarks (even with -Werror). So we grep stderr for any message
6033 # that says an option was ignored or not supported.
6034 # When given -MP, icc 7.0 and 7.1 complain thusly:
6035 # icc: Command line warning: ignoring option '-M'; no argument required
6036 # The diagnosis changed in icc 8.0:
6037 # icc: Command line remark: option '-MP' not supported
6038 if (grep 'ignoring option' conftest.err ||
6039 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6040 am_cv_CXX_dependencies_compiler_type
=$depmode
6049 am_cv_CXX_dependencies_compiler_type
=none
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6054 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6055 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6058 test "x$enable_dependency_tracking" != xno \
6059 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6060 am__fastdepCXX_TRUE
=
6061 am__fastdepCXX_FALSE
='#'
6063 am__fastdepCXX_TRUE
='#'
6064 am__fastdepCXX_FALSE
=
6069 ac_cpp
='$CPP $CPPFLAGS'
6070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6074 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6075 # On Suns, sometimes $CPP names a directory.
6076 if test -n "$CPP" && test -d "$CPP"; then
6079 if test -z "$CPP"; then
6080 if ${ac_cv_prog_CPP+:} false
; then :
6081 $as_echo_n "(cached) " >&6
6083 # Double quotes because CPP needs to be expanded
6084 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6087 for ac_c_preproc_warn_flag
in '' yes
6089 # Use a header file that comes with gcc, so configuring glibc
6090 # with a fresh cross-compiler works.
6091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6092 # <limits.h> exists even on freestanding compilers.
6093 # On the NeXT, cc -E runs the code through the compiler's parser,
6094 # not just through cpp. "Syntax error" is here to catch this case.
6095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6098 # include <limits.h>
6100 # include <assert.h>
6104 if ac_fn_c_try_cpp
"$LINENO"; then :
6107 # Broken: fails on valid input.
6110 rm -f conftest.err conftest.i conftest.
$ac_ext
6112 # OK, works on sane cases. Now check whether nonexistent headers
6113 # can be detected and how.
6114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6116 #include <ac_nonexistent.h>
6118 if ac_fn_c_try_cpp
"$LINENO"; then :
6119 # Broken: success on invalid input.
6122 # Passes both tests.
6126 rm -f conftest.err conftest.i conftest.
$ac_ext
6129 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6130 rm -f conftest.i conftest.err conftest.
$ac_ext
6131 if $ac_preproc_ok; then :
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6144 $as_echo "$CPP" >&6; }
6146 for ac_c_preproc_warn_flag
in '' yes
6148 # Use a header file that comes with gcc, so configuring glibc
6149 # with a fresh cross-compiler works.
6150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6151 # <limits.h> exists even on freestanding compilers.
6152 # On the NeXT, cc -E runs the code through the compiler's parser,
6153 # not just through cpp. "Syntax error" is here to catch this case.
6154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6157 # include <limits.h>
6159 # include <assert.h>
6163 if ac_fn_c_try_cpp
"$LINENO"; then :
6166 # Broken: fails on valid input.
6169 rm -f conftest.err conftest.i conftest.
$ac_ext
6171 # OK, works on sane cases. Now check whether nonexistent headers
6172 # can be detected and how.
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6175 #include <ac_nonexistent.h>
6177 if ac_fn_c_try_cpp
"$LINENO"; then :
6178 # Broken: success on invalid input.
6181 # Passes both tests.
6185 rm -f conftest.err conftest.i conftest.
$ac_ext
6188 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6189 rm -f conftest.i conftest.err conftest.
$ac_ext
6190 if $ac_preproc_ok; then :
6193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6195 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6196 See \`config.log' for more details" "$LINENO" 5; }
6200 ac_cpp
='$CPP $CPPFLAGS'
6201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6206 if test -n "$ac_tool_prefix"; then
6207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6208 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6210 $as_echo_n "checking for $ac_word... " >&6; }
6211 if ${ac_cv_prog_RANLIB+:} false
; then :
6212 $as_echo_n "(cached) " >&6
6214 if test -n "$RANLIB"; then
6215 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6221 test -z "$as_dir" && as_dir
=.
6222 for ac_exec_ext
in '' $ac_executable_extensions; do
6223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6224 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6234 RANLIB
=$ac_cv_prog_RANLIB
6235 if test -n "$RANLIB"; then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6237 $as_echo "$RANLIB" >&6; }
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240 $as_echo "no" >&6; }
6245 if test -z "$ac_cv_prog_RANLIB"; then
6246 ac_ct_RANLIB
=$RANLIB
6247 # Extract the first word of "ranlib", so it can be a program name with args.
6248 set dummy ranlib
; ac_word
=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 $as_echo_n "checking for $ac_word... " >&6; }
6251 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6252 $as_echo_n "(cached) " >&6
6254 if test -n "$ac_ct_RANLIB"; then
6255 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir
=.
6262 for ac_exec_ext
in '' $ac_executable_extensions; do
6263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6264 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6275 if test -n "$ac_ct_RANLIB"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6277 $as_echo "$ac_ct_RANLIB" >&6; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280 $as_echo "no" >&6; }
6283 if test "x$ac_ct_RANLIB" = x
; then
6286 case $cross_compiling:$ac_tool_warned in
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6290 ac_tool_warned
=yes ;;
6292 RANLIB
=$ac_ct_RANLIB
6295 RANLIB
="$ac_cv_prog_RANLIB"
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6302 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6304 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6305 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6306 $as_echo_n "(cached) " >&6
6308 cat >conftest.
make <<\_ACEOF
6311 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6313 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6314 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6316 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6318 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6322 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6324 $as_echo "yes" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6329 SET_MAKE
="MAKE=${MAKE-make}"
6334 # Check whether --enable-largefile was given.
6335 if test "${enable_largefile+set}" = set; then :
6336 enableval
=$enable_largefile;
6339 if test "$enable_largefile" != no
; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6342 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6343 if ${ac_cv_sys_largefile_CC+:} false
; then :
6344 $as_echo_n "(cached) " >&6
6346 ac_cv_sys_largefile_CC
=no
6347 if test "$GCC" != yes; then
6350 # IRIX 6.2 and later do not support large files by default,
6351 # so use the C compiler's -n32 option if that helps.
6352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #include <sys/types.h>
6355 /* Check that off_t can represent 2**63 - 1 correctly.
6356 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6357 since some C++ compilers masquerading as C compilers
6358 incorrectly reject 9223372036854775807. */
6359 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6360 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6361 && LARGE_OFF_T % 2147483647 == 1)
6371 if ac_fn_c_try_compile
"$LINENO"; then :
6374 rm -f core conftest.err conftest.
$ac_objext
6376 if ac_fn_c_try_compile
"$LINENO"; then :
6377 ac_cv_sys_largefile_CC
=' -n32'; break
6379 rm -f core conftest.err conftest.
$ac_objext
6383 rm -f conftest.
$ac_ext
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6387 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6388 if test "$ac_cv_sys_largefile_CC" != no
; then
6389 CC
=$CC$ac_cv_sys_largefile_CC
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6393 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6394 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6395 $as_echo_n "(cached) " >&6
6398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <sys/types.h>
6401 /* Check that off_t can represent 2**63 - 1 correctly.
6402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6403 since some C++ compilers masquerading as C compilers
6404 incorrectly reject 9223372036854775807. */
6405 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6407 && LARGE_OFF_T % 2147483647 == 1)
6417 if ac_fn_c_try_compile
"$LINENO"; then :
6418 ac_cv_sys_file_offset_bits
=no
; break
6420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 #define _FILE_OFFSET_BITS 64
6424 #include <sys/types.h>
6425 /* Check that off_t can represent 2**63 - 1 correctly.
6426 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6427 since some C++ compilers masquerading as C compilers
6428 incorrectly reject 9223372036854775807. */
6429 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6430 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6431 && LARGE_OFF_T % 2147483647 == 1)
6441 if ac_fn_c_try_compile
"$LINENO"; then :
6442 ac_cv_sys_file_offset_bits
=64; break
6444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6445 ac_cv_sys_file_offset_bits
=unknown
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6450 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6451 case $ac_cv_sys_file_offset_bits in #(
6454 cat >>confdefs.h
<<_ACEOF
6455 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6460 if test $ac_cv_sys_file_offset_bits = unknown
; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6462 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6463 if ${ac_cv_sys_large_files+:} false
; then :
6464 $as_echo_n "(cached) " >&6
6467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6469 #include <sys/types.h>
6470 /* Check that off_t can represent 2**63 - 1 correctly.
6471 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6472 since some C++ compilers masquerading as C compilers
6473 incorrectly reject 9223372036854775807. */
6474 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6475 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6476 && LARGE_OFF_T % 2147483647 == 1)
6486 if ac_fn_c_try_compile
"$LINENO"; then :
6487 ac_cv_sys_large_files
=no
; break
6489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6492 #define _LARGE_FILES 1
6493 #include <sys/types.h>
6494 /* Check that off_t can represent 2**63 - 1 correctly.
6495 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6496 since some C++ compilers masquerading as C compilers
6497 incorrectly reject 9223372036854775807. */
6498 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6499 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6500 && LARGE_OFF_T % 2147483647 == 1)
6510 if ac_fn_c_try_compile
"$LINENO"; then :
6511 ac_cv_sys_large_files
=1; break
6513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6514 ac_cv_sys_large_files
=unknown
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6519 $as_echo "$ac_cv_sys_large_files" >&6; }
6520 case $ac_cv_sys_large_files in #(
6523 cat >>confdefs.h
<<_ACEOF
6524 #define _LARGE_FILES $ac_cv_sys_large_files
6534 for ac_func
in ppoll
6536 ac_fn_c_check_func
"$LINENO" "ppoll" "ac_cv_func_ppoll"
6537 if test "x$ac_cv_func_ppoll" = xyes
; then :
6538 cat >>confdefs.h
<<_ACEOF
6539 #define HAVE_PPOLL 1
6545 for ac_func
in openat
6547 ac_fn_c_check_func
"$LINENO" "openat" "ac_cv_func_openat"
6548 if test "x$ac_cv_func_openat" = xyes
; then :
6549 cat >>confdefs.h
<<_ACEOF
6550 #define HAVE_OPENAT 1
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6557 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6558 if ${ac_cv_path_SED+:} false
; then :
6559 $as_echo_n "(cached) " >&6
6561 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6562 for ac_i
in 1 2 3 4 5 6 7; do
6563 ac_script
="$ac_script$as_nl$ac_script"
6565 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6566 { ac_script
=; unset ac_script
;}
6567 if test -z "$SED"; then
6568 ac_path_SED_found
=false
6569 # Loop through the user's path and test for each of PROGNAME-LIST
6570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6574 test -z "$as_dir" && as_dir
=.
6575 for ac_prog
in sed gsed
; do
6576 for ac_exec_ext
in '' $ac_executable_extensions; do
6577 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6578 as_fn_executable_p
"$ac_path_SED" ||
continue
6579 # Check for GNU ac_path_SED and select it if it is found.
6580 # Check for GNU $ac_path_SED
6581 case `"$ac_path_SED" --version 2>&1` in
6583 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6586 $as_echo_n 0123456789 >"conftest.in"
6589 cat "conftest.in" "conftest.in" >"conftest.tmp"
6590 mv "conftest.tmp" "conftest.in"
6591 cp "conftest.in" "conftest.nl"
6592 $as_echo '' >> "conftest.nl"
6593 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6594 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6595 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6596 if test $ac_count -gt ${ac_path_SED_max-0}; then
6597 # Best one so far, save it but keep looking for a better one
6598 ac_cv_path_SED
="$ac_path_SED"
6599 ac_path_SED_max
=$ac_count
6601 # 10*(2^10) chars as input seems more than enough
6602 test $ac_count -gt 10 && break
6604 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6607 $ac_path_SED_found && break 3
6612 if test -z "$ac_cv_path_SED"; then
6613 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6621 $as_echo "$ac_cv_path_SED" >&6; }
6622 SED
="$ac_cv_path_SED"
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6627 $as_echo_n "checking whether NLS is requested... " >&6; }
6628 # Check whether --enable-nls was given.
6629 if test "${enable_nls+set}" = set; then :
6630 enableval
=$enable_nls; USE_NLS
=$enableval
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6636 $as_echo "$USE_NLS" >&6; }
6641 GETTEXT_MACRO_VERSION
=0.19
6646 # Prepare PATH_SEPARATOR.
6647 # The user is always right.
6648 if test "${PATH_SEPARATOR+set}" != set; then
6649 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6650 # contains only /bin. Note that ksh looks also at the FPATH variable,
6651 # so we have to set that as well for the test.
6653 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6654 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6655 || PATH_SEPARATOR
=';'
6659 # Find out how to test for executable files. Don't use a zero-byte file,
6660 # as systems may use methods other than mode bits to determine executability.
6661 cat >conf$$.
file <<_ASEOF
6665 chmod +x conf$$.
file
6666 if test -x conf$$.
file >/dev
/null
2>&1; then
6667 ac_executable_p
="test -x"
6669 ac_executable_p
="test -f"
6673 # Extract the first word of "msgfmt", so it can be a program name with args.
6674 set dummy msgfmt
; ac_word
=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if ${ac_cv_path_MSGFMT+:} false
; then :
6678 $as_echo_n "(cached) " >&6
6682 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6685 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6686 for ac_dir
in $PATH; do
6688 test -z "$ac_dir" && ac_dir
=.
6689 for ac_exec_ext
in '' $ac_executable_extensions; do
6690 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6691 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6692 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
6693 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6694 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6701 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6705 MSGFMT
="$ac_cv_path_MSGFMT"
6706 if test "$MSGFMT" != ":"; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6708 $as_echo "$MSGFMT" >&6; }
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 $as_echo "no" >&6; }
6714 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6715 set dummy gmsgfmt
; ac_word
=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if ${ac_cv_path_GMSGFMT+:} false
; then :
6719 $as_echo_n "(cached) " >&6
6723 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir
=.
6731 for ac_exec_ext
in '' $ac_executable_extensions; do
6732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6745 GMSGFMT
=$ac_cv_path_GMSGFMT
6746 if test -n "$GMSGFMT"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6748 $as_echo "$GMSGFMT" >&6; }
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 $as_echo "no" >&6; }
6756 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6757 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
6758 *) MSGFMT_015
=$MSGFMT ;;
6761 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6762 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
6763 *) GMSGFMT_015
=$GMSGFMT ;;
6768 # Prepare PATH_SEPARATOR.
6769 # The user is always right.
6770 if test "${PATH_SEPARATOR+set}" != set; then
6771 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6772 # contains only /bin. Note that ksh looks also at the FPATH variable,
6773 # so we have to set that as well for the test.
6775 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6776 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6777 || PATH_SEPARATOR
=';'
6781 # Find out how to test for executable files. Don't use a zero-byte file,
6782 # as systems may use methods other than mode bits to determine executability.
6783 cat >conf$$.
file <<_ASEOF
6787 chmod +x conf$$.
file
6788 if test -x conf$$.
file >/dev
/null
2>&1; then
6789 ac_executable_p
="test -x"
6791 ac_executable_p
="test -f"
6795 # Extract the first word of "xgettext", so it can be a program name with args.
6796 set dummy xgettext
; ac_word
=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798 $as_echo_n "checking for $ac_word... " >&6; }
6799 if ${ac_cv_path_XGETTEXT+:} false
; then :
6800 $as_echo_n "(cached) " >&6
6804 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6807 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6808 for ac_dir
in $PATH; do
6810 test -z "$ac_dir" && ac_dir
=.
6811 for ac_exec_ext
in '' $ac_executable_extensions; do
6812 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6813 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6814 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
6815 (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
6816 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6823 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6827 XGETTEXT
="$ac_cv_path_XGETTEXT"
6828 if test "$XGETTEXT" != ":"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6830 $as_echo "$XGETTEXT" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6838 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6839 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
6840 *) XGETTEXT_015
=$XGETTEXT ;;
6845 # Prepare PATH_SEPARATOR.
6846 # The user is always right.
6847 if test "${PATH_SEPARATOR+set}" != set; then
6848 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6849 # contains only /bin. Note that ksh looks also at the FPATH variable,
6850 # so we have to set that as well for the test.
6852 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6853 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6854 || PATH_SEPARATOR
=';'
6858 # Find out how to test for executable files. Don't use a zero-byte file,
6859 # as systems may use methods other than mode bits to determine executability.
6860 cat >conf$$.
file <<_ASEOF
6864 chmod +x conf$$.
file
6865 if test -x conf$$.
file >/dev
/null
2>&1; then
6866 ac_executable_p
="test -x"
6868 ac_executable_p
="test -f"
6872 # Extract the first word of "msgmerge", so it can be a program name with args.
6873 set dummy msgmerge
; ac_word
=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if ${ac_cv_path_MSGMERGE+:} false
; then :
6877 $as_echo_n "(cached) " >&6
6881 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6884 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6885 for ac_dir
in $PATH; do
6887 test -z "$ac_dir" && ac_dir
=.
6888 for ac_exec_ext
in '' $ac_executable_extensions; do
6889 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6890 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6891 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
6892 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6899 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6903 MSGMERGE
="$ac_cv_path_MSGMERGE"
6904 if test "$MSGMERGE" != ":"; then
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6906 $as_echo "$MSGMERGE" >&6; }
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6909 $as_echo "no" >&6; }
6913 test -n "$localedir" || localedir
='${datadir}/locale'
6916 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
6919 ac_config_commands
="$ac_config_commands po-directories"
6923 if test "X$prefix" = "XNONE"; then
6924 acl_final_prefix
="$ac_default_prefix"
6926 acl_final_prefix
="$prefix"
6928 if test "X$exec_prefix" = "XNONE"; then
6929 acl_final_exec_prefix
='${prefix}'
6931 acl_final_exec_prefix
="$exec_prefix"
6933 acl_save_prefix
="$prefix"
6934 prefix
="$acl_final_prefix"
6935 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6936 prefix
="$acl_save_prefix"
6940 # Check whether --with-gnu-ld was given.
6941 if test "${with_gnu_ld+set}" = set; then :
6942 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6947 # Prepare PATH_SEPARATOR.
6948 # The user is always right.
6949 if test "${PATH_SEPARATOR+set}" != set; then
6950 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6951 # contains only /bin. Note that ksh looks also at the FPATH variable,
6952 # so we have to set that as well for the test.
6954 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6955 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6956 || PATH_SEPARATOR
=';'
6961 if test "$GCC" = yes; then
6962 # Check if gcc -print-prog-name=ld gives a path.
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6964 $as_echo_n "checking for ld used by $CC... " >&6; }
6967 # gcc leaves a trailing carriage return which upsets mingw
6968 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6970 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6973 # Accept absolute paths.
6975 re_direlt
='/[^/][^/]*/\.\./'
6976 # Canonicalize the pathname of ld
6977 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
6978 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
6979 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6981 test -z "$LD" && LD
="$ac_prog"
6984 # If it fails, then pretend we aren't using GCC.
6988 # If it is relative, then search for the first ld in PATH.
6992 elif test "$with_gnu_ld" = yes; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6994 $as_echo_n "checking for GNU ld... " >&6; }
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6997 $as_echo_n "checking for non-GNU ld... " >&6; }
6999 if ${acl_cv_path_LD+:} false
; then :
7000 $as_echo_n "(cached) " >&6
7002 if test -z "$LD"; then
7003 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7004 for ac_dir
in $PATH; do
7006 test -z "$ac_dir" && ac_dir
=.
7007 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7008 acl_cv_path_LD
="$ac_dir/$ac_prog"
7009 # Check to see if the program is GNU ld. I'd rather use --version,
7010 # but apparently some variants of GNU ld only accept -v.
7011 # Break only if it was the GNU/non-GNU ld that we prefer.
7012 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
7013 *GNU
* |
*'with BFD'*)
7014 test "$with_gnu_ld" != no
&& break
7017 test "$with_gnu_ld" != yes && break
7024 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7028 LD
="$acl_cv_path_LD"
7029 if test -n "$LD"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7031 $as_echo "$LD" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7036 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7038 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7039 if ${acl_cv_prog_gnu_ld+:} false
; then :
7040 $as_echo_n "(cached) " >&6
7042 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7043 case `$LD -v 2>&1 </dev/null` in
7044 *GNU
* |
*'with BFD'*)
7045 acl_cv_prog_gnu_ld
=yes
7048 acl_cv_prog_gnu_ld
=no
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7053 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7054 with_gnu_ld
=$acl_cv_prog_gnu_ld
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7060 $as_echo_n "checking for shared library run path origin... " >&6; }
7061 if ${acl_cv_rpath+:} false
; then :
7062 $as_echo_n "(cached) " >&6
7065 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7066 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7073 $as_echo "$acl_cv_rpath" >&6; }
7075 acl_libext
="$acl_cv_libext"
7076 acl_shlibext
="$acl_cv_shlibext"
7077 acl_libname_spec
="$acl_cv_libname_spec"
7078 acl_library_names_spec
="$acl_cv_library_names_spec"
7079 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7080 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7081 acl_hardcode_direct
="$acl_cv_hardcode_direct"
7082 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7083 # Check whether --enable-rpath was given.
7084 if test "${enable_rpath+set}" = set; then :
7085 enableval
=$enable_rpath; :
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7098 $as_echo_n "checking for 64-bit host... " >&6; }
7099 if ${gl_cv_solaris_64bit+:} false
; then :
7100 $as_echo_n "(cached) " >&6
7102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7111 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
7112 gl_cv_solaris_64bit
=yes
7114 gl_cv_solaris_64bit
=no
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7121 $as_echo "$gl_cv_solaris_64bit" >&6; }
7122 if test $gl_cv_solaris_64bit = yes; then
7123 acl_libdirstem
=lib
/64
7125 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
7126 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
7131 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7132 if test -n "$searchpath"; then
7133 acl_save_IFS
="${IFS= }"; IFS
=":"
7134 for searchdir
in $searchpath; do
7135 if test -d "$searchdir"; then
7136 case "$searchdir" in
7137 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
7139 # Better ignore directories of this form. They are misleading.
7141 *) searchdir
=`cd "$searchdir" && pwd`
7142 case "$searchdir" in
7143 */lib64
) acl_libdirstem
=lib64
;;
7152 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
7167 acl_save_prefix
="$prefix"
7168 prefix
="$acl_final_prefix"
7169 acl_save_exec_prefix
="$exec_prefix"
7170 exec_prefix
="$acl_final_exec_prefix"
7172 eval additional_includedir
=\"$includedir\"
7173 eval additional_libdir
=\"$libdir\"
7175 exec_prefix
="$acl_save_exec_prefix"
7176 prefix
="$acl_save_prefix"
7179 # Check whether --with-libiconv-prefix was given.
7180 if test "${with_libiconv_prefix+set}" = set; then :
7181 withval
=$with_libiconv_prefix;
7182 if test "X$withval" = "Xno"; then
7185 if test "X$withval" = "X"; then
7187 acl_save_prefix
="$prefix"
7188 prefix
="$acl_final_prefix"
7189 acl_save_exec_prefix
="$exec_prefix"
7190 exec_prefix
="$acl_final_exec_prefix"
7192 eval additional_includedir
=\"$includedir\"
7193 eval additional_libdir
=\"$libdir\"
7195 exec_prefix
="$acl_save_exec_prefix"
7196 prefix
="$acl_save_prefix"
7199 additional_includedir
="$withval/include"
7200 additional_libdir
="$withval/$acl_libdirstem"
7201 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7202 && ! test -d "$withval/$acl_libdirstem"; then
7203 additional_libdir
="$withval/$acl_libdirstem2"
7217 names_already_handled
=
7218 names_next_round
='iconv '
7219 while test -n "$names_next_round"; do
7220 names_this_round
="$names_next_round"
7222 for name
in $names_this_round; do
7224 for n
in $names_already_handled; do
7225 if test "$n" = "$name"; then
7230 if test -z "$already_handled"; then
7231 names_already_handled
="$names_already_handled $name"
7232 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7233 eval value
=\"\
$HAVE_LIB$uppername\"
7234 if test -n "$value"; then
7235 if test "$value" = yes; then
7236 eval value
=\"\
$LIB$uppername\"
7237 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7238 eval value
=\"\
$LTLIB$uppername\"
7239 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7248 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
7249 if test -n "$acl_shlibext"; then
7250 shrext
=".$acl_shlibext" # typically: shrext=.so
7254 if test $use_additional = yes; then
7255 dir
="$additional_libdir"
7256 if test -n "$acl_shlibext"; then
7257 if test -f "$dir/$libname$shrext"; then
7259 found_so
="$dir/$libname$shrext"
7261 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7262 ver
=`(cd "$dir" && \
7263 for f in "$libname$shrext".*; do echo "$f"; done \
7264 | sed -e "s,^$libname$shrext\\\\.,," \
7265 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7266 | sed 1q ) 2>/dev/null`
7267 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7269 found_so
="$dir/$libname$shrext.$ver"
7272 eval library_names
=\"$acl_library_names_spec\"
7273 for f
in $library_names; do
7274 if test -f "$dir/$f"; then
7283 if test "X$found_dir" = "X"; then
7284 if test -f "$dir/$libname.$acl_libext"; then
7286 found_a
="$dir/$libname.$acl_libext"
7289 if test "X$found_dir" != "X"; then
7290 if test -f "$dir/$libname.la"; then
7291 found_la
="$dir/$libname.la"
7295 if test "X$found_dir" = "X"; then
7296 for x
in $LDFLAGS $LTLIBICONV; do
7298 acl_save_prefix
="$prefix"
7299 prefix
="$acl_final_prefix"
7300 acl_save_exec_prefix
="$exec_prefix"
7301 exec_prefix
="$acl_final_exec_prefix"
7303 exec_prefix
="$acl_save_exec_prefix"
7304 prefix
="$acl_save_prefix"
7308 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7309 if test -n "$acl_shlibext"; then
7310 if test -f "$dir/$libname$shrext"; then
7312 found_so
="$dir/$libname$shrext"
7314 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7315 ver
=`(cd "$dir" && \
7316 for f in "$libname$shrext".*; do echo "$f"; done \
7317 | sed -e "s,^$libname$shrext\\\\.,," \
7318 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7319 | sed 1q ) 2>/dev/null`
7320 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7322 found_so
="$dir/$libname$shrext.$ver"
7325 eval library_names
=\"$acl_library_names_spec\"
7326 for f
in $library_names; do
7327 if test -f "$dir/$f"; then
7336 if test "X$found_dir" = "X"; then
7337 if test -f "$dir/$libname.$acl_libext"; then
7339 found_a
="$dir/$libname.$acl_libext"
7342 if test "X$found_dir" != "X"; then
7343 if test -f "$dir/$libname.la"; then
7344 found_la
="$dir/$libname.la"
7349 if test "X$found_dir" != "X"; then
7354 if test "X$found_dir" != "X"; then
7355 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7356 if test "X$found_so" != "X"; then
7357 if test "$enable_rpath" = no \
7358 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
7359 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7360 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7363 for x
in $ltrpathdirs; do
7364 if test "X$x" = "X$found_dir"; then
7369 if test -z "$haveit"; then
7370 ltrpathdirs
="$ltrpathdirs $found_dir"
7372 if test "$acl_hardcode_direct" = yes; then
7373 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7375 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
7376 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7378 for x
in $rpathdirs; do
7379 if test "X$x" = "X$found_dir"; then
7384 if test -z "$haveit"; then
7385 rpathdirs
="$rpathdirs $found_dir"
7389 for x
in $LDFLAGS $LIBICONV; do
7391 acl_save_prefix
="$prefix"
7392 prefix
="$acl_final_prefix"
7393 acl_save_exec_prefix
="$exec_prefix"
7394 exec_prefix
="$acl_final_exec_prefix"
7396 exec_prefix
="$acl_save_exec_prefix"
7397 prefix
="$acl_save_prefix"
7399 if test "X$x" = "X-L$found_dir"; then
7404 if test -z "$haveit"; then
7405 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7407 if test "$acl_hardcode_minus_L" != no
; then
7408 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7410 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7416 if test "X$found_a" != "X"; then
7417 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7419 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7422 additional_includedir
=
7423 case "$found_dir" in
7424 */$acl_libdirstem |
*/$acl_libdirstem/)
7425 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7426 if test "$name" = 'iconv'; then
7427 LIBICONV_PREFIX
="$basedir"
7429 additional_includedir
="$basedir/include"
7431 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
7432 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7433 if test "$name" = 'iconv'; then
7434 LIBICONV_PREFIX
="$basedir"
7436 additional_includedir
="$basedir/include"
7439 if test "X$additional_includedir" != "X"; then
7440 if test "X$additional_includedir" != "X/usr/include"; then
7442 if test "X$additional_includedir" = "X/usr/local/include"; then
7443 if test -n "$GCC"; then
7445 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7449 if test -z "$haveit"; then
7450 for x
in $CPPFLAGS $INCICONV; do
7452 acl_save_prefix
="$prefix"
7453 prefix
="$acl_final_prefix"
7454 acl_save_exec_prefix
="$exec_prefix"
7455 exec_prefix
="$acl_final_exec_prefix"
7457 exec_prefix
="$acl_save_exec_prefix"
7458 prefix
="$acl_save_prefix"
7460 if test "X$x" = "X-I$additional_includedir"; then
7465 if test -z "$haveit"; then
7466 if test -d "$additional_includedir"; then
7467 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7473 if test -n "$found_la"; then
7474 save_libdir
="$libdir"
7476 */* |
*\\*) .
"$found_la" ;;
7477 *) .
"./$found_la" ;;
7479 libdir
="$save_libdir"
7480 for dep
in $dependency_libs; do
7483 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7484 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7485 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7487 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7488 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7489 if test -n "$GCC"; then
7491 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7495 if test -z "$haveit"; then
7497 for x
in $LDFLAGS $LIBICONV; do
7499 acl_save_prefix
="$prefix"
7500 prefix
="$acl_final_prefix"
7501 acl_save_exec_prefix
="$exec_prefix"
7502 exec_prefix
="$acl_final_exec_prefix"
7504 exec_prefix
="$acl_save_exec_prefix"
7505 prefix
="$acl_save_prefix"
7507 if test "X$x" = "X-L$additional_libdir"; then
7512 if test -z "$haveit"; then
7513 if test -d "$additional_libdir"; then
7514 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7518 for x
in $LDFLAGS $LTLIBICONV; do
7520 acl_save_prefix
="$prefix"
7521 prefix
="$acl_final_prefix"
7522 acl_save_exec_prefix
="$exec_prefix"
7523 exec_prefix
="$acl_final_exec_prefix"
7525 exec_prefix
="$acl_save_exec_prefix"
7526 prefix
="$acl_save_prefix"
7528 if test "X$x" = "X-L$additional_libdir"; then
7533 if test -z "$haveit"; then
7534 if test -d "$additional_libdir"; then
7535 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7542 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7543 if test "$enable_rpath" != no
; then
7545 for x
in $rpathdirs; do
7546 if test "X$x" = "X$dir"; then
7551 if test -z "$haveit"; then
7552 rpathdirs
="$rpathdirs $dir"
7555 for x
in $ltrpathdirs; do
7556 if test "X$x" = "X$dir"; then
7561 if test -z "$haveit"; then
7562 ltrpathdirs
="$ltrpathdirs $dir"
7567 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7570 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7573 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7574 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7580 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7581 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7587 if test "X$rpathdirs" != "X"; then
7588 if test -n "$acl_hardcode_libdir_separator"; then
7590 for found_dir
in $rpathdirs; do
7591 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7593 acl_save_libdir
="$libdir"
7595 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7596 libdir
="$acl_save_libdir"
7597 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7599 for found_dir
in $rpathdirs; do
7600 acl_save_libdir
="$libdir"
7602 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7603 libdir
="$acl_save_libdir"
7604 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7608 if test "X$ltrpathdirs" != "X"; then
7609 for found_dir
in $ltrpathdirs; do
7610 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7645 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7646 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
7647 $as_echo_n "(cached) " >&6
7649 gt_save_LIBS
="$LIBS"
7650 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7653 #include <CoreFoundation/CFPreferences.h>
7657 CFPreferencesCopyAppValue(NULL, NULL)
7662 if ac_fn_c_try_link
"$LINENO"; then :
7663 gt_cv_func_CFPreferencesCopyAppValue
=yes
7665 gt_cv_func_CFPreferencesCopyAppValue
=no
7667 rm -f core conftest.err conftest.
$ac_objext \
7668 conftest
$ac_exeext conftest.
$ac_ext
7669 LIBS
="$gt_save_LIBS"
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7672 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7673 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7675 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
7679 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
7680 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
7681 $as_echo_n "(cached) " >&6
7683 gt_save_LIBS
="$LIBS"
7684 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7687 #include <CoreFoundation/CFLocale.h>
7691 CFLocaleCopyCurrent();
7696 if ac_fn_c_try_link
"$LINENO"; then :
7697 gt_cv_func_CFLocaleCopyCurrent
=yes
7699 gt_cv_func_CFLocaleCopyCurrent
=no
7701 rm -f core conftest.err conftest.
$ac_objext \
7702 conftest
$ac_exeext conftest.
$ac_ext
7703 LIBS
="$gt_save_LIBS"
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
7706 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
7707 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7709 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
7713 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7714 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
7726 case " $gt_needs " in
7727 *" need-formatstring-macros "*) gt_api_version
=3 ;;
7728 *" need-ngettext "*) gt_api_version
=2 ;;
7729 *) gt_api_version
=1 ;;
7731 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
7732 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
7734 if test "$USE_NLS" = "yes"; then
7735 gt_use_preinstalled_gnugettext
=no
7738 if test $gt_api_version -ge 3; then
7739 gt_revision_test_code
='
7740 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7741 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7743 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7746 gt_revision_test_code
=
7748 if test $gt_api_version -ge 2; then
7749 gt_expression_test_code
=' + * ngettext ("", "", 0)'
7751 gt_expression_test_code
=
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7755 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7756 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
7757 $as_echo_n "(cached) " >&6
7759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7760 /* end confdefs.h. */
7762 #include <libintl.h>
7763 $gt_revision_test_code
7764 extern int _nl_msg_cat_cntr;
7765 extern int *_nl_domain_bindings;
7771 bindtextdomain ("", "");
7772 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
7778 if ac_fn_c_try_link
"$LINENO"; then :
7779 eval "$gt_func_gnugettext_libc=yes"
7781 eval "$gt_func_gnugettext_libc=no"
7783 rm -f core conftest.err conftest.
$ac_objext \
7784 conftest
$ac_exeext conftest.
$ac_ext
7786 eval ac_res
=\$
$gt_func_gnugettext_libc
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7788 $as_echo "$ac_res" >&6; }
7790 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7796 am_save_CPPFLAGS
="$CPPFLAGS"
7798 for element
in $INCICONV; do
7800 for x
in $CPPFLAGS; do
7802 acl_save_prefix
="$prefix"
7803 prefix
="$acl_final_prefix"
7804 acl_save_exec_prefix
="$exec_prefix"
7805 exec_prefix
="$acl_final_exec_prefix"
7807 exec_prefix
="$acl_save_exec_prefix"
7808 prefix
="$acl_save_prefix"
7810 if test "X$x" = "X$element"; then
7815 if test -z "$haveit"; then
7816 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7822 $as_echo_n "checking for iconv... " >&6; }
7823 if ${am_cv_func_iconv+:} false
; then :
7824 $as_echo_n "(cached) " >&6
7827 am_cv_func_iconv
="no, consider installing GNU libiconv"
7829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h. */
7838 iconv_t cd = iconv_open("","");
7839 iconv(cd,NULL,NULL,NULL,NULL);
7845 if ac_fn_c_try_link
"$LINENO"; then :
7846 am_cv_func_iconv
=yes
7848 rm -f core conftest.err conftest.
$ac_objext \
7849 conftest
$ac_exeext conftest.
$ac_ext
7850 if test "$am_cv_func_iconv" != yes; then
7851 am_save_LIBS
="$LIBS"
7852 LIBS
="$LIBS $LIBICONV"
7853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7862 iconv_t cd = iconv_open("","");
7863 iconv(cd,NULL,NULL,NULL,NULL);
7869 if ac_fn_c_try_link
"$LINENO"; then :
7871 am_cv_func_iconv
=yes
7873 rm -f core conftest.err conftest.
$ac_objext \
7874 conftest
$ac_exeext conftest.
$ac_ext
7875 LIBS
="$am_save_LIBS"
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7880 $as_echo "$am_cv_func_iconv" >&6; }
7881 if test "$am_cv_func_iconv" = yes; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7883 $as_echo_n "checking for working iconv... " >&6; }
7884 if ${am_cv_func_iconv_works+:} false
; then :
7885 $as_echo_n "(cached) " >&6
7888 am_save_LIBS
="$LIBS"
7889 if test $am_cv_lib_iconv = yes; then
7890 LIBS
="$LIBS $LIBICONV"
7892 am_cv_func_iconv_works
=no
7893 for ac_iconv_const
in '' 'const'; do
7894 if test "$cross_compiling" = yes; then :
7896 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
7897 *) am_cv_func_iconv_works
="guessing yes" ;;
7900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7907 # define ICONV_CONST $ac_iconv_const
7914 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
7917 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
7918 if (cd_utf8_to_88591 != (iconv_t)(-1))
7920 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
7922 ICONV_CONST char *inptr = input;
7923 size_t inbytesleft = strlen (input);
7925 size_t outbytesleft = sizeof (buf);
7926 size_t res = iconv (cd_utf8_to_88591,
7927 &inptr, &inbytesleft,
7928 &outptr, &outbytesleft);
7931 iconv_close (cd_utf8_to_88591);
7934 /* Test against Solaris 10 bug: Failures are not distinguishable from
7935 successful returns. */
7937 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
7938 if (cd_ascii_to_88591 != (iconv_t)(-1))
7940 static ICONV_CONST char input[] = "\263";
7942 ICONV_CONST char *inptr = input;
7943 size_t inbytesleft = strlen (input);
7945 size_t outbytesleft = sizeof (buf);
7946 size_t res = iconv (cd_ascii_to_88591,
7947 &inptr, &inbytesleft,
7948 &outptr, &outbytesleft);
7951 iconv_close (cd_ascii_to_88591);
7954 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
7956 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
7957 if (cd_88591_to_utf8 != (iconv_t)(-1))
7959 static ICONV_CONST char input[] = "\304";
7960 static char buf[2] = { (char)0xDE, (char)0xAD };
7961 ICONV_CONST char *inptr = input;
7962 size_t inbytesleft = 1;
7964 size_t outbytesleft = 1;
7965 size_t res = iconv (cd_88591_to_utf8,
7966 &inptr, &inbytesleft,
7967 &outptr, &outbytesleft);
7968 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
7970 iconv_close (cd_88591_to_utf8);
7973 #if 0 /* This bug could be worked around by the caller. */
7974 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
7976 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
7977 if (cd_88591_to_utf8 != (iconv_t)(-1))
7979 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
7981 ICONV_CONST char *inptr = input;
7982 size_t inbytesleft = strlen (input);
7984 size_t outbytesleft = sizeof (buf);
7985 size_t res = iconv (cd_88591_to_utf8,
7986 &inptr, &inbytesleft,
7987 &outptr, &outbytesleft);
7990 iconv_close (cd_88591_to_utf8);
7994 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
7996 if (/* Try standardized names. */
7997 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
7998 /* Try IRIX, OSF/1 names. */
7999 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8000 /* Try AIX names. */
8001 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8002 /* Try HP-UX names. */
8003 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8011 if ac_fn_c_try_run
"$LINENO"; then :
8012 am_cv_func_iconv_works
=yes
8014 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8015 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8018 test "$am_cv_func_iconv_works" = no ||
break
8020 LIBS
="$am_save_LIBS"
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8024 $as_echo "$am_cv_func_iconv_works" >&6; }
8025 case "$am_cv_func_iconv_works" in
8026 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8027 *) am_func_iconv
=yes ;;
8030 am_func_iconv
=no am_cv_lib_iconv
=no
8032 if test "$am_func_iconv" = yes; then
8034 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8037 if test "$am_cv_lib_iconv" = yes; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8039 $as_echo_n "checking how to link with libiconv... " >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8041 $as_echo "$LIBICONV" >&6; }
8043 CPPFLAGS
="$am_save_CPPFLAGS"
8060 acl_save_prefix
="$prefix"
8061 prefix
="$acl_final_prefix"
8062 acl_save_exec_prefix
="$exec_prefix"
8063 exec_prefix
="$acl_final_exec_prefix"
8065 eval additional_includedir
=\"$includedir\"
8066 eval additional_libdir
=\"$libdir\"
8068 exec_prefix
="$acl_save_exec_prefix"
8069 prefix
="$acl_save_prefix"
8072 # Check whether --with-libintl-prefix was given.
8073 if test "${with_libintl_prefix+set}" = set; then :
8074 withval
=$with_libintl_prefix;
8075 if test "X$withval" = "Xno"; then
8078 if test "X$withval" = "X"; then
8080 acl_save_prefix
="$prefix"
8081 prefix
="$acl_final_prefix"
8082 acl_save_exec_prefix
="$exec_prefix"
8083 exec_prefix
="$acl_final_exec_prefix"
8085 eval additional_includedir
=\"$includedir\"
8086 eval additional_libdir
=\"$libdir\"
8088 exec_prefix
="$acl_save_exec_prefix"
8089 prefix
="$acl_save_prefix"
8092 additional_includedir
="$withval/include"
8093 additional_libdir
="$withval/$acl_libdirstem"
8094 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8095 && ! test -d "$withval/$acl_libdirstem"; then
8096 additional_libdir
="$withval/$acl_libdirstem2"
8110 names_already_handled
=
8111 names_next_round
='intl '
8112 while test -n "$names_next_round"; do
8113 names_this_round
="$names_next_round"
8115 for name
in $names_this_round; do
8117 for n
in $names_already_handled; do
8118 if test "$n" = "$name"; then
8123 if test -z "$already_handled"; then
8124 names_already_handled
="$names_already_handled $name"
8125 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8126 eval value
=\"\
$HAVE_LIB$uppername\"
8127 if test -n "$value"; then
8128 if test "$value" = yes; then
8129 eval value
=\"\
$LIB$uppername\"
8130 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8131 eval value
=\"\
$LTLIB$uppername\"
8132 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8141 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8142 if test -n "$acl_shlibext"; then
8143 shrext
=".$acl_shlibext" # typically: shrext=.so
8147 if test $use_additional = yes; then
8148 dir
="$additional_libdir"
8149 if test -n "$acl_shlibext"; then
8150 if test -f "$dir/$libname$shrext"; then
8152 found_so
="$dir/$libname$shrext"
8154 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8155 ver
=`(cd "$dir" && \
8156 for f in "$libname$shrext".*; do echo "$f"; done \
8157 | sed -e "s,^$libname$shrext\\\\.,," \
8158 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8159 | sed 1q ) 2>/dev/null`
8160 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8162 found_so
="$dir/$libname$shrext.$ver"
8165 eval library_names
=\"$acl_library_names_spec\"
8166 for f
in $library_names; do
8167 if test -f "$dir/$f"; then
8176 if test "X$found_dir" = "X"; then
8177 if test -f "$dir/$libname.$acl_libext"; then
8179 found_a
="$dir/$libname.$acl_libext"
8182 if test "X$found_dir" != "X"; then
8183 if test -f "$dir/$libname.la"; then
8184 found_la
="$dir/$libname.la"
8188 if test "X$found_dir" = "X"; then
8189 for x
in $LDFLAGS $LTLIBINTL; do
8191 acl_save_prefix
="$prefix"
8192 prefix
="$acl_final_prefix"
8193 acl_save_exec_prefix
="$exec_prefix"
8194 exec_prefix
="$acl_final_exec_prefix"
8196 exec_prefix
="$acl_save_exec_prefix"
8197 prefix
="$acl_save_prefix"
8201 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8202 if test -n "$acl_shlibext"; then
8203 if test -f "$dir/$libname$shrext"; then
8205 found_so
="$dir/$libname$shrext"
8207 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8208 ver
=`(cd "$dir" && \
8209 for f in "$libname$shrext".*; do echo "$f"; done \
8210 | sed -e "s,^$libname$shrext\\\\.,," \
8211 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8212 | sed 1q ) 2>/dev/null`
8213 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8215 found_so
="$dir/$libname$shrext.$ver"
8218 eval library_names
=\"$acl_library_names_spec\"
8219 for f
in $library_names; do
8220 if test -f "$dir/$f"; then
8229 if test "X$found_dir" = "X"; then
8230 if test -f "$dir/$libname.$acl_libext"; then
8232 found_a
="$dir/$libname.$acl_libext"
8235 if test "X$found_dir" != "X"; then
8236 if test -f "$dir/$libname.la"; then
8237 found_la
="$dir/$libname.la"
8242 if test "X$found_dir" != "X"; then
8247 if test "X$found_dir" != "X"; then
8248 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8249 if test "X$found_so" != "X"; then
8250 if test "$enable_rpath" = no \
8251 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8252 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8253 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8256 for x
in $ltrpathdirs; do
8257 if test "X$x" = "X$found_dir"; then
8262 if test -z "$haveit"; then
8263 ltrpathdirs
="$ltrpathdirs $found_dir"
8265 if test "$acl_hardcode_direct" = yes; then
8266 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8268 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8269 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8271 for x
in $rpathdirs; do
8272 if test "X$x" = "X$found_dir"; then
8277 if test -z "$haveit"; then
8278 rpathdirs
="$rpathdirs $found_dir"
8282 for x
in $LDFLAGS $LIBINTL; do
8284 acl_save_prefix
="$prefix"
8285 prefix
="$acl_final_prefix"
8286 acl_save_exec_prefix
="$exec_prefix"
8287 exec_prefix
="$acl_final_exec_prefix"
8289 exec_prefix
="$acl_save_exec_prefix"
8290 prefix
="$acl_save_prefix"
8292 if test "X$x" = "X-L$found_dir"; then
8297 if test -z "$haveit"; then
8298 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8300 if test "$acl_hardcode_minus_L" != no
; then
8301 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8303 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8309 if test "X$found_a" != "X"; then
8310 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
8312 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8315 additional_includedir
=
8316 case "$found_dir" in
8317 */$acl_libdirstem |
*/$acl_libdirstem/)
8318 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8319 if test "$name" = 'intl'; then
8320 LIBINTL_PREFIX
="$basedir"
8322 additional_includedir
="$basedir/include"
8324 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8325 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8326 if test "$name" = 'intl'; then
8327 LIBINTL_PREFIX
="$basedir"
8329 additional_includedir
="$basedir/include"
8332 if test "X$additional_includedir" != "X"; then
8333 if test "X$additional_includedir" != "X/usr/include"; then
8335 if test "X$additional_includedir" = "X/usr/local/include"; then
8336 if test -n "$GCC"; then
8338 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8342 if test -z "$haveit"; then
8343 for x
in $CPPFLAGS $INCINTL; do
8345 acl_save_prefix
="$prefix"
8346 prefix
="$acl_final_prefix"
8347 acl_save_exec_prefix
="$exec_prefix"
8348 exec_prefix
="$acl_final_exec_prefix"
8350 exec_prefix
="$acl_save_exec_prefix"
8351 prefix
="$acl_save_prefix"
8353 if test "X$x" = "X-I$additional_includedir"; then
8358 if test -z "$haveit"; then
8359 if test -d "$additional_includedir"; then
8360 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8366 if test -n "$found_la"; then
8367 save_libdir
="$libdir"
8369 */* |
*\\*) .
"$found_la" ;;
8370 *) .
"./$found_la" ;;
8372 libdir
="$save_libdir"
8373 for dep
in $dependency_libs; do
8376 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8377 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8378 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8380 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8381 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8382 if test -n "$GCC"; then
8384 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8388 if test -z "$haveit"; then
8390 for x
in $LDFLAGS $LIBINTL; do
8392 acl_save_prefix
="$prefix"
8393 prefix
="$acl_final_prefix"
8394 acl_save_exec_prefix
="$exec_prefix"
8395 exec_prefix
="$acl_final_exec_prefix"
8397 exec_prefix
="$acl_save_exec_prefix"
8398 prefix
="$acl_save_prefix"
8400 if test "X$x" = "X-L$additional_libdir"; then
8405 if test -z "$haveit"; then
8406 if test -d "$additional_libdir"; then
8407 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8411 for x
in $LDFLAGS $LTLIBINTL; do
8413 acl_save_prefix
="$prefix"
8414 prefix
="$acl_final_prefix"
8415 acl_save_exec_prefix
="$exec_prefix"
8416 exec_prefix
="$acl_final_exec_prefix"
8418 exec_prefix
="$acl_save_exec_prefix"
8419 prefix
="$acl_save_prefix"
8421 if test "X$x" = "X-L$additional_libdir"; then
8426 if test -z "$haveit"; then
8427 if test -d "$additional_libdir"; then
8428 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8435 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8436 if test "$enable_rpath" != no
; then
8438 for x
in $rpathdirs; do
8439 if test "X$x" = "X$dir"; then
8444 if test -z "$haveit"; then
8445 rpathdirs
="$rpathdirs $dir"
8448 for x
in $ltrpathdirs; do
8449 if test "X$x" = "X$dir"; then
8454 if test -z "$haveit"; then
8455 ltrpathdirs
="$ltrpathdirs $dir"
8460 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8463 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8466 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
8467 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8473 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8474 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8480 if test "X$rpathdirs" != "X"; then
8481 if test -n "$acl_hardcode_libdir_separator"; then
8483 for found_dir
in $rpathdirs; do
8484 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8486 acl_save_libdir
="$libdir"
8488 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8489 libdir
="$acl_save_libdir"
8490 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8492 for found_dir
in $rpathdirs; do
8493 acl_save_libdir
="$libdir"
8495 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8496 libdir
="$acl_save_libdir"
8497 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8501 if test "X$ltrpathdirs" != "X"; then
8502 for found_dir
in $ltrpathdirs; do
8503 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8513 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
8514 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
8515 $as_echo_n "(cached) " >&6
8517 gt_save_CPPFLAGS
="$CPPFLAGS"
8518 CPPFLAGS
="$CPPFLAGS $INCINTL"
8519 gt_save_LIBS
="$LIBS"
8520 LIBS
="$LIBS $LIBINTL"
8521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8524 #include <libintl.h>
8525 $gt_revision_test_code
8526 extern int _nl_msg_cat_cntr;
8531 const char *_nl_expand_alias (const char *);
8537 bindtextdomain ("", "");
8538 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8544 if ac_fn_c_try_link
"$LINENO"; then :
8545 eval "$gt_func_gnugettext_libintl=yes"
8547 eval "$gt_func_gnugettext_libintl=no"
8549 rm -f core conftest.err conftest.
$ac_objext \
8550 conftest
$ac_exeext conftest.
$ac_ext
8551 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8552 LIBS
="$LIBS $LIBICONV"
8553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8556 #include <libintl.h>
8557 $gt_revision_test_code
8558 extern int _nl_msg_cat_cntr;
8563 const char *_nl_expand_alias (const char *);
8569 bindtextdomain ("", "");
8570 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8576 if ac_fn_c_try_link
"$LINENO"; then :
8577 LIBINTL
="$LIBINTL $LIBICONV"
8578 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
8579 eval "$gt_func_gnugettext_libintl=yes"
8582 rm -f core conftest.err conftest.
$ac_objext \
8583 conftest
$ac_exeext conftest.
$ac_ext
8585 CPPFLAGS
="$gt_save_CPPFLAGS"
8586 LIBS
="$gt_save_LIBS"
8588 eval ac_res
=\$
$gt_func_gnugettext_libintl
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8590 $as_echo "$ac_res" >&6; }
8593 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8594 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8595 && test "$PACKAGE" != gettext-runtime \
8596 && test "$PACKAGE" != gettext-tools
; }; then
8597 gt_use_preinstalled_gnugettext
=yes
8606 if test -n "$INTL_MACOSX_LIBS"; then
8607 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8608 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8609 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
8610 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
8614 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8615 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8617 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8625 $as_echo_n "checking whether to use NLS... " >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8627 $as_echo "$USE_NLS" >&6; }
8628 if test "$USE_NLS" = "yes"; then
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8630 $as_echo_n "checking where the gettext function comes from... " >&6; }
8631 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8632 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8633 gt_source
="external libintl"
8638 gt_source
="included intl directory"
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8641 $as_echo "$gt_source" >&6; }
8644 if test "$USE_NLS" = "yes"; then
8646 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8647 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8649 $as_echo_n "checking how to link with libintl... " >&6; }
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8651 $as_echo "$LIBINTL" >&6; }
8653 for element
in $INCINTL; do
8655 for x
in $CPPFLAGS; do
8657 acl_save_prefix
="$prefix"
8658 prefix
="$acl_final_prefix"
8659 acl_save_exec_prefix
="$exec_prefix"
8660 exec_prefix
="$acl_final_exec_prefix"
8662 exec_prefix
="$acl_save_exec_prefix"
8663 prefix
="$acl_save_prefix"
8665 if test "X$x" = "X$element"; then
8670 if test -z "$haveit"; then
8671 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8678 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8681 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8699 if test "x$GMSGFMT" = "x:"; then
8700 as_fn_error $?
"missing gnu /usr/bin/msgfmt" "$LINENO" 5
8703 # We want the 'PYTHON' varible to be python version 2. We also want
8704 # our custom 'PYTHON3' varible to be python version 3.
8706 # Note that the python2/python3 code was inspired by code in the
8708 # <https://github.com/abrt/abrt/blob/master/configure.ac>
8710 # First, figure out what version of python is in the executable named
8711 # 'python'. On most systems that is python version 2, but on arch
8712 # linux that is python version 3.
8713 # Extract the first word of "python", so it can be a program name with args.
8714 set dummy python
; ac_word
=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716 $as_echo_n "checking for $ac_word... " >&6; }
8717 if ${ac_cv_path_PYTHON_UNKNOWN+:} false
; then :
8718 $as_echo_n "(cached) " >&6
8720 case $PYTHON_UNKNOWN in
8722 ac_cv_path_PYTHON_UNKNOWN
="$PYTHON_UNKNOWN" # Let the user override the test with a path.
8725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8729 test -z "$as_dir" && as_dir
=.
8730 for ac_exec_ext
in '' $ac_executable_extensions; do
8731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8732 ac_cv_path_PYTHON_UNKNOWN
="$as_dir/$ac_word$ac_exec_ext"
8733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 test -z "$ac_cv_path_PYTHON_UNKNOWN" && ac_cv_path_PYTHON_UNKNOWN
="no"
8744 PYTHON_UNKNOWN
=$ac_cv_path_PYTHON_UNKNOWN
8745 if test -n "$PYTHON_UNKNOWN"; then
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_UNKNOWN" >&5
8747 $as_echo "$PYTHON_UNKNOWN" >&6; }
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8750 $as_echo "no" >&6; }
8754 if test "x$PYTHON_UNKNOWN" != "xno"; then
8755 # OK, we found 'python'. What version is it?
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON_UNKNOWN is version 2 or 3" >&5
8757 $as_echo_n "checking whether $PYTHON_UNKNOWN is version 2 or 3... " >&6; }
8758 if ${ac_cv_python_unknown_version+:} false
; then :
8759 $as_echo_n "(cached) " >&6
8761 ac_cv_python_unknown_version
=`$PYTHON_UNKNOWN -c "import sys; sys.stdout.write(sys.version[:3][0])"`
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_unknown_version" >&5
8764 $as_echo "$ac_cv_python_unknown_version" >&6; }
8767 # Now we'll update the _AM_PYTHON_INTERPRETER_LIST variable (which
8768 # AM_PATH_PYTHON uses) to only be version 2 versions of python. Note
8769 # that the m4_define happens when autoconf is run, but the
8770 # FIRST_PYTHON_INTERPRETER variable expansion will happen when the
8771 # user runs configure.
8772 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$ac_cv_python_unknown_version" = "x2"; then
8773 FIRST_PYTHON_INTERPRETER
=python
8775 FIRST_PYTHON_INTERPRETER
=python2
8779 # Now we can call AM_PATH_PYTHON to find python version 2.6+ (and
8787 if test -n "$PYTHON"; then
8788 # If the user set $PYTHON, use it and don't search something else.
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
8790 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
8792 # split strings by '.' and convert to numeric. Append some zeros
8793 # because we need at least 4 digits for the hex conversion.
8794 # map returns an iterator in Python 3.0 and a list in 2.x
8795 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8797 # xrange is not present in Python 3.0 and range returns an iterator
8798 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8799 sys.exit(sys.hexversion < minverhex)"
8800 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
8801 ($PYTHON -c "$prog") >&5 2>&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; then :
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8806 $as_echo "yes" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8810 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
8812 am_display_PYTHON
=$PYTHON
8814 # Otherwise, try each interpreter until we find one that satisfies
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
8817 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
8818 if ${am_cv_pathless_PYTHON+:} false
; then :
8819 $as_echo_n "(cached) " >&6
8822 for am_cv_pathless_PYTHON
in $FIRST_PYTHON_INTERPRETER python2 python2.7 python2.6 none
; do
8823 test "$am_cv_pathless_PYTHON" = none
&& break
8825 # split strings by '.' and convert to numeric. Append some zeros
8826 # because we need at least 4 digits for the hex conversion.
8827 # map returns an iterator in Python 3.0 and a list in 2.x
8828 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8830 # xrange is not present in Python 3.0 and range returns an iterator
8831 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8832 sys.exit(sys.hexversion < minverhex)"
8833 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
8834 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; then :
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
8843 $as_echo "$am_cv_pathless_PYTHON" >&6; }
8844 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
8845 if test "$am_cv_pathless_PYTHON" = none
; then
8848 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
8849 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8851 $as_echo_n "checking for $ac_word... " >&6; }
8852 if ${ac_cv_path_PYTHON+:} false
; then :
8853 $as_echo_n "(cached) " >&6
8857 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
8860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8864 test -z "$as_dir" && as_dir
=.
8865 for ac_exec_ext
in '' $ac_executable_extensions; do
8866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8867 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
8868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8878 PYTHON
=$ac_cv_path_PYTHON
8879 if test -n "$PYTHON"; then
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
8881 $as_echo "$PYTHON" >&6; }
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8884 $as_echo "no" >&6; }
8889 am_display_PYTHON
=$am_cv_pathless_PYTHON
8893 if test "$PYTHON" = :; then
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
8899 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
8900 if ${am_cv_python_version+:} false
; then :
8901 $as_echo_n "(cached) " >&6
8903 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
8906 $as_echo "$am_cv_python_version" >&6; }
8907 PYTHON_VERSION
=$am_cv_python_version
8911 PYTHON_PREFIX
='${prefix}'
8913 PYTHON_EXEC_PREFIX
='${exec_prefix}'
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
8918 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
8919 if ${am_cv_python_platform+:} false
; then :
8920 $as_echo_n "(cached) " >&6
8922 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
8925 $as_echo "$am_cv_python_platform" >&6; }
8926 PYTHON_PLATFORM
=$am_cv_python_platform
8929 # Just factor out some code duplication.
8930 am_python_setup_sysconfig
="\
8932 # Prefer sysconfig over distutils.sysconfig, for better compatibility
8933 # with python 3.x. See automake bug#10227.
8937 can_use_sysconfig = 0
8939 can_use_sysconfig = 1
8940 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
8941 # <https://github.com/pypa/virtualenv/issues/118>
8943 from platform import python_implementation
8944 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
8945 can_use_sysconfig = 0
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
8951 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
8952 if ${am_cv_python_pythondir+:} false
; then :
8953 $as_echo_n "(cached) " >&6
8955 if test "x$prefix" = xNONE
8957 am_py_prefix
=$ac_default_prefix
8959 am_py_prefix
=$prefix
8961 am_cv_python_pythondir
=`$PYTHON -c "
8962 $am_python_setup_sysconfig
8963 if can_use_sysconfig:
8964 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
8966 from distutils import sysconfig
8967 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
8968 sys.stdout.write(sitedir)"`
8969 case $am_cv_python_pythondir in
8971 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
8972 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
8975 case $am_py_prefix in
8978 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
8986 $as_echo "$am_cv_python_pythondir" >&6; }
8987 pythondir
=$am_cv_python_pythondir
8991 pkgpythondir
=\
${pythondir}/$PACKAGE
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
8995 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
8996 if ${am_cv_python_pyexecdir+:} false
; then :
8997 $as_echo_n "(cached) " >&6
8999 if test "x$exec_prefix" = xNONE
9001 am_py_exec_prefix
=$am_py_prefix
9003 am_py_exec_prefix
=$exec_prefix
9005 am_cv_python_pyexecdir
=`$PYTHON -c "
9006 $am_python_setup_sysconfig
9007 if can_use_sysconfig:
9008 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
9010 from distutils import sysconfig
9011 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
9012 sys.stdout.write(sitedir)"`
9013 case $am_cv_python_pyexecdir in
9014 $am_py_exec_prefix*)
9015 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
9016 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
9019 case $am_py_exec_prefix in
9022 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
9030 $as_echo "$am_cv_python_pyexecdir" >&6; }
9031 pyexecdir
=$am_cv_python_pyexecdir
9035 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
9042 python_basename
=$
(basename "$PYTHON")
9044 cat >>confdefs.h
<<_ACEOF
9045 #define PYTHON_BASENAME "${python_basename}"
9048 # AM_PATH_PYTHON defines 'pyexecdir'. Make sure the python and
9049 # pyexecdir variables get sent down to the subconfigure in the
9050 # testsuite directory.
9051 as_fn_append ac_configure_args
" python='$PYTHON' pyexecdir='$pyexecdir'"
9053 # Now let's try to find python version 3.
9054 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$python_unknown_version" = "x3"; then
9055 # Extract the first word of "python", so it can be a program name with args.
9056 set dummy python
; ac_word
=$2
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9058 $as_echo_n "checking for $ac_word... " >&6; }
9059 if ${ac_cv_path_PYTHON3+:} false
; then :
9060 $as_echo_n "(cached) " >&6
9064 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9071 test -z "$as_dir" && as_dir
=.
9072 for ac_exec_ext
in '' $ac_executable_extensions; do
9073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9074 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9085 PYTHON3
=$ac_cv_path_PYTHON3
9086 if test -n "$PYTHON3"; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9088 $as_echo "$PYTHON3" >&6; }
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9096 for ac_prog
in python3 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0
9098 # Extract the first word of "$ac_prog", so it can be a program name with args.
9099 set dummy
$ac_prog; ac_word
=$2
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9101 $as_echo_n "checking for $ac_word... " >&6; }
9102 if ${ac_cv_path_PYTHON3+:} false
; then :
9103 $as_echo_n "(cached) " >&6
9107 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9114 test -z "$as_dir" && as_dir
=.
9115 for ac_exec_ext
in '' $ac_executable_extensions; do
9116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9117 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9128 PYTHON3
=$ac_cv_path_PYTHON3
9129 if test -n "$PYTHON3"; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9131 $as_echo "$PYTHON3" >&6; }
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9134 $as_echo "no" >&6; }
9138 test -n "$PYTHON3" && break
9142 python3_basename
=$
(basename "$PYTHON3")
9144 cat >>confdefs.h
<<_ACEOF
9145 #define PYTHON3_BASENAME "${python3_basename}"
9149 # If we found python version 3, set up the other variables for python
9150 # version 3 that AM_PATH_PYTHON sets up for python version 2.
9151 if test -n "$PYTHON3"; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 version" >&5
9153 $as_echo_n "checking for python3 version... " >&6; }
9154 if ${ac_cv_python3_version+:} false
; then :
9155 $as_echo_n "(cached) " >&6
9157 ac_cv_python3_version
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.version[:3])"`
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_version" >&5
9160 $as_echo "$ac_cv_python3_version" >&6; }
9161 PYTHON3_VERSION
=$ac_cv_python3_version
9163 PYTHON3_PREFIX
='${prefix}'
9165 PYTHON3_EXEC_PREFIX
='${exec_prefix}'
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 platform" >&5
9168 $as_echo_n "checking for python3 platform... " >&6; }
9169 if ${ac_cv_python3_platform+:} false
; then :
9170 $as_echo_n "(cached) " >&6
9172 ac_cv_python3_platform
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.platform)"`
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_platform" >&5
9175 $as_echo "$ac_cv_python3_platform" >&6; }
9176 PYTHON3_PLATFORM
=$ac_cv_python3_platform
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 script directory" >&5
9180 $as_echo_n "checking for python3 script directory... " >&6; }
9181 if ${ac_cv_python3_dir+:} false
; then :
9182 $as_echo_n "(cached) " >&6
9184 ac_cv_python3_dir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(0,0,prefix='$PYTHON3_PREFIX'))"`
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_dir" >&5
9187 $as_echo "$ac_cv_python3_dir" >&6; }
9188 python3dir
=$ac_cv_python3_dir
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 extension module directory" >&5
9192 $as_echo_n "checking for python3 extension module directory... " >&6; }
9193 if ${ac_cv_py3execdir+:} false
; then :
9194 $as_echo_n "(cached) " >&6
9196 ac_cv_py3execdir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='$PYTHON3_EXEC_PREFIX'))"`
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_py3execdir" >&5
9199 $as_echo "$ac_cv_py3execdir" >&6; }
9200 py3execdir
=$ac_cv_py3execdir
9203 # Make sure the python3 and py3execdir variables get sent down to
9204 # the subconfigure in the testsuite directory.
9205 as_fn_append ac_configure_args
" python3='$PYTHON3' py3execdir='$ac_cv_py3execdir'"
9208 if test "${enable_prologues+set}" != set; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
9210 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
9211 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
9213 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9214 enable_prologues
=yes
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9216 $as_echo "yes" >&6; }
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 $as_echo "no" >&6; }
9222 # Check whether --enable-prologues was given.
9223 if test "${enable_prologues+set}" = set; then :
9224 enableval
=$enable_prologues;
9225 if test "$enable_prologues" = yes; then
9227 $as_echo "#define ENABLE_PROLOGUES /**/" >>confdefs.h
9234 if test "${enable_sdt_probes+set}" != set; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
9236 $as_echo_n "checking to see if sdt probes should be the default... " >&6; }
9237 if { echo '#if __GNUC__ < 4'
9239 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9240 enable_sdt_probes
=no
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9242 $as_echo "no" >&6; }
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9245 $as_echo "yes" >&6; }
9248 # Check whether --enable-sdt-probes was given.
9249 if test "${enable_sdt_probes+set}" = set; then :
9250 enableval
=$enable_sdt_probes;
9253 if test "x$enable_sdt_probes" != xno
; then :
9256 $as_echo "#define ENABLE_SDT_PROBES 1" >>confdefs.h
9262 ax_cxx_compile_cxx11_required
=false
9264 ac_cpp
='$CXXCPP $CPPFLAGS'
9265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
9270 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
9271 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
9272 $as_echo_n "(cached) " >&6
9274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9278 // If the compiler admits that it is not ready for C++11, why torture it?
9279 // Hopefully, this will speed up the test.
9283 #error "This is not a C++ compiler"
9285 #elif __cplusplus < 201103L
9287 #error "This is not a C++11 compiler"
9294 namespace test_static_assert
9297 template <typename T>
9300 static_assert(sizeof(int) <= sizeof(T), "not big enough");
9305 namespace test_final_override
9313 struct Derived : public Base
9315 virtual void f() override {}
9320 namespace test_double_right_angle_brackets
9323 template < typename T >
9326 typedef check<void> single_type;
9327 typedef check<check<void>> double_type;
9328 typedef check<check<check<void>>> triple_type;
9329 typedef check<check<check<check<void>>>> quadruple_type;
9333 namespace test_decltype
9346 namespace test_type_deduction
9349 template < typename T1, typename T2 >
9352 static const bool value = false;
9355 template < typename T >
9356 struct is_same<T, T>
9358 static const bool value = true;
9361 template < typename T1, typename T2 >
9363 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9369 test(const int c, volatile int v)
9371 static_assert(is_same<int, decltype(0)>::value == true, "");
9372 static_assert(is_same<int, decltype(c)>::value == false, "");
9373 static_assert(is_same<int, decltype(v)>::value == false, "");
9376 auto sumi = ac + av + 'x';
9377 auto sumf = ac + av + 1.0;
9378 static_assert(is_same<int, decltype(ac)>::value == true, "");
9379 static_assert(is_same<int, decltype(av)>::value == true, "");
9380 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9381 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9382 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9383 return (sumf > 0.0) ? sumi : add(c, v);
9388 namespace test_noexcept
9391 int f() { return 0; }
9392 int g() noexcept { return 0; }
9394 static_assert(noexcept(f()) == false, "");
9395 static_assert(noexcept(g()) == true, "");
9399 namespace test_constexpr
9402 template < typename CharT >
9403 unsigned long constexpr
9404 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9406 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9409 template < typename CharT >
9410 unsigned long constexpr
9411 strlen_c(const CharT *const s) noexcept
9413 return strlen_c_r(s, 0UL);
9416 static_assert(strlen_c("") == 0UL, "");
9417 static_assert(strlen_c("1") == 1UL, "");
9418 static_assert(strlen_c("example") == 7UL, "");
9419 static_assert(strlen_c("another\0example") == 7UL, "");
9423 namespace test_rvalue_references
9429 static constexpr int value = N;
9432 answer<1> f(int&) { return answer<1>(); }
9433 answer<2> f(const int&) { return answer<2>(); }
9434 answer<3> f(int&&) { return answer<3>(); }
9441 static_assert(decltype(f(i))::value == 1, "");
9442 static_assert(decltype(f(c))::value == 2, "");
9443 static_assert(decltype(f(0))::value == 3, "");
9448 namespace test_uniform_initialization
9453 static const int zero {};
9454 static const int one {1};
9457 static_assert(test::zero == 0, "");
9458 static_assert(test::one == 1, "");
9462 namespace test_lambdas
9468 auto lambda1 = [](){};
9469 auto lambda2 = lambda1;
9477 auto a = [](int i, int j){ return i + j; }(1, 2);
9478 auto b = []() -> int { return '0'; }();
9479 auto c = [=](){ return a + b; }();
9480 auto d = [&](){ return c; }();
9481 auto e = [a, &b](int x) mutable {
9482 const auto identity = [](int y){ return y; };
9483 for (auto i = 0; i < a; ++i)
9485 return x + identity(a + b);
9487 return a + b + c + d + e;
9493 const auto nullary = [](){ return 0; };
9494 const auto unary = [](int x){ return x; };
9495 using nullary_t = decltype(nullary);
9496 using unary_t = decltype(unary);
9497 const auto higher1st = [](nullary_t f){ return f(); };
9498 const auto higher2nd = [unary](nullary_t f1){
9499 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9501 return higher1st(nullary) + higher2nd(nullary)(unary);
9506 namespace test_variadic_templates
9512 template <int N0, int... N1toN>
9513 struct sum<N0, N1toN...>
9515 static constexpr auto value = N0 + sum<N1toN...>::value;
9521 static constexpr auto value = 0;
9524 static_assert(sum<>::value == 0, "");
9525 static_assert(sum<1>::value == 1, "");
9526 static_assert(sum<23>::value == 23, "");
9527 static_assert(sum<1, 2>::value == 3, "");
9528 static_assert(sum<5, 5, 11>::value == 21, "");
9529 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9533 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9534 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9536 namespace test_template_alias_sfinae
9541 template<typename T>
9542 using member = typename T::member_type;
9544 template<typename T>
9547 template<typename T>
9548 void func(member<T>*) {}
9552 void test() { func<foo>(0); }
9556 } // namespace cxx11
9558 #endif // __cplusplus >= 201103L
9563 if ac_fn_cxx_try_compile
"$LINENO"; then :
9564 ax_cv_cxx_compile_cxx11
=yes
9566 ax_cv_cxx_compile_cxx11
=no
9568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
9571 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
9572 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
9578 if test x
$ac_success = xno
; then
9579 for switch
in -std=c
++11 -std=c
++0x
+std
=c
++11 "-h std=c++11"; do
9580 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
9582 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
9583 if eval \
${$cachevar+:} false
; then :
9584 $as_echo_n "(cached) " >&6
9588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9592 // If the compiler admits that it is not ready for C++11, why torture it?
9593 // Hopefully, this will speed up the test.
9597 #error "This is not a C++ compiler"
9599 #elif __cplusplus < 201103L
9601 #error "This is not a C++11 compiler"
9608 namespace test_static_assert
9611 template <typename T>
9614 static_assert(sizeof(int) <= sizeof(T), "not big enough");
9619 namespace test_final_override
9627 struct Derived : public Base
9629 virtual void f() override {}
9634 namespace test_double_right_angle_brackets
9637 template < typename T >
9640 typedef check<void> single_type;
9641 typedef check<check<void>> double_type;
9642 typedef check<check<check<void>>> triple_type;
9643 typedef check<check<check<check<void>>>> quadruple_type;
9647 namespace test_decltype
9660 namespace test_type_deduction
9663 template < typename T1, typename T2 >
9666 static const bool value = false;
9669 template < typename T >
9670 struct is_same<T, T>
9672 static const bool value = true;
9675 template < typename T1, typename T2 >
9677 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9683 test(const int c, volatile int v)
9685 static_assert(is_same<int, decltype(0)>::value == true, "");
9686 static_assert(is_same<int, decltype(c)>::value == false, "");
9687 static_assert(is_same<int, decltype(v)>::value == false, "");
9690 auto sumi = ac + av + 'x';
9691 auto sumf = ac + av + 1.0;
9692 static_assert(is_same<int, decltype(ac)>::value == true, "");
9693 static_assert(is_same<int, decltype(av)>::value == true, "");
9694 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9695 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9696 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9697 return (sumf > 0.0) ? sumi : add(c, v);
9702 namespace test_noexcept
9705 int f() { return 0; }
9706 int g() noexcept { return 0; }
9708 static_assert(noexcept(f()) == false, "");
9709 static_assert(noexcept(g()) == true, "");
9713 namespace test_constexpr
9716 template < typename CharT >
9717 unsigned long constexpr
9718 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9720 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9723 template < typename CharT >
9724 unsigned long constexpr
9725 strlen_c(const CharT *const s) noexcept
9727 return strlen_c_r(s, 0UL);
9730 static_assert(strlen_c("") == 0UL, "");
9731 static_assert(strlen_c("1") == 1UL, "");
9732 static_assert(strlen_c("example") == 7UL, "");
9733 static_assert(strlen_c("another\0example") == 7UL, "");
9737 namespace test_rvalue_references
9743 static constexpr int value = N;
9746 answer<1> f(int&) { return answer<1>(); }
9747 answer<2> f(const int&) { return answer<2>(); }
9748 answer<3> f(int&&) { return answer<3>(); }
9755 static_assert(decltype(f(i))::value == 1, "");
9756 static_assert(decltype(f(c))::value == 2, "");
9757 static_assert(decltype(f(0))::value == 3, "");
9762 namespace test_uniform_initialization
9767 static const int zero {};
9768 static const int one {1};
9771 static_assert(test::zero == 0, "");
9772 static_assert(test::one == 1, "");
9776 namespace test_lambdas
9782 auto lambda1 = [](){};
9783 auto lambda2 = lambda1;
9791 auto a = [](int i, int j){ return i + j; }(1, 2);
9792 auto b = []() -> int { return '0'; }();
9793 auto c = [=](){ return a + b; }();
9794 auto d = [&](){ return c; }();
9795 auto e = [a, &b](int x) mutable {
9796 const auto identity = [](int y){ return y; };
9797 for (auto i = 0; i < a; ++i)
9799 return x + identity(a + b);
9801 return a + b + c + d + e;
9807 const auto nullary = [](){ return 0; };
9808 const auto unary = [](int x){ return x; };
9809 using nullary_t = decltype(nullary);
9810 using unary_t = decltype(unary);
9811 const auto higher1st = [](nullary_t f){ return f(); };
9812 const auto higher2nd = [unary](nullary_t f1){
9813 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9815 return higher1st(nullary) + higher2nd(nullary)(unary);
9820 namespace test_variadic_templates
9826 template <int N0, int... N1toN>
9827 struct sum<N0, N1toN...>
9829 static constexpr auto value = N0 + sum<N1toN...>::value;
9835 static constexpr auto value = 0;
9838 static_assert(sum<>::value == 0, "");
9839 static_assert(sum<1>::value == 1, "");
9840 static_assert(sum<23>::value == 23, "");
9841 static_assert(sum<1, 2>::value == 3, "");
9842 static_assert(sum<5, 5, 11>::value == 21, "");
9843 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9847 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9848 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9850 namespace test_template_alias_sfinae
9855 template<typename T>
9856 using member = typename T::member_type;
9858 template<typename T>
9861 template<typename T>
9862 void func(member<T>*) {}
9866 void test() { func<foo>(0); }
9870 } // namespace cxx11
9872 #endif // __cplusplus >= 201103L
9877 if ac_fn_cxx_try_compile
"$LINENO"; then :
9882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9885 eval ac_res
=\$
$cachevar
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9887 $as_echo "$ac_res" >&6; }
9888 if eval test x\$
$cachevar = xyes
; then
9896 ac_cpp
='$CPP $CPPFLAGS'
9897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9901 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
9902 if test x
$ac_success = xno
; then
9903 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
9906 if test x
$ac_success = xno
; then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
9909 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
9913 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
9918 if test "x$HAVE_CXX11" != x1
; then :
9921 ac_cpp
='$CXXCPP $CPPFLAGS'
9922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -std=c++0x" >&5
9927 $as_echo_n "checking whether C++ compiler accepts -std=c++0x... " >&6; }
9928 if ${ax_cv_check_cxxflags___std_cpp0x+:} false
; then :
9929 $as_echo_n "(cached) " >&6
9932 ax_check_save_flags
=$CXXFLAGS
9933 CXXFLAGS
="$CXXFLAGS -std=c++0x"
9934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9945 if ac_fn_cxx_try_compile
"$LINENO"; then :
9946 ax_cv_check_cxxflags___std_cpp0x
=yes
9948 ax_cv_check_cxxflags___std_cpp0x
=no
9950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9951 CXXFLAGS
=$ax_check_save_flags
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___std_cpp0x" >&5
9954 $as_echo "$ax_cv_check_cxxflags___std_cpp0x" >&6; }
9955 if test "x$ax_cv_check_cxxflags___std_cpp0x" = xyes
; then :
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with -std=c++0x" >&5
9958 $as_echo "$as_me: Compiling with -std=c++0x" >&6;}
9959 CXX
="$CXX -std=c++0x"
9964 as_fn_error $?
"A compiler with C++11 support is required." "$LINENO" 5
9969 ac_cpp
='$CPP $CPPFLAGS'
9970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9977 # Check whether --enable-ssp was given.
9978 if test "${enable_ssp+set}" = set; then :
9979 enableval
=$enable_ssp;
9982 if test "x$enable_ssp" != xno
; then :
9984 save_CFLAGS
="$CFLAGS"
9985 save_CXXFLAGS
="$CXXFLAGS"
9986 CXXFLAGS
="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
9987 CFLAGS
="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
9988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9992 if ac_fn_c_try_compile
"$LINENO"; then :
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
9995 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
9996 CFLAGS
="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
9997 CXXFLAGS
="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
10001 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
10002 CFLAGS
="$save_CFLAGS"
10003 CXXFLAGS
="$save_CXXFLAGS"
10005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10011 # Compiling without fPIE by default (see PR 9922)
10012 # Check whether --enable-pie was given.
10013 if test "${enable_pie+set}" = set; then :
10014 enableval
=$enable_pie;
10017 if test "x$enable_pie" == xyes
; then :
10020 PIECXXFLAGS
='-fPIE'
10021 PIELDFLAGS
='-pie -Wl,-z,relro -Wl,-z,now'
10022 save_CFLAGS
="$CFLAGS"
10023 save_CXXFLAGS
="$CXXFLAGS"
10024 save_LDFLAGS
="$LDFLAGS"
10025 CFLAGS
="$CFLAGS $PIECFLAGS"
10026 CXXFLAGS
="$CXXFLAGS $PIECXXFLAGS"
10027 LDFLAGS
="$LDFLAGS $PIELDFLAGS"
10028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10032 if ac_fn_c_try_link
"$LINENO"; then :
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
10035 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
10040 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
10046 rm -f core conftest.err conftest.
$ac_objext \
10047 conftest
$ac_exeext conftest.
$ac_ext
10048 CFLAGS
="$save_CFLAGS"
10049 CXXFLAGS
="$save_CXXFLAGS"
10050 LDFLAGS
="$save_LDFLAGS"
10057 # Check whether --enable-sqlite was given.
10058 if test "${enable_sqlite+set}" = set; then :
10059 enableval
=$enable_sqlite;
10061 enable_sqlite
=check
10064 if test "x$enable_sqlite" != xno
; then :
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
10066 $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
10067 if ${ac_cv_lib_sqlite3_sqlite3_open+:} false
; then :
10068 $as_echo_n "(cached) " >&6
10070 ac_check_lib_save_LIBS
=$LIBS
10071 LIBS
="-lsqlite3 $LIBS"
10072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10081 char sqlite3_open ();
10085 return sqlite3_open ();
10090 if ac_fn_c_try_link
"$LINENO"; then :
10091 ac_cv_lib_sqlite3_sqlite3_open
=yes
10093 ac_cv_lib_sqlite3_sqlite3_open
=no
10095 rm -f core conftest.err conftest.
$ac_objext \
10096 conftest
$ac_exeext conftest.
$ac_ext
10097 LIBS
=$ac_check_lib_save_LIBS
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
10100 $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
10101 if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes
; then :
10102 sqlite3_LIBS
=-lsqlite3
10105 $as_echo "#define HAVE_LIBSQLITE3 1" >>confdefs.h
10108 if test "x$enable_sqlite" != xcheck
; then
10109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10111 as_fn_error $?
"--enable-sqlite was given, but test for sqlite failed
10112 See \`config.log' for more details" "$LINENO" 5; }
10118 # Check whether --enable-translator was given.
10119 if test "${enable_translator+set}" = set; then :
10120 enableval
=$enable_translator;
10122 enable_translator
="yes"
10125 if test "$enable_translator" == "yes"; then
10126 BUILD_TRANSLATOR_TRUE
=
10127 BUILD_TRANSLATOR_FALSE
='#'
10129 BUILD_TRANSLATOR_TRUE
='#'
10130 BUILD_TRANSLATOR_FALSE
=
10134 # Check whether --enable-crash was given.
10135 if test "${enable_crash+set}" = set; then :
10136 enableval
=$enable_crash; if test "$enable_crash" != "no"; then
10137 save_CPPFLAGS
="$CPPFLAGS"
10138 if test "$enable_crash" != "yes"; then
10139 staplog_CPPFLAGS
=-I$enable_crash
10140 CPPFLAGS
="${staplog_CPPFLAGS} $CPPFLAGS"
10143 for ac_header
in crash
/defs.h
10145 ac_fn_c_check_header_compile
"$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
10146 #define NR_CPUS 256
10149 if test "x$ac_cv_header_crash_defs_h" = xyes
; then :
10150 cat >>confdefs.h
<<_ACEOF
10151 #define HAVE_CRASH_DEFS_H 1
10155 as_fn_error $?
"cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
10160 CPPFLAGS
="$save_CPPFLAGS"
10166 if test "$enable_crash" != "no"; then
10167 BUILD_CRASHMOD_TRUE
=
10168 BUILD_CRASHMOD_FALSE
='#'
10170 BUILD_CRASHMOD_TRUE
='#'
10171 BUILD_CRASHMOD_FALSE
=
10176 # Check whether --enable-docs was given.
10177 if test "${enable_docs+set}" = set; then :
10178 enableval
=$enable_docs; enable_docs
=$enableval
10180 enable_docs
="check"
10183 # Extract the first word of "latex", so it can be a program name with args.
10184 set dummy latex
; ac_word
=$2
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10186 $as_echo_n "checking for $ac_word... " >&6; }
10187 if ${ac_cv_prog_have_latex+:} false
; then :
10188 $as_echo_n "(cached) " >&6
10190 if test -n "$have_latex"; then
10191 ac_cv_prog_have_latex
="$have_latex" # Let the user override the test.
10193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10194 for as_dir
in $PATH
10197 test -z "$as_dir" && as_dir
=.
10198 for ac_exec_ext
in '' $ac_executable_extensions; do
10199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10200 ac_cv_prog_have_latex
="yes"
10201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10208 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex
="no"
10211 have_latex
=$ac_cv_prog_have_latex
10212 if test -n "$have_latex"; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
10214 $as_echo "$have_latex" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10217 $as_echo "no" >&6; }
10221 # Extract the first word of "dvips", so it can be a program name with args.
10222 set dummy dvips
; ac_word
=$2
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10224 $as_echo_n "checking for $ac_word... " >&6; }
10225 if ${ac_cv_prog_have_dvips+:} false
; then :
10226 $as_echo_n "(cached) " >&6
10228 if test -n "$have_dvips"; then
10229 ac_cv_prog_have_dvips
="$have_dvips" # Let the user override the test.
10231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10232 for as_dir
in $PATH
10235 test -z "$as_dir" && as_dir
=.
10236 for ac_exec_ext
in '' $ac_executable_extensions; do
10237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10238 ac_cv_prog_have_dvips
="yes"
10239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10246 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips
="no"
10249 have_dvips
=$ac_cv_prog_have_dvips
10250 if test -n "$have_dvips"; then
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
10252 $as_echo "$have_dvips" >&6; }
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10255 $as_echo "no" >&6; }
10259 # Extract the first word of "ps2pdf", so it can be a program name with args.
10260 set dummy ps2pdf
; ac_word
=$2
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10262 $as_echo_n "checking for $ac_word... " >&6; }
10263 if ${ac_cv_prog_have_ps2pdf+:} false
; then :
10264 $as_echo_n "(cached) " >&6
10266 if test -n "$have_ps2pdf"; then
10267 ac_cv_prog_have_ps2pdf
="$have_ps2pdf" # Let the user override the test.
10269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10270 for as_dir
in $PATH
10273 test -z "$as_dir" && as_dir
=.
10274 for ac_exec_ext
in '' $ac_executable_extensions; do
10275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10276 ac_cv_prog_have_ps2pdf
="yes"
10277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10284 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf
="no"
10287 have_ps2pdf
=$ac_cv_prog_have_ps2pdf
10288 if test -n "$have_ps2pdf"; then
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
10290 $as_echo "$have_ps2pdf" >&6; }
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10293 $as_echo "no" >&6; }
10297 if test "x${have_latex}${have_dvips}${have_ps2pdf}" != "xyesyesyes"; then
10298 if test "$enable_docs" == "yes"; then
10299 as_fn_error $?
"cannot find all tools for building documentation" "$LINENO" 5
10301 if test "$enable_docs" == "check"; then
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
10303 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
10306 if test "x${have_latex}${have_dvips}${have_ps2pdf}" == "xyesyesyes" -a "$enable_docs" != "no"; then
10307 building_docs
="yes"
10309 if test "$building_docs" == "yes"; then
10311 BUILD_DOCS_FALSE
='#'
10313 BUILD_DOCS_TRUE
='#'
10319 building_refdocs
="no"
10320 # Check whether --enable-refdocs was given.
10321 if test "${enable_refdocs+set}" = set; then :
10322 enableval
=$enable_refdocs; enable_refdocs
=$enableval
10324 enable_refdocs
="check"
10327 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
10328 as_fn_error $?
"must use --enable-docs with --enable-refdocs" "$LINENO" 5
10330 if test "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
10331 building_refdocs
="yes"
10333 if test "$building_refdocs" == "yes"; then
10334 BUILD_REFDOCS_TRUE
=
10335 BUILD_REFDOCS_FALSE
='#'
10337 BUILD_REFDOCS_TRUE
='#'
10338 BUILD_REFDOCS_FALSE
=
10342 # Extract the first word of "xmlto", so it can be a program name with args.
10343 set dummy xmlto
; ac_word
=$2
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10345 $as_echo_n "checking for $ac_word... " >&6; }
10346 if ${ac_cv_prog_have_xmlto+:} false
; then :
10347 $as_echo_n "(cached) " >&6
10349 if test -n "$have_xmlto"; then
10350 ac_cv_prog_have_xmlto
="$have_xmlto" # Let the user override the test.
10352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10353 for as_dir
in $PATH
10356 test -z "$as_dir" && as_dir
=.
10357 for ac_exec_ext
in '' $ac_executable_extensions; do
10358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10359 ac_cv_prog_have_xmlto
="yes"
10360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10367 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto
="no"
10370 have_xmlto
=$ac_cv_prog_have_xmlto
10371 if test -n "$have_xmlto"; then
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
10373 $as_echo "$have_xmlto" >&6; }
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10376 $as_echo "no" >&6; }
10380 # Extract the first word of "fop", so it can be a program name with args.
10381 set dummy fop
; ac_word
=$2
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10383 $as_echo_n "checking for $ac_word... " >&6; }
10384 if ${ac_cv_prog_have_fop+:} false
; then :
10385 $as_echo_n "(cached) " >&6
10387 if test -n "$have_fop"; then
10388 ac_cv_prog_have_fop
="$have_fop" # Let the user override the test.
10390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10391 for as_dir
in $PATH
10394 test -z "$as_dir" && as_dir
=.
10395 for ac_exec_ext
in '' $ac_executable_extensions; do
10396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10397 ac_cv_prog_have_fop
="yes"
10398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10405 test -z "$ac_cv_prog_have_fop" && ac_cv_prog_have_fop
="no"
10408 have_fop
=$ac_cv_prog_have_fop
10409 if test -n "$have_fop"; then
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_fop" >&5
10411 $as_echo "$have_fop" >&6; }
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10414 $as_echo "no" >&6; }
10418 if test "x${have_fop}" == "xyes"; then
10419 # Due to rhbz505364 / 830266, we must actually test-run fop, not just
10420 # hope that it works.
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if xmlto --with-fop actually works" >&5
10422 $as_echo_n "checking to see if xmlto --with-fop actually works... " >&6; }
10423 if xmlto
--with-fop pdf
${srcdir}/doc
/SystemTap_Tapset_Reference
/dummy-tapsets.xml
>/dev
/null
2>&1; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10425 $as_echo "yes" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: it's dead, Jim" >&5
10428 $as_echo "it's dead, Jim" >&6; }
10431 rm -f dummy-tapsets.pdf
10433 if test "$have_fop" == "yes"; then
10441 if test "$have_xmlto" == "yes"; then
10443 HAVE_XMLTO_FALSE
='#'
10445 HAVE_XMLTO_TRUE
='#'
10450 building_htmldocs
="no"
10451 # Check whether --enable-htmldocs was given.
10452 if test "${enable_htmldocs+set}" = set; then :
10453 enableval
=$enable_htmldocs; building_htmldocs
=$enableval
10455 building_htmldocs
="no"
10458 if test "$have_xmlto" == "no" -a "$building_htmldocs" == "yes"; then
10459 as_fn_error $?
"xmlto required for building html documentation" "$LINENO" 5
10462 if test "$building_htmldocs" == "yes"; then
10463 BUILD_HTMLDOCS_TRUE
=
10464 BUILD_HTMLDOCS_FALSE
='#'
10466 BUILD_HTMLDOCS_TRUE
='#'
10467 BUILD_HTMLDOCS_FALSE
=
10471 cat > conftest.xml
<< 'EOF'
10472 <?xml version
="1.0" encoding
="UTF-8"?
>
10473 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN"
10474 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
10476 <bookinfo
><title
>foo
</title
></bookinfo
>
10477 <chapter id
="logging.stp"><title
>Logging Tapset
</title
>
10478 <refentry id
="API-log"><refnamediv
><refname
>log
</refname
>
10479 <refpurpose
>logging
</refpurpose
></refnamediv
>
10480 <refsect1
><title
>Description
</title
>
10481 <para
>baz
</para
></refsect1
></refentry
></chapter
>
10485 if test "x${have_xmlto}" == "xyes"; then
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
10487 $as_echo_n "checking for xmlto --stringparam support... " >&6; }
10488 xmlto
--stringparam man.authors.section.enabled
=0 html-nochunks conftest.xml
>/dev
/null
2>&1
10489 if test $?
== 0; then
10490 have_xmlto_stringparam
="yes"
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10492 $as_echo "yes" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10495 $as_echo "no" >&6; }
10497 rm -f conftest.html
10499 if test "$have_xmlto_stringparam" == "yes"; then
10500 XMLTO_STRINGPARAM_TRUE
=
10501 XMLTO_STRINGPARAM_FALSE
='#'
10503 XMLTO_STRINGPARAM_TRUE
='#'
10504 XMLTO_STRINGPARAM_FALSE
=
10511 # Check whether --with-nss was given.
10512 if test "${with_nss+set}" = set; then :
10524 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10525 if test -n "$ac_tool_prefix"; then
10526 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10527 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10529 $as_echo_n "checking for $ac_word... " >&6; }
10530 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10531 $as_echo_n "(cached) " >&6
10533 case $PKG_CONFIG in
10535 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10539 for as_dir
in $PATH
10542 test -z "$as_dir" && as_dir
=.
10543 for ac_exec_ext
in '' $ac_executable_extensions; do
10544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10545 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10556 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10557 if test -n "$PKG_CONFIG"; then
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10559 $as_echo "$PKG_CONFIG" >&6; }
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10562 $as_echo "no" >&6; }
10567 if test -z "$ac_cv_path_PKG_CONFIG"; then
10568 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10569 # Extract the first word of "pkg-config", so it can be a program name with args.
10570 set dummy pkg-config
; ac_word
=$2
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10572 $as_echo_n "checking for $ac_word... " >&6; }
10573 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10574 $as_echo_n "(cached) " >&6
10576 case $ac_pt_PKG_CONFIG in
10578 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10582 for as_dir
in $PATH
10585 test -z "$as_dir" && as_dir
=.
10586 for ac_exec_ext
in '' $ac_executable_extensions; do
10587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10599 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10600 if test -n "$ac_pt_PKG_CONFIG"; then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10602 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10605 $as_echo "no" >&6; }
10608 if test "x$ac_pt_PKG_CONFIG" = x
; then
10611 case $cross_compiling:$ac_tool_warned in
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10615 ac_tool_warned
=yes ;;
10617 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10620 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10624 if test -n "$PKG_CONFIG"; then
10625 _pkg_min_version
=0.9.0
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10627 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10628 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10630 $as_echo "yes" >&6; }
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10633 $as_echo "no" >&6; }
10637 if test "x$with_nss" != "xno"; then :
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
10642 $as_echo_n "checking for nss... " >&6; }
10644 if test -n "$nss_CFLAGS"; then
10645 pkg_cv_nss_CFLAGS
="$nss_CFLAGS"
10646 elif test -n "$PKG_CONFIG"; then
10647 if test -n "$PKG_CONFIG" && \
10648 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10649 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10652 test $ac_status = 0; }; then
10653 pkg_cv_nss_CFLAGS
=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev/null`
10654 test "x$?" != "x0" && pkg_failed
=yes
10661 if test -n "$nss_LIBS"; then
10662 pkg_cv_nss_LIBS
="$nss_LIBS"
10663 elif test -n "$PKG_CONFIG"; then
10664 if test -n "$PKG_CONFIG" && \
10665 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10666 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10669 test $ac_status = 0; }; then
10670 pkg_cv_nss_LIBS
=`$PKG_CONFIG --libs "nss >= 3" 2>/dev/null`
10671 test "x$?" != "x0" && pkg_failed
=yes
10681 if test $pkg_failed = yes; then
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10683 $as_echo "no" >&6; }
10685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10686 _pkg_short_errors_supported
=yes
10688 _pkg_short_errors_supported
=no
10690 if test $_pkg_short_errors_supported = yes; then
10691 nss_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= 3" 2>&1`
10693 nss_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "nss >= 3" 2>&1`
10695 # Put the nasty error message in config.log where it belongs
10696 echo "$nss_PKG_ERRORS" >&5
10699 elif test $pkg_failed = untried
; then
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10701 $as_echo "no" >&6; }
10704 nss_CFLAGS
=$pkg_cv_nss_CFLAGS
10705 nss_LIBS
=$pkg_cv_nss_LIBS
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10707 $as_echo "yes" >&6; }
10710 $as_echo "#define HAVE_NSS 1" >>confdefs.h
10719 if test "${have_nss}" = "yes"; then
10729 # Check whether --with-dracutstap was given.
10730 if test "${with_dracutstap+set}" = set; then :
10731 withval
=$with_dracutstap;
10734 if test "x$with_dracutstap" != "x"; then :
10735 dracutstap
="$with_dracutstap"
10737 dracutstap
=/usr
/lib
/dracut
/modules.d
/99stap
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut module directory $dracutstap" >&5
10740 $as_echo "$as_me: using dracut module directory $dracutstap" >&6;}
10744 # Check whether --with-dracutbindir was given.
10745 if test "${with_dracutbindir+set}" = set; then :
10746 withval
=$with_dracutbindir;
10749 if test "x$with_dracutbindir" != "x"; then :
10750 dracutbindir
="$with_dracutbindir"
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut binary $dracutbindir" >&5
10755 $as_echo "$as_me: using dracut binary $dracutbindir" >&6;}
10758 # Check whether --enable-server was given.
10759 if test "${enable_server+set}" = set; then :
10760 enableval
=$enable_server; enable_server
=$enableval
10762 enable_server
="check"
10766 if test "$enable_server" != "no"; then
10767 if test "x${have_nss}" != "xyes"; then
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss headers" >&5
10769 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss headers" >&2;}
10772 if test "${have_nss}" == "yes" -a "$enable_server" != "no"; then
10774 BUILD_SERVER_FALSE
='#'
10776 BUILD_SERVER_TRUE
='#'
10777 BUILD_SERVER_FALSE
=
10781 if test "${have_nss}" != "yes"; then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&5
10783 $as_echo "$as_me: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&2;}
10787 # Check whether --with-avahi was given.
10788 if test "${with_avahi+set}" = set; then :
10789 withval
=$with_avahi;
10793 if test "x$with_avahi" != "xno"; then :
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
10798 $as_echo_n "checking for avahi... " >&6; }
10800 if test -n "$avahi_CFLAGS"; then
10801 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
10802 elif test -n "$PKG_CONFIG"; then
10803 if test -n "$PKG_CONFIG" && \
10804 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10805 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10808 test $ac_status = 0; }; then
10809 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
10810 test "x$?" != "x0" && pkg_failed
=yes
10817 if test -n "$avahi_LIBS"; then
10818 pkg_cv_avahi_LIBS
="$avahi_LIBS"
10819 elif test -n "$PKG_CONFIG"; then
10820 if test -n "$PKG_CONFIG" && \
10821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10822 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10825 test $ac_status = 0; }; then
10826 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
10827 test "x$?" != "x0" && pkg_failed
=yes
10837 if test $pkg_failed = yes; then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10839 $as_echo "no" >&6; }
10841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10842 _pkg_short_errors_supported
=yes
10844 _pkg_short_errors_supported
=no
10846 if test $_pkg_short_errors_supported = yes; then
10847 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
10849 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
10851 # Put the nasty error message in config.log where it belongs
10852 echo "$avahi_PKG_ERRORS" >&5
10855 elif test $pkg_failed = untried
; then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10857 $as_echo "no" >&6; }
10860 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
10861 avahi_LIBS
=$pkg_cv_avahi_LIBS
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10863 $as_echo "yes" >&6; }
10866 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
10875 if test "${have_avahi}" = "yes"; then
10877 HAVE_AVAHI_FALSE
='#'
10879 HAVE_AVAHI_TRUE
='#'
10884 if test "${have_avahi}" != "yes"; then
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&5
10886 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&2;}
10891 # Check whether --with-rpm was given.
10892 if test "${with_rpm+set}" = set; then :
10898 if test "$with_rpm" != "no"; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
10900 $as_echo_n "checking for rpmtsInitIterator in -lrpm... " >&6; }
10901 if ${ac_cv_lib_rpm_rpmtsInitIterator+:} false
; then :
10902 $as_echo_n "(cached) " >&6
10904 ac_check_lib_save_LIBS
=$LIBS
10906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10909 /* Override any GCC internal prototype to avoid an error.
10910 Use char because int might match the return type of a GCC
10911 builtin and then its argument prototype would still apply. */
10915 char rpmtsInitIterator ();
10919 return rpmtsInitIterator ();
10924 if ac_fn_c_try_link
"$LINENO"; then :
10925 ac_cv_lib_rpm_rpmtsInitIterator
=yes
10927 ac_cv_lib_rpm_rpmtsInitIterator
=no
10929 rm -f core conftest.err conftest.
$ac_objext \
10930 conftest
$ac_exeext conftest.
$ac_ext
10931 LIBS
=$ac_check_lib_save_LIBS
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
10934 $as_echo "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
10935 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = xyes
; then :
10938 $as_echo "#define HAVE_LIBRPM 1" >>confdefs.h
10940 stap_LIBS
="$stap_LIBS -lc -lrpm"
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
10947 $as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
10948 if ${ac_cv_lib_rpmio_rpmFreeCrypto+:} false
; then :
10949 $as_echo_n "(cached) " >&6
10951 ac_check_lib_save_LIBS
=$LIBS
10952 LIBS
="-lrpmio $LIBS"
10953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10962 char rpmFreeCrypto ();
10966 return rpmFreeCrypto ();
10971 if ac_fn_c_try_link
"$LINENO"; then :
10972 ac_cv_lib_rpmio_rpmFreeCrypto
=yes
10974 ac_cv_lib_rpmio_rpmFreeCrypto
=no
10976 rm -f core conftest.err conftest.
$ac_objext \
10977 conftest
$ac_exeext conftest.
$ac_ext
10978 LIBS
=$ac_check_lib_save_LIBS
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
10981 $as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
10982 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = xyes
; then :
10985 $as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
10987 stap_LIBS
="$stap_LIBS -lc -lrpmio"
10988 have_librpmio
="yes"
10993 if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
10994 as_fn_error $?
"cannot find librpm" "$LINENO" 5
10996 if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
10998 $as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
11002 LIBS_no_readline
=$LIBS
11004 have_libreadline
="no"
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
11006 $as_echo_n "checking how to link readline libs... " >&6; }
11007 for libtermcap
in "" tinfo ncursesw ncurses curses termcap
; do
11008 if test -z "$libtermcap"; then
11009 READLINE_LIBS
="-lreadline"
11011 READLINE_LIBS
="-lreadline -l$libtermcap"
11013 LIBS
="$READLINE_LIBS $LIBS_no_readline"
11014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11015 /* end confdefs.h. */
11017 /* Override any GCC internal prototype to avoid an error.
11018 Use char because int might match the return type of a GCC
11019 builtin and then its argument prototype would still apply. */
11027 return readline ();
11032 if ac_fn_c_try_link
"$LINENO"; then :
11033 have_libreadline
="yes"
11035 rm -f core conftest.err conftest.
$ac_objext \
11036 conftest
$ac_exeext conftest.
$ac_ext
11037 if test "$have_libreadline" = "yes"; then
11041 if test "$have_libreadline" = "no"; then
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11043 $as_echo "none" >&6; }
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
11047 $as_echo "$READLINE_LIBS" >&6; }
11049 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
11053 if test "$have_libreadline" == "yes"; then
11054 HAVE_LIBREADLINE_TRUE
=
11055 HAVE_LIBREADLINE_FALSE
='#'
11057 HAVE_LIBREADLINE_TRUE
='#'
11058 HAVE_LIBREADLINE_FALSE
=
11062 LIBS
=$LIBS_no_readline
11065 # Check whether --with-python3 was given.
11066 if test "${with_python3+set}" = set; then :
11067 withval
=$with_python3;
11070 if test "x$with_python3" = "xyes"; then :
11071 if test -z "$PYTHON3"; then :
11072 as_fn_error $?
"python version 3 is required" "$LINENO" 5
11074 preferred_python
=$PYTHON3
11078 if test "x$PYTHON" = "x:"; then :
11079 as_fn_error $?
"python version 2 is required" "$LINENO" 5
11081 preferred_python
=$PYTHON
11088 # Check whether --with-elfutils was given.
11089 if test "${with_elfutils+set}" = set; then :
11090 withval
=$with_elfutils;
11091 case "$with_elfutils" in
11092 yes) as_fn_error $?
"--with-elfutils requires an argument" "$LINENO" 5 ;;
11094 *) build_elfutils
=yes ;;
11098 if test $build_elfutils = yes; then
11099 BUILD_ELFUTILS_TRUE
=
11100 BUILD_ELFUTILS_FALSE
='#'
11102 BUILD_ELFUTILS_TRUE
='#'
11103 BUILD_ELFUTILS_FALSE
=
11106 elfutils_abs_srcdir
=`if test $build_elfutils = yes; then :
11107 cd $with_elfutils && pwd
11111 if test $enable_translator = yes; then
11112 if test $build_elfutils = no
; then
11113 # Need libdwfl-capable recent elfutils http://elfutils.org/
11115 # On modern debian/ubuntu, libebl has been merged into libdw
11116 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ebl_get_elfmachine in -lebl" >&5
11119 $as_echo_n "checking for ebl_get_elfmachine in -lebl... " >&6; }
11120 if ${ac_cv_lib_ebl_ebl_get_elfmachine+:} false
; then :
11121 $as_echo_n "(cached) " >&6
11123 ac_check_lib_save_LIBS
=$LIBS
11125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11134 char ebl_get_elfmachine ();
11138 return ebl_get_elfmachine ();
11143 if ac_fn_c_try_link
"$LINENO"; then :
11144 ac_cv_lib_ebl_ebl_get_elfmachine
=yes
11146 ac_cv_lib_ebl_ebl_get_elfmachine
=no
11148 rm -f core conftest.err conftest.
$ac_objext \
11149 conftest
$ac_exeext conftest.
$ac_ext
11150 LIBS
=$ac_check_lib_save_LIBS
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_get_elfmachine" >&5
11153 $as_echo "$ac_cv_lib_ebl_ebl_get_elfmachine" >&6; }
11154 if test "x$ac_cv_lib_ebl_ebl_get_elfmachine" = xyes
; then :
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
11164 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
11165 if ${ac_cv_lib_dw_dwfl_module_getsym+:} false
; then :
11166 $as_echo_n "(cached) " >&6
11168 ac_check_lib_save_LIBS
=$LIBS
11169 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11179 char dwfl_module_getsym ();
11183 return dwfl_module_getsym ();
11188 if ac_fn_c_try_link
"$LINENO"; then :
11189 ac_cv_lib_dw_dwfl_module_getsym
=yes
11191 ac_cv_lib_dw_dwfl_module_getsym
=no
11193 rm -f core conftest.err conftest.
$ac_objext \
11194 conftest
$ac_exeext conftest.
$ac_ext
11195 LIBS
=$ac_check_lib_save_LIBS
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
11198 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
11199 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = xyes
; then :
11200 cat >>confdefs.h
<<_ACEOF
11201 #define HAVE_LIBDW 1
11208 as_fn_error $?
"missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwarf_next_unit in -ldw" >&5
11212 $as_echo_n "checking for dwarf_next_unit in -ldw... " >&6; }
11213 if ${ac_cv_lib_dw_dwarf_next_unit+:} false
; then :
11214 $as_echo_n "(cached) " >&6
11216 ac_check_lib_save_LIBS
=$LIBS
11217 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11227 char dwarf_next_unit ();
11231 return dwarf_next_unit ();
11236 if ac_fn_c_try_link
"$LINENO"; then :
11237 ac_cv_lib_dw_dwarf_next_unit
=yes
11239 ac_cv_lib_dw_dwarf_next_unit
=no
11241 rm -f core conftest.err conftest.
$ac_objext \
11242 conftest
$ac_exeext conftest.
$ac_ext
11243 LIBS
=$ac_check_lib_save_LIBS
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_next_unit" >&5
11246 $as_echo "$ac_cv_lib_dw_dwarf_next_unit" >&6; }
11247 if test "x$ac_cv_lib_dw_dwarf_next_unit" = xyes
; then :
11248 cat >>confdefs.h
<<_ACEOF
11249 #define HAVE_LIBDW 1
11256 as_fn_error $?
"elfutils, libdw too old, need 0.148+" "$LINENO" 5
11259 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
11262 # We built our own and stap_LDFLAGS points at the install.
11263 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
11269 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
11271 # staprun has more modest libelf needs
11272 if test $build_elfutils = no
; then
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
11275 $as_echo_n "checking for elf_getshdrstrndx in -lelf... " >&6; }
11276 if ${ac_cv_lib_elf_elf_getshdrstrndx+:} false
; then :
11277 $as_echo_n "(cached) " >&6
11279 ac_check_lib_save_LIBS
=$LIBS
11281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11284 /* Override any GCC internal prototype to avoid an error.
11285 Use char because int might match the return type of a GCC
11286 builtin and then its argument prototype would still apply. */
11290 char elf_getshdrstrndx ();
11294 return elf_getshdrstrndx ();
11299 if ac_fn_c_try_link
"$LINENO"; then :
11300 ac_cv_lib_elf_elf_getshdrstrndx
=yes
11302 ac_cv_lib_elf_elf_getshdrstrndx
=no
11304 rm -f core conftest.err conftest.
$ac_objext \
11305 conftest
$ac_exeext conftest.
$ac_ext
11306 LIBS
=$ac_check_lib_save_LIBS
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
11309 $as_echo "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
11310 if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes
; then :
11311 cat >>confdefs.h
<<_ACEOF
11312 #define HAVE_LIBELF 1
11319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11321 as_fn_error $?
"libelf too old, need 0.142+
11322 See \`config.log' for more details" "$LINENO" 5; }
11325 staprun_LIBS
="$staprun_LIBS -lelf"
11328 # We built our own and staprun_LDFLAGS points at the install.
11329 staprun_LIBS
="$staprun_LIBS -lelf"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: staprun will link $staprun_LIBS" >&5
11334 $as_echo "$as_me: staprun will link $staprun_LIBS" >&6;}
11337 date=`date +%Y-%m-%d`
11339 cat >>confdefs.h
<<_ACEOF
11340 #define DATE "$date"
11346 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
11347 # being compiled on 32-bit userspace but running against 64-bit kernels.
11348 # This is no longer necessary.
11351 ac_cpp
='$CXXCPP $CPPFLAGS'
11352 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11353 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11354 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11356 # Use boost::string_ref if available
11358 ac_cpp
='$CXXCPP $CPPFLAGS'
11359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11363 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11364 if test -z "$CXXCPP"; then
11365 if ${ac_cv_prog_CXXCPP+:} false
; then :
11366 $as_echo_n "(cached) " >&6
11368 # Double quotes because CXXCPP needs to be expanded
11369 for CXXCPP
in "$CXX -E" "/lib/cpp"
11371 ac_preproc_ok
=false
11372 for ac_cxx_preproc_warn_flag
in '' yes
11374 # Use a header file that comes with gcc, so configuring glibc
11375 # with a fresh cross-compiler works.
11376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11377 # <limits.h> exists even on freestanding compilers.
11378 # On the NeXT, cc -E runs the code through the compiler's parser,
11379 # not just through cpp. "Syntax error" is here to catch this case.
11380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 # include <limits.h>
11385 # include <assert.h>
11389 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11392 # Broken: fails on valid input.
11395 rm -f conftest.err conftest.i conftest.
$ac_ext
11397 # OK, works on sane cases. Now check whether nonexistent headers
11398 # can be detected and how.
11399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11401 #include <ac_nonexistent.h>
11403 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11404 # Broken: success on invalid input.
11407 # Passes both tests.
11411 rm -f conftest.err conftest.i conftest.
$ac_ext
11414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11415 rm -f conftest.i conftest.err conftest.
$ac_ext
11416 if $ac_preproc_ok; then :
11421 ac_cv_prog_CXXCPP
=$CXXCPP
11424 CXXCPP
=$ac_cv_prog_CXXCPP
11426 ac_cv_prog_CXXCPP
=$CXXCPP
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11429 $as_echo "$CXXCPP" >&6; }
11430 ac_preproc_ok
=false
11431 for ac_cxx_preproc_warn_flag
in '' yes
11433 # Use a header file that comes with gcc, so configuring glibc
11434 # with a fresh cross-compiler works.
11435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11436 # <limits.h> exists even on freestanding compilers.
11437 # On the NeXT, cc -E runs the code through the compiler's parser,
11438 # not just through cpp. "Syntax error" is here to catch this case.
11439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11442 # include <limits.h>
11444 # include <assert.h>
11448 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11451 # Broken: fails on valid input.
11454 rm -f conftest.err conftest.i conftest.
$ac_ext
11456 # OK, works on sane cases. Now check whether nonexistent headers
11457 # can be detected and how.
11458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11460 #include <ac_nonexistent.h>
11462 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11463 # Broken: success on invalid input.
11466 # Passes both tests.
11470 rm -f conftest.err conftest.i conftest.
$ac_ext
11473 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11474 rm -f conftest.i conftest.err conftest.
$ac_ext
11475 if $ac_preproc_ok; then :
11478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11480 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11481 See \`config.log' for more details" "$LINENO" 5; }
11485 ac_cpp
='$CXXCPP $CPPFLAGS'
11486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11491 for ac_header
in boost
/utility
/string_ref.hpp
11493 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/utility/string_ref.hpp" "ac_cv_header_boost_utility_string_ref_hpp" "$ac_includes_default"
11494 if test "x$ac_cv_header_boost_utility_string_ref_hpp" = xyes
; then :
11495 cat >>confdefs.h
<<_ACEOF
11496 #define HAVE_BOOST_UTILITY_STRING_REF_HPP 1
11504 ac_cpp
='$CPP $CPPFLAGS'
11505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11511 # Check for Dyninst headers and libraries
11513 # Check whether --with-dyninst was given.
11514 if test "${with_dyninst+set}" = set; then :
11515 withval
=$with_dyninst;
11519 case "$with_dyninst" in
11521 ''|
yes) # Try a simple-minded distro search
11522 DYNINST_CXXFLAGS
="-I/usr/include/dyninst"
11523 DYNINST_LDFLAGS
="-L/usr/lib64/dyninst -L/usr/lib/dyninst" # XXX both lib paths!?!
11525 *) # Use paths in the user-specified prefix
11526 DYNINST_CXXFLAGS
="-I$with_dyninst/include"
11527 DYNINST_LDFLAGS
="-L$with_dyninst/lib/" # XXX need lib64 too?
11530 if test "$with_dyninst" != "no"; then
11532 ac_cpp
='$CXXCPP $CPPFLAGS'
11533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11537 old_CPPFLAGS
="$CPPFLAGS"
11538 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dyninst support" >&5
11540 $as_echo "$as_me: checking dyninst support" >&6;}
11541 for ac_header
in BPatch_object.h
11543 ac_fn_cxx_check_header_mongrel
"$LINENO" "BPatch_object.h" "ac_cv_header_BPatch_object_h" "$ac_includes_default"
11544 if test "x$ac_cv_header_BPatch_object_h" = xyes
; then :
11545 cat >>confdefs.h
<<_ACEOF
11546 #define HAVE_BPATCH_OBJECT_H 1
11552 $as_echo "#define HAVE_DYNINST 1" >>confdefs.h
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: dyninst support available" >&5
11556 $as_echo "$as_me: dyninst support available" >&6;}
11561 if test -n "$with_dyninst" -a "$have_dyninst" != "yes"; then
11562 as_fn_error $?
"Dyninst does not appear to be usable" "$LINENO" 5
11564 CPPFLAGS
="$old_CPPFLAGS"
11566 ac_cpp
='$CPP $CPPFLAGS'
11567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11572 if test "${have_dyninst}" = "yes"; then
11574 HAVE_DYNINST_FALSE
='#'
11576 HAVE_DYNINST_TRUE
='#'
11577 HAVE_DYNINST_FALSE
=
11583 # Check whether --enable-virt was given.
11584 if test "${enable_virt+set}" = set; then :
11585 enableval
=$enable_virt; enable_virt
=$enableval
11587 enable_virt
="check"
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
11594 $as_echo_n "checking for libvirt... " >&6; }
11596 if test -n "$libvirt_CFLAGS"; then
11597 pkg_cv_libvirt_CFLAGS
="$libvirt_CFLAGS"
11598 elif test -n "$PKG_CONFIG"; then
11599 if test -n "$PKG_CONFIG" && \
11600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11601 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11604 test $ac_status = 0; }; then
11605 pkg_cv_libvirt_CFLAGS
=`$PKG_CONFIG --cflags "libvirt >= 1.0.2" 2>/dev/null`
11606 test "x$?" != "x0" && pkg_failed
=yes
11613 if test -n "$libvirt_LIBS"; then
11614 pkg_cv_libvirt_LIBS
="$libvirt_LIBS"
11615 elif test -n "$PKG_CONFIG"; then
11616 if test -n "$PKG_CONFIG" && \
11617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11618 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11621 test $ac_status = 0; }; then
11622 pkg_cv_libvirt_LIBS
=`$PKG_CONFIG --libs "libvirt >= 1.0.2" 2>/dev/null`
11623 test "x$?" != "x0" && pkg_failed
=yes
11633 if test $pkg_failed = yes; then
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635 $as_echo "no" >&6; }
11637 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11638 _pkg_short_errors_supported
=yes
11640 _pkg_short_errors_supported
=no
11642 if test $_pkg_short_errors_supported = yes; then
11643 libvirt_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11645 libvirt_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11647 # Put the nasty error message in config.log where it belongs
11648 echo "$libvirt_PKG_ERRORS" >&5
11651 elif test $pkg_failed = untried
; then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11653 $as_echo "no" >&6; }
11656 libvirt_CFLAGS
=$pkg_cv_libvirt_CFLAGS
11657 libvirt_LIBS
=$pkg_cv_libvirt_LIBS
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11659 $as_echo "yes" >&6; }
11663 $as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h
11667 if test "${have_libvirt}" = "yes"; then
11669 HAVE_LIBVIRT_FALSE
='#'
11671 HAVE_LIBVIRT_TRUE
='#'
11672 HAVE_LIBVIRT_FALSE
=
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
11678 $as_echo_n "checking for libxml2... " >&6; }
11680 if test -n "$libxml2_CFLAGS"; then
11681 pkg_cv_libxml2_CFLAGS
="$libxml2_CFLAGS"
11682 elif test -n "$PKG_CONFIG"; then
11683 if test -n "$PKG_CONFIG" && \
11684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11685 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11688 test $ac_status = 0; }; then
11689 pkg_cv_libxml2_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
11690 test "x$?" != "x0" && pkg_failed
=yes
11697 if test -n "$libxml2_LIBS"; then
11698 pkg_cv_libxml2_LIBS
="$libxml2_LIBS"
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 \"libxml-2.0\""; } >&5
11702 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11705 test $ac_status = 0; }; then
11706 pkg_cv_libxml2_LIBS
=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
11707 test "x$?" != "x0" && pkg_failed
=yes
11717 if test $pkg_failed = yes; then
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11719 $as_echo "no" >&6; }
11721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11722 _pkg_short_errors_supported
=yes
11724 _pkg_short_errors_supported
=no
11726 if test $_pkg_short_errors_supported = yes; then
11727 libxml2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
11729 libxml2_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
11731 # Put the nasty error message in config.log where it belongs
11732 echo "$libxml2_PKG_ERRORS" >&5
11735 elif test $pkg_failed = untried
; then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 $as_echo "no" >&6; }
11740 libxml2_CFLAGS
=$pkg_cv_libxml2_CFLAGS
11741 libxml2_LIBS
=$pkg_cv_libxml2_LIBS
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11743 $as_echo "yes" >&6; }
11747 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11751 if test "${have_libxml2}" = "yes"; then
11753 HAVE_LIBXML2_FALSE
='#'
11755 HAVE_LIBXML2_TRUE
='#'
11756 HAVE_LIBXML2_FALSE
=
11760 if test "$enable_virt" != "no"; then
11761 if test "x${have_libvirt}" != "xyes"; then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&5
11763 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&2;}
11765 if test "x${have_libxml2}" != "xyes"; then
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&5
11767 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&2;}
11770 if test "${have_libvirt}" == "yes" -a "${have_libxml2}" == "yes" -a "$enable_virt" != "no"; then
11772 BUILD_VIRT_FALSE
='#'
11774 BUILD_VIRT_TRUE
='#'
11780 # Check whether --with-python2-probes was given.
11781 if test "${with_python2_probes+set}" = set; then :
11782 withval
=$with_python2_probes;
11785 have_python2_support
=no
11786 if test "x$with_python2_probes" != "xno"; then :
11787 pathless_python
=$
(basename "$PYTHON")
11788 # Extract the first word of "${pathless_python}-config", so it can be a program name with args.
11789 set dummy
${pathless_python}-config; ac_word
=$2
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11791 $as_echo_n "checking for $ac_word... " >&6; }
11792 if ${ac_cv_path_PYTHON_CONFIG+:} false
; then :
11793 $as_echo_n "(cached) " >&6
11795 case $PYTHON_CONFIG in
11797 ac_cv_path_PYTHON_CONFIG
="$PYTHON_CONFIG" # Let the user override the test with a path.
11800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11801 for as_dir
in $PATH
11804 test -z "$as_dir" && as_dir
=.
11805 for ac_exec_ext
in '' $ac_executable_extensions; do
11806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11807 ac_cv_path_PYTHON_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11815 test -z "$ac_cv_path_PYTHON_CONFIG" && ac_cv_path_PYTHON_CONFIG
="no"
11819 PYTHON_CONFIG
=$ac_cv_path_PYTHON_CONFIG
11820 if test -n "$PYTHON_CONFIG"; then
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
11822 $as_echo "$PYTHON_CONFIG" >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11825 $as_echo "no" >&6; }
11829 if test "x$PYTHON_CONFIG" != "xno"; then :
11830 PYTHON_CPPFLAGS
=`$PYTHON_CONFIG --includes 2> /dev/null`
11831 PYTHON_CPPFLAGS
=$PYTHON_CPPFLAGS
11833 save_CPPFLAGS
="$CPPFLAGS"
11834 CPPFLAGS
="$PYTHON_CPPFLAGS $CPPFLAGS"
11835 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
11836 for ac_header
in Python.h
11838 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
11839 if test "x$ac_cv_header_Python_h" = xyes
; then :
11840 cat >>confdefs.h
<<_ACEOF
11841 #define HAVE_PYTHON_H 1
11843 have_python2_support
=yes
11848 CPPFLAGS
="$save_CPPFLAGS"
11851 if test "x$have_python2_support" = "xyes"; then :
11853 $as_echo "#define HAVE_PYTHON2_PROBES 1" >>confdefs.h
11856 if test "x$with_python2_probes" = "xyes"; then :
11857 as_fn_error $?
"python version 2 probe support requested but not found" "$LINENO" 5
11861 if test "x$have_python2_support" = "xyes"; then
11862 HAVE_PYTHON2_PROBES_TRUE
=
11863 HAVE_PYTHON2_PROBES_FALSE
='#'
11865 HAVE_PYTHON2_PROBES_TRUE
='#'
11866 HAVE_PYTHON2_PROBES_FALSE
=
11871 # Check whether --with-python3-probes was given.
11872 if test "${with_python3_probes+set}" = set; then :
11873 withval
=$with_python3_probes;
11876 have_python3_support
=no
11877 if test "x$with_python3_probes" != "xno"; then :
11878 pathless_python3
=$
(basename "$PYTHON3")
11879 if test "x${pathless_python3}" == "x"; then
11880 pathless_python3
="python3"
11882 # Extract the first word of "${pathless_python3}-config", so it can be a program name with args.
11883 set dummy
${pathless_python3}-config; ac_word
=$2
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11885 $as_echo_n "checking for $ac_word... " >&6; }
11886 if ${ac_cv_path_PYTHON3_CONFIG+:} false
; then :
11887 $as_echo_n "(cached) " >&6
11889 case $PYTHON3_CONFIG in
11891 ac_cv_path_PYTHON3_CONFIG
="$PYTHON3_CONFIG" # Let the user override the test with a path.
11894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11895 for as_dir
in $PATH
11898 test -z "$as_dir" && as_dir
=.
11899 for ac_exec_ext
in '' $ac_executable_extensions; do
11900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11901 ac_cv_path_PYTHON3_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11909 test -z "$ac_cv_path_PYTHON3_CONFIG" && ac_cv_path_PYTHON3_CONFIG
="no"
11913 PYTHON3_CONFIG
=$ac_cv_path_PYTHON3_CONFIG
11914 if test -n "$PYTHON3_CONFIG"; then
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
11916 $as_echo "$PYTHON3_CONFIG" >&6; }
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11919 $as_echo "no" >&6; }
11923 if test "x$PYTHON3_CONFIG" != "xno"; then :
11924 PYTHON3_CPPFLAGS
=`$PYTHON3_CONFIG --includes 2> /dev/null`
11925 PYTHON3_CPPFLAGS
=$PYTHON3_CPPFLAGS
11927 save_CPPFLAGS
="$CPPFLAGS"
11928 CPPFLAGS
="$PYTHON3_CPPFLAGS $CPPFLAGS"
11929 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
11930 for ac_header
in Python.h
11932 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
11933 if test "x$ac_cv_header_Python_h" = xyes
; then :
11934 cat >>confdefs.h
<<_ACEOF
11935 #define HAVE_PYTHON_H 1
11937 have_python3_support
=yes
11942 CPPFLAGS
="$save_CPPFLAGS"
11945 if test "x$have_python3_support" = "xyes"; then :
11947 $as_echo "#define HAVE_PYTHON3_PROBES 1" >>confdefs.h
11950 if test "x$with_python3_probes" = "xyes"; then :
11951 as_fn_error $?
"python version 3 probe support requested but not found" "$LINENO" 5
11955 if test "x$have_python3_support" = "xyes"; then
11956 HAVE_PYTHON3_PROBES_TRUE
=
11957 HAVE_PYTHON3_PROBES_FALSE
='#'
11959 HAVE_PYTHON3_PROBES_TRUE
='#'
11960 HAVE_PYTHON3_PROBES_FALSE
=
11964 if test "x$have_python2_support" = "xyes" -o "x$have_python3_support" = "xyes"; then
11965 HAVE_PYTHON_PROBES_TRUE
=
11966 HAVE_PYTHON_PROBES_FALSE
='#'
11968 HAVE_PYTHON_PROBES_TRUE
='#'
11969 HAVE_PYTHON_PROBES_FALSE
=
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jsonc" >&5
11976 $as_echo_n "checking for jsonc... " >&6; }
11978 if test -n "$jsonc_CFLAGS"; then
11979 pkg_cv_jsonc_CFLAGS
="$jsonc_CFLAGS"
11980 elif test -n "$PKG_CONFIG"; then
11981 if test -n "$PKG_CONFIG" && \
11982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.12\""; } >&5
11983 ($PKG_CONFIG --exists --print-errors "json-c >= 0.12") 2>&5
11985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11986 test $ac_status = 0; }; then
11987 pkg_cv_jsonc_CFLAGS
=`$PKG_CONFIG --cflags "json-c >= 0.12" 2>/dev/null`
11988 test "x$?" != "x0" && pkg_failed
=yes
11995 if test -n "$jsonc_LIBS"; then
11996 pkg_cv_jsonc_LIBS
="$jsonc_LIBS"
11997 elif test -n "$PKG_CONFIG"; then
11998 if test -n "$PKG_CONFIG" && \
11999 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.12\""; } >&5
12000 ($PKG_CONFIG --exists --print-errors "json-c >= 0.12") 2>&5
12002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12003 test $ac_status = 0; }; then
12004 pkg_cv_jsonc_LIBS
=`$PKG_CONFIG --libs "json-c >= 0.12" 2>/dev/null`
12005 test "x$?" != "x0" && pkg_failed
=yes
12015 if test $pkg_failed = yes; then
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12017 $as_echo "no" >&6; }
12019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12020 _pkg_short_errors_supported
=yes
12022 _pkg_short_errors_supported
=no
12024 if test $_pkg_short_errors_supported = yes; then
12025 jsonc_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.12" 2>&1`
12027 jsonc_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.12" 2>&1`
12029 # Put the nasty error message in config.log where it belongs
12030 echo "$jsonc_PKG_ERRORS" >&5
12033 elif test $pkg_failed = untried
; then
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12035 $as_echo "no" >&6; }
12038 jsonc_CFLAGS
=$pkg_cv_jsonc_CFLAGS
12039 jsonc_LIBS
=$pkg_cv_jsonc_LIBS
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12041 $as_echo "yes" >&6; }
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
12047 $as_echo_n "checking for ncurses... " >&6; }
12049 if test -n "$ncurses_CFLAGS"; then
12050 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
12051 elif test -n "$PKG_CONFIG"; then
12052 if test -n "$PKG_CONFIG" && \
12053 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12054 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12057 test $ac_status = 0; }; then
12058 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
12059 test "x$?" != "x0" && pkg_failed
=yes
12066 if test -n "$ncurses_LIBS"; then
12067 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
12068 elif test -n "$PKG_CONFIG"; then
12069 if test -n "$PKG_CONFIG" && \
12070 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12071 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12074 test $ac_status = 0; }; then
12075 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
12076 test "x$?" != "x0" && pkg_failed
=yes
12086 if test $pkg_failed = yes; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088 $as_echo "no" >&6; }
12090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12091 _pkg_short_errors_supported
=yes
12093 _pkg_short_errors_supported
=no
12095 if test $_pkg_short_errors_supported = yes; then
12096 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
12098 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
12100 # Put the nasty error message in config.log where it belongs
12101 echo "$ncurses_PKG_ERRORS" >&5
12104 elif test $pkg_failed = untried
; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 $as_echo "no" >&6; }
12109 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
12110 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12112 $as_echo "yes" >&6; }
12115 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == "yes"; then
12116 HAVE_MONITOR_LIBS_TRUE
=
12117 HAVE_MONITOR_LIBS_FALSE
='#'
12119 HAVE_MONITOR_LIBS_TRUE
='#'
12120 HAVE_MONITOR_LIBS_FALSE
=
12123 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == yes; then
12125 $as_echo "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
12130 $as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }
12131 if ${stap_cv_sectionq+:} false
; then :
12132 $as_echo_n "(cached) " >&6
12135 old_CFLAGS
="$CFLAGS"
12136 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
12137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12138 /* end confdefs.h. */
12139 asm(".section .note.foo,\"?\",\"note\"\n"
12142 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
12144 ".pushsection .note.foo,\"?\",\"note\"\n"
12149 if ac_fn_c_try_compile
"$LINENO"; then :
12150 stap_cv_sectionq
=yes
12152 stap_cv_sectionq
=no
12154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12155 CFLAGS
="$old_CFLAGS"
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
12158 $as_echo "$stap_cv_sectionq" >&6; }
12160 support_section_question
=0
12161 if test $stap_cv_sectionq = yes; then
12162 support_section_question
=1
12164 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
12167 if test $build_elfutils = yes -a $enable_translator = yes; then
12169 case "$with_elfutils" in
12170 /*) elfutils_srcdir
="$with_elfutils" ;;
12171 *) elfutils_srcdir
="${here}/$with_elfutils" ;;
12174 if ! test -f ${elfutils_srcdir}/configure
; then
12175 as_fn_error $?
"No ${elfutils_srcdir}/configure, forgot to run autoreconf -i?" "$LINENO" 5
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: running ${elfutils_srcdir}/configure" >&5
12178 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
12180 save_CFLAGS
="$CFLAGS"
12181 save_CXXFLAGS
="$CXXFLAGS"
12182 CXXFLAGS
="$CXXFLAGS -fgnu89-inline"
12183 CFLAGS
="$CFLAGS -fgnu89-inline"
12184 gnu89_inline_flag
=""
12185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12189 if ac_fn_c_try_compile
"$LINENO"; then :
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling elfutils with gcc -fgnu89-inline" >&5
12192 $as_echo "$as_me: Compiling elfutils with gcc -fgnu89-inline" >&6;}
12193 gnu89_inline_flag
="-fgnu89-inline"
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fgnu89-inline" >&5
12197 $as_echo "$as_me: Compiler does not support -fgnu89-inline" >&6;}
12199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12200 CFLAGS
="$save_CFLAGS"
12201 CXXFLAGS
="$save_CXXFLAGS"
12203 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
12204 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
12205 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
12206 # So we must make sure to pass those settings to elfutils configure.
12207 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
12208 # Check whether this is a source release, or a source checkout.
12209 # We need --enable-maintainer-mode if it isn't a source release.
12210 # elfutils.spec is only distributed in source releases.
12211 if test -f ${elfutils_srcdir}/elfutils.spec
; then
12212 need_maintainer_option
=""
12214 need_maintainer_option
="--enable-maintainer-mode"
12216 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
12217 bash
${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
12218 --includedir="${here}/include-elfutils" \
12219 --libdir="${here}/lib-elfutils" \
12220 --exec-prefix="$exec_prefix" \
12221 --prefix="$prefix" \
12223 ${need_maintainer_option} \
12224 CFLAGS
="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \
12225 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
12226 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
12227 echo Found elfutils
/version.h header...
12229 echo elfutils
/version.h header not found
, need elfutils
0.142+...
12233 if test $?
!= 0; then exit -1; fi
12237 # Check whether --with-selinux was given.
12238 if test "${with_selinux+set}" = set; then :
12239 withval
=$with_selinux;
12243 if test "x$with_selinux" != "xno"; then :
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux" >&5
12248 $as_echo_n "checking for selinux... " >&6; }
12250 if test -n "$selinux_CFLAGS"; then
12251 pkg_cv_selinux_CFLAGS
="$selinux_CFLAGS"
12252 elif test -n "$PKG_CONFIG"; then
12253 if test -n "$PKG_CONFIG" && \
12254 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12255 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12258 test $ac_status = 0; }; then
12259 pkg_cv_selinux_CFLAGS
=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
12260 test "x$?" != "x0" && pkg_failed
=yes
12267 if test -n "$selinux_LIBS"; then
12268 pkg_cv_selinux_LIBS
="$selinux_LIBS"
12269 elif test -n "$PKG_CONFIG"; then
12270 if test -n "$PKG_CONFIG" && \
12271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12272 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12275 test $ac_status = 0; }; then
12276 pkg_cv_selinux_LIBS
=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
12277 test "x$?" != "x0" && pkg_failed
=yes
12287 if test $pkg_failed = yes; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12289 $as_echo "no" >&6; }
12291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12292 _pkg_short_errors_supported
=yes
12294 _pkg_short_errors_supported
=no
12296 if test $_pkg_short_errors_supported = yes; then
12297 selinux_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
12299 selinux_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
12301 # Put the nasty error message in config.log where it belongs
12302 echo "$selinux_PKG_ERRORS" >&5
12305 elif test $pkg_failed = untried
; then
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12307 $as_echo "no" >&6; }
12310 selinux_CFLAGS
=$pkg_cv_selinux_CFLAGS
12311 selinux_LIBS
=$pkg_cv_selinux_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12313 $as_echo "yes" >&6; }
12316 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
12325 if test "${have_selinux}" = "yes"; then
12327 HAVE_SELINUX_FALSE
='#'
12329 HAVE_SELINUX_TRUE
='#'
12330 HAVE_SELINUX_FALSE
=
12334 ac_fn_c_check_decl
"$LINENO" "F_SETPIPE_SZ" "ac_cv_have_decl_F_SETPIPE_SZ" "#include <fcntl.h>
12336 if test "x$ac_cv_have_decl_F_SETPIPE_SZ" = xyes
; then :
12338 $as_echo "#define HAVE_F_SETPIPE_SZ 1" >>confdefs.h
12343 # Extract the first word of "javac", so it can be a program name with args.
12344 set dummy javac
; ac_word
=$2
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12346 $as_echo_n "checking for $ac_word... " >&6; }
12347 if ${ac_cv_prog_have_javac+:} false
; then :
12348 $as_echo_n "(cached) " >&6
12350 if test -n "$have_javac"; then
12351 ac_cv_prog_have_javac
="$have_javac" # Let the user override the test.
12353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12354 for as_dir
in $PATH
12357 test -z "$as_dir" && as_dir
=.
12358 for ac_exec_ext
in '' $ac_executable_extensions; do
12359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12360 ac_cv_prog_have_javac
="yes"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12368 test -z "$ac_cv_prog_have_javac" && ac_cv_prog_have_javac
="no"
12371 have_javac
=$ac_cv_prog_have_javac
12372 if test -n "$have_javac"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_javac" >&5
12374 $as_echo "$have_javac" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12381 # Extract the first word of "jar", so it can be a program name with args.
12382 set dummy jar
; ac_word
=$2
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12384 $as_echo_n "checking for $ac_word... " >&6; }
12385 if ${ac_cv_prog_have_jar+:} false
; then :
12386 $as_echo_n "(cached) " >&6
12388 if test -n "$have_jar"; then
12389 ac_cv_prog_have_jar
="$have_jar" # Let the user override the test.
12391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12392 for as_dir
in $PATH
12395 test -z "$as_dir" && as_dir
=.
12396 for ac_exec_ext
in '' $ac_executable_extensions; do
12397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12398 ac_cv_prog_have_jar
="yes"
12399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12406 test -z "$ac_cv_prog_have_jar" && ac_cv_prog_have_jar
="no"
12409 have_jar
=$ac_cv_prog_have_jar
12410 if test -n "$have_jar"; then
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_jar" >&5
12412 $as_echo "$have_jar" >&6; }
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12415 $as_echo "no" >&6; }
12419 if test "$have_javac" != no
-a "$have_jar" != no
; then
12420 echo java found
, will try to configure Byteman support
12423 # Check whether --with-java was given.
12424 if test "${with_java+set}" = set; then :
12425 withval
=$with_java;
12427 with_java
=/usr
/lib
/jvm
/java
12430 if test ! -d "$with_java"; then
12433 JAVADIR
="${with_java}"
12434 # always needed to compile
12436 if test "$with_java" != "no"; then
12438 cat >>confdefs.h
<<_ACEOF
12439 #define HAVE_JAVA "1"
12444 if test "$with_java" != "no"; then
12446 HAVE_JAVA_FALSE
='#'
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not run per-method java probing, missing byteman or java requirements" >&5
12455 $as_echo "$as_me: WARNING: will not run per-method java probing, missing byteman or java requirements" >&2;}
12458 HAVE_JAVA_FALSE
='#'
12464 fi # java+byteman support
12466 ENABLE_NLS
="$USE_NLS"
12468 localedir
="$localedir"
12470 LOCALEDIR
="$localedir"
12474 # Check whether --with-extra-version was given.
12475 if test "${with_extra_version+set}" = set; then :
12476 withval
=$with_extra_version;
12479 if test "x$with_extra_version" != "xno"; then :
12481 stap_extra_version
="$with_extra_version"
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding extra version $stap_extra_version" >&5
12483 $as_echo "$as_me: Adding extra version $stap_extra_version" >&6;}
12486 stap_extra_version
=""
12489 cat >>confdefs.h
<<_ACEOF
12490 #define STAP_EXTRA_VERSION "$stap_extra_version"
12493 STAP_EXTRA_VERSION
="$stap_extra_version"
12497 stap_prefix
=$prefix
12498 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
12500 cat >>confdefs.h
<<_ACEOF
12501 #define STAP_PREFIX "$stap_prefix"
12504 STAP_PREFIX
="$stap_prefix"
12507 ac_config_headers
="$ac_config_headers config.h:config.in"
12509 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"
12513 subdirs
="$subdirs testsuite"
12515 if test $enable_translator == "yes"; then
12516 ac_config_files
="$ac_config_files run-stap"
12519 ac_config_files
="$ac_config_files dtrace"
12521 ac_config_files
="$ac_config_files stapdyn/Makefile"
12523 ac_config_files
="$ac_config_files java/Makefile"
12525 ac_config_files
="$ac_config_files java/stapbm"
12527 ac_config_files
="$ac_config_files python/Makefile"
12529 ac_config_files
="$ac_config_files staprun/Makefile"
12531 ac_config_files
="$ac_config_files staprun/run-staprun"
12533 ac_config_files
="$ac_config_files staprun/guest/stapshd"
12535 ac_config_files
="$ac_config_files staprun/guest/stapsh-daemon"
12537 ac_config_files
="$ac_config_files staprun/guest/stapsh@.service"
12540 # Setup "shadow" directory doc/beginners that has the basic directories setup for
12541 # xmlto in one directory (through directory links if necessary).
12542 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
12543 # the src is a directory and not a file.
12544 ac_config_commands
="$ac_config_commands doc/beginners"
12547 cat >confcache
<<\_ACEOF
12548 # This file is a shell script that caches the results of configure
12549 # tests run on this system so they can be shared between configure
12550 # scripts and configure runs, see configure's option --config-cache.
12551 # It is not useful on other systems. If it contains results you don't
12552 # want to keep, you may remove or edit it.
12554 # config.status only pays attention to the cache file if you give it
12555 # the --recheck option to rerun configure.
12557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12559 # following values.
12563 # The following way of writing the cache mishandles newlines in values,
12564 # but we know of no workaround that is simple, portable, and efficient.
12565 # So, we kill variables containing newlines.
12566 # Ultrix sh set writes to stderr and can't be redirected directly,
12567 # and sets the high bit in the cache file unless we assign to the vars.
12569 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12570 eval ac_val
=\$
$ac_var
12574 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12575 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12578 _ | IFS | as_nl
) ;; #(
12579 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12580 *) { eval $ac_var=; unset $ac_var;} ;;
12586 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12587 *${as_nl}ac_space
=\
*)
12588 # `set' does not quote correctly, so add quotes: double-quote
12589 # substitution turns \\\\ into \\, and sed turns \\ into \.
12592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12595 # `set' quotes correctly as required by POSIX, so do not add quotes.
12596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12605 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12607 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12609 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12610 if test -w "$cache_file"; then
12611 if test "x$cache_file" != "x/dev/null"; then
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12613 $as_echo "$as_me: updating cache $cache_file" >&6;}
12614 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12615 cat confcache
>"$cache_file"
12617 case $cache_file in #(
12619 mv -f confcache
"$cache_file"$$
&&
12620 mv -f "$cache_file"$$
"$cache_file" ;; #(
12622 mv -f confcache
"$cache_file" ;;
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12628 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12633 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12634 # Let make expand exec_prefix.
12635 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12637 DEFS
=-DHAVE_CONFIG_H
12642 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12643 # 1. Remove the extension, and $U if already installed.
12644 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12645 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12646 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12647 # will be set to the directory where LIBOBJS objects are built.
12648 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12649 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12651 LIBOBJS
=$ac_libobjs
12653 LTLIBOBJS
=$ac_ltlibobjs
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12657 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12658 if test -n "$am_sleep_pid"; then
12659 # Hide warnings about reused PIDs.
12660 wait $am_sleep_pid 2>/dev
/null
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12663 $as_echo "done" >&6; }
12664 if test -n "$EXEEXT"; then
12666 am__EXEEXT_FALSE
='#'
12668 am__EXEEXT_TRUE
='#'
12672 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12673 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
12674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12676 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12677 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12680 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12681 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12684 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12685 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12688 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
12689 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
12690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12692 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
12693 as_fn_error $?
"conditional \"BUILD_TRANSLATOR\" was never defined.
12694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12696 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
12697 as_fn_error $?
"conditional \"BUILD_CRASHMOD\" was never defined.
12698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12700 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
12701 as_fn_error $?
"conditional \"BUILD_DOCS\" was never defined.
12702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12704 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
12705 as_fn_error $?
"conditional \"BUILD_REFDOCS\" was never defined.
12706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12708 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
12709 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
12710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12712 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
12713 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
12714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12716 if test -z "${BUILD_HTMLDOCS_TRUE}" && test -z "${BUILD_HTMLDOCS_FALSE}"; then
12717 as_fn_error $?
"conditional \"BUILD_HTMLDOCS\" was never defined.
12718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12720 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
12721 as_fn_error $?
"conditional \"XMLTO_STRINGPARAM\" was never defined.
12722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12724 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
12725 as_fn_error $?
"conditional \"HAVE_NSS\" was never defined.
12726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12728 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
12729 as_fn_error $?
"conditional \"BUILD_SERVER\" was never defined.
12730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12732 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
12733 as_fn_error $?
"conditional \"HAVE_AVAHI\" was never defined.
12734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12736 if test -z "${HAVE_LIBREADLINE_TRUE}" && test -z "${HAVE_LIBREADLINE_FALSE}"; then
12737 as_fn_error $?
"conditional \"HAVE_LIBREADLINE\" was never defined.
12738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12740 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
12741 as_fn_error $?
"conditional \"BUILD_ELFUTILS\" was never defined.
12742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12744 if test -z "${HAVE_DYNINST_TRUE}" && test -z "${HAVE_DYNINST_FALSE}"; then
12745 as_fn_error $?
"conditional \"HAVE_DYNINST\" was never defined.
12746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12748 if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then
12749 as_fn_error $?
"conditional \"HAVE_LIBVIRT\" was never defined.
12750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12752 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
12753 as_fn_error $?
"conditional \"HAVE_LIBXML2\" was never defined.
12754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12756 if test -z "${BUILD_VIRT_TRUE}" && test -z "${BUILD_VIRT_FALSE}"; then
12757 as_fn_error $?
"conditional \"BUILD_VIRT\" was never defined.
12758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12760 if test -z "${HAVE_PYTHON2_PROBES_TRUE}" && test -z "${HAVE_PYTHON2_PROBES_FALSE}"; then
12761 as_fn_error $?
"conditional \"HAVE_PYTHON2_PROBES\" was never defined.
12762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12764 if test -z "${HAVE_PYTHON3_PROBES_TRUE}" && test -z "${HAVE_PYTHON3_PROBES_FALSE}"; then
12765 as_fn_error $?
"conditional \"HAVE_PYTHON3_PROBES\" was never defined.
12766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12768 if test -z "${HAVE_PYTHON_PROBES_TRUE}" && test -z "${HAVE_PYTHON_PROBES_FALSE}"; then
12769 as_fn_error $?
"conditional \"HAVE_PYTHON_PROBES\" was never defined.
12770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12772 if test -z "${HAVE_MONITOR_LIBS_TRUE}" && test -z "${HAVE_MONITOR_LIBS_FALSE}"; then
12773 as_fn_error $?
"conditional \"HAVE_MONITOR_LIBS\" was never defined.
12774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12776 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
12777 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
12778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12780 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
12781 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
12782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12784 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
12785 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
12786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12789 : "${CONFIG_STATUS=./config.status}"
12791 ac_clean_files_save
=$ac_clean_files
12792 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12794 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12796 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12798 # Generated by $as_me.
12799 # Run this file to recreate the current configuration.
12800 # Compiler output produced by configure, useful for debugging
12801 # configure, is in config.log if it exists.
12804 ac_cs_recheck=false
12807 SHELL=\${CONFIG_SHELL-$SHELL}
12810 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12811 ## -------------------- ##
12812 ## M4sh Initialization. ##
12813 ## -------------------- ##
12815 # Be more Bourne compatible
12816 DUALCASE
=1; export DUALCASE
# for MKS sh
12817 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12820 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12821 # is contrary to our usage. Disable this feature.
12822 alias -g '${1+"$@"}'='"$@"'
12823 setopt NO_GLOB_SUBST
12825 case `(set -o) 2>/dev/null` in #(
12837 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12838 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12839 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12840 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12841 # Prefer a ksh shell builtin over an external printf program on Solaris,
12842 # but without wasting forks for bash or zsh.
12843 if test -z "$BASH_VERSION$ZSH_VERSION" \
12844 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12845 as_echo='print
-r --'
12846 as_echo_n='print
-rn --'
12847 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12848 as_echo='printf %s
\n'
12849 as_echo_n='printf %s
'
12851 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12852 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12853 as_echo_n='/usr
/ucb
/echo -n'
12855 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12856 as_echo_n_body='eval
12860 expr "X$arg" : "X\\(.*\\)$as_nl";
12861 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12863 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12865 export as_echo_n_body
12866 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12868 export as_echo_body
12869 as_echo='sh
-c $as_echo_body as_echo
'
12872 # The user is always right.
12873 if test "${PATH_SEPARATOR+set}" != set; then
12875 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12876 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12883 # We need space, tab and new line, in precisely that order. Quoting is
12884 # there to prevent editors from complaining about space-tab.
12885 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12886 # splitting by setting IFS to empty value.)
12889 # Find who we are. Look in the path if we contain no directory separator.
12892 *[\\/]* ) as_myself=$0 ;;
12893 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12894 for as_dir in $PATH
12897 test -z "$as_dir" && as_dir=.
12898 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12904 # We did not find ourselves, most probably we were run as `sh COMMAND'
12905 # in which case we are not to be found in the path.
12906 if test "x$as_myself" = x
; then
12909 if test ! -f "$as_myself"; then
12910 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12914 # Unset variables that we do not need and which cause bugs (e.g. in
12915 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12916 # suppresses any "Segmentation fault" message there. '((' could
12917 # trigger a bug in pdksh 5.2.14.
12918 for as_var
in BASH_ENV ENV MAIL MAILPATH
12919 do eval test x\
${$as_var+set} = xset \
12920 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12933 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12936 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12937 # ----------------------------------------
12938 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12939 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12940 # script with STATUS, using 1 if that was 0.
12943 as_status
=$1; test $as_status -eq 0 && as_status
=1
12945 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12946 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12948 $as_echo "$as_me: error: $2" >&2
12949 as_fn_exit
$as_status
12953 # as_fn_set_status STATUS
12954 # -----------------------
12955 # Set $? to STATUS, without forking.
12956 as_fn_set_status
()
12959 } # as_fn_set_status
12961 # as_fn_exit STATUS
12962 # -----------------
12963 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12967 as_fn_set_status
$1
12973 # Portably unset VAR.
12976 { eval $1=; unset $1;}
12978 as_unset
=as_fn_unset
12979 # as_fn_append VAR VALUE
12980 # ----------------------
12981 # Append the text in VALUE to the end of the definition contained in VAR. Take
12982 # advantage of any shell optimizations that allow amortized linear growth over
12983 # repeated appends, instead of the typical quadratic growth present in naive
12985 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12986 eval 'as_fn_append ()
12997 # as_fn_arith ARG...
12998 # ------------------
12999 # Perform arithmetic evaluation on the ARGs, and store the result in the
13000 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13001 # must be portable across $(()) and expr.
13002 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13003 eval 'as_fn_arith ()
13010 as_val
=`expr "$@" || test $? -eq 1`
13015 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13016 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13022 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13023 as_basename
=basename
13028 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13034 as_me
=`$as_basename -- "$0" ||
13035 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13036 X"$0" : 'X\(//\)$' \| \
13037 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13039 sed '/^.*\/\([^/][^/]*\)\/*$/{
13053 # Avoid depending upon Character Ranges.
13054 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13055 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13056 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13057 as_cr_digits
='0123456789'
13058 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13060 ECHO_C
= ECHO_N
= ECHO_T
=
13061 case `echo -n x` in #(((((
13063 case `echo 'xy\c'` in
13064 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13066 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13073 rm -f conf$$ conf$$.exe conf$$.
file
13074 if test -d conf$$.dir
; then
13075 rm -f conf$$.dir
/conf$$.
file
13078 mkdir conf$$.dir
2>/dev
/null
13080 if (echo >conf$$.
file) 2>/dev
/null
; then
13081 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13083 # ... but there are two gotchas:
13084 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13085 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13086 # In both cases, we have to default to `cp -pR'.
13087 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13089 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13097 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13098 rmdir conf$$.dir
2>/dev
/null
13103 # Create "$as_dir" as a directory, including parents if necessary.
13108 -*) as_dir
=.
/$as_dir;;
13110 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13114 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13115 *) as_qdir
=$as_dir;;
13117 as_dirs
="'$as_qdir' $as_dirs"
13118 as_dir
=`$as_dirname -- "$as_dir" ||
13119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13120 X"$as_dir" : 'X\(//\)[^/]' \| \
13121 X"$as_dir" : 'X\(//\)$' \| \
13122 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13123 $as_echo X"$as_dir" |
13124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13128 /^X\(\/\/\)[^/].*/{
13141 test -d "$as_dir" && break
13143 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13144 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13148 if mkdir
-p .
2>/dev
/null
; then
13149 as_mkdir_p
='mkdir -p "$as_dir"'
13151 test -d .
/-p && rmdir .
/-p
13156 # as_fn_executable_p FILE
13157 # -----------------------
13158 # Test if FILE is an executable regular file.
13159 as_fn_executable_p
()
13161 test -f "$1" && test -x "$1"
13162 } # as_fn_executable_p
13163 as_test_x
='test -x'
13164 as_executable_p
=as_fn_executable_p
13166 # Sed expression to map a string onto a valid CPP name.
13167 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13169 # Sed expression to map a string onto a valid variable name.
13170 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13174 ## ----------------------------------- ##
13175 ## Main body of $CONFIG_STATUS script. ##
13176 ## ----------------------------------- ##
13178 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13181 # Save the log message, to keep $0 and so on meaningful, and to
13182 # report actual input values of CONFIG_FILES etc. instead of their
13183 # values after options handling.
13185 This file was extended by systemtap $as_me 3.1, which was
13186 generated by GNU Autoconf 2.69. Invocation command line was
13188 CONFIG_FILES = $CONFIG_FILES
13189 CONFIG_HEADERS = $CONFIG_HEADERS
13190 CONFIG_LINKS = $CONFIG_LINKS
13191 CONFIG_COMMANDS = $CONFIG_COMMANDS
13194 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13199 case $ac_config_files in *"
13200 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13203 case $ac_config_headers in *"
13204 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13209 # Files that config.status was made for.
13210 config_files="$ac_config_files"
13211 config_headers="$ac_config_headers"
13212 config_commands="$ac_config_commands"
13216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13218 \`$as_me' instantiates files and other configuration actions
13219 from templates according to the current configuration. Unless the files
13220 and actions are specified as TAGs, all are instantiated by default.
13222 Usage: $0 [OPTION]... [TAG]...
13224 -h, --help print this help, then exit
13225 -V, --version print version number and configuration settings, then exit
13226 --config print configuration, then exit
13227 -q, --quiet, --silent
13228 do not print progress messages
13229 -d, --debug don't remove temporary files
13230 --recheck update $as_me by reconfiguring in the same conditions
13231 --file=FILE[:TEMPLATE]
13232 instantiate the configuration file FILE
13233 --header=FILE[:TEMPLATE]
13234 instantiate the configuration header FILE
13236 Configuration files:
13239 Configuration headers:
13242 Configuration commands:
13245 Report bugs to <systemtap@sourceware.org>."
13248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13249 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13251 systemtap config.status 3.1
13252 configured by $0, generated by GNU Autoconf 2.69,
13253 with options \\"\$ac_cs_config\\"
13255 Copyright (C) 2012 Free Software Foundation, Inc.
13256 This config.status script is free software; the Free Software Foundation
13257 gives unlimited permission to copy, distribute and modify it."
13264 test -n "\$AWK" || AWK=awk
13267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13268 # The default lists apply if the user does not specify any file.
13274 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13275 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13279 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13291 # Handling of the options.
13292 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13294 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13295 $as_echo "$ac_cs_version"; exit ;;
13296 --config |
--confi |
--conf |
--con |
--co |
--c )
13297 $as_echo "$ac_cs_config"; exit ;;
13298 --debug |
--debu |
--deb |
--de |
--d |
-d )
13300 --file |
--fil |
--fi |
--f )
13303 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13304 '') as_fn_error $?
"missing file argument" ;;
13306 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13307 ac_need_defaults
=false
;;
13308 --header |
--heade |
--head |
--hea )
13311 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13313 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13314 ac_need_defaults
=false
;;
13316 # Conflict between --help and --header
13317 as_fn_error $?
"ambiguous option: \`$1'
13318 Try \`$0 --help' for more information.";;
13319 --help |
--hel |
-h )
13320 $as_echo "$ac_cs_usage"; exit ;;
13321 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13322 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13325 # This is an error.
13326 -*) as_fn_error $?
"unrecognized option: \`$1'
13327 Try \`$0 --help' for more information." ;;
13329 *) as_fn_append ac_config_targets
" $1"
13330 ac_need_defaults
=false
;;
13336 ac_configure_extra_args
=
13338 if $ac_cs_silent; then
13340 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13345 if \$ac_cs_recheck; then
13346 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13348 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13349 CONFIG_SHELL='$SHELL'
13350 export CONFIG_SHELL
13355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13359 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13360 ## Running $as_me. ##
13366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13370 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13371 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13372 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
13373 # from automake < 1.5.
13374 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13375 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13376 LINGUAS="${LINGUAS-%UNSET%}"
13381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13383 # Handling of arguments.
13384 for ac_config_target
in $ac_config_targets
13386 case $ac_config_target in
13387 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13388 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
13389 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
13390 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
13391 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13392 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13393 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13394 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
13395 "man/cs/Makefile") CONFIG_FILES
="$CONFIG_FILES man/cs/Makefile" ;;
13396 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
13397 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
13398 "man/stap.1") CONFIG_FILES
="$CONFIG_FILES man/stap.1" ;;
13399 "man/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/stappaths.7" ;;
13400 "man/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/systemtap.8" ;;
13401 "man/cs/stap.1") CONFIG_FILES
="$CONFIG_FILES man/cs/stap.1" ;;
13402 "man/cs/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/cs/stappaths.7" ;;
13403 "man/cs/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/cs/systemtap.8" ;;
13404 "initscript/config.systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/config.systemtap" ;;
13405 "initscript/config.stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/config.stap-server" ;;
13406 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
13407 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
13408 "initscript/99stap/module-setup.sh") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/module-setup.sh" ;;
13409 "initscript/99stap/install") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/install" ;;
13410 "initscript/99stap/check") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/check" ;;
13411 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
13412 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
13413 "stapdyn/Makefile") CONFIG_FILES
="$CONFIG_FILES stapdyn/Makefile" ;;
13414 "java/Makefile") CONFIG_FILES
="$CONFIG_FILES java/Makefile" ;;
13415 "java/stapbm") CONFIG_FILES
="$CONFIG_FILES java/stapbm" ;;
13416 "python/Makefile") CONFIG_FILES
="$CONFIG_FILES python/Makefile" ;;
13417 "staprun/Makefile") CONFIG_FILES
="$CONFIG_FILES staprun/Makefile" ;;
13418 "staprun/run-staprun") CONFIG_FILES
="$CONFIG_FILES staprun/run-staprun" ;;
13419 "staprun/guest/stapshd") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapshd" ;;
13420 "staprun/guest/stapsh-daemon") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh-daemon" ;;
13421 "staprun/guest/stapsh@.service") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh@.service" ;;
13422 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
13424 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13429 # If the user did not use the arguments to specify the items to instantiate,
13430 # then the envvar interface is used. Set only those that are not.
13431 # We use the long form for the default assignment because of an extremely
13432 # bizarre bug on SunOS 4.1.3.
13433 if $ac_need_defaults; then
13434 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13435 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13436 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13439 # Have a temporary directory for convenience. Make it in the build tree
13440 # simply because there is no reason against having it here, and in addition,
13441 # creating and moving files from /tmp can sometimes cause problems.
13442 # Hook for its removal unless debugging.
13443 # Note that there is a small window in which the directory will not be cleaned:
13444 # after its creation but before its name has been assigned to `$tmp'.
13448 trap 'exit_status=$?
13449 : "${ac_tmp:=$tmp}"
13450 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13452 trap 'as_fn_exit 1' 1 2 13 15
13454 # Create a (secure) tmp directory for tmp files.
13457 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13461 tmp
=.
/conf$$
-$RANDOM
13462 (umask 077 && mkdir
"$tmp")
13463 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13466 # Set up the scripts for CONFIG_FILES section.
13467 # No need to generate them if there are no CONFIG_FILES.
13468 # This happens for instance with `./config.status config.h'.
13469 if test -n "$CONFIG_FILES"; then
13472 ac_cr
=`echo X | tr X '\015'`
13473 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13474 # But we know of no other shell where ac_cr would be empty at this
13475 # point, so we can use a bashism as a fallback.
13476 if test "x$ac_cr" = x
; then
13477 eval ac_cr
=\$
\'\\r
\'
13479 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13480 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13483 ac_cs_awk_cr
=$ac_cr
13486 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13491 echo "cat >conf$$subs.awk <<_ACEOF" &&
13492 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13494 } >conf$$subs.sh ||
13495 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13496 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13498 for ac_last_try in false false false false false :; do
13499 . ./conf$$subs.sh ||
13500 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13502 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13503 if test $ac_delim_n = $ac_delim_num; then
13505 elif $ac_last_try; then
13506 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13508 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13511 rm -f conf$$subs.sh
13513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13514 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13518 s/^/S["/; s
/!.
*/"]=/
13528 s/\(.\{148\}\)..*/\1/
13530 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13535 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13542 s/\(.\{148\}\)..*/\1/
13544 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13548 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13553 ' <conf$$subs.awk | sed '
13558 ' >>$CONFIG_STATUS || ac_write_fail=1
13559 rm -f conf$$subs.awk
13560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13562 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13563 for (key in S) S_is_set[key] = 1
13569 nfields = split(line, field, "@
")
13571 len = length(field[1])
13572 for (i = 2; i < nfields; i++) {
13574 keylen = length(key)
13575 if (S_is_set[key]) {
13577 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13578 len += length(value) + length(field[++i])
13589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13590 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13591 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13594 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13595 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13598 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13599 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13600 # trailing colons and then remove the whole line if VPATH becomes empty
13601 # (actually we leave an empty line to preserve line numbers).
13602 if test "x
$srcdir" = x.; then
13603 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13622 fi # test -n "$CONFIG_FILES"
13624 # Set up the scripts for CONFIG_HEADERS section.
13625 # No need to generate them if there are no CONFIG_HEADERS.
13626 # This happens for instance with `./config.status Makefile'.
13627 if test -n "$CONFIG_HEADERS"; then
13628 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13632 # Transform confdefs.h into an awk script `defines.awk', embedded as
13633 # here-document in config.status, that substitutes the proper values into
13634 # config.h.in to produce config.h.
13636 # Create a delimiter string that does not exist in confdefs.h, to ease
13637 # handling of long lines.
13639 for ac_last_try in false false :; do
13640 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13641 if test -z "$ac_tt"; then
13643 elif $ac_last_try; then
13644 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13646 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13650 # For the awk script, D is an array of macro values keyed by name,
13651 # likewise P contains macro parameters if any. Preserve backslash
13652 # newline sequences.
13654 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13656 s/.\{148\}/&'"$ac_delim"'/g
13659 s/^[ ]*#[ ]*define[ ][ ]*/ /
13666 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13668 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13673 D["\
1"]=" \
3\\\\\\n
"\\/p
13675 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13680 s/.\{148\}/&'"$ac_delim"'/g
13685 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13688 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13690 ' <confdefs.h | sed '
13691 s/'"$ac_delim"'/"\\\
13692 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13695 for (key in D) D_is_set[key] = 1
13698 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13700 split(line, arg, " ")
13701 if (arg[1] == "#") {
13705 defundef
= substr
(arg
[1], 2)
13708 split(mac1
, mac2
, "(") #)
13710 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13711 if (D_is_set
[macro
]) {
13712 # Preserve the white space surrounding the "#".
13713 print prefix
"define", macro P
[macro
] D
[macro
]
13716 # Replace #undef with comments. This is necessary, for example,
13717 # in the case of _POSIX_SOURCE, which is predefined and required
13718 # on some systems where configure will not decide to define it.
13719 if (defundef
== "undef") {
13720 print
"/*", prefix defundef
, macro
, "*/"
13728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13729 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13730 fi # test -n "$CONFIG_HEADERS"
13733 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13738 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13740 case $ac_mode$ac_tag in
13742 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13743 :[FH
]-) ac_tag
=-:-;;
13744 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13761 -) ac_f
="$ac_tmp/stdin";;
13762 *) # Look for the file first in the build tree, then in the source tree
13763 # (if the path is not absolute). The absolute path cannot be DOS-style,
13764 # because $ac_f cannot contain `:'.
13768 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13770 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13772 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13773 as_fn_append ac_file_inputs
" '$ac_f'"
13776 # Let's still pretend it is `configure' which instantiates (i.e., don't
13777 # use $as_me), people would be surprised to read:
13778 # /* config.h. Generated by config.status. */
13779 configure_input
='Generated from '`
13780 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13782 if test x
"$ac_file" != x-
; then
13783 configure_input
="$ac_file. $configure_input"
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13785 $as_echo "$as_me: creating $ac_file" >&6;}
13787 # Neutralize special characters interpreted by sed in replacement strings.
13788 case $configure_input in #(
13789 *\
&* |
*\|
* |
*\\* )
13790 ac_sed_conf_input
=`$as_echo "$configure_input" |
13791 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13792 *) ac_sed_conf_input
=$configure_input;;
13796 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13797 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13802 ac_dir
=`$as_dirname -- "$ac_file" ||
13803 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13804 X"$ac_file" : 'X\(//\)[^/]' \| \
13805 X"$ac_file" : 'X\(//\)$' \| \
13806 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13807 $as_echo X"$ac_file" |
13808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13812 /^X\(\/\/\)[^/].*/{
13825 as_dir
="$ac_dir"; as_fn_mkdir_p
13829 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13831 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13832 # A ".." for each directory in $ac_dir_suffix.
13833 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13834 case $ac_top_builddir_sub in
13835 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13836 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13839 ac_abs_top_builddir
=$ac_pwd
13840 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13841 # for backward compatibility:
13842 ac_top_builddir
=$ac_top_build_prefix
13845 .
) # We are building in place.
13847 ac_top_srcdir
=$ac_top_builddir_sub
13848 ac_abs_top_srcdir
=$ac_pwd ;;
13849 [\\/]* | ?
:[\\/]* ) # Absolute name.
13850 ac_srcdir
=$srcdir$ac_dir_suffix;
13851 ac_top_srcdir
=$srcdir
13852 ac_abs_top_srcdir
=$srcdir ;;
13853 *) # Relative name.
13854 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13855 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13856 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13858 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13868 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13869 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13871 ac_MKDIR_P
=$MKDIR_P
13873 [\\/$
]* | ?
:[\\/]* ) ;;
13874 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13879 # If the template does not know about datarootdir, expand it.
13880 # FIXME: This hack should be removed a few years after 2.60.
13881 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13892 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13893 *datarootdir
*) ac_datarootdir_seen
=yes;;
13894 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13896 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13899 ac_datarootdir_hack='
13900 s&@datadir@&$datadir&g
13901 s&@docdir@&$docdir&g
13902 s&@infodir@&$infodir&g
13903 s&@localedir@&$localedir&g
13904 s&@mandir@&$mandir&g
13905 s&\\\${datarootdir}&$datarootdir&g' ;;
13909 # Neutralize VPATH when `$srcdir' = `.'.
13910 # Shell code in configure.ac might set extrasub.
13911 # FIXME: do we really want to maintain this feature?
13912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13913 ac_sed_extra="$ac_vpsub
13916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13918 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13919 s|@configure_input@|
$ac_sed_conf_input|
;t t
13920 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13921 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13922 s
&@srcdir@
&$ac_srcdir&;t t
13923 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13924 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13925 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13926 s
&@builddir@
&$ac_builddir&;t t
13927 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13928 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13929 s
&@INSTALL@
&$ac_INSTALL&;t t
13930 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13931 $ac_datarootdir_hack
13933 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13934 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13936 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13937 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13938 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13939 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13941 which seems to be undefined. Please make sure it is defined" >&5
13942 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13943 which seems to be undefined. Please make sure it is defined" >&2;}
13945 rm -f "$ac_tmp/stdin"
13947 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13948 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13956 if test x"$ac_file" != x-; then
13958 $as_echo "/* $configure_input */" \
13959 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13960 } >"$ac_tmp/config.h" \
13961 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13962 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13964 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13967 mv "$ac_tmp/config.h" "$ac_file" \
13968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13971 $as_echo "/* $configure_input */" \
13972 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13973 || as_fn_error $? "could not create -" "$LINENO" 5
13975 # Compute "$ac_file"'s index
in $config_headers.
13978 for _am_header
in $config_headers :; do
13979 case $_am_header in
13980 $_am_arg |
$_am_arg:* )
13983 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13986 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13987 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13988 X"$_am_arg" : 'X\(//\)[^/]' \| \
13989 X"$_am_arg" : 'X\(//\)$' \| \
13990 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13991 $as_echo X"$_am_arg" |
13992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13996 /^X\(\/\/\)[^/].*/{
14008 s/.*/./; q'`/stamp-h
$_am_stamp_count
14011 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14012 $as_echo "$as_me: executing $ac_file commands" >&6;}
14017 case $ac_file$ac_mode in
14018 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14019 # Older Autoconf quotes --file arguments for eval, but not when files
14020 # are listed without --file. Let's play safe and only enable the eval
14021 # if we detect the quoting.
14022 case $CONFIG_FILES in
14023 *\'*) eval set x
"$CONFIG_FILES" ;;
14024 *) set x
$CONFIG_FILES ;;
14029 # Strip MF so we end up with the name of the file.
14030 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14031 # Check whether this is an Automake generated Makefile or not.
14032 # We used to match only the files named 'Makefile.in', but
14033 # some people rename them; so instead we look at the file content.
14034 # Grep'ing the first line is not enough: some people post-process
14035 # each Makefile.in and add a new line on top of each file to say so.
14036 # Grep'ing the whole file is not good either: AIX grep has a line
14037 # limit of 2048, but all sed's we know have understand at least 4000.
14038 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14039 dirpart
=`$as_dirname -- "$mf" ||
14040 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14041 X"$mf" : 'X\(//\)[^/]' \| \
14042 X"$mf" : 'X\(//\)$' \| \
14043 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14049 /^X\(\/\/\)[^/].*/{
14065 # Extract the definition of DEPDIR, am__include, and am__quote
14066 # from the Makefile without running 'make'.
14067 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14068 test -z "$DEPDIR" && continue
14069 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14070 test -z "$am__include" && continue
14071 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14072 # Find all dependency output files, they are included files with
14073 # $(DEPDIR) in their names. We invoke sed twice because it is the
14074 # simplest approach to changing $(DEPDIR) to its actual value in the
14076 for file in `sed -n "
14077 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14078 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14079 # Make sure the directory exists.
14080 test -f "$dirpart/$file" && continue
14081 fdir
=`$as_dirname -- "$file" ||
14082 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14083 X"$file" : 'X\(//\)[^/]' \| \
14084 X"$file" : 'X\(//\)$' \| \
14085 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14086 $as_echo X"$file" |
14087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14091 /^X\(\/\/\)[^/].*/{
14104 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14105 # echo "creating $dirpart/$file"
14106 echo '# dummy' > "$dirpart/$file"
14111 "po-directories":C
)
14112 for ac_file
in $CONFIG_FILES; do
14113 # Support "outfile[:infile[:infile...]]"
14115 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14117 # PO directories have a Makefile.in generated from Makefile.in.in.
14118 case "$ac_file" in */Makefile.
in)
14119 # Adjust a relative srcdir.
14120 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14121 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
14122 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14123 # In autoconf-2.13 it is called $ac_given_srcdir.
14124 # In autoconf-2.50 it is called $srcdir.
14125 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14126 case "$ac_given_srcdir" in
14127 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14128 /*) top_srcdir
="$ac_given_srcdir" ;;
14129 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14131 # Treat a directory as a PO directory if and only if it has a
14132 # POTFILES.in file. This allows packages to have multiple PO
14133 # directories under different names or in different locations.
14134 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14135 rm -f "$ac_dir/POTFILES"
14136 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14137 gt_tab
=`printf '\t'`
14138 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"
14139 POMAKEFILEDEPS
="POTFILES.in"
14140 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14141 # on $ac_dir but don't depend on user-specified configuration
14143 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14144 # The LINGUAS file contains the set of available languages.
14145 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14146 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14148 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14149 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14150 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14151 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14153 # The set of available languages was given in configure.in.
14154 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14155 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14158 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14159 # Compute UPDATEPOFILES
14160 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14161 # Compute DUMMYPOFILES
14162 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14164 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14165 case "$ac_given_srcdir" in
14167 *) srcdirpre
='$(srcdir)/' ;;
14173 for lang
in $ALL_LINGUAS; do
14174 POFILES
="$POFILES $srcdirpre$lang.po"
14175 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14176 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14177 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14179 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14180 # environment variable.
14182 if test -n "$ALL_LINGUAS"; then
14183 for presentlang
in $ALL_LINGUAS; do
14185 if test "%UNSET%" != "$LINGUAS"; then
14186 desiredlanguages
="$LINGUAS"
14188 desiredlanguages
="$ALL_LINGUAS"
14190 for desiredlang
in $desiredlanguages; do
14191 # Use the presentlang catalog if desiredlang is
14192 # a. equal to presentlang, or
14193 # b. a variant of presentlang (because in this case,
14194 # presentlang can be used as a fallback for messages
14195 # which are not translated in the desiredlang catalog).
14196 case "$desiredlang" in
14197 "$presentlang"*) useit
=yes;;
14200 if test $useit = yes; then
14201 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14206 if test -n "$INST_LINGUAS"; then
14207 for lang
in $INST_LINGUAS; do
14208 CATALOGS
="$CATALOGS $lang.gmo"
14211 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14212 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"
14213 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14214 if test -f "$f"; then
14216 *.orig |
*.bak |
*~
) ;;
14217 *) cat "$f" >> "$ac_dir/Makefile" ;;
14225 "run-stap":F
) chmod +x run-stap
;;
14226 "dtrace":F
) chmod +x dtrace
;;
14227 "java/stapbm":F
) chmod +x java
/stapbm
;;
14228 "staprun/run-staprun":F
) chmod +x staprun
/run-staprun
;;
14229 "staprun/guest/stapshd":F
) chmod +x staprun
/guest
/stapshd
;;
14230 "staprun/guest/stapsh-daemon":F
) chmod +x staprun
/guest
/stapsh-daemon
;;
14231 "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
;;
14239 ac_clean_files
=$ac_clean_files_save
14241 test $ac_write_fail = 0 ||
14242 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14245 # configure is writing to config.log, and then calls config.status.
14246 # config.status does its own redirection, appending to config.log.
14247 # Unfortunately, on DOS this fails, as config.log is still kept open
14248 # by configure, so config.status won't be able to write to it; its
14249 # output is simply discarded. So we exec the FD to /dev/null,
14250 # effectively closing config.log, so it can be properly (re)opened and
14251 # appended to by config.status. When coming back to configure, we
14252 # need to make the FD available again.
14253 if test "$no_create" != yes; then
14255 ac_config_status_args
=
14256 test "$silent" = yes &&
14257 ac_config_status_args
="$ac_config_status_args --quiet"
14259 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14261 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14262 # would make configure fail if this is the last instruction.
14263 $ac_cs_success || as_fn_exit
1
14267 # CONFIG_SUBDIRS section.
14269 if test "$no_recursion" != yes; then
14271 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
14272 # so they do not pile up.
14273 ac_sub_configure_args
=
14275 eval "set x $ac_configure_args"
14279 if test -n "$ac_prev"; then
14284 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
14285 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
14286 ac_prev
=cache_file
;;
14287 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
14288 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
14291 --config-cache |
-C)
14293 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
14295 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
14297 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
14299 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
14301 --disable-option-checking)
14305 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14307 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
14311 # Always prepend --prefix to ensure using the same prefix
14312 # in subdir configurations.
14313 ac_arg
="--prefix=$prefix"
14315 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14317 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
14320 if test "$silent" = yes; then
14321 ac_sub_configure_args
="--silent $ac_sub_configure_args"
14324 # Always prepend --disable-option-checking to silence warnings, since
14325 # different subdirs can have different --enable and --with options.
14326 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
14329 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
14331 # Do not complain, so a configure script can configure whichever
14332 # parts of a large source tree are present.
14333 test -d "$srcdir/$ac_dir" ||
continue
14335 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
14336 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
14337 $as_echo "$ac_msg" >&6
14338 as_dir
="$ac_dir"; as_fn_mkdir_p
14342 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14344 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14345 # A ".." for each directory in $ac_dir_suffix.
14346 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14347 case $ac_top_builddir_sub in
14348 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14349 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14352 ac_abs_top_builddir
=$ac_pwd
14353 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14354 # for backward compatibility:
14355 ac_top_builddir
=$ac_top_build_prefix
14358 .
) # We are building in place.
14360 ac_top_srcdir
=$ac_top_builddir_sub
14361 ac_abs_top_srcdir
=$ac_pwd ;;
14362 [\\/]* | ?
:[\\/]* ) # Absolute name.
14363 ac_srcdir
=$srcdir$ac_dir_suffix;
14364 ac_top_srcdir
=$srcdir
14365 ac_abs_top_srcdir
=$srcdir ;;
14366 *) # Relative name.
14367 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14368 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14369 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14371 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14376 # Check for guested configure; otherwise get Cygnus style configure.
14377 if test -f "$ac_srcdir/configure.gnu"; then
14378 ac_sub_configure
=$ac_srcdir/configure.gnu
14379 elif test -f "$ac_srcdir/configure"; then
14380 ac_sub_configure
=$ac_srcdir/configure
14381 elif test -f "$ac_srcdir/configure.in"; then
14382 # This should be Cygnus configure.
14383 ac_sub_configure
=$ac_aux_dir/configure
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
14386 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
14390 # The recursion is here.
14391 if test -n "$ac_sub_configure"; then
14392 # Make the cache file name correct relative to the subdirectory.
14393 case $cache_file in
14394 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
14395 *) # Relative name.
14396 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
14399 { $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
14400 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
14401 # The eval makes quoting arguments work.
14402 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
14403 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
14404 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
14410 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14412 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14416 if test "${prefix}" = "/usr/local"; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14418 $as_echo "$as_me: " >&6;}
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
14420 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
14422 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
14424 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
14426 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: is not supported." >&5
14428 $as_echo "$as_me: is not supported." >&6;}