2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemtap 4.2.
5 # Report bugs to <systemtap@sourceware.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: systemtap@sourceware.org about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='systemtap'
582 PACKAGE_TARNAME
='systemtap'
583 PACKAGE_VERSION
='4.2'
584 PACKAGE_STRING
='systemtap 4.2'
585 PACKAGE_BUGREPORT
='systemtap@sourceware.org'
588 # Factoring default headers for most tests.
589 ac_includes_default
="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
625 enable_option_checking
=no
626 ac_subst_vars
='am__EXEEXT_FALSE
632 NEED_BASE_CLIENT_CODE_FALSE
633 NEED_BASE_CLIENT_CODE_TRUE
634 HAVE_HTTP_SUPPORT_FALSE
635 HAVE_HTTP_SUPPORT_TRUE
656 support_section_question
657 HAVE_MONITOR_LIBS_FALSE
658 HAVE_MONITOR_LIBS_TRUE
663 HAVE_PYTHON_PROBES_FALSE
664 HAVE_PYTHON_PROBES_TRUE
665 HAVE_PYTHON3_PROBES_FALSE
666 HAVE_PYTHON3_PROBES_TRUE
669 HAVE_PYTHON2_PROBES_FALSE
670 HAVE_PYTHON2_PROBES_TRUE
696 HAVE_LIBREADLINE_FALSE
697 HAVE_LIBREADLINE_TRUE
715 XMLTO_STRINGPARAM_FALSE
716 XMLTO_STRINGPARAM_TRUE
727 INSTALL_PREBUILT_DOCS_FALSE
728 INSTALL_PREBUILT_DOCS_TRUE
737 BUILD_TRANSLATOR_FALSE
738 BUILD_TRANSLATOR_TRUE
772 XGETTEXT_EXTRA_OPTIONS
780 GETTEXT_MACRO_VERSION
811 MAINTAINER_MODE_FALSE
825 INSTALL_STRIP_PROGRAM
879 program_transform_name
893 enable_option_checking
895 enable_maintainer_mode
896 enable_dependency_tracking
932 ac_precious_vars
='build_alias
973 ac_subdirs_all
='testsuite'
975 # Initialize some variables set by options.
977 ac_init_version
=false
978 ac_unrecognized_opts
=
980 # The variables have the same names as the options, with
981 # dashes changed to underlines.
989 program_transform_name
=s
,x
,x
,
997 # Installation directory options.
998 # These are left unexpanded so users can "make install exec_prefix=/foo"
999 # and all the variables that are supposed to be based on exec_prefix
1000 # by default will actually change.
1001 # Use braces instead of parens because sh, perl, etc. also accept them.
1002 # (The list follows the same order as the GNU Coding Standards.)
1003 bindir
='${exec_prefix}/bin'
1004 sbindir
='${exec_prefix}/sbin'
1005 libexecdir
='${exec_prefix}/libexec'
1006 datarootdir
='${prefix}/share'
1007 datadir
='${datarootdir}'
1008 sysconfdir
='${prefix}/etc'
1009 sharedstatedir
='${prefix}/com'
1010 localstatedir
='${prefix}/var'
1011 includedir
='${prefix}/include'
1012 oldincludedir
='/usr/include'
1013 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1014 infodir
='${datarootdir}/info'
1019 libdir
='${exec_prefix}/lib'
1020 localedir
='${datarootdir}/locale'
1021 mandir
='${datarootdir}/man'
1027 # If the previous option needs an argument, assign it.
1028 if test -n "$ac_prev"; then
1029 eval $ac_prev=\
$ac_option
1035 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1040 # Accept the important Cygnus configure options, so we can diagnose typos.
1042 case $ac_dashdash$ac_option in
1046 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1048 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1049 bindir
=$ac_optarg ;;
1051 -build |
--build |
--buil |
--bui |
--bu)
1052 ac_prev
=build_alias
;;
1053 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1054 build_alias
=$ac_optarg ;;
1056 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1057 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1058 ac_prev
=cache_file
;;
1059 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1060 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1061 cache_file
=$ac_optarg ;;
1063 --config-cache |
-C)
1064 cache_file
=config.cache
;;
1066 -datadir |
--datadir |
--datadi |
--datad)
1068 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1069 datadir
=$ac_optarg ;;
1071 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1072 |
--dataroo |
--dataro |
--datar)
1073 ac_prev
=datarootdir
;;
1074 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1075 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1076 datarootdir
=$ac_optarg ;;
1078 -disable-* |
--disable-*)
1079 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error $?
"invalid feature name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1087 "enable_
$ac_useropt"
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval enable_
$ac_useropt=no
;;
1094 -docdir |
--docdir |
--docdi |
--doc |
--do)
1096 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1097 docdir
=$ac_optarg ;;
1099 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1101 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1102 dvidir
=$ac_optarg ;;
1104 -enable-* |
--enable-*)
1105 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1108 as_fn_error $?
"invalid feature name: $ac_useropt"
1109 ac_useropt_orig
=$ac_useropt
1110 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111 case $ac_user_opts in
1113 "enable_
$ac_useropt"
1115 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1116 ac_unrecognized_sep
=', ';;
1118 eval enable_
$ac_useropt=\
$ac_optarg ;;
1120 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1121 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1122 |
--exec |
--exe |
--ex)
1123 ac_prev
=exec_prefix
;;
1124 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1125 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1126 |
--exec=* |
--exe=* |
--ex=*)
1127 exec_prefix
=$ac_optarg ;;
1129 -gas |
--gas |
--ga |
--g)
1130 # Obsolete; use --with-gas.
1133 -help |
--help |
--hel |
--he |
-h)
1134 ac_init_help
=long
;;
1135 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1136 ac_init_help
=recursive
;;
1137 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1138 ac_init_help
=short
;;
1140 -host |
--host |
--hos |
--ho)
1141 ac_prev
=host_alias
;;
1142 -host=* |
--host=* |
--hos=* |
--ho=*)
1143 host_alias
=$ac_optarg ;;
1145 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1147 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1149 htmldir
=$ac_optarg ;;
1151 -includedir |
--includedir |
--includedi |
--included |
--include \
1152 |
--includ |
--inclu |
--incl |
--inc)
1153 ac_prev
=includedir
;;
1154 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1155 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1156 includedir
=$ac_optarg ;;
1158 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1160 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1161 infodir
=$ac_optarg ;;
1163 -libdir |
--libdir |
--libdi |
--libd)
1165 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1166 libdir
=$ac_optarg ;;
1168 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1169 |
--libexe |
--libex |
--libe)
1170 ac_prev
=libexecdir
;;
1171 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1172 |
--libexe=* |
--libex=* |
--libe=*)
1173 libexecdir
=$ac_optarg ;;
1175 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1176 ac_prev
=localedir
;;
1177 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1178 localedir
=$ac_optarg ;;
1180 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1181 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1182 ac_prev
=localstatedir
;;
1183 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1184 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1185 localstatedir
=$ac_optarg ;;
1187 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1189 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1190 mandir
=$ac_optarg ;;
1192 -nfp |
--nfp |
--nf)
1193 # Obsolete; use --without-fp.
1196 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1197 |
--no-cr |
--no-c |
-n)
1200 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1201 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1204 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1205 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1206 |
--oldin |
--oldi |
--old |
--ol |
--o)
1207 ac_prev
=oldincludedir
;;
1208 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1209 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1210 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1211 oldincludedir
=$ac_optarg ;;
1213 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1215 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1216 prefix
=$ac_optarg ;;
1218 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1219 |
--program-pre |
--program-pr |
--program-p)
1220 ac_prev
=program_prefix
;;
1221 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1222 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1223 program_prefix
=$ac_optarg ;;
1225 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1226 |
--program-suf |
--program-su |
--program-s)
1227 ac_prev
=program_suffix
;;
1228 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1229 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1230 program_suffix
=$ac_optarg ;;
1232 -program-transform-name |
--program-transform-name \
1233 |
--program-transform-nam |
--program-transform-na \
1234 |
--program-transform-n |
--program-transform- \
1235 |
--program-transform |
--program-transfor \
1236 |
--program-transfo |
--program-transf \
1237 |
--program-trans |
--program-tran \
1238 |
--progr-tra |
--program-tr |
--program-t)
1239 ac_prev
=program_transform_name
;;
1240 -program-transform-name=* |
--program-transform-name=* \
1241 |
--program-transform-nam=* |
--program-transform-na=* \
1242 |
--program-transform-n=* |
--program-transform-=* \
1243 |
--program-transform=* |
--program-transfor=* \
1244 |
--program-transfo=* |
--program-transf=* \
1245 |
--program-trans=* |
--program-tran=* \
1246 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1247 program_transform_name
=$ac_optarg ;;
1249 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1251 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1252 pdfdir
=$ac_optarg ;;
1254 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1256 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1259 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1260 |
-silent |
--silent |
--silen |
--sile |
--sil)
1263 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1265 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1267 sbindir
=$ac_optarg ;;
1269 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1270 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1271 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1273 ac_prev
=sharedstatedir
;;
1274 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1275 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1276 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1278 sharedstatedir
=$ac_optarg ;;
1280 -site |
--site |
--sit)
1282 -site=* |
--site=* |
--sit=*)
1285 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1287 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1288 srcdir
=$ac_optarg ;;
1290 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1291 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1292 ac_prev
=sysconfdir
;;
1293 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1294 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1295 sysconfdir
=$ac_optarg ;;
1297 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1298 ac_prev
=target_alias
;;
1299 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1300 target_alias
=$ac_optarg ;;
1302 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1305 -version |
--version |
--versio |
--versi |
--vers |
-V)
1306 ac_init_version
=: ;;
1309 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1310 # Reject names that are not valid shell variable names.
1311 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1312 as_fn_error $?
"invalid package name: $ac_useropt"
1313 ac_useropt_orig
=$ac_useropt
1314 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1315 case $ac_user_opts in
1319 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1320 ac_unrecognized_sep
=', ';;
1322 eval with_
$ac_useropt=\
$ac_optarg ;;
1324 -without-* |
--without-*)
1325 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1326 # Reject names that are not valid shell variable names.
1327 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1328 as_fn_error $?
"invalid package name: $ac_useropt"
1329 ac_useropt_orig
=$ac_useropt
1330 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1331 case $ac_user_opts in
1335 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1336 ac_unrecognized_sep
=', ';;
1338 eval with_
$ac_useropt=no
;;
1341 # Obsolete; use --with-x.
1344 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1345 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1346 ac_prev
=x_includes
;;
1347 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1348 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1349 x_includes
=$ac_optarg ;;
1351 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1352 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1353 ac_prev
=x_libraries
;;
1354 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1355 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1356 x_libraries
=$ac_optarg ;;
1358 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1359 Try \`$0 --help' for more information"
1363 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1364 # Reject names that are not valid shell variable names.
1365 case $ac_envvar in #(
1366 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1367 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1369 eval $ac_envvar=\
$ac_optarg
1370 export $ac_envvar ;;
1373 # FIXME: should be removed in autoconf 3.0.
1374 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1375 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1376 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1377 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1383 if test -n "$ac_prev"; then
1384 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1385 as_fn_error $?
"missing argument to $ac_option"
1388 if test -n "$ac_unrecognized_opts"; then
1389 case $enable_option_checking in
1391 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1392 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1396 # Check all directory arguments for consistency.
1397 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1398 datadir sysconfdir sharedstatedir localstatedir includedir \
1399 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1400 libdir localedir mandir
1402 eval ac_val
=\$
$ac_var
1403 # Remove trailing slashes.
1406 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1407 eval $ac_var=\
$ac_val;;
1409 # Be sure to have absolute directory names.
1411 [\\/$
]* | ?
:[\\/]* ) continue;;
1412 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1414 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1417 # There might be people who depend on the old broken behavior: `$host'
1418 # used to hold the argument of --host etc.
1419 # FIXME: To remove some day.
1422 target
=$target_alias
1424 # FIXME: To remove some day.
1425 if test "x$host_alias" != x
; then
1426 if test "x$build_alias" = x
; then
1427 cross_compiling
=maybe
1428 elif test "x$build_alias" != "x$host_alias"; then
1434 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1436 test "$silent" = yes && exec 6>/dev
/null
1439 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1440 ac_ls_di
=`ls -di .` &&
1441 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1442 as_fn_error $?
"working directory cannot be determined"
1443 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1444 as_fn_error $?
"pwd does not report name of working directory"
1447 # Find the source files, if location was not specified.
1448 if test -z "$srcdir"; then
1449 ac_srcdir_defaulted
=yes
1450 # Try the directory containing this script, then the parent directory.
1451 ac_confdir
=`$as_dirname -- "$as_myself" ||
1452 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1453 X"$as_myself" : 'X\(//\)[^/]' \| \
1454 X"$as_myself" : 'X\(//\)$' \| \
1455 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1456 $as_echo X"$as_myself" |
1457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1475 if test ! -r "$srcdir/$ac_unique_file"; then
1479 ac_srcdir_defaulted
=no
1481 if test ! -r "$srcdir/$ac_unique_file"; then
1482 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1483 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1485 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1487 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1489 # When building in place, set srcdir=.
1490 if test "$ac_abs_confdir" = "$ac_pwd"; then
1493 # Remove unnecessary trailing slashes from srcdir.
1494 # Double slashes in file names in object file debugging info
1495 # mess up M-x gdb in Emacs.
1497 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1499 for ac_var
in $ac_precious_vars; do
1500 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1501 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1502 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1503 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1507 # Report the --help message.
1509 if test "$ac_init_help" = "long"; then
1510 # Omit some internal or obsolete options to make the list less imposing.
1511 # This message is too long to be a string in the A/UX 3.1 sh.
1513 \`configure' configures systemtap 4.2 to adapt to many kinds of systems.
1515 Usage: $0 [OPTION]... [VAR=VALUE]...
1517 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1518 VAR=VALUE. See below for descriptions of some of the useful variables.
1520 Defaults for the options are specified in brackets.
1523 -h, --help display this help and exit
1524 --help=short display options specific to this package
1525 --help=recursive display the short help of all the included packages
1526 -V, --version display version information and exit
1527 -q, --quiet, --silent do not print \`checking ...' messages
1528 --cache-file=FILE cache test results in FILE [disabled]
1529 -C, --config-cache alias for \`--cache-file=config.cache'
1530 -n, --no-create do not create output files
1531 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1533 Installation directories:
1534 --prefix=PREFIX install architecture-independent files in PREFIX
1535 [$ac_default_prefix]
1536 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1539 By default, \`make install' will install all the files in
1540 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1541 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1542 for instance \`--prefix=\$HOME'.
1544 For better control, use the options below.
1546 Fine tuning of the installation directories:
1547 --bindir=DIR user executables [EPREFIX/bin]
1548 --sbindir=DIR system admin executables [EPREFIX/sbin]
1549 --libexecdir=DIR program executables [EPREFIX/libexec]
1550 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1551 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1552 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1553 --libdir=DIR object code libraries [EPREFIX/lib]
1554 --includedir=DIR C header files [PREFIX/include]
1555 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1556 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1557 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1558 --infodir=DIR info documentation [DATAROOTDIR/info]
1559 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1560 --mandir=DIR man documentation [DATAROOTDIR/man]
1561 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1562 --htmldir=DIR html documentation [DOCDIR]
1563 --dvidir=DIR dvi documentation [DOCDIR]
1564 --pdfdir=DIR pdf documentation [DOCDIR]
1565 --psdir=DIR ps documentation [DOCDIR]
1571 --program-prefix=PREFIX prepend PREFIX to installed program names
1572 --program-suffix=SUFFIX append SUFFIX to installed program names
1573 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1576 --build=BUILD configure
for building on BUILD
[guessed
]
1577 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1578 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1582 if test -n "$ac_init_help"; then
1583 case $ac_init_help in
1584 short | recursive
) echo "Configuration of systemtap 4.2:";;
1589 --disable-option-checking ignore unrecognized
--enable/--with options
1590 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1591 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1592 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1593 --disable-silent-rules verbose build output
(undo
: "make V=0")
1594 --enable-maintainer-mode
1595 enable make rules and dependencies not useful
(and
1596 sometimes confusing
) to the casual installer
1597 --enable-dependency-tracking
1598 do not reject slow dependency extractors
1599 --disable-dependency-tracking
1600 speeds up one-time build
1601 --disable-largefile omit support
for large files
1602 --disable-nls do not use Native Language Support
1603 --disable-rpath do not hardcode runtime library paths
1604 --enable-prologues make -P prologue-searching default
1605 --disable-sdt-probes disable process.mark probes
in stap
, staprun
, stapio
1606 --disable-ssp disable gcc stack-protector
1607 --enable-pie enable position-independent-executable
1608 --enable-sqlite build with sqlite support
1609 --disable-translator build only runtime utilities
1610 --enable-crash[=DIRECTORY
]
1611 enable crash extension
(default is disabled
).
1612 Optional DIRECTORY is the path to the crash header
1613 file (needed
if installed
in a non-standard
1615 --enable-docs enable building documentation
(default to only
1616 installing prebuilt docs
).
1617 --enable-refdocs enable building reference documentation
(default on
1618 if other documentation built
).
1619 --enable-htmldocs enable building html documentation
(default off
).
1620 --enable-server enable building of stap-server
(default on
if nss
1622 --enable-virt enable building of stapvirt support
(default on
if
1623 libvirt etc. found
).
1624 --enable-http Enable building http web compilation service
, if
1628 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1629 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1630 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1631 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1632 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1633 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1634 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1635 --without-nss Do not use NSS even
if present
1636 --without-openssl Do not use OPENSSL even
if present
1637 --with-dracutstap=DIR Install dracut module files
in DIR
1638 --with-dracutbindir=DIR Use the dracut binary located
in DIR
1639 --without-avahi Do not use Avahi even
if present
1640 --with-rpm query rpm database
for missing debuginfos
1641 --with-python3 prefer python version
3
1642 --with-elfutils=DIRECTORY
1643 find elfutils
source code
in DIRECTORY
1644 --with-dyninst=DIRECTORY
1645 find dyninst headers
/libraries
in DIRECTORY
1646 --without-python2-probes
1647 Disable building python version
2 probe support
,
1648 even
if it is available
1649 --without-python3-probes
1650 Disable building python version
3 probe support
,
1651 even
if it is available
1652 --without-bpf Do not try to build BPF components
1653 --without-selinux Do not use libselinux even
if present
1654 --with-java=DIRECTORY Specify JDK directory to compile libHelperSDT.so
1655 against
(default is
/usr
/lib
/jvm
/java
)
1656 --with-extra-version=STRING
1657 Add STRING to stap
-V version
1659 Some influential environment variables
:
1660 CC C compiler
command
1661 CFLAGS C compiler flags
1662 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1663 nonstandard directory
<lib dir
>
1664 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1665 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1666 you have headers
in a nonstandard directory
<include dir
>
1668 CXX C
++ compiler
command
1669 CXXFLAGS C
++ compiler flags
1670 PYTHON the Python interpreter
1671 PKG_CONFIG path to pkg-config utility
1673 directories to add to pkg-config
's search path
1675 path overriding pkg-config's built-in search path
1677 C compiler flags
for sqlite3
, overriding pkg-config
1679 linker flags
for sqlite3
, overriding pkg-config
1680 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1681 nss_LIBS linker flags
for nss
, overriding pkg-config
1683 C compiler flags
for openssl
, overriding pkg-config
1685 linker flags
for openssl
, overriding pkg-config
1687 C compiler flags
for avahi
, overriding pkg-config
1688 avahi_LIBS linker flags
for avahi
, overriding pkg-config
1689 CXXCPP C
++ preprocessor
1691 C compiler flags
for libvirt
, overriding pkg-config
1693 linker flags
for libvirt
, overriding pkg-config
1695 C compiler flags
for libxml2
, overriding pkg-config
1697 linker flags
for libxml2
, overriding pkg-config
1699 C compiler flags
for jsonc
, overriding pkg-config
1700 jsonc_LIBS linker flags
for jsonc
, overriding pkg-config
1702 C compiler flags
for ncurses
, overriding pkg-config
1704 linker flags
for ncurses
, overriding pkg-config
1706 C compiler flags
for selinux
, overriding pkg-config
1708 linker flags
for selinux
, overriding pkg-config
1709 libmicrohttpd_CFLAGS
1710 C compiler flags
for libmicrohttpd
, overriding pkg-config
1712 linker flags
for libmicrohttpd
, overriding pkg-config
1713 uuid_CFLAGS C compiler flags
for uuid
, overriding pkg-config
1714 uuid_LIBS linker flags
for uuid
, overriding pkg-config
1716 C compiler flags
for libcurl
, overriding pkg-config
1718 linker flags
for libcurl
, overriding pkg-config
1720 Use these variables to override the choices made by
`configure' or to help
1721 it to find libraries and programs with nonstandard names/locations.
1723 Report bugs to <systemtap@sourceware.org>.
1728 if test "$ac_init_help" = "recursive"; then
1729 # If there are subdirs, report their specific --help.
1730 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1731 test -d "$ac_dir" ||
1732 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1737 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1739 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1740 # A ".." for each directory in $ac_dir_suffix.
1741 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1742 case $ac_top_builddir_sub in
1743 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1744 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1747 ac_abs_top_builddir=$ac_pwd
1748 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1749 # for backward compatibility:
1750 ac_top_builddir=$ac_top_build_prefix
1753 .) # We are building in place.
1755 ac_top_srcdir=$ac_top_builddir_sub
1756 ac_abs_top_srcdir=$ac_pwd ;;
1757 [\\/]* | ?:[\\/]* ) # Absolute name.
1758 ac_srcdir=$srcdir$ac_dir_suffix;
1759 ac_top_srcdir=$srcdir
1760 ac_abs_top_srcdir=$srcdir ;;
1762 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1763 ac_top_srcdir=$ac_top_build_prefix$srcdir
1764 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1766 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1768 cd "$ac_dir" || { ac_status=$?; continue; }
1769 # Check for guested configure.
1770 if test -f "$ac_srcdir/configure.gnu"; then
1772 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1773 elif test -f "$ac_srcdir/configure"; then
1775 $SHELL "$ac_srcdir/configure" --help=recursive
1777 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1779 cd "$ac_pwd" || { ac_status=$?; break; }
1783 test -n "$ac_init_help" && exit $ac_status
1784 if $ac_init_version; then
1786 systemtap configure 4.2
1787 generated by GNU Autoconf 2.69
1789 Copyright (C) 2012 Free Software Foundation, Inc.
1790 This configure script is free software; the Free Software Foundation
1791 gives unlimited permission to copy, distribute and modify it.
1796 ## ------------------------ ##
1797 ## Autoconf initialization. ##
1798 ## ------------------------ ##
1800 # ac_fn_c_try_compile LINENO
1801 # --------------------------
1802 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_c_try_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext
1807 if { { ac_try="$ac_compile"
1809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1810 *) ac_try_echo
=$ac_try;;
1812 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_compile") 2>conftest.err
1816 if test -s conftest.err
; then
1817 grep -v '^ *+' conftest.err
>conftest.er1
1818 cat conftest.er1
>&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest.
$ac_objext; then :
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.
$ac_ext >&5
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 as_fn_set_status
$ac_retval
1836 } # ac_fn_c_try_compile
1838 # ac_fn_c_try_cpp LINENO
1839 # ----------------------
1840 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } > conftest.i && {
1860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1875 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1878 # the include files in INCLUDES and setting the cache variable VAR
1880 ac_fn_c_check_header_mongrel ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if eval \${$3+:} false; then :
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887 $as_echo_n "(cached) " >&6
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1893 # Is the header compilable?
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1895 $as_echo_n "checking $2 usability... " >&6; }
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 ac_header_compiler=yes
1904 ac_header_compiler=no
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1908 $as_echo "$ac_header_compiler" >&6; }
1910 # Is the header present?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1912 $as_echo_n "checking $2 presence... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1917 if ac_fn_c_try_cpp "$LINENO"; then :
1918 ac_header_preproc=yes
1920 ac_header_preproc=no
1922 rm -f conftest.err conftest.i conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924 $as_echo "$ac_header_preproc" >&6; }
1926 # So? What about this header?
1927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1930 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1932 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1936 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1938 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1940 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1942 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945 ( $as_echo "## --------------------------------------- ##
1946 ## Report this to systemtap@sourceware.org ##
1947 ## --------------------------------------- ##"
1948 ) | sed "s/^/$as_me: WARNING: /" >&2
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1956 eval "$3=\$ac_header_compiler"
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 } # ac_fn_c_check_header_mongrel
1966 # ac_fn_c_try_run LINENO
1967 # ----------------------
1968 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1969 # that executables *can* be run.
1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973 if { { ac_try="$ac_link"
1975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1976 *) ac_try_echo
=$ac_try;;
1978 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_link") 2>&5
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1984 { { case "(($ac_try" in
1985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_try") 2>&5
1992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993 test $ac_status = 0; }; }; then :
1996 $as_echo "$as_me: program exited with status $ac_status" >&5
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2000 ac_retval=$ac_status
2002 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status $ac_retval
2008 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2009 # -------------------------------------------------------
2010 # Tests whether HEADER exists and can be compiled using the include files in
2011 # INCLUDES, setting the cache variable VAR accordingly.
2012 ac_fn_c_check_header_compile ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016 $as_echo_n "checking for $2... " >&6; }
2017 if eval \${$3+:} false; then :
2018 $as_echo_n "(cached) " >&6
2020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2025 if ac_fn_c_try_compile "$LINENO"; then :
2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034 $as_echo "$ac_res" >&6; }
2035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2037 } # ac_fn_c_check_header_compile
2039 # ac_fn_cxx_try_compile LINENO
2040 # ----------------------------
2041 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2042 ac_fn_cxx_try_compile ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 rm -f conftest.$ac_objext
2046 if { { ac_try="$ac_compile"
2048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2049 *) ac_try_echo
=$ac_try;;
2051 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2052 $as_echo "$ac_try_echo"; } >&5
2053 (eval "$ac_compile") 2>conftest.err
2055 if test -s conftest.err
; then
2056 grep -v '^ *+' conftest.err
>conftest.er1
2057 cat conftest.er1
>&5
2058 mv -f conftest.er1 conftest.err
2060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2061 test $ac_status = 0; } && {
2062 test -z "$ac_cxx_werror_flag" ||
2063 test ! -s conftest.err
2064 } && test -s conftest.
$ac_objext; then :
2067 $as_echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.
$ac_ext >&5
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2073 as_fn_set_status
$ac_retval
2075 } # ac_fn_cxx_try_compile
2077 # ac_fn_c_try_link LINENO
2078 # -----------------------
2079 # Try to link conftest.$ac_ext, and return whether this succeeded.
2082 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2083 rm -f conftest.
$ac_objext conftest
$ac_exeext
2084 if { { ac_try
="$ac_link"
2086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2087 *) ac_try_echo=$ac_try;;
2089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2090 $as_echo "$ac_try_echo"; } >&5
2091 (eval "$ac_link") 2>conftest.err
2093 if test -s conftest.err; then
2094 grep -v '^ *+' conftest.err >conftest.er1
2095 cat conftest.er1 >&5
2096 mv -f conftest.er1 conftest.err
2098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099 test $ac_status = 0; } && {
2100 test -z "$ac_c_werror_flag" ||
2101 test ! -s conftest.err
2102 } && test -s conftest$ac_exeext && {
2103 test "$cross_compiling" = yes ||
2104 test -x conftest$ac_exeext
2108 $as_echo "$as_me: failed program was:" >&5
2109 sed 's/^/| /' conftest.$ac_ext >&5
2113 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2114 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2115 # interfere with the next link command; also delete a directory that is
2116 # left behind by Apple's compiler. We do this before executing the actions.
2117 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2118 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2119 as_fn_set_status $ac_retval
2121 } # ac_fn_c_try_link
2123 # ac_fn_c_check_func LINENO FUNC VAR
2124 # ----------------------------------
2125 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2126 ac_fn_c_check_func ()
2128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2130 $as_echo_n "checking for $2... " >&6; }
2131 if eval \${$3+:} false; then :
2132 $as_echo_n "(cached) " >&6
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2136 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2138 #define $2 innocuous_$2
2140 /* System header to define __stub macros and hopefully few prototypes,
2141 which can conflict with char $2 (); below.
2142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2143 <limits.h> exists even on freestanding compilers. */
2146 # include <limits.h>
2148 # include <assert.h>
2153 /* Override any GCC internal prototype to avoid an error.
2154 Use char because int might match the return type of a GCC
2155 builtin and then its argument prototype would still apply. */
2160 /* The GNU C library defines this for functions which it implements
2161 to always fail with ENOSYS. Some functions are actually named
2162 something starting with __ and the normal name is an alias. */
2163 #if defined __stub_$2 || defined __stub___$2
2175 if ac_fn_c_try_link "$LINENO"; then :
2180 rm -f core conftest.err conftest.$ac_objext \
2181 conftest$ac_exeext conftest.$ac_ext
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2185 $as_echo "$ac_res" >&6; }
2186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2188 } # ac_fn_c_check_func
2190 # ac_fn_cxx_try_cpp LINENO
2191 # ------------------------
2192 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2193 ac_fn_cxx_try_cpp ()
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 if { { ac_try="$ac_cpp conftest.$ac_ext"
2198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2199 *) ac_try_echo
=$ac_try;;
2201 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2202 $as_echo "$ac_try_echo"; } >&5
2203 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2205 if test -s conftest.err
; then
2206 grep -v '^ *+' conftest.err
>conftest.er1
2207 cat conftest.er1
>&5
2208 mv -f conftest.er1 conftest.err
2210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2211 test $ac_status = 0; } > conftest.i
&& {
2212 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2213 test ! -s conftest.err
2217 $as_echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.
$ac_ext >&5
2222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2223 as_fn_set_status
$ac_retval
2225 } # ac_fn_cxx_try_cpp
2227 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2228 # ---------------------------------------------------------
2229 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2230 # the include files in INCLUDES and setting the cache variable VAR
2232 ac_fn_cxx_check_header_mongrel
()
2234 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2235 if eval \
${$3+:} false
; then :
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2237 $as_echo_n "checking for $2... " >&6; }
2238 if eval \
${$3+:} false
; then :
2239 $as_echo_n "(cached) " >&6
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2245 # Is the header compilable?
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2247 $as_echo_n "checking $2 usability... " >&6; }
2248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h. */
2253 if ac_fn_cxx_try_compile
"$LINENO"; then :
2254 ac_header_compiler
=yes
2256 ac_header_compiler
=no
2258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2260 $as_echo "$ac_header_compiler" >&6; }
2262 # Is the header present?
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2264 $as_echo_n "checking $2 presence... " >&6; }
2265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2269 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2270 ac_header_preproc
=yes
2272 ac_header_preproc
=no
2274 rm -f conftest.err conftest.i conftest.
$ac_ext
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2276 $as_echo "$ac_header_preproc" >&6; }
2278 # So? What about this header?
2279 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2282 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2284 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2288 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2290 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2292 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2294 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2296 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2297 ( $as_echo "## --------------------------------------- ##
2298 ## Report this to systemtap@sourceware.org ##
2299 ## --------------------------------------- ##"
2300 ) |
sed "s/^/$as_me: WARNING: /" >&2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2304 $as_echo_n "checking for $2... " >&6; }
2305 if eval \
${$3+:} false
; then :
2306 $as_echo_n "(cached) " >&6
2308 eval "$3=\$ac_header_compiler"
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2312 $as_echo "$ac_res" >&6; }
2314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316 } # ac_fn_cxx_check_header_mongrel
2318 # ac_fn_cxx_try_link LINENO
2319 # -------------------------
2320 # Try to link conftest.$ac_ext, and return whether this succeeded.
2321 ac_fn_cxx_try_link
()
2323 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2324 rm -f conftest.
$ac_objext conftest
$ac_exeext
2325 if { { ac_try
="$ac_link"
2327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2331 $as_echo "$ac_try_echo"; } >&5
2332 (eval "$ac_link") 2>conftest.err
2334 if test -s conftest.err; then
2335 grep -v '^ *+' conftest.err >conftest.er1
2336 cat conftest.er1 >&5
2337 mv -f conftest.er1 conftest.err
2339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2340 test $ac_status = 0; } && {
2341 test -z "$ac_cxx_werror_flag" ||
2342 test ! -s conftest.err
2343 } && test -s conftest$ac_exeext && {
2344 test "$cross_compiling" = yes ||
2345 test -x conftest$ac_exeext
2349 $as_echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.$ac_ext >&5
2354 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2355 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2356 # interfere with the next link command; also delete a directory that is
2357 # left behind by Apple's compiler. We do this before executing the actions.
2358 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status $ac_retval
2362 } # ac_fn_cxx_try_link
2364 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2365 # ---------------------------------------------
2366 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2368 ac_fn_c_check_decl ()
2370 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2371 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2372 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2374 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2375 if eval \${$3+:} false; then :
2376 $as_echo_n "(cached) " >&6
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2384 #ifndef $as_decl_name
2386 (void) $as_decl_use;
2388 (void) $as_decl_name;
2396 if ac_fn_c_try_compile "$LINENO"; then :
2401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2405 $as_echo "$ac_res" >&6; }
2406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2408 } # ac_fn_c_check_decl
2409 cat >config.log <<_ACEOF
2410 This file contains any messages produced by compilers while
2411 running configure, to aid debugging if configure makes a mistake.
2413 It was created by systemtap $as_me 4.2, which was
2414 generated by GNU Autoconf 2.69. Invocation command line was
2426 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2427 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2428 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2429 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2430 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2432 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2433 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2435 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2436 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2437 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2438 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2439 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2440 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2441 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir=.
2450 $as_echo "PATH: $as_dir"
2466 # Keep a trace of the command line.
2467 # Strip out --no-create and --no-recursion so they do not pile up.
2468 # Strip out --silent because we don't want to record it for future runs.
2469 # Also quote any args containing shell meta-characters.
2470 # Make two passes to allow for proper duplicate-argument suppression.
2474 ac_must_keep_next=false
2480 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2482 | -silent | --silent | --silen | --sile | --sil)
2485 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2488 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2490 as_fn_append ac_configure_args1 " '$ac_arg'"
2491 if test $ac_must_keep_next = true; then
2492 ac_must_keep_next=false # Got value, back to normal.
2495 *=* | --config-cache | -C | -disable-* | --disable-* \
2496 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2497 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2498 | -with-* | --with-* | -without-* | --without-* | --x)
2499 case "$ac_configure_args0 " in
2500 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2503 -* ) ac_must_keep_next=true ;;
2506 as_fn_append ac_configure_args " '$ac_arg'"
2511 { ac_configure_args0=; unset ac_configure_args0;}
2512 { ac_configure_args1=; unset ac_configure_args1;}
2514 # When interrupted or exit'd, cleanup temporary files, and complete
2515 # config.log. We remove comments because anyway the quotes in there
2516 # would cause problems or look ugly.
2517 # WARNING: Use '\'' to represent an apostrophe within the trap.
2518 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2519 trap 'exit_status=$?
2520 # Save into config.log some information that might help in debugging.
2524 $as_echo "## ---------------- ##
2525 ## Cache variables. ##
2526 ## ---------------- ##"
2528 # The following way of writing the cache mishandles newlines in values,
2530 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2531 eval ac_val=\$$ac_var
2535 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2536 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2539 _ | IFS | as_nl) ;; #(
2540 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2541 *) { eval $ac_var=; unset $ac_var;} ;;
2546 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2547 *${as_nl}ac_space=\ *)
2549 "s/'\''/'\''\\\\'\'''\''/g;
2550 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2553 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2560 $as_echo "## ----------------- ##
2561 ## Output variables. ##
2562 ## ----------------- ##"
2564 for ac_var in $ac_subst_vars
2566 eval ac_val=\$$ac_var
2568 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2570 $as_echo "$ac_var='\''$ac_val'\''"
2574 if test -n "$ac_subst_files"; then
2575 $as_echo "## ------------------- ##
2576 ## File substitutions. ##
2577 ## ------------------- ##"
2579 for ac_var in $ac_subst_files
2581 eval ac_val=\$$ac_var
2583 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2585 $as_echo "$ac_var='\''$ac_val'\''"
2590 if test -s confdefs.h; then
2591 $as_echo "## ----------- ##
2598 test "$ac_signal" != 0 &&
2599 $as_echo "$as_me: caught signal $ac_signal"
2600 $as_echo "$as_me: exit $exit_status"
2602 rm -f core *.core core.conftest.* &&
2603 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2606 for ac_signal in 1 2 13 15; do
2607 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2611 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2612 rm -f -r conftest* confdefs.h
2614 $as_echo "/* confdefs.h */" > confdefs.h
2616 # Predefined preprocessor variables.
2618 cat >>confdefs.h <<_ACEOF
2619 #define PACKAGE_NAME "$PACKAGE_NAME"
2622 cat >>confdefs.h <<_ACEOF
2623 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2626 cat >>confdefs.h <<_ACEOF
2627 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2630 cat >>confdefs.h <<_ACEOF
2631 #define PACKAGE_STRING "$PACKAGE_STRING"
2634 cat >>confdefs.h <<_ACEOF
2635 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2638 cat >>confdefs.h <<_ACEOF
2639 #define PACKAGE_URL "$PACKAGE_URL"
2643 # Let the site file select an alternate cache file if it wants to.
2644 # Prefer an explicitly selected file to automatically selected ones.
2647 if test -n "$CONFIG_SITE"; then
2648 # We do not want a PATH search for config.site.
2649 case $CONFIG_SITE in #((
2650 -*) ac_site_file1=./$CONFIG_SITE;;
2651 */*) ac_site_file1=$CONFIG_SITE;;
2652 *) ac_site_file1=./$CONFIG_SITE;;
2654 elif test "x$prefix" != xNONE; then
2655 ac_site_file1=$prefix/share/config.site
2656 ac_site_file2=$prefix/etc/config.site
2658 ac_site_file1=$ac_default_prefix/share/config.site
2659 ac_site_file2=$ac_default_prefix/etc/config.site
2661 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2663 test "x$ac_site_file" = xNONE && continue
2664 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2666 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2667 sed 's/^/| /' "$ac_site_file" >&5
2669 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2671 as_fn_error $? "failed to load site
script $ac_site_file
2672 See \
`config.log' for more details" "$LINENO" 5; }
2676 if test -r "$cache_file"; then
2677 # Some versions of bash will fail to source /dev/null (special files
2678 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2679 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2681 $as_echo "$as_me: loading cache $cache_file" >&6;}
2683 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2684 *) . "./$cache_file";;
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2689 $as_echo "$as_me: creating cache $cache_file" >&6;}
2693 gt_needs="$gt_needs "
2694 # Check that the precious variables saved in the cache have kept the same
2696 ac_cache_corrupted=false
2697 for ac_var in $ac_precious_vars; do
2698 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2699 eval ac_new_set=\$ac_env_${ac_var}_set
2700 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2701 eval ac_new_val=\$ac_env_${ac_var}_value
2702 case $ac_old_set,$ac_new_set in
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2705 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2706 ac_cache_corrupted=: ;;
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2709 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2710 ac_cache_corrupted=: ;;
2713 if test "x$ac_old_val" != "x$ac_new_val"; then
2714 # differences in whitespace do not lead to failure.
2715 ac_old_val_w=`echo x
$ac_old_val`
2716 ac_new_val_w=`echo x
$ac_new_val`
2717 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2719 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2720 ac_cache_corrupted=:
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2723 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2724 eval $ac_var=\$ac_old_val
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2727 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2729 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2732 # Pass precious variables to config.status.
2733 if test "$ac_new_set" = set; then
2735 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2736 *) ac_arg=$ac_var=$ac_new_val ;;
2738 case " $ac_configure_args " in
2739 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2740 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2744 if $ac_cache_corrupted; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2748 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2749 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2751 ## -------------------- ##
2752 ## Main body of script. ##
2753 ## -------------------- ##
2756 ac_cpp='$CPP $CPPFLAGS'
2757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2764 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2765 if test -f "$ac_dir/install-sh"; then
2767 ac_install_sh="$ac_aux_dir/install-sh -c"
2769 elif test -f "$ac_dir/install.sh"; then
2771 ac_install_sh="$ac_aux_dir/install.sh -c"
2773 elif test -f "$ac_dir/shtool"; then
2775 ac_install_sh="$ac_aux_dir/shtool install -c"
2779 if test -z "$ac_aux_dir"; then
2780 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2783 # These three variables are undocumented and unsupported,
2784 # and are intended to be withdrawn in a future Autoconf release.
2785 # They can cause serious problems if a builder's source tree is in a directory
2786 # whose full name contains unusual characters.
2787 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2788 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2789 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2792 # Make sure we can run config.sub.
2793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2794 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2797 $as_echo_n "checking build system type... " >&6; }
2798 if ${ac_cv_build+:} false; then :
2799 $as_echo_n "(cached) " >&6
2801 ac_build_alias=$build_alias
2802 test "x$ac_build_alias" = x &&
2803 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2804 test "x$ac_build_alias" = x &&
2805 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2806 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2807 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2811 $as_echo "$ac_cv_build" >&6; }
2812 case $ac_cv_build in
2814 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2817 ac_save_IFS=$IFS; IFS='-'
2823 # Remember, the first character of IFS is used to create $*,
2824 # except with old shells:
2827 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2831 $as_echo_n "checking host system type... " >&6; }
2832 if ${ac_cv_host+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 if test "x$host_alias" = x; then
2836 ac_cv_host=$ac_cv_build
2838 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2839 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2844 $as_echo "$ac_cv_host" >&6; }
2847 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2850 ac_save_IFS=$IFS; IFS='-'
2856 # Remember, the first character of IFS is used to create $*,
2857 # except with old shells:
2860 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2864 $as_echo_n "checking target system type... " >&6; }
2865 if ${ac_cv_target+:} false; then :
2866 $as_echo_n "(cached) " >&6
2868 if test "x$target_alias" = x; then
2869 ac_cv_target=$ac_cv_host
2871 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2872 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2877 $as_echo "$ac_cv_target" >&6; }
2878 case $ac_cv_target in
2880 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2882 target=$ac_cv_target
2883 ac_save_IFS=$IFS; IFS='-'
2889 # Remember, the first character of IFS is used to create $*,
2890 # except with old shells:
2893 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2896 # The aliases save the names the user supplied, while $host etc.
2897 # will get canonicalized.
2898 test -n "$target_alias" &&
2899 test "$program_prefix$program_suffix$program_transform_name" = \
2901 program_prefix=${target_alias}-
2904 am__api_version='1.16'
2906 # Find a good install program. We prefer a C program (faster),
2907 # so one script is as good as another. But avoid the broken or
2908 # incompatible versions:
2909 # SysV /etc/install, /usr/sbin/install
2910 # SunOS /usr/etc/install
2911 # IRIX /sbin/install
2913 # AmigaOS /C/install, which installs bootblocks on floppy discs
2914 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2915 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2916 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2917 # OS/2's system install, which has a completely different semantic
2918 # ./install, which can be erroneously created by make from ./install.sh.
2919 # Reject install programs that cannot install multiple files.
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2921 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2922 if test -z "$INSTALL"; then
2923 if ${ac_cv_path_install+:} false; then :
2924 $as_echo_n "(cached) " >&6
2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir=.
2931 # Account for people who put trailing slashes in PATH elements.
2932 case $as_dir/ in #((
2933 ./ | .// | /[cC]/* | \
2934 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2935 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2938 # OSF1 and SCO ODT 3.0 have their own names for install.
2939 # Don't use installbsd from OSF since it installs stuff as root
2941 for ac_prog in ginstall scoinst install; do
2942 for ac_exec_ext in '' $ac_executable_extensions; do
2943 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2944 if test $ac_prog = install &&
2945 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2946 # AIX install. It has an incompatible calling convention.
2948 elif test $ac_prog = install &&
2949 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2950 # program-specific install script used by HP pwplus--don't use.
2953 rm -rf conftest.one conftest.two conftest.dir
2954 echo one > conftest.one
2955 echo two > conftest.two
2957 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2958 test -s conftest.one && test -s conftest.two &&
2959 test -s conftest.dir/conftest.one &&
2960 test -s conftest.dir/conftest.two
2962 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2975 rm -rf conftest.one conftest.two conftest.dir
2978 if test "${ac_cv_path_install+set}" = set; then
2979 INSTALL=$ac_cv_path_install
2981 # As a last resort, use the slow shell script. Don't cache a
2982 # value for INSTALL within a source directory, because that will
2983 # break other packages using the cache if that directory is
2984 # removed, or if the value is a relative name.
2985 INSTALL=$ac_install_sh
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2989 $as_echo "$INSTALL" >&6; }
2991 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2992 # It thinks the first close brace ends the variable substitution.
2993 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2995 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2997 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3000 $as_echo_n "checking whether build environment is sane... " >&6; }
3001 # Reject unsafe characters in $srcdir or the absolute working directory
3002 # name. Accept space and tab only in the latter.
3006 *[\\\"\#\$\&\'\`$am_lf]*)
3007 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3010 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3011 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3014 # Do 'set' in a subshell so we don't clobber the current shell's
3015 # arguments. Must try -L first in case configure is actually a
3016 # symlink; some systems play weird games with the mod time of symlinks
3017 # (eg FreeBSD returns the mod time of the symlink's containing
3021 for am_try
in 1 2; do
3022 echo "timestamp, slept: $am_has_slept" > conftest.
file
3023 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3024 if test "$*" = "X"; then
3026 set X
`ls -t "$srcdir/configure" conftest.file`
3028 if test "$*" != "X $srcdir/configure conftest.file" \
3029 && test "$*" != "X conftest.file $srcdir/configure"; then
3031 # If neither matched, then we have a broken ls. This can happen
3032 # if, for instance, CONFIG_SHELL is bash and it inherits a
3033 # broken ls alias from the environment. This has actually
3034 # happened. Such a system could not be considered "sane".
3035 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3036 alias in your environment" "$LINENO" 5
3038 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3045 test "$2" = conftest.
file
3051 as_fn_error $?
"newly created file is older than distributed files!
3052 Check your system clock" "$LINENO" 5
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3055 $as_echo "yes" >&6; }
3056 # If we didn't sleep, we still need to ensure time stamps of config.status and
3057 # generated files are strictly newer.
3059 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3066 test "$program_prefix" != NONE
&&
3067 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3068 # Use a double $ so make ignores it.
3069 test "$program_suffix" != NONE
&&
3070 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3071 # Double any \ or $.
3072 # By default was `s,x,x', remove it if useless.
3073 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3074 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3076 # Expand $ac_aux_dir to an absolute path.
3077 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3079 if test x
"${MISSING+set}" != xset
; then
3082 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3084 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3087 # Use eval to expand $SHELL
3088 if eval "$MISSING --is-lightweight"; then
3089 am_missing_run
="$MISSING "
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3093 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3096 if test x
"${install_sh+set}" != xset
; then
3099 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3101 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3105 # Installed binaries are usually stripped using 'strip' when the user
3106 # run "make install-strip". However 'strip' might not be the right
3107 # tool to use in cross-compilation environments, therefore Automake
3108 # will honor the 'STRIP' environment variable to overrule this program.
3109 if test "$cross_compiling" != no
; then
3110 if test -n "$ac_tool_prefix"; then
3111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3112 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_STRIP+:} false
; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$STRIP"; then
3119 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir
=.
3126 for ac_exec_ext
in '' $ac_executable_extensions; do
3127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3128 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 STRIP
=$ac_cv_prog_STRIP
3139 if test -n "$STRIP"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3141 $as_echo "$STRIP" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3149 if test -z "$ac_cv_prog_STRIP"; then
3151 # Extract the first word of "strip", so it can be a program name with args.
3152 set dummy strip
; ac_word
=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$ac_ct_STRIP"; then
3159 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir
=.
3166 for ac_exec_ext
in '' $ac_executable_extensions; do
3167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3168 ac_cv_prog_ac_ct_STRIP
="strip"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3179 if test -n "$ac_ct_STRIP"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3181 $as_echo "$ac_ct_STRIP" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3187 if test "x$ac_ct_STRIP" = x
; then
3190 case $cross_compiling:$ac_tool_warned in
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194 ac_tool_warned
=yes ;;
3199 STRIP
="$ac_cv_prog_STRIP"
3203 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3206 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3207 if test -z "$MKDIR_P"; then
3208 if ${ac_cv_path_mkdir+:} false
; then :
3209 $as_echo_n "(cached) " >&6
3211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3215 test -z "$as_dir" && as_dir
=.
3216 for ac_prog
in mkdir gmkdir
; do
3217 for ac_exec_ext
in '' $ac_executable_extensions; do
3218 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3219 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3220 'mkdir (GNU coreutils) '* | \
3221 'mkdir (coreutils) '* | \
3222 'mkdir (fileutils) '4.1*)
3223 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3233 test -d .
/--version && rmdir .
/--version
3234 if test "${ac_cv_path_mkdir+set}" = set; then
3235 MKDIR_P
="$ac_cv_path_mkdir -p"
3237 # As a last resort, use the slow shell script. Don't cache a
3238 # value for MKDIR_P within a source directory, because that will
3239 # break other packages using the cache if that directory is
3240 # removed, or if the value is a relative name.
3241 MKDIR_P
="$ac_install_sh -d"
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3245 $as_echo "$MKDIR_P" >&6; }
3247 for ac_prog
in gawk mawk nawk
awk
3249 # Extract the first word of "$ac_prog", so it can be a program name with args.
3250 set dummy
$ac_prog; ac_word
=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if ${ac_cv_prog_AWK+:} false
; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$AWK"; then
3257 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir
=.
3264 for ac_exec_ext
in '' $ac_executable_extensions; do
3265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_AWK
="$ac_prog"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$AWK"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3279 $as_echo "$AWK" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3286 test -n "$AWK" && break
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3290 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3292 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3293 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3294 $as_echo_n "(cached) " >&6
3296 cat >conftest.
make <<\_ACEOF
3299 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3301 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3302 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3304 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3306 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3310 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3312 $as_echo "yes" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 SET_MAKE
="MAKE=${MAKE-make}"
3320 rm -rf .tst
2>/dev
/null
3321 mkdir .tst
2>/dev
/null
3322 if test -d .tst
; then
3327 rmdir .tst
2>/dev
/null
3329 # Check whether --enable-silent-rules was given.
3330 if test "${enable_silent_rules+set}" = set; then :
3331 enableval
=$enable_silent_rules;
3334 case $enable_silent_rules in # (((
3335 yes) AM_DEFAULT_VERBOSITY
=0;;
3336 no
) AM_DEFAULT_VERBOSITY
=1;;
3337 *) AM_DEFAULT_VERBOSITY
=1;;
3339 am_make
=${MAKE-make}
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3341 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3342 if ${am_cv_make_support_nested_variables+:} false
; then :
3343 $as_echo_n "(cached) " >&6
3345 if $as_echo 'TRUE=$(BAR$(V))
3351 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3352 am_cv_make_support_nested_variables
=yes
3354 am_cv_make_support_nested_variables
=no
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3358 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3359 if test $am_cv_make_support_nested_variables = yes; then
3361 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3363 AM_V
=$AM_DEFAULT_VERBOSITY
3364 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3368 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3369 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3370 # is not polluted with repeated "-I."
3371 am__isrc
=' -I$(srcdir)'
3372 # test to see if srcdir already configured
3373 if test -f $srcdir/config.status
; then
3374 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3378 # test whether we have cygpath
3379 if test -z "$CYGPATH_W"; then
3380 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3381 CYGPATH_W
='cygpath -w'
3388 # Define the identity of the package.
3393 cat >>confdefs.h
<<_ACEOF
3394 #define PACKAGE "$PACKAGE"
3398 cat >>confdefs.h
<<_ACEOF
3399 #define VERSION "$VERSION"
3402 # Some tools Automake needs.
3404 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3407 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3410 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3413 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3416 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3418 # For better backward compatibility. To be removed once Automake 1.9.x
3419 # dies out for good. For more background, see:
3420 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3421 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3422 mkdir_p
='$(MKDIR_P)'
3424 # We need awk for the "check" target (and possibly the TAP driver). The
3425 # system "awk" is bad on some platforms.
3426 # Always define AMTAR for backward compatibility. Yes, it's still used
3427 # in the wild :-( We should find a proper way to deprecate it ...
3431 # We'll loop over all known methods to create a tar archive until one works.
3432 _am_tools
='gnutar pax cpio none'
3434 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3441 # POSIX will say in a future version that running "rm -f" with no argument
3442 # is OK; and we want to be able to make that assumption in our Makefile
3443 # recipes. So use an aggressive probe to check that the usage we want is
3444 # actually supported "in the wild" to an acceptable degree.
3445 # See automake bug#10828.
3446 # To make any issue more visible, cause the running configure to be aborted
3447 # by default if the 'rm' program in use doesn't match our expectations; the
3448 # user can still override this though.
3449 if rm -f && rm -fr && rm -rf; then : OK
; else
3453 Your 'rm' program seems unable to run without file operands specified
3454 on the command line, even when the '-f' option is present. This is contrary
3455 to the behaviour of most rm programs out there, and not conforming with
3456 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3458 Please tell bug-automake@gnu.org about your system, including the value
3459 of your $PATH and any error possibly output before this message. This
3460 can help us improve future automake versions.
3463 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3464 echo 'Configuration will proceed anyway, since you have set the' >&2
3465 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3469 Aborting the configuration process, to ensure you take notice of the issue.
3471 You can download and install GNU coreutils to get an 'rm' implementation
3472 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3474 If you want to complete the configuration process using your problematic
3475 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3476 to "yes", and re-run configure.
3479 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3485 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3486 # Check whether --enable-maintainer-mode was given.
3487 if test "${enable_maintainer_mode+set}" = set; then :
3488 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3490 USE_MAINTAINER_MODE
=no
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3494 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3495 if test $USE_MAINTAINER_MODE = yes; then
3496 MAINTAINER_MODE_TRUE
=
3497 MAINTAINER_MODE_FALSE
='#'
3499 MAINTAINER_MODE_TRUE
='#'
3500 MAINTAINER_MODE_FALSE
=
3503 MAINT
=$MAINTAINER_MODE_TRUE
3507 # Check whether --enable-silent-rules was given.
3508 if test "${enable_silent_rules+set}" = set; then :
3509 enableval
=$enable_silent_rules;
3512 case $enable_silent_rules in # (((
3513 yes) AM_DEFAULT_VERBOSITY
=0;;
3514 no
) AM_DEFAULT_VERBOSITY
=1;;
3515 *) AM_DEFAULT_VERBOSITY
=0;;
3517 am_make
=${MAKE-make}
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3519 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3520 if ${am_cv_make_support_nested_variables+:} false
; then :
3521 $as_echo_n "(cached) " >&6
3523 if $as_echo 'TRUE=$(BAR$(V))
3529 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3530 am_cv_make_support_nested_variables
=yes
3532 am_cv_make_support_nested_variables
=no
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3536 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3537 if test $am_cv_make_support_nested_variables = yes; then
3539 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3541 AM_V
=$AM_DEFAULT_VERBOSITY
3542 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3547 DEPDIR="${am__leading_dot}deps"
3549 ac_config_commands="$ac_config_commands depfiles"
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3552 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3553 cat > confinc.mk << 'END
'
3555 @echo this is the am__doit target >confinc.out
3560 # BSD make does it like this.
3561 echo '.include
"confinc.mk" # ignored' > confmf.BSD
3562 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3563 echo 'include confinc.mk # ignored' > confmf.GNU
3565 for s
in GNU BSD
; do
3566 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3567 (${MAKE-make} -f confmf.
$s && cat confinc.out
) >&5 2>&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }
3571 case $?
:`cat confinc.out 2>/dev/null` in #(
3572 '0:this is the am__doit target') :
3575 am__include
='.include' am__quote
='"' ;; #(
3577 am__include
='include' am__quote
='' ;;
3582 if test "$am__include" != "#"; then
3583 _am_result
="yes ($s style)"
3587 rm -f confinc.
* confmf.
*
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3589 $as_echo "${_am_result}" >&6; }
3591 # Check whether --enable-dependency-tracking was given.
3592 if test "${enable_dependency_tracking+set}" = set; then :
3593 enableval
=$enable_dependency_tracking;
3596 if test "x$enable_dependency_tracking" != xno
; then
3597 am_depcomp
="$ac_aux_dir/depcomp"
3601 if test "x$enable_dependency_tracking" != xno; then
3611 ac_cpp
='$CPP $CPPFLAGS'
3612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3615 if test -n "$ac_tool_prefix"; then
3616 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3617 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_CC+:} false
; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$CC"; then
3624 ac_cv_prog_CC
="$CC" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3646 $as_echo "$CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3654 if test -z "$ac_cv_prog_CC"; then
3656 # Extract the first word of "gcc", so it can be a program name with args.
3657 set dummy gcc
; ac_word
=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$ac_ct_CC"; then
3664 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir
=.
3671 for ac_exec_ext
in '' $ac_executable_extensions; do
3672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_ac_ct_CC
="gcc"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3692 if test "x$ac_ct_CC" = x
; then
3695 case $cross_compiling:$ac_tool_warned in
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699 ac_tool_warned
=yes ;;
3707 if test -z "$CC"; then
3708 if test -n "$ac_tool_prefix"; then
3709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3710 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false
; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC
="$CC" # Let the user override the test.
3719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir
=.
3724 for ac_exec_ext
in '' $ac_executable_extensions; do
3725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3726 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test -n "$CC"; then
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3748 if test -z "$CC"; then
3749 # Extract the first word of "cc", so it can be a program name with args.
3750 set dummy cc
; ac_word
=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_CC+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC
="$CC" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3767 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3768 ac_prog_rejected
=yes
3772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 if test $ac_prog_rejected = yes; then
3780 # We found a bogon in the path, so make sure we never use it.
3781 set dummy
$ac_cv_prog_CC
3783 if test $# != 0; then
3784 # We chose a different compiler from the bogus one.
3785 # However, it has the same basename, so the bogon will be chosen
3786 # first if we set CC to just the basename; use the full file name.
3788 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3794 if test -n "$CC"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3796 $as_echo "$CC" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3804 if test -z "$CC"; then
3805 if test -n "$ac_tool_prefix"; then
3806 for ac_prog
in cl.exe
3808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3809 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3811 $as_echo_n "checking for $ac_word... " >&6; }
3812 if ${ac_cv_prog_CC+:} false
; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -n "$CC"; then
3816 ac_cv_prog_CC
="$CC" # Let the user override the test.
3818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3822 test -z "$as_dir" && as_dir
=.
3823 for ac_exec_ext
in '' $ac_executable_extensions; do
3824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3825 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 if test -n "$CC"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3838 $as_echo "$CC" >&6; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3845 test -n "$CC" && break
3848 if test -z "$CC"; then
3850 for ac_prog
in cl.exe
3852 # Extract the first word of "$ac_prog", so it can be a program name with args.
3853 set dummy
$ac_prog; ac_word
=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3857 $as_echo_n "(cached) " >&6
3859 if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir
=.
3867 for ac_exec_ext
in '' $ac_executable_extensions; do
3868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_CC
="$ac_prog"
3870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3880 if test -n "$ac_ct_CC"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3882 $as_echo "$ac_ct_CC" >&6; }
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3885 $as_echo "no" >&6; }
3889 test -n "$ac_ct_CC" && break
3892 if test "x$ac_ct_CC" = x
; then
3895 case $cross_compiling:$ac_tool_warned in
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3899 ac_tool_warned
=yes ;;
3908 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3910 as_fn_error $?
"no acceptable C compiler found in \$PATH
3911 See \`config.log' for more details" "$LINENO" 5; }
3913 # Provide some information about the compiler.
3914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3917 for ac_option
in --version -v -V -qversion; do
3918 { { ac_try
="$ac_compiler $ac_option >&5"
3920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3921 *) ac_try_echo=$ac_try;;
3923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3924 $as_echo "$ac_try_echo"; } >&5
3925 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3927 if test -s conftest.err; then
3929 ... rest of stderr output deleted ...
3930 10q' conftest.err >conftest.er1
3931 cat conftest.er1 >&5
3933 rm -f conftest.er1 conftest.err
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3949 ac_clean_files_save=$ac_clean_files
3950 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3951 # Try to create an executable without -o first, disregard a.out.
3952 # It will help us diagnose broken compilers, and finding out an intuition
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3955 $as_echo_n "checking whether the C compiler works... " >&6; }
3956 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3958 # The possible output files:
3959 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3962 for ac_file in $ac_files
3965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3966 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3971 if { { ac_try="$ac_link_default"
3973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3974 *) ac_try_echo
=$ac_try;;
3976 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_link_default") 2>&5
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; then :
3982 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3983 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3984 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3985 # so that the user can short-circuit this test for compilers unknown to
3987 for ac_file
in $ac_files ''
3989 test -f "$ac_file" ||
continue
3991 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3994 # We found the default executable, but exeext='' is most
3998 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4000 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4002 # We set ac_cv_exeext here because the later test for it is not
4003 # safe: cross compilers may not add the suffix if given an `-o'
4004 # argument, so we may need to know it at that point already.
4005 # Even if this section looks crufty: it has the advantage of
4012 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4017 if test -z "$ac_file"; then :
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4020 $as_echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.
$ac_ext >&5
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
77 "C compiler cannot create executables
4026 See \`config.log' for more details" "$LINENO" 5; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4029 $as_echo "yes" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4032 $as_echo_n "checking for C compiler default output file name... " >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4034 $as_echo "$ac_file" >&6; }
4035 ac_exeext
=$ac_cv_exeext
4037 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4038 ac_clean_files
=$ac_clean_files_save
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4040 $as_echo_n "checking for suffix of executables... " >&6; }
4041 if { { ac_try
="$ac_link"
4043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4047 $as_echo "$ac_try_echo"; } >&5
4048 (eval "$ac_link") 2>&5
4050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051 test $ac_status = 0; }; then :
4052 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4053 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4054 # work properly (i.e., refer to `conftest.exe'), while it won't with
4056 for ac_file
in conftest.exe conftest conftest.
*; do
4057 test -f "$ac_file" ||
continue
4059 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4060 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4069 See \`config.log' for more details" "$LINENO" 5; }
4071 rm -f conftest conftest
$ac_cv_exeext
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4073 $as_echo "$ac_cv_exeext" >&6; }
4075 rm -f conftest.
$ac_ext
4076 EXEEXT
=$ac_cv_exeext
4078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4084 FILE *f = fopen ("conftest.out", "w");
4085 return ferror (f) || fclose (f) != 0;
4091 ac_clean_files
="$ac_clean_files conftest.out"
4092 # Check that the compiler produces executables we can run. If not, either
4093 # the compiler is broken, or we cross compile.
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4095 $as_echo_n "checking whether we are cross compiling... " >&6; }
4096 if test "$cross_compiling" != yes; then
4097 { { ac_try
="$ac_link"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_link") 2>&5
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }
4108 if { ac_try='./conftest$ac_cv_exeext'
4109 { { case "(($ac_try" in
4110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4111 *) ac_try_echo
=$ac_try;;
4113 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4114 $as_echo "$ac_try_echo"; } >&5
4115 (eval "$ac_try") 2>&5
4117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4118 test $ac_status = 0; }; }; then
4121 if test "$cross_compiling" = maybe
; then
4124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 as_fn_error $?
"cannot run C compiled programs.
4127 If you meant to cross compile, use \`--host'.
4128 See \`config.log' for more details" "$LINENO" 5; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4133 $as_echo "$cross_compiling" >&6; }
4135 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4136 ac_clean_files
=$ac_clean_files_save
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4138 $as_echo_n "checking for suffix of object files... " >&6; }
4139 if ${ac_cv_objext+:} false
; then :
4140 $as_echo_n "(cached) " >&6
4142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4153 rm -f conftest.o conftest.obj
4154 if { { ac_try
="$ac_compile"
4156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4160 $as_echo "$ac_try_echo"; } >&5
4161 (eval "$ac_compile") 2>&5
4163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4164 test $ac_status = 0; }; then :
4165 for ac_file in conftest.o conftest.obj conftest.*; do
4166 test -f "$ac_file" || continue;
4168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4169 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4174 $as_echo "$as_me: failed program was:" >&5
4175 sed 's/^/| /' conftest.$ac_ext >&5
4177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4179 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4180 See \
`config.log' for more details" "$LINENO" 5; }
4182 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4185 $as_echo "$ac_cv_objext" >&6; }
4186 OBJEXT=$ac_cv_objext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4189 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4190 if ${ac_cv_c_compiler_gnu+:} false; then :
4191 $as_echo_n "(cached) " >&6
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4217 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4218 if test $ac_compiler_gnu = yes; then
4223 ac_test_CFLAGS=${CFLAGS+set}
4224 ac_save_CFLAGS=$CFLAGS
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4226 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4227 if ${ac_cv_prog_cc_g+:} false; then :
4228 $as_echo_n "(cached) " >&6
4230 ac_save_c_werror_flag=$ac_c_werror_flag
4231 ac_c_werror_flag=yes
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4245 if ac_fn_c_try_compile "$LINENO"; then :
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4260 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_c_werror_flag=$ac_save_c_werror_flag
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4276 if ac_fn_c_try_compile "$LINENO"; then :
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 ac_c_werror_flag=$ac_save_c_werror_flag
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4287 $as_echo "$ac_cv_prog_cc_g" >&6; }
4288 if test "$ac_test_CFLAGS" = set; then
4289 CFLAGS=$ac_save_CFLAGS
4290 elif test $ac_cv_prog_cc_g = yes; then
4291 if test "$GCC" = yes; then
4297 if test "$GCC" = yes; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4304 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4305 if ${ac_cv_prog_cc_c89+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 ac_cv_prog_cc_c89=no
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4315 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4316 struct buf { int x; };
4317 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4318 static char *e (p, i)
4324 static char *f (char * (*g) (char **, int), char **p, ...)
4329 s = g (p, va_arg (v,int));
4334 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4335 function prototypes and stuff, but not '\xHH' hex character constants.
4336 These don't provoke an error unfortunately, instead are silently treated
4337 as 'x'. The following induces an error, until -std is added to get
4338 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4339 array size at least. It's necessary to write '\x00'==0 to get something
4340 that's true only with -std. */
4341 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4343 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4344 inside strings and character constants. */
4346 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4348 int test (int i, double x);
4349 struct s1 {int (*f) (int a);};
4350 struct s2 {int (*f) (double a);};
4351 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4357 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4362 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4363 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4365 CC="$ac_save_CC $ac_arg"
4366 if ac_fn_c_try_compile "$LINENO"; then :
4367 ac_cv_prog_cc_c89=$ac_arg
4369 rm -f core conftest.err conftest.$ac_objext
4370 test "x$ac_cv_prog_cc_c89" != "xno" && break
4372 rm -f conftest.$ac_ext
4377 case "x$ac_cv_prog_cc_c89" in
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4380 $as_echo "none needed" >&6; } ;;
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4383 $as_echo "unsupported" >&6; } ;;
4385 CC="$CC $ac_cv_prog_cc_c89"
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4387 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4389 if test "x$ac_cv_prog_cc_c89" != xno; then :
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4400 ac_cpp='$CPP $CPPFLAGS'
4401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4405 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4406 if ${am_cv_prog_cc_c_o+:} false; then :
4407 $as_echo_n "(cached) " >&6
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4420 # Make sure it works both with $CC and with simple cc.
4421 # Following AC_PROG_CC_C_O, we do the test twice because some
4422 # compilers refuse to overwrite an existing .o file with -o,
4423 # though they will create one.
4424 am_cv_prog_cc_c_o=yes
4426 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4427 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } \
4431 && test -f conftest2.$ac_objext; then
4434 am_cv_prog_cc_c_o=no
4438 rm -f core conftest*
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4442 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4443 if test "$am_cv_prog_cc_c_o" != yes; then
4444 # Losing compiler, so override with the script.
4445 # FIXME: It is wrong to rewrite CC.
4446 # But if we don't then we get into trouble of one sort or another.
4447 # A longer-term fix would be to have automake use am__CC in this case,
4448 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4449 CC="$am_aux_dir/compile $CC"
4452 ac_cpp='$CPP $CPPFLAGS'
4453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4458 depcc="$CC" am_compiler_list=
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4461 $as_echo_n "checking dependency style of $depcc... " >&6; }
4462 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4466 # We make a subdir and do the tests there. Otherwise we can end up
4467 # making bogus files that we don't know about and never remove. For
4468 # instance it was reported that on HP-UX the gcc test will end up
4469 # making a dummy file named 'D' -- because '-MD' means "put the output
4473 # Copy depcomp to subdir because otherwise we won't find it if we're
4474 # using a relative directory.
4475 cp "$am_depcomp" conftest.dir
4477 # We will build objects and dependencies in a subdirectory because
4478 # it helps to detect inapplicable dependency modes. For instance
4479 # both Tru64's cc and ICC support -MD to output dependencies as a
4480 # side effect of compilation, but ICC will put the dependencies in
4481 # the current directory while Tru64 will put them in the object
4485 am_cv_CC_dependencies_compiler_type=none
4486 if test "$am_compiler_list" = ""; then
4487 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4490 case " $depcc " in #(
4491 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4494 for depmode in $am_compiler_list; do
4495 # Setup a source with many dependencies, because some compilers
4496 # like to wrap large dependency lists on column 80 (with \), and
4497 # we should not choose a depcomp mode which is confused by this.
4499 # We need to recreate these files for each test, as the compiler may
4500 # overwrite some of them when testing with obscure command lines.
4501 # This happens at least with the AIX C compiler.
4503 for i in 1 2 3 4 5 6; do
4504 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4505 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4506 # Solaris 10 /bin/sh.
4507 echo '/* dummy */' > sub/conftst$i.h
4509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4511 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4512 # mode. It turns out that the SunPro C++ compiler does not properly
4513 # handle '-M -o', and we need to detect this. Also, some Intel
4514 # versions had trouble with output in subdirs.
4515 am__obj=sub/conftest.${OBJEXT-o}
4516 am__minus_obj="-o $am__obj"
4519 # This depmode causes a compiler race in universal mode.
4520 test "$am__universal" = false || continue
4523 # After this tag, mechanisms are not by side-effect, so they'll
4524 # only be used when explicitly requested.
4525 if test "x$enable_dependency_tracking" = xyes; then
4531 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4532 # This compiler won't grok '-c -o', but also, the minuso test has
4533 # not run yet. These depmodes are late enough in the game, and
4534 # so weak that their functioning should not be impacted.
4535 am__obj=conftest.${OBJEXT-o}
4540 if depmode=$depmode \
4541 source=sub/conftest.c object=$am__obj \
4542 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4543 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4544 >/dev/null 2>conftest.err &&
4545 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4546 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4547 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4548 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4549 # icc doesn't choke on unknown options, it will just issue warnings
4550 # or remarks (even with -Werror). So we grep stderr for any message
4551 # that says an option was ignored or not supported.
4552 # When given -MP, icc 7.0 and 7.1 complain thusly:
4553 # icc: Command line warning: ignoring option '-M'; no argument required
4554 # The diagnosis changed in icc 8.0:
4555 # icc: Command line remark: option '-MP' not supported
4556 if (grep 'ignoring option' conftest.err ||
4557 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4558 am_cv_CC_dependencies_compiler_type=$depmode
4567 am_cv_CC_dependencies_compiler_type=none
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4572 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4573 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4576 test "x$enable_dependency_tracking" != xno \
4577 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4579 am__fastdepCC_FALSE='#'
4581 am__fastdepCC_TRUE='#'
4582 am__fastdepCC_FALSE=
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4593 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4594 # On Suns, sometimes $CPP names a directory.
4595 if test -n "$CPP" && test -d "$CPP"; then
4598 if test -z "$CPP"; then
4599 if ${ac_cv_prog_CPP+:} false; then :
4600 $as_echo_n "(cached) " >&6
4602 # Double quotes because CPP needs to be expanded
4603 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4606 for ac_c_preproc_warn_flag in '' yes
4608 # Use a header file that comes with gcc, so configuring glibc
4609 # with a fresh cross-compiler works.
4610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4611 # <limits.h> exists even on freestanding compilers.
4612 # On the NeXT, cc -E runs the code through the compiler's parser,
4613 # not just through cpp. "Syntax error" is here to catch this case.
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4617 # include <limits.h>
4619 # include <assert.h>
4623 if ac_fn_c_try_cpp "$LINENO"; then :
4626 # Broken: fails on valid input.
4629 rm -f conftest.err conftest.i conftest.$ac_ext
4631 # OK, works on sane cases. Now check whether nonexistent headers
4632 # can be detected and how.
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635 #include <ac_nonexistent.h>
4637 if ac_fn_c_try_cpp "$LINENO"; then :
4638 # Broken: success on invalid input.
4641 # Passes both tests.
4645 rm -f conftest.err conftest.i conftest.$ac_ext
4648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4649 rm -f conftest.i conftest.err conftest.
$ac_ext
4650 if $ac_preproc_ok; then :
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4663 $as_echo "$CPP" >&6; }
4665 for ac_c_preproc_warn_flag
in '' yes
4667 # Use a header file that comes with gcc, so configuring glibc
4668 # with a fresh cross-compiler works.
4669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4670 # <limits.h> exists even on freestanding compilers.
4671 # On the NeXT, cc -E runs the code through the compiler's parser,
4672 # not just through cpp. "Syntax error" is here to catch this case.
4673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4676 # include <limits.h>
4678 # include <assert.h>
4682 if ac_fn_c_try_cpp
"$LINENO"; then :
4685 # Broken: fails on valid input.
4688 rm -f conftest.err conftest.i conftest.
$ac_ext
4690 # OK, works on sane cases. Now check whether nonexistent headers
4691 # can be detected and how.
4692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4694 #include <ac_nonexistent.h>
4696 if ac_fn_c_try_cpp
"$LINENO"; then :
4697 # Broken: success on invalid input.
4700 # Passes both tests.
4704 rm -f conftest.err conftest.i conftest.
$ac_ext
4707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4708 rm -f conftest.i conftest.err conftest.
$ac_ext
4709 if $ac_preproc_ok; then :
4712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4714 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4715 See \`config.log' for more details" "$LINENO" 5; }
4719 ac_cpp
='$CPP $CPPFLAGS'
4720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4726 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4727 if ${ac_cv_path_GREP+:} false
; then :
4728 $as_echo_n "(cached) " >&6
4730 if test -z "$GREP"; then
4731 ac_path_GREP_found
=false
4732 # Loop through the user's path and test for each of PROGNAME-LIST
4733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4734 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4737 test -z "$as_dir" && as_dir
=.
4738 for ac_prog
in grep ggrep
; do
4739 for ac_exec_ext
in '' $ac_executable_extensions; do
4740 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4741 as_fn_executable_p
"$ac_path_GREP" ||
continue
4742 # Check for GNU ac_path_GREP and select it if it is found.
4743 # Check for GNU $ac_path_GREP
4744 case `"$ac_path_GREP" --version 2>&1` in
4746 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4749 $as_echo_n 0123456789 >"conftest.in"
4752 cat "conftest.in" "conftest.in" >"conftest.tmp"
4753 mv "conftest.tmp" "conftest.in"
4754 cp "conftest.in" "conftest.nl"
4755 $as_echo 'GREP' >> "conftest.nl"
4756 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4757 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4758 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4759 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4760 # Best one so far, save it but keep looking for a better one
4761 ac_cv_path_GREP
="$ac_path_GREP"
4762 ac_path_GREP_max
=$ac_count
4764 # 10*(2^10) chars as input seems more than enough
4765 test $ac_count -gt 10 && break
4767 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4770 $ac_path_GREP_found && break 3
4775 if test -z "$ac_cv_path_GREP"; then
4776 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4779 ac_cv_path_GREP
=$GREP
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4784 $as_echo "$ac_cv_path_GREP" >&6; }
4785 GREP
="$ac_cv_path_GREP"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4789 $as_echo_n "checking for egrep... " >&6; }
4790 if ${ac_cv_path_EGREP+:} false
; then :
4791 $as_echo_n "(cached) " >&6
4793 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4794 then ac_cv_path_EGREP
="$GREP -E"
4796 if test -z "$EGREP"; then
4797 ac_path_EGREP_found
=false
4798 # Loop through the user's path and test for each of PROGNAME-LIST
4799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4800 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4803 test -z "$as_dir" && as_dir
=.
4804 for ac_prog
in egrep; do
4805 for ac_exec_ext
in '' $ac_executable_extensions; do
4806 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4807 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4808 # Check for GNU ac_path_EGREP and select it if it is found.
4809 # Check for GNU $ac_path_EGREP
4810 case `"$ac_path_EGREP" --version 2>&1` in
4812 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4815 $as_echo_n 0123456789 >"conftest.in"
4818 cat "conftest.in" "conftest.in" >"conftest.tmp"
4819 mv "conftest.tmp" "conftest.in"
4820 cp "conftest.in" "conftest.nl"
4821 $as_echo 'EGREP' >> "conftest.nl"
4822 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4823 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4824 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4825 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4826 # Best one so far, save it but keep looking for a better one
4827 ac_cv_path_EGREP
="$ac_path_EGREP"
4828 ac_path_EGREP_max
=$ac_count
4830 # 10*(2^10) chars as input seems more than enough
4831 test $ac_count -gt 10 && break
4833 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4836 $ac_path_EGREP_found && break 3
4841 if test -z "$ac_cv_path_EGREP"; then
4842 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4845 ac_cv_path_EGREP
=$EGREP
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4851 $as_echo "$ac_cv_path_EGREP" >&6; }
4852 EGREP
="$ac_cv_path_EGREP"
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4856 $as_echo_n "checking for ANSI C header files... " >&6; }
4857 if ${ac_cv_header_stdc+:} false
; then :
4858 $as_echo_n "(cached) " >&6
4860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h. */
4875 if ac_fn_c_try_compile
"$LINENO"; then :
4876 ac_cv_header_stdc
=yes
4878 ac_cv_header_stdc
=no
4880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4882 if test $ac_cv_header_stdc = yes; then
4883 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4890 $EGREP "memchr" >/dev
/null
2>&1; then :
4893 ac_cv_header_stdc
=no
4899 if test $ac_cv_header_stdc = yes; then
4900 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4907 $EGREP "free" >/dev
/null
2>&1; then :
4910 ac_cv_header_stdc
=no
4916 if test $ac_cv_header_stdc = yes; then
4917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4918 if test "$cross_compiling" = yes; then :
4921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4925 #if ((' ' & 0x0FF) == 0x020)
4926 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4927 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4929 # define ISLOWER(c) \
4930 (('a' <= (c) && (c) <= 'i') \
4931 || ('j' <= (c) && (c) <= 'r') \
4932 || ('s' <= (c) && (c) <= 'z'))
4933 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4936 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4941 for (i = 0; i < 256; i++)
4942 if (XOR (islower (i), ISLOWER (i))
4943 || toupper (i) != TOUPPER (i))
4948 if ac_fn_c_try_run
"$LINENO"; then :
4951 ac_cv_header_stdc
=no
4953 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4954 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4960 $as_echo "$ac_cv_header_stdc" >&6; }
4961 if test $ac_cv_header_stdc = yes; then
4963 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4967 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4968 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4969 inttypes.h stdint.h unistd.h
4971 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4972 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4974 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4975 cat >>confdefs.h
<<_ACEOF
4976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4985 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4986 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4993 if test "$MINIX" = yes; then
4995 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4998 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5001 $as_echo "#define _MINIX 1" >>confdefs.h
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5007 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5008 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5009 $as_echo_n "(cached) " >&6
5011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5012 /* end confdefs.h. */
5014 # define __EXTENSIONS__ 1
5015 $ac_includes_default
5024 if ac_fn_c_try_compile
"$LINENO"; then :
5025 ac_cv_safe_to_define___extensions__
=yes
5027 ac_cv_safe_to_define___extensions__
=no
5029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5032 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5033 test $ac_cv_safe_to_define___extensions__ = yes &&
5034 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5036 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5038 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5040 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5042 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5048 $as_echo_n "checking whether ln -s works... " >&6; }
5050 if test "$LN_S" = "ln -s"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5052 $as_echo "yes" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5055 $as_echo "no, using $LN_S" >&6; }
5059 ac_cpp
='$CPP $CPPFLAGS'
5060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5063 if test -n "$ac_tool_prefix"; then
5064 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5065 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if ${ac_cv_prog_CC+:} false
; then :
5069 $as_echo_n "(cached) " >&6
5071 if test -n "$CC"; then
5072 ac_cv_prog_CC
="$CC" # Let the user override the test.
5074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5078 test -z "$as_dir" && as_dir
=.
5079 for ac_exec_ext
in '' $ac_executable_extensions; do
5080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5081 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 if test -n "$CC"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5094 $as_echo "$CC" >&6; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5102 if test -z "$ac_cv_prog_CC"; then
5104 # Extract the first word of "gcc", so it can be a program name with args.
5105 set dummy gcc
; ac_word
=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$ac_ct_CC"; then
5112 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir
=.
5119 for ac_exec_ext
in '' $ac_executable_extensions; do
5120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5121 ac_cv_prog_ac_ct_CC
="gcc"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5132 if test -n "$ac_ct_CC"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5134 $as_echo "$ac_ct_CC" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5140 if test "x$ac_ct_CC" = x
; then
5143 case $cross_compiling:$ac_tool_warned in
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5147 ac_tool_warned
=yes ;;
5155 if test -z "$CC"; then
5156 if test -n "$ac_tool_prefix"; then
5157 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5158 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if ${ac_cv_prog_CC+:} false
; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -n "$CC"; then
5165 ac_cv_prog_CC
="$CC" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 if test -n "$CC"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5187 $as_echo "$CC" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5196 if test -z "$CC"; then
5197 # Extract the first word of "cc", so it can be a program name with args.
5198 set dummy cc
; ac_word
=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_CC+:} false
; then :
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$CC"; then
5205 ac_cv_prog_CC
="$CC" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5215 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5216 ac_prog_rejected
=yes
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 if test $ac_prog_rejected = yes; then
5228 # We found a bogon in the path, so make sure we never use it.
5229 set dummy
$ac_cv_prog_CC
5231 if test $# != 0; then
5232 # We chose a different compiler from the bogus one.
5233 # However, it has the same basename, so the bogon will be chosen
5234 # first if we set CC to just the basename; use the full file name.
5236 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5242 if test -n "$CC"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5244 $as_echo "$CC" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5252 if test -z "$CC"; then
5253 if test -n "$ac_tool_prefix"; then
5254 for ac_prog
in cl.exe
5256 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5257 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_CC+:} false
; then :
5261 $as_echo_n "(cached) " >&6
5263 if test -n "$CC"; then
5264 ac_cv_prog_CC
="$CC" # Let the user override the test.
5266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir
=.
5271 for ac_exec_ext
in '' $ac_executable_extensions; do
5272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 if test -n "$CC"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5286 $as_echo "$CC" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5293 test -n "$CC" && break
5296 if test -z "$CC"; then
5298 for ac_prog
in cl.exe
5300 # Extract the first word of "$ac_prog", so it can be a program name with args.
5301 set dummy
$ac_prog; ac_word
=$2
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5303 $as_echo_n "checking for $ac_word... " >&6; }
5304 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5305 $as_echo_n "(cached) " >&6
5307 if test -n "$ac_ct_CC"; then
5308 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir
=.
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_ac_ct_CC
="$ac_prog"
5318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5328 if test -n "$ac_ct_CC"; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5330 $as_echo "$ac_ct_CC" >&6; }
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5333 $as_echo "no" >&6; }
5337 test -n "$ac_ct_CC" && break
5340 if test "x$ac_ct_CC" = x
; then
5343 case $cross_compiling:$ac_tool_warned in
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5347 ac_tool_warned
=yes ;;
5356 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5358 as_fn_error $?
"no acceptable C compiler found in \$PATH
5359 See \`config.log' for more details" "$LINENO" 5; }
5361 # Provide some information about the compiler.
5362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5365 for ac_option
in --version -v -V -qversion; do
5366 { { ac_try
="$ac_compiler $ac_option >&5"
5368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5369 *) ac_try_echo=$ac_try;;
5371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5372 $as_echo "$ac_try_echo"; } >&5
5373 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5375 if test -s conftest.err; then
5377 ... rest of stderr output deleted ...
5378 10q' conftest.err >conftest.er1
5379 cat conftest.er1 >&5
5381 rm -f conftest.er1 conftest.err
5382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5383 test $ac_status = 0; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5387 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5388 if ${ac_cv_c_compiler_gnu+:} false; then :
5389 $as_echo_n "(cached) " >&6
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5405 if ac_fn_c_try_compile "$LINENO"; then :
5410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5411 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5415 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5416 if test $ac_compiler_gnu = yes; then
5421 ac_test_CFLAGS=${CFLAGS+set}
5422 ac_save_CFLAGS=$CFLAGS
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5424 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5425 if ${ac_cv_prog_cc_g+:} false; then :
5426 $as_echo_n "(cached) " >&6
5428 ac_save_c_werror_flag=$ac_c_werror_flag
5429 ac_c_werror_flag=yes
5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5443 if ac_fn_c_try_compile "$LINENO"; then :
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5458 if ac_fn_c_try_compile "$LINENO"; then :
5461 ac_c_werror_flag=$ac_save_c_werror_flag
5463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5474 if ac_fn_c_try_compile "$LINENO"; then :
5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5482 ac_c_werror_flag=$ac_save_c_werror_flag
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5485 $as_echo "$ac_cv_prog_cc_g" >&6; }
5486 if test "$ac_test_CFLAGS" = set; then
5487 CFLAGS=$ac_save_CFLAGS
5488 elif test $ac_cv_prog_cc_g = yes; then
5489 if test "$GCC" = yes; then
5495 if test "$GCC" = yes; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5502 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5503 if ${ac_cv_prog_cc_c89+:} false; then :
5504 $as_echo_n "(cached) " >&6
5506 ac_cv_prog_cc_c89=no
5508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h. */
5513 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5514 struct buf { int x; };
5515 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5516 static char *e (p, i)
5522 static char *f (char * (*g) (char **, int), char **p, ...)
5527 s = g (p, va_arg (v,int));
5532 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5533 function prototypes and stuff, but not '\xHH' hex character constants.
5534 These don't provoke an error unfortunately, instead are silently treated
5535 as 'x'. The following induces an error, until -std is added to get
5536 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5537 array size at least. It's necessary to write '\x00'==0 to get something
5538 that's true only with -std. */
5539 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5541 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5542 inside strings and character constants. */
5544 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5546 int test (int i, double x);
5547 struct s1 {int (*f) (int a);};
5548 struct s2 {int (*f) (double a);};
5549 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5555 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5560 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5561 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5563 CC="$ac_save_CC $ac_arg"
5564 if ac_fn_c_try_compile "$LINENO"; then :
5565 ac_cv_prog_cc_c89=$ac_arg
5567 rm -f core conftest.err conftest.$ac_objext
5568 test "x$ac_cv_prog_cc_c89" != "xno" && break
5570 rm -f conftest.$ac_ext
5575 case "x$ac_cv_prog_cc_c89" in
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5578 $as_echo "none needed" >&6; } ;;
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5581 $as_echo "unsupported" >&6; } ;;
5583 CC="$CC $ac_cv_prog_cc_c89"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5585 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5587 if test "x$ac_cv_prog_cc_c89" != xno; then :
5592 ac_cpp='$CPP $CPPFLAGS'
5593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5598 ac_cpp='$CPP $CPPFLAGS'
5599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5603 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5604 if ${am_cv_prog_cc_c_o+:} false; then :
5605 $as_echo_n "(cached) " >&6
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5618 # Make sure it works both with $CC and with simple cc.
5619 # Following AC_PROG_CC_C_O, we do the test twice because some
5620 # compilers refuse to overwrite an existing .o file with -o,
5621 # though they will create one.
5622 am_cv_prog_cc_c_o=yes
5624 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5625 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); } \
5629 && test -f conftest2.$ac_objext; then
5632 am_cv_prog_cc_c_o=no
5636 rm -f core conftest*
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5640 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5641 if test "$am_cv_prog_cc_c_o" != yes; then
5642 # Losing compiler, so override with the script.
5643 # FIXME: It is wrong to rewrite CC.
5644 # But if we don't then we get into trouble of one sort or another.
5645 # A longer-term fix would be to have automake use am__CC in this case,
5646 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5647 CC="$am_aux_dir/compile $CC"
5650 ac_cpp='$CPP $CPPFLAGS'
5651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5656 depcc="$CC" am_compiler_list=
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5659 $as_echo_n "checking dependency style of $depcc... " >&6; }
5660 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5661 $as_echo_n "(cached) " >&6
5663 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5664 # We make a subdir and do the tests there. Otherwise we can end up
5665 # making bogus files that we don't know about and never remove. For
5666 # instance it was reported that on HP-UX the gcc test will end up
5667 # making a dummy file named 'D' -- because '-MD' means "put the output
5671 # Copy depcomp to subdir because otherwise we won't find it if we're
5672 # using a relative directory.
5673 cp "$am_depcomp" conftest.dir
5675 # We will build objects and dependencies in a subdirectory because
5676 # it helps to detect inapplicable dependency modes. For instance
5677 # both Tru64's cc and ICC support -MD to output dependencies as a
5678 # side effect of compilation, but ICC will put the dependencies in
5679 # the current directory while Tru64 will put them in the object
5683 am_cv_CC_dependencies_compiler_type=none
5684 if test "$am_compiler_list" = ""; then
5685 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5688 case " $depcc " in #(
5689 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5692 for depmode in $am_compiler_list; do
5693 # Setup a source with many dependencies, because some compilers
5694 # like to wrap large dependency lists on column 80 (with \), and
5695 # we should not choose a depcomp mode which is confused by this.
5697 # We need to recreate these files for each test, as the compiler may
5698 # overwrite some of them when testing with obscure command lines.
5699 # This happens at least with the AIX C compiler.
5701 for i in 1 2 3 4 5 6; do
5702 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5703 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5704 # Solaris 10 /bin/sh.
5705 echo '/* dummy */' > sub/conftst$i.h
5707 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5709 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5710 # mode. It turns out that the SunPro C++ compiler does not properly
5711 # handle '-M -o', and we need to detect this. Also, some Intel
5712 # versions had trouble with output in subdirs.
5713 am__obj=sub/conftest.${OBJEXT-o}
5714 am__minus_obj="-o $am__obj"
5717 # This depmode causes a compiler race in universal mode.
5718 test "$am__universal" = false || continue
5721 # After this tag, mechanisms are not by side-effect, so they'll
5722 # only be used when explicitly requested.
5723 if test "x$enable_dependency_tracking" = xyes; then
5729 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5730 # This compiler won't grok '-c -o', but also, the minuso test has
5731 # not run yet. These depmodes are late enough in the game, and
5732 # so weak that their functioning should not be impacted.
5733 am__obj=conftest.${OBJEXT-o}
5738 if depmode=$depmode \
5739 source=sub/conftest.c object=$am__obj \
5740 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5741 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5742 >/dev/null 2>conftest.err &&
5743 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5744 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5745 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5746 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5747 # icc doesn't choke on unknown options, it will just issue warnings
5748 # or remarks (even with -Werror). So we grep stderr for any message
5749 # that says an option was ignored or not supported.
5750 # When given -MP, icc 7.0 and 7.1 complain thusly:
5751 # icc: Command line warning: ignoring option '-M'; no argument required
5752 # The diagnosis changed in icc 8.0:
5753 # icc: Command line remark: option '-MP' not supported
5754 if (grep 'ignoring option' conftest.err ||
5755 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5756 am_cv_CC_dependencies_compiler_type=$depmode
5765 am_cv_CC_dependencies_compiler_type=none
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5770 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5771 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5774 test "x$enable_dependency_tracking" != xno \
5775 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5777 am__fastdepCC_FALSE='#'
5779 am__fastdepCC_TRUE='#'
5780 am__fastdepCC_FALSE=
5785 ac_cpp='$CXXCPP $CPPFLAGS'
5786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5789 if test -z "$CXX"; then
5790 if test -n "$CCC"; then
5793 if test -n "$ac_tool_prefix"; then
5794 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_prog_CXX+:} false; then :
5801 $as_echo_n "(cached) " >&6
5803 if test -n "$CXX"; then
5804 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 if test -n "$CXX"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5826 $as_echo "$CXX" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$CXX" && break
5836 if test -z "$CXX"; then
5838 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5840 # Extract the first word of "$ac_prog", so it can be a program name with args.
5841 set dummy $ac_prog; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5845 $as_echo_n "(cached) " >&6
5847 if test -n "$ac_ct_CXX"; then
5848 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_ac_ct_CXX="$ac_prog"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5868 if test -n "$ac_ct_CXX"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5870 $as_echo "$ac_ct_CXX" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5877 test -n "$ac_ct_CXX" && break
5880 if test "x$ac_ct_CXX" = x; then
5883 case $cross_compiling:$ac_tool_warned in
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5887 ac_tool_warned=yes ;;
5895 # Provide some information about the compiler.
5896 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5899 for ac_option in --version -v -V -qversion; do
5900 { { ac_try="$ac_compiler $ac_option >&5"
5902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5903 *) ac_try_echo
=$ac_try;;
5905 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5906 $as_echo "$ac_try_echo"; } >&5
5907 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5909 if test -s conftest.err
; then
5911 ... rest of stderr output deleted ...
5912 10q' conftest.err
>conftest.er1
5913 cat conftest.er1
>&5
5915 rm -f conftest.er1 conftest.err
5916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5917 test $ac_status = 0; }
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5921 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5922 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5923 $as_echo_n "(cached) " >&6
5925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5939 if ac_fn_cxx_try_compile
"$LINENO"; then :
5944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5945 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5949 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5950 if test $ac_compiler_gnu = yes; then
5955 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5956 ac_save_CXXFLAGS
=$CXXFLAGS
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5958 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5959 if ${ac_cv_prog_cxx_g+:} false
; then :
5960 $as_echo_n "(cached) " >&6
5962 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5963 ac_cxx_werror_flag
=yes
5966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5977 if ac_fn_cxx_try_compile
"$LINENO"; then :
5978 ac_cv_prog_cxx_g
=yes
5981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5982 /* end confdefs.h. */
5992 if ac_fn_cxx_try_compile
"$LINENO"; then :
5995 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5998 /* end confdefs.h. */
6008 if ac_fn_cxx_try_compile
"$LINENO"; then :
6009 ac_cv_prog_cxx_g
=yes
6011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6016 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6019 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6020 if test "$ac_test_CXXFLAGS" = set; then
6021 CXXFLAGS
=$ac_save_CXXFLAGS
6022 elif test $ac_cv_prog_cxx_g = yes; then
6023 if test "$GXX" = yes; then
6029 if test "$GXX" = yes; then
6036 ac_cpp
='$CPP $CPPFLAGS'
6037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6041 depcc
="$CXX" am_compiler_list
=
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6044 $as_echo_n "checking dependency style of $depcc... " >&6; }
6045 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
6046 $as_echo_n "(cached) " >&6
6048 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6049 # We make a subdir and do the tests there. Otherwise we can end up
6050 # making bogus files that we don't know about and never remove. For
6051 # instance it was reported that on HP-UX the gcc test will end up
6052 # making a dummy file named 'D' -- because '-MD' means "put the output
6056 # Copy depcomp to subdir because otherwise we won't find it if we're
6057 # using a relative directory.
6058 cp "$am_depcomp" conftest.dir
6060 # We will build objects and dependencies in a subdirectory because
6061 # it helps to detect inapplicable dependency modes. For instance
6062 # both Tru64's cc and ICC support -MD to output dependencies as a
6063 # side effect of compilation, but ICC will put the dependencies in
6064 # the current directory while Tru64 will put them in the object
6068 am_cv_CXX_dependencies_compiler_type
=none
6069 if test "$am_compiler_list" = ""; then
6070 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6073 case " $depcc " in #(
6074 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6077 for depmode
in $am_compiler_list; do
6078 # Setup a source with many dependencies, because some compilers
6079 # like to wrap large dependency lists on column 80 (with \), and
6080 # we should not choose a depcomp mode which is confused by this.
6082 # We need to recreate these files for each test, as the compiler may
6083 # overwrite some of them when testing with obscure command lines.
6084 # This happens at least with the AIX C compiler.
6086 for i
in 1 2 3 4 5 6; do
6087 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6088 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6089 # Solaris 10 /bin/sh.
6090 echo '/* dummy */' > sub
/conftst
$i.h
6092 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6094 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6095 # mode. It turns out that the SunPro C++ compiler does not properly
6096 # handle '-M -o', and we need to detect this. Also, some Intel
6097 # versions had trouble with output in subdirs.
6098 am__obj
=sub
/conftest.
${OBJEXT-o}
6099 am__minus_obj
="-o $am__obj"
6102 # This depmode causes a compiler race in universal mode.
6103 test "$am__universal" = false ||
continue
6106 # After this tag, mechanisms are not by side-effect, so they'll
6107 # only be used when explicitly requested.
6108 if test "x$enable_dependency_tracking" = xyes
; then
6114 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6115 # This compiler won't grok '-c -o', but also, the minuso test has
6116 # not run yet. These depmodes are late enough in the game, and
6117 # so weak that their functioning should not be impacted.
6118 am__obj
=conftest.
${OBJEXT-o}
6123 if depmode
=$depmode \
6124 source=sub
/conftest.c object
=$am__obj \
6125 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6126 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6127 >/dev
/null
2>conftest.err
&&
6128 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6129 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6130 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6131 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6132 # icc doesn't choke on unknown options, it will just issue warnings
6133 # or remarks (even with -Werror). So we grep stderr for any message
6134 # that says an option was ignored or not supported.
6135 # When given -MP, icc 7.0 and 7.1 complain thusly:
6136 # icc: Command line warning: ignoring option '-M'; no argument required
6137 # The diagnosis changed in icc 8.0:
6138 # icc: Command line remark: option '-MP' not supported
6139 if (grep 'ignoring option' conftest.err ||
6140 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6141 am_cv_CXX_dependencies_compiler_type
=$depmode
6150 am_cv_CXX_dependencies_compiler_type
=none
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6155 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6156 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6159 test "x$enable_dependency_tracking" != xno \
6160 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6161 am__fastdepCXX_TRUE
=
6162 am__fastdepCXX_FALSE
='#'
6164 am__fastdepCXX_TRUE
='#'
6165 am__fastdepCXX_FALSE
=
6170 ac_cpp
='$CPP $CPPFLAGS'
6171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6175 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6176 # On Suns, sometimes $CPP names a directory.
6177 if test -n "$CPP" && test -d "$CPP"; then
6180 if test -z "$CPP"; then
6181 if ${ac_cv_prog_CPP+:} false
; then :
6182 $as_echo_n "(cached) " >&6
6184 # Double quotes because CPP needs to be expanded
6185 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6188 for ac_c_preproc_warn_flag
in '' yes
6190 # Use a header file that comes with gcc, so configuring glibc
6191 # with a fresh cross-compiler works.
6192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6193 # <limits.h> exists even on freestanding compilers.
6194 # On the NeXT, cc -E runs the code through the compiler's parser,
6195 # not just through cpp. "Syntax error" is here to catch this case.
6196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6197 /* end confdefs.h. */
6199 # include <limits.h>
6201 # include <assert.h>
6205 if ac_fn_c_try_cpp
"$LINENO"; then :
6208 # Broken: fails on valid input.
6211 rm -f conftest.err conftest.i conftest.
$ac_ext
6213 # OK, works on sane cases. Now check whether nonexistent headers
6214 # can be detected and how.
6215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6216 /* end confdefs.h. */
6217 #include <ac_nonexistent.h>
6219 if ac_fn_c_try_cpp
"$LINENO"; then :
6220 # Broken: success on invalid input.
6223 # Passes both tests.
6227 rm -f conftest.err conftest.i conftest.
$ac_ext
6230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6231 rm -f conftest.i conftest.err conftest.
$ac_ext
6232 if $ac_preproc_ok; then :
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6245 $as_echo "$CPP" >&6; }
6247 for ac_c_preproc_warn_flag
in '' yes
6249 # Use a header file that comes with gcc, so configuring glibc
6250 # with a fresh cross-compiler works.
6251 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6252 # <limits.h> exists even on freestanding compilers.
6253 # On the NeXT, cc -E runs the code through the compiler's parser,
6254 # not just through cpp. "Syntax error" is here to catch this case.
6255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6258 # include <limits.h>
6260 # include <assert.h>
6264 if ac_fn_c_try_cpp
"$LINENO"; then :
6267 # Broken: fails on valid input.
6270 rm -f conftest.err conftest.i conftest.
$ac_ext
6272 # OK, works on sane cases. Now check whether nonexistent headers
6273 # can be detected and how.
6274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6276 #include <ac_nonexistent.h>
6278 if ac_fn_c_try_cpp
"$LINENO"; then :
6279 # Broken: success on invalid input.
6282 # Passes both tests.
6286 rm -f conftest.err conftest.i conftest.
$ac_ext
6289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6290 rm -f conftest.i conftest.err conftest.
$ac_ext
6291 if $ac_preproc_ok; then :
6294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6296 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6297 See \`config.log' for more details" "$LINENO" 5; }
6301 ac_cpp
='$CPP $CPPFLAGS'
6302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6307 if test -n "$ac_tool_prefix"; then
6308 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6309 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 $as_echo_n "checking for $ac_word... " >&6; }
6312 if ${ac_cv_prog_RANLIB+:} false
; then :
6313 $as_echo_n "(cached) " >&6
6315 if test -n "$RANLIB"; then
6316 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6322 test -z "$as_dir" && as_dir
=.
6323 for ac_exec_ext
in '' $ac_executable_extensions; do
6324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6325 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 RANLIB
=$ac_cv_prog_RANLIB
6336 if test -n "$RANLIB"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6338 $as_echo "$RANLIB" >&6; }
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341 $as_echo "no" >&6; }
6346 if test -z "$ac_cv_prog_RANLIB"; then
6347 ac_ct_RANLIB
=$RANLIB
6348 # Extract the first word of "ranlib", so it can be a program name with args.
6349 set dummy ranlib
; ac_word
=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6353 $as_echo_n "(cached) " >&6
6355 if test -n "$ac_ct_RANLIB"; then
6356 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6362 test -z "$as_dir" && as_dir
=.
6363 for ac_exec_ext
in '' $ac_executable_extensions; do
6364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6365 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6375 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6376 if test -n "$ac_ct_RANLIB"; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6378 $as_echo "$ac_ct_RANLIB" >&6; }
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6384 if test "x$ac_ct_RANLIB" = x
; then
6387 case $cross_compiling:$ac_tool_warned in
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6391 ac_tool_warned
=yes ;;
6393 RANLIB
=$ac_ct_RANLIB
6396 RANLIB
="$ac_cv_prog_RANLIB"
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6403 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6405 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6406 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6407 $as_echo_n "(cached) " >&6
6409 cat >conftest.
make <<\_ACEOF
6412 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6414 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6415 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6417 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6419 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6423 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6425 $as_echo "yes" >&6; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6429 $as_echo "no" >&6; }
6430 SET_MAKE
="MAKE=${MAKE-make}"
6435 # Check whether --enable-largefile was given.
6436 if test "${enable_largefile+set}" = set; then :
6437 enableval
=$enable_largefile;
6440 if test "$enable_largefile" != no
; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6443 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6444 if ${ac_cv_sys_largefile_CC+:} false
; then :
6445 $as_echo_n "(cached) " >&6
6447 ac_cv_sys_largefile_CC
=no
6448 if test "$GCC" != yes; then
6451 # IRIX 6.2 and later do not support large files by default,
6452 # so use the C compiler's -n32 option if that helps.
6453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6454 /* end confdefs.h. */
6455 #include <sys/types.h>
6456 /* Check that off_t can represent 2**63 - 1 correctly.
6457 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6458 since some C++ compilers masquerading as C compilers
6459 incorrectly reject 9223372036854775807. */
6460 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6461 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6462 && LARGE_OFF_T % 2147483647 == 1)
6472 if ac_fn_c_try_compile
"$LINENO"; then :
6475 rm -f core conftest.err conftest.
$ac_objext
6477 if ac_fn_c_try_compile
"$LINENO"; then :
6478 ac_cv_sys_largefile_CC
=' -n32'; break
6480 rm -f core conftest.err conftest.
$ac_objext
6484 rm -f conftest.
$ac_ext
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6488 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6489 if test "$ac_cv_sys_largefile_CC" != no
; then
6490 CC
=$CC$ac_cv_sys_largefile_CC
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6494 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6495 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6496 $as_echo_n "(cached) " >&6
6499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h. */
6501 #include <sys/types.h>
6502 /* Check that off_t can represent 2**63 - 1 correctly.
6503 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6504 since some C++ compilers masquerading as C compilers
6505 incorrectly reject 9223372036854775807. */
6506 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6507 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6508 && LARGE_OFF_T % 2147483647 == 1)
6518 if ac_fn_c_try_compile
"$LINENO"; then :
6519 ac_cv_sys_file_offset_bits
=no
; break
6521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6524 #define _FILE_OFFSET_BITS 64
6525 #include <sys/types.h>
6526 /* Check that off_t can represent 2**63 - 1 correctly.
6527 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6528 since some C++ compilers masquerading as C compilers
6529 incorrectly reject 9223372036854775807. */
6530 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6531 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6532 && LARGE_OFF_T % 2147483647 == 1)
6542 if ac_fn_c_try_compile
"$LINENO"; then :
6543 ac_cv_sys_file_offset_bits
=64; break
6545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6546 ac_cv_sys_file_offset_bits
=unknown
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6551 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6552 case $ac_cv_sys_file_offset_bits in #(
6555 cat >>confdefs.h
<<_ACEOF
6556 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6561 if test $ac_cv_sys_file_offset_bits = unknown
; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6563 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6564 if ${ac_cv_sys_large_files+:} false
; then :
6565 $as_echo_n "(cached) " >&6
6568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <sys/types.h>
6571 /* Check that off_t can represent 2**63 - 1 correctly.
6572 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6573 since some C++ compilers masquerading as C compilers
6574 incorrectly reject 9223372036854775807. */
6575 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6576 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6577 && LARGE_OFF_T % 2147483647 == 1)
6587 if ac_fn_c_try_compile
"$LINENO"; then :
6588 ac_cv_sys_large_files
=no
; break
6590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #define _LARGE_FILES 1
6594 #include <sys/types.h>
6595 /* Check that off_t can represent 2**63 - 1 correctly.
6596 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6597 since some C++ compilers masquerading as C compilers
6598 incorrectly reject 9223372036854775807. */
6599 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6600 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6601 && LARGE_OFF_T % 2147483647 == 1)
6611 if ac_fn_c_try_compile
"$LINENO"; then :
6612 ac_cv_sys_large_files
=1; break
6614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6615 ac_cv_sys_large_files
=unknown
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6620 $as_echo "$ac_cv_sys_large_files" >&6; }
6621 case $ac_cv_sys_large_files in #(
6624 cat >>confdefs.h
<<_ACEOF
6625 #define _LARGE_FILES $ac_cv_sys_large_files
6635 for ac_func
in ppoll
6637 ac_fn_c_check_func
"$LINENO" "ppoll" "ac_cv_func_ppoll"
6638 if test "x$ac_cv_func_ppoll" = xyes
; then :
6639 cat >>confdefs.h
<<_ACEOF
6640 #define HAVE_PPOLL 1
6646 for ac_func
in openat
6648 ac_fn_c_check_func
"$LINENO" "openat" "ac_cv_func_openat"
6649 if test "x$ac_cv_func_openat" = xyes
; then :
6650 cat >>confdefs.h
<<_ACEOF
6651 #define HAVE_OPENAT 1
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6658 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6659 if ${ac_cv_path_SED+:} false
; then :
6660 $as_echo_n "(cached) " >&6
6662 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6663 for ac_i
in 1 2 3 4 5 6 7; do
6664 ac_script
="$ac_script$as_nl$ac_script"
6666 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6667 { ac_script
=; unset ac_script
;}
6668 if test -z "$SED"; then
6669 ac_path_SED_found
=false
6670 # Loop through the user's path and test for each of PROGNAME-LIST
6671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6675 test -z "$as_dir" && as_dir
=.
6676 for ac_prog
in sed gsed
; do
6677 for ac_exec_ext
in '' $ac_executable_extensions; do
6678 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6679 as_fn_executable_p
"$ac_path_SED" ||
continue
6680 # Check for GNU ac_path_SED and select it if it is found.
6681 # Check for GNU $ac_path_SED
6682 case `"$ac_path_SED" --version 2>&1` in
6684 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6687 $as_echo_n 0123456789 >"conftest.in"
6690 cat "conftest.in" "conftest.in" >"conftest.tmp"
6691 mv "conftest.tmp" "conftest.in"
6692 cp "conftest.in" "conftest.nl"
6693 $as_echo '' >> "conftest.nl"
6694 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6695 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6696 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6697 if test $ac_count -gt ${ac_path_SED_max-0}; then
6698 # Best one so far, save it but keep looking for a better one
6699 ac_cv_path_SED
="$ac_path_SED"
6700 ac_path_SED_max
=$ac_count
6702 # 10*(2^10) chars as input seems more than enough
6703 test $ac_count -gt 10 && break
6705 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6708 $ac_path_SED_found && break 3
6713 if test -z "$ac_cv_path_SED"; then
6714 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6722 $as_echo "$ac_cv_path_SED" >&6; }
6723 SED
="$ac_cv_path_SED"
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6728 $as_echo_n "checking whether NLS is requested... " >&6; }
6729 # Check whether --enable-nls was given.
6730 if test "${enable_nls+set}" = set; then :
6731 enableval
=$enable_nls; USE_NLS
=$enableval
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6737 $as_echo "$USE_NLS" >&6; }
6742 GETTEXT_MACRO_VERSION
=0.19
6747 # Prepare PATH_SEPARATOR.
6748 # The user is always right.
6749 if test "${PATH_SEPARATOR+set}" != set; then
6750 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6751 # contains only /bin. Note that ksh looks also at the FPATH variable,
6752 # so we have to set that as well for the test.
6754 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6755 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6756 || PATH_SEPARATOR
=';'
6760 # Find out how to test for executable files. Don't use a zero-byte file,
6761 # as systems may use methods other than mode bits to determine executability.
6762 cat >conf$$.
file <<_ASEOF
6766 chmod +x conf$$.
file
6767 if test -x conf$$.
file >/dev
/null
2>&1; then
6768 ac_executable_p
="test -x"
6770 ac_executable_p
="test -f"
6774 # Extract the first word of "msgfmt", so it can be a program name with args.
6775 set dummy msgfmt
; ac_word
=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 $as_echo_n "checking for $ac_word... " >&6; }
6778 if ${ac_cv_path_MSGFMT+:} false
; then :
6779 $as_echo_n "(cached) " >&6
6783 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6786 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6787 for ac_dir
in $PATH; do
6789 test -z "$ac_dir" && ac_dir
=.
6790 for ac_exec_ext
in '' $ac_executable_extensions; do
6791 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6792 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6793 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
6794 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6795 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6802 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6806 MSGFMT
="$ac_cv_path_MSGFMT"
6807 if test "$MSGFMT" != ":"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6809 $as_echo "$MSGFMT" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6815 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6816 set dummy gmsgfmt
; ac_word
=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_path_GMSGFMT+:} false
; then :
6820 $as_echo_n "(cached) " >&6
6824 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir
=.
6832 for ac_exec_ext
in '' $ac_executable_extensions; do
6833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6846 GMSGFMT
=$ac_cv_path_GMSGFMT
6847 if test -n "$GMSGFMT"; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6849 $as_echo "$GMSGFMT" >&6; }
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6857 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6858 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
6859 *) MSGFMT_015
=$MSGFMT ;;
6862 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6863 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
6864 *) GMSGFMT_015
=$GMSGFMT ;;
6869 # Prepare PATH_SEPARATOR.
6870 # The user is always right.
6871 if test "${PATH_SEPARATOR+set}" != set; then
6872 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6873 # contains only /bin. Note that ksh looks also at the FPATH variable,
6874 # so we have to set that as well for the test.
6876 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6877 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6878 || PATH_SEPARATOR
=';'
6882 # Find out how to test for executable files. Don't use a zero-byte file,
6883 # as systems may use methods other than mode bits to determine executability.
6884 cat >conf$$.
file <<_ASEOF
6888 chmod +x conf$$.
file
6889 if test -x conf$$.
file >/dev
/null
2>&1; then
6890 ac_executable_p
="test -x"
6892 ac_executable_p
="test -f"
6896 # Extract the first word of "xgettext", so it can be a program name with args.
6897 set dummy xgettext
; ac_word
=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899 $as_echo_n "checking for $ac_word... " >&6; }
6900 if ${ac_cv_path_XGETTEXT+:} false
; then :
6901 $as_echo_n "(cached) " >&6
6905 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6908 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6909 for ac_dir
in $PATH; do
6911 test -z "$ac_dir" && ac_dir
=.
6912 for ac_exec_ext
in '' $ac_executable_extensions; do
6913 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6914 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6915 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
6916 (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
6917 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6924 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6928 XGETTEXT
="$ac_cv_path_XGETTEXT"
6929 if test "$XGETTEXT" != ":"; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6931 $as_echo "$XGETTEXT" >&6; }
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6934 $as_echo "no" >&6; }
6939 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6940 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
6941 *) XGETTEXT_015
=$XGETTEXT ;;
6946 # Prepare PATH_SEPARATOR.
6947 # The user is always right.
6948 if test "${PATH_SEPARATOR+set}" != set; then
6949 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6950 # contains only /bin. Note that ksh looks also at the FPATH variable,
6951 # so we have to set that as well for the test.
6953 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6954 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
6955 || PATH_SEPARATOR
=';'
6959 # Find out how to test for executable files. Don't use a zero-byte file,
6960 # as systems may use methods other than mode bits to determine executability.
6961 cat >conf$$.
file <<_ASEOF
6965 chmod +x conf$$.
file
6966 if test -x conf$$.
file >/dev
/null
2>&1; then
6967 ac_executable_p
="test -x"
6969 ac_executable_p
="test -f"
6973 # Extract the first word of "msgmerge", so it can be a program name with args.
6974 set dummy msgmerge
; ac_word
=$2
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6976 $as_echo_n "checking for $ac_word... " >&6; }
6977 if ${ac_cv_path_MSGMERGE+:} false
; then :
6978 $as_echo_n "(cached) " >&6
6982 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6985 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6986 for ac_dir
in $PATH; do
6988 test -z "$ac_dir" && ac_dir
=.
6989 for ac_exec_ext
in '' $ac_executable_extensions; do
6990 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6991 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6992 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
6993 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7000 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7004 MSGMERGE
="$ac_cv_path_MSGMERGE"
7005 if test "$MSGMERGE" != ":"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7007 $as_echo "$MSGMERGE" >&6; }
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7014 test -n "$localedir" || localedir
='${datadir}/locale'
7017 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
7020 ac_config_commands
="$ac_config_commands po-directories"
7024 if test "X$prefix" = "XNONE"; then
7025 acl_final_prefix
="$ac_default_prefix"
7027 acl_final_prefix
="$prefix"
7029 if test "X$exec_prefix" = "XNONE"; then
7030 acl_final_exec_prefix
='${prefix}'
7032 acl_final_exec_prefix
="$exec_prefix"
7034 acl_save_prefix
="$prefix"
7035 prefix
="$acl_final_prefix"
7036 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7037 prefix
="$acl_save_prefix"
7041 # Check whether --with-gnu-ld was given.
7042 if test "${with_gnu_ld+set}" = set; then :
7043 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7048 # Prepare PATH_SEPARATOR.
7049 # The user is always right.
7050 if test "${PATH_SEPARATOR+set}" != set; then
7051 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7052 # contains only /bin. Note that ksh looks also at the FPATH variable,
7053 # so we have to set that as well for the test.
7055 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7056 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
7057 || PATH_SEPARATOR
=';'
7062 if test "$GCC" = yes; then
7063 # Check if gcc -print-prog-name=ld gives a path.
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7065 $as_echo_n "checking for ld used by $CC... " >&6; }
7068 # gcc leaves a trailing carriage return which upsets mingw
7069 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7071 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7074 # Accept absolute paths.
7076 re_direlt
='/[^/][^/]*/\.\./'
7077 # Canonicalize the pathname of ld
7078 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
7079 while echo "$ac_prog" |
grep "$re_direlt" > /dev
/null
2>&1; do
7080 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7082 test -z "$LD" && LD
="$ac_prog"
7085 # If it fails, then pretend we aren't using GCC.
7089 # If it is relative, then search for the first ld in PATH.
7093 elif test "$with_gnu_ld" = yes; then
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7095 $as_echo_n "checking for GNU ld... " >&6; }
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7098 $as_echo_n "checking for non-GNU ld... " >&6; }
7100 if ${acl_cv_path_LD+:} false
; then :
7101 $as_echo_n "(cached) " >&6
7103 if test -z "$LD"; then
7104 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7105 for ac_dir
in $PATH; do
7107 test -z "$ac_dir" && ac_dir
=.
7108 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7109 acl_cv_path_LD
="$ac_dir/$ac_prog"
7110 # Check to see if the program is GNU ld. I'd rather use --version,
7111 # but apparently some variants of GNU ld only accept -v.
7112 # Break only if it was the GNU/non-GNU ld that we prefer.
7113 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
7114 *GNU
* |
*'with BFD'*)
7115 test "$with_gnu_ld" != no
&& break
7118 test "$with_gnu_ld" != yes && break
7125 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7129 LD
="$acl_cv_path_LD"
7130 if test -n "$LD"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7132 $as_echo "$LD" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7137 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7139 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7140 if ${acl_cv_prog_gnu_ld+:} false
; then :
7141 $as_echo_n "(cached) " >&6
7143 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7144 case `$LD -v 2>&1 </dev/null` in
7145 *GNU
* |
*'with BFD'*)
7146 acl_cv_prog_gnu_ld
=yes
7149 acl_cv_prog_gnu_ld
=no
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7154 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7155 with_gnu_ld
=$acl_cv_prog_gnu_ld
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7161 $as_echo_n "checking for shared library run path origin... " >&6; }
7162 if ${acl_cv_rpath+:} false
; then :
7163 $as_echo_n "(cached) " >&6
7166 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7167 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7174 $as_echo "$acl_cv_rpath" >&6; }
7176 acl_libext
="$acl_cv_libext"
7177 acl_shlibext
="$acl_cv_shlibext"
7178 acl_libname_spec
="$acl_cv_libname_spec"
7179 acl_library_names_spec
="$acl_cv_library_names_spec"
7180 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7181 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7182 acl_hardcode_direct
="$acl_cv_hardcode_direct"
7183 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7184 # Check whether --enable-rpath was given.
7185 if test "${enable_rpath+set}" = set; then :
7186 enableval
=$enable_rpath; :
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7199 $as_echo_n "checking for 64-bit host... " >&6; }
7200 if ${gl_cv_solaris_64bit+:} false
; then :
7201 $as_echo_n "(cached) " >&6
7203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7212 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
7213 gl_cv_solaris_64bit
=yes
7215 gl_cv_solaris_64bit
=no
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7222 $as_echo "$gl_cv_solaris_64bit" >&6; }
7223 if test $gl_cv_solaris_64bit = yes; then
7224 acl_libdirstem
=lib
/64
7226 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
7227 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
7232 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7233 if test -n "$searchpath"; then
7234 acl_save_IFS
="${IFS= }"; IFS
=":"
7235 for searchdir
in $searchpath; do
7236 if test -d "$searchdir"; then
7237 case "$searchdir" in
7238 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
7240 # Better ignore directories of this form. They are misleading.
7242 *) searchdir
=`cd "$searchdir" && pwd`
7243 case "$searchdir" in
7244 */lib64
) acl_libdirstem
=lib64
;;
7253 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
7268 acl_save_prefix
="$prefix"
7269 prefix
="$acl_final_prefix"
7270 acl_save_exec_prefix
="$exec_prefix"
7271 exec_prefix
="$acl_final_exec_prefix"
7273 eval additional_includedir
=\"$includedir\"
7274 eval additional_libdir
=\"$libdir\"
7276 exec_prefix
="$acl_save_exec_prefix"
7277 prefix
="$acl_save_prefix"
7280 # Check whether --with-libiconv-prefix was given.
7281 if test "${with_libiconv_prefix+set}" = set; then :
7282 withval
=$with_libiconv_prefix;
7283 if test "X$withval" = "Xno"; then
7286 if test "X$withval" = "X"; then
7288 acl_save_prefix
="$prefix"
7289 prefix
="$acl_final_prefix"
7290 acl_save_exec_prefix
="$exec_prefix"
7291 exec_prefix
="$acl_final_exec_prefix"
7293 eval additional_includedir
=\"$includedir\"
7294 eval additional_libdir
=\"$libdir\"
7296 exec_prefix
="$acl_save_exec_prefix"
7297 prefix
="$acl_save_prefix"
7300 additional_includedir
="$withval/include"
7301 additional_libdir
="$withval/$acl_libdirstem"
7302 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7303 && ! test -d "$withval/$acl_libdirstem"; then
7304 additional_libdir
="$withval/$acl_libdirstem2"
7318 names_already_handled
=
7319 names_next_round
='iconv '
7320 while test -n "$names_next_round"; do
7321 names_this_round
="$names_next_round"
7323 for name
in $names_this_round; do
7325 for n
in $names_already_handled; do
7326 if test "$n" = "$name"; then
7331 if test -z "$already_handled"; then
7332 names_already_handled
="$names_already_handled $name"
7333 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7334 eval value
=\"\
$HAVE_LIB$uppername\"
7335 if test -n "$value"; then
7336 if test "$value" = yes; then
7337 eval value
=\"\
$LIB$uppername\"
7338 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7339 eval value
=\"\
$LTLIB$uppername\"
7340 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7349 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
7350 if test -n "$acl_shlibext"; then
7351 shrext
=".$acl_shlibext" # typically: shrext=.so
7355 if test $use_additional = yes; then
7356 dir
="$additional_libdir"
7357 if test -n "$acl_shlibext"; then
7358 if test -f "$dir/$libname$shrext"; then
7360 found_so
="$dir/$libname$shrext"
7362 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7363 ver
=`(cd "$dir" && \
7364 for f in "$libname$shrext".*; do echo "$f"; done \
7365 | sed -e "s,^$libname$shrext\\\\.,," \
7366 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7367 | sed 1q ) 2>/dev/null`
7368 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7370 found_so
="$dir/$libname$shrext.$ver"
7373 eval library_names
=\"$acl_library_names_spec\"
7374 for f
in $library_names; do
7375 if test -f "$dir/$f"; then
7384 if test "X$found_dir" = "X"; then
7385 if test -f "$dir/$libname.$acl_libext"; then
7387 found_a
="$dir/$libname.$acl_libext"
7390 if test "X$found_dir" != "X"; then
7391 if test -f "$dir/$libname.la"; then
7392 found_la
="$dir/$libname.la"
7396 if test "X$found_dir" = "X"; then
7397 for x
in $LDFLAGS $LTLIBICONV; do
7399 acl_save_prefix
="$prefix"
7400 prefix
="$acl_final_prefix"
7401 acl_save_exec_prefix
="$exec_prefix"
7402 exec_prefix
="$acl_final_exec_prefix"
7404 exec_prefix
="$acl_save_exec_prefix"
7405 prefix
="$acl_save_prefix"
7409 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7410 if test -n "$acl_shlibext"; then
7411 if test -f "$dir/$libname$shrext"; then
7413 found_so
="$dir/$libname$shrext"
7415 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7416 ver
=`(cd "$dir" && \
7417 for f in "$libname$shrext".*; do echo "$f"; done \
7418 | sed -e "s,^$libname$shrext\\\\.,," \
7419 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7420 | sed 1q ) 2>/dev/null`
7421 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7423 found_so
="$dir/$libname$shrext.$ver"
7426 eval library_names
=\"$acl_library_names_spec\"
7427 for f
in $library_names; do
7428 if test -f "$dir/$f"; then
7437 if test "X$found_dir" = "X"; then
7438 if test -f "$dir/$libname.$acl_libext"; then
7440 found_a
="$dir/$libname.$acl_libext"
7443 if test "X$found_dir" != "X"; then
7444 if test -f "$dir/$libname.la"; then
7445 found_la
="$dir/$libname.la"
7450 if test "X$found_dir" != "X"; then
7455 if test "X$found_dir" != "X"; then
7456 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7457 if test "X$found_so" != "X"; then
7458 if test "$enable_rpath" = no \
7459 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
7460 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7461 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7464 for x
in $ltrpathdirs; do
7465 if test "X$x" = "X$found_dir"; then
7470 if test -z "$haveit"; then
7471 ltrpathdirs
="$ltrpathdirs $found_dir"
7473 if test "$acl_hardcode_direct" = yes; then
7474 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7476 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
7477 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7479 for x
in $rpathdirs; do
7480 if test "X$x" = "X$found_dir"; then
7485 if test -z "$haveit"; then
7486 rpathdirs
="$rpathdirs $found_dir"
7490 for x
in $LDFLAGS $LIBICONV; do
7492 acl_save_prefix
="$prefix"
7493 prefix
="$acl_final_prefix"
7494 acl_save_exec_prefix
="$exec_prefix"
7495 exec_prefix
="$acl_final_exec_prefix"
7497 exec_prefix
="$acl_save_exec_prefix"
7498 prefix
="$acl_save_prefix"
7500 if test "X$x" = "X-L$found_dir"; then
7505 if test -z "$haveit"; then
7506 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7508 if test "$acl_hardcode_minus_L" != no
; then
7509 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7511 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7517 if test "X$found_a" != "X"; then
7518 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7520 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7523 additional_includedir
=
7524 case "$found_dir" in
7525 */$acl_libdirstem |
*/$acl_libdirstem/)
7526 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7527 if test "$name" = 'iconv'; then
7528 LIBICONV_PREFIX
="$basedir"
7530 additional_includedir
="$basedir/include"
7532 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
7533 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7534 if test "$name" = 'iconv'; then
7535 LIBICONV_PREFIX
="$basedir"
7537 additional_includedir
="$basedir/include"
7540 if test "X$additional_includedir" != "X"; then
7541 if test "X$additional_includedir" != "X/usr/include"; then
7543 if test "X$additional_includedir" = "X/usr/local/include"; then
7544 if test -n "$GCC"; then
7546 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7550 if test -z "$haveit"; then
7551 for x
in $CPPFLAGS $INCICONV; do
7553 acl_save_prefix
="$prefix"
7554 prefix
="$acl_final_prefix"
7555 acl_save_exec_prefix
="$exec_prefix"
7556 exec_prefix
="$acl_final_exec_prefix"
7558 exec_prefix
="$acl_save_exec_prefix"
7559 prefix
="$acl_save_prefix"
7561 if test "X$x" = "X-I$additional_includedir"; then
7566 if test -z "$haveit"; then
7567 if test -d "$additional_includedir"; then
7568 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7574 if test -n "$found_la"; then
7575 save_libdir
="$libdir"
7577 */* |
*\\*) .
"$found_la" ;;
7578 *) .
"./$found_la" ;;
7580 libdir
="$save_libdir"
7581 for dep
in $dependency_libs; do
7584 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7585 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7586 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7588 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7589 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7590 if test -n "$GCC"; then
7592 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
7596 if test -z "$haveit"; then
7598 for x
in $LDFLAGS $LIBICONV; do
7600 acl_save_prefix
="$prefix"
7601 prefix
="$acl_final_prefix"
7602 acl_save_exec_prefix
="$exec_prefix"
7603 exec_prefix
="$acl_final_exec_prefix"
7605 exec_prefix
="$acl_save_exec_prefix"
7606 prefix
="$acl_save_prefix"
7608 if test "X$x" = "X-L$additional_libdir"; then
7613 if test -z "$haveit"; then
7614 if test -d "$additional_libdir"; then
7615 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7619 for x
in $LDFLAGS $LTLIBICONV; do
7621 acl_save_prefix
="$prefix"
7622 prefix
="$acl_final_prefix"
7623 acl_save_exec_prefix
="$exec_prefix"
7624 exec_prefix
="$acl_final_exec_prefix"
7626 exec_prefix
="$acl_save_exec_prefix"
7627 prefix
="$acl_save_prefix"
7629 if test "X$x" = "X-L$additional_libdir"; then
7634 if test -z "$haveit"; then
7635 if test -d "$additional_libdir"; then
7636 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7643 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7644 if test "$enable_rpath" != no
; then
7646 for x
in $rpathdirs; do
7647 if test "X$x" = "X$dir"; then
7652 if test -z "$haveit"; then
7653 rpathdirs
="$rpathdirs $dir"
7656 for x
in $ltrpathdirs; do
7657 if test "X$x" = "X$dir"; then
7662 if test -z "$haveit"; then
7663 ltrpathdirs
="$ltrpathdirs $dir"
7668 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7671 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7674 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7675 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7681 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7682 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7688 if test "X$rpathdirs" != "X"; then
7689 if test -n "$acl_hardcode_libdir_separator"; then
7691 for found_dir
in $rpathdirs; do
7692 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7694 acl_save_libdir
="$libdir"
7696 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7697 libdir
="$acl_save_libdir"
7698 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7700 for found_dir
in $rpathdirs; do
7701 acl_save_libdir
="$libdir"
7703 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
7704 libdir
="$acl_save_libdir"
7705 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7709 if test "X$ltrpathdirs" != "X"; then
7710 for found_dir
in $ltrpathdirs; do
7711 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7746 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7747 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
7748 $as_echo_n "(cached) " >&6
7750 gt_save_LIBS
="$LIBS"
7751 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7754 #include <CoreFoundation/CFPreferences.h>
7758 CFPreferencesCopyAppValue(NULL, NULL)
7763 if ac_fn_c_try_link
"$LINENO"; then :
7764 gt_cv_func_CFPreferencesCopyAppValue
=yes
7766 gt_cv_func_CFPreferencesCopyAppValue
=no
7768 rm -f core conftest.err conftest.
$ac_objext \
7769 conftest
$ac_exeext conftest.
$ac_ext
7770 LIBS
="$gt_save_LIBS"
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7773 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7774 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7776 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
7780 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
7781 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
7782 $as_echo_n "(cached) " >&6
7784 gt_save_LIBS
="$LIBS"
7785 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
7786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7788 #include <CoreFoundation/CFLocale.h>
7792 CFLocaleCopyCurrent();
7797 if ac_fn_c_try_link
"$LINENO"; then :
7798 gt_cv_func_CFLocaleCopyCurrent
=yes
7800 gt_cv_func_CFLocaleCopyCurrent
=no
7802 rm -f core conftest.err conftest.
$ac_objext \
7803 conftest
$ac_exeext conftest.
$ac_ext
7804 LIBS
="$gt_save_LIBS"
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
7807 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
7808 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7810 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
7814 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7815 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
7827 case " $gt_needs " in
7828 *" need-formatstring-macros "*) gt_api_version
=3 ;;
7829 *" need-ngettext "*) gt_api_version
=2 ;;
7830 *) gt_api_version
=1 ;;
7832 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
7833 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
7835 if test "$USE_NLS" = "yes"; then
7836 gt_use_preinstalled_gnugettext
=no
7839 if test $gt_api_version -ge 3; then
7840 gt_revision_test_code
='
7841 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7842 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7844 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7847 gt_revision_test_code
=
7849 if test $gt_api_version -ge 2; then
7850 gt_expression_test_code
=' + * ngettext ("", "", 0)'
7852 gt_expression_test_code
=
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7856 $as_echo_n "checking for GNU gettext in libc... " >&6; }
7857 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
7858 $as_echo_n "(cached) " >&6
7860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7861 /* end confdefs.h. */
7863 #include <libintl.h>
7864 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7865 extern int _nl_msg_cat_cntr;
7866 extern int *_nl_domain_bindings;
7867 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
7869 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7871 $gt_revision_test_code
7877 bindtextdomain ("", "");
7878 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7884 if ac_fn_c_try_link
"$LINENO"; then :
7885 eval "$gt_func_gnugettext_libc=yes"
7887 eval "$gt_func_gnugettext_libc=no"
7889 rm -f core conftest.err conftest.
$ac_objext \
7890 conftest
$ac_exeext conftest.
$ac_ext
7892 eval ac_res
=\$
$gt_func_gnugettext_libc
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7894 $as_echo "$ac_res" >&6; }
7896 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7902 am_save_CPPFLAGS
="$CPPFLAGS"
7904 for element
in $INCICONV; do
7906 for x
in $CPPFLAGS; do
7908 acl_save_prefix
="$prefix"
7909 prefix
="$acl_final_prefix"
7910 acl_save_exec_prefix
="$exec_prefix"
7911 exec_prefix
="$acl_final_exec_prefix"
7913 exec_prefix
="$acl_save_exec_prefix"
7914 prefix
="$acl_save_prefix"
7916 if test "X$x" = "X$element"; then
7921 if test -z "$haveit"; then
7922 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7928 $as_echo_n "checking for iconv... " >&6; }
7929 if ${am_cv_func_iconv+:} false
; then :
7930 $as_echo_n "(cached) " >&6
7933 am_cv_func_iconv
="no, consider installing GNU libiconv"
7935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7944 iconv_t cd = iconv_open("","");
7945 iconv(cd,NULL,NULL,NULL,NULL);
7951 if ac_fn_c_try_link
"$LINENO"; then :
7952 am_cv_func_iconv
=yes
7954 rm -f core conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 if test "$am_cv_func_iconv" != yes; then
7957 am_save_LIBS
="$LIBS"
7958 LIBS
="$LIBS $LIBICONV"
7959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7968 iconv_t cd = iconv_open("","");
7969 iconv(cd,NULL,NULL,NULL,NULL);
7975 if ac_fn_c_try_link
"$LINENO"; then :
7977 am_cv_func_iconv
=yes
7979 rm -f core conftest.err conftest.
$ac_objext \
7980 conftest
$ac_exeext conftest.
$ac_ext
7981 LIBS
="$am_save_LIBS"
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7986 $as_echo "$am_cv_func_iconv" >&6; }
7987 if test "$am_cv_func_iconv" = yes; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7989 $as_echo_n "checking for working iconv... " >&6; }
7990 if ${am_cv_func_iconv_works+:} false
; then :
7991 $as_echo_n "(cached) " >&6
7994 am_save_LIBS
="$LIBS"
7995 if test $am_cv_lib_iconv = yes; then
7996 LIBS
="$LIBS $LIBICONV"
7998 am_cv_func_iconv_works
=no
7999 for ac_iconv_const
in '' 'const'; do
8000 if test "$cross_compiling" = yes; then :
8002 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
8003 *) am_cv_func_iconv_works
="guessing yes" ;;
8006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8007 /* end confdefs.h. */
8013 # define ICONV_CONST $ac_iconv_const
8020 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
8023 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8024 if (cd_utf8_to_88591 != (iconv_t)(-1))
8026 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8028 ICONV_CONST char *inptr = input;
8029 size_t inbytesleft = strlen (input);
8031 size_t outbytesleft = sizeof (buf);
8032 size_t res = iconv (cd_utf8_to_88591,
8033 &inptr, &inbytesleft,
8034 &outptr, &outbytesleft);
8037 iconv_close (cd_utf8_to_88591);
8040 /* Test against Solaris 10 bug: Failures are not distinguishable from
8041 successful returns. */
8043 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8044 if (cd_ascii_to_88591 != (iconv_t)(-1))
8046 static ICONV_CONST char input[] = "\263";
8048 ICONV_CONST char *inptr = input;
8049 size_t inbytesleft = strlen (input);
8051 size_t outbytesleft = sizeof (buf);
8052 size_t res = iconv (cd_ascii_to_88591,
8053 &inptr, &inbytesleft,
8054 &outptr, &outbytesleft);
8057 iconv_close (cd_ascii_to_88591);
8060 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
8062 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8063 if (cd_88591_to_utf8 != (iconv_t)(-1))
8065 static ICONV_CONST char input[] = "\304";
8066 static char buf[2] = { (char)0xDE, (char)0xAD };
8067 ICONV_CONST char *inptr = input;
8068 size_t inbytesleft = 1;
8070 size_t outbytesleft = 1;
8071 size_t res = iconv (cd_88591_to_utf8,
8072 &inptr, &inbytesleft,
8073 &outptr, &outbytesleft);
8074 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8076 iconv_close (cd_88591_to_utf8);
8079 #if 0 /* This bug could be worked around by the caller. */
8080 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8082 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8083 if (cd_88591_to_utf8 != (iconv_t)(-1))
8085 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8087 ICONV_CONST char *inptr = input;
8088 size_t inbytesleft = strlen (input);
8090 size_t outbytesleft = sizeof (buf);
8091 size_t res = iconv (cd_88591_to_utf8,
8092 &inptr, &inbytesleft,
8093 &outptr, &outbytesleft);
8096 iconv_close (cd_88591_to_utf8);
8100 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8102 if (/* Try standardized names. */
8103 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
8104 /* Try IRIX, OSF/1 names. */
8105 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8106 /* Try AIX names. */
8107 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8108 /* Try HP-UX names. */
8109 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8117 if ac_fn_c_try_run
"$LINENO"; then :
8118 am_cv_func_iconv_works
=yes
8120 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8121 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8124 test "$am_cv_func_iconv_works" = no ||
break
8126 LIBS
="$am_save_LIBS"
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8130 $as_echo "$am_cv_func_iconv_works" >&6; }
8131 case "$am_cv_func_iconv_works" in
8132 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
8133 *) am_func_iconv
=yes ;;
8136 am_func_iconv
=no am_cv_lib_iconv
=no
8138 if test "$am_func_iconv" = yes; then
8140 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8143 if test "$am_cv_lib_iconv" = yes; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8145 $as_echo_n "checking how to link with libiconv... " >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8147 $as_echo "$LIBICONV" >&6; }
8149 CPPFLAGS
="$am_save_CPPFLAGS"
8166 acl_save_prefix
="$prefix"
8167 prefix
="$acl_final_prefix"
8168 acl_save_exec_prefix
="$exec_prefix"
8169 exec_prefix
="$acl_final_exec_prefix"
8171 eval additional_includedir
=\"$includedir\"
8172 eval additional_libdir
=\"$libdir\"
8174 exec_prefix
="$acl_save_exec_prefix"
8175 prefix
="$acl_save_prefix"
8178 # Check whether --with-libintl-prefix was given.
8179 if test "${with_libintl_prefix+set}" = set; then :
8180 withval
=$with_libintl_prefix;
8181 if test "X$withval" = "Xno"; then
8184 if test "X$withval" = "X"; then
8186 acl_save_prefix
="$prefix"
8187 prefix
="$acl_final_prefix"
8188 acl_save_exec_prefix
="$exec_prefix"
8189 exec_prefix
="$acl_final_exec_prefix"
8191 eval additional_includedir
=\"$includedir\"
8192 eval additional_libdir
=\"$libdir\"
8194 exec_prefix
="$acl_save_exec_prefix"
8195 prefix
="$acl_save_prefix"
8198 additional_includedir
="$withval/include"
8199 additional_libdir
="$withval/$acl_libdirstem"
8200 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8201 && ! test -d "$withval/$acl_libdirstem"; then
8202 additional_libdir
="$withval/$acl_libdirstem2"
8216 names_already_handled
=
8217 names_next_round
='intl '
8218 while test -n "$names_next_round"; do
8219 names_this_round
="$names_next_round"
8221 for name
in $names_this_round; do
8223 for n
in $names_already_handled; do
8224 if test "$n" = "$name"; then
8229 if test -z "$already_handled"; then
8230 names_already_handled
="$names_already_handled $name"
8231 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8232 eval value
=\"\
$HAVE_LIB$uppername\"
8233 if test -n "$value"; then
8234 if test "$value" = yes; then
8235 eval value
=\"\
$LIB$uppername\"
8236 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
8237 eval value
=\"\
$LTLIB$uppername\"
8238 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
8247 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8248 if test -n "$acl_shlibext"; then
8249 shrext
=".$acl_shlibext" # typically: shrext=.so
8253 if test $use_additional = yes; then
8254 dir
="$additional_libdir"
8255 if test -n "$acl_shlibext"; then
8256 if test -f "$dir/$libname$shrext"; then
8258 found_so
="$dir/$libname$shrext"
8260 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8261 ver
=`(cd "$dir" && \
8262 for f in "$libname$shrext".*; do echo "$f"; done \
8263 | sed -e "s,^$libname$shrext\\\\.,," \
8264 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8265 | sed 1q ) 2>/dev/null`
8266 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8268 found_so
="$dir/$libname$shrext.$ver"
8271 eval library_names
=\"$acl_library_names_spec\"
8272 for f
in $library_names; do
8273 if test -f "$dir/$f"; then
8282 if test "X$found_dir" = "X"; then
8283 if test -f "$dir/$libname.$acl_libext"; then
8285 found_a
="$dir/$libname.$acl_libext"
8288 if test "X$found_dir" != "X"; then
8289 if test -f "$dir/$libname.la"; then
8290 found_la
="$dir/$libname.la"
8294 if test "X$found_dir" = "X"; then
8295 for x
in $LDFLAGS $LTLIBINTL; do
8297 acl_save_prefix
="$prefix"
8298 prefix
="$acl_final_prefix"
8299 acl_save_exec_prefix
="$exec_prefix"
8300 exec_prefix
="$acl_final_exec_prefix"
8302 exec_prefix
="$acl_save_exec_prefix"
8303 prefix
="$acl_save_prefix"
8307 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8308 if test -n "$acl_shlibext"; then
8309 if test -f "$dir/$libname$shrext"; then
8311 found_so
="$dir/$libname$shrext"
8313 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8314 ver
=`(cd "$dir" && \
8315 for f in "$libname$shrext".*; do echo "$f"; done \
8316 | sed -e "s,^$libname$shrext\\\\.,," \
8317 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8318 | sed 1q ) 2>/dev/null`
8319 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8321 found_so
="$dir/$libname$shrext.$ver"
8324 eval library_names
=\"$acl_library_names_spec\"
8325 for f
in $library_names; do
8326 if test -f "$dir/$f"; then
8335 if test "X$found_dir" = "X"; then
8336 if test -f "$dir/$libname.$acl_libext"; then
8338 found_a
="$dir/$libname.$acl_libext"
8341 if test "X$found_dir" != "X"; then
8342 if test -f "$dir/$libname.la"; then
8343 found_la
="$dir/$libname.la"
8348 if test "X$found_dir" != "X"; then
8353 if test "X$found_dir" != "X"; then
8354 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8355 if test "X$found_so" != "X"; then
8356 if test "$enable_rpath" = no \
8357 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
8358 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8359 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8362 for x
in $ltrpathdirs; do
8363 if test "X$x" = "X$found_dir"; then
8368 if test -z "$haveit"; then
8369 ltrpathdirs
="$ltrpathdirs $found_dir"
8371 if test "$acl_hardcode_direct" = yes; then
8372 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8374 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8375 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8377 for x
in $rpathdirs; do
8378 if test "X$x" = "X$found_dir"; then
8383 if test -z "$haveit"; then
8384 rpathdirs
="$rpathdirs $found_dir"
8388 for x
in $LDFLAGS $LIBINTL; do
8390 acl_save_prefix
="$prefix"
8391 prefix
="$acl_final_prefix"
8392 acl_save_exec_prefix
="$exec_prefix"
8393 exec_prefix
="$acl_final_exec_prefix"
8395 exec_prefix
="$acl_save_exec_prefix"
8396 prefix
="$acl_save_prefix"
8398 if test "X$x" = "X-L$found_dir"; then
8403 if test -z "$haveit"; then
8404 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8406 if test "$acl_hardcode_minus_L" != no
; then
8407 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
8409 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8415 if test "X$found_a" != "X"; then
8416 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
8418 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8421 additional_includedir
=
8422 case "$found_dir" in
8423 */$acl_libdirstem |
*/$acl_libdirstem/)
8424 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8425 if test "$name" = 'intl'; then
8426 LIBINTL_PREFIX
="$basedir"
8428 additional_includedir
="$basedir/include"
8430 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
8431 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8432 if test "$name" = 'intl'; then
8433 LIBINTL_PREFIX
="$basedir"
8435 additional_includedir
="$basedir/include"
8438 if test "X$additional_includedir" != "X"; then
8439 if test "X$additional_includedir" != "X/usr/include"; then
8441 if test "X$additional_includedir" = "X/usr/local/include"; then
8442 if test -n "$GCC"; then
8444 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8448 if test -z "$haveit"; then
8449 for x
in $CPPFLAGS $INCINTL; do
8451 acl_save_prefix
="$prefix"
8452 prefix
="$acl_final_prefix"
8453 acl_save_exec_prefix
="$exec_prefix"
8454 exec_prefix
="$acl_final_exec_prefix"
8456 exec_prefix
="$acl_save_exec_prefix"
8457 prefix
="$acl_save_prefix"
8459 if test "X$x" = "X-I$additional_includedir"; then
8464 if test -z "$haveit"; then
8465 if test -d "$additional_includedir"; then
8466 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8472 if test -n "$found_la"; then
8473 save_libdir
="$libdir"
8475 */* |
*\\*) .
"$found_la" ;;
8476 *) .
"./$found_la" ;;
8478 libdir
="$save_libdir"
8479 for dep
in $dependency_libs; do
8482 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8483 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8484 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8486 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8487 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8488 if test -n "$GCC"; then
8490 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8494 if test -z "$haveit"; then
8496 for x
in $LDFLAGS $LIBINTL; do
8498 acl_save_prefix
="$prefix"
8499 prefix
="$acl_final_prefix"
8500 acl_save_exec_prefix
="$exec_prefix"
8501 exec_prefix
="$acl_final_exec_prefix"
8503 exec_prefix
="$acl_save_exec_prefix"
8504 prefix
="$acl_save_prefix"
8506 if test "X$x" = "X-L$additional_libdir"; then
8511 if test -z "$haveit"; then
8512 if test -d "$additional_libdir"; then
8513 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8517 for x
in $LDFLAGS $LTLIBINTL; do
8519 acl_save_prefix
="$prefix"
8520 prefix
="$acl_final_prefix"
8521 acl_save_exec_prefix
="$exec_prefix"
8522 exec_prefix
="$acl_final_exec_prefix"
8524 exec_prefix
="$acl_save_exec_prefix"
8525 prefix
="$acl_save_prefix"
8527 if test "X$x" = "X-L$additional_libdir"; then
8532 if test -z "$haveit"; then
8533 if test -d "$additional_libdir"; then
8534 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8541 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8542 if test "$enable_rpath" != no
; then
8544 for x
in $rpathdirs; do
8545 if test "X$x" = "X$dir"; then
8550 if test -z "$haveit"; then
8551 rpathdirs
="$rpathdirs $dir"
8554 for x
in $ltrpathdirs; do
8555 if test "X$x" = "X$dir"; then
8560 if test -z "$haveit"; then
8561 ltrpathdirs
="$ltrpathdirs $dir"
8566 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8569 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8572 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
8573 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8579 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
8580 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8586 if test "X$rpathdirs" != "X"; then
8587 if test -n "$acl_hardcode_libdir_separator"; then
8589 for found_dir
in $rpathdirs; do
8590 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8592 acl_save_libdir
="$libdir"
8594 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8595 libdir
="$acl_save_libdir"
8596 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8598 for found_dir
in $rpathdirs; do
8599 acl_save_libdir
="$libdir"
8601 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8602 libdir
="$acl_save_libdir"
8603 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
8607 if test "X$ltrpathdirs" != "X"; then
8608 for found_dir
in $ltrpathdirs; do
8609 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8619 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
8620 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
8621 $as_echo_n "(cached) " >&6
8623 gt_save_CPPFLAGS
="$CPPFLAGS"
8624 CPPFLAGS
="$CPPFLAGS $INCINTL"
8625 gt_save_LIBS
="$LIBS"
8626 LIBS
="$LIBS $LIBINTL"
8627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8630 #include <libintl.h>
8631 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8632 extern int _nl_msg_cat_cntr;
8637 const char *_nl_expand_alias (const char *);
8638 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8640 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8642 $gt_revision_test_code
8648 bindtextdomain ("", "");
8649 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8655 if ac_fn_c_try_link
"$LINENO"; then :
8656 eval "$gt_func_gnugettext_libintl=yes"
8658 eval "$gt_func_gnugettext_libintl=no"
8660 rm -f core conftest.err conftest.
$ac_objext \
8661 conftest
$ac_exeext conftest.
$ac_ext
8662 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8663 LIBS
="$LIBS $LIBICONV"
8664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8667 #include <libintl.h>
8668 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8669 extern int _nl_msg_cat_cntr;
8674 const char *_nl_expand_alias (const char *);
8675 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8677 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8679 $gt_revision_test_code
8685 bindtextdomain ("", "");
8686 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8692 if ac_fn_c_try_link
"$LINENO"; then :
8693 LIBINTL
="$LIBINTL $LIBICONV"
8694 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
8695 eval "$gt_func_gnugettext_libintl=yes"
8698 rm -f core conftest.err conftest.
$ac_objext \
8699 conftest
$ac_exeext conftest.
$ac_ext
8701 CPPFLAGS
="$gt_save_CPPFLAGS"
8702 LIBS
="$gt_save_LIBS"
8704 eval ac_res
=\$
$gt_func_gnugettext_libintl
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8706 $as_echo "$ac_res" >&6; }
8709 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8710 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8711 && test "$PACKAGE" != gettext-runtime \
8712 && test "$PACKAGE" != gettext-tools
; }; then
8713 gt_use_preinstalled_gnugettext
=yes
8722 if test -n "$INTL_MACOSX_LIBS"; then
8723 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8724 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8725 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
8726 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
8730 if test "$gt_use_preinstalled_gnugettext" = "yes" \
8731 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
8733 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8741 $as_echo_n "checking whether to use NLS... " >&6; }
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8743 $as_echo "$USE_NLS" >&6; }
8744 if test "$USE_NLS" = "yes"; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8746 $as_echo_n "checking where the gettext function comes from... " >&6; }
8747 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8748 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8749 gt_source
="external libintl"
8754 gt_source
="included intl directory"
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8757 $as_echo "$gt_source" >&6; }
8760 if test "$USE_NLS" = "yes"; then
8762 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8763 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8765 $as_echo_n "checking how to link with libintl... " >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8767 $as_echo "$LIBINTL" >&6; }
8769 for element
in $INCINTL; do
8771 for x
in $CPPFLAGS; do
8773 acl_save_prefix
="$prefix"
8774 prefix
="$acl_final_prefix"
8775 acl_save_exec_prefix
="$exec_prefix"
8776 exec_prefix
="$acl_final_exec_prefix"
8778 exec_prefix
="$acl_save_exec_prefix"
8779 prefix
="$acl_save_prefix"
8781 if test "X$x" = "X$element"; then
8786 if test -z "$haveit"; then
8787 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8794 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8797 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8815 if test "x$GMSGFMT" = "x:"; then
8816 as_fn_error $?
"missing gnu /usr/bin/msgfmt" "$LINENO" 5
8819 # We want the 'PYTHON' varible to be python version 2. We also want
8820 # our custom 'PYTHON3' varible to be python version 3.
8822 # Note that the python2/python3 code was inspired by code in the
8824 # <https://github.com/abrt/abrt/blob/master/configure.ac>
8826 # First, figure out what version of python is in the executable named
8827 # 'python'. On most systems that is python version 2, but on arch
8828 # linux that is python version 3.
8829 # Extract the first word of "python", so it can be a program name with args.
8830 set dummy python
; ac_word
=$2
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8832 $as_echo_n "checking for $ac_word... " >&6; }
8833 if ${ac_cv_path_PYTHON_UNKNOWN+:} false
; then :
8834 $as_echo_n "(cached) " >&6
8836 case $PYTHON_UNKNOWN in
8838 ac_cv_path_PYTHON_UNKNOWN
="$PYTHON_UNKNOWN" # Let the user override the test with a path.
8841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8845 test -z "$as_dir" && as_dir
=.
8846 for ac_exec_ext
in '' $ac_executable_extensions; do
8847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8848 ac_cv_path_PYTHON_UNKNOWN
="$as_dir/$ac_word$ac_exec_ext"
8849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8856 test -z "$ac_cv_path_PYTHON_UNKNOWN" && ac_cv_path_PYTHON_UNKNOWN
="no"
8860 PYTHON_UNKNOWN
=$ac_cv_path_PYTHON_UNKNOWN
8861 if test -n "$PYTHON_UNKNOWN"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_UNKNOWN" >&5
8863 $as_echo "$PYTHON_UNKNOWN" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8870 if test "x$PYTHON_UNKNOWN" != "xno"; then
8871 # OK, we found 'python'. What version is it?
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON_UNKNOWN is version 2 or 3" >&5
8873 $as_echo_n "checking whether $PYTHON_UNKNOWN is version 2 or 3... " >&6; }
8874 if ${ac_cv_python_unknown_version+:} false
; then :
8875 $as_echo_n "(cached) " >&6
8877 ac_cv_python_unknown_version
=`$PYTHON_UNKNOWN -c "import sys; sys.stdout.write(sys.version[:3][0])"`
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_unknown_version" >&5
8880 $as_echo "$ac_cv_python_unknown_version" >&6; }
8883 # Now we'll update the _AM_PYTHON_INTERPRETER_LIST variable (which
8884 # AM_PATH_PYTHON uses) to only be version 2 versions of python. Note
8885 # that the m4_define happens when autoconf is run, but the
8886 # PLAIN_PYTHON_INTERPRETER variable expansion will happen when the
8887 # user runs configure.
8889 # Note that for python2, we prefer an executable named 'python2' over
8890 # one just named 'python'.
8891 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$ac_cv_python_unknown_version" = "x2"; then
8892 PLAIN_PYTHON_INTERPRETER
=python
8894 PLAIN_PYTHON_INTERPRETER
=python2
8898 # Now we can call AM_PATH_PYTHON to find python version 2.6+ (and
8906 if test -n "$PYTHON"; then
8907 # If the user set $PYTHON, use it and don't search something else.
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
8909 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
8911 # split strings by '.' and convert to numeric. Append some zeros
8912 # because we need at least 4 digits for the hex conversion.
8913 # map returns an iterator in Python 3.0 and a list in 2.x
8914 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8916 # xrange is not present in Python 3.0 and range returns an iterator
8917 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8918 sys.exit(sys.hexversion < minverhex)"
8919 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
8920 ($PYTHON -c "$prog") >&5 2>&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; then :
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8925 $as_echo "yes" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8928 $as_echo "no" >&6; }
8929 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
8931 am_display_PYTHON
=$PYTHON
8933 # Otherwise, try each interpreter until we find one that satisfies
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
8936 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
8937 if ${am_cv_pathless_PYTHON+:} false
; then :
8938 $as_echo_n "(cached) " >&6
8941 for am_cv_pathless_PYTHON
in python2
$PLAIN_PYTHON_INTERPRETER python2.7 python2.6 none
; do
8942 test "$am_cv_pathless_PYTHON" = none
&& break
8944 # split strings by '.' and convert to numeric. Append some zeros
8945 # because we need at least 4 digits for the hex conversion.
8946 # map returns an iterator in Python 3.0 and a list in 2.x
8947 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
8949 # xrange is not present in Python 3.0 and range returns an iterator
8950 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
8951 sys.exit(sys.hexversion < minverhex)"
8952 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
8953 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); }; then :
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
8962 $as_echo "$am_cv_pathless_PYTHON" >&6; }
8963 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
8964 if test "$am_cv_pathless_PYTHON" = none
; then
8967 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
8968 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8970 $as_echo_n "checking for $ac_word... " >&6; }
8971 if ${ac_cv_path_PYTHON+:} false
; then :
8972 $as_echo_n "(cached) " >&6
8976 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
8979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8983 test -z "$as_dir" && as_dir
=.
8984 for ac_exec_ext
in '' $ac_executable_extensions; do
8985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8986 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
8987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8997 PYTHON
=$ac_cv_path_PYTHON
8998 if test -n "$PYTHON"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
9000 $as_echo "$PYTHON" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9008 am_display_PYTHON
=$am_cv_pathless_PYTHON
9012 if test "$PYTHON" = :; then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
9018 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
9019 if ${am_cv_python_version+:} false
; then :
9020 $as_echo_n "(cached) " >&6
9022 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
9025 $as_echo "$am_cv_python_version" >&6; }
9026 PYTHON_VERSION
=$am_cv_python_version
9030 PYTHON_PREFIX
='${prefix}'
9032 PYTHON_EXEC_PREFIX
='${exec_prefix}'
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
9037 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
9038 if ${am_cv_python_platform+:} false
; then :
9039 $as_echo_n "(cached) " >&6
9041 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
9044 $as_echo "$am_cv_python_platform" >&6; }
9045 PYTHON_PLATFORM
=$am_cv_python_platform
9048 # Just factor out some code duplication.
9049 am_python_setup_sysconfig
="\
9051 # Prefer sysconfig over distutils.sysconfig, for better compatibility
9052 # with python 3.x. See automake bug#10227.
9056 can_use_sysconfig = 0
9058 can_use_sysconfig = 1
9059 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
9060 # <https://github.com/pypa/virtualenv/issues/118>
9062 from platform import python_implementation
9063 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
9064 can_use_sysconfig = 0
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
9070 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
9071 if ${am_cv_python_pythondir+:} false
; then :
9072 $as_echo_n "(cached) " >&6
9074 if test "x$prefix" = xNONE
9076 am_py_prefix
=$ac_default_prefix
9078 am_py_prefix
=$prefix
9080 am_cv_python_pythondir
=`$PYTHON -c "
9081 $am_python_setup_sysconfig
9082 if can_use_sysconfig:
9083 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
9085 from distutils import sysconfig
9086 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
9087 sys.stdout.write(sitedir)"`
9088 case $am_cv_python_pythondir in
9090 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
9091 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
9094 case $am_py_prefix in
9097 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
9105 $as_echo "$am_cv_python_pythondir" >&6; }
9106 pythondir
=$am_cv_python_pythondir
9110 pkgpythondir
=\
${pythondir}/$PACKAGE
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
9114 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
9115 if ${am_cv_python_pyexecdir+:} false
; then :
9116 $as_echo_n "(cached) " >&6
9118 if test "x$exec_prefix" = xNONE
9120 am_py_exec_prefix
=$am_py_prefix
9122 am_py_exec_prefix
=$exec_prefix
9124 am_cv_python_pyexecdir
=`$PYTHON -c "
9125 $am_python_setup_sysconfig
9126 if can_use_sysconfig:
9127 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
9129 from distutils import sysconfig
9130 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
9131 sys.stdout.write(sitedir)"`
9132 case $am_cv_python_pyexecdir in
9133 $am_py_exec_prefix*)
9134 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
9135 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
9138 case $am_py_exec_prefix in
9141 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
9149 $as_echo "$am_cv_python_pyexecdir" >&6; }
9150 pyexecdir
=$am_cv_python_pyexecdir
9154 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
9161 python_basename
=$
(basename "$PYTHON")
9163 cat >>confdefs.h
<<_ACEOF
9164 #define PYTHON_BASENAME "${python_basename}"
9167 if test "x$PYTHON" != "x:"; then
9169 $as_echo "#define PYTHON_EXISTS /**/" >>confdefs.h
9173 # AM_PATH_PYTHON defines 'pyexecdir'. Make sure the python and
9174 # pyexecdir variables get sent down to the subconfigure in the
9175 # testsuite directory.
9176 as_fn_append ac_configure_args
" python='$PYTHON' pyexecdir='$pyexecdir'"
9178 # Now let's try to find python version 3.
9179 if test "x$PYTHON_UNKNOWN" != "xno" -a "x$ac_cv_python_unknown_version" = "x3"; then
9180 # Extract the first word of "python", so it can be a program name with args.
9181 set dummy python
; ac_word
=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9183 $as_echo_n "checking for $ac_word... " >&6; }
9184 if ${ac_cv_path_PYTHON3+:} false
; then :
9185 $as_echo_n "(cached) " >&6
9189 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9196 test -z "$as_dir" && as_dir
=.
9197 for ac_exec_ext
in '' $ac_executable_extensions; do
9198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9199 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9210 PYTHON3
=$ac_cv_path_PYTHON3
9211 if test -n "$PYTHON3"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9213 $as_echo "$PYTHON3" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9216 $as_echo "no" >&6; }
9221 for ac_prog
in python3 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0
9223 # Extract the first word of "$ac_prog", so it can be a program name with args.
9224 set dummy
$ac_prog; ac_word
=$2
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9226 $as_echo_n "checking for $ac_word... " >&6; }
9227 if ${ac_cv_path_PYTHON3+:} false
; then :
9228 $as_echo_n "(cached) " >&6
9232 ac_cv_path_PYTHON3
="$PYTHON3" # Let the user override the test with a path.
9235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9239 test -z "$as_dir" && as_dir
=.
9240 for ac_exec_ext
in '' $ac_executable_extensions; do
9241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9242 ac_cv_path_PYTHON3
="$as_dir/$ac_word$ac_exec_ext"
9243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9253 PYTHON3
=$ac_cv_path_PYTHON3
9254 if test -n "$PYTHON3"; then
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
9256 $as_echo "$PYTHON3" >&6; }
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9259 $as_echo "no" >&6; }
9263 test -n "$PYTHON3" && break
9265 test -n "$PYTHON3" || PYTHON3
=":"
9268 python3_basename
=$
(basename "$PYTHON3")
9270 cat >>confdefs.h
<<_ACEOF
9271 #define PYTHON3_BASENAME "${python3_basename}"
9275 # If we found python version 3, set up the other variables for python
9276 # version 3 that AM_PATH_PYTHON sets up for python version 2.
9277 if test "x$PYTHON3" != "x:"; then
9279 $as_echo "#define PYTHON3_EXISTS /**/" >>confdefs.h
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 version" >&5
9282 $as_echo_n "checking for python3 version... " >&6; }
9283 if ${ac_cv_python3_version+:} false
; then :
9284 $as_echo_n "(cached) " >&6
9286 ac_cv_python3_version
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.version[:3])"`
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_version" >&5
9289 $as_echo "$ac_cv_python3_version" >&6; }
9290 PYTHON3_VERSION
=$ac_cv_python3_version
9292 PYTHON3_PREFIX
='${prefix}'
9294 PYTHON3_EXEC_PREFIX
='${exec_prefix}'
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 platform" >&5
9297 $as_echo_n "checking for python3 platform... " >&6; }
9298 if ${ac_cv_python3_platform+:} false
; then :
9299 $as_echo_n "(cached) " >&6
9301 ac_cv_python3_platform
=`$PYTHON3 -c "import sys; sys.stdout.write(sys.platform)"`
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_platform" >&5
9304 $as_echo "$ac_cv_python3_platform" >&6; }
9305 PYTHON3_PLATFORM
=$ac_cv_python3_platform
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 script directory" >&5
9309 $as_echo_n "checking for python3 script directory... " >&6; }
9310 if ${ac_cv_python3_dir+:} false
; then :
9311 $as_echo_n "(cached) " >&6
9313 ac_cv_python3_dir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(0,0,prefix='$PYTHON3_PREFIX'))"`
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_dir" >&5
9316 $as_echo "$ac_cv_python3_dir" >&6; }
9317 python3dir
=$ac_cv_python3_dir
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python3 extension module directory" >&5
9321 $as_echo_n "checking for python3 extension module directory... " >&6; }
9322 if ${ac_cv_py3execdir+:} false
; then :
9323 $as_echo_n "(cached) " >&6
9325 ac_cv_py3execdir
=`$PYTHON3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='$PYTHON3_EXEC_PREFIX'))"`
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_py3execdir" >&5
9328 $as_echo "$ac_cv_py3execdir" >&6; }
9329 py3execdir
=$ac_cv_py3execdir
9333 # Make sure the python3 and py3execdir variables get sent down to
9334 # the subconfigure in the testsuite directory.
9335 as_fn_append ac_configure_args
" python3='$PYTHON3' py3execdir='$ac_cv_py3execdir'"
9337 if test "${enable_prologues+set}" != set; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
9339 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
9340 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
9342 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9343 enable_prologues
=yes
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9345 $as_echo "yes" >&6; }
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9348 $as_echo "no" >&6; }
9351 # Check whether --enable-prologues was given.
9352 if test "${enable_prologues+set}" = set; then :
9353 enableval
=$enable_prologues;
9354 if test "$enable_prologues" = yes; then
9356 $as_echo "#define ENABLE_PROLOGUES /**/" >>confdefs.h
9363 if test "${enable_sdt_probes+set}" != set; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
9365 $as_echo_n "checking to see if sdt probes should be the default... " >&6; }
9366 if { echo '#if __GNUC__ < 4'
9368 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9369 enable_sdt_probes
=no
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 $as_echo "no" >&6; }
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9374 $as_echo "yes" >&6; }
9377 # Check whether --enable-sdt-probes was given.
9378 if test "${enable_sdt_probes+set}" = set; then :
9379 enableval
=$enable_sdt_probes;
9382 if test "x$enable_sdt_probes" != xno
; then :
9385 $as_echo "#define ENABLE_SDT_PROBES 1" >>confdefs.h
9391 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=false
9393 ac_cpp
='$CXXCPP $CPPFLAGS'
9394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
9399 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
9400 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
9401 $as_echo_n "(cached) " >&6
9403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9404 /* end confdefs.h. */
9407 // If the compiler admits that it is not ready for C++11, why torture it?
9408 // Hopefully, this will speed up the test.
9412 #error "This is not a C++ compiler"
9414 #elif __cplusplus < 201103L
9416 #error "This is not a C++11 compiler"
9423 namespace test_static_assert
9426 template <typename T>
9429 static_assert(sizeof(int) <= sizeof(T), "not big enough");
9434 namespace test_final_override
9442 struct Derived : public Base
9444 virtual void f() override {}
9449 namespace test_double_right_angle_brackets
9452 template < typename T >
9455 typedef check<void> single_type;
9456 typedef check<check<void>> double_type;
9457 typedef check<check<check<void>>> triple_type;
9458 typedef check<check<check<check<void>>>> quadruple_type;
9462 namespace test_decltype
9475 namespace test_type_deduction
9478 template < typename T1, typename T2 >
9481 static const bool value = false;
9484 template < typename T >
9485 struct is_same<T, T>
9487 static const bool value = true;
9490 template < typename T1, typename T2 >
9492 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9498 test(const int c, volatile int v)
9500 static_assert(is_same<int, decltype(0)>::value == true, "");
9501 static_assert(is_same<int, decltype(c)>::value == false, "");
9502 static_assert(is_same<int, decltype(v)>::value == false, "");
9505 auto sumi = ac + av + 'x';
9506 auto sumf = ac + av + 1.0;
9507 static_assert(is_same<int, decltype(ac)>::value == true, "");
9508 static_assert(is_same<int, decltype(av)>::value == true, "");
9509 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9510 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9511 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9512 return (sumf > 0.0) ? sumi : add(c, v);
9517 namespace test_noexcept
9520 int f() { return 0; }
9521 int g() noexcept { return 0; }
9523 static_assert(noexcept(f()) == false, "");
9524 static_assert(noexcept(g()) == true, "");
9528 namespace test_constexpr
9531 template < typename CharT >
9532 unsigned long constexpr
9533 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9535 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9538 template < typename CharT >
9539 unsigned long constexpr
9540 strlen_c(const CharT *const s) noexcept
9542 return strlen_c_r(s, 0UL);
9545 static_assert(strlen_c("") == 0UL, "");
9546 static_assert(strlen_c("1") == 1UL, "");
9547 static_assert(strlen_c("example") == 7UL, "");
9548 static_assert(strlen_c("another\0example") == 7UL, "");
9552 namespace test_rvalue_references
9558 static constexpr int value = N;
9561 answer<1> f(int&) { return answer<1>(); }
9562 answer<2> f(const int&) { return answer<2>(); }
9563 answer<3> f(int&&) { return answer<3>(); }
9570 static_assert(decltype(f(i))::value == 1, "");
9571 static_assert(decltype(f(c))::value == 2, "");
9572 static_assert(decltype(f(0))::value == 3, "");
9577 namespace test_uniform_initialization
9582 static const int zero {};
9583 static const int one {1};
9586 static_assert(test::zero == 0, "");
9587 static_assert(test::one == 1, "");
9591 namespace test_lambdas
9597 auto lambda1 = [](){};
9598 auto lambda2 = lambda1;
9606 auto a = [](int i, int j){ return i + j; }(1, 2);
9607 auto b = []() -> int { return '0'; }();
9608 auto c = [=](){ return a + b; }();
9609 auto d = [&](){ return c; }();
9610 auto e = [a, &b](int x) mutable {
9611 const auto identity = [](int y){ return y; };
9612 for (auto i = 0; i < a; ++i)
9614 return x + identity(a + b);
9616 return a + b + c + d + e;
9622 const auto nullary = [](){ return 0; };
9623 const auto unary = [](int x){ return x; };
9624 using nullary_t = decltype(nullary);
9625 using unary_t = decltype(unary);
9626 const auto higher1st = [](nullary_t f){ return f(); };
9627 const auto higher2nd = [unary](nullary_t f1){
9628 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9630 return higher1st(nullary) + higher2nd(nullary)(unary);
9635 namespace test_variadic_templates
9641 template <int N0, int... N1toN>
9642 struct sum<N0, N1toN...>
9644 static constexpr auto value = N0 + sum<N1toN...>::value;
9650 static constexpr auto value = 0;
9653 static_assert(sum<>::value == 0, "");
9654 static_assert(sum<1>::value == 1, "");
9655 static_assert(sum<23>::value == 23, "");
9656 static_assert(sum<1, 2>::value == 3, "");
9657 static_assert(sum<5, 5, 11>::value == 21, "");
9658 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9662 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9663 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9665 namespace test_template_alias_sfinae
9670 template<typename T>
9671 using member = typename T::member_type;
9673 template<typename T>
9676 template<typename T>
9677 void func(member<T>*) {}
9681 void test() { func<foo>(0); }
9685 } // namespace cxx11
9687 #endif // __cplusplus >= 201103L
9692 if ac_fn_cxx_try_compile
"$LINENO"; then :
9693 ax_cv_cxx_compile_cxx11
=yes
9695 ax_cv_cxx_compile_cxx11
=no
9697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
9700 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
9701 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
9707 if test x
$ac_success = xno
; then
9708 for alternative
in ${ax_cxx_compile_alternatives}; do
9709 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
9710 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
9712 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
9713 if eval \${$cachevar+:} false; then :
9714 $as_echo_n "(cached
) " >&6
9718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9722 // If the compiler admits that it is not ready for C++11, why torture it?
9723 // Hopefully, this will speed up the test.
9727 #error "This is not a C
++ compiler
"
9729 #elif __cplusplus < 201103L
9731 #error "This is not a C
++11 compiler
"
9738 namespace test_static_assert
9741 template <typename T>
9744 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
9749 namespace test_final_override
9757 struct Derived : public Base
9759 virtual void f() override {}
9764 namespace test_double_right_angle_brackets
9767 template < typename T >
9770 typedef check<void> single_type;
9771 typedef check<check<void>> double_type;
9772 typedef check<check<check<void>>> triple_type;
9773 typedef check<check<check<check<void>>>> quadruple_type;
9777 namespace test_decltype
9790 namespace test_type_deduction
9793 template < typename T1, typename T2 >
9796 static const bool value = false;
9799 template < typename T >
9800 struct is_same<T, T>
9802 static const bool value = true;
9805 template < typename T1, typename T2 >
9807 add(T1 a1, T2 a2) -> decltype(a1 + a2)
9813 test(const int c, volatile int v)
9815 static_assert(is_same<int, decltype(0)>::value == true, "");
9816 static_assert(is_same<int, decltype(c)>::value == false, "");
9817 static_assert(is_same<int, decltype(v)>::value == false, "");
9820 auto sumi = ac + av + 'x';
9821 auto sumf = ac + av + 1.0;
9822 static_assert(is_same<int, decltype(ac)>::value == true, "");
9823 static_assert(is_same<int, decltype(av)>::value == true, "");
9824 static_assert(is_same<int, decltype(sumi)>::value == true, "");
9825 static_assert(is_same<int, decltype(sumf)>::value == false, "");
9826 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
9827 return (sumf > 0.0) ? sumi : add(c, v);
9832 namespace test_noexcept
9835 int f() { return 0; }
9836 int g() noexcept { return 0; }
9838 static_assert(noexcept(f()) == false, "");
9839 static_assert(noexcept(g()) == true, "");
9843 namespace test_constexpr
9846 template < typename CharT >
9847 unsigned long constexpr
9848 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
9850 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
9853 template < typename CharT >
9854 unsigned long constexpr
9855 strlen_c(const CharT *const s) noexcept
9857 return strlen_c_r(s, 0UL);
9860 static_assert(strlen_c("") == 0UL, "");
9861 static_assert(strlen_c("1") == 1UL, "");
9862 static_assert(strlen_c("example
") == 7UL, "");
9863 static_assert(strlen_c("another\
0example
") == 7UL, "");
9867 namespace test_rvalue_references
9873 static constexpr int value = N;
9876 answer<1> f(int&) { return answer<1>(); }
9877 answer<2> f(const int&) { return answer<2>(); }
9878 answer<3> f(int&&) { return answer<3>(); }
9885 static_assert(decltype(f(i))::value == 1, "");
9886 static_assert(decltype(f(c))::value == 2, "");
9887 static_assert(decltype(f(0))::value == 3, "");
9892 namespace test_uniform_initialization
9897 static const int zero {};
9898 static const int one {1};
9901 static_assert(test::zero == 0, "");
9902 static_assert(test::one == 1, "");
9906 namespace test_lambdas
9912 auto lambda1 = [](){};
9913 auto lambda2 = lambda1;
9921 auto a = [](int i, int j){ return i + j; }(1, 2);
9922 auto b = []() -> int { return '0'; }();
9923 auto c = [=](){ return a + b; }();
9924 auto d = [&](){ return c; }();
9925 auto e = [a, &b](int x) mutable {
9926 const auto identity = [](int y){ return y; };
9927 for (auto i = 0; i < a; ++i)
9929 return x + identity(a + b);
9931 return a + b + c + d + e;
9937 const auto nullary = [](){ return 0; };
9938 const auto unary = [](int x){ return x; };
9939 using nullary_t = decltype(nullary);
9940 using unary_t = decltype(unary);
9941 const auto higher1st = [](nullary_t f){ return f(); };
9942 const auto higher2nd = [unary](nullary_t f1){
9943 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
9945 return higher1st(nullary) + higher2nd(nullary)(unary);
9950 namespace test_variadic_templates
9956 template <int N0, int... N1toN>
9957 struct sum<N0, N1toN...>
9959 static constexpr auto value = N0 + sum<N1toN...>::value;
9965 static constexpr auto value = 0;
9968 static_assert(sum<>::value == 0, "");
9969 static_assert(sum<1>::value == 1, "");
9970 static_assert(sum<23>::value == 23, "");
9971 static_assert(sum<1, 2>::value == 3, "");
9972 static_assert(sum<5, 5, 11>::value == 21, "");
9973 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
9977 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
9978 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
9980 namespace test_template_alias_sfinae
9985 template<typename T>
9986 using member = typename T::member_type;
9988 template<typename T>
9991 template<typename T>
9992 void func(member<T>*) {}
9996 void test() { func<foo>(0); }
10000 } // namespace cxx11
10002 #endif // __cplusplus >= 201103L
10007 if ac_fn_cxx_try_compile "$LINENO"; then :
10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10015 eval ac_res=\$$cachevar
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
10017 $as_echo "$ac_res" >&6; }
10018 if eval test x\$$cachevar = xyes; then
10020 if test -n "$CXXCPP" ; then
10021 CXXCPP="$CXXCPP $switch"
10027 if test x$ac_success = xyes; then
10033 ac_cpp='$CPP $CPPFLAGS'
10034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10038 if test x$ax_cxx_compile_cxx11_required = xtrue; then
10039 if test x$ac_success = xno; then
10040 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
10043 if test x$ac_success = xno; then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
10046 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
10050 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
10057 if test "x$HAVE_CXX11" != x1
; then :
10060 ac_cpp
='$CXXCPP $CPPFLAGS'
10061 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10062 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10063 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -std=c++0x" >&5
10066 $as_echo_n "checking whether C++ compiler accepts -std=c++0x... " >&6; }
10067 if ${ax_cv_check_cxxflags___std_cpp0x+:} false
; then :
10068 $as_echo_n "(cached) " >&6
10071 ax_check_save_flags
=$CXXFLAGS
10072 CXXFLAGS
="$CXXFLAGS -std=c++0x"
10073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10084 if ac_fn_cxx_try_compile
"$LINENO"; then :
10085 ax_cv_check_cxxflags___std_cpp0x
=yes
10087 ax_cv_check_cxxflags___std_cpp0x
=no
10089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10090 CXXFLAGS
=$ax_check_save_flags
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags___std_cpp0x" >&5
10093 $as_echo "$ax_cv_check_cxxflags___std_cpp0x" >&6; }
10094 if test "x$ax_cv_check_cxxflags___std_cpp0x" = xyes
; then :
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with -std=c++0x" >&5
10097 $as_echo "$as_me: Compiling with -std=c++0x" >&6;}
10098 CXX
="$CXX -std=c++0x"
10104 as_fn_error $?
"A compiler with C++11 support is required." "$LINENO" 5
10109 ac_cpp
='$CPP $CPPFLAGS'
10110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10117 # Check whether --enable-ssp was given.
10118 if test "${enable_ssp+set}" = set; then :
10119 enableval
=$enable_ssp;
10122 if test "x$enable_ssp" != xno
; then :
10124 save_CFLAGS
="$CFLAGS"
10125 save_CXXFLAGS
="$CXXFLAGS"
10126 CXXFLAGS
="-Werror -fstack-protector-all -D_FORTIFY_SOURCE=2 $CXXFLAGS"
10127 CFLAGS
="-Werror -fstack-protector-all -D_FORTIFY_SOURCE=2 $CFLAGS"
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10132 if ac_fn_c_try_compile
"$LINENO"; then :
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
10135 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
10136 CFLAGS
="-fstack-protector-all -D_FORTIFY_SOURCE=2 $save_CFLAGS"
10137 CXXFLAGS
="-fstack-protector-all -D_FORTIFY_SOURCE=2 $save_CXXFLAGS"
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
10141 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
10142 CFLAGS
="$save_CFLAGS"
10143 CXXFLAGS
="$save_CXXFLAGS"
10145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10151 # Compiling without fPIE by default (see PR 9922)
10152 # Check whether --enable-pie was given.
10153 if test "${enable_pie+set}" = set; then :
10154 enableval
=$enable_pie;
10157 if test "x$enable_pie" == xyes
; then :
10160 PIECXXFLAGS
='-fPIE'
10161 PIELDFLAGS
='-pie -Wl,-z,relro -Wl,-z,now'
10162 save_CFLAGS
="$CFLAGS"
10163 save_CXXFLAGS
="$CXXFLAGS"
10164 save_LDFLAGS
="$LDFLAGS"
10165 CFLAGS
="$CFLAGS $PIECFLAGS"
10166 CXXFLAGS
="$CXXFLAGS $PIECXXFLAGS"
10167 LDFLAGS
="$LDFLAGS $PIELDFLAGS"
10168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10172 if ac_fn_c_try_link
"$LINENO"; then :
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
10175 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
10180 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
10186 rm -f core conftest.err conftest.
$ac_objext \
10187 conftest
$ac_exeext conftest.
$ac_ext
10188 CFLAGS
="$save_CFLAGS"
10189 CXXFLAGS
="$save_CXXFLAGS"
10190 LDFLAGS
="$save_LDFLAGS"
10197 # Check whether --enable-sqlite was given.
10198 if test "${enable_sqlite+set}" = set; then :
10199 enableval
=$enable_sqlite;
10201 enable_sqlite
=check
10211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10212 if test -n "$ac_tool_prefix"; then
10213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10214 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10216 $as_echo_n "checking for $ac_word... " >&6; }
10217 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
10218 $as_echo_n "(cached) " >&6
10220 case $PKG_CONFIG in
10222 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10226 for as_dir
in $PATH
10229 test -z "$as_dir" && as_dir
=.
10230 for ac_exec_ext
in '' $ac_executable_extensions; do
10231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10232 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10244 if test -n "$PKG_CONFIG"; then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10246 $as_echo "$PKG_CONFIG" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10249 $as_echo "no" >&6; }
10254 if test -z "$ac_cv_path_PKG_CONFIG"; then
10255 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10256 # Extract the first word of "pkg-config", so it can be a program name with args.
10257 set dummy pkg-config
; ac_word
=$2
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10259 $as_echo_n "checking for $ac_word... " >&6; }
10260 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
10261 $as_echo_n "(cached) " >&6
10263 case $ac_pt_PKG_CONFIG in
10265 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10269 for as_dir
in $PATH
10272 test -z "$as_dir" && as_dir
=.
10273 for ac_exec_ext
in '' $ac_executable_extensions; do
10274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10275 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10286 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10287 if test -n "$ac_pt_PKG_CONFIG"; then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10289 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10292 $as_echo "no" >&6; }
10295 if test "x$ac_pt_PKG_CONFIG" = x
; then
10298 case $cross_compiling:$ac_tool_warned in
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10302 ac_tool_warned
=yes ;;
10304 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10307 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10311 if test -n "$PKG_CONFIG"; then
10312 _pkg_min_version
=0.9.0
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10314 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10315 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10317 $as_echo "yes" >&6; }
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10320 $as_echo "no" >&6; }
10324 if test "x$enable_sqlite" != xno
; then :
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
10328 $as_echo_n "checking for sqlite3... " >&6; }
10330 if test -n "$sqlite3_CFLAGS"; then
10331 pkg_cv_sqlite3_CFLAGS
="$sqlite3_CFLAGS"
10332 elif test -n "$PKG_CONFIG"; then
10333 if test -n "$PKG_CONFIG" && \
10334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
10335 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
10337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10338 test $ac_status = 0; }; then
10339 pkg_cv_sqlite3_CFLAGS
=`$PKG_CONFIG --cflags "sqlite3 > 3.7" 2>/dev/null`
10340 test "x$?" != "x0" && pkg_failed
=yes
10347 if test -n "$sqlite3_LIBS"; then
10348 pkg_cv_sqlite3_LIBS
="$sqlite3_LIBS"
10349 elif test -n "$PKG_CONFIG"; then
10350 if test -n "$PKG_CONFIG" && \
10351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 > 3.7\""; } >&5
10352 ($PKG_CONFIG --exists --print-errors "sqlite3 > 3.7") 2>&5
10354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10355 test $ac_status = 0; }; then
10356 pkg_cv_sqlite3_LIBS
=`$PKG_CONFIG --libs "sqlite3 > 3.7" 2>/dev/null`
10357 test "x$?" != "x0" && pkg_failed
=yes
10367 if test $pkg_failed = yes; then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10369 $as_echo "no" >&6; }
10371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10372 _pkg_short_errors_supported
=yes
10374 _pkg_short_errors_supported
=no
10376 if test $_pkg_short_errors_supported = yes; then
10377 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
10379 sqlite3_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 > 3.7" 2>&1`
10381 # Put the nasty error message in config.log where it belongs
10382 echo "$sqlite3_PKG_ERRORS" >&5
10384 if test "x$enable_sqlite" != xcheck
; then
10385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10387 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
10388 See \`config.log' for more details" "$LINENO" 5; }
10390 elif test $pkg_failed = untried
; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10392 $as_echo "no" >&6; }
10393 if test "x$enable_sqlite" != xcheck
; then
10394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10396 as_fn_error $?
"--enable-sqlite was given, but test for sqlite > 3.7 failed
10397 See \`config.log' for more details" "$LINENO" 5; }
10400 sqlite3_CFLAGS
=$pkg_cv_sqlite3_CFLAGS
10401 sqlite3_LIBS
=$pkg_cv_sqlite3_LIBS
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10403 $as_echo "yes" >&6; }
10405 $as_echo "#define HAVE_LIBSQLITE3 1" >>confdefs.h
10410 # Check whether --enable-translator was given.
10411 if test "${enable_translator+set}" = set; then :
10412 enableval
=$enable_translator;
10414 enable_translator
="yes"
10417 if test "$enable_translator" == "yes"; then
10418 BUILD_TRANSLATOR_TRUE
=
10419 BUILD_TRANSLATOR_FALSE
='#'
10421 BUILD_TRANSLATOR_TRUE
='#'
10422 BUILD_TRANSLATOR_FALSE
=
10426 # Check whether --enable-crash was given.
10427 if test "${enable_crash+set}" = set; then :
10428 enableval
=$enable_crash; if test "$enable_crash" != "no"; then
10429 save_CPPFLAGS
="$CPPFLAGS"
10430 if test "$enable_crash" != "yes"; then
10431 staplog_CPPFLAGS
=-I$enable_crash
10432 CPPFLAGS
="${staplog_CPPFLAGS} $CPPFLAGS"
10435 for ac_header
in crash
/defs.h
10437 ac_fn_c_check_header_compile
"$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
10438 #define NR_CPUS 256
10441 if test "x$ac_cv_header_crash_defs_h" = xyes
; then :
10442 cat >>confdefs.h
<<_ACEOF
10443 #define HAVE_CRASH_DEFS_H 1
10447 as_fn_error $?
"cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
10452 CPPFLAGS
="$save_CPPFLAGS"
10458 if test "$enable_crash" != "no"; then
10459 BUILD_CRASHMOD_TRUE
=
10460 BUILD_CRASHMOD_FALSE
='#'
10462 BUILD_CRASHMOD_TRUE
='#'
10463 BUILD_CRASHMOD_FALSE
=
10468 installing_prebuilt_docs
="yes"
10469 # Check whether --enable-docs was given.
10470 if test "${enable_docs+set}" = set; then :
10471 enableval
=$enable_docs; enable_docs
=$enableval
10473 enable_docs
="prebuilt"
10476 # Extract the first word of "latex", so it can be a program name with args.
10477 set dummy latex
; ac_word
=$2
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10479 $as_echo_n "checking for $ac_word... " >&6; }
10480 if ${ac_cv_prog_have_latex+:} false
; then :
10481 $as_echo_n "(cached) " >&6
10483 if test -n "$have_latex"; then
10484 ac_cv_prog_have_latex
="$have_latex" # Let the user override the test.
10486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10487 for as_dir
in $PATH
10490 test -z "$as_dir" && as_dir
=.
10491 for ac_exec_ext
in '' $ac_executable_extensions; do
10492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10493 ac_cv_prog_have_latex
="yes"
10494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10501 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex
="no"
10504 have_latex
=$ac_cv_prog_have_latex
10505 if test -n "$have_latex"; then
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
10507 $as_echo "$have_latex" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10510 $as_echo "no" >&6; }
10514 # Extract the first word of "dvips", so it can be a program name with args.
10515 set dummy dvips
; ac_word
=$2
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10517 $as_echo_n "checking for $ac_word... " >&6; }
10518 if ${ac_cv_prog_have_dvips+:} false
; then :
10519 $as_echo_n "(cached) " >&6
10521 if test -n "$have_dvips"; then
10522 ac_cv_prog_have_dvips
="$have_dvips" # Let the user override the test.
10524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10525 for as_dir
in $PATH
10528 test -z "$as_dir" && as_dir
=.
10529 for ac_exec_ext
in '' $ac_executable_extensions; do
10530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10531 ac_cv_prog_have_dvips
="yes"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10539 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips
="no"
10542 have_dvips
=$ac_cv_prog_have_dvips
10543 if test -n "$have_dvips"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
10545 $as_echo "$have_dvips" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10548 $as_echo "no" >&6; }
10552 # Extract the first word of "ps2pdf", so it can be a program name with args.
10553 set dummy ps2pdf
; ac_word
=$2
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10555 $as_echo_n "checking for $ac_word... " >&6; }
10556 if ${ac_cv_prog_have_ps2pdf+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 if test -n "$have_ps2pdf"; then
10560 ac_cv_prog_have_ps2pdf
="$have_ps2pdf" # Let the user override the test.
10562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10563 for as_dir
in $PATH
10566 test -z "$as_dir" && as_dir
=.
10567 for ac_exec_ext
in '' $ac_executable_extensions; do
10568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10569 ac_cv_prog_have_ps2pdf
="yes"
10570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10577 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf
="no"
10580 have_ps2pdf
=$ac_cv_prog_have_ps2pdf
10581 if test -n "$have_ps2pdf"; then
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
10583 $as_echo "$have_ps2pdf" >&6; }
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10586 $as_echo "no" >&6; }
10590 if test "x${have_latex}${have_dvips}${have_ps2pdf}" != "xyesyesyes"; then
10591 if test "$enable_docs" == "yes"; then
10592 as_fn_error $?
"cannot find all tools for building documentation" "$LINENO" 5
10594 if test "$enable_docs" == "check"; then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
10596 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
10599 if test "$enable_docs" == "prebuilt"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: will only install prebuilt documentation" >&5
10601 $as_echo "$as_me: will only install prebuilt documentation" >&6;}
10603 if test "x${have_latex}${have_dvips}${have_ps2pdf}" == "xyesyesyes" -a "$enable_docs" != "no" -a "$enable_docs" != "prebuilt"; then
10604 building_docs
="yes"
10605 installing_prebuilt_docs
="yes"
10607 if test "$enable_docs" == "no"; then
10608 installing_prebuilt_docs
="no"
10610 if test "$building_docs" == "yes"; then
10612 BUILD_DOCS_FALSE
='#'
10614 BUILD_DOCS_TRUE
='#'
10618 if test "$installing_prebuilt_docs" == "yes"; then
10619 INSTALL_PREBUILT_DOCS_TRUE
=
10620 INSTALL_PREBUILT_DOCS_FALSE
='#'
10622 INSTALL_PREBUILT_DOCS_TRUE
='#'
10623 INSTALL_PREBUILT_DOCS_FALSE
=
10628 building_refdocs
="no"
10629 # Check whether --enable-refdocs was given.
10630 if test "${enable_refdocs+set}" = set; then :
10631 enableval
=$enable_refdocs; enable_refdocs
=$enableval
10633 enable_refdocs
="check"
10636 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
10637 as_fn_error $?
"must use --enable-docs with --enable-refdocs" "$LINENO" 5
10639 if test "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
10640 building_refdocs
="yes"
10642 if test "$building_refdocs" == "yes"; then
10643 BUILD_REFDOCS_TRUE
=
10644 BUILD_REFDOCS_FALSE
='#'
10646 BUILD_REFDOCS_TRUE
='#'
10647 BUILD_REFDOCS_FALSE
=
10651 # Extract the first word of "xmlto", so it can be a program name with args.
10652 set dummy xmlto
; ac_word
=$2
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10654 $as_echo_n "checking for $ac_word... " >&6; }
10655 if ${ac_cv_prog_have_xmlto+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 if test -n "$have_xmlto"; then
10659 ac_cv_prog_have_xmlto
="$have_xmlto" # Let the user override the test.
10661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10662 for as_dir
in $PATH
10665 test -z "$as_dir" && as_dir
=.
10666 for ac_exec_ext
in '' $ac_executable_extensions; do
10667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10668 ac_cv_prog_have_xmlto
="yes"
10669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10676 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto
="no"
10679 have_xmlto
=$ac_cv_prog_have_xmlto
10680 if test -n "$have_xmlto"; then
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
10682 $as_echo "$have_xmlto" >&6; }
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10685 $as_echo "no" >&6; }
10689 # Extract the first word of "fop", so it can be a program name with args.
10690 set dummy fop
; ac_word
=$2
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10692 $as_echo_n "checking for $ac_word... " >&6; }
10693 if ${ac_cv_prog_have_fop+:} false
; then :
10694 $as_echo_n "(cached) " >&6
10696 if test -n "$have_fop"; then
10697 ac_cv_prog_have_fop
="$have_fop" # Let the user override the test.
10699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10700 for as_dir
in $PATH
10703 test -z "$as_dir" && as_dir
=.
10704 for ac_exec_ext
in '' $ac_executable_extensions; do
10705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10706 ac_cv_prog_have_fop
="yes"
10707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10714 test -z "$ac_cv_prog_have_fop" && ac_cv_prog_have_fop
="no"
10717 have_fop
=$ac_cv_prog_have_fop
10718 if test -n "$have_fop"; then
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_fop" >&5
10720 $as_echo "$have_fop" >&6; }
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10723 $as_echo "no" >&6; }
10727 if test "x${have_fop}" == "xyes"; then
10728 # Due to rhbz505364 / 830266, we must actually test-run fop, not just
10729 # hope that it works.
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if xmlto --with-fop actually works" >&5
10731 $as_echo_n "checking to see if xmlto --with-fop actually works... " >&6; }
10732 if xmlto
--with-fop pdf
${srcdir}/doc
/SystemTap_Tapset_Reference
/dummy-tapsets.xml
>/dev
/null
2>&1; then
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10734 $as_echo "yes" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: it's dead, Jim" >&5
10737 $as_echo "it's dead, Jim" >&6; }
10740 rm -f dummy-tapsets.pdf
10742 if test "$have_fop" == "yes"; then
10750 if test "$have_xmlto" == "yes"; then
10752 HAVE_XMLTO_FALSE
='#'
10754 HAVE_XMLTO_TRUE
='#'
10759 building_htmldocs
="no"
10760 # Check whether --enable-htmldocs was given.
10761 if test "${enable_htmldocs+set}" = set; then :
10762 enableval
=$enable_htmldocs; building_htmldocs
=$enableval
10764 building_htmldocs
="no"
10767 if test "$have_xmlto" == "no" -a "$building_htmldocs" == "yes"; then
10768 as_fn_error $?
"xmlto required for building html documentation" "$LINENO" 5
10771 if test "$building_htmldocs" == "yes"; then
10772 BUILD_HTMLDOCS_TRUE
=
10773 BUILD_HTMLDOCS_FALSE
='#'
10775 BUILD_HTMLDOCS_TRUE
='#'
10776 BUILD_HTMLDOCS_FALSE
=
10780 cat > conftest.xml
<< 'EOF'
10781 <?xml version
="1.0" encoding
="UTF-8"?
>
10782 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN"
10783 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
10785 <bookinfo
><title
>foo
</title
></bookinfo
>
10786 <chapter id
="logging.stp"><title
>Logging Tapset
</title
>
10787 <refentry id
="API-log"><refnamediv
><refname
>log
</refname
>
10788 <refpurpose
>logging
</refpurpose
></refnamediv
>
10789 <refsect1
><title
>Description
</title
>
10790 <para
>baz
</para
></refsect1
></refentry
></chapter
>
10794 if test "x${have_xmlto}" == "xyes"; then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
10796 $as_echo_n "checking for xmlto --stringparam support... " >&6; }
10797 xmlto
--stringparam man.authors.section.enabled
=0 html-nochunks conftest.xml
>/dev
/null
2>&1
10798 if test $?
== 0; then
10799 have_xmlto_stringparam
="yes"
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10801 $as_echo "yes" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10806 rm -f conftest.html
10808 if test "$have_xmlto_stringparam" == "yes"; then
10809 XMLTO_STRINGPARAM_TRUE
=
10810 XMLTO_STRINGPARAM_FALSE
='#'
10812 XMLTO_STRINGPARAM_TRUE
='#'
10813 XMLTO_STRINGPARAM_FALSE
=
10820 # Check whether --with-nss was given.
10821 if test "${with_nss+set}" = set; then :
10826 if test "x$with_nss" != "xno"; then :
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
10831 $as_echo_n "checking for nss... " >&6; }
10833 if test -n "$nss_CFLAGS"; then
10834 pkg_cv_nss_CFLAGS
="$nss_CFLAGS"
10835 elif test -n "$PKG_CONFIG"; then
10836 if test -n "$PKG_CONFIG" && \
10837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10838 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10841 test $ac_status = 0; }; then
10842 pkg_cv_nss_CFLAGS
=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev/null`
10843 test "x$?" != "x0" && pkg_failed
=yes
10850 if test -n "$nss_LIBS"; then
10851 pkg_cv_nss_LIBS
="$nss_LIBS"
10852 elif test -n "$PKG_CONFIG"; then
10853 if test -n "$PKG_CONFIG" && \
10854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10855 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10858 test $ac_status = 0; }; then
10859 pkg_cv_nss_LIBS
=`$PKG_CONFIG --libs "nss >= 3" 2>/dev/null`
10860 test "x$?" != "x0" && pkg_failed
=yes
10870 if test $pkg_failed = yes; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10872 $as_echo "no" >&6; }
10874 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10875 _pkg_short_errors_supported
=yes
10877 _pkg_short_errors_supported
=no
10879 if test $_pkg_short_errors_supported = yes; then
10880 nss_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= 3" 2>&1`
10882 nss_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "nss >= 3" 2>&1`
10884 # Put the nasty error message in config.log where it belongs
10885 echo "$nss_PKG_ERRORS" >&5
10888 elif test $pkg_failed = untried
; then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10890 $as_echo "no" >&6; }
10893 nss_CFLAGS
=$pkg_cv_nss_CFLAGS
10894 nss_LIBS
=$pkg_cv_nss_LIBS
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10896 $as_echo "yes" >&6; }
10899 $as_echo "#define HAVE_NSS 1" >>confdefs.h
10908 if test "${have_nss}" = "yes"; then
10918 # Check whether --with-openssl was given.
10919 if test "${with_openssl+set}" = set; then :
10920 withval
=$with_openssl;
10924 if test "x$with_openssl" != "xno"; then :
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
10929 $as_echo_n "checking for openssl... " >&6; }
10931 if test -n "$openssl_CFLAGS"; then
10932 pkg_cv_openssl_CFLAGS
="$openssl_CFLAGS"
10933 elif test -n "$PKG_CONFIG"; then
10934 if test -n "$PKG_CONFIG" && \
10935 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
10936 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
10938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10939 test $ac_status = 0; }; then
10940 pkg_cv_openssl_CFLAGS
=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
10941 test "x$?" != "x0" && pkg_failed
=yes
10948 if test -n "$openssl_LIBS"; then
10949 pkg_cv_openssl_LIBS
="$openssl_LIBS"
10950 elif test -n "$PKG_CONFIG"; then
10951 if test -n "$PKG_CONFIG" && \
10952 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
10953 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
10955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10956 test $ac_status = 0; }; then
10957 pkg_cv_openssl_LIBS
=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
10958 test "x$?" != "x0" && pkg_failed
=yes
10968 if test $pkg_failed = yes; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10970 $as_echo "no" >&6; }
10972 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10973 _pkg_short_errors_supported
=yes
10975 _pkg_short_errors_supported
=no
10977 if test $_pkg_short_errors_supported = yes; then
10978 openssl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
10980 openssl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
10982 # Put the nasty error message in config.log where it belongs
10983 echo "$openssl_PKG_ERRORS" >&5
10986 elif test $pkg_failed = untried
; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10988 $as_echo "no" >&6; }
10991 openssl_CFLAGS
=$pkg_cv_openssl_CFLAGS
10992 openssl_LIBS
=$pkg_cv_openssl_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10994 $as_echo "yes" >&6; }
10997 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
11006 if test "${have_openssl}" = "yes"; then
11008 HAVE_OPENSSL_FALSE
='#'
11010 HAVE_OPENSSL_TRUE
='#'
11011 HAVE_OPENSSL_FALSE
=
11016 # Check whether --with-dracutstap was given.
11017 if test "${with_dracutstap+set}" = set; then :
11018 withval
=$with_dracutstap;
11021 if test "x$with_dracutstap" != "x"; then :
11022 dracutstap
="$with_dracutstap"
11024 dracutstap
=/usr
/lib
/dracut
/modules.d
/99stap
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut module directory $dracutstap" >&5
11027 $as_echo "$as_me: using dracut module directory $dracutstap" >&6;}
11031 # Check whether --with-dracutbindir was given.
11032 if test "${with_dracutbindir+set}" = set; then :
11033 withval
=$with_dracutbindir;
11036 if test "x$with_dracutbindir" != "x"; then :
11037 dracutbindir
="$with_dracutbindir"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut binary $dracutbindir" >&5
11042 $as_echo "$as_me: using dracut binary $dracutbindir" >&6;}
11045 # Check whether --enable-server was given.
11046 if test "${enable_server+set}" = set; then :
11047 enableval
=$enable_server; enable_server
=$enableval
11049 enable_server
="check"
11053 if test "$enable_server" != "no"; then
11054 if test "x${have_nss}" != "xyes"; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss headers" >&5
11056 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss headers" >&2;}
11059 if test "${have_nss}" == "yes" -a "$enable_server" != "no"; then
11061 BUILD_SERVER_FALSE
='#'
11063 BUILD_SERVER_TRUE
='#'
11064 BUILD_SERVER_FALSE
=
11068 if test "${have_nss}" != "yes"; then
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&5
11070 $as_echo "$as_me: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&2;}
11074 # Check whether --with-avahi was given.
11075 if test "${with_avahi+set}" = set; then :
11076 withval
=$with_avahi;
11080 if test "x$with_avahi" != "xno"; then :
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
11085 $as_echo_n "checking for avahi... " >&6; }
11087 if test -n "$avahi_CFLAGS"; then
11088 pkg_cv_avahi_CFLAGS
="$avahi_CFLAGS"
11089 elif test -n "$PKG_CONFIG"; then
11090 if test -n "$PKG_CONFIG" && \
11091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
11092 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
11094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11095 test $ac_status = 0; }; then
11096 pkg_cv_avahi_CFLAGS
=`$PKG_CONFIG --cflags "avahi-client" 2>/dev/null`
11097 test "x$?" != "x0" && pkg_failed
=yes
11104 if test -n "$avahi_LIBS"; then
11105 pkg_cv_avahi_LIBS
="$avahi_LIBS"
11106 elif test -n "$PKG_CONFIG"; then
11107 if test -n "$PKG_CONFIG" && \
11108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
11109 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
11111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11112 test $ac_status = 0; }; then
11113 pkg_cv_avahi_LIBS
=`$PKG_CONFIG --libs "avahi-client" 2>/dev/null`
11114 test "x$?" != "x0" && pkg_failed
=yes
11124 if test $pkg_failed = yes; then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11126 $as_echo "no" >&6; }
11128 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11129 _pkg_short_errors_supported
=yes
11131 _pkg_short_errors_supported
=no
11133 if test $_pkg_short_errors_supported = yes; then
11134 avahi_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
11136 avahi_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
11138 # Put the nasty error message in config.log where it belongs
11139 echo "$avahi_PKG_ERRORS" >&5
11142 elif test $pkg_failed = untried
; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11144 $as_echo "no" >&6; }
11147 avahi_CFLAGS
=$pkg_cv_avahi_CFLAGS
11148 avahi_LIBS
=$pkg_cv_avahi_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11150 $as_echo "yes" >&6; }
11153 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
11162 if test "${have_avahi}" = "yes"; then
11164 HAVE_AVAHI_FALSE
='#'
11166 HAVE_AVAHI_TRUE
='#'
11171 if test "${have_avahi}" != "yes"; then
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&5
11173 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&2;}
11178 # Check whether --with-rpm was given.
11179 if test "${with_rpm+set}" = set; then :
11185 if test "$with_rpm" != "no"; then
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
11187 $as_echo_n "checking for rpmtsInitIterator in -lrpm... " >&6; }
11188 if ${ac_cv_lib_rpm_rpmtsInitIterator+:} false
; then :
11189 $as_echo_n "(cached) " >&6
11191 ac_check_lib_save_LIBS
=$LIBS
11193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11202 char rpmtsInitIterator ();
11206 return rpmtsInitIterator ();
11211 if ac_fn_c_try_link
"$LINENO"; then :
11212 ac_cv_lib_rpm_rpmtsInitIterator
=yes
11214 ac_cv_lib_rpm_rpmtsInitIterator
=no
11216 rm -f core conftest.err conftest.
$ac_objext \
11217 conftest
$ac_exeext conftest.
$ac_ext
11218 LIBS
=$ac_check_lib_save_LIBS
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
11221 $as_echo "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
11222 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = xyes
; then :
11225 $as_echo "#define HAVE_LIBRPM 1" >>confdefs.h
11227 stap_LIBS
="$stap_LIBS -lc -lrpm"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmdbNextIterator in -lrpmdb" >&5
11234 $as_echo_n "checking for rpmdbNextIterator in -lrpmdb... " >&6; }
11235 if ${ac_cv_lib_rpmdb_rpmdbNextIterator+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_lib_save_LIBS
=$LIBS
11239 LIBS
="-lrpmdb $LIBS"
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11249 char rpmdbNextIterator ();
11253 return rpmdbNextIterator ();
11258 if ac_fn_c_try_link
"$LINENO"; then :
11259 ac_cv_lib_rpmdb_rpmdbNextIterator
=yes
11261 ac_cv_lib_rpmdb_rpmdbNextIterator
=no
11263 rm -f core conftest.err conftest.
$ac_objext \
11264 conftest
$ac_exeext conftest.
$ac_ext
11265 LIBS
=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmdb_rpmdbNextIterator" >&5
11268 $as_echo "$ac_cv_lib_rpmdb_rpmdbNextIterator" >&6; }
11269 if test "x$ac_cv_lib_rpmdb_rpmdbNextIterator" = xyes
; then :
11271 stap_LIBS
="$stap_LIBS -lrpmdb"
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
11275 $as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
11276 if ${ac_cv_lib_rpmio_rpmFreeCrypto+:} false
; then :
11277 $as_echo_n "(cached) " >&6
11279 ac_check_lib_save_LIBS
=$LIBS
11280 LIBS
="-lrpmio $LIBS"
11281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11284 /* Override any GCC internal prototype to avoid an error.
11285 Use char because int might match the return type of a GCC
11286 builtin and then its argument prototype would still apply. */
11290 char rpmFreeCrypto ();
11294 return rpmFreeCrypto ();
11299 if ac_fn_c_try_link
"$LINENO"; then :
11300 ac_cv_lib_rpmio_rpmFreeCrypto
=yes
11302 ac_cv_lib_rpmio_rpmFreeCrypto
=no
11304 rm -f core conftest.err conftest.
$ac_objext \
11305 conftest
$ac_exeext conftest.
$ac_ext
11306 LIBS
=$ac_check_lib_save_LIBS
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
11309 $as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
11310 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = xyes
; then :
11313 $as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
11315 stap_LIBS
="$stap_LIBS -lc -lrpmio"
11316 have_librpmio
="yes"
11321 if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
11322 as_fn_error $?
"cannot find librpm" "$LINENO" 5
11324 if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
11326 $as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
11330 LIBS_no_readline
=$LIBS
11332 have_libreadline
="no"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
11334 $as_echo_n "checking how to link readline libs... " >&6; }
11335 for libtermcap
in "" tinfo ncursesw ncurses curses termcap
; do
11336 if test -z "$libtermcap"; then
11337 READLINE_LIBS
="-lreadline"
11339 READLINE_LIBS
="-lreadline -l$libtermcap"
11341 LIBS
="$READLINE_LIBS $LIBS_no_readline"
11342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11355 return readline ();
11360 if ac_fn_c_try_link
"$LINENO"; then :
11361 have_libreadline
="yes"
11363 rm -f core conftest.err conftest.
$ac_objext \
11364 conftest
$ac_exeext conftest.
$ac_ext
11365 if test "$have_libreadline" = "yes"; then
11369 if test "$have_libreadline" = "no"; then
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11371 $as_echo "none" >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
11375 $as_echo "$READLINE_LIBS" >&6; }
11377 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
11381 if test "$have_libreadline" == "yes"; then
11382 HAVE_LIBREADLINE_TRUE
=
11383 HAVE_LIBREADLINE_FALSE
='#'
11385 HAVE_LIBREADLINE_TRUE
='#'
11386 HAVE_LIBREADLINE_FALSE
=
11390 LIBS
=$LIBS_no_readline
11393 # Check whether --with-python3 was given.
11394 if test "${with_python3+set}" = set; then :
11395 withval
=$with_python3;
11398 if test "x$with_python3" = "xyes"; then :
11399 if test "x$PYTHON3" = "x:"; then :
11400 as_fn_error $?
"python version 3 is required" "$LINENO" 5
11402 preferred_python
=$PYTHON3
11406 if test "x$PYTHON" = "x:"; then :
11407 as_fn_error $?
"python version 2 is required" "$LINENO" 5
11409 preferred_python
=$PYTHON
11416 # Check whether --with-elfutils was given.
11417 if test "${with_elfutils+set}" = set; then :
11418 withval
=$with_elfutils;
11419 case "$with_elfutils" in
11420 yes) as_fn_error $?
"--with-elfutils requires an argument" "$LINENO" 5 ;;
11422 *) build_elfutils
=yes ;;
11426 if test $build_elfutils = yes; then
11427 BUILD_ELFUTILS_TRUE
=
11428 BUILD_ELFUTILS_FALSE
='#'
11430 BUILD_ELFUTILS_TRUE
='#'
11431 BUILD_ELFUTILS_FALSE
=
11434 elfutils_abs_srcdir
=`if test $build_elfutils = yes; then :
11435 cd $with_elfutils && pwd
11439 if test $enable_translator = yes; then
11440 if test $build_elfutils = no
; then
11441 # Need libdwfl-capable recent elfutils http://elfutils.org/
11443 # On modern debian/ubuntu, libebl has been merged into libdw
11444 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ebl_get_elfmachine in -lebl" >&5
11447 $as_echo_n "checking for ebl_get_elfmachine in -lebl... " >&6; }
11448 if ${ac_cv_lib_ebl_ebl_get_elfmachine+:} false
; then :
11449 $as_echo_n "(cached) " >&6
11451 ac_check_lib_save_LIBS
=$LIBS
11453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11462 char ebl_get_elfmachine ();
11466 return ebl_get_elfmachine ();
11471 if ac_fn_c_try_link
"$LINENO"; then :
11472 ac_cv_lib_ebl_ebl_get_elfmachine
=yes
11474 ac_cv_lib_ebl_ebl_get_elfmachine
=no
11476 rm -f core conftest.err conftest.
$ac_objext \
11477 conftest
$ac_exeext conftest.
$ac_ext
11478 LIBS
=$ac_check_lib_save_LIBS
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_get_elfmachine" >&5
11481 $as_echo "$ac_cv_lib_ebl_ebl_get_elfmachine" >&6; }
11482 if test "x$ac_cv_lib_ebl_ebl_get_elfmachine" = xyes
; then :
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
11492 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
11493 if ${ac_cv_lib_dw_dwfl_module_getsym+:} false
; then :
11494 $as_echo_n "(cached) " >&6
11496 ac_check_lib_save_LIBS
=$LIBS
11497 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11507 char dwfl_module_getsym ();
11511 return dwfl_module_getsym ();
11516 if ac_fn_c_try_link
"$LINENO"; then :
11517 ac_cv_lib_dw_dwfl_module_getsym
=yes
11519 ac_cv_lib_dw_dwfl_module_getsym
=no
11521 rm -f core conftest.err conftest.
$ac_objext \
11522 conftest
$ac_exeext conftest.
$ac_ext
11523 LIBS
=$ac_check_lib_save_LIBS
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
11526 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
11527 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = xyes
; then :
11528 cat >>confdefs.h
<<_ACEOF
11529 #define HAVE_LIBDW 1
11536 as_fn_error $?
"missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwarf_next_unit in -ldw" >&5
11540 $as_echo_n "checking for dwarf_next_unit in -ldw... " >&6; }
11541 if ${ac_cv_lib_dw_dwarf_next_unit+:} false
; then :
11542 $as_echo_n "(cached) " >&6
11544 ac_check_lib_save_LIBS
=$LIBS
11545 LIBS
="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
11546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11555 char dwarf_next_unit ();
11559 return dwarf_next_unit ();
11564 if ac_fn_c_try_link
"$LINENO"; then :
11565 ac_cv_lib_dw_dwarf_next_unit
=yes
11567 ac_cv_lib_dw_dwarf_next_unit
=no
11569 rm -f core conftest.err conftest.
$ac_objext \
11570 conftest
$ac_exeext conftest.
$ac_ext
11571 LIBS
=$ac_check_lib_save_LIBS
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_next_unit" >&5
11574 $as_echo "$ac_cv_lib_dw_dwarf_next_unit" >&6; }
11575 if test "x$ac_cv_lib_dw_dwarf_next_unit" = xyes
; then :
11576 cat >>confdefs.h
<<_ACEOF
11577 #define HAVE_LIBDW 1
11584 as_fn_error $?
"elfutils, libdw too old, need 0.148+" "$LINENO" 5
11587 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
11590 # We built our own and stap_LDFLAGS points at the install.
11591 stap_LIBS
="$stap_LIBS -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
11597 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
11599 # staprun has more modest libelf needs
11600 if test $build_elfutils = no
; then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
11603 $as_echo_n "checking for elf_getshdrstrndx in -lelf... " >&6; }
11604 if ${ac_cv_lib_elf_elf_getshdrstrndx+:} false
; then :
11605 $as_echo_n "(cached) " >&6
11607 ac_check_lib_save_LIBS
=$LIBS
11609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11618 char elf_getshdrstrndx ();
11622 return elf_getshdrstrndx ();
11627 if ac_fn_c_try_link
"$LINENO"; then :
11628 ac_cv_lib_elf_elf_getshdrstrndx
=yes
11630 ac_cv_lib_elf_elf_getshdrstrndx
=no
11632 rm -f core conftest.err conftest.
$ac_objext \
11633 conftest
$ac_exeext conftest.
$ac_ext
11634 LIBS
=$ac_check_lib_save_LIBS
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
11637 $as_echo "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
11638 if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes
; then :
11639 cat >>confdefs.h
<<_ACEOF
11640 #define HAVE_LIBELF 1
11647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11649 as_fn_error $?
"libelf too old, need 0.142+
11650 See \`config.log' for more details" "$LINENO" 5; }
11653 staprun_LIBS
="$staprun_LIBS -lelf"
11654 stapbpf_LIBS
="$stapbpf_LIBS -lelf"
11657 # We built our own and staprun_LDFLAGS points at the install.
11658 staprun_LIBS
="$staprun_LIBS -lelf"
11659 stapbpf_LIBS
="$stapbpf_LIBS -lelf"
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: staprun will link $staprun_LIBS" >&5
11665 $as_echo "$as_me: staprun will link $staprun_LIBS" >&6;}
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: stapbpf will link $stapbpf_LIBS" >&5
11667 $as_echo "$as_me: stapbpf will link $stapbpf_LIBS" >&6;}
11669 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
11670 # being compiled on 32-bit userspace but running against 64-bit kernels.
11671 # This is no longer necessary.
11674 ac_cpp
='$CXXCPP $CPPFLAGS'
11675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11679 # Use boost::string_ref if available
11681 ac_cpp
='$CXXCPP $CPPFLAGS'
11682 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11683 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11684 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11686 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11687 if test -z "$CXXCPP"; then
11688 if ${ac_cv_prog_CXXCPP+:} false
; then :
11689 $as_echo_n "(cached) " >&6
11691 # Double quotes because CXXCPP needs to be expanded
11692 for CXXCPP
in "$CXX -E" "/lib/cpp"
11694 ac_preproc_ok
=false
11695 for ac_cxx_preproc_warn_flag
in '' yes
11697 # Use a header file that comes with gcc, so configuring glibc
11698 # with a fresh cross-compiler works.
11699 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11700 # <limits.h> exists even on freestanding compilers.
11701 # On the NeXT, cc -E runs the code through the compiler's parser,
11702 # not just through cpp. "Syntax error" is here to catch this case.
11703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11706 # include <limits.h>
11708 # include <assert.h>
11712 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11715 # Broken: fails on valid input.
11718 rm -f conftest.err conftest.i conftest.
$ac_ext
11720 # OK, works on sane cases. Now check whether nonexistent headers
11721 # can be detected and how.
11722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11724 #include <ac_nonexistent.h>
11726 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11727 # Broken: success on invalid input.
11730 # Passes both tests.
11734 rm -f conftest.err conftest.i conftest.
$ac_ext
11737 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11738 rm -f conftest.i conftest.err conftest.
$ac_ext
11739 if $ac_preproc_ok; then :
11744 ac_cv_prog_CXXCPP
=$CXXCPP
11747 CXXCPP
=$ac_cv_prog_CXXCPP
11749 ac_cv_prog_CXXCPP
=$CXXCPP
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11752 $as_echo "$CXXCPP" >&6; }
11753 ac_preproc_ok
=false
11754 for ac_cxx_preproc_warn_flag
in '' yes
11756 # Use a header file that comes with gcc, so configuring glibc
11757 # with a fresh cross-compiler works.
11758 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11759 # <limits.h> exists even on freestanding compilers.
11760 # On the NeXT, cc -E runs the code through the compiler's parser,
11761 # not just through cpp. "Syntax error" is here to catch this case.
11762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11765 # include <limits.h>
11767 # include <assert.h>
11771 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11774 # Broken: fails on valid input.
11777 rm -f conftest.err conftest.i conftest.
$ac_ext
11779 # OK, works on sane cases. Now check whether nonexistent headers
11780 # can be detected and how.
11781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11783 #include <ac_nonexistent.h>
11785 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11786 # Broken: success on invalid input.
11789 # Passes both tests.
11793 rm -f conftest.err conftest.i conftest.
$ac_ext
11796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11797 rm -f conftest.i conftest.err conftest.
$ac_ext
11798 if $ac_preproc_ok; then :
11801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11803 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11804 See \`config.log' for more details" "$LINENO" 5; }
11808 ac_cpp
='$CXXCPP $CPPFLAGS'
11809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11814 for ac_header
in boost
/utility
/string_ref.hpp
11816 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/utility/string_ref.hpp" "ac_cv_header_boost_utility_string_ref_hpp" "$ac_includes_default"
11817 if test "x$ac_cv_header_boost_utility_string_ref_hpp" = xyes
; then :
11818 cat >>confdefs.h
<<_ACEOF
11819 #define HAVE_BOOST_UTILITY_STRING_REF_HPP 1
11826 # add boost_system bits for stapdyn with dyninst 10+
11828 LIBS
="-lboost_system $LIBS"
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking need for -lboost_system library" >&5
11830 $as_echo_n "checking need for -lboost_system library... " >&6; }
11831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 #include <boost/system/system_error.hpp>
11836 boost::system::error_condition e();
11840 if ac_fn_cxx_try_link
"$LINENO"; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yup" >&5
11842 $as_echo "yup" >&6; }
11843 BOOST_SYSTEM_LIB
="-lboost_system"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: nope" >&5
11847 $as_echo "nope" >&6; }
11848 BOOST_SYSTEM_LIB
=""
11851 rm -f core conftest.err conftest.
$ac_objext \
11852 conftest
$ac_exeext conftest.
$ac_ext
11857 ac_cpp
='$CPP $CPPFLAGS'
11858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11863 # Check for Dyninst headers and libraries
11865 # Check whether --with-dyninst was given.
11866 if test "${with_dyninst+set}" = set; then :
11867 withval
=$with_dyninst;
11871 case "$with_dyninst" in
11873 ''|
yes) # Try a simple-minded distro search
11874 DYNINST_CXXFLAGS
="-I/usr/include/dyninst"
11875 DYNINST_LDFLAGS
="-L/usr/lib64/dyninst -L/usr/lib/dyninst" # XXX both lib paths!?!
11877 *) # Use paths in the user-specified prefix
11878 DYNINST_CXXFLAGS
="-I$with_dyninst/include"
11879 DYNINST_LDFLAGS
="-L$with_dyninst/lib/" # XXX need lib64 too?
11882 if test "$with_dyninst" != "no"; then
11884 ac_cpp
='$CXXCPP $CPPFLAGS'
11885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11889 old_CPPFLAGS
="$CPPFLAGS"
11890 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dyninst support" >&5
11892 $as_echo "$as_me: checking dyninst support" >&6;}
11893 for ac_header
in BPatch_object.h
11895 ac_fn_cxx_check_header_mongrel
"$LINENO" "BPatch_object.h" "ac_cv_header_BPatch_object_h" "$ac_includes_default"
11896 if test "x$ac_cv_header_BPatch_object_h" = xyes
; then :
11897 cat >>confdefs.h
<<_ACEOF
11898 #define HAVE_BPATCH_OBJECT_H 1
11904 $as_echo "#define HAVE_DYNINST 1" >>confdefs.h
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: dyninst support available" >&5
11908 $as_echo "$as_me: dyninst support available" >&6;}
11913 if test -n "$with_dyninst" -a "$have_dyninst" != "yes"; then
11914 as_fn_error $?
"Dyninst does not appear to be usable" "$LINENO" 5
11916 CPPFLAGS
="$old_CPPFLAGS"
11918 ac_cpp
='$CPP $CPPFLAGS'
11919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11924 if test "${have_dyninst}" = "yes"; then
11926 HAVE_DYNINST_FALSE
='#'
11928 HAVE_DYNINST_TRUE
='#'
11929 HAVE_DYNINST_FALSE
=
11935 # Check whether --enable-virt was given.
11936 if test "${enable_virt+set}" = set; then :
11937 enableval
=$enable_virt; enable_virt
=$enableval
11939 enable_virt
="check"
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
11946 $as_echo_n "checking for libvirt... " >&6; }
11948 if test -n "$libvirt_CFLAGS"; then
11949 pkg_cv_libvirt_CFLAGS
="$libvirt_CFLAGS"
11950 elif test -n "$PKG_CONFIG"; then
11951 if test -n "$PKG_CONFIG" && \
11952 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11953 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11956 test $ac_status = 0; }; then
11957 pkg_cv_libvirt_CFLAGS
=`$PKG_CONFIG --cflags "libvirt >= 1.0.2" 2>/dev/null`
11958 test "x$?" != "x0" && pkg_failed
=yes
11965 if test -n "$libvirt_LIBS"; then
11966 pkg_cv_libvirt_LIBS
="$libvirt_LIBS"
11967 elif test -n "$PKG_CONFIG"; then
11968 if test -n "$PKG_CONFIG" && \
11969 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11970 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11973 test $ac_status = 0; }; then
11974 pkg_cv_libvirt_LIBS
=`$PKG_CONFIG --libs "libvirt >= 1.0.2" 2>/dev/null`
11975 test "x$?" != "x0" && pkg_failed
=yes
11985 if test $pkg_failed = yes; then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987 $as_echo "no" >&6; }
11989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11990 _pkg_short_errors_supported
=yes
11992 _pkg_short_errors_supported
=no
11994 if test $_pkg_short_errors_supported = yes; then
11995 libvirt_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11997 libvirt_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11999 # Put the nasty error message in config.log where it belongs
12000 echo "$libvirt_PKG_ERRORS" >&5
12003 elif test $pkg_failed = untried
; then
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12005 $as_echo "no" >&6; }
12008 libvirt_CFLAGS
=$pkg_cv_libvirt_CFLAGS
12009 libvirt_LIBS
=$pkg_cv_libvirt_LIBS
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12011 $as_echo "yes" >&6; }
12015 $as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h
12019 if test "${have_libvirt}" = "yes"; then
12021 HAVE_LIBVIRT_FALSE
='#'
12023 HAVE_LIBVIRT_TRUE
='#'
12024 HAVE_LIBVIRT_FALSE
=
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
12030 $as_echo_n "checking for libxml2... " >&6; }
12032 if test -n "$libxml2_CFLAGS"; then
12033 pkg_cv_libxml2_CFLAGS
="$libxml2_CFLAGS"
12034 elif test -n "$PKG_CONFIG"; then
12035 if test -n "$PKG_CONFIG" && \
12036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
12037 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
12039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12040 test $ac_status = 0; }; then
12041 pkg_cv_libxml2_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
12042 test "x$?" != "x0" && pkg_failed
=yes
12049 if test -n "$libxml2_LIBS"; then
12050 pkg_cv_libxml2_LIBS
="$libxml2_LIBS"
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 \"libxml-2.0\""; } >&5
12054 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
12056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12057 test $ac_status = 0; }; then
12058 pkg_cv_libxml2_LIBS
=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
12059 test "x$?" != "x0" && pkg_failed
=yes
12069 if test $pkg_failed = yes; then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12071 $as_echo "no" >&6; }
12073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12074 _pkg_short_errors_supported
=yes
12076 _pkg_short_errors_supported
=no
12078 if test $_pkg_short_errors_supported = yes; then
12079 libxml2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
12081 libxml2_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
12083 # Put the nasty error message in config.log where it belongs
12084 echo "$libxml2_PKG_ERRORS" >&5
12087 elif test $pkg_failed = untried
; then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12089 $as_echo "no" >&6; }
12092 libxml2_CFLAGS
=$pkg_cv_libxml2_CFLAGS
12093 libxml2_LIBS
=$pkg_cv_libxml2_LIBS
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12095 $as_echo "yes" >&6; }
12099 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12103 if test "${have_libxml2}" = "yes"; then
12105 HAVE_LIBXML2_FALSE
='#'
12107 HAVE_LIBXML2_TRUE
='#'
12108 HAVE_LIBXML2_FALSE
=
12112 if test "$enable_virt" != "no"; then
12113 if test "x${have_libvirt}" != "xyes"; then
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&5
12115 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&2;}
12117 if test "x${have_libxml2}" != "xyes"; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&5
12119 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&2;}
12122 if test "${have_libvirt}" == "yes" -a "${have_libxml2}" == "yes" -a "$enable_virt" != "no"; then
12124 BUILD_VIRT_FALSE
='#'
12126 BUILD_VIRT_TRUE
='#'
12132 # Check whether --with-python2-probes was given.
12133 if test "${with_python2_probes+set}" = set; then :
12134 withval
=$with_python2_probes;
12137 have_python2_support
=no
12138 if test "x$with_python2_probes" != "xno"; then :
12139 if test "x$PYTHON" != "x:"; then :
12140 for ac_prog
in ${python_basename}-config python2-config python-config
12142 # Extract the first word of "$ac_prog", so it can be a program name with args.
12143 set dummy
$ac_prog; ac_word
=$2
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12145 $as_echo_n "checking for $ac_word... " >&6; }
12146 if ${ac_cv_path_PYTHON_CONFIG+:} false
; then :
12147 $as_echo_n "(cached) " >&6
12149 case $PYTHON_CONFIG in
12151 ac_cv_path_PYTHON_CONFIG
="$PYTHON_CONFIG" # Let the user override the test with a path.
12154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12155 for as_dir
in $PATH
12158 test -z "$as_dir" && as_dir
=.
12159 for ac_exec_ext
in '' $ac_executable_extensions; do
12160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12161 ac_cv_path_PYTHON_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12172 PYTHON_CONFIG
=$ac_cv_path_PYTHON_CONFIG
12173 if test -n "$PYTHON_CONFIG"; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
12175 $as_echo "$PYTHON_CONFIG" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12178 $as_echo "no" >&6; }
12182 test -n "$PYTHON_CONFIG" && break
12186 if test "x$PYTHON_CONFIG" != "x"; then :
12187 PYTHON_CPPFLAGS
=`$PYTHON_CONFIG --includes 2> /dev/null`
12188 PYTHON_CPPFLAGS
=$PYTHON_CPPFLAGS
12190 save_CPPFLAGS
="$CPPFLAGS"
12191 CPPFLAGS
="$PYTHON_CPPFLAGS $CPPFLAGS"
12192 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
12193 for ac_header
in Python.h
12195 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
12196 if test "x$ac_cv_header_Python_h" = xyes
; then :
12197 cat >>confdefs.h
<<_ACEOF
12198 #define HAVE_PYTHON_H 1
12200 have_python2_support
=yes
12205 CPPFLAGS
="$save_CPPFLAGS"
12208 if test "x$have_python2_support" = "xyes"; then :
12210 $as_echo "#define HAVE_PYTHON2_PROBES 1" >>confdefs.h
12213 if test "x$with_python2_probes" = "xyes"; then :
12214 as_fn_error $?
"python version 2 probe support requested but not found" "$LINENO" 5
12218 if test "x$have_python2_support" = "xyes"; then
12219 HAVE_PYTHON2_PROBES_TRUE
=
12220 HAVE_PYTHON2_PROBES_FALSE
='#'
12222 HAVE_PYTHON2_PROBES_TRUE
='#'
12223 HAVE_PYTHON2_PROBES_FALSE
=
12228 # Check whether --with-python3-probes was given.
12229 if test "${with_python3_probes+set}" = set; then :
12230 withval
=$with_python3_probes;
12233 have_python3_support
=no
12234 if test "x$with_python3_probes" != "xno"; then :
12235 if test "x$PYTHON3" != "x:" ; then :
12236 # Extract the first word of "${python3_basename}-config", so it can be a program name with args.
12237 set dummy
${python3_basename}-config; ac_word
=$2
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12239 $as_echo_n "checking for $ac_word... " >&6; }
12240 if ${ac_cv_path_PYTHON3_CONFIG+:} false
; then :
12241 $as_echo_n "(cached) " >&6
12243 case $PYTHON3_CONFIG in
12245 ac_cv_path_PYTHON3_CONFIG
="$PYTHON3_CONFIG" # Let the user override the test with a path.
12248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12249 for as_dir
in $PATH
12252 test -z "$as_dir" && as_dir
=.
12253 for ac_exec_ext
in '' $ac_executable_extensions; do
12254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12255 ac_cv_path_PYTHON3_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12266 PYTHON3_CONFIG
=$ac_cv_path_PYTHON3_CONFIG
12267 if test -n "$PYTHON3_CONFIG"; then
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5
12269 $as_echo "$PYTHON3_CONFIG" >&6; }
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12272 $as_echo "no" >&6; }
12277 if test "x$PYTHON3_CONFIG" != "x"; then :
12278 PYTHON3_CPPFLAGS
=`$PYTHON3_CONFIG --includes 2> /dev/null`
12279 PYTHON3_CPPFLAGS
=$PYTHON3_CPPFLAGS
12281 save_CPPFLAGS
="$CPPFLAGS"
12282 CPPFLAGS
="$PYTHON3_CPPFLAGS $CPPFLAGS"
12283 { ac_cv_header_Python_h
=; unset ac_cv_header_Python_h
;}
12284 for ac_header
in Python.h
12286 ac_fn_c_check_header_mongrel
"$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
12287 if test "x$ac_cv_header_Python_h" = xyes
; then :
12288 cat >>confdefs.h
<<_ACEOF
12289 #define HAVE_PYTHON_H 1
12291 have_python3_support
=yes
12296 CPPFLAGS
="$save_CPPFLAGS"
12299 if test "x$have_python3_support" = "xyes"; then :
12301 $as_echo "#define HAVE_PYTHON3_PROBES 1" >>confdefs.h
12304 if test "x$with_python3_probes" = "xyes"; then :
12305 as_fn_error $?
"python version 3 probe support requested but not found" "$LINENO" 5
12309 if test "x$have_python3_support" = "xyes"; then
12310 HAVE_PYTHON3_PROBES_TRUE
=
12311 HAVE_PYTHON3_PROBES_FALSE
='#'
12313 HAVE_PYTHON3_PROBES_TRUE
='#'
12314 HAVE_PYTHON3_PROBES_FALSE
=
12318 if test "x$have_python2_support" = "xyes" -o "x$have_python3_support" = "xyes"; then
12319 HAVE_PYTHON_PROBES_TRUE
=
12320 HAVE_PYTHON_PROBES_FALSE
='#'
12322 HAVE_PYTHON_PROBES_TRUE
='#'
12323 HAVE_PYTHON_PROBES_FALSE
=
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jsonc" >&5
12330 $as_echo_n "checking for jsonc... " >&6; }
12332 if test -n "$jsonc_CFLAGS"; then
12333 pkg_cv_jsonc_CFLAGS
="$jsonc_CFLAGS"
12334 elif test -n "$PKG_CONFIG"; then
12335 if test -n "$PKG_CONFIG" && \
12336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
12337 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
12339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12340 test $ac_status = 0; }; then
12341 pkg_cv_jsonc_CFLAGS
=`$PKG_CONFIG --cflags "json-c >= 0.11" 2>/dev/null`
12342 test "x$?" != "x0" && pkg_failed
=yes
12349 if test -n "$jsonc_LIBS"; then
12350 pkg_cv_jsonc_LIBS
="$jsonc_LIBS"
12351 elif test -n "$PKG_CONFIG"; then
12352 if test -n "$PKG_CONFIG" && \
12353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c >= 0.11\""; } >&5
12354 ($PKG_CONFIG --exists --print-errors "json-c >= 0.11") 2>&5
12356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12357 test $ac_status = 0; }; then
12358 pkg_cv_jsonc_LIBS
=`$PKG_CONFIG --libs "json-c >= 0.11" 2>/dev/null`
12359 test "x$?" != "x0" && pkg_failed
=yes
12369 if test $pkg_failed = yes; then
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12371 $as_echo "no" >&6; }
12373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12374 _pkg_short_errors_supported
=yes
12376 _pkg_short_errors_supported
=no
12378 if test $_pkg_short_errors_supported = yes; then
12379 jsonc_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
12381 jsonc_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "json-c >= 0.11" 2>&1`
12383 # Put the nasty error message in config.log where it belongs
12384 echo "$jsonc_PKG_ERRORS" >&5
12387 elif test $pkg_failed = untried
; then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12389 $as_echo "no" >&6; }
12392 jsonc_CFLAGS
=$pkg_cv_jsonc_CFLAGS
12393 jsonc_LIBS
=$pkg_cv_jsonc_LIBS
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12395 $as_echo "yes" >&6; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
12401 $as_echo_n "checking for ncurses... " >&6; }
12403 if test -n "$ncurses_CFLAGS"; then
12404 pkg_cv_ncurses_CFLAGS
="$ncurses_CFLAGS"
12405 elif test -n "$PKG_CONFIG"; then
12406 if test -n "$PKG_CONFIG" && \
12407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12408 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12411 test $ac_status = 0; }; then
12412 pkg_cv_ncurses_CFLAGS
=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
12413 test "x$?" != "x0" && pkg_failed
=yes
12420 if test -n "$ncurses_LIBS"; then
12421 pkg_cv_ncurses_LIBS
="$ncurses_LIBS"
12422 elif test -n "$PKG_CONFIG"; then
12423 if test -n "$PKG_CONFIG" && \
12424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
12425 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
12427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12428 test $ac_status = 0; }; then
12429 pkg_cv_ncurses_LIBS
=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
12430 test "x$?" != "x0" && pkg_failed
=yes
12440 if test $pkg_failed = yes; then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12442 $as_echo "no" >&6; }
12444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12445 _pkg_short_errors_supported
=yes
12447 _pkg_short_errors_supported
=no
12449 if test $_pkg_short_errors_supported = yes; then
12450 ncurses_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
12452 ncurses_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
12454 # Put the nasty error message in config.log where it belongs
12455 echo "$ncurses_PKG_ERRORS" >&5
12458 elif test $pkg_failed = untried
; then
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12460 $as_echo "no" >&6; }
12463 ncurses_CFLAGS
=$pkg_cv_ncurses_CFLAGS
12464 ncurses_LIBS
=$pkg_cv_ncurses_LIBS
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12466 $as_echo "yes" >&6; }
12469 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == "yes"; then
12470 HAVE_MONITOR_LIBS_TRUE
=
12471 HAVE_MONITOR_LIBS_FALSE
='#'
12473 HAVE_MONITOR_LIBS_TRUE
='#'
12474 HAVE_MONITOR_LIBS_FALSE
=
12477 if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == yes; then
12479 $as_echo "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
12484 $as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }
12485 if ${stap_cv_sectionq+:} false
; then :
12486 $as_echo_n "(cached) " >&6
12489 old_CFLAGS
="$CFLAGS"
12490 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
12491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493 asm(".section .note.foo,\"?\",\"note\"\n"
12496 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
12498 ".pushsection .note.foo,\"?\",\"note\"\n"
12503 if ac_fn_c_try_compile
"$LINENO"; then :
12504 stap_cv_sectionq
=yes
12506 stap_cv_sectionq
=no
12508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12509 CFLAGS
="$old_CFLAGS"
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
12512 $as_echo "$stap_cv_sectionq" >&6; }
12514 support_section_question
=0
12515 if test $stap_cv_sectionq = yes; then
12516 support_section_question
=1
12521 # Check whether --with-bpf was given.
12522 if test "${with_bpf+set}" = set; then :
12527 if test "x$with_bpf" != "xno"; then :
12529 ac_fn_c_check_decl
"$LINENO" "BPF_PROG_TYPE_PERF_EVENT" "ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" "#include <linux/bpf.h>
12531 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" = xyes
; then :
12537 cat >>confdefs.h
<<_ACEOF
12538 #define HAVE_DECL_BPF_PROG_TYPE_PERF_EVENT $ac_have_decl
12540 if test $ac_have_decl = 1; then :
12542 $as_echo "#define HAVE_BPF_DECLS 1" >>confdefs.h
12548 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_PERF_EVENT" == "xyes"; then
12549 HAVE_BPF_DECLS_TRUE
=
12550 HAVE_BPF_DECLS_FALSE
='#'
12552 HAVE_BPF_DECLS_TRUE
='#'
12553 HAVE_BPF_DECLS_FALSE
=
12556 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
12559 ac_fn_c_check_decl
"$LINENO" "BPF_PROG_TYPE_RAW_TRACEPOINT" "ac_cv_have_decl_BPF_PROG_TYPE_RAW_TRACEPOINT" "#include <linux/bpf.h>
12561 if test "x$ac_cv_have_decl_BPF_PROG_TYPE_RAW_TRACEPOINT" = xyes
; then :
12567 cat >>confdefs.h
<<_ACEOF
12568 #define HAVE_DECL_BPF_PROG_TYPE_RAW_TRACEPOINT $ac_have_decl
12570 if test $ac_have_decl = 1; then :
12572 $as_echo "#define HAVE_BPF_PROG_TYPE_RAW_TRACEPOINT 1" >>confdefs.h
12577 if test $build_elfutils = yes -a $enable_translator = yes; then
12579 case "$with_elfutils" in
12580 /*) elfutils_srcdir
="$with_elfutils" ;;
12581 *) elfutils_srcdir
="${here}/$with_elfutils" ;;
12584 if ! test -f ${elfutils_srcdir}/configure
; then
12585 as_fn_error $?
"No ${elfutils_srcdir}/configure, forgot to run autoreconf -i?" "$LINENO" 5
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: running ${elfutils_srcdir}/configure" >&5
12588 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
12590 save_CFLAGS
="$CFLAGS"
12591 save_CXXFLAGS
="$CXXFLAGS"
12592 CXXFLAGS
="$CXXFLAGS -fgnu89-inline"
12593 CFLAGS
="$CFLAGS -fgnu89-inline"
12594 gnu89_inline_flag
=""
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12599 if ac_fn_c_try_compile
"$LINENO"; then :
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling elfutils with gcc -fgnu89-inline" >&5
12602 $as_echo "$as_me: Compiling elfutils with gcc -fgnu89-inline" >&6;}
12603 gnu89_inline_flag
="-fgnu89-inline"
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fgnu89-inline" >&5
12607 $as_echo "$as_me: Compiler does not support -fgnu89-inline" >&6;}
12609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12610 CFLAGS
="$save_CFLAGS"
12611 CXXFLAGS
="$save_CXXFLAGS"
12613 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
12614 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
12615 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
12616 # So we must make sure to pass those settings to elfutils configure.
12617 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
12618 # Check whether this is a source release, or a source checkout.
12619 # We need --enable-maintainer-mode if it isn't a source release.
12620 # elfutils.spec is only distributed in source releases.
12621 if test -f ${elfutils_srcdir}/elfutils.spec
; then
12622 need_maintainer_option
=""
12624 need_maintainer_option
="--enable-maintainer-mode"
12626 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
12627 bash
${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
12628 --includedir="${here}/include-elfutils" \
12629 --libdir="${here}/lib-elfutils" \
12630 --exec-prefix="$exec_prefix" \
12631 --prefix="$prefix" \
12633 ${need_maintainer_option} \
12634 CFLAGS
="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \
12635 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
12636 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
12637 echo Found elfutils
/version.h header...
12639 echo elfutils
/version.h header not found
, need elfutils
0.142+...
12643 if test $?
!= 0; then exit -1; fi
12647 # Check whether --with-selinux was given.
12648 if test "${with_selinux+set}" = set; then :
12649 withval
=$with_selinux;
12653 if test "x$with_selinux" != "xno"; then :
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux" >&5
12658 $as_echo_n "checking for selinux... " >&6; }
12660 if test -n "$selinux_CFLAGS"; then
12661 pkg_cv_selinux_CFLAGS
="$selinux_CFLAGS"
12662 elif test -n "$PKG_CONFIG"; then
12663 if test -n "$PKG_CONFIG" && \
12664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12665 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12668 test $ac_status = 0; }; then
12669 pkg_cv_selinux_CFLAGS
=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
12670 test "x$?" != "x0" && pkg_failed
=yes
12677 if test -n "$selinux_LIBS"; then
12678 pkg_cv_selinux_LIBS
="$selinux_LIBS"
12679 elif test -n "$PKG_CONFIG"; then
12680 if test -n "$PKG_CONFIG" && \
12681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
12682 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
12684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12685 test $ac_status = 0; }; then
12686 pkg_cv_selinux_LIBS
=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
12687 test "x$?" != "x0" && pkg_failed
=yes
12697 if test $pkg_failed = yes; then
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12699 $as_echo "no" >&6; }
12701 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12702 _pkg_short_errors_supported
=yes
12704 _pkg_short_errors_supported
=no
12706 if test $_pkg_short_errors_supported = yes; then
12707 selinux_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
12709 selinux_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
12711 # Put the nasty error message in config.log where it belongs
12712 echo "$selinux_PKG_ERRORS" >&5
12715 elif test $pkg_failed = untried
; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12717 $as_echo "no" >&6; }
12720 selinux_CFLAGS
=$pkg_cv_selinux_CFLAGS
12721 selinux_LIBS
=$pkg_cv_selinux_LIBS
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12723 $as_echo "yes" >&6; }
12726 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
12735 if test "${have_selinux}" = "yes"; then
12737 HAVE_SELINUX_FALSE
='#'
12739 HAVE_SELINUX_TRUE
='#'
12740 HAVE_SELINUX_FALSE
=
12744 ac_fn_c_check_decl
"$LINENO" "F_SETPIPE_SZ" "ac_cv_have_decl_F_SETPIPE_SZ" "#include <fcntl.h>
12746 if test "x$ac_cv_have_decl_F_SETPIPE_SZ" = xyes
; then :
12748 $as_echo "#define HAVE_F_SETPIPE_SZ 1" >>confdefs.h
12753 # Extract the first word of "javac", so it can be a program name with args.
12754 set dummy javac
; ac_word
=$2
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12756 $as_echo_n "checking for $ac_word... " >&6; }
12757 if ${ac_cv_prog_have_javac+:} false
; then :
12758 $as_echo_n "(cached) " >&6
12760 if test -n "$have_javac"; then
12761 ac_cv_prog_have_javac
="$have_javac" # Let the user override the test.
12763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12764 for as_dir
in $PATH
12767 test -z "$as_dir" && as_dir
=.
12768 for ac_exec_ext
in '' $ac_executable_extensions; do
12769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12770 ac_cv_prog_have_javac
="yes"
12771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12778 test -z "$ac_cv_prog_have_javac" && ac_cv_prog_have_javac
="no"
12781 have_javac
=$ac_cv_prog_have_javac
12782 if test -n "$have_javac"; then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_javac" >&5
12784 $as_echo "$have_javac" >&6; }
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12787 $as_echo "no" >&6; }
12791 # Extract the first word of "jar", so it can be a program name with args.
12792 set dummy jar
; ac_word
=$2
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12794 $as_echo_n "checking for $ac_word... " >&6; }
12795 if ${ac_cv_prog_have_jar+:} false
; then :
12796 $as_echo_n "(cached) " >&6
12798 if test -n "$have_jar"; then
12799 ac_cv_prog_have_jar
="$have_jar" # Let the user override the test.
12801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12802 for as_dir
in $PATH
12805 test -z "$as_dir" && as_dir
=.
12806 for ac_exec_ext
in '' $ac_executable_extensions; do
12807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12808 ac_cv_prog_have_jar
="yes"
12809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 test -z "$ac_cv_prog_have_jar" && ac_cv_prog_have_jar
="no"
12819 have_jar
=$ac_cv_prog_have_jar
12820 if test -n "$have_jar"; then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_jar" >&5
12822 $as_echo "$have_jar" >&6; }
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12825 $as_echo "no" >&6; }
12829 if test "$have_javac" != no
-a "$have_jar" != no
; then
12830 echo java found
, will try to configure Byteman support
12833 # Check whether --with-java was given.
12834 if test "${with_java+set}" = set; then :
12835 withval
=$with_java;
12837 with_java
=/usr
/lib
/jvm
/java
12840 if test ! -d "$with_java"; then
12843 JAVADIR
="${with_java}"
12844 # always needed to compile
12846 if test "$with_java" != "no"; then
12848 cat >>confdefs.h
<<_ACEOF
12849 #define HAVE_JAVA "1"
12854 if test "$with_java" != "no"; then
12856 HAVE_JAVA_FALSE
='#'
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not run per-method java probing, missing byteman or java requirements" >&5
12865 $as_echo "$as_me: WARNING: will not run per-method java probing, missing byteman or java requirements" >&2;}
12868 HAVE_JAVA_FALSE
='#'
12874 fi # java+byteman support
12876 ENABLE_NLS
="$USE_NLS"
12878 localedir
="$localedir"
12880 LOCALEDIR
="$localedir"
12884 # Check whether --with-extra-version was given.
12885 if test "${with_extra_version+set}" = set; then :
12886 withval
=$with_extra_version;
12889 if test "x$with_extra_version" != "xno"; then :
12891 stap_extra_version
="$with_extra_version"
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding extra version $stap_extra_version" >&5
12893 $as_echo "$as_me: Adding extra version $stap_extra_version" >&6;}
12896 stap_extra_version
=""
12899 cat >>confdefs.h
<<_ACEOF
12900 #define STAP_EXTRA_VERSION "$stap_extra_version"
12903 STAP_EXTRA_VERSION
="$stap_extra_version"
12906 # Check whether --enable-http was given.
12907 if test "${enable_http+set}" = set; then :
12908 enableval
=$enable_http;
12911 have_http_support
=no
12912 if test "x$enable_http" = "xyes"; then :
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmicrohttpd" >&5
12916 $as_echo_n "checking for libmicrohttpd... " >&6; }
12918 if test -n "$libmicrohttpd_CFLAGS"; then
12919 pkg_cv_libmicrohttpd_CFLAGS
="$libmicrohttpd_CFLAGS"
12920 elif test -n "$PKG_CONFIG"; then
12921 if test -n "$PKG_CONFIG" && \
12922 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
12923 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
12925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12926 test $ac_status = 0; }; then
12927 pkg_cv_libmicrohttpd_CFLAGS
=`$PKG_CONFIG --cflags "libmicrohttpd > 0.9.0" 2>/dev/null`
12928 test "x$?" != "x0" && pkg_failed
=yes
12935 if test -n "$libmicrohttpd_LIBS"; then
12936 pkg_cv_libmicrohttpd_LIBS
="$libmicrohttpd_LIBS"
12937 elif test -n "$PKG_CONFIG"; then
12938 if test -n "$PKG_CONFIG" && \
12939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd > 0.9.0\""; } >&5
12940 ($PKG_CONFIG --exists --print-errors "libmicrohttpd > 0.9.0") 2>&5
12942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943 test $ac_status = 0; }; then
12944 pkg_cv_libmicrohttpd_LIBS
=`$PKG_CONFIG --libs "libmicrohttpd > 0.9.0" 2>/dev/null`
12945 test "x$?" != "x0" && pkg_failed
=yes
12955 if test $pkg_failed = yes; then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957 $as_echo "no" >&6; }
12959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12960 _pkg_short_errors_supported
=yes
12962 _pkg_short_errors_supported
=no
12964 if test $_pkg_short_errors_supported = yes; then
12965 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
12967 libmicrohttpd_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd > 0.9.0" 2>&1`
12969 # Put the nasty error message in config.log where it belongs
12970 echo "$libmicrohttpd_PKG_ERRORS" >&5
12972 have_libmicrohttpd
=false
12973 elif test $pkg_failed = untried
; then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12975 $as_echo "no" >&6; }
12976 have_libmicrohttpd
=false
12978 libmicrohttpd_CFLAGS
=$pkg_cv_libmicrohttpd_CFLAGS
12979 libmicrohttpd_LIBS
=$pkg_cv_libmicrohttpd_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12981 $as_echo "yes" >&6; }
12982 have_libmicrohttpd
=true
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid" >&5
12988 $as_echo_n "checking for uuid... " >&6; }
12990 if test -n "$uuid_CFLAGS"; then
12991 pkg_cv_uuid_CFLAGS
="$uuid_CFLAGS"
12992 elif test -n "$PKG_CONFIG"; then
12993 if test -n "$PKG_CONFIG" && \
12994 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
12995 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
12997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12998 test $ac_status = 0; }; then
12999 pkg_cv_uuid_CFLAGS
=`$PKG_CONFIG --cflags "uuid >= 2.17.0" 2>/dev/null`
13000 test "x$?" != "x0" && pkg_failed
=yes
13007 if test -n "$uuid_LIBS"; then
13008 pkg_cv_uuid_LIBS
="$uuid_LIBS"
13009 elif test -n "$PKG_CONFIG"; then
13010 if test -n "$PKG_CONFIG" && \
13011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.17.0\""; } >&5
13012 ($PKG_CONFIG --exists --print-errors "uuid >= 2.17.0") 2>&5
13014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13015 test $ac_status = 0; }; then
13016 pkg_cv_uuid_LIBS
=`$PKG_CONFIG --libs "uuid >= 2.17.0" 2>/dev/null`
13017 test "x$?" != "x0" && pkg_failed
=yes
13027 if test $pkg_failed = yes; then
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13029 $as_echo "no" >&6; }
13031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13032 _pkg_short_errors_supported
=yes
13034 _pkg_short_errors_supported
=no
13036 if test $_pkg_short_errors_supported = yes; then
13037 uuid_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
13039 uuid_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 2.17.0" 2>&1`
13041 # Put the nasty error message in config.log where it belongs
13042 echo "$uuid_PKG_ERRORS" >&5
13045 elif test $pkg_failed = untried
; then
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13047 $as_echo "no" >&6; }
13050 uuid_CFLAGS
=$pkg_cv_uuid_CFLAGS
13051 uuid_LIBS
=$pkg_cv_uuid_LIBS
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13053 $as_echo "yes" >&6; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
13060 $as_echo_n "checking for libcurl... " >&6; }
13062 if test -n "$libcurl_CFLAGS"; then
13063 pkg_cv_libcurl_CFLAGS
="$libcurl_CFLAGS"
13064 elif test -n "$PKG_CONFIG"; then
13065 if test -n "$PKG_CONFIG" && \
13066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.19.7\""; } >&5
13067 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.19.7") 2>&5
13069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070 test $ac_status = 0; }; then
13071 pkg_cv_libcurl_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= 7.19.7" 2>/dev/null`
13072 test "x$?" != "x0" && pkg_failed
=yes
13079 if test -n "$libcurl_LIBS"; then
13080 pkg_cv_libcurl_LIBS
="$libcurl_LIBS"
13081 elif test -n "$PKG_CONFIG"; then
13082 if test -n "$PKG_CONFIG" && \
13083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.19.7\""; } >&5
13084 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.19.7") 2>&5
13086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13087 test $ac_status = 0; }; then
13088 pkg_cv_libcurl_LIBS
=`$PKG_CONFIG --libs "libcurl >= 7.19.7" 2>/dev/null`
13089 test "x$?" != "x0" && pkg_failed
=yes
13099 if test $pkg_failed = yes; then
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13101 $as_echo "no" >&6; }
13103 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13104 _pkg_short_errors_supported
=yes
13106 _pkg_short_errors_supported
=no
13108 if test $_pkg_short_errors_supported = yes; then
13109 libcurl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.19.7" 2>&1`
13111 libcurl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.19.7" 2>&1`
13113 # Put the nasty error message in config.log where it belongs
13114 echo "$libcurl_PKG_ERRORS" >&5
13117 elif test $pkg_failed = untried
; then
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13119 $as_echo "no" >&6; }
13122 libcurl_CFLAGS
=$pkg_cv_libcurl_CFLAGS
13123 libcurl_LIBS
=$pkg_cv_libcurl_LIBS
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13125 $as_echo "yes" >&6; }
13129 if test "x$have_libmicrohttpd" == "xtrue" -a "x$have_libuuid" == "xtrue" -a "x$have_libcurl" == "xtrue" -a "x$have_jsonc" == "xyes" -a "x$have_nss" == "xyes" -a "x$have_openssl" == "xyes" -a "x$have_cxx0x" == "xno"; then :
13130 have_http_support
=yes
13134 if test "x$have_http_support" = "xyes"; then :
13136 $as_echo "#define HAVE_HTTP_SUPPORT 1" >>confdefs.h
13139 if test "x$enable_http" = "xyes"; then :
13140 as_fn_error $?
"http service support requested but not found" "$LINENO" 5
13144 if test "x$have_http_support" = "xyes"; then
13145 HAVE_HTTP_SUPPORT_TRUE
=
13146 HAVE_HTTP_SUPPORT_FALSE
='#'
13148 HAVE_HTTP_SUPPORT_TRUE
='#'
13149 HAVE_HTTP_SUPPORT_FALSE
=
13153 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then
13154 NEED_BASE_CLIENT_CODE_TRUE
=
13155 NEED_BASE_CLIENT_CODE_FALSE
='#'
13157 NEED_BASE_CLIENT_CODE_TRUE
='#'
13158 NEED_BASE_CLIENT_CODE_FALSE
=
13161 if test "x$have_http_support" = "xyes" -o "x$have_nss" = "xyes"; then :
13164 $as_echo "#define NEED_BASE_CLIENT_CODE 1" >>confdefs.h
13170 stap_prefix
=$prefix
13171 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
13173 cat >>confdefs.h
<<_ACEOF
13174 #define STAP_PREFIX "$stap_prefix"
13177 STAP_PREFIX
="$stap_prefix"
13180 ac_config_headers
="$ac_config_headers config.h:config.in"
13184 ac_config_files
="$ac_config_files Makefile doc/Makefile man/Makefile man/cs/Makefile doc/beginners/Makefile doc/SystemTap_Tapset_Reference/Makefile man/stap.1 man/stappaths.7 man/systemtap-service.8 man/cs/stap.1 man/cs/stappaths.7 man/cs/systemtap.8 initscript/config.systemtap initscript/config.stap-server initscript/systemtap initscript/stap-server initscript/99stap/module-setup.sh initscript/99stap/install initscript/99stap/check"
13188 subdirs
="$subdirs testsuite"
13190 if test $enable_translator == "yes"; then
13191 ac_config_files
="$ac_config_files run-stap"
13194 ac_config_files
="$ac_config_files dtrace"
13196 ac_config_files
="$ac_config_files stapdyn/Makefile"
13198 ac_config_files
="$ac_config_files java/Makefile"
13200 ac_config_files
="$ac_config_files java/stapbm"
13202 ac_config_files
="$ac_config_files python/Makefile"
13204 ac_config_files
="$ac_config_files staprun/Makefile"
13206 ac_config_files
="$ac_config_files stapbpf/Makefile"
13208 ac_config_files
="$ac_config_files httpd/Makefile httpd/docker/Makefile"
13210 ac_config_files
="$ac_config_files staprun/run-staprun"
13212 ac_config_files
="$ac_config_files staprun/guest/stapshd"
13214 ac_config_files
="$ac_config_files staprun/guest/stapsh-daemon"
13216 ac_config_files
="$ac_config_files staprun/guest/stapsh@.service"
13218 ac_config_files
="$ac_config_files stap-exporter/Makefile"
13222 # Setup "shadow" directory doc/beginners that has the basic directories setup for
13223 # xmlto in one directory (through directory links if necessary).
13224 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
13225 # the src is a directory and not a file.
13226 ac_config_commands
="$ac_config_commands doc/beginners"
13229 cat >confcache
<<\_ACEOF
13230 # This file is a shell script that caches the results of configure
13231 # tests run on this system so they can be shared between configure
13232 # scripts and configure runs, see configure's option --config-cache.
13233 # It is not useful on other systems. If it contains results you don't
13234 # want to keep, you may remove or edit it.
13236 # config.status only pays attention to the cache file if you give it
13237 # the --recheck option to rerun configure.
13239 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13240 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13241 # following values.
13245 # The following way of writing the cache mishandles newlines in values,
13246 # but we know of no workaround that is simple, portable, and efficient.
13247 # So, we kill variables containing newlines.
13248 # Ultrix sh set writes to stderr and can't be redirected directly,
13249 # and sets the high bit in the cache file unless we assign to the vars.
13251 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13252 eval ac_val
=\$
$ac_var
13256 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13257 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13260 _ | IFS | as_nl
) ;; #(
13261 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13262 *) { eval $ac_var=; unset $ac_var;} ;;
13268 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13269 *${as_nl}ac_space
=\
*)
13270 # `set' does not quote correctly, so add quotes: double-quote
13271 # substitution turns \\\\ into \\, and sed turns \\ into \.
13274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13277 # `set' quotes correctly as required by POSIX, so do not add quotes.
13278 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13287 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13289 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13291 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13292 if test -w "$cache_file"; then
13293 if test "x$cache_file" != "x/dev/null"; then
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13295 $as_echo "$as_me: updating cache $cache_file" >&6;}
13296 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13297 cat confcache
>"$cache_file"
13299 case $cache_file in #(
13301 mv -f confcache
"$cache_file"$$
&&
13302 mv -f "$cache_file"$$
"$cache_file" ;; #(
13304 mv -f confcache
"$cache_file" ;;
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13310 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13315 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13316 # Let make expand exec_prefix.
13317 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13319 DEFS
=-DHAVE_CONFIG_H
13324 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13325 # 1. Remove the extension, and $U if already installed.
13326 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13327 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13328 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13329 # will be set to the directory where LIBOBJS objects are built.
13330 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13331 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13333 LIBOBJS
=$ac_libobjs
13335 LTLIBOBJS
=$ac_ltlibobjs
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13339 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13340 if test -n "$am_sleep_pid"; then
13341 # Hide warnings about reused PIDs.
13342 wait $am_sleep_pid 2>/dev
/null
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13345 $as_echo "done" >&6; }
13346 if test -n "$EXEEXT"; then
13348 am__EXEEXT_FALSE
='#'
13350 am__EXEEXT_TRUE
='#'
13354 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13355 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13358 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13359 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13362 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13363 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13366 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13367 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13370 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13371 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
13372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13374 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
13375 as_fn_error $?
"conditional \"BUILD_TRANSLATOR\" was never defined.
13376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13378 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
13379 as_fn_error $?
"conditional \"BUILD_CRASHMOD\" was never defined.
13380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13382 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
13383 as_fn_error $?
"conditional \"BUILD_DOCS\" was never defined.
13384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13386 if test -z "${INSTALL_PREBUILT_DOCS_TRUE}" && test -z "${INSTALL_PREBUILT_DOCS_FALSE}"; then
13387 as_fn_error $?
"conditional \"INSTALL_PREBUILT_DOCS\" was never defined.
13388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13390 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
13391 as_fn_error $?
"conditional \"BUILD_REFDOCS\" was never defined.
13392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13394 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
13395 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
13396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13398 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
13399 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
13400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13402 if test -z "${BUILD_HTMLDOCS_TRUE}" && test -z "${BUILD_HTMLDOCS_FALSE}"; then
13403 as_fn_error $?
"conditional \"BUILD_HTMLDOCS\" was never defined.
13404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13406 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
13407 as_fn_error $?
"conditional \"XMLTO_STRINGPARAM\" was never defined.
13408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13410 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
13411 as_fn_error $?
"conditional \"HAVE_NSS\" was never defined.
13412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13414 if test -z "${HAVE_OPENSSL_TRUE}" && test -z "${HAVE_OPENSSL_FALSE}"; then
13415 as_fn_error $?
"conditional \"HAVE_OPENSSL\" was never defined.
13416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13418 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13419 as_fn_error $?
"conditional \"BUILD_SERVER\" was never defined.
13420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13422 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
13423 as_fn_error $?
"conditional \"HAVE_AVAHI\" was never defined.
13424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13426 if test -z "${HAVE_LIBREADLINE_TRUE}" && test -z "${HAVE_LIBREADLINE_FALSE}"; then
13427 as_fn_error $?
"conditional \"HAVE_LIBREADLINE\" was never defined.
13428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13430 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
13431 as_fn_error $?
"conditional \"BUILD_ELFUTILS\" was never defined.
13432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13434 if test -z "${HAVE_DYNINST_TRUE}" && test -z "${HAVE_DYNINST_FALSE}"; then
13435 as_fn_error $?
"conditional \"HAVE_DYNINST\" was never defined.
13436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13438 if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then
13439 as_fn_error $?
"conditional \"HAVE_LIBVIRT\" was never defined.
13440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13442 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
13443 as_fn_error $?
"conditional \"HAVE_LIBXML2\" was never defined.
13444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13446 if test -z "${BUILD_VIRT_TRUE}" && test -z "${BUILD_VIRT_FALSE}"; then
13447 as_fn_error $?
"conditional \"BUILD_VIRT\" was never defined.
13448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13450 if test -z "${HAVE_PYTHON2_PROBES_TRUE}" && test -z "${HAVE_PYTHON2_PROBES_FALSE}"; then
13451 as_fn_error $?
"conditional \"HAVE_PYTHON2_PROBES\" was never defined.
13452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13454 if test -z "${HAVE_PYTHON3_PROBES_TRUE}" && test -z "${HAVE_PYTHON3_PROBES_FALSE}"; then
13455 as_fn_error $?
"conditional \"HAVE_PYTHON3_PROBES\" was never defined.
13456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13458 if test -z "${HAVE_PYTHON_PROBES_TRUE}" && test -z "${HAVE_PYTHON_PROBES_FALSE}"; then
13459 as_fn_error $?
"conditional \"HAVE_PYTHON_PROBES\" was never defined.
13460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13462 if test -z "${HAVE_MONITOR_LIBS_TRUE}" && test -z "${HAVE_MONITOR_LIBS_FALSE}"; then
13463 as_fn_error $?
"conditional \"HAVE_MONITOR_LIBS\" was never defined.
13464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13466 if test -z "${HAVE_BPF_DECLS_TRUE}" && test -z "${HAVE_BPF_DECLS_FALSE}"; then
13467 as_fn_error $?
"conditional \"HAVE_BPF_DECLS\" was never defined.
13468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13470 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
13471 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
13472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13474 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
13475 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
13476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13478 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
13479 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
13480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13482 if test -z "${HAVE_HTTP_SUPPORT_TRUE}" && test -z "${HAVE_HTTP_SUPPORT_FALSE}"; then
13483 as_fn_error $?
"conditional \"HAVE_HTTP_SUPPORT\" was never defined.
13484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13486 if test -z "${NEED_BASE_CLIENT_CODE_TRUE}" && test -z "${NEED_BASE_CLIENT_CODE_FALSE}"; then
13487 as_fn_error $?
"conditional \"NEED_BASE_CLIENT_CODE\" was never defined.
13488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13491 : "${CONFIG_STATUS=./config.status}"
13493 ac_clean_files_save
=$ac_clean_files
13494 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13496 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13498 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13500 # Generated by $as_me.
13501 # Run this file to recreate the current configuration.
13502 # Compiler output produced by configure, useful for debugging
13503 # configure, is in config.log if it exists.
13506 ac_cs_recheck=false
13509 SHELL=\${CONFIG_SHELL-$SHELL}
13512 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13513 ## -------------------- ##
13514 ## M4sh Initialization. ##
13515 ## -------------------- ##
13517 # Be more Bourne compatible
13518 DUALCASE
=1; export DUALCASE
# for MKS sh
13519 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13522 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13523 # is contrary to our usage. Disable this feature.
13524 alias -g '${1+"$@"}'='"$@"'
13525 setopt NO_GLOB_SUBST
13527 case `(set -o) 2>/dev/null` in #(
13539 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13540 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13543 # Prefer a ksh shell builtin over an external printf program on Solaris,
13544 # but without wasting forks for bash or zsh.
13545 if test -z "$BASH_VERSION$ZSH_VERSION" \
13546 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13547 as_echo='print
-r --'
13548 as_echo_n='print
-rn --'
13549 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13550 as_echo='printf %s
\n'
13551 as_echo_n='printf %s
'
13553 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13554 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13555 as_echo_n='/usr
/ucb
/echo -n'
13557 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13558 as_echo_n_body='eval
13562 expr "X$arg" : "X\\(.*\\)$as_nl";
13563 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13565 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13567 export as_echo_n_body
13568 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13570 export as_echo_body
13571 as_echo='sh
-c $as_echo_body as_echo
'
13574 # The user is always right.
13575 if test "${PATH_SEPARATOR+set}" != set; then
13577 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13578 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13585 # We need space, tab and new line, in precisely that order. Quoting is
13586 # there to prevent editors from complaining about space-tab.
13587 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13588 # splitting by setting IFS to empty value.)
13591 # Find who we are. Look in the path if we contain no directory separator.
13594 *[\\/]* ) as_myself=$0 ;;
13595 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13596 for as_dir in $PATH
13599 test -z "$as_dir" && as_dir=.
13600 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13606 # We did not find ourselves, most probably we were run as `sh COMMAND'
13607 # in which case we are not to be found in the path.
13608 if test "x$as_myself" = x
; then
13611 if test ! -f "$as_myself"; then
13612 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13616 # Unset variables that we do not need and which cause bugs (e.g. in
13617 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13618 # suppresses any "Segmentation fault" message there. '((' could
13619 # trigger a bug in pdksh 5.2.14.
13620 for as_var
in BASH_ENV ENV MAIL MAILPATH
13621 do eval test x\
${$as_var+set} = xset \
13622 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13635 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13638 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13639 # ----------------------------------------
13640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13642 # script with STATUS, using 1 if that was 0.
13645 as_status
=$1; test $as_status -eq 0 && as_status
=1
13647 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13648 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13650 $as_echo "$as_me: error: $2" >&2
13651 as_fn_exit
$as_status
13655 # as_fn_set_status STATUS
13656 # -----------------------
13657 # Set $? to STATUS, without forking.
13658 as_fn_set_status
()
13661 } # as_fn_set_status
13663 # as_fn_exit STATUS
13664 # -----------------
13665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13669 as_fn_set_status
$1
13675 # Portably unset VAR.
13678 { eval $1=; unset $1;}
13680 as_unset
=as_fn_unset
13681 # as_fn_append VAR VALUE
13682 # ----------------------
13683 # Append the text in VALUE to the end of the definition contained in VAR. Take
13684 # advantage of any shell optimizations that allow amortized linear growth over
13685 # repeated appends, instead of the typical quadratic growth present in naive
13687 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13688 eval 'as_fn_append ()
13699 # as_fn_arith ARG...
13700 # ------------------
13701 # Perform arithmetic evaluation on the ARGs, and store the result in the
13702 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13703 # must be portable across $(()) and expr.
13704 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13705 eval 'as_fn_arith ()
13712 as_val
=`expr "$@" || test $? -eq 1`
13717 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13718 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13724 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13725 as_basename
=basename
13730 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13736 as_me
=`$as_basename -- "$0" ||
13737 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13738 X"$0" : 'X\(//\)$' \| \
13739 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13741 sed '/^.*\/\([^/][^/]*\)\/*$/{
13755 # Avoid depending upon Character Ranges.
13756 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13757 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13758 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13759 as_cr_digits
='0123456789'
13760 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13762 ECHO_C
= ECHO_N
= ECHO_T
=
13763 case `echo -n x` in #(((((
13765 case `echo 'xy\c'` in
13766 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13768 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13775 rm -f conf$$ conf$$.exe conf$$.
file
13776 if test -d conf$$.dir
; then
13777 rm -f conf$$.dir
/conf$$.
file
13780 mkdir conf$$.dir
2>/dev
/null
13782 if (echo >conf$$.
file) 2>/dev
/null
; then
13783 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13785 # ... but there are two gotchas:
13786 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13787 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13788 # In both cases, we have to default to `cp -pR'.
13789 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13791 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13799 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13800 rmdir conf$$.dir
2>/dev
/null
13805 # Create "$as_dir" as a directory, including parents if necessary.
13810 -*) as_dir
=.
/$as_dir;;
13812 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13816 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13817 *) as_qdir
=$as_dir;;
13819 as_dirs
="'$as_qdir' $as_dirs"
13820 as_dir
=`$as_dirname -- "$as_dir" ||
13821 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13822 X"$as_dir" : 'X\(//\)[^/]' \| \
13823 X"$as_dir" : 'X\(//\)$' \| \
13824 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13825 $as_echo X"$as_dir" |
13826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13830 /^X\(\/\/\)[^/].*/{
13843 test -d "$as_dir" && break
13845 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13846 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13850 if mkdir
-p .
2>/dev
/null
; then
13851 as_mkdir_p
='mkdir -p "$as_dir"'
13853 test -d .
/-p && rmdir .
/-p
13858 # as_fn_executable_p FILE
13859 # -----------------------
13860 # Test if FILE is an executable regular file.
13861 as_fn_executable_p
()
13863 test -f "$1" && test -x "$1"
13864 } # as_fn_executable_p
13865 as_test_x
='test -x'
13866 as_executable_p
=as_fn_executable_p
13868 # Sed expression to map a string onto a valid CPP name.
13869 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13871 # Sed expression to map a string onto a valid variable name.
13872 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13876 ## ----------------------------------- ##
13877 ## Main body of $CONFIG_STATUS script. ##
13878 ## ----------------------------------- ##
13880 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13883 # Save the log message, to keep $0 and so on meaningful, and to
13884 # report actual input values of CONFIG_FILES etc. instead of their
13885 # values after options handling.
13887 This file was extended by systemtap $as_me 4.2, which was
13888 generated by GNU Autoconf 2.69. Invocation command line was
13890 CONFIG_FILES = $CONFIG_FILES
13891 CONFIG_HEADERS = $CONFIG_HEADERS
13892 CONFIG_LINKS = $CONFIG_LINKS
13893 CONFIG_COMMANDS = $CONFIG_COMMANDS
13896 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13901 case $ac_config_files in *"
13902 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13905 case $ac_config_headers in *"
13906 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13911 # Files that config.status was made for.
13912 config_files="$ac_config_files"
13913 config_headers="$ac_config_headers"
13914 config_commands="$ac_config_commands"
13918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13920 \`$as_me' instantiates files and other configuration actions
13921 from templates according to the current configuration. Unless the files
13922 and actions are specified as TAGs, all are instantiated by default.
13924 Usage: $0 [OPTION]... [TAG]...
13926 -h, --help print this help, then exit
13927 -V, --version print version number and configuration settings, then exit
13928 --config print configuration, then exit
13929 -q, --quiet, --silent
13930 do not print progress messages
13931 -d, --debug don't remove temporary files
13932 --recheck update $as_me by reconfiguring in the same conditions
13933 --file=FILE[:TEMPLATE]
13934 instantiate the configuration file FILE
13935 --header=FILE[:TEMPLATE]
13936 instantiate the configuration header FILE
13938 Configuration files:
13941 Configuration headers:
13944 Configuration commands:
13947 Report bugs to <systemtap@sourceware.org>."
13950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13951 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13953 systemtap config.status 4.2
13954 configured by $0, generated by GNU Autoconf 2.69,
13955 with options \\"\$ac_cs_config\\"
13957 Copyright (C) 2012 Free Software Foundation, Inc.
13958 This config.status script is free software; the Free Software Foundation
13959 gives unlimited permission to copy, distribute and modify it."
13966 test -n "\$AWK" || AWK=awk
13969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13970 # The default lists apply if the user does not specify any file.
13976 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13977 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13981 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13993 # Handling of the options.
13994 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13996 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13997 $as_echo "$ac_cs_version"; exit ;;
13998 --config |
--confi |
--conf |
--con |
--co |
--c )
13999 $as_echo "$ac_cs_config"; exit ;;
14000 --debug |
--debu |
--deb |
--de |
--d |
-d )
14002 --file |
--fil |
--fi |
--f )
14005 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14006 '') as_fn_error $?
"missing file argument" ;;
14008 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14009 ac_need_defaults
=false
;;
14010 --header |
--heade |
--head |
--hea )
14013 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14015 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14016 ac_need_defaults
=false
;;
14018 # Conflict between --help and --header
14019 as_fn_error $?
"ambiguous option: \`$1'
14020 Try \`$0 --help' for more information.";;
14021 --help |
--hel |
-h )
14022 $as_echo "$ac_cs_usage"; exit ;;
14023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14024 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14027 # This is an error.
14028 -*) as_fn_error $?
"unrecognized option: \`$1'
14029 Try \`$0 --help' for more information." ;;
14031 *) as_fn_append ac_config_targets
" $1"
14032 ac_need_defaults
=false
;;
14038 ac_configure_extra_args
=
14040 if $ac_cs_silent; then
14042 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14047 if \$ac_cs_recheck; then
14048 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14050 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14051 CONFIG_SHELL='$SHELL'
14052 export CONFIG_SHELL
14057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14062 ## Running $as_me. ##
14068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14072 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14073 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14074 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
14075 # from automake < 1.5.
14076 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14077 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14078 LINGUAS="${LINGUAS-%UNSET%}"
14083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14085 # Handling of arguments.
14086 for ac_config_target
in $ac_config_targets
14088 case $ac_config_target in
14089 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14090 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
14091 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
14092 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
14093 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14094 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14095 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14096 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
14097 "man/cs/Makefile") CONFIG_FILES
="$CONFIG_FILES man/cs/Makefile" ;;
14098 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
14099 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
14100 "man/stap.1") CONFIG_FILES
="$CONFIG_FILES man/stap.1" ;;
14101 "man/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/stappaths.7" ;;
14102 "man/systemtap-service.8") CONFIG_FILES
="$CONFIG_FILES man/systemtap-service.8" ;;
14103 "man/cs/stap.1") CONFIG_FILES
="$CONFIG_FILES man/cs/stap.1" ;;
14104 "man/cs/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/cs/stappaths.7" ;;
14105 "man/cs/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/cs/systemtap.8" ;;
14106 "initscript/config.systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/config.systemtap" ;;
14107 "initscript/config.stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/config.stap-server" ;;
14108 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
14109 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
14110 "initscript/99stap/module-setup.sh") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/module-setup.sh" ;;
14111 "initscript/99stap/install") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/install" ;;
14112 "initscript/99stap/check") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/check" ;;
14113 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
14114 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
14115 "stapdyn/Makefile") CONFIG_FILES
="$CONFIG_FILES stapdyn/Makefile" ;;
14116 "java/Makefile") CONFIG_FILES
="$CONFIG_FILES java/Makefile" ;;
14117 "java/stapbm") CONFIG_FILES
="$CONFIG_FILES java/stapbm" ;;
14118 "python/Makefile") CONFIG_FILES
="$CONFIG_FILES python/Makefile" ;;
14119 "staprun/Makefile") CONFIG_FILES
="$CONFIG_FILES staprun/Makefile" ;;
14120 "stapbpf/Makefile") CONFIG_FILES
="$CONFIG_FILES stapbpf/Makefile" ;;
14121 "httpd/Makefile") CONFIG_FILES
="$CONFIG_FILES httpd/Makefile" ;;
14122 "httpd/docker/Makefile") CONFIG_FILES
="$CONFIG_FILES httpd/docker/Makefile" ;;
14123 "staprun/run-staprun") CONFIG_FILES
="$CONFIG_FILES staprun/run-staprun" ;;
14124 "staprun/guest/stapshd") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapshd" ;;
14125 "staprun/guest/stapsh-daemon") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh-daemon" ;;
14126 "staprun/guest/stapsh@.service") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh@.service" ;;
14127 "stap-exporter/Makefile") CONFIG_FILES
="$CONFIG_FILES stap-exporter/Makefile" ;;
14128 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
14130 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14135 # If the user did not use the arguments to specify the items to instantiate,
14136 # then the envvar interface is used. Set only those that are not.
14137 # We use the long form for the default assignment because of an extremely
14138 # bizarre bug on SunOS 4.1.3.
14139 if $ac_need_defaults; then
14140 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14141 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14142 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14145 # Have a temporary directory for convenience. Make it in the build tree
14146 # simply because there is no reason against having it here, and in addition,
14147 # creating and moving files from /tmp can sometimes cause problems.
14148 # Hook for its removal unless debugging.
14149 # Note that there is a small window in which the directory will not be cleaned:
14150 # after its creation but before its name has been assigned to `$tmp'.
14154 trap 'exit_status=$?
14155 : "${ac_tmp:=$tmp}"
14156 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14158 trap 'as_fn_exit 1' 1 2 13 15
14160 # Create a (secure) tmp directory for tmp files.
14163 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14167 tmp
=.
/conf$$
-$RANDOM
14168 (umask 077 && mkdir
"$tmp")
14169 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14172 # Set up the scripts for CONFIG_FILES section.
14173 # No need to generate them if there are no CONFIG_FILES.
14174 # This happens for instance with `./config.status config.h'.
14175 if test -n "$CONFIG_FILES"; then
14178 ac_cr
=`echo X | tr X '\015'`
14179 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14180 # But we know of no other shell where ac_cr would be empty at this
14181 # point, so we can use a bashism as a fallback.
14182 if test "x$ac_cr" = x
; then
14183 eval ac_cr
=\$
\'\\r
\'
14185 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14186 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14189 ac_cs_awk_cr
=$ac_cr
14192 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14197 echo "cat >conf$$subs.awk <<_ACEOF" &&
14198 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14200 } >conf$$subs.sh ||
14201 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14202 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14204 for ac_last_try in false false false false false :; do
14205 . ./conf$$subs.sh ||
14206 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14208 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14209 if test $ac_delim_n = $ac_delim_num; then
14211 elif $ac_last_try; then
14212 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14214 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14217 rm -f conf$$subs.sh
14219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14220 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14224 s/^/S["/; s
/!.
*/"]=/
14234 s/\(.\{148\}\)..*/\1/
14236 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14241 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14248 s/\(.\{148\}\)..*/\1/
14250 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14254 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14259 ' <conf$$subs.awk | sed '
14264 ' >>$CONFIG_STATUS || ac_write_fail=1
14265 rm -f conf$$subs.awk
14266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14268 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14269 for (key in S) S_is_set[key] = 1
14275 nfields = split(line, field, "@
")
14277 len = length(field[1])
14278 for (i = 2; i < nfields; i++) {
14280 keylen = length(key)
14281 if (S_is_set[key]) {
14283 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14284 len += length(value) + length(field[++i])
14295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14296 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14297 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14300 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14301 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14304 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14305 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14306 # trailing colons and then remove the whole line if VPATH becomes empty
14307 # (actually we leave an empty line to preserve line numbers).
14308 if test "x
$srcdir" = x.; then
14309 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14328 fi # test -n "$CONFIG_FILES"
14330 # Set up the scripts for CONFIG_HEADERS section.
14331 # No need to generate them if there are no CONFIG_HEADERS.
14332 # This happens for instance with `./config.status Makefile'.
14333 if test -n "$CONFIG_HEADERS"; then
14334 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14338 # Transform confdefs.h into an awk script `defines.awk', embedded as
14339 # here-document in config.status, that substitutes the proper values into
14340 # config.h.in to produce config.h.
14342 # Create a delimiter string that does not exist in confdefs.h, to ease
14343 # handling of long lines.
14345 for ac_last_try in false false :; do
14346 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14347 if test -z "$ac_tt"; then
14349 elif $ac_last_try; then
14350 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14352 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14356 # For the awk script, D is an array of macro values keyed by name,
14357 # likewise P contains macro parameters if any. Preserve backslash
14358 # newline sequences.
14360 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14362 s/.\{148\}/&'"$ac_delim"'/g
14365 s/^[ ]*#[ ]*define[ ][ ]*/ /
14372 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14374 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14378 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14379 D["\
1"]=" \
3\\\\\\n
"\\/p
14381 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14386 s/.\{148\}/&'"$ac_delim"'/g
14391 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14394 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14396 ' <confdefs.h | sed '
14397 s/'"$ac_delim"'/"\\\
14398 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14401 for (key in D) D_is_set[key] = 1
14404 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14406 split(line, arg, " ")
14407 if (arg[1] == "#") {
14411 defundef
= substr
(arg
[1], 2)
14414 split(mac1
, mac2
, "(") #)
14416 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14417 if (D_is_set
[macro
]) {
14418 # Preserve the white space surrounding the "#".
14419 print prefix
"define", macro P
[macro
] D
[macro
]
14422 # Replace #undef with comments. This is necessary, for example,
14423 # in the case of _POSIX_SOURCE, which is predefined and required
14424 # on some systems where configure will not decide to define it.
14425 if (defundef
== "undef") {
14426 print
"/*", prefix defundef
, macro
, "*/"
14434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14435 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14436 fi # test -n "$CONFIG_HEADERS"
14439 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14444 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14446 case $ac_mode$ac_tag in
14448 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14449 :[FH
]-) ac_tag
=-:-;;
14450 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14467 -) ac_f
="$ac_tmp/stdin";;
14468 *) # Look for the file first in the build tree, then in the source tree
14469 # (if the path is not absolute). The absolute path cannot be DOS-style,
14470 # because $ac_f cannot contain `:'.
14474 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14476 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14478 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14479 as_fn_append ac_file_inputs
" '$ac_f'"
14482 # Let's still pretend it is `configure' which instantiates (i.e., don't
14483 # use $as_me), people would be surprised to read:
14484 # /* config.h. Generated by config.status. */
14485 configure_input
='Generated from '`
14486 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14488 if test x
"$ac_file" != x-
; then
14489 configure_input
="$ac_file. $configure_input"
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14491 $as_echo "$as_me: creating $ac_file" >&6;}
14493 # Neutralize special characters interpreted by sed in replacement strings.
14494 case $configure_input in #(
14495 *\
&* |
*\|
* |
*\\* )
14496 ac_sed_conf_input
=`$as_echo "$configure_input" |
14497 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14498 *) ac_sed_conf_input
=$configure_input;;
14502 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14503 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14508 ac_dir
=`$as_dirname -- "$ac_file" ||
14509 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14510 X"$ac_file" : 'X\(//\)[^/]' \| \
14511 X"$ac_file" : 'X\(//\)$' \| \
14512 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14513 $as_echo X"$ac_file" |
14514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14518 /^X\(\/\/\)[^/].*/{
14531 as_dir
="$ac_dir"; as_fn_mkdir_p
14535 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14537 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14538 # A ".." for each directory in $ac_dir_suffix.
14539 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14540 case $ac_top_builddir_sub in
14541 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14542 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14545 ac_abs_top_builddir
=$ac_pwd
14546 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14547 # for backward compatibility:
14548 ac_top_builddir
=$ac_top_build_prefix
14551 .
) # We are building in place.
14553 ac_top_srcdir
=$ac_top_builddir_sub
14554 ac_abs_top_srcdir
=$ac_pwd ;;
14555 [\\/]* | ?
:[\\/]* ) # Absolute name.
14556 ac_srcdir
=$srcdir$ac_dir_suffix;
14557 ac_top_srcdir
=$srcdir
14558 ac_abs_top_srcdir
=$srcdir ;;
14559 *) # Relative name.
14560 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14561 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14562 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14564 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14574 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14575 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14577 ac_MKDIR_P
=$MKDIR_P
14579 [\\/$
]* | ?
:[\\/]* ) ;;
14580 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14585 # If the template does not know about datarootdir, expand it.
14586 # FIXME: This hack should be removed a few years after 2.60.
14587 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14598 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14599 *datarootdir
*) ac_datarootdir_seen
=yes;;
14600 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14602 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14605 ac_datarootdir_hack='
14606 s&@datadir@&$datadir&g
14607 s&@docdir@&$docdir&g
14608 s&@infodir@&$infodir&g
14609 s&@localedir@&$localedir&g
14610 s&@mandir@&$mandir&g
14611 s&\\\${datarootdir}&$datarootdir&g' ;;
14615 # Neutralize VPATH when `$srcdir' = `.'.
14616 # Shell code in configure.ac might set extrasub.
14617 # FIXME: do we really want to maintain this feature?
14618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14619 ac_sed_extra="$ac_vpsub
14622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14624 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14625 s|@configure_input@|
$ac_sed_conf_input|
;t t
14626 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14627 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14628 s
&@srcdir@
&$ac_srcdir&;t t
14629 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14630 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14631 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14632 s
&@builddir@
&$ac_builddir&;t t
14633 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14634 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14635 s
&@INSTALL@
&$ac_INSTALL&;t t
14636 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14637 $ac_datarootdir_hack
14639 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14640 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14643 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14644 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14645 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14647 which seems to be undefined. Please make sure it is defined" >&5
14648 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14649 which seems to be undefined. Please make sure it is defined" >&2;}
14651 rm -f "$ac_tmp/stdin"
14653 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14654 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14662 if test x"$ac_file" != x-; then
14664 $as_echo "/* $configure_input */" \
14665 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14666 } >"$ac_tmp/config.h" \
14667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14668 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14670 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14673 mv "$ac_tmp/config.h" "$ac_file" \
14674 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14677 $as_echo "/* $configure_input */" \
14678 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14679 || as_fn_error $? "could not create -" "$LINENO" 5
14681 # Compute "$ac_file"'s index
in $config_headers.
14684 for _am_header
in $config_headers :; do
14685 case $_am_header in
14686 $_am_arg |
$_am_arg:* )
14689 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14692 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14693 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14694 X"$_am_arg" : 'X\(//\)[^/]' \| \
14695 X"$_am_arg" : 'X\(//\)$' \| \
14696 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14697 $as_echo X"$_am_arg" |
14698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14702 /^X\(\/\/\)[^/].*/{
14714 s/.*/./; q'`/stamp-h
$_am_stamp_count
14717 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14718 $as_echo "$as_me: executing $ac_file commands" >&6;}
14723 case $ac_file$ac_mode in
14724 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14725 # Older Autoconf quotes --file arguments for eval, but not when files
14726 # are listed without --file. Let's play safe and only enable the eval
14727 # if we detect the quoting.
14728 # TODO: see whether this extra hack can be removed once we start
14729 # requiring Autoconf 2.70 or later.
14730 case $CONFIG_FILES in #(
14732 eval set x
"$CONFIG_FILES" ;; #(
14734 set x
$CONFIG_FILES ;; #(
14739 # Used to flag and report bootstrapping failures.
14743 # Strip MF so we end up with the name of the file.
14744 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14745 # Check whether this is an Automake generated Makefile which includes
14746 # dependency-tracking related rules and includes.
14747 # Grep'ing the whole file directly is not great: AIX grep has a line
14748 # limit of 2048, but all sed's we know have understand at least 4000.
14749 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
14751 am_dirpart
=`$as_dirname -- "$am_mf" ||
14752 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14753 X"$am_mf" : 'X\(//\)[^/]' \| \
14754 X"$am_mf" : 'X\(//\)$' \| \
14755 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14756 $as_echo X"$am_mf" |
14757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14761 /^X\(\/\/\)[^/].*/{
14774 am_filepart
=`$as_basename -- "$am_mf" ||
14775 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14776 X"$am_mf" : 'X\(//\)$' \| \
14777 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14778 $as_echo X/"$am_mf" |
14779 sed '/^.*\/\([^/][^/]*\)\/*$/{
14792 { echo "$as_me:$LINENO: cd "$am_dirpart" \
14793 && sed -e '/# am--include-marker/d' "$am_filepart" \
14794 | $MAKE -f - am--depfiles" >&5
14795 (cd "$am_dirpart" \
14796 && sed -e '/# am--include-marker/d' "$am_filepart" \
14797 |
$MAKE -f - am--depfiles
) >&5 2>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } || am_rc
=$?
14802 if test $am_rc -ne 0; then
14803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14805 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
14806 for automatic dependency tracking. Try re-running configure with the
14807 '--disable-dependency-tracking' option to at least be able to build
14808 the package (albeit without support for automatic dependency tracking).
14809 See \`config.log' for more details" "$LINENO" 5; }
14811 { am_dirpart
=; unset am_dirpart
;}
14812 { am_filepart
=; unset am_filepart
;}
14813 { am_mf
=; unset am_mf
;}
14814 { am_rc
=; unset am_rc
;}
14815 rm -f conftest-deps.mk
14818 "po-directories":C
)
14819 for ac_file
in $CONFIG_FILES; do
14820 # Support "outfile[:infile[:infile...]]"
14822 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14824 # PO directories have a Makefile.in generated from Makefile.in.in.
14825 case "$ac_file" in */Makefile.
in)
14826 # Adjust a relative srcdir.
14827 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14828 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
14829 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14830 # In autoconf-2.13 it is called $ac_given_srcdir.
14831 # In autoconf-2.50 it is called $srcdir.
14832 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14833 case "$ac_given_srcdir" in
14834 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14835 /*) top_srcdir
="$ac_given_srcdir" ;;
14836 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14838 # Treat a directory as a PO directory if and only if it has a
14839 # POTFILES.in file. This allows packages to have multiple PO
14840 # directories under different names or in different locations.
14841 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14842 rm -f "$ac_dir/POTFILES"
14843 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14844 gt_tab
=`printf '\t'`
14845 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"
14846 POMAKEFILEDEPS
="POTFILES.in"
14847 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14848 # on $ac_dir but don't depend on user-specified configuration
14850 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14851 # The LINGUAS file contains the set of available languages.
14852 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14853 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14855 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14856 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14857 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14858 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14860 # The set of available languages was given in configure.in.
14861 # Hide the ALL_LINGUAS assignment from automake < 1.5.
14862 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14865 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14866 # Compute UPDATEPOFILES
14867 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14868 # Compute DUMMYPOFILES
14869 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14871 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14872 case "$ac_given_srcdir" in
14874 *) srcdirpre
='$(srcdir)/' ;;
14880 for lang
in $ALL_LINGUAS; do
14881 POFILES
="$POFILES $srcdirpre$lang.po"
14882 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14883 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14884 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14886 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14887 # environment variable.
14889 if test -n "$ALL_LINGUAS"; then
14890 for presentlang
in $ALL_LINGUAS; do
14892 if test "%UNSET%" != "$LINGUAS"; then
14893 desiredlanguages
="$LINGUAS"
14895 desiredlanguages
="$ALL_LINGUAS"
14897 for desiredlang
in $desiredlanguages; do
14898 # Use the presentlang catalog if desiredlang is
14899 # a. equal to presentlang, or
14900 # b. a variant of presentlang (because in this case,
14901 # presentlang can be used as a fallback for messages
14902 # which are not translated in the desiredlang catalog).
14903 case "$desiredlang" in
14904 "$presentlang"*) useit
=yes;;
14907 if test $useit = yes; then
14908 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14913 if test -n "$INST_LINGUAS"; then
14914 for lang
in $INST_LINGUAS; do
14915 CATALOGS
="$CATALOGS $lang.gmo"
14918 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14919 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"
14920 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14921 if test -f "$f"; then
14923 *.orig |
*.bak |
*~
) ;;
14924 *) cat "$f" >> "$ac_dir/Makefile" ;;
14932 "run-stap":F
) chmod +x run-stap
;;
14933 "dtrace":F
) chmod +x dtrace
;;
14934 "java/stapbm":F
) chmod +x java
/stapbm
;;
14935 "staprun/run-staprun":F
) chmod +x staprun
/run-staprun
;;
14936 "staprun/guest/stapshd":F
) chmod +x staprun
/guest
/stapshd
;;
14937 "staprun/guest/stapsh-daemon":F
) chmod +x staprun
/guest
/stapsh-daemon
;;
14938 "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
;;
14946 ac_clean_files
=$ac_clean_files_save
14948 test $ac_write_fail = 0 ||
14949 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14952 # configure is writing to config.log, and then calls config.status.
14953 # config.status does its own redirection, appending to config.log.
14954 # Unfortunately, on DOS this fails, as config.log is still kept open
14955 # by configure, so config.status won't be able to write to it; its
14956 # output is simply discarded. So we exec the FD to /dev/null,
14957 # effectively closing config.log, so it can be properly (re)opened and
14958 # appended to by config.status. When coming back to configure, we
14959 # need to make the FD available again.
14960 if test "$no_create" != yes; then
14962 ac_config_status_args
=
14963 test "$silent" = yes &&
14964 ac_config_status_args
="$ac_config_status_args --quiet"
14966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14969 # would make configure fail if this is the last instruction.
14970 $ac_cs_success || as_fn_exit
1
14974 # CONFIG_SUBDIRS section.
14976 if test "$no_recursion" != yes; then
14978 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
14979 # so they do not pile up.
14980 ac_sub_configure_args
=
14982 eval "set x $ac_configure_args"
14986 if test -n "$ac_prev"; then
14991 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
14992 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
14993 ac_prev
=cache_file
;;
14994 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
14995 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
14998 --config-cache |
-C)
15000 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
15002 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
15004 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
15006 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
15008 --disable-option-checking)
15012 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15014 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
15018 # Always prepend --prefix to ensure using the same prefix
15019 # in subdir configurations.
15020 ac_arg
="--prefix=$prefix"
15022 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15024 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
15027 if test "$silent" = yes; then
15028 ac_sub_configure_args
="--silent $ac_sub_configure_args"
15031 # Always prepend --disable-option-checking to silence warnings, since
15032 # different subdirs can have different --enable and --with options.
15033 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
15036 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
15038 # Do not complain, so a configure script can configure whichever
15039 # parts of a large source tree are present.
15040 test -d "$srcdir/$ac_dir" ||
continue
15042 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15043 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15044 $as_echo "$ac_msg" >&6
15045 as_dir
="$ac_dir"; as_fn_mkdir_p
15049 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15051 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15052 # A ".." for each directory in $ac_dir_suffix.
15053 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15054 case $ac_top_builddir_sub in
15055 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15056 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15059 ac_abs_top_builddir
=$ac_pwd
15060 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15061 # for backward compatibility:
15062 ac_top_builddir
=$ac_top_build_prefix
15065 .
) # We are building in place.
15067 ac_top_srcdir
=$ac_top_builddir_sub
15068 ac_abs_top_srcdir
=$ac_pwd ;;
15069 [\\/]* | ?
:[\\/]* ) # Absolute name.
15070 ac_srcdir
=$srcdir$ac_dir_suffix;
15071 ac_top_srcdir
=$srcdir
15072 ac_abs_top_srcdir
=$srcdir ;;
15073 *) # Relative name.
15074 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15075 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15076 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15078 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15083 # Check for guested configure; otherwise get Cygnus style configure.
15084 if test -f "$ac_srcdir/configure.gnu"; then
15085 ac_sub_configure
=$ac_srcdir/configure.gnu
15086 elif test -f "$ac_srcdir/configure"; then
15087 ac_sub_configure
=$ac_srcdir/configure
15088 elif test -f "$ac_srcdir/configure.in"; then
15089 # This should be Cygnus configure.
15090 ac_sub_configure
=$ac_aux_dir/configure
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15093 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15097 # The recursion is here.
15098 if test -n "$ac_sub_configure"; then
15099 # Make the cache file name correct relative to the subdirectory.
15100 case $cache_file in
15101 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
15102 *) # Relative name.
15103 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
15106 { $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
15107 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15108 # The eval makes quoting arguments work.
15109 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15110 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15111 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15117 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15119 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15123 if test "${prefix}" = "/usr/local"; then
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
15125 $as_echo "$as_me: " >&6;}
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
15127 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
15129 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
15131 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
15133 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: is not supported." >&5
15135 $as_echo "$as_me: is not supported." >&6;}