2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemtap 2.9.
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
='2.9'
584 PACKAGE_STRING
='systemtap 2.9'
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
645 support_section_question
668 HAVE_LIBREADLINE_FALSE
669 HAVE_LIBREADLINE_TRUE
685 BUILD_PDFREFDOCS_FALSE
686 BUILD_PDFREFDOCS_TRUE
687 XMLTO_STRINGPARAM_FALSE
688 XMLTO_STRINGPARAM_TRUE
706 BUILD_TRANSLATOR_FALSE
707 BUILD_TRANSLATOR_TRUE
719 XGETTEXT_EXTRA_OPTIONS
727 GETTEXT_MACRO_VERSION
759 MAINTAINER_MODE_FALSE
773 INSTALL_STRIP_PROGRAM
827 program_transform_name
840 enable_option_checking
842 enable_maintainer_mode
843 enable_dependency_tracking
872 ac_precious_vars
='build_alias
898 ac_subdirs_all
='testsuite'
900 # Initialize some variables set by options.
902 ac_init_version
=false
903 ac_unrecognized_opts
=
905 # The variables have the same names as the options, with
906 # dashes changed to underlines.
914 program_transform_name
=s
,x
,x
,
922 # Installation directory options.
923 # These are left unexpanded so users can "make install exec_prefix=/foo"
924 # and all the variables that are supposed to be based on exec_prefix
925 # by default will actually change.
926 # Use braces instead of parens because sh, perl, etc. also accept them.
927 # (The list follows the same order as the GNU Coding Standards.)
928 bindir
='${exec_prefix}/bin'
929 sbindir
='${exec_prefix}/sbin'
930 libexecdir
='${exec_prefix}/libexec'
931 datarootdir
='${prefix}/share'
932 datadir
='${datarootdir}'
933 sysconfdir
='${prefix}/etc'
934 sharedstatedir
='${prefix}/com'
935 localstatedir
='${prefix}/var'
936 includedir
='${prefix}/include'
937 oldincludedir
='/usr/include'
938 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
939 infodir
='${datarootdir}/info'
944 libdir
='${exec_prefix}/lib'
945 localedir
='${datarootdir}/locale'
946 mandir
='${datarootdir}/man'
952 # If the previous option needs an argument, assign it.
953 if test -n "$ac_prev"; then
954 eval $ac_prev=\
$ac_option
960 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
965 # Accept the important Cygnus configure options, so we can diagnose typos.
967 case $ac_dashdash$ac_option in
971 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
973 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
976 -build |
--build |
--buil |
--bui |
--bu)
977 ac_prev
=build_alias
;;
978 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
979 build_alias
=$ac_optarg ;;
981 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
982 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
983 ac_prev
=cache_file
;;
984 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
985 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
986 cache_file
=$ac_optarg ;;
989 cache_file
=config.cache
;;
991 -datadir |
--datadir |
--datadi |
--datad)
993 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
994 datadir
=$ac_optarg ;;
996 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
997 |
--dataroo |
--dataro |
--datar)
998 ac_prev
=datarootdir
;;
999 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1000 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1001 datarootdir
=$ac_optarg ;;
1003 -disable-* |
--disable-*)
1004 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1007 as_fn_error $?
"invalid feature name: $ac_useropt"
1008 ac_useropt_orig
=$ac_useropt
1009 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010 case $ac_user_opts in
1012 "enable_
$ac_useropt"
1014 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1015 ac_unrecognized_sep
=', ';;
1017 eval enable_
$ac_useropt=no
;;
1019 -docdir |
--docdir |
--docdi |
--doc |
--do)
1021 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1022 docdir
=$ac_optarg ;;
1024 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1026 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1027 dvidir
=$ac_optarg ;;
1029 -enable-* |
--enable-*)
1030 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1033 as_fn_error $?
"invalid feature name: $ac_useropt"
1034 ac_useropt_orig
=$ac_useropt
1035 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1038 "enable_
$ac_useropt"
1040 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1041 ac_unrecognized_sep
=', ';;
1043 eval enable_
$ac_useropt=\
$ac_optarg ;;
1045 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1046 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1047 |
--exec |
--exe |
--ex)
1048 ac_prev
=exec_prefix
;;
1049 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1050 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1051 |
--exec=* |
--exe=* |
--ex=*)
1052 exec_prefix
=$ac_optarg ;;
1054 -gas |
--gas |
--ga |
--g)
1055 # Obsolete; use --with-gas.
1058 -help |
--help |
--hel |
--he |
-h)
1059 ac_init_help
=long
;;
1060 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1061 ac_init_help
=recursive
;;
1062 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1063 ac_init_help
=short
;;
1065 -host |
--host |
--hos |
--ho)
1066 ac_prev
=host_alias
;;
1067 -host=* |
--host=* |
--hos=* |
--ho=*)
1068 host_alias
=$ac_optarg ;;
1070 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1072 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1074 htmldir
=$ac_optarg ;;
1076 -includedir |
--includedir |
--includedi |
--included |
--include \
1077 |
--includ |
--inclu |
--incl |
--inc)
1078 ac_prev
=includedir
;;
1079 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1080 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1081 includedir
=$ac_optarg ;;
1083 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1085 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1086 infodir
=$ac_optarg ;;
1088 -libdir |
--libdir |
--libdi |
--libd)
1090 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1091 libdir
=$ac_optarg ;;
1093 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1094 |
--libexe |
--libex |
--libe)
1095 ac_prev
=libexecdir
;;
1096 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1097 |
--libexe=* |
--libex=* |
--libe=*)
1098 libexecdir
=$ac_optarg ;;
1100 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1101 ac_prev
=localedir
;;
1102 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1103 localedir
=$ac_optarg ;;
1105 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1106 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1107 ac_prev
=localstatedir
;;
1108 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1109 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1110 localstatedir
=$ac_optarg ;;
1112 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1114 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1115 mandir
=$ac_optarg ;;
1117 -nfp |
--nfp |
--nf)
1118 # Obsolete; use --without-fp.
1121 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1122 |
--no-cr |
--no-c |
-n)
1125 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1126 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1129 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1130 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1131 |
--oldin |
--oldi |
--old |
--ol |
--o)
1132 ac_prev
=oldincludedir
;;
1133 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1134 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1135 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1136 oldincludedir
=$ac_optarg ;;
1138 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1140 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1141 prefix
=$ac_optarg ;;
1143 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1144 |
--program-pre |
--program-pr |
--program-p)
1145 ac_prev
=program_prefix
;;
1146 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1147 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1148 program_prefix
=$ac_optarg ;;
1150 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1151 |
--program-suf |
--program-su |
--program-s)
1152 ac_prev
=program_suffix
;;
1153 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1154 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1155 program_suffix
=$ac_optarg ;;
1157 -program-transform-name |
--program-transform-name \
1158 |
--program-transform-nam |
--program-transform-na \
1159 |
--program-transform-n |
--program-transform- \
1160 |
--program-transform |
--program-transfor \
1161 |
--program-transfo |
--program-transf \
1162 |
--program-trans |
--program-tran \
1163 |
--progr-tra |
--program-tr |
--program-t)
1164 ac_prev
=program_transform_name
;;
1165 -program-transform-name=* |
--program-transform-name=* \
1166 |
--program-transform-nam=* |
--program-transform-na=* \
1167 |
--program-transform-n=* |
--program-transform-=* \
1168 |
--program-transform=* |
--program-transfor=* \
1169 |
--program-transfo=* |
--program-transf=* \
1170 |
--program-trans=* |
--program-tran=* \
1171 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1172 program_transform_name
=$ac_optarg ;;
1174 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1176 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1177 pdfdir
=$ac_optarg ;;
1179 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1181 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1184 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1185 |
-silent |
--silent |
--silen |
--sile |
--sil)
1188 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1190 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1192 sbindir
=$ac_optarg ;;
1194 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1195 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1196 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1198 ac_prev
=sharedstatedir
;;
1199 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1200 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1201 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1203 sharedstatedir
=$ac_optarg ;;
1205 -site |
--site |
--sit)
1207 -site=* |
--site=* |
--sit=*)
1210 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1212 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1213 srcdir
=$ac_optarg ;;
1215 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1216 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1217 ac_prev
=sysconfdir
;;
1218 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1219 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1220 sysconfdir
=$ac_optarg ;;
1222 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1223 ac_prev
=target_alias
;;
1224 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1225 target_alias
=$ac_optarg ;;
1227 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1230 -version |
--version |
--versio |
--versi |
--vers |
-V)
1231 ac_init_version
=: ;;
1234 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1235 # Reject names that are not valid shell variable names.
1236 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1237 as_fn_error $?
"invalid package name: $ac_useropt"
1238 ac_useropt_orig
=$ac_useropt
1239 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1240 case $ac_user_opts in
1244 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1245 ac_unrecognized_sep
=', ';;
1247 eval with_
$ac_useropt=\
$ac_optarg ;;
1249 -without-* |
--without-*)
1250 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1253 as_fn_error $?
"invalid package name: $ac_useropt"
1254 ac_useropt_orig
=$ac_useropt
1255 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1260 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1261 ac_unrecognized_sep
=', ';;
1263 eval with_
$ac_useropt=no
;;
1266 # Obsolete; use --with-x.
1269 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1270 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1271 ac_prev
=x_includes
;;
1272 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1273 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1274 x_includes
=$ac_optarg ;;
1276 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1277 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1278 ac_prev
=x_libraries
;;
1279 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1280 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1281 x_libraries
=$ac_optarg ;;
1283 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1284 Try \`$0 --help' for more information"
1288 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1289 # Reject names that are not valid shell variable names.
1290 case $ac_envvar in #(
1291 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1292 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1294 eval $ac_envvar=\
$ac_optarg
1295 export $ac_envvar ;;
1298 # FIXME: should be removed in autoconf 3.0.
1299 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1300 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1301 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1302 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1308 if test -n "$ac_prev"; then
1309 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1310 as_fn_error $?
"missing argument to $ac_option"
1313 if test -n "$ac_unrecognized_opts"; then
1314 case $enable_option_checking in
1316 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1317 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1321 # Check all directory arguments for consistency.
1322 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1323 datadir sysconfdir sharedstatedir localstatedir includedir \
1324 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1325 libdir localedir mandir
1327 eval ac_val
=\$
$ac_var
1328 # Remove trailing slashes.
1331 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1332 eval $ac_var=\
$ac_val;;
1334 # Be sure to have absolute directory names.
1336 [\\/$
]* | ?
:[\\/]* ) continue;;
1337 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1339 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1342 # There might be people who depend on the old broken behavior: `$host'
1343 # used to hold the argument of --host etc.
1344 # FIXME: To remove some day.
1347 target
=$target_alias
1349 # FIXME: To remove some day.
1350 if test "x$host_alias" != x
; then
1351 if test "x$build_alias" = x
; then
1352 cross_compiling
=maybe
1353 elif test "x$build_alias" != "x$host_alias"; then
1359 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1361 test "$silent" = yes && exec 6>/dev
/null
1364 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1365 ac_ls_di
=`ls -di .` &&
1366 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1367 as_fn_error $?
"working directory cannot be determined"
1368 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1369 as_fn_error $?
"pwd does not report name of working directory"
1372 # Find the source files, if location was not specified.
1373 if test -z "$srcdir"; then
1374 ac_srcdir_defaulted
=yes
1375 # Try the directory containing this script, then the parent directory.
1376 ac_confdir
=`$as_dirname -- "$as_myself" ||
1377 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1378 X"$as_myself" : 'X\(//\)[^/]' \| \
1379 X"$as_myself" : 'X\(//\)$' \| \
1380 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1381 $as_echo X"$as_myself" |
1382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1404 ac_srcdir_defaulted
=no
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1407 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1408 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1410 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1412 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1414 # When building in place, set srcdir=.
1415 if test "$ac_abs_confdir" = "$ac_pwd"; then
1418 # Remove unnecessary trailing slashes from srcdir.
1419 # Double slashes in file names in object file debugging info
1420 # mess up M-x gdb in Emacs.
1422 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1424 for ac_var
in $ac_precious_vars; do
1425 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1426 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1427 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1428 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1432 # Report the --help message.
1434 if test "$ac_init_help" = "long"; then
1435 # Omit some internal or obsolete options to make the list less imposing.
1436 # This message is too long to be a string in the A/UX 3.1 sh.
1438 \`configure' configures systemtap 2.9 to adapt to many kinds of systems.
1440 Usage: $0 [OPTION]... [VAR=VALUE]...
1442 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1443 VAR=VALUE. See below for descriptions of some of the useful variables.
1445 Defaults for the options are specified in brackets.
1448 -h, --help display this help and exit
1449 --help=short display options specific to this package
1450 --help=recursive display the short help of all the included packages
1451 -V, --version display version information and exit
1452 -q, --quiet, --silent do not print \`checking ...' messages
1453 --cache-file=FILE cache test results in FILE [disabled]
1454 -C, --config-cache alias for \`--cache-file=config.cache'
1455 -n, --no-create do not create output files
1456 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1458 Installation directories:
1459 --prefix=PREFIX install architecture-independent files in PREFIX
1460 [$ac_default_prefix]
1461 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1464 By default, \`make install' will install all the files in
1465 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1466 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1467 for instance \`--prefix=\$HOME'.
1469 For better control, use the options below.
1471 Fine tuning of the installation directories:
1472 --bindir=DIR user executables [EPREFIX/bin]
1473 --sbindir=DIR system admin executables [EPREFIX/sbin]
1474 --libexecdir=DIR program executables [EPREFIX/libexec]
1475 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1476 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1477 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1478 --libdir=DIR object code libraries [EPREFIX/lib]
1479 --includedir=DIR C header files [PREFIX/include]
1480 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1481 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1482 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1483 --infodir=DIR info documentation [DATAROOTDIR/info]
1484 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1485 --mandir=DIR man documentation [DATAROOTDIR/man]
1486 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1487 --htmldir=DIR html documentation [DOCDIR]
1488 --dvidir=DIR dvi documentation [DOCDIR]
1489 --pdfdir=DIR pdf documentation [DOCDIR]
1490 --psdir=DIR ps documentation [DOCDIR]
1496 --program-prefix=PREFIX prepend PREFIX to installed program names
1497 --program-suffix=SUFFIX append SUFFIX to installed program names
1498 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1501 --build=BUILD configure
for building on BUILD
[guessed
]
1502 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1503 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1507 if test -n "$ac_init_help"; then
1508 case $ac_init_help in
1509 short | recursive
) echo "Configuration of systemtap 2.9:";;
1514 --disable-option-checking ignore unrecognized
--enable/--with options
1515 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1516 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1517 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1518 --disable-silent-rules verbose build output
(undo
: "make V=0")
1519 --enable-maintainer-mode
1520 enable make rules and dependencies not useful
(and
1521 sometimes confusing
) to the casual installer
1522 --enable-dependency-tracking
1523 do not reject slow dependency extractors
1524 --disable-dependency-tracking
1525 speeds up one-time build
1526 --disable-largefile omit support
for large files
1527 --disable-nls do not use Native Language Support
1528 --disable-rpath do not hardcode runtime library paths
1529 --enable-prologues make -P prologue-searching default
1530 --disable-sdt-probes disable process.mark probes
in stap
, staprun
, stapio
1531 --disable-ssp disable gcc stack-protector
1532 --enable-pie enable position-independent-executable
1533 --enable-sqlite build with sqlite support
1534 --disable-translator build only runtime utilities
1535 --enable-crash[=DIRECTORY
]
1536 enable crash extension
(default is disabled
).
1537 Optional DIRECTORY is the path to the crash header
1538 file (needed
if installed
in a non-standard
1540 --enable-docs enable building documentation
(default on
if latex
1542 --enable-refdocs enable building reference documentation
(default on
1543 if xmlto etc. found and other documentation built
).
1544 --enable-server enable building of stap-server
(default on
if nss
1546 --enable-virt enable building of stapvirt support
(default on
if
1547 libvirt etc. found
).
1550 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1551 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1552 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1553 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1554 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1555 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1556 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1557 --without-nss Do not use NSS even
if present
1558 --with-dracutstap=DIR Install dracut module files
in DIR
1559 --without-avahi Do not use Avahi even
if present
1560 --with-rpm query rpm database
for missing debuginfos
1561 --with-python3 prefer
/usr
/bin
/python3
1562 --with-elfutils=DIRECTORY
1563 find elfutils
source code
in DIRECTORY
1564 --with-dyninst=DIRECTORY
1565 find dyninst headers
/libraries
in DIRECTORY
1566 --without-selinux Do not use libselinux even
if present
1567 --with-java=DIRECTORY Specify JDK directory to compile libHelperSDT.so
1568 against
(default is
/usr
/lib
/jvm
/java
)
1569 --with-extra-version=STRING
1570 Add STRING to stap
-V version
1572 Some influential environment variables
:
1573 CC C compiler
command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1576 nonstandard directory
<lib dir
>
1577 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1578 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1579 you have headers
in a nonstandard directory
<include dir
>
1581 CXX C
++ compiler
command
1582 CXXFLAGS C
++ compiler flags
1583 PKG_CONFIG path to pkg-config utility
1585 directories to add to pkg-config
's search path
1587 path overriding pkg-config's built-in search path
1588 nss_CFLAGS C compiler flags
for nss
, overriding pkg-config
1589 nss_LIBS linker flags
for nss
, overriding pkg-config
1591 C compiler flags
for avahi
, overriding pkg-config
1592 avahi_LIBS linker flags
for avahi
, overriding pkg-config
1593 CXXCPP C
++ preprocessor
1595 C compiler flags
for libvirt
, overriding pkg-config
1597 linker flags
for libvirt
, overriding pkg-config
1599 C compiler flags
for libxml2
, overriding pkg-config
1601 linker flags
for libxml2
, overriding pkg-config
1603 C compiler flags
for selinux
, overriding pkg-config
1605 linker flags
for selinux
, overriding pkg-config
1607 Use these variables to override the choices made by
`configure' or to help
1608 it to find libraries and programs with nonstandard names/locations.
1610 Report bugs to <systemtap@sourceware.org>.
1615 if test "$ac_init_help" = "recursive"; then
1616 # If there are subdirs, report their specific --help.
1617 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1618 test -d "$ac_dir" ||
1619 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1627 # A ".." for each directory in $ac_dir_suffix.
1628 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1629 case $ac_top_builddir_sub in
1630 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1631 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1634 ac_abs_top_builddir=$ac_pwd
1635 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1636 # for backward compatibility:
1637 ac_top_builddir=$ac_top_build_prefix
1640 .) # We are building in place.
1642 ac_top_srcdir=$ac_top_builddir_sub
1643 ac_abs_top_srcdir=$ac_pwd ;;
1644 [\\/]* | ?:[\\/]* ) # Absolute name.
1645 ac_srcdir=$srcdir$ac_dir_suffix;
1646 ac_top_srcdir=$srcdir
1647 ac_abs_top_srcdir=$srcdir ;;
1649 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1650 ac_top_srcdir=$ac_top_build_prefix$srcdir
1651 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1653 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1655 cd "$ac_dir" || { ac_status=$?; continue; }
1656 # Check for guested configure.
1657 if test -f "$ac_srcdir/configure.gnu"; then
1659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1660 elif test -f "$ac_srcdir/configure"; then
1662 $SHELL "$ac_srcdir/configure" --help=recursive
1664 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1666 cd "$ac_pwd" || { ac_status=$?; break; }
1670 test -n "$ac_init_help" && exit $ac_status
1671 if $ac_init_version; then
1673 systemtap configure 2.9
1674 generated by GNU Autoconf 2.69
1676 Copyright (C) 2012 Free Software Foundation, Inc.
1677 This configure script is free software; the Free Software Foundation
1678 gives unlimited permission to copy, distribute and modify it.
1683 ## ------------------------ ##
1684 ## Autoconf initialization. ##
1685 ## ------------------------ ##
1687 # ac_fn_c_try_compile LINENO
1688 # --------------------------
1689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1690 ac_fn_c_try_compile ()
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext
1694 if { { ac_try="$ac_compile"
1696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1697 *) ac_try_echo
=$ac_try;;
1699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1703 if test -s conftest.err
; then
1704 grep -v '^ *+' conftest.err
>conftest.er1
1705 cat conftest.er1
>&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.
$ac_objext; then :
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.
$ac_ext >&5
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status
$ac_retval
1723 } # ac_fn_c_try_compile
1725 # ac_fn_c_try_cpp LINENO
1726 # ----------------------
1727 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1731 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } > conftest.i && {
1747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 as_fn_set_status $ac_retval
1762 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1763 # -------------------------------------------------------
1764 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1765 # the include files in INCLUDES and setting the cache variable VAR
1767 ac_fn_c_check_header_mongrel ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 if eval \${$3+:} false; then :
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if eval \${$3+:} false; then :
1774 $as_echo_n "(cached) " >&6
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1780 # Is the header compilable?
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1782 $as_echo_n "checking $2 usability... " >&6; }
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1788 if ac_fn_c_try_compile "$LINENO"; then :
1789 ac_header_compiler=yes
1791 ac_header_compiler=no
1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1795 $as_echo "$ac_header_compiler" >&6; }
1797 # Is the header present?
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1799 $as_echo_n "checking $2 presence... " >&6; }
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1804 if ac_fn_c_try_cpp "$LINENO"; then :
1805 ac_header_preproc=yes
1807 ac_header_preproc=no
1809 rm -f conftest.err conftest.i conftest.$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1811 $as_echo "$ac_header_preproc" >&6; }
1813 # So? What about this header?
1814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1817 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1823 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1825 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1827 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1829 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1831 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1832 ( $as_echo "## --------------------------------------- ##
1833 ## Report this to systemtap@sourceware.org ##
1834 ## --------------------------------------- ##"
1835 ) | sed "s/^/$as_me: WARNING: /" >&2
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if eval \${$3+:} false; then :
1841 $as_echo_n "(cached) " >&6
1843 eval "$3=\$ac_header_compiler"
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 } # ac_fn_c_check_header_mongrel
1853 # ac_fn_c_try_run LINENO
1854 # ----------------------
1855 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1856 # that executables *can* be run.
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 if { { ac_try="$ac_link"
1862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1863 *) ac_try_echo
=$ac_try;;
1865 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_link") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1871 { { case "(($ac_try" in
1872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_try") 2>&5
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; }; }; then :
1883 $as_echo "$as_me: program exited with status $ac_status" >&5
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1887 ac_retval=$ac_status
1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 as_fn_set_status $ac_retval
1895 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1896 # -------------------------------------------------------
1897 # Tests whether HEADER exists and can be compiled using the include files in
1898 # INCLUDES, setting the cache variable VAR accordingly.
1899 ac_fn_c_check_header_compile ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval \${$3+:} false; then :
1905 $as_echo_n "(cached) " >&6
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1912 if ac_fn_c_try_compile "$LINENO"; then :
1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 } # ac_fn_c_check_header_compile
1926 # ac_fn_cxx_try_compile LINENO
1927 # ----------------------------
1928 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1929 ac_fn_cxx_try_compile ()
1931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1932 rm -f conftest.$ac_objext
1933 if { { ac_try="$ac_compile"
1935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1936 *) ac_try_echo
=$ac_try;;
1938 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940 (eval "$ac_compile") 2>conftest.err
1942 if test -s conftest.err
; then
1943 grep -v '^ *+' conftest.err
>conftest.er1
1944 cat conftest.er1
>&5
1945 mv -f conftest.er1 conftest.err
1947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1948 test $ac_status = 0; } && {
1949 test -z "$ac_cxx_werror_flag" ||
1950 test ! -s conftest.err
1951 } && test -s conftest.
$ac_objext; then :
1954 $as_echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.
$ac_ext >&5
1959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 as_fn_set_status
$ac_retval
1962 } # ac_fn_cxx_try_compile
1964 # ac_fn_c_try_link LINENO
1965 # -----------------------
1966 # Try to link conftest.$ac_ext, and return whether this succeeded.
1969 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1970 rm -f conftest.
$ac_objext conftest
$ac_exeext
1971 if { { ac_try
="$ac_link"
1973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1974 *) ac_try_echo=$ac_try;;
1976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977 $as_echo "$ac_try_echo"; } >&5
1978 (eval "$ac_link") 2>conftest.err
1980 if test -s conftest.err; then
1981 grep -v '^ *+' conftest.err >conftest.er1
1982 cat conftest.er1 >&5
1983 mv -f conftest.er1 conftest.err
1985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986 test $ac_status = 0; } && {
1987 test -z "$ac_c_werror_flag" ||
1988 test ! -s conftest.err
1989 } && test -s conftest$ac_exeext && {
1990 test "$cross_compiling" = yes ||
1991 test -x conftest$ac_exeext
1995 $as_echo "$as_me: failed program was:" >&5
1996 sed 's/^/| /' conftest.$ac_ext >&5
2000 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2001 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2002 # interfere with the next link command; also delete a directory that is
2003 # left behind by Apple's compiler. We do this before executing the actions.
2004 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2006 as_fn_set_status $ac_retval
2008 } # ac_fn_c_try_link
2010 # ac_fn_c_check_func LINENO FUNC VAR
2011 # ----------------------------------
2012 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2013 ac_fn_c_check_func ()
2015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017 $as_echo_n "checking for $2... " >&6; }
2018 if eval \${$3+:} false; then :
2019 $as_echo_n "(cached) " >&6
2021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2023 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2025 #define $2 innocuous_$2
2027 /* System header to define __stub macros and hopefully few prototypes,
2028 which can conflict with char $2 (); below.
2029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2030 <limits.h> exists even on freestanding compilers. */
2033 # include <limits.h>
2035 # include <assert.h>
2040 /* Override any GCC internal prototype to avoid an error.
2041 Use char because int might match the return type of a GCC
2042 builtin and then its argument prototype would still apply. */
2047 /* The GNU C library defines this for functions which it implements
2048 to always fail with ENOSYS. Some functions are actually named
2049 something starting with __ and the normal name is an alias. */
2050 #if defined __stub_$2 || defined __stub___$2
2062 if ac_fn_c_try_link "$LINENO"; then :
2067 rm -f core conftest.err conftest.$ac_objext \
2068 conftest$ac_exeext conftest.$ac_ext
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2072 $as_echo "$ac_res" >&6; }
2073 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075 } # ac_fn_c_check_func
2077 # ac_fn_cxx_try_cpp LINENO
2078 # ------------------------
2079 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2080 ac_fn_cxx_try_cpp ()
2082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083 if { { ac_try="$ac_cpp conftest.$ac_ext"
2085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2086 *) ac_try_echo
=$ac_try;;
2088 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2089 $as_echo "$ac_try_echo"; } >&5
2090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2092 if test -s conftest.err
; then
2093 grep -v '^ *+' conftest.err
>conftest.er1
2094 cat conftest.er1
>&5
2095 mv -f conftest.er1 conftest.err
2097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2098 test $ac_status = 0; } > conftest.i
&& {
2099 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2100 test ! -s conftest.err
2104 $as_echo "$as_me: failed program was:" >&5
2105 sed 's/^/| /' conftest.
$ac_ext >&5
2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 as_fn_set_status
$ac_retval
2112 } # ac_fn_cxx_try_cpp
2114 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2115 # ---------------------------------------------------------
2116 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2117 # the include files in INCLUDES and setting the cache variable VAR
2119 ac_fn_cxx_check_header_mongrel
()
2121 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2122 if eval \
${$3+:} false
; then :
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2124 $as_echo_n "checking for $2... " >&6; }
2125 if eval \
${$3+:} false
; then :
2126 $as_echo_n "(cached) " >&6
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2132 # Is the header compilable?
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2134 $as_echo_n "checking $2 usability... " >&6; }
2135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2140 if ac_fn_cxx_try_compile
"$LINENO"; then :
2141 ac_header_compiler
=yes
2143 ac_header_compiler
=no
2145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2147 $as_echo "$ac_header_compiler" >&6; }
2149 # Is the header present?
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2151 $as_echo_n "checking $2 presence... " >&6; }
2152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2156 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2157 ac_header_preproc
=yes
2159 ac_header_preproc
=no
2161 rm -f conftest.err conftest.i conftest.
$ac_ext
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2163 $as_echo "$ac_header_preproc" >&6; }
2165 # So? What about this header?
2166 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2169 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2171 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2175 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2177 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2179 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2181 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2183 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2184 ( $as_echo "## --------------------------------------- ##
2185 ## Report this to systemtap@sourceware.org ##
2186 ## --------------------------------------- ##"
2187 ) |
sed "s/^/$as_me: WARNING: /" >&2
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191 $as_echo_n "checking for $2... " >&6; }
2192 if eval \
${$3+:} false
; then :
2193 $as_echo_n "(cached) " >&6
2195 eval "$3=\$ac_header_compiler"
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2203 } # ac_fn_cxx_check_header_mongrel
2204 cat >config.log
<<_ACEOF
2205 This file contains any messages produced by compilers while
2206 running configure, to aid debugging if configure makes a mistake.
2208 It was created by systemtap $as_me 2.9, which was
2209 generated by GNU Autoconf 2.69. Invocation command line was
2221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2228 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2230 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2231 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2233 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2234 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2235 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2236 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir
=.
2245 $as_echo "PATH: $as_dir"
2261 # Keep a trace of the command line.
2262 # Strip out --no-create and --no-recursion so they do not pile up.
2263 # Strip out --silent because we don't want to record it for future runs.
2264 # Also quote any args containing shell meta-characters.
2265 # Make two passes to allow for proper duplicate-argument suppression.
2269 ac_must_keep_next
=false
2275 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2276 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2277 |
-silent |
--silent |
--silen |
--sile |
--sil)
2280 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2283 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2285 as_fn_append ac_configure_args1
" '$ac_arg'"
2286 if test $ac_must_keep_next = true
; then
2287 ac_must_keep_next
=false
# Got value, back to normal.
2290 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2291 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2292 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2293 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2294 case "$ac_configure_args0 " in
2295 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2298 -* ) ac_must_keep_next
=true
;;
2301 as_fn_append ac_configure_args
" '$ac_arg'"
2306 { ac_configure_args0
=; unset ac_configure_args0
;}
2307 { ac_configure_args1
=; unset ac_configure_args1
;}
2309 # When interrupted or exit'd, cleanup temporary files, and complete
2310 # config.log. We remove comments because anyway the quotes in there
2311 # would cause problems or look ugly.
2312 # WARNING: Use '\'' to represent an apostrophe within the trap.
2313 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2314 trap 'exit_status=$?
2315 # Save into config.log some information that might help in debugging.
2319 $as_echo "## ---------------- ##
2320 ## Cache variables. ##
2321 ## ---------------- ##"
2323 # The following way of writing the cache mishandles newlines in values,
2325 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2326 eval ac_val=\$$ac_var
2330 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2331 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2334 _ | IFS | as_nl) ;; #(
2335 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2336 *) { eval $ac_var=; unset $ac_var;} ;;
2341 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2342 *${as_nl}ac_space=\ *)
2344 "s/'\''/'\''\\\\'\'''\''/g;
2345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2348 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2355 $as_echo "## ----------------- ##
2356 ## Output variables. ##
2357 ## ----------------- ##"
2359 for ac_var in $ac_subst_vars
2361 eval ac_val=\$$ac_var
2363 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2365 $as_echo "$ac_var='\''$ac_val'\''"
2369 if test -n "$ac_subst_files"; then
2370 $as_echo "## ------------------- ##
2371 ## File substitutions. ##
2372 ## ------------------- ##"
2374 for ac_var
in $ac_subst_files
2376 eval ac_val
=\$
$ac_var
2378 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2380 $as_echo "$ac_var='\''$ac_val'\''"
2385 if test -s confdefs.h; then
2386 $as_echo "## ----------- ##
2393 test "$ac_signal" != 0 &&
2394 $as_echo "$as_me: caught signal $ac_signal"
2395 $as_echo "$as_me: exit $exit_status"
2397 rm -f core *.core core.conftest.* &&
2398 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2401 for ac_signal
in 1 2 13 15; do
2402 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2406 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2407 rm -f -r conftest
* confdefs.h
2409 $as_echo "/* confdefs.h */" > confdefs.h
2411 # Predefined preprocessor variables.
2413 cat >>confdefs.h
<<_ACEOF
2414 #define PACKAGE_NAME "$PACKAGE_NAME"
2417 cat >>confdefs.h
<<_ACEOF
2418 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2421 cat >>confdefs.h
<<_ACEOF
2422 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2425 cat >>confdefs.h
<<_ACEOF
2426 #define PACKAGE_STRING "$PACKAGE_STRING"
2429 cat >>confdefs.h
<<_ACEOF
2430 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2433 cat >>confdefs.h
<<_ACEOF
2434 #define PACKAGE_URL "$PACKAGE_URL"
2438 # Let the site file select an alternate cache file if it wants to.
2439 # Prefer an explicitly selected file to automatically selected ones.
2442 if test -n "$CONFIG_SITE"; then
2443 # We do not want a PATH search for config.site.
2444 case $CONFIG_SITE in #((
2445 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2446 */*) ac_site_file1
=$CONFIG_SITE;;
2447 *) ac_site_file1
=.
/$CONFIG_SITE;;
2449 elif test "x$prefix" != xNONE
; then
2450 ac_site_file1
=$prefix/share
/config.site
2451 ac_site_file2
=$prefix/etc
/config.site
2453 ac_site_file1
=$ac_default_prefix/share
/config.site
2454 ac_site_file2
=$ac_default_prefix/etc
/config.site
2456 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2458 test "x$ac_site_file" = xNONE
&& continue
2459 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2461 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2462 sed 's/^/| /' "$ac_site_file" >&5
2464 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2466 as_fn_error $?
"failed to load site script $ac_site_file
2467 See \`config.log' for more details" "$LINENO" 5; }
2471 if test -r "$cache_file"; then
2472 # Some versions of bash will fail to source /dev/null (special files
2473 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2474 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2476 $as_echo "$as_me: loading cache $cache_file" >&6;}
2478 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2479 *) .
"./$cache_file";;
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2484 $as_echo "$as_me: creating cache $cache_file" >&6;}
2488 gt_needs
="$gt_needs "
2489 # Check that the precious variables saved in the cache have kept the same
2491 ac_cache_corrupted
=false
2492 for ac_var
in $ac_precious_vars; do
2493 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2494 eval ac_new_set
=\
$ac_env_${ac_var}_set
2495 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2496 eval ac_new_val
=\
$ac_env_${ac_var}_value
2497 case $ac_old_set,$ac_new_set in
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2500 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2501 ac_cache_corrupted
=: ;;
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2504 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2505 ac_cache_corrupted
=: ;;
2508 if test "x$ac_old_val" != "x$ac_new_val"; then
2509 # differences in whitespace do not lead to failure.
2510 ac_old_val_w
=`echo x $ac_old_val`
2511 ac_new_val_w
=`echo x $ac_new_val`
2512 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2514 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2515 ac_cache_corrupted
=:
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2518 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2519 eval $ac_var=\
$ac_old_val
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2522 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2524 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2527 # Pass precious variables to config.status.
2528 if test "$ac_new_set" = set; then
2530 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2531 *) ac_arg
=$ac_var=$ac_new_val ;;
2533 case " $ac_configure_args " in
2534 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2535 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2539 if $ac_cache_corrupted; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2543 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2544 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2546 ## -------------------- ##
2547 ## Main body of script. ##
2548 ## -------------------- ##
2551 ac_cpp
='$CPP $CPPFLAGS'
2552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2559 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2560 if test -f "$ac_dir/install-sh"; then
2562 ac_install_sh
="$ac_aux_dir/install-sh -c"
2564 elif test -f "$ac_dir/install.sh"; then
2566 ac_install_sh
="$ac_aux_dir/install.sh -c"
2568 elif test -f "$ac_dir/shtool"; then
2570 ac_install_sh
="$ac_aux_dir/shtool install -c"
2574 if test -z "$ac_aux_dir"; then
2575 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2578 # These three variables are undocumented and unsupported,
2579 # and are intended to be withdrawn in a future Autoconf release.
2580 # They can cause serious problems if a builder's source tree is in a directory
2581 # whose full name contains unusual characters.
2582 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2583 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2584 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2587 # Make sure we can run config.sub.
2588 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2589 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2592 $as_echo_n "checking build system type... " >&6; }
2593 if ${ac_cv_build+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 ac_build_alias
=$build_alias
2597 test "x$ac_build_alias" = x
&&
2598 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2599 test "x$ac_build_alias" = x
&&
2600 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2601 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2602 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2606 $as_echo "$ac_cv_build" >&6; }
2607 case $ac_cv_build in
2609 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2612 ac_save_IFS
=$IFS; IFS
='-'
2618 # Remember, the first character of IFS is used to create $*,
2619 # except with old shells:
2622 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2626 $as_echo_n "checking host system type... " >&6; }
2627 if ${ac_cv_host+:} false
; then :
2628 $as_echo_n "(cached) " >&6
2630 if test "x$host_alias" = x
; then
2631 ac_cv_host
=$ac_cv_build
2633 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2634 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2639 $as_echo "$ac_cv_host" >&6; }
2642 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2645 ac_save_IFS
=$IFS; IFS
='-'
2651 # Remember, the first character of IFS is used to create $*,
2652 # except with old shells:
2655 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2659 $as_echo_n "checking target system type... " >&6; }
2660 if ${ac_cv_target+:} false
; then :
2661 $as_echo_n "(cached) " >&6
2663 if test "x$target_alias" = x
; then
2664 ac_cv_target
=$ac_cv_host
2666 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2667 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2672 $as_echo "$ac_cv_target" >&6; }
2673 case $ac_cv_target in
2675 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2677 target
=$ac_cv_target
2678 ac_save_IFS
=$IFS; IFS
='-'
2684 # Remember, the first character of IFS is used to create $*,
2685 # except with old shells:
2688 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2691 # The aliases save the names the user supplied, while $host etc.
2692 # will get canonicalized.
2693 test -n "$target_alias" &&
2694 test "$program_prefix$program_suffix$program_transform_name" = \
2696 program_prefix
=${target_alias}-
2699 am__api_version
='1.14'
2701 # Find a good install program. We prefer a C program (faster),
2702 # so one script is as good as another. But avoid the broken or
2703 # incompatible versions:
2704 # SysV /etc/install, /usr/sbin/install
2705 # SunOS /usr/etc/install
2706 # IRIX /sbin/install
2708 # AmigaOS /C/install, which installs bootblocks on floppy discs
2709 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2710 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2711 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2712 # OS/2's system install, which has a completely different semantic
2713 # ./install, which can be erroneously created by make from ./install.sh.
2714 # Reject install programs that cannot install multiple files.
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2716 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2717 if test -z "$INSTALL"; then
2718 if ${ac_cv_path_install+:} false
; then :
2719 $as_echo_n "(cached) " >&6
2721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir
=.
2726 # Account for people who put trailing slashes in PATH elements.
2727 case $as_dir/ in #((
2728 .
/ | .
// |
/[cC
]/* | \
2729 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2730 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2733 # OSF1 and SCO ODT 3.0 have their own names for install.
2734 # Don't use installbsd from OSF since it installs stuff as root
2736 for ac_prog
in ginstall scoinst
install; do
2737 for ac_exec_ext
in '' $ac_executable_extensions; do
2738 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2739 if test $ac_prog = install &&
2740 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2741 # AIX install. It has an incompatible calling convention.
2743 elif test $ac_prog = install &&
2744 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2745 # program-specific install script used by HP pwplus--don't use.
2748 rm -rf conftest.one conftest.two conftest.dir
2749 echo one
> conftest.one
2750 echo two
> conftest.two
2752 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2753 test -s conftest.one
&& test -s conftest.two
&&
2754 test -s conftest.dir
/conftest.one
&&
2755 test -s conftest.dir
/conftest.two
2757 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2770 rm -rf conftest.one conftest.two conftest.dir
2773 if test "${ac_cv_path_install+set}" = set; then
2774 INSTALL
=$ac_cv_path_install
2776 # As a last resort, use the slow shell script. Don't cache a
2777 # value for INSTALL within a source directory, because that will
2778 # break other packages using the cache if that directory is
2779 # removed, or if the value is a relative name.
2780 INSTALL
=$ac_install_sh
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2784 $as_echo "$INSTALL" >&6; }
2786 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2787 # It thinks the first close brace ends the variable substitution.
2788 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2790 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2792 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2795 $as_echo_n "checking whether build environment is sane... " >&6; }
2796 # Reject unsafe characters in $srcdir or the absolute working directory
2797 # name. Accept space and tab only in the latter.
2801 *[\\\"\
#\$\&\'\`$am_lf]*)
2802 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2805 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2806 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2809 # Do 'set' in a subshell so we don't clobber the current shell's
2810 # arguments. Must try -L first in case configure is actually a
2811 # symlink; some systems play weird games with the mod time of symlinks
2812 # (eg FreeBSD returns the mod time of the symlink's containing
2816 for am_try
in 1 2; do
2817 echo "timestamp, slept: $am_has_slept" > conftest.
file
2818 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2819 if test "$*" = "X"; then
2821 set X
`ls -t "$srcdir/configure" conftest.file`
2823 if test "$*" != "X $srcdir/configure conftest.file" \
2824 && test "$*" != "X conftest.file $srcdir/configure"; then
2826 # If neither matched, then we have a broken ls. This can happen
2827 # if, for instance, CONFIG_SHELL is bash and it inherits a
2828 # broken ls alias from the environment. This has actually
2829 # happened. Such a system could not be considered "sane".
2830 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2831 alias in your environment" "$LINENO" 5
2833 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2840 test "$2" = conftest.
file
2846 as_fn_error $?
"newly created file is older than distributed files!
2847 Check your system clock" "$LINENO" 5
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2850 $as_echo "yes" >&6; }
2851 # If we didn't sleep, we still need to ensure time stamps of config.status and
2852 # generated files are strictly newer.
2854 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2861 test "$program_prefix" != NONE
&&
2862 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2863 # Use a double $ so make ignores it.
2864 test "$program_suffix" != NONE
&&
2865 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2866 # Double any \ or $.
2867 # By default was `s,x,x', remove it if useless.
2868 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2869 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2871 # expand $ac_aux_dir to an absolute path
2872 am_aux_dir
=`cd $ac_aux_dir && pwd`
2874 if test x
"${MISSING+set}" != xset
; then
2877 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2879 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2882 # Use eval to expand $SHELL
2883 if eval "$MISSING --is-lightweight"; then
2884 am_missing_run
="$MISSING "
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2888 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2891 if test x
"${install_sh}" != xset
; then
2894 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2896 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2900 # Installed binaries are usually stripped using 'strip' when the user
2901 # run "make install-strip". However 'strip' might not be the right
2902 # tool to use in cross-compilation environments, therefore Automake
2903 # will honor the 'STRIP' environment variable to overrule this program.
2904 if test "$cross_compiling" != no
; then
2905 if test -n "$ac_tool_prefix"; then
2906 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2907 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_STRIP+:} false
; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$STRIP"; then
2914 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 STRIP
=$ac_cv_prog_STRIP
2934 if test -n "$STRIP"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2936 $as_echo "$STRIP" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2944 if test -z "$ac_cv_prog_STRIP"; then
2946 # Extract the first word of "strip", so it can be a program name with args.
2947 set dummy strip
; ac_word
=$2
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2949 $as_echo_n "checking for $ac_word... " >&6; }
2950 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2951 $as_echo_n "(cached) " >&6
2953 if test -n "$ac_ct_STRIP"; then
2954 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2960 test -z "$as_dir" && as_dir
=.
2961 for ac_exec_ext
in '' $ac_executable_extensions; do
2962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2963 ac_cv_prog_ac_ct_STRIP
="strip"
2964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2974 if test -n "$ac_ct_STRIP"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2976 $as_echo "$ac_ct_STRIP" >&6; }
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979 $as_echo "no" >&6; }
2982 if test "x$ac_ct_STRIP" = x
; then
2985 case $cross_compiling:$ac_tool_warned in
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2989 ac_tool_warned
=yes ;;
2994 STRIP
="$ac_cv_prog_STRIP"
2998 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3001 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3002 if test -z "$MKDIR_P"; then
3003 if ${ac_cv_path_mkdir+:} false
; then :
3004 $as_echo_n "(cached) " >&6
3006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3007 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3010 test -z "$as_dir" && as_dir
=.
3011 for ac_prog
in mkdir gmkdir
; do
3012 for ac_exec_ext
in '' $ac_executable_extensions; do
3013 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3014 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3015 'mkdir (GNU coreutils) '* | \
3016 'mkdir (coreutils) '* | \
3017 'mkdir (fileutils) '4.1*)
3018 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3028 test -d .
/--version && rmdir .
/--version
3029 if test "${ac_cv_path_mkdir+set}" = set; then
3030 MKDIR_P
="$ac_cv_path_mkdir -p"
3032 # As a last resort, use the slow shell script. Don't cache a
3033 # value for MKDIR_P within a source directory, because that will
3034 # break other packages using the cache if that directory is
3035 # removed, or if the value is a relative name.
3036 MKDIR_P
="$ac_install_sh -d"
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3040 $as_echo "$MKDIR_P" >&6; }
3042 for ac_prog
in gawk mawk nawk
awk
3044 # Extract the first word of "$ac_prog", so it can be a program name with args.
3045 set dummy
$ac_prog; ac_word
=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_AWK+:} false
; then :
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$AWK"; then
3052 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_AWK
="$ac_prog"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test -n "$AWK"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3074 $as_echo "$AWK" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3081 test -n "$AWK" && break
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3085 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3087 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3088 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3089 $as_echo_n "(cached) " >&6
3091 cat >conftest.
make <<\_ACEOF
3094 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3096 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3097 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3099 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3101 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3105 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3107 $as_echo "yes" >&6; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3111 $as_echo "no" >&6; }
3112 SET_MAKE
="MAKE=${MAKE-make}"
3115 rm -rf .tst
2>/dev
/null
3116 mkdir .tst
2>/dev
/null
3117 if test -d .tst
; then
3122 rmdir .tst
2>/dev
/null
3124 # Check whether --enable-silent-rules was given.
3125 if test "${enable_silent_rules+set}" = set; then :
3126 enableval
=$enable_silent_rules;
3129 case $enable_silent_rules in # (((
3130 yes) AM_DEFAULT_VERBOSITY
=0;;
3131 no
) AM_DEFAULT_VERBOSITY
=1;;
3132 *) AM_DEFAULT_VERBOSITY
=1;;
3134 am_make
=${MAKE-make}
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3136 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3137 if ${am_cv_make_support_nested_variables+:} false
; then :
3138 $as_echo_n "(cached) " >&6
3140 if $as_echo 'TRUE=$(BAR$(V))
3146 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3147 am_cv_make_support_nested_variables
=yes
3149 am_cv_make_support_nested_variables
=no
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3153 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3154 if test $am_cv_make_support_nested_variables = yes; then
3156 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3158 AM_V
=$AM_DEFAULT_VERBOSITY
3159 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3163 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3164 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3165 # is not polluted with repeated "-I."
3166 am__isrc
=' -I$(srcdir)'
3167 # test to see if srcdir already configured
3168 if test -f $srcdir/config.status
; then
3169 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3173 # test whether we have cygpath
3174 if test -z "$CYGPATH_W"; then
3175 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3176 CYGPATH_W
='cygpath -w'
3183 # Define the identity of the package.
3188 cat >>confdefs.h
<<_ACEOF
3189 #define PACKAGE "$PACKAGE"
3193 cat >>confdefs.h
<<_ACEOF
3194 #define VERSION "$VERSION"
3197 # Some tools Automake needs.
3199 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3202 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3205 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3208 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3211 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3213 # For better backward compatibility. To be removed once Automake 1.9.x
3214 # dies out for good. For more background, see:
3215 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3216 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3217 mkdir_p
='$(MKDIR_P)'
3219 # We need awk for the "check" target. The system "awk" is bad on
3221 # Always define AMTAR for backward compatibility. Yes, it's still used
3222 # in the wild :-( We should find a proper way to deprecate it ...
3226 # We'll loop over all known methods to create a tar archive until one works.
3227 _am_tools
='gnutar pax cpio none'
3229 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3236 # POSIX will say in a future version that running "rm -f" with no argument
3237 # is OK; and we want to be able to make that assumption in our Makefile
3238 # recipes. So use an aggressive probe to check that the usage we want is
3239 # actually supported "in the wild" to an acceptable degree.
3240 # See automake bug#10828.
3241 # To make any issue more visible, cause the running configure to be aborted
3242 # by default if the 'rm' program in use doesn't match our expectations; the
3243 # user can still override this though.
3244 if rm -f && rm -fr && rm -rf; then : OK
; else
3248 Your 'rm' program seems unable to run without file operands specified
3249 on the command line, even when the '-f' option is present. This is contrary
3250 to the behaviour of most rm programs out there, and not conforming with
3251 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3253 Please tell bug-automake@gnu.org about your system, including the value
3254 of your $PATH and any error possibly output before this message. This
3255 can help us improve future automake versions.
3258 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3259 echo 'Configuration will proceed anyway, since you have set the' >&2
3260 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3264 Aborting the configuration process, to ensure you take notice of the issue.
3266 You can download and install GNU coreutils to get an 'rm' implementation
3267 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3269 If you want to complete the configuration process using your problematic
3270 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3271 to "yes", and re-run configure.
3274 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3279 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3280 # Check whether --enable-maintainer-mode was given.
3281 if test "${enable_maintainer_mode+set}" = set; then :
3282 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3284 USE_MAINTAINER_MODE
=no
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3288 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3289 if test $USE_MAINTAINER_MODE = yes; then
3290 MAINTAINER_MODE_TRUE
=
3291 MAINTAINER_MODE_FALSE
='#'
3293 MAINTAINER_MODE_TRUE
='#'
3294 MAINTAINER_MODE_FALSE
=
3297 MAINT
=$MAINTAINER_MODE_TRUE
3301 # Check whether --enable-silent-rules was given.
3302 if test "${enable_silent_rules+set}" = set; then :
3303 enableval
=$enable_silent_rules;
3306 case $enable_silent_rules in # (((
3307 yes) AM_DEFAULT_VERBOSITY
=0;;
3308 no
) AM_DEFAULT_VERBOSITY
=1;;
3309 *) AM_DEFAULT_VERBOSITY
=0;;
3311 am_make
=${MAKE-make}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3313 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3314 if ${am_cv_make_support_nested_variables+:} false
; then :
3315 $as_echo_n "(cached) " >&6
3317 if $as_echo 'TRUE=$(BAR$(V))
3323 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3324 am_cv_make_support_nested_variables
=yes
3326 am_cv_make_support_nested_variables
=no
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3330 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3331 if test $am_cv_make_support_nested_variables = yes; then
3333 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3335 AM_V
=$AM_DEFAULT_VERBOSITY
3336 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3341 DEPDIR="${am__leading_dot}deps"
3343 ac_config_commands="$ac_config_commands depfiles"
3346 am_make=${MAKE-make}
3347 cat > confinc << 'END
'
3349 @echo this is the am__doit target
3352 # If we don't
find an include directive
, just comment out the code.
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3354 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3358 # First try GNU make style include.
3359 echo "include confinc" > confmf
3360 # Ignore all kinds of additional output from 'make'.
3361 case `$am_make -s -f confmf 2> /dev/null` in #(
3362 *the\ am__doit\ target
*)
3368 # Now try BSD make style include.
3369 if test "$am__include" = "#"; then
3370 echo '.include "confinc"' > confmf
3371 case `$am_make -s -f confmf 2> /dev/null` in #(
3372 *the\ am__doit\ target
*)
3373 am__include
=.include
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3382 $as_echo "$_am_result" >&6; }
3383 rm -f confinc confmf
3385 # Check whether --enable-dependency-tracking was given.
3386 if test "${enable_dependency_tracking+set}" = set; then :
3387 enableval
=$enable_dependency_tracking;
3390 if test "x$enable_dependency_tracking" != xno
; then
3391 am_depcomp
="$ac_aux_dir/depcomp"
3395 if test "x$enable_dependency_tracking" != xno; then
3405 ac_cpp
='$CPP $CPPFLAGS'
3406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3409 if test -n "$ac_tool_prefix"; then
3410 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3411 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if ${ac_cv_prog_CC+:} false
; then :
3415 $as_echo_n "(cached) " >&6
3417 if test -n "$CC"; then
3418 ac_cv_prog_CC
="$CC" # Let the user override the test.
3420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir
=.
3425 for ac_exec_ext
in '' $ac_executable_extensions; do
3426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 if test -n "$CC"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3440 $as_echo "$CC" >&6; }
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3448 if test -z "$ac_cv_prog_CC"; then
3450 # Extract the first word of "gcc", so it can be a program name with args.
3451 set dummy gcc
; ac_word
=$2
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3453 $as_echo_n "checking for $ac_word... " >&6; }
3454 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3455 $as_echo_n "(cached) " >&6
3457 if test -n "$ac_ct_CC"; then
3458 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3464 test -z "$as_dir" && as_dir
=.
3465 for ac_exec_ext
in '' $ac_executable_extensions; do
3466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3467 ac_cv_prog_ac_ct_CC
="gcc"
3468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3478 if test -n "$ac_ct_CC"; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3480 $as_echo "$ac_ct_CC" >&6; }
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3483 $as_echo "no" >&6; }
3486 if test "x$ac_ct_CC" = x
; then
3489 case $cross_compiling:$ac_tool_warned in
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3493 ac_tool_warned
=yes ;;
3501 if test -z "$CC"; then
3502 if test -n "$ac_tool_prefix"; then
3503 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3504 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if ${ac_cv_prog_CC+:} false
; then :
3508 $as_echo_n "(cached) " >&6
3510 if test -n "$CC"; then
3511 ac_cv_prog_CC
="$CC" # Let the user override the test.
3513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3517 test -z "$as_dir" && as_dir
=.
3518 for ac_exec_ext
in '' $ac_executable_extensions; do
3519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3520 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 if test -n "$CC"; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3533 $as_echo "$CC" >&6; }
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536 $as_echo "no" >&6; }
3542 if test -z "$CC"; then
3543 # Extract the first word of "cc", so it can be a program name with args.
3544 set dummy cc
; ac_word
=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if ${ac_cv_prog_CC+:} false
; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC
="$CC" # Let the user override the test.
3554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3558 test -z "$as_dir" && as_dir
=.
3559 for ac_exec_ext
in '' $ac_executable_extensions; do
3560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3561 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3562 ac_prog_rejected
=yes
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 if test $ac_prog_rejected = yes; then
3574 # We found a bogon in the path, so make sure we never use it.
3575 set dummy
$ac_cv_prog_CC
3577 if test $# != 0; then
3578 # We chose a different compiler from the bogus one.
3579 # However, it has the same basename, so the bogon will be chosen
3580 # first if we set CC to just the basename; use the full file name.
3582 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3588 if test -n "$CC"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3590 $as_echo "$CC" >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3598 if test -z "$CC"; then
3599 if test -n "$ac_tool_prefix"; then
3600 for ac_prog
in cl.exe
3602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3603 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if ${ac_cv_prog_CC+:} false
; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -n "$CC"; then
3610 ac_cv_prog_CC
="$CC" # Let the user override the test.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3619 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 if test -n "$CC"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3632 $as_echo "$CC" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3639 test -n "$CC" && break
3642 if test -z "$CC"; then
3644 for ac_prog
in cl.exe
3646 # Extract the first word of "$ac_prog", so it can be a program name with args.
3647 set dummy
$ac_prog; ac_word
=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3651 $as_echo_n "(cached) " >&6
3653 if test -n "$ac_ct_CC"; then
3654 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir
=.
3661 for ac_exec_ext
in '' $ac_executable_extensions; do
3662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3663 ac_cv_prog_ac_ct_CC
="$ac_prog"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3674 if test -n "$ac_ct_CC"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3676 $as_echo "$ac_ct_CC" >&6; }
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3683 test -n "$ac_ct_CC" && break
3686 if test "x$ac_ct_CC" = x
; then
3689 case $cross_compiling:$ac_tool_warned in
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3693 ac_tool_warned
=yes ;;
3702 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_error $?
"no acceptable C compiler found in \$PATH
3705 See \`config.log' for more details" "$LINENO" 5; }
3707 # Provide some information about the compiler.
3708 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3711 for ac_option
in --version -v -V -qversion; do
3712 { { ac_try
="$ac_compiler $ac_option >&5"
3714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 $as_echo "$ac_try_echo"; } >&5
3719 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3721 if test -s conftest.err; then
3723 ... rest of stderr output deleted ...
3724 10q' conftest.err >conftest.er1
3725 cat conftest.er1 >&5
3727 rm -f conftest.er1 conftest.err
3728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3729 test $ac_status = 0; }
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3743 ac_clean_files_save=$ac_clean_files
3744 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3745 # Try to create an executable without -o first, disregard a.out.
3746 # It will help us diagnose broken compilers, and finding out an intuition
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3749 $as_echo_n "checking whether the C compiler works... " >&6; }
3750 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3752 # The possible output files:
3753 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3756 for ac_file in $ac_files
3759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3760 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3765 if { { ac_try="$ac_link_default"
3767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3768 *) ac_try_echo
=$ac_try;;
3770 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771 $as_echo "$ac_try_echo"; } >&5
3772 (eval "$ac_link_default") 2>&5
3774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3775 test $ac_status = 0; }; then :
3776 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3777 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3778 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3779 # so that the user can short-circuit this test for compilers unknown to
3781 for ac_file
in $ac_files ''
3783 test -f "$ac_file" ||
continue
3785 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3788 # We found the default executable, but exeext='' is most
3792 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3794 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3796 # We set ac_cv_exeext here because the later test for it is not
3797 # safe: cross compilers may not add the suffix if given an `-o'
3798 # argument, so we may need to know it at that point already.
3799 # Even if this section looks crufty: it has the advantage of
3806 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3811 if test -z "$ac_file"; then :
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3814 $as_echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.
$ac_ext >&5
3817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3819 as_fn_error
77 "C compiler cannot create executables
3820 See \`config.log' for more details" "$LINENO" 5; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3823 $as_echo "yes" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3826 $as_echo_n "checking for C compiler default output file name... " >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3828 $as_echo "$ac_file" >&6; }
3829 ac_exeext
=$ac_cv_exeext
3831 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3832 ac_clean_files
=$ac_clean_files_save
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3834 $as_echo_n "checking for suffix of executables... " >&6; }
3835 if { { ac_try
="$ac_link"
3837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3838 *) ac_try_echo=$ac_try;;
3840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3841 $as_echo "$ac_try_echo"; } >&5
3842 (eval "$ac_link") 2>&5
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }; then :
3846 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3847 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3848 # work properly (i.e., refer to `conftest.exe'), while it won't with
3850 for ac_file
in conftest.exe conftest conftest.
*; do
3851 test -f "$ac_file" ||
continue
3853 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3854 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3862 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3863 See \`config.log' for more details" "$LINENO" 5; }
3865 rm -f conftest conftest
$ac_cv_exeext
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3867 $as_echo "$ac_cv_exeext" >&6; }
3869 rm -f conftest.
$ac_ext
3870 EXEEXT
=$ac_cv_exeext
3872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3878 FILE *f = fopen ("conftest.out", "w");
3879 return ferror (f) || fclose (f) != 0;
3885 ac_clean_files
="$ac_clean_files conftest.out"
3886 # Check that the compiler produces executables we can run. If not, either
3887 # the compiler is broken, or we cross compile.
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3889 $as_echo_n "checking whether we are cross compiling... " >&6; }
3890 if test "$cross_compiling" != yes; then
3891 { { ac_try
="$ac_link"
3893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3894 *) ac_try_echo=$ac_try;;
3896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897 $as_echo "$ac_try_echo"; } >&5
3898 (eval "$ac_link") 2>&5
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }
3902 if { ac_try='./conftest$ac_cv_exeext'
3903 { { case "(($ac_try" in
3904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3905 *) ac_try_echo
=$ac_try;;
3907 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 $as_echo "$ac_try_echo"; } >&5
3909 (eval "$ac_try") 2>&5
3911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3912 test $ac_status = 0; }; }; then
3915 if test "$cross_compiling" = maybe
; then
3918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3920 as_fn_error $?
"cannot run C compiled programs.
3921 If you meant to cross compile, use \`--host'.
3922 See \`config.log' for more details" "$LINENO" 5; }
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3927 $as_echo "$cross_compiling" >&6; }
3929 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3930 ac_clean_files
=$ac_clean_files_save
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3932 $as_echo_n "checking for suffix of object files... " >&6; }
3933 if ${ac_cv_objext+:} false
; then :
3934 $as_echo_n "(cached) " >&6
3936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3947 rm -f conftest.o conftest.obj
3948 if { { ac_try
="$ac_compile"
3950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3954 $as_echo "$ac_try_echo"; } >&5
3955 (eval "$ac_compile") 2>&5
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 test $ac_status = 0; }; then :
3959 for ac_file in conftest.o conftest.obj conftest.*; do
3960 test -f "$ac_file" || continue;
3962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3963 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3968 $as_echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.$ac_ext >&5
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3974 See \
`config.log' for more details" "$LINENO" 5; }
3976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3979 $as_echo "$ac_cv_objext" >&6; }
3980 OBJEXT=$ac_cv_objext
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3984 if ${ac_cv_c_compiler_gnu+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
4001 if ac_fn_c_try_compile "$LINENO"; then :
4006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4012 if test $ac_compiler_gnu = yes; then
4017 ac_test_CFLAGS=${CFLAGS+set}
4018 ac_save_CFLAGS=$CFLAGS
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4020 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4021 if ${ac_cv_prog_cc_g+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 ac_save_c_werror_flag=$ac_c_werror_flag
4025 ac_c_werror_flag=yes
4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h. */
4039 if ac_fn_c_try_compile "$LINENO"; then :
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4054 if ac_fn_c_try_compile "$LINENO"; then :
4057 ac_c_werror_flag=$ac_save_c_werror_flag
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4070 if ac_fn_c_try_compile "$LINENO"; then :
4073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078 ac_c_werror_flag=$ac_save_c_werror_flag
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4081 $as_echo "$ac_cv_prog_cc_g" >&6; }
4082 if test "$ac_test_CFLAGS" = set; then
4083 CFLAGS=$ac_save_CFLAGS
4084 elif test $ac_cv_prog_cc_g = yes; then
4085 if test "$GCC" = yes; then
4091 if test "$GCC" = yes; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4098 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4099 if ${ac_cv_prog_cc_c89+:} false; then :
4100 $as_echo_n "(cached) " >&6
4102 ac_cv_prog_cc_c89=no
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4109 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4110 struct buf { int x; };
4111 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4112 static char *e (p, i)
4118 static char *f (char * (*g) (char **, int), char **p, ...)
4123 s = g (p, va_arg (v,int));
4128 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4129 function prototypes and stuff, but not '\xHH' hex character constants.
4130 These don't provoke an error unfortunately, instead are silently treated
4131 as 'x'. The following induces an error, until -std is added to get
4132 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4133 array size at least. It's necessary to write '\x00'==0 to get something
4134 that's true only with -std. */
4135 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4137 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4138 inside strings and character constants. */
4140 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4142 int test (int i, double x);
4143 struct s1 {int (*f) (int a);};
4144 struct s2 {int (*f) (double a);};
4145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4156 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4157 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4159 CC="$ac_save_CC $ac_arg"
4160 if ac_fn_c_try_compile "$LINENO"; then :
4161 ac_cv_prog_cc_c89=$ac_arg
4163 rm -f core conftest.err conftest.$ac_objext
4164 test "x$ac_cv_prog_cc_c89" != "xno" && break
4166 rm -f conftest.$ac_ext
4171 case "x$ac_cv_prog_cc_c89" in
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4174 $as_echo "none needed" >&6; } ;;
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4177 $as_echo "unsupported" >&6; } ;;
4179 CC="$CC $ac_cv_prog_cc_c89"
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4181 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4183 if test "x$ac_cv_prog_cc_c89" != xno; then :
4188 ac_cpp='$CPP $CPPFLAGS'
4189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4194 ac_cpp='$CPP $CPPFLAGS'
4195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4199 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4200 if ${am_cv_prog_cc_c_o+:} false; then :
4201 $as_echo_n "(cached) " >&6
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4214 # Make sure it works both with $CC and with simple cc.
4215 # Following AC_PROG_CC_C_O, we do the test twice because some
4216 # compilers refuse to overwrite an existing .o file with -o,
4217 # though they will create one.
4218 am_cv_prog_cc_c_o=yes
4220 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4221 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } \
4225 && test -f conftest2.$ac_objext; then
4228 am_cv_prog_cc_c_o=no
4232 rm -f core conftest*
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4236 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4237 if test "$am_cv_prog_cc_c_o" != yes; then
4238 # Losing compiler, so override with the script.
4239 # FIXME: It is wrong to rewrite CC.
4240 # But if we don't then we get into trouble of one sort or another.
4241 # A longer-term fix would be to have automake use am__CC in this case,
4242 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4243 CC="$am_aux_dir/compile $CC"
4246 ac_cpp='$CPP $CPPFLAGS'
4247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4252 depcc="$CC" am_compiler_list=
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4255 $as_echo_n "checking dependency style of $depcc... " >&6; }
4256 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4257 $as_echo_n "(cached) " >&6
4259 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4260 # We make a subdir and do the tests there. Otherwise we can end up
4261 # making bogus files that we don't know about and never remove. For
4262 # instance it was reported that on HP-UX the gcc test will end up
4263 # making a dummy file named 'D' -- because '-MD' means "put the output
4267 # Copy depcomp to subdir because otherwise we won't find it if we're
4268 # using a relative directory.
4269 cp "$am_depcomp" conftest.dir
4271 # We will build objects and dependencies in a subdirectory because
4272 # it helps to detect inapplicable dependency modes. For instance
4273 # both Tru64's cc and ICC support -MD to output dependencies as a
4274 # side effect of compilation, but ICC will put the dependencies in
4275 # the current directory while Tru64 will put them in the object
4279 am_cv_CC_dependencies_compiler_type=none
4280 if test "$am_compiler_list" = ""; then
4281 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4284 case " $depcc " in #(
4285 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4288 for depmode in $am_compiler_list; do
4289 # Setup a source with many dependencies, because some compilers
4290 # like to wrap large dependency lists on column 80 (with \), and
4291 # we should not choose a depcomp mode which is confused by this.
4293 # We need to recreate these files for each test, as the compiler may
4294 # overwrite some of them when testing with obscure command lines.
4295 # This happens at least with the AIX C compiler.
4297 for i in 1 2 3 4 5 6; do
4298 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4299 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4300 # Solaris 10 /bin/sh.
4301 echo '/* dummy */' > sub/conftst$i.h
4303 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4305 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4306 # mode. It turns out that the SunPro C++ compiler does not properly
4307 # handle '-M -o', and we need to detect this. Also, some Intel
4308 # versions had trouble with output in subdirs.
4309 am__obj=sub/conftest.${OBJEXT-o}
4310 am__minus_obj="-o $am__obj"
4313 # This depmode causes a compiler race in universal mode.
4314 test "$am__universal" = false || continue
4317 # After this tag, mechanisms are not by side-effect, so they'll
4318 # only be used when explicitly requested.
4319 if test "x$enable_dependency_tracking" = xyes; then
4325 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4326 # This compiler won't grok '-c -o', but also, the minuso test has
4327 # not run yet. These depmodes are late enough in the game, and
4328 # so weak that their functioning should not be impacted.
4329 am__obj=conftest.${OBJEXT-o}
4334 if depmode=$depmode \
4335 source=sub/conftest.c object=$am__obj \
4336 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4337 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4338 >/dev/null 2>conftest.err &&
4339 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4340 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4341 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4342 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4343 # icc doesn't choke on unknown options, it will just issue warnings
4344 # or remarks (even with -Werror). So we grep stderr for any message
4345 # that says an option was ignored or not supported.
4346 # When given -MP, icc 7.0 and 7.1 complain thusly:
4347 # icc: Command line warning: ignoring option '-M'; no argument required
4348 # The diagnosis changed in icc 8.0:
4349 # icc: Command line remark: option '-MP' not supported
4350 if (grep 'ignoring option' conftest.err ||
4351 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4352 am_cv_CC_dependencies_compiler_type=$depmode
4361 am_cv_CC_dependencies_compiler_type=none
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4366 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4367 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4370 test "x$enable_dependency_tracking" != xno \
4371 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4373 am__fastdepCC_FALSE='#'
4375 am__fastdepCC_TRUE='#'
4376 am__fastdepCC_FALSE=
4382 ac_cpp='$CPP $CPPFLAGS'
4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4387 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4388 # On Suns, sometimes $CPP names a directory.
4389 if test -n "$CPP" && test -d "$CPP"; then
4392 if test -z "$CPP"; then
4393 if ${ac_cv_prog_CPP+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 # Double quotes because CPP needs to be expanded
4397 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4400 for ac_c_preproc_warn_flag in '' yes
4402 # Use a header file that comes with gcc, so configuring glibc
4403 # with a fresh cross-compiler works.
4404 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4405 # <limits.h> exists even on freestanding compilers.
4406 # On the NeXT, cc -E runs the code through the compiler's parser,
4407 # not just through cpp. "Syntax error" is here to catch this case.
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4411 # include <limits.h>
4413 # include <assert.h>
4417 if ac_fn_c_try_cpp "$LINENO"; then :
4420 # Broken: fails on valid input.
4423 rm -f conftest.err conftest.i conftest.$ac_ext
4425 # OK, works on sane cases. Now check whether nonexistent headers
4426 # can be detected and how.
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4429 #include <ac_nonexistent.h>
4431 if ac_fn_c_try_cpp "$LINENO"; then :
4432 # Broken: success on invalid input.
4435 # Passes both tests.
4439 rm -f conftest.err conftest.i conftest.$ac_ext
4442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4443 rm -f conftest.i conftest.err conftest.
$ac_ext
4444 if $ac_preproc_ok; then :
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4457 $as_echo "$CPP" >&6; }
4459 for ac_c_preproc_warn_flag
in '' yes
4461 # Use a header file that comes with gcc, so configuring glibc
4462 # with a fresh cross-compiler works.
4463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4464 # <limits.h> exists even on freestanding compilers.
4465 # On the NeXT, cc -E runs the code through the compiler's parser,
4466 # not just through cpp. "Syntax error" is here to catch this case.
4467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4470 # include <limits.h>
4472 # include <assert.h>
4476 if ac_fn_c_try_cpp
"$LINENO"; then :
4479 # Broken: fails on valid input.
4482 rm -f conftest.err conftest.i conftest.
$ac_ext
4484 # OK, works on sane cases. Now check whether nonexistent headers
4485 # can be detected and how.
4486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4488 #include <ac_nonexistent.h>
4490 if ac_fn_c_try_cpp
"$LINENO"; then :
4491 # Broken: success on invalid input.
4494 # Passes both tests.
4498 rm -f conftest.err conftest.i conftest.
$ac_ext
4501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4502 rm -f conftest.i conftest.err conftest.
$ac_ext
4503 if $ac_preproc_ok; then :
4506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4508 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4509 See \`config.log' for more details" "$LINENO" 5; }
4513 ac_cpp
='$CPP $CPPFLAGS'
4514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4520 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4521 if ${ac_cv_path_GREP+:} false
; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -z "$GREP"; then
4525 ac_path_GREP_found
=false
4526 # Loop through the user's path and test for each of PROGNAME-LIST
4527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4528 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4531 test -z "$as_dir" && as_dir
=.
4532 for ac_prog
in grep ggrep
; do
4533 for ac_exec_ext
in '' $ac_executable_extensions; do
4534 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4535 as_fn_executable_p
"$ac_path_GREP" ||
continue
4536 # Check for GNU ac_path_GREP and select it if it is found.
4537 # Check for GNU $ac_path_GREP
4538 case `"$ac_path_GREP" --version 2>&1` in
4540 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4543 $as_echo_n 0123456789 >"conftest.in"
4546 cat "conftest.in" "conftest.in" >"conftest.tmp"
4547 mv "conftest.tmp" "conftest.in"
4548 cp "conftest.in" "conftest.nl"
4549 $as_echo 'GREP' >> "conftest.nl"
4550 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4551 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4552 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4553 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4554 # Best one so far, save it but keep looking for a better one
4555 ac_cv_path_GREP
="$ac_path_GREP"
4556 ac_path_GREP_max
=$ac_count
4558 # 10*(2^10) chars as input seems more than enough
4559 test $ac_count -gt 10 && break
4561 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4564 $ac_path_GREP_found && break 3
4569 if test -z "$ac_cv_path_GREP"; then
4570 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4573 ac_cv_path_GREP
=$GREP
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4578 $as_echo "$ac_cv_path_GREP" >&6; }
4579 GREP
="$ac_cv_path_GREP"
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4583 $as_echo_n "checking for egrep... " >&6; }
4584 if ${ac_cv_path_EGREP+:} false
; then :
4585 $as_echo_n "(cached) " >&6
4587 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4588 then ac_cv_path_EGREP
="$GREP -E"
4590 if test -z "$EGREP"; then
4591 ac_path_EGREP_found
=false
4592 # Loop through the user's path and test for each of PROGNAME-LIST
4593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4597 test -z "$as_dir" && as_dir
=.
4598 for ac_prog
in egrep; do
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4601 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4602 # Check for GNU ac_path_EGREP and select it if it is found.
4603 # Check for GNU $ac_path_EGREP
4604 case `"$ac_path_EGREP" --version 2>&1` in
4606 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4609 $as_echo_n 0123456789 >"conftest.in"
4612 cat "conftest.in" "conftest.in" >"conftest.tmp"
4613 mv "conftest.tmp" "conftest.in"
4614 cp "conftest.in" "conftest.nl"
4615 $as_echo 'EGREP' >> "conftest.nl"
4616 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4617 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4618 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4619 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4620 # Best one so far, save it but keep looking for a better one
4621 ac_cv_path_EGREP
="$ac_path_EGREP"
4622 ac_path_EGREP_max
=$ac_count
4624 # 10*(2^10) chars as input seems more than enough
4625 test $ac_count -gt 10 && break
4627 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4630 $ac_path_EGREP_found && break 3
4635 if test -z "$ac_cv_path_EGREP"; then
4636 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4639 ac_cv_path_EGREP
=$EGREP
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4645 $as_echo "$ac_cv_path_EGREP" >&6; }
4646 EGREP
="$ac_cv_path_EGREP"
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4650 $as_echo_n "checking for ANSI C header files... " >&6; }
4651 if ${ac_cv_header_stdc+:} false
; then :
4652 $as_echo_n "(cached) " >&6
4654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4669 if ac_fn_c_try_compile
"$LINENO"; then :
4670 ac_cv_header_stdc
=yes
4672 ac_cv_header_stdc
=no
4674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4676 if test $ac_cv_header_stdc = yes; then
4677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4684 $EGREP "memchr" >/dev
/null
2>&1; then :
4687 ac_cv_header_stdc
=no
4693 if test $ac_cv_header_stdc = yes; then
4694 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4701 $EGREP "free" >/dev
/null
2>&1; then :
4704 ac_cv_header_stdc
=no
4710 if test $ac_cv_header_stdc = yes; then
4711 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4712 if test "$cross_compiling" = yes; then :
4715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4719 #if ((' ' & 0x0FF) == 0x020)
4720 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4721 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4723 # define ISLOWER(c) \
4724 (('a' <= (c) && (c) <= 'i') \
4725 || ('j' <= (c) && (c) <= 'r') \
4726 || ('s' <= (c) && (c) <= 'z'))
4727 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4730 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4735 for (i = 0; i < 256; i++)
4736 if (XOR (islower (i), ISLOWER (i))
4737 || toupper (i) != TOUPPER (i))
4742 if ac_fn_c_try_run
"$LINENO"; then :
4745 ac_cv_header_stdc
=no
4747 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4748 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4754 $as_echo "$ac_cv_header_stdc" >&6; }
4755 if test $ac_cv_header_stdc = yes; then
4757 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4761 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4762 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4763 inttypes.h stdint.h unistd.h
4765 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4766 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4768 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4769 cat >>confdefs.h
<<_ACEOF
4770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4779 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4780 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4787 if test "$MINIX" = yes; then
4789 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4792 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4795 $as_echo "#define _MINIX 1" >>confdefs.h
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4801 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4802 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4803 $as_echo_n "(cached) " >&6
4805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4808 # define __EXTENSIONS__ 1
4809 $ac_includes_default
4818 if ac_fn_c_try_compile
"$LINENO"; then :
4819 ac_cv_safe_to_define___extensions__
=yes
4821 ac_cv_safe_to_define___extensions__
=no
4823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4826 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4827 test $ac_cv_safe_to_define___extensions__ = yes &&
4828 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4830 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4832 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4834 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4836 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4842 $as_echo_n "checking whether ln -s works... " >&6; }
4844 if test "$LN_S" = "ln -s"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4846 $as_echo "yes" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4849 $as_echo "no, using $LN_S" >&6; }
4853 ac_cpp
='$CPP $CPPFLAGS'
4854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4857 if test -n "$ac_tool_prefix"; then
4858 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4859 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if ${ac_cv_prog_CC+:} false
; then :
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$CC"; then
4866 ac_cv_prog_CC
="$CC" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4875 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 if test -n "$CC"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4888 $as_echo "$CC" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4896 if test -z "$ac_cv_prog_CC"; then
4898 # Extract the first word of "gcc", so it can be a program name with args.
4899 set dummy gcc
; ac_word
=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4903 $as_echo_n "(cached) " >&6
4905 if test -n "$ac_ct_CC"; then
4906 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4912 test -z "$as_dir" && as_dir
=.
4913 for ac_exec_ext
in '' $ac_executable_extensions; do
4914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4915 ac_cv_prog_ac_ct_CC
="gcc"
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4925 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4926 if test -n "$ac_ct_CC"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4928 $as_echo "$ac_ct_CC" >&6; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4934 if test "x$ac_ct_CC" = x
; then
4937 case $cross_compiling:$ac_tool_warned in
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4941 ac_tool_warned
=yes ;;
4949 if test -z "$CC"; then
4950 if test -n "$ac_tool_prefix"; then
4951 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4952 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if ${ac_cv_prog_CC+:} false
; then :
4956 $as_echo_n "(cached) " >&6
4958 if test -n "$CC"; then
4959 ac_cv_prog_CC
="$CC" # Let the user override the test.
4961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir
=.
4966 for ac_exec_ext
in '' $ac_executable_extensions; do
4967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 if test -n "$CC"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4981 $as_echo "$CC" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4990 if test -z "$CC"; then
4991 # Extract the first word of "cc", so it can be a program name with args.
4992 set dummy cc
; ac_word
=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if ${ac_cv_prog_CC+:} false
; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$CC"; then
4999 ac_cv_prog_CC
="$CC" # Let the user override the test.
5002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5006 test -z "$as_dir" && as_dir
=.
5007 for ac_exec_ext
in '' $ac_executable_extensions; do
5008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5009 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5010 ac_prog_rejected
=yes
5014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 if test $ac_prog_rejected = yes; then
5022 # We found a bogon in the path, so make sure we never use it.
5023 set dummy
$ac_cv_prog_CC
5025 if test $# != 0; then
5026 # We chose a different compiler from the bogus one.
5027 # However, it has the same basename, so the bogon will be chosen
5028 # first if we set CC to just the basename; use the full file name.
5030 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5036 if test -n "$CC"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5038 $as_echo "$CC" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5046 if test -z "$CC"; then
5047 if test -n "$ac_tool_prefix"; then
5048 for ac_prog
in cl.exe
5050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5051 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_CC+:} false
; then :
5055 $as_echo_n "(cached) " >&6
5057 if test -n "$CC"; then
5058 ac_cv_prog_CC
="$CC" # Let the user override the test.
5060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir
=.
5065 for ac_exec_ext
in '' $ac_executable_extensions; do
5066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5067 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 if test -n "$CC"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5080 $as_echo "$CC" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5087 test -n "$CC" && break
5090 if test -z "$CC"; then
5092 for ac_prog
in cl.exe
5094 # Extract the first word of "$ac_prog", so it can be a program name with args.
5095 set dummy
$ac_prog; ac_word
=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5099 $as_echo_n "(cached) " >&6
5101 if test -n "$ac_ct_CC"; then
5102 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir
=.
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_ac_ct_CC
="$ac_prog"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5122 if test -n "$ac_ct_CC"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5124 $as_echo "$ac_ct_CC" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5131 test -n "$ac_ct_CC" && break
5134 if test "x$ac_ct_CC" = x
; then
5137 case $cross_compiling:$ac_tool_warned in
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5141 ac_tool_warned
=yes ;;
5150 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5152 as_fn_error $?
"no acceptable C compiler found in \$PATH
5153 See \`config.log' for more details" "$LINENO" 5; }
5155 # Provide some information about the compiler.
5156 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5159 for ac_option
in --version -v -V -qversion; do
5160 { { ac_try
="$ac_compiler $ac_option >&5"
5162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5163 *) ac_try_echo=$ac_try;;
5165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5166 $as_echo "$ac_try_echo"; } >&5
5167 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5169 if test -s conftest.err; then
5171 ... rest of stderr output deleted ...
5172 10q' conftest.err >conftest.er1
5173 cat conftest.er1 >&5
5175 rm -f conftest.er1 conftest.err
5176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5177 test $ac_status = 0; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5181 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5182 if ${ac_cv_c_compiler_gnu+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5186 /* end confdefs.h. */
5199 if ac_fn_c_try_compile "$LINENO"; then :
5204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5205 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5209 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5210 if test $ac_compiler_gnu = yes; then
5215 ac_test_CFLAGS=${CFLAGS+set}
5216 ac_save_CFLAGS=$CFLAGS
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5218 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5219 if ${ac_cv_prog_cc_g+:} false; then :
5220 $as_echo_n "(cached) " >&6
5222 ac_save_c_werror_flag=$ac_c_werror_flag
5223 ac_c_werror_flag=yes
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5237 if ac_fn_c_try_compile "$LINENO"; then :
5241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5242 /* end confdefs.h. */
5252 if ac_fn_c_try_compile "$LINENO"; then :
5255 ac_c_werror_flag=$ac_save_c_werror_flag
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5268 if ac_fn_c_try_compile "$LINENO"; then :
5271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5276 ac_c_werror_flag=$ac_save_c_werror_flag
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5279 $as_echo "$ac_cv_prog_cc_g" >&6; }
5280 if test "$ac_test_CFLAGS" = set; then
5281 CFLAGS=$ac_save_CFLAGS
5282 elif test $ac_cv_prog_cc_g = yes; then
5283 if test "$GCC" = yes; then
5289 if test "$GCC" = yes; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5296 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5297 if ${ac_cv_prog_cc_c89+:} false; then :
5298 $as_echo_n "(cached) " >&6
5300 ac_cv_prog_cc_c89=no
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5307 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5308 struct buf { int x; };
5309 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5310 static char *e (p, i)
5316 static char *f (char * (*g) (char **, int), char **p, ...)
5321 s = g (p, va_arg (v,int));
5326 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5327 function prototypes and stuff, but not '\xHH' hex character constants.
5328 These don't provoke an error unfortunately, instead are silently treated
5329 as 'x'. The following induces an error, until -std is added to get
5330 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5331 array size at least. It's necessary to write '\x00'==0 to get something
5332 that's true only with -std. */
5333 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5335 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5336 inside strings and character constants. */
5338 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5340 int test (int i, double x);
5341 struct s1 {int (*f) (int a);};
5342 struct s2 {int (*f) (double a);};
5343 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5349 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5354 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5355 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5357 CC="$ac_save_CC $ac_arg"
5358 if ac_fn_c_try_compile "$LINENO"; then :
5359 ac_cv_prog_cc_c89=$ac_arg
5361 rm -f core conftest.err conftest.$ac_objext
5362 test "x$ac_cv_prog_cc_c89" != "xno" && break
5364 rm -f conftest.$ac_ext
5369 case "x$ac_cv_prog_cc_c89" in
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5372 $as_echo "none needed" >&6; } ;;
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5375 $as_echo "unsupported" >&6; } ;;
5377 CC="$CC $ac_cv_prog_cc_c89"
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5379 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5381 if test "x$ac_cv_prog_cc_c89" != xno; then :
5386 ac_cpp='$CPP $CPPFLAGS'
5387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5392 ac_cpp='$CPP $CPPFLAGS'
5393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5397 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5398 if ${am_cv_prog_cc_c_o+:} false; then :
5399 $as_echo_n "(cached) " >&6
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5412 # Make sure it works both with $CC and with simple cc.
5413 # Following AC_PROG_CC_C_O, we do the test twice because some
5414 # compilers refuse to overwrite an existing .o file with -o,
5415 # though they will create one.
5416 am_cv_prog_cc_c_o=yes
5418 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5419 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } \
5423 && test -f conftest2.$ac_objext; then
5426 am_cv_prog_cc_c_o=no
5430 rm -f core conftest*
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5434 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5435 if test "$am_cv_prog_cc_c_o" != yes; then
5436 # Losing compiler, so override with the script.
5437 # FIXME: It is wrong to rewrite CC.
5438 # But if we don't then we get into trouble of one sort or another.
5439 # A longer-term fix would be to have automake use am__CC in this case,
5440 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5441 CC="$am_aux_dir/compile $CC"
5444 ac_cpp='$CPP $CPPFLAGS'
5445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5450 depcc="$CC" am_compiler_list=
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5453 $as_echo_n "checking dependency style of $depcc... " >&6; }
5454 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5455 $as_echo_n "(cached) " >&6
5457 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5458 # We make a subdir and do the tests there. Otherwise we can end up
5459 # making bogus files that we don't know about and never remove. For
5460 # instance it was reported that on HP-UX the gcc test will end up
5461 # making a dummy file named 'D' -- because '-MD' means "put the output
5465 # Copy depcomp to subdir because otherwise we won't find it if we're
5466 # using a relative directory.
5467 cp "$am_depcomp" conftest.dir
5469 # We will build objects and dependencies in a subdirectory because
5470 # it helps to detect inapplicable dependency modes. For instance
5471 # both Tru64's cc and ICC support -MD to output dependencies as a
5472 # side effect of compilation, but ICC will put the dependencies in
5473 # the current directory while Tru64 will put them in the object
5477 am_cv_CC_dependencies_compiler_type=none
5478 if test "$am_compiler_list" = ""; then
5479 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5482 case " $depcc " in #(
5483 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5486 for depmode in $am_compiler_list; do
5487 # Setup a source with many dependencies, because some compilers
5488 # like to wrap large dependency lists on column 80 (with \), and
5489 # we should not choose a depcomp mode which is confused by this.
5491 # We need to recreate these files for each test, as the compiler may
5492 # overwrite some of them when testing with obscure command lines.
5493 # This happens at least with the AIX C compiler.
5495 for i in 1 2 3 4 5 6; do
5496 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5497 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5498 # Solaris 10 /bin/sh.
5499 echo '/* dummy */' > sub/conftst$i.h
5501 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5503 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5504 # mode. It turns out that the SunPro C++ compiler does not properly
5505 # handle '-M -o', and we need to detect this. Also, some Intel
5506 # versions had trouble with output in subdirs.
5507 am__obj=sub/conftest.${OBJEXT-o}
5508 am__minus_obj="-o $am__obj"
5511 # This depmode causes a compiler race in universal mode.
5512 test "$am__universal" = false || continue
5515 # After this tag, mechanisms are not by side-effect, so they'll
5516 # only be used when explicitly requested.
5517 if test "x$enable_dependency_tracking" = xyes; then
5523 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5524 # This compiler won't grok '-c -o', but also, the minuso test has
5525 # not run yet. These depmodes are late enough in the game, and
5526 # so weak that their functioning should not be impacted.
5527 am__obj=conftest.${OBJEXT-o}
5532 if depmode=$depmode \
5533 source=sub/conftest.c object=$am__obj \
5534 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5535 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5536 >/dev/null 2>conftest.err &&
5537 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5538 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5539 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5540 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5541 # icc doesn't choke on unknown options, it will just issue warnings
5542 # or remarks (even with -Werror). So we grep stderr for any message
5543 # that says an option was ignored or not supported.
5544 # When given -MP, icc 7.0 and 7.1 complain thusly:
5545 # icc: Command line warning: ignoring option '-M'; no argument required
5546 # The diagnosis changed in icc 8.0:
5547 # icc: Command line remark: option '-MP' not supported
5548 if (grep 'ignoring option' conftest.err ||
5549 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5550 am_cv_CC_dependencies_compiler_type=$depmode
5559 am_cv_CC_dependencies_compiler_type=none
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5564 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5565 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5568 test "x$enable_dependency_tracking" != xno \
5569 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5571 am__fastdepCC_FALSE='#'
5573 am__fastdepCC_TRUE='#'
5574 am__fastdepCC_FALSE=
5579 ac_cpp='$CXXCPP $CPPFLAGS'
5580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5583 if test -z "$CXX"; then
5584 if test -n "$CCC"; then
5587 if test -n "$ac_tool_prefix"; then
5588 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_CXX+:} false; then :
5595 $as_echo_n "(cached) " >&6
5597 if test -n "$CXX"; then
5598 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 if test -n "$CXX"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5620 $as_echo "$CXX" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5627 test -n "$CXX" && break
5630 if test -z "$CXX"; then
5632 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy $ac_prog; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$ac_ct_CXX"; then
5642 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_ac_ct_CXX="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5662 if test -n "$ac_ct_CXX"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5664 $as_echo "$ac_ct_CXX" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$ac_ct_CXX" && break
5674 if test "x$ac_ct_CXX" = x; then
5677 case $cross_compiling:$ac_tool_warned in
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5681 ac_tool_warned=yes ;;
5689 # Provide some information about the compiler.
5690 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5693 for ac_option in --version -v -V -qversion; do
5694 { { ac_try="$ac_compiler $ac_option >&5"
5696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5697 *) ac_try_echo
=$ac_try;;
5699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5700 $as_echo "$ac_try_echo"; } >&5
5701 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5703 if test -s conftest.err
; then
5705 ... rest of stderr output deleted ...
5706 10q' conftest.err
>conftest.er1
5707 cat conftest.er1
>&5
5709 rm -f conftest.er1 conftest.err
5710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5711 test $ac_status = 0; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5715 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5716 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5717 $as_echo_n "(cached) " >&6
5719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5720 /* end confdefs.h. */
5733 if ac_fn_cxx_try_compile
"$LINENO"; then :
5738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5739 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5743 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5744 if test $ac_compiler_gnu = yes; then
5749 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5750 ac_save_CXXFLAGS
=$CXXFLAGS
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5752 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5753 if ${ac_cv_prog_cxx_g+:} false
; then :
5754 $as_echo_n "(cached) " >&6
5756 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5757 ac_cxx_werror_flag
=yes
5760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5771 if ac_fn_cxx_try_compile
"$LINENO"; then :
5772 ac_cv_prog_cxx_g
=yes
5775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5776 /* end confdefs.h. */
5786 if ac_fn_cxx_try_compile
"$LINENO"; then :
5789 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5792 /* end confdefs.h. */
5802 if ac_fn_cxx_try_compile
"$LINENO"; then :
5803 ac_cv_prog_cxx_g
=yes
5805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5810 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5813 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5814 if test "$ac_test_CXXFLAGS" = set; then
5815 CXXFLAGS
=$ac_save_CXXFLAGS
5816 elif test $ac_cv_prog_cxx_g = yes; then
5817 if test "$GXX" = yes; then
5823 if test "$GXX" = yes; then
5830 ac_cpp
='$CPP $CPPFLAGS'
5831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5835 depcc
="$CXX" am_compiler_list
=
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5838 $as_echo_n "checking dependency style of $depcc... " >&6; }
5839 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5840 $as_echo_n "(cached) " >&6
5842 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5843 # We make a subdir and do the tests there. Otherwise we can end up
5844 # making bogus files that we don't know about and never remove. For
5845 # instance it was reported that on HP-UX the gcc test will end up
5846 # making a dummy file named 'D' -- because '-MD' means "put the output
5850 # Copy depcomp to subdir because otherwise we won't find it if we're
5851 # using a relative directory.
5852 cp "$am_depcomp" conftest.dir
5854 # We will build objects and dependencies in a subdirectory because
5855 # it helps to detect inapplicable dependency modes. For instance
5856 # both Tru64's cc and ICC support -MD to output dependencies as a
5857 # side effect of compilation, but ICC will put the dependencies in
5858 # the current directory while Tru64 will put them in the object
5862 am_cv_CXX_dependencies_compiler_type
=none
5863 if test "$am_compiler_list" = ""; then
5864 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5867 case " $depcc " in #(
5868 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5871 for depmode
in $am_compiler_list; do
5872 # Setup a source with many dependencies, because some compilers
5873 # like to wrap large dependency lists on column 80 (with \), and
5874 # we should not choose a depcomp mode which is confused by this.
5876 # We need to recreate these files for each test, as the compiler may
5877 # overwrite some of them when testing with obscure command lines.
5878 # This happens at least with the AIX C compiler.
5880 for i
in 1 2 3 4 5 6; do
5881 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5882 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5883 # Solaris 10 /bin/sh.
5884 echo '/* dummy */' > sub
/conftst
$i.h
5886 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5888 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5889 # mode. It turns out that the SunPro C++ compiler does not properly
5890 # handle '-M -o', and we need to detect this. Also, some Intel
5891 # versions had trouble with output in subdirs.
5892 am__obj
=sub
/conftest.
${OBJEXT-o}
5893 am__minus_obj
="-o $am__obj"
5896 # This depmode causes a compiler race in universal mode.
5897 test "$am__universal" = false ||
continue
5900 # After this tag, mechanisms are not by side-effect, so they'll
5901 # only be used when explicitly requested.
5902 if test "x$enable_dependency_tracking" = xyes
; then
5908 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5909 # This compiler won't grok '-c -o', but also, the minuso test has
5910 # not run yet. These depmodes are late enough in the game, and
5911 # so weak that their functioning should not be impacted.
5912 am__obj
=conftest.
${OBJEXT-o}
5917 if depmode
=$depmode \
5918 source=sub
/conftest.c object
=$am__obj \
5919 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5920 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5921 >/dev
/null
2>conftest.err
&&
5922 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5923 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5924 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5925 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5926 # icc doesn't choke on unknown options, it will just issue warnings
5927 # or remarks (even with -Werror). So we grep stderr for any message
5928 # that says an option was ignored or not supported.
5929 # When given -MP, icc 7.0 and 7.1 complain thusly:
5930 # icc: Command line warning: ignoring option '-M'; no argument required
5931 # The diagnosis changed in icc 8.0:
5932 # icc: Command line remark: option '-MP' not supported
5933 if (grep 'ignoring option' conftest.err ||
5934 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5935 am_cv_CXX_dependencies_compiler_type
=$depmode
5944 am_cv_CXX_dependencies_compiler_type
=none
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5949 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5950 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5953 test "x$enable_dependency_tracking" != xno \
5954 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5955 am__fastdepCXX_TRUE
=
5956 am__fastdepCXX_FALSE
='#'
5958 am__fastdepCXX_TRUE
='#'
5959 am__fastdepCXX_FALSE
=
5964 ac_cpp
='$CPP $CPPFLAGS'
5965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5969 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5970 # On Suns, sometimes $CPP names a directory.
5971 if test -n "$CPP" && test -d "$CPP"; then
5974 if test -z "$CPP"; then
5975 if ${ac_cv_prog_CPP+:} false
; then :
5976 $as_echo_n "(cached) " >&6
5978 # Double quotes because CPP needs to be expanded
5979 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5982 for ac_c_preproc_warn_flag
in '' yes
5984 # Use a header file that comes with gcc, so configuring glibc
5985 # with a fresh cross-compiler works.
5986 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5987 # <limits.h> exists even on freestanding compilers.
5988 # On the NeXT, cc -E runs the code through the compiler's parser,
5989 # not just through cpp. "Syntax error" is here to catch this case.
5990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5993 # include <limits.h>
5995 # include <assert.h>
5999 if ac_fn_c_try_cpp
"$LINENO"; then :
6002 # Broken: fails on valid input.
6005 rm -f conftest.err conftest.i conftest.
$ac_ext
6007 # OK, works on sane cases. Now check whether nonexistent headers
6008 # can be detected and how.
6009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6011 #include <ac_nonexistent.h>
6013 if ac_fn_c_try_cpp
"$LINENO"; then :
6014 # Broken: success on invalid input.
6017 # Passes both tests.
6021 rm -f conftest.err conftest.i conftest.
$ac_ext
6024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6025 rm -f conftest.i conftest.err conftest.
$ac_ext
6026 if $ac_preproc_ok; then :
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6039 $as_echo "$CPP" >&6; }
6041 for ac_c_preproc_warn_flag
in '' yes
6043 # Use a header file that comes with gcc, so configuring glibc
6044 # with a fresh cross-compiler works.
6045 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6046 # <limits.h> exists even on freestanding compilers.
6047 # On the NeXT, cc -E runs the code through the compiler's parser,
6048 # not just through cpp. "Syntax error" is here to catch this case.
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6052 # include <limits.h>
6054 # include <assert.h>
6058 if ac_fn_c_try_cpp
"$LINENO"; then :
6061 # Broken: fails on valid input.
6064 rm -f conftest.err conftest.i conftest.
$ac_ext
6066 # OK, works on sane cases. Now check whether nonexistent headers
6067 # can be detected and how.
6068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h. */
6070 #include <ac_nonexistent.h>
6072 if ac_fn_c_try_cpp
"$LINENO"; then :
6073 # Broken: success on invalid input.
6076 # Passes both tests.
6080 rm -f conftest.err conftest.i conftest.
$ac_ext
6083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6084 rm -f conftest.i conftest.err conftest.
$ac_ext
6085 if $ac_preproc_ok; then :
6088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6090 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6091 See \`config.log' for more details" "$LINENO" 5; }
6095 ac_cpp
='$CPP $CPPFLAGS'
6096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6101 ac_cpp
='$CPP $CPPFLAGS'
6102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6105 if test -n "$ac_tool_prefix"; then
6106 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6107 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if ${ac_cv_prog_CC+:} false
; then :
6111 $as_echo_n "(cached) " >&6
6113 if test -n "$CC"; then
6114 ac_cv_prog_CC
="$CC" # Let the user override the test.
6116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6120 test -z "$as_dir" && as_dir
=.
6121 for ac_exec_ext
in '' $ac_executable_extensions; do
6122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6123 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6134 if test -n "$CC"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6136 $as_echo "$CC" >&6; }
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6144 if test -z "$ac_cv_prog_CC"; then
6146 # Extract the first word of "gcc", so it can be a program name with args.
6147 set dummy gcc
; ac_word
=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
6151 $as_echo_n "(cached) " >&6
6153 if test -n "$ac_ct_CC"; then
6154 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir
=.
6161 for ac_exec_ext
in '' $ac_executable_extensions; do
6162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_ac_ct_CC
="gcc"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6174 if test -n "$ac_ct_CC"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6176 $as_echo "$ac_ct_CC" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6182 if test "x$ac_ct_CC" = x
; then
6185 case $cross_compiling:$ac_tool_warned in
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6189 ac_tool_warned
=yes ;;
6197 if test -z "$CC"; then
6198 if test -n "$ac_tool_prefix"; then
6199 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6200 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_CC+:} false
; then :
6204 $as_echo_n "(cached) " >&6
6206 if test -n "$CC"; then
6207 ac_cv_prog_CC
="$CC" # Let the user override the test.
6209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6213 test -z "$as_dir" && as_dir
=.
6214 for ac_exec_ext
in '' $ac_executable_extensions; do
6215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_CC
="${ac_tool_prefix}cc"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6227 if test -n "$CC"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6229 $as_echo "$CC" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6238 if test -z "$CC"; then
6239 # Extract the first word of "cc", so it can be a program name with args.
6240 set dummy cc
; ac_word
=$2
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6242 $as_echo_n "checking for $ac_word... " >&6; }
6243 if ${ac_cv_prog_CC+:} false
; then :
6244 $as_echo_n "(cached) " >&6
6246 if test -n "$CC"; then
6247 ac_cv_prog_CC
="$CC" # Let the user override the test.
6250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6254 test -z "$as_dir" && as_dir
=.
6255 for ac_exec_ext
in '' $ac_executable_extensions; do
6256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6257 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6258 ac_prog_rejected
=yes
6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6269 if test $ac_prog_rejected = yes; then
6270 # We found a bogon in the path, so make sure we never use it.
6271 set dummy
$ac_cv_prog_CC
6273 if test $# != 0; then
6274 # We chose a different compiler from the bogus one.
6275 # However, it has the same basename, so the bogon will be chosen
6276 # first if we set CC to just the basename; use the full file name.
6278 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
6284 if test -n "$CC"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6286 $as_echo "$CC" >&6; }
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6294 if test -z "$CC"; then
6295 if test -n "$ac_tool_prefix"; then
6296 for ac_prog
in cl.exe
6298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6299 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_prog_CC+:} false
; then :
6303 $as_echo_n "(cached) " >&6
6305 if test -n "$CC"; then
6306 ac_cv_prog_CC
="$CC" # Let the user override the test.
6308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir
=.
6313 for ac_exec_ext
in '' $ac_executable_extensions; do
6314 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6315 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
6316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 if test -n "$CC"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6328 $as_echo "$CC" >&6; }
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6335 test -n "$CC" && break
6338 if test -z "$CC"; then
6340 for ac_prog
in cl.exe
6342 # Extract the first word of "$ac_prog", so it can be a program name with args.
6343 set dummy
$ac_prog; ac_word
=$2
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345 $as_echo_n "checking for $ac_word... " >&6; }
6346 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
6347 $as_echo_n "(cached) " >&6
6349 if test -n "$ac_ct_CC"; then
6350 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
6352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6356 test -z "$as_dir" && as_dir
=.
6357 for ac_exec_ext
in '' $ac_executable_extensions; do
6358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6359 ac_cv_prog_ac_ct_CC
="$ac_prog"
6360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6369 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
6370 if test -n "$ac_ct_CC"; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6372 $as_echo "$ac_ct_CC" >&6; }
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6375 $as_echo "no" >&6; }
6379 test -n "$ac_ct_CC" && break
6382 if test "x$ac_ct_CC" = x
; then
6385 case $cross_compiling:$ac_tool_warned in
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6389 ac_tool_warned
=yes ;;
6398 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6400 as_fn_error $?
"no acceptable C compiler found in \$PATH
6401 See \`config.log' for more details" "$LINENO" 5; }
6403 # Provide some information about the compiler.
6404 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6407 for ac_option
in --version -v -V -qversion; do
6408 { { ac_try
="$ac_compiler $ac_option >&5"
6410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6411 *) ac_try_echo=$ac_try;;
6413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6414 $as_echo "$ac_try_echo"; } >&5
6415 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6417 if test -s conftest.err; then
6419 ... rest of stderr output deleted ...
6420 10q' conftest.err >conftest.er1
6421 cat conftest.er1 >&5
6423 rm -f conftest.er1 conftest.err
6424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6425 test $ac_status = 0; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6429 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6430 if ${ac_cv_c_compiler_gnu+:} false; then :
6431 $as_echo_n "(cached) " >&6
6433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434 /* end confdefs.h. */
6447 if ac_fn_c_try_compile "$LINENO"; then :
6452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6453 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6457 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6458 if test $ac_compiler_gnu = yes; then
6463 ac_test_CFLAGS=${CFLAGS+set}
6464 ac_save_CFLAGS=$CFLAGS
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6466 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6467 if ${ac_cv_prog_cc_g+:} false; then :
6468 $as_echo_n "(cached) " >&6
6470 ac_save_c_werror_flag=$ac_c_werror_flag
6471 ac_c_werror_flag=yes
6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6485 if ac_fn_c_try_compile "$LINENO"; then :
6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6500 if ac_fn_c_try_compile "$LINENO"; then :
6503 ac_c_werror_flag=$ac_save_c_werror_flag
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6516 if ac_fn_c_try_compile "$LINENO"; then :
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 ac_c_werror_flag=$ac_save_c_werror_flag
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6527 $as_echo "$ac_cv_prog_cc_g" >&6; }
6528 if test "$ac_test_CFLAGS" = set; then
6529 CFLAGS=$ac_save_CFLAGS
6530 elif test $ac_cv_prog_cc_g = yes; then
6531 if test "$GCC" = yes; then
6537 if test "$GCC" = yes; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6544 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6545 if ${ac_cv_prog_cc_c89+:} false; then :
6546 $as_echo_n "(cached) " >&6
6548 ac_cv_prog_cc_c89=no
6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6555 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6556 struct buf { int x; };
6557 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6558 static char *e (p, i)
6564 static char *f (char * (*g) (char **, int), char **p, ...)
6569 s = g (p, va_arg (v,int));
6574 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6575 function prototypes and stuff, but not '\xHH' hex character constants.
6576 These don't provoke an error unfortunately, instead are silently treated
6577 as 'x'. The following induces an error, until -std is added to get
6578 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6579 array size at least. It's necessary to write '\x00'==0 to get something
6580 that's true only with -std. */
6581 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6583 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6584 inside strings and character constants. */
6586 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6588 int test (int i, double x);
6589 struct s1 {int (*f) (int a);};
6590 struct s2 {int (*f) (double a);};
6591 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6597 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6602 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6603 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6605 CC="$ac_save_CC $ac_arg"
6606 if ac_fn_c_try_compile "$LINENO"; then :
6607 ac_cv_prog_cc_c89=$ac_arg
6609 rm -f core conftest.err conftest.$ac_objext
6610 test "x$ac_cv_prog_cc_c89" != "xno" && break
6612 rm -f conftest.$ac_ext
6617 case "x$ac_cv_prog_cc_c89" in
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6620 $as_echo "none needed" >&6; } ;;
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6623 $as_echo "unsupported" >&6; } ;;
6625 CC="$CC $ac_cv_prog_cc_c89"
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6627 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6629 if test "x$ac_cv_prog_cc_c89" != xno; then :
6634 ac_cpp='$CPP $CPPFLAGS'
6635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6640 ac_cpp='$CPP $CPPFLAGS'
6641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6645 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6646 if ${am_cv_prog_cc_c_o+:} false; then :
6647 $as_echo_n "(cached) " >&6
6649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6650 /* end confdefs.h. */
6660 # Make sure it works both with $CC and with simple cc.
6661 # Following AC_PROG_CC_C_O, we do the test twice because some
6662 # compilers refuse to overwrite an existing .o file with -o,
6663 # though they will create one.
6664 am_cv_prog_cc_c_o=yes
6666 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6667 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } \
6671 && test -f conftest2.$ac_objext; then
6674 am_cv_prog_cc_c_o=no
6678 rm -f core conftest*
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6682 $as_echo "$am_cv_prog_cc_c_o" >&6; }
6683 if test "$am_cv_prog_cc_c_o" != yes; then
6684 # Losing compiler, so override with the script.
6685 # FIXME: It is wrong to rewrite CC.
6686 # But if we don't then we get into trouble of one sort or another.
6687 # A longer-term fix would be to have automake use am__CC in this case,
6688 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6689 CC="$am_aux_dir/compile $CC"
6692 ac_cpp='$CPP $CPPFLAGS'
6693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6698 depcc="$CC" am_compiler_list=
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6701 $as_echo_n "checking dependency style of $depcc... " >&6; }
6702 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6703 $as_echo_n "(cached) " >&6
6705 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6706 # We make a subdir and do the tests there. Otherwise we can end up
6707 # making bogus files that we don't know about and never remove. For
6708 # instance it was reported that on HP-UX the gcc test will end up
6709 # making a dummy file named 'D' -- because '-MD' means "put the output
6713 # Copy depcomp to subdir because otherwise we won't find it if we're
6714 # using a relative directory.
6715 cp "$am_depcomp" conftest.dir
6717 # We will build objects and dependencies in a subdirectory because
6718 # it helps to detect inapplicable dependency modes. For instance
6719 # both Tru64's cc and ICC support -MD to output dependencies as a
6720 # side effect of compilation, but ICC will put the dependencies in
6721 # the current directory while Tru64 will put them in the object
6725 am_cv_CC_dependencies_compiler_type=none
6726 if test "$am_compiler_list" = ""; then
6727 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6730 case " $depcc " in #(
6731 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6734 for depmode in $am_compiler_list; do
6735 # Setup a source with many dependencies, because some compilers
6736 # like to wrap large dependency lists on column 80 (with \), and
6737 # we should not choose a depcomp mode which is confused by this.
6739 # We need to recreate these files for each test, as the compiler may
6740 # overwrite some of them when testing with obscure command lines.
6741 # This happens at least with the AIX C compiler.
6743 for i in 1 2 3 4 5 6; do
6744 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6745 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6746 # Solaris 10 /bin/sh.
6747 echo '/* dummy */' > sub/conftst$i.h
6749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6751 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6752 # mode. It turns out that the SunPro C++ compiler does not properly
6753 # handle '-M -o', and we need to detect this. Also, some Intel
6754 # versions had trouble with output in subdirs.
6755 am__obj=sub/conftest.${OBJEXT-o}
6756 am__minus_obj="-o $am__obj"
6759 # This depmode causes a compiler race in universal mode.
6760 test "$am__universal" = false || continue
6763 # After this tag, mechanisms are not by side-effect, so they'll
6764 # only be used when explicitly requested.
6765 if test "x$enable_dependency_tracking" = xyes; then
6771 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6772 # This compiler won't grok '-c -o', but also, the minuso test has
6773 # not run yet. These depmodes are late enough in the game, and
6774 # so weak that their functioning should not be impacted.
6775 am__obj=conftest.${OBJEXT-o}
6780 if depmode=$depmode \
6781 source=sub/conftest.c object=$am__obj \
6782 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6783 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6784 >/dev/null 2>conftest.err &&
6785 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6786 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6787 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6788 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6789 # icc doesn't choke on unknown options, it will just issue warnings
6790 # or remarks (even with -Werror). So we grep stderr for any message
6791 # that says an option was ignored or not supported.
6792 # When given -MP, icc 7.0 and 7.1 complain thusly:
6793 # icc: Command line warning: ignoring option '-M'; no argument required
6794 # The diagnosis changed in icc 8.0:
6795 # icc: Command line remark: option '-MP' not supported
6796 if (grep 'ignoring option' conftest.err ||
6797 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6798 am_cv_CC_dependencies_compiler_type=$depmode
6807 am_cv_CC_dependencies_compiler_type=none
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6812 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6813 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6816 test "x$enable_dependency_tracking" != xno \
6817 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6819 am__fastdepCC_FALSE='#'
6821 am__fastdepCC_TRUE='#'
6822 am__fastdepCC_FALSE=
6826 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
6829 if test -n "$ac_tool_prefix"; then
6830 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6831 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6833 $as_echo_n "checking for $ac_word... " >&6; }
6834 if ${ac_cv_prog_RANLIB+:} false; then :
6835 $as_echo_n "(cached) " >&6
6837 if test -n "$RANLIB"; then
6838 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir=.
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6847 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6857 RANLIB=$ac_cv_prog_RANLIB
6858 if test -n "$RANLIB"; then
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6860 $as_echo "$RANLIB" >&6; }
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6863 $as_echo "no" >&6; }
6868 if test -z "$ac_cv_prog_RANLIB"; then
6869 ac_ct_RANLIB=$RANLIB
6870 # Extract the first word of "ranlib", so it can be a program name with args.
6871 set dummy ranlib; ac_word=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6875 $as_echo_n "(cached) " >&6
6877 if test -n "$ac_ct_RANLIB"; then
6878 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_ac_ct_RANLIB="ranlib"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6898 if test -n "$ac_ct_RANLIB"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6900 $as_echo "$ac_ct_RANLIB" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6906 if test "x$ac_ct_RANLIB" = x; then
6909 case $cross_compiling:$ac_tool_warned in
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6913 ac_tool_warned=yes ;;
6915 RANLIB=$ac_ct_RANLIB
6918 RANLIB="$ac_cv_prog_RANLIB"
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6925 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6927 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6928 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6929 $as_echo_n "(cached) " >&6
6931 cat >conftest.make <<\_ACEOF
6934 @echo '@@@%%%=$(MAKE)=@@@%%%'
6936 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6937 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6939 eval ac_cv_prog_make_${ac_make}_set=yes;;
6941 eval ac_cv_prog_make_${ac_make}_set=no;;
6945 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6947 $as_echo "yes" >&6; }
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6952 SET_MAKE="MAKE=${MAKE-make}"
6957 # Check whether --enable-largefile was given.
6958 if test "${enable_largefile+set}" = set; then :
6959 enableval=$enable_largefile;
6962 if test "$enable_largefile" != no; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6965 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6966 if ${ac_cv_sys_largefile_CC+:} false; then :
6967 $as_echo_n "(cached) " >&6
6969 ac_cv_sys_largefile_CC=no
6970 if test "$GCC" != yes; then
6973 # IRIX 6.2 and later do not support large files by default,
6974 # so use the C compiler's -n32 option if that helps.
6975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6976 /* end confdefs.h. */
6977 #include <sys/types.h>
6978 /* Check that off_t can represent 2**63 - 1 correctly.
6979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6980 since some C++ compilers masquerading as C compilers
6981 incorrectly reject 9223372036854775807. */
6982 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6984 && LARGE_OFF_T % 2147483647 == 1)
6994 if ac_fn_c_try_compile "$LINENO"; then :
6997 rm -f core conftest.err conftest.$ac_objext
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_largefile_CC=' -n32'; break
7002 rm -f core conftest.err conftest.$ac_objext
7006 rm -f conftest.$ac_ext
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7010 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7011 if test "$ac_cv_sys_largefile_CC" != no; then
7012 CC=$CC$ac_cv_sys_largefile_CC
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7016 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7017 if ${ac_cv_sys_file_offset_bits+:} false; then :
7018 $as_echo_n "(cached) " >&6
7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022 /* end confdefs.h. */
7023 #include <sys/types.h>
7024 /* Check that off_t can represent 2**63 - 1 correctly.
7025 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7026 since some C++ compilers masquerading as C compilers
7027 incorrectly reject 9223372036854775807. */
7028 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7029 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7030 && LARGE_OFF_T % 2147483647 == 1)
7040 if ac_fn_c_try_compile "$LINENO"; then :
7041 ac_cv_sys_file_offset_bits=no; break
7043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7046 #define _FILE_OFFSET_BITS 64
7047 #include <sys/types.h>
7048 /* Check that off_t can represent 2**63 - 1 correctly.
7049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7050 since some C++ compilers masquerading as C compilers
7051 incorrectly reject 9223372036854775807. */
7052 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7054 && LARGE_OFF_T % 2147483647 == 1)
7064 if ac_fn_c_try_compile "$LINENO"; then :
7065 ac_cv_sys_file_offset_bits=64; break
7067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 ac_cv_sys_file_offset_bits=unknown
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7073 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7074 case $ac_cv_sys_file_offset_bits in #(
7077 cat >>confdefs.h <<_ACEOF
7078 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7083 if test $ac_cv_sys_file_offset_bits = unknown; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7085 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7086 if ${ac_cv_sys_large_files+:} false; then :
7087 $as_echo_n "(cached) " >&6
7090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7091 /* end confdefs.h. */
7092 #include <sys/types.h>
7093 /* Check that off_t can represent 2**63 - 1 correctly.
7094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7095 since some C++ compilers masquerading as C compilers
7096 incorrectly reject 9223372036854775807. */
7097 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7099 && LARGE_OFF_T % 2147483647 == 1)
7109 if ac_fn_c_try_compile "$LINENO"; then :
7110 ac_cv_sys_large_files=no; break
7112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 #define _LARGE_FILES 1
7116 #include <sys/types.h>
7117 /* Check that off_t can represent 2**63 - 1 correctly.
7118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7119 since some C++ compilers masquerading as C compilers
7120 incorrectly reject 9223372036854775807. */
7121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7123 && LARGE_OFF_T % 2147483647 == 1)
7133 if ac_fn_c_try_compile "$LINENO"; then :
7134 ac_cv_sys_large_files=1; break
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 ac_cv_sys_large_files=unknown
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7142 $as_echo "$ac_cv_sys_large_files" >&6; }
7143 case $ac_cv_sys_large_files in #(
7146 cat >>confdefs.h <<_ACEOF
7147 #define _LARGE_FILES $ac_cv_sys_large_files
7157 for ac_func in ppoll
7159 ac_fn_c_check_func "$LINENO" "ppoll" "ac_cv_func_ppoll"
7160 if test "x$ac_cv_func_ppoll" = xyes; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define HAVE_PPOLL 1
7168 for ac_func in openat
7170 ac_fn_c_check_func "$LINENO" "openat" "ac_cv_func_openat"
7171 if test "x$ac_cv_func_openat" = xyes; then :
7172 cat >>confdefs.h <<_ACEOF
7173 #define HAVE_OPENAT 1
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7180 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7181 if ${ac_cv_path_SED+:} false; then :
7182 $as_echo_n "(cached) " >&6
7184 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7185 for ac_i in 1 2 3 4 5 6 7; do
7186 ac_script="$ac_script$as_nl$ac_script"
7188 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7189 { ac_script=; unset ac_script;}
7190 if test -z "$SED"; then
7191 ac_path_SED_found=false
7192 # Loop through the user's path and test for each of PROGNAME-LIST
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir=.
7198 for ac_prog in sed gsed; do
7199 for ac_exec_ext in '' $ac_executable_extensions; do
7200 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7201 as_fn_executable_p "$ac_path_SED" || continue
7202 # Check for GNU ac_path_SED and select it if it is found.
7203 # Check for GNU $ac_path_SED
7204 case `"$ac_path_SED" --version 2>&1` in
7206 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7209 $as_echo_n 0123456789 >"conftest.in"
7212 cat "conftest.in" "conftest.in" >"conftest.tmp"
7213 mv "conftest.tmp" "conftest.in"
7214 cp "conftest.in" "conftest.nl"
7215 $as_echo '' >> "conftest.nl"
7216 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7217 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7218 as_fn_arith $ac_count + 1 && ac_count=$as_val
7219 if test $ac_count -gt ${ac_path_SED_max-0}; then
7220 # Best one so far, save it but keep looking for a better one
7221 ac_cv_path_SED="$ac_path_SED"
7222 ac_path_SED_max=$ac_count
7224 # 10*(2^10) chars as input seems more than enough
7225 test $ac_count -gt 10 && break
7227 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7230 $ac_path_SED_found && break 3
7235 if test -z "$ac_cv_path_SED"; then
7236 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7244 $as_echo "$ac_cv_path_SED" >&6; }
7245 SED="$ac_cv_path_SED"
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7250 $as_echo_n "checking whether NLS is requested... " >&6; }
7251 # Check whether --enable-nls was given.
7252 if test "${enable_nls+set}" = set; then :
7253 enableval=$enable_nls; USE_NLS=$enableval
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7259 $as_echo "$USE_NLS" >&6; }
7264 GETTEXT_MACRO_VERSION=0.19
7269 # Prepare PATH_SEPARATOR.
7270 # The user is always right.
7271 if test "${PATH_SEPARATOR+set}" != set; then
7272 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7273 # contains only /bin. Note that ksh looks also at the FPATH variable,
7274 # so we have to set that as well for the test.
7276 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7277 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7278 || PATH_SEPARATOR=';'
7282 # Find out how to test for executable files. Don't use a zero-byte file,
7283 # as systems may use methods other than mode bits to determine executability.
7284 cat >conf$$.file <<_ASEOF
7288 chmod +x conf$$.file
7289 if test -x conf$$.file >/dev/null 2>&1; then
7290 ac_executable_p="test -x"
7292 ac_executable_p="test -f"
7296 # Extract the first word of "msgfmt", so it can be a program name with args.
7297 set dummy msgfmt; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if ${ac_cv_path_MSGFMT+:} false; then :
7301 $as_echo_n "(cached) " >&6
7305 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7308 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7309 for ac_dir in $PATH; do
7311 test -z "$ac_dir" && ac_dir=.
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7314 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7315 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
7316 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7317 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
7324 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
7328 MSGFMT="$ac_cv_path_MSGFMT"
7329 if test "$MSGFMT" != ":"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7331 $as_echo "$MSGFMT" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7337 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7338 set dummy gmsgfmt; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if ${ac_cv_path_GMSGFMT+:} false; then :
7342 $as_echo_n "(cached) " >&6
7346 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7356 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7368 GMSGFMT=$ac_cv_path_GMSGFMT
7369 if test -n "$GMSGFMT"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7371 $as_echo "$GMSGFMT" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7379 case `$MSGFMT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
7380 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
7381 *) MSGFMT_015=$MSGFMT ;;
7384 case `$GMSGFMT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
7385 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
7386 *) GMSGFMT_015=$GMSGFMT ;;
7391 # Prepare PATH_SEPARATOR.
7392 # The user is always right.
7393 if test "${PATH_SEPARATOR+set}" != set; then
7394 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7395 # contains only /bin. Note that ksh looks also at the FPATH variable,
7396 # so we have to set that as well for the test.
7398 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7399 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7400 || PATH_SEPARATOR=';'
7404 # Find out how to test for executable files. Don't use a zero-byte file,
7405 # as systems may use methods other than mode bits to determine executability.
7406 cat >conf$$.file <<_ASEOF
7410 chmod +x conf$$.file
7411 if test -x conf$$.file >/dev/null 2>&1; then
7412 ac_executable_p="test -x"
7414 ac_executable_p="test -f"
7418 # Extract the first word of "xgettext", so it can be a program name with args.
7419 set dummy xgettext; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 $as_echo_n "checking for $ac_word... " >&6; }
7422 if ${ac_cv_path_XGETTEXT+:} false; then :
7423 $as_echo_n "(cached) " >&6
7427 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7430 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7431 for ac_dir in $PATH; do
7433 test -z "$ac_dir" && ac_dir=.
7434 for ac_exec_ext in '' $ac_executable_extensions; do
7435 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7436 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7437 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
7438 (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
7439 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
7446 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7450 XGETTEXT="$ac_cv_path_XGETTEXT"
7451 if test "$XGETTEXT" != ":"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7453 $as_echo "$XGETTEXT" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7461 case `$XGETTEXT --version |
sed 1q |
sed -e 's,^[^0-9]*,,'` in
7462 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
7463 *) XGETTEXT_015=$XGETTEXT ;;
7468 # Prepare PATH_SEPARATOR.
7469 # The user is always right.
7470 if test "${PATH_SEPARATOR+set}" != set; then
7471 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7472 # contains only /bin. Note that ksh looks also at the FPATH variable,
7473 # so we have to set that as well for the test.
7475 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7476 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7477 || PATH_SEPARATOR=';'
7481 # Find out how to test for executable files. Don't use a zero-byte file,
7482 # as systems may use methods other than mode bits to determine executability.
7483 cat >conf$$.file <<_ASEOF
7487 chmod +x conf$$.file
7488 if test -x conf$$.file >/dev/null 2>&1; then
7489 ac_executable_p="test -x"
7491 ac_executable_p="test -f"
7495 # Extract the first word of "msgmerge", so it can be a program name with args.
7496 set dummy msgmerge; ac_word=$2
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7498 $as_echo_n "checking for $ac_word... " >&6; }
7499 if ${ac_cv_path_MSGMERGE+:} false; then :
7500 $as_echo_n "(cached) " >&6
7504 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7507 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7508 for ac_dir in $PATH; do
7510 test -z "$ac_dir" && ac_dir=.
7511 for ac_exec_ext in '' $ac_executable_extensions; do
7512 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7513 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7514 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
7515 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
7522 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
7526 MSGMERGE="$ac_cv_path_MSGMERGE"
7527 if test "$MSGMERGE" != ":"; then
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7529 $as_echo "$MSGMERGE" >&6; }
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532 $as_echo "no" >&6; }
7536 test -n "$localedir" || localedir='${datadir}/locale'
7539 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
7542 ac_config_commands="$ac_config_commands po-directories"
7546 if test "X$prefix" = "XNONE"; then
7547 acl_final_prefix="$ac_default_prefix"
7549 acl_final_prefix="$prefix"
7551 if test "X$exec_prefix" = "XNONE"; then
7552 acl_final_exec_prefix='${prefix}'
7554 acl_final_exec_prefix="$exec_prefix"
7556 acl_save_prefix="$prefix"
7557 prefix="$acl_final_prefix"
7558 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
7559 prefix="$acl_save_prefix"
7563 # Check whether --with-gnu-ld was given.
7564 if test "${with_gnu_ld+set}" = set; then :
7565 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7570 # Prepare PATH_SEPARATOR.
7571 # The user is always right.
7572 if test "${PATH_SEPARATOR+set}" != set; then
7573 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7574 # contains only /bin. Note that ksh looks also at the FPATH variable,
7575 # so we have to set that as well for the test.
7577 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7578 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7579 || PATH_SEPARATOR=';'
7584 if test "$GCC" = yes; then
7585 # Check if gcc -print-prog-name=ld gives a path.
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7587 $as_echo_n "checking for ld used by $CC... " >&6; }
7590 # gcc leaves a trailing carriage return which upsets mingw
7591 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
7593 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
7596 # Accept absolute paths.
7598 re_direlt='/[^/][^/]*/\.\./'
7599 # Canonicalize the pathname of ld
7600 ac_prog=`echo "$ac_prog"|
sed 's%\\\\%/%g'`
7601 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
7602 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
7604 test -z "$LD" && LD="$ac_prog"
7607 # If it fails, then pretend we aren't using GCC.
7611 # If it is relative, then search for the first ld in PATH.
7615 elif test "$with_gnu_ld" = yes; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7617 $as_echo_n "checking for GNU ld... " >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7620 $as_echo_n "checking for non-GNU ld... " >&6; }
7622 if ${acl_cv_path_LD+:} false; then :
7623 $as_echo_n "(cached) " >&6
7625 if test -z "$LD"; then
7626 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7627 for ac_dir in $PATH; do
7629 test -z "$ac_dir" && ac_dir=.
7630 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7631 acl_cv_path_LD="$ac_dir/$ac_prog"
7632 # Check to see if the program is GNU ld. I'd rather use --version,
7633 # but apparently some variants of GNU ld only accept -v.
7634 # Break only if it was the GNU/non-GNU ld that we prefer.
7635 case `"$acl_cv_path_LD" -v 2>&1 </dev
/null
` in
7636 *GNU* | *'with BFD'*)
7637 test "$with_gnu_ld" != no && break
7640 test "$with_gnu_ld" != yes && break
7647 acl_cv_path_LD="$LD" # Let the user override the test with a path.
7651 LD="$acl_cv_path_LD"
7652 if test -n "$LD"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7654 $as_echo "$LD" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7659 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7661 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7662 if ${acl_cv_prog_gnu_ld+:} false; then :
7663 $as_echo_n "(cached) " >&6
7665 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7666 case `$LD -v 2>&1 </dev
/null
` in
7667 *GNU* | *'with BFD'*)
7668 acl_cv_prog_gnu_ld=yes
7671 acl_cv_prog_gnu_ld=no
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
7676 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
7677 with_gnu_ld=$acl_cv_prog_gnu_ld
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7683 $as_echo_n "checking for shared library run path origin... " >&6; }
7684 if ${acl_cv_rpath+:} false; then :
7685 $as_echo_n "(cached) " >&6
7688 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
7689 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
7696 $as_echo "$acl_cv_rpath" >&6; }
7698 acl_libext="$acl_cv_libext"
7699 acl_shlibext="$acl_cv_shlibext"
7700 acl_libname_spec="$acl_cv_libname_spec"
7701 acl_library_names_spec="$acl_cv_library_names_spec"
7702 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
7703 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
7704 acl_hardcode_direct="$acl_cv_hardcode_direct"
7705 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
7706 # Check whether --enable-rpath was given.
7707 if test "${enable_rpath+set}" = set; then :
7708 enableval=$enable_rpath; :
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7721 $as_echo_n "checking for 64-bit host... " >&6; }
7722 if ${gl_cv_solaris_64bit+:} false; then :
7723 $as_echo_n "(cached) " >&6
7725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7726 /* end confdefs.h. */
7733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7734 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
7735 gl_cv_solaris_64bit=yes
7737 gl_cv_solaris_64bit=no
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7744 $as_echo "$gl_cv_solaris_64bit" >&6; }
7745 if test $gl_cv_solaris_64bit = yes; then
7746 acl_libdirstem=lib/64
7748 sparc*) acl_libdirstem2=lib/sparcv9 ;;
7749 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
7754 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null |
sed -n -e 's,^libraries: ,,p' |
sed -e 's,^=,,'`
7755 if test -n "$searchpath"; then
7756 acl_save_IFS="${IFS= }"; IFS=":"
7757 for searchdir in $searchpath; do
7758 if test -d "$searchdir"; then
7759 case "$searchdir" in
7760 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
7762 # Better ignore directories of this form. They are misleading.
7764 *) searchdir=`cd "$searchdir" && pwd`
7765 case "$searchdir" in
7766 */lib64 ) acl_libdirstem=lib64 ;;
7775 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
7790 acl_save_prefix="$prefix"
7791 prefix="$acl_final_prefix"
7792 acl_save_exec_prefix="$exec_prefix"
7793 exec_prefix="$acl_final_exec_prefix"
7795 eval additional_includedir=\"$includedir\"
7796 eval additional_libdir=\"$libdir\"
7798 exec_prefix="$acl_save_exec_prefix"
7799 prefix="$acl_save_prefix"
7802 # Check whether --with-libiconv-prefix was given.
7803 if test "${with_libiconv_prefix+set}" = set; then :
7804 withval=$with_libiconv_prefix;
7805 if test "X$withval" = "Xno"; then
7808 if test "X$withval" = "X"; then
7810 acl_save_prefix="$prefix"
7811 prefix="$acl_final_prefix"
7812 acl_save_exec_prefix="$exec_prefix"
7813 exec_prefix="$acl_final_exec_prefix"
7815 eval additional_includedir=\"$includedir\"
7816 eval additional_libdir=\"$libdir\"
7818 exec_prefix="$acl_save_exec_prefix"
7819 prefix="$acl_save_prefix"
7822 additional_includedir="$withval/include"
7823 additional_libdir="$withval/$acl_libdirstem"
7824 if test "$acl_libdirstem2" != "$acl_libdirstem" \
7825 && ! test -d "$withval/$acl_libdirstem"; then
7826 additional_libdir="$withval/$acl_libdirstem2"
7840 names_already_handled=
7841 names_next_round='iconv '
7842 while test -n "$names_next_round"; do
7843 names_this_round="$names_next_round"
7845 for name in $names_this_round; do
7847 for n in $names_already_handled; do
7848 if test "$n" = "$name"; then
7853 if test -z "$already_handled"; then
7854 names_already_handled="$names_already_handled $name"
7855 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7856 eval value=\"\$HAVE_LIB$uppername\"
7857 if test -n "$value"; then
7858 if test "$value" = yes; then
7859 eval value=\"\$LIB$uppername\"
7860 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
7861 eval value=\"\$LTLIB$uppername\"
7862 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
7871 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
7872 if test -n "$acl_shlibext"; then
7873 shrext=".$acl_shlibext" # typically: shrext=.so
7877 if test $use_additional = yes; then
7878 dir="$additional_libdir"
7879 if test -n "$acl_shlibext"; then
7880 if test -f "$dir/$libname$shrext"; then
7882 found_so="$dir/$libname$shrext"
7884 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7885 ver=`(cd "$dir" && \
7886 for f
in "$libname$shrext".
*; do echo "$f"; done \
7887 |
sed -e "s,^$libname$shrext\\\\.,," \
7888 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7889 |
sed 1q
) 2>/dev
/null
`
7890 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7892 found_so="$dir/$libname$shrext.$ver"
7895 eval library_names=\"$acl_library_names_spec\"
7896 for f in $library_names; do
7897 if test -f "$dir/$f"; then
7906 if test "X$found_dir" = "X"; then
7907 if test -f "$dir/$libname.$acl_libext"; then
7909 found_a="$dir/$libname.$acl_libext"
7912 if test "X$found_dir" != "X"; then
7913 if test -f "$dir/$libname.la"; then
7914 found_la="$dir/$libname.la"
7918 if test "X$found_dir" = "X"; then
7919 for x in $LDFLAGS $LTLIBICONV; do
7921 acl_save_prefix="$prefix"
7922 prefix="$acl_final_prefix"
7923 acl_save_exec_prefix="$exec_prefix"
7924 exec_prefix="$acl_final_exec_prefix"
7926 exec_prefix="$acl_save_exec_prefix"
7927 prefix="$acl_save_prefix"
7931 dir=`echo "X$x" |
sed -e 's/^X-L//'`
7932 if test -n "$acl_shlibext"; then
7933 if test -f "$dir/$libname$shrext"; then
7935 found_so="$dir/$libname$shrext"
7937 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7938 ver=`(cd "$dir" && \
7939 for f
in "$libname$shrext".
*; do echo "$f"; done \
7940 |
sed -e "s,^$libname$shrext\\\\.,," \
7941 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7942 |
sed 1q
) 2>/dev
/null
`
7943 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7945 found_so="$dir/$libname$shrext.$ver"
7948 eval library_names=\"$acl_library_names_spec\"
7949 for f in $library_names; do
7950 if test -f "$dir/$f"; then
7959 if test "X$found_dir" = "X"; then
7960 if test -f "$dir/$libname.$acl_libext"; then
7962 found_a="$dir/$libname.$acl_libext"
7965 if test "X$found_dir" != "X"; then
7966 if test -f "$dir/$libname.la"; then
7967 found_la="$dir/$libname.la"
7972 if test "X$found_dir" != "X"; then
7977 if test "X$found_dir" != "X"; then
7978 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7979 if test "X$found_so" != "X"; then
7980 if test "$enable_rpath" = no \
7981 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7982 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7983 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7986 for x in $ltrpathdirs; do
7987 if test "X$x" = "X$found_dir"; then
7992 if test -z "$haveit"; then
7993 ltrpathdirs="$ltrpathdirs $found_dir"
7995 if test "$acl_hardcode_direct" = yes; then
7996 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7998 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
7999 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8001 for x in $rpathdirs; do
8002 if test "X$x" = "X$found_dir"; then
8007 if test -z "$haveit"; then
8008 rpathdirs="$rpathdirs $found_dir"
8012 for x in $LDFLAGS $LIBICONV; do
8014 acl_save_prefix="$prefix"
8015 prefix="$acl_final_prefix"
8016 acl_save_exec_prefix="$exec_prefix"
8017 exec_prefix="$acl_final_exec_prefix"
8019 exec_prefix="$acl_save_exec_prefix"
8020 prefix="$acl_save_prefix"
8022 if test "X$x" = "X-L$found_dir"; then
8027 if test -z "$haveit"; then
8028 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8030 if test "$acl_hardcode_minus_L" != no; then
8031 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
8033 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8039 if test "X$found_a" != "X"; then
8040 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
8042 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8045 additional_includedir=
8046 case "$found_dir" in
8047 */$acl_libdirstem | */$acl_libdirstem/)
8048 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8049 if test "$name" = 'iconv'; then
8050 LIBICONV_PREFIX="$basedir"
8052 additional_includedir="$basedir/include"
8054 */$acl_libdirstem2 | */$acl_libdirstem2/)
8055 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8056 if test "$name" = 'iconv'; then
8057 LIBICONV_PREFIX="$basedir"
8059 additional_includedir="$basedir/include"
8062 if test "X$additional_includedir" != "X"; then
8063 if test "X$additional_includedir" != "X/usr/include"; then
8065 if test "X$additional_includedir" = "X/usr/local/include"; then
8066 if test -n "$GCC"; then
8068 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8072 if test -z "$haveit"; then
8073 for x in $CPPFLAGS $INCICONV; do
8075 acl_save_prefix="$prefix"
8076 prefix="$acl_final_prefix"
8077 acl_save_exec_prefix="$exec_prefix"
8078 exec_prefix="$acl_final_exec_prefix"
8080 exec_prefix="$acl_save_exec_prefix"
8081 prefix="$acl_save_prefix"
8083 if test "X$x" = "X-I$additional_includedir"; then
8088 if test -z "$haveit"; then
8089 if test -d "$additional_includedir"; then
8090 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8096 if test -n "$found_la"; then
8097 save_libdir="$libdir"
8099 */* | *\\*) . "$found_la" ;;
8100 *) . "./$found_la" ;;
8102 libdir="$save_libdir"
8103 for dep in $dependency_libs; do
8106 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
8107 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8108 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8110 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8111 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8112 if test -n "$GCC"; then
8114 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8118 if test -z "$haveit"; then
8120 for x in $LDFLAGS $LIBICONV; do
8122 acl_save_prefix="$prefix"
8123 prefix="$acl_final_prefix"
8124 acl_save_exec_prefix="$exec_prefix"
8125 exec_prefix="$acl_final_exec_prefix"
8127 exec_prefix="$acl_save_exec_prefix"
8128 prefix="$acl_save_prefix"
8130 if test "X$x" = "X-L$additional_libdir"; then
8135 if test -z "$haveit"; then
8136 if test -d "$additional_libdir"; then
8137 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8141 for x in $LDFLAGS $LTLIBICONV; do
8143 acl_save_prefix="$prefix"
8144 prefix="$acl_final_prefix"
8145 acl_save_exec_prefix="$exec_prefix"
8146 exec_prefix="$acl_final_exec_prefix"
8148 exec_prefix="$acl_save_exec_prefix"
8149 prefix="$acl_save_prefix"
8151 if test "X$x" = "X-L$additional_libdir"; then
8156 if test -z "$haveit"; then
8157 if test -d "$additional_libdir"; then
8158 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8165 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
8166 if test "$enable_rpath" != no; then
8168 for x in $rpathdirs; do
8169 if test "X$x" = "X$dir"; then
8174 if test -z "$haveit"; then
8175 rpathdirs="$rpathdirs $dir"
8178 for x in $ltrpathdirs; do
8179 if test "X$x" = "X$dir"; then
8184 if test -z "$haveit"; then
8185 ltrpathdirs="$ltrpathdirs $dir"
8190 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
8193 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8196 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
8197 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8203 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
8204 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8210 if test "X$rpathdirs" != "X"; then
8211 if test -n "$acl_hardcode_libdir_separator"; then
8213 for found_dir in $rpathdirs; do
8214 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8216 acl_save_libdir="$libdir"
8218 eval flag=\"$acl_hardcode_libdir_flag_spec\"
8219 libdir="$acl_save_libdir"
8220 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8222 for found_dir in $rpathdirs; do
8223 acl_save_libdir="$libdir"
8225 eval flag=\"$acl_hardcode_libdir_flag_spec\"
8226 libdir="$acl_save_libdir"
8227 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
8231 if test "X$ltrpathdirs" != "X"; then
8232 for found_dir in $ltrpathdirs; do
8233 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
8268 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
8269 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
8270 $as_echo_n "(cached) " >&6
8272 gt_save_LIBS="$LIBS"
8273 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
8274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8276 #include <CoreFoundation/CFPreferences.h>
8280 CFPreferencesCopyAppValue(NULL, NULL)
8285 if ac_fn_c_try_link "$LINENO"; then :
8286 gt_cv_func_CFPreferencesCopyAppValue=yes
8288 gt_cv_func_CFPreferencesCopyAppValue=no
8290 rm -f core conftest.err conftest.$ac_objext \
8291 conftest$ac_exeext conftest.$ac_ext
8292 LIBS="$gt_save_LIBS"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
8295 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
8296 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
8298 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
8302 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
8303 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
8304 $as_echo_n "(cached) " >&6
8306 gt_save_LIBS="$LIBS"
8307 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 #include <CoreFoundation/CFLocale.h>
8314 CFLocaleCopyCurrent();
8319 if ac_fn_c_try_link "$LINENO"; then :
8320 gt_cv_func_CFLocaleCopyCurrent=yes
8322 gt_cv_func_CFLocaleCopyCurrent=no
8324 rm -f core conftest.err conftest.$ac_objext \
8325 conftest$ac_exeext conftest.$ac_ext
8326 LIBS="$gt_save_LIBS"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
8329 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
8330 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8332 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
8336 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8337 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
8349 case " $gt_needs " in
8350 *" need-formatstring-macros "*) gt_api_version=3 ;;
8351 *" need-ngettext "*) gt_api_version=2 ;;
8352 *) gt_api_version=1 ;;
8354 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
8355 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
8357 if test "$USE_NLS" = "yes"; then
8358 gt_use_preinstalled_gnugettext=no
8361 if test $gt_api_version -ge 3; then
8362 gt_revision_test_code='
8363 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8364 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
8366 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
8369 gt_revision_test_code=
8371 if test $gt_api_version -ge 2; then
8372 gt_expression_test_code=' + * ngettext ("", "", 0)'
8374 gt_expression_test_code=
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
8378 $as_echo_n "checking for GNU gettext in libc... " >&6; }
8379 if eval \${$gt_func_gnugettext_libc+:} false; then :
8380 $as_echo_n "(cached) " >&6
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8385 #include <libintl.h>
8386 $gt_revision_test_code
8387 extern int _nl_msg_cat_cntr;
8388 extern int *_nl_domain_bindings;
8394 bindtextdomain ("", "");
8395 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
8401 if ac_fn_c_try_link "$LINENO"; then :
8402 eval "$gt_func_gnugettext_libc=yes"
8404 eval "$gt_func_gnugettext_libc=no"
8406 rm -f core conftest.err conftest.$ac_objext \
8407 conftest$ac_exeext conftest.$ac_ext
8409 eval ac_res=\$$gt_func_gnugettext_libc
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8411 $as_echo "$ac_res" >&6; }
8413 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
8419 am_save_CPPFLAGS="$CPPFLAGS"
8421 for element in $INCICONV; do
8423 for x in $CPPFLAGS; do
8425 acl_save_prefix="$prefix"
8426 prefix="$acl_final_prefix"
8427 acl_save_exec_prefix="$exec_prefix"
8428 exec_prefix="$acl_final_exec_prefix"
8430 exec_prefix="$acl_save_exec_prefix"
8431 prefix="$acl_save_prefix"
8433 if test "X$x" = "X$element"; then
8438 if test -z "$haveit"; then
8439 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
8445 $as_echo_n "checking for iconv... " >&6; }
8446 if ${am_cv_func_iconv+:} false; then :
8447 $as_echo_n "(cached) " >&6
8450 am_cv_func_iconv="no, consider installing GNU libiconv"
8452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8453 /* end confdefs.h. */
8461 iconv_t cd = iconv_open("","");
8462 iconv(cd,NULL,NULL,NULL,NULL);
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 am_cv_func_iconv=yes
8471 rm -f core conftest.err conftest.$ac_objext \
8472 conftest$ac_exeext conftest.$ac_ext
8473 if test "$am_cv_func_iconv" != yes; then
8474 am_save_LIBS="$LIBS"
8475 LIBS="$LIBS $LIBICONV"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8485 iconv_t cd = iconv_open("","");
8486 iconv(cd,NULL,NULL,NULL,NULL);
8492 if ac_fn_c_try_link "$LINENO"; then :
8494 am_cv_func_iconv=yes
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8498 LIBS="$am_save_LIBS"
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8503 $as_echo "$am_cv_func_iconv" >&6; }
8504 if test "$am_cv_func_iconv" = yes; then
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8506 $as_echo_n "checking for working iconv... " >&6; }
8507 if ${am_cv_func_iconv_works+:} false; then :
8508 $as_echo_n "(cached) " >&6
8511 am_save_LIBS="$LIBS"
8512 if test $am_cv_lib_iconv = yes; then
8513 LIBS="$LIBS $LIBICONV"
8515 am_cv_func_iconv_works=no
8516 for ac_iconv_const in '' 'const'; do
8517 if test "$cross_compiling" = yes; then :
8519 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
8520 *) am_cv_func_iconv_works="guessing yes" ;;
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8530 # define ICONV_CONST $ac_iconv_const
8537 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
8540 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8541 if (cd_utf8_to_88591 != (iconv_t)(-1))
8543 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8545 ICONV_CONST char *inptr = input;
8546 size_t inbytesleft = strlen (input);
8548 size_t outbytesleft = sizeof (buf);
8549 size_t res = iconv (cd_utf8_to_88591,
8550 &inptr, &inbytesleft,
8551 &outptr, &outbytesleft);
8554 iconv_close (cd_utf8_to_88591);
8557 /* Test against Solaris 10 bug: Failures are not distinguishable from
8558 successful returns. */
8560 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8561 if (cd_ascii_to_88591 != (iconv_t)(-1))
8563 static ICONV_CONST char input[] = "\263";
8565 ICONV_CONST char *inptr = input;
8566 size_t inbytesleft = strlen (input);
8568 size_t outbytesleft = sizeof (buf);
8569 size_t res = iconv (cd_ascii_to_88591,
8570 &inptr, &inbytesleft,
8571 &outptr, &outbytesleft);
8574 iconv_close (cd_ascii_to_88591);
8577 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
8579 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8580 if (cd_88591_to_utf8 != (iconv_t)(-1))
8582 static ICONV_CONST char input[] = "\304";
8583 static char buf[2] = { (char)0xDE, (char)0xAD };
8584 ICONV_CONST char *inptr = input;
8585 size_t inbytesleft = 1;
8587 size_t outbytesleft = 1;
8588 size_t res = iconv (cd_88591_to_utf8,
8589 &inptr, &inbytesleft,
8590 &outptr, &outbytesleft);
8591 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8593 iconv_close (cd_88591_to_utf8);
8596 #if 0 /* This bug could be worked around by the caller. */
8597 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
8599 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8600 if (cd_88591_to_utf8 != (iconv_t)(-1))
8602 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8604 ICONV_CONST char *inptr = input;
8605 size_t inbytesleft = strlen (input);
8607 size_t outbytesleft = sizeof (buf);
8608 size_t res = iconv (cd_88591_to_utf8,
8609 &inptr, &inbytesleft,
8610 &outptr, &outbytesleft);
8613 iconv_close (cd_88591_to_utf8);
8617 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8619 if (/* Try standardized names. */
8620 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
8621 /* Try IRIX, OSF/1 names. */
8622 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8623 /* Try AIX names. */
8624 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8625 /* Try HP-UX names. */
8626 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8634 if ac_fn_c_try_run "$LINENO"; then :
8635 am_cv_func_iconv_works=yes
8637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8638 conftest.$ac_objext conftest.beam conftest.$ac_ext
8641 test "$am_cv_func_iconv_works" = no || break
8643 LIBS="$am_save_LIBS"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8647 $as_echo "$am_cv_func_iconv_works" >&6; }
8648 case "$am_cv_func_iconv_works" in
8649 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
8650 *) am_func_iconv=yes ;;
8653 am_func_iconv=no am_cv_lib_iconv=no
8655 if test "$am_func_iconv" = yes; then
8657 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
8660 if test "$am_cv_lib_iconv" = yes; then
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8662 $as_echo_n "checking how to link with libiconv... " >&6; }
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8664 $as_echo "$LIBICONV" >&6; }
8666 CPPFLAGS="$am_save_CPPFLAGS"
8683 acl_save_prefix="$prefix"
8684 prefix="$acl_final_prefix"
8685 acl_save_exec_prefix="$exec_prefix"
8686 exec_prefix="$acl_final_exec_prefix"
8688 eval additional_includedir=\"$includedir\"
8689 eval additional_libdir=\"$libdir\"
8691 exec_prefix="$acl_save_exec_prefix"
8692 prefix="$acl_save_prefix"
8695 # Check whether --with-libintl-prefix was given.
8696 if test "${with_libintl_prefix+set}" = set; then :
8697 withval=$with_libintl_prefix;
8698 if test "X$withval" = "Xno"; then
8701 if test "X$withval" = "X"; then
8703 acl_save_prefix="$prefix"
8704 prefix="$acl_final_prefix"
8705 acl_save_exec_prefix="$exec_prefix"
8706 exec_prefix="$acl_final_exec_prefix"
8708 eval additional_includedir=\"$includedir\"
8709 eval additional_libdir=\"$libdir\"
8711 exec_prefix="$acl_save_exec_prefix"
8712 prefix="$acl_save_prefix"
8715 additional_includedir="$withval/include"
8716 additional_libdir="$withval/$acl_libdirstem"
8717 if test "$acl_libdirstem2" != "$acl_libdirstem" \
8718 && ! test -d "$withval/$acl_libdirstem"; then
8719 additional_libdir="$withval/$acl_libdirstem2"
8733 names_already_handled=
8734 names_next_round='intl '
8735 while test -n "$names_next_round"; do
8736 names_this_round="$names_next_round"
8738 for name in $names_this_round; do
8740 for n in $names_already_handled; do
8741 if test "$n" = "$name"; then
8746 if test -z "$already_handled"; then
8747 names_already_handled="$names_already_handled $name"
8748 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8749 eval value=\"\$HAVE_LIB$uppername\"
8750 if test -n "$value"; then
8751 if test "$value" = yes; then
8752 eval value=\"\$LIB$uppername\"
8753 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
8754 eval value=\"\$LTLIB$uppername\"
8755 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
8764 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
8765 if test -n "$acl_shlibext"; then
8766 shrext=".$acl_shlibext" # typically: shrext=.so
8770 if test $use_additional = yes; then
8771 dir="$additional_libdir"
8772 if test -n "$acl_shlibext"; then
8773 if test -f "$dir/$libname$shrext"; then
8775 found_so="$dir/$libname$shrext"
8777 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8778 ver=`(cd "$dir" && \
8779 for f
in "$libname$shrext".
*; do echo "$f"; done \
8780 |
sed -e "s,^$libname$shrext\\\\.,," \
8781 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8782 |
sed 1q
) 2>/dev
/null
`
8783 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8785 found_so="$dir/$libname$shrext.$ver"
8788 eval library_names=\"$acl_library_names_spec\"
8789 for f in $library_names; do
8790 if test -f "$dir/$f"; then
8799 if test "X$found_dir" = "X"; then
8800 if test -f "$dir/$libname.$acl_libext"; then
8802 found_a="$dir/$libname.$acl_libext"
8805 if test "X$found_dir" != "X"; then
8806 if test -f "$dir/$libname.la"; then
8807 found_la="$dir/$libname.la"
8811 if test "X$found_dir" = "X"; then
8812 for x in $LDFLAGS $LTLIBINTL; do
8814 acl_save_prefix="$prefix"
8815 prefix="$acl_final_prefix"
8816 acl_save_exec_prefix="$exec_prefix"
8817 exec_prefix="$acl_final_exec_prefix"
8819 exec_prefix="$acl_save_exec_prefix"
8820 prefix="$acl_save_prefix"
8824 dir=`echo "X$x" |
sed -e 's/^X-L//'`
8825 if test -n "$acl_shlibext"; then
8826 if test -f "$dir/$libname$shrext"; then
8828 found_so="$dir/$libname$shrext"
8830 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8831 ver=`(cd "$dir" && \
8832 for f
in "$libname$shrext".
*; do echo "$f"; done \
8833 |
sed -e "s,^$libname$shrext\\\\.,," \
8834 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8835 |
sed 1q
) 2>/dev
/null
`
8836 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8838 found_so="$dir/$libname$shrext.$ver"
8841 eval library_names=\"$acl_library_names_spec\"
8842 for f in $library_names; do
8843 if test -f "$dir/$f"; then
8852 if test "X$found_dir" = "X"; then
8853 if test -f "$dir/$libname.$acl_libext"; then
8855 found_a="$dir/$libname.$acl_libext"
8858 if test "X$found_dir" != "X"; then
8859 if test -f "$dir/$libname.la"; then
8860 found_la="$dir/$libname.la"
8865 if test "X$found_dir" != "X"; then
8870 if test "X$found_dir" != "X"; then
8871 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8872 if test "X$found_so" != "X"; then
8873 if test "$enable_rpath" = no \
8874 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
8875 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8876 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8879 for x in $ltrpathdirs; do
8880 if test "X$x" = "X$found_dir"; then
8885 if test -z "$haveit"; then
8886 ltrpathdirs="$ltrpathdirs $found_dir"
8888 if test "$acl_hardcode_direct" = yes; then
8889 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8891 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
8892 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8894 for x in $rpathdirs; do
8895 if test "X$x" = "X$found_dir"; then
8900 if test -z "$haveit"; then
8901 rpathdirs="$rpathdirs $found_dir"
8905 for x in $LDFLAGS $LIBINTL; do
8907 acl_save_prefix="$prefix"
8908 prefix="$acl_final_prefix"
8909 acl_save_exec_prefix="$exec_prefix"
8910 exec_prefix="$acl_final_exec_prefix"
8912 exec_prefix="$acl_save_exec_prefix"
8913 prefix="$acl_save_prefix"
8915 if test "X$x" = "X-L$found_dir"; then
8920 if test -z "$haveit"; then
8921 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8923 if test "$acl_hardcode_minus_L" != no; then
8924 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8926 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8932 if test "X$found_a" != "X"; then
8933 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8935 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8938 additional_includedir=
8939 case "$found_dir" in
8940 */$acl_libdirstem | */$acl_libdirstem/)
8941 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8942 if test "$name" = 'intl'; then
8943 LIBINTL_PREFIX="$basedir"
8945 additional_includedir="$basedir/include"
8947 */$acl_libdirstem2 | */$acl_libdirstem2/)
8948 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8949 if test "$name" = 'intl'; then
8950 LIBINTL_PREFIX="$basedir"
8952 additional_includedir="$basedir/include"
8955 if test "X$additional_includedir" != "X"; then
8956 if test "X$additional_includedir" != "X/usr/include"; then
8958 if test "X$additional_includedir" = "X/usr/local/include"; then
8959 if test -n "$GCC"; then
8961 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8965 if test -z "$haveit"; then
8966 for x in $CPPFLAGS $INCINTL; do
8968 acl_save_prefix="$prefix"
8969 prefix="$acl_final_prefix"
8970 acl_save_exec_prefix="$exec_prefix"
8971 exec_prefix="$acl_final_exec_prefix"
8973 exec_prefix="$acl_save_exec_prefix"
8974 prefix="$acl_save_prefix"
8976 if test "X$x" = "X-I$additional_includedir"; then
8981 if test -z "$haveit"; then
8982 if test -d "$additional_includedir"; then
8983 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8989 if test -n "$found_la"; then
8990 save_libdir="$libdir"
8992 */* | *\\*) . "$found_la" ;;
8993 *) . "./$found_la" ;;
8995 libdir="$save_libdir"
8996 for dep in $dependency_libs; do
8999 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
9000 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
9001 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
9003 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
9004 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
9005 if test -n "$GCC"; then
9007 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9011 if test -z "$haveit"; then
9013 for x in $LDFLAGS $LIBINTL; do
9015 acl_save_prefix="$prefix"
9016 prefix="$acl_final_prefix"
9017 acl_save_exec_prefix="$exec_prefix"
9018 exec_prefix="$acl_final_exec_prefix"
9020 exec_prefix="$acl_save_exec_prefix"
9021 prefix="$acl_save_prefix"
9023 if test "X$x" = "X-L$additional_libdir"; then
9028 if test -z "$haveit"; then
9029 if test -d "$additional_libdir"; then
9030 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
9034 for x in $LDFLAGS $LTLIBINTL; do
9036 acl_save_prefix="$prefix"
9037 prefix="$acl_final_prefix"
9038 acl_save_exec_prefix="$exec_prefix"
9039 exec_prefix="$acl_final_exec_prefix"
9041 exec_prefix="$acl_save_exec_prefix"
9042 prefix="$acl_save_prefix"
9044 if test "X$x" = "X-L$additional_libdir"; then
9049 if test -z "$haveit"; then
9050 if test -d "$additional_libdir"; then
9051 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
9058 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
9059 if test "$enable_rpath" != no; then
9061 for x in $rpathdirs; do
9062 if test "X$x" = "X$dir"; then
9067 if test -z "$haveit"; then
9068 rpathdirs="$rpathdirs $dir"
9071 for x in $ltrpathdirs; do
9072 if test "X$x" = "X$dir"; then
9077 if test -z "$haveit"; then
9078 ltrpathdirs="$ltrpathdirs $dir"
9083 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
9086 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9089 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
9090 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9096 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
9097 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9103 if test "X$rpathdirs" != "X"; then
9104 if test -n "$acl_hardcode_libdir_separator"; then
9106 for found_dir in $rpathdirs; do
9107 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9109 acl_save_libdir="$libdir"
9111 eval flag=\"$acl_hardcode_libdir_flag_spec\"
9112 libdir="$acl_save_libdir"
9113 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9115 for found_dir in $rpathdirs; do
9116 acl_save_libdir="$libdir"
9118 eval flag=\"$acl_hardcode_libdir_flag_spec\"
9119 libdir="$acl_save_libdir"
9120 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9124 if test "X$ltrpathdirs" != "X"; then
9125 for found_dir in $ltrpathdirs; do
9126 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
9136 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
9137 if eval \${$gt_func_gnugettext_libintl+:} false; then :
9138 $as_echo_n "(cached) " >&6
9140 gt_save_CPPFLAGS="$CPPFLAGS"
9141 CPPFLAGS="$CPPFLAGS $INCINTL"
9142 gt_save_LIBS="$LIBS"
9143 LIBS="$LIBS $LIBINTL"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9147 #include <libintl.h>
9148 $gt_revision_test_code
9149 extern int _nl_msg_cat_cntr;
9154 const char *_nl_expand_alias (const char *);
9160 bindtextdomain ("", "");
9161 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 eval "$gt_func_gnugettext_libintl=yes"
9170 eval "$gt_func_gnugettext_libintl=no"
9172 rm -f core conftest.err conftest.$ac_objext \
9173 conftest$ac_exeext conftest.$ac_ext
9174 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
9175 LIBS="$LIBS $LIBICONV"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 #include <libintl.h>
9180 $gt_revision_test_code
9181 extern int _nl_msg_cat_cntr;
9186 const char *_nl_expand_alias (const char *);
9192 bindtextdomain ("", "");
9193 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9199 if ac_fn_c_try_link "$LINENO"; then :
9200 LIBINTL="$LIBINTL $LIBICONV"
9201 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
9202 eval "$gt_func_gnugettext_libintl=yes"
9205 rm -f core conftest.err conftest.$ac_objext \
9206 conftest$ac_exeext conftest.$ac_ext
9208 CPPFLAGS="$gt_save_CPPFLAGS"
9209 LIBS="$gt_save_LIBS"
9211 eval ac_res=\$$gt_func_gnugettext_libintl
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9213 $as_echo "$ac_res" >&6; }
9216 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
9217 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
9218 && test "$PACKAGE" != gettext-runtime \
9219 && test "$PACKAGE" != gettext-tools; }; then
9220 gt_use_preinstalled_gnugettext=yes
9229 if test -n "$INTL_MACOSX_LIBS"; then
9230 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9231 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9232 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
9233 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
9237 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9238 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9240 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
9248 $as_echo_n "checking whether to use NLS... " >&6; }
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
9250 $as_echo "$USE_NLS" >&6; }
9251 if test "$USE_NLS" = "yes"; then
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
9253 $as_echo_n "checking where the gettext function comes from... " >&6; }
9254 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9255 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9256 gt_source="external libintl"
9261 gt_source="included intl directory"
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
9264 $as_echo "$gt_source" >&6; }
9267 if test "$USE_NLS" = "yes"; then
9269 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9270 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
9272 $as_echo_n "checking how to link with libintl... " >&6; }
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
9274 $as_echo "$LIBINTL" >&6; }
9276 for element in $INCINTL; do
9278 for x in $CPPFLAGS; do
9280 acl_save_prefix="$prefix"
9281 prefix="$acl_final_prefix"
9282 acl_save_exec_prefix="$exec_prefix"
9283 exec_prefix="$acl_final_exec_prefix"
9285 exec_prefix="$acl_save_exec_prefix"
9286 prefix="$acl_save_prefix"
9288 if test "X$x" = "X$element"; then
9293 if test -z "$haveit"; then
9294 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9301 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
9304 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
9322 if test "x$GMSGFMT" = "x:"; then
9323 as_fn_error $? "missing gnu /usr/bin/msgfmt" "$LINENO" 5
9326 if test "${enable_prologues+set}" != set; then
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if prologue searching should be the default" >&5
9328 $as_echo_n "checking to see if prologue searching should be the default... " >&6; }
9329 if { echo '#if __i386__ == 1 && __GNUC__ < 4'
9331 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9332 enable_prologues=yes
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9334 $as_echo "yes" >&6; }
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9337 $as_echo "no" >&6; }
9340 # Check whether --enable-prologues was given.
9341 if test "${enable_prologues+set}" = set; then :
9342 enableval=$enable_prologues;
9343 if test "$enable_prologues" = yes; then
9345 $as_echo "#define ENABLE_PROLOGUES /**/" >>confdefs.h
9352 if test "${enable_sdt_probes+set}" != set; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
9354 $as_echo_n "checking to see if sdt probes should be the default... " >&6; }
9355 if { echo '#if __GNUC__ < 4'
9357 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
9358 enable_sdt_probes=no
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 $as_echo "no" >&6; }
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9363 $as_echo "yes" >&6; }
9366 # Check whether --enable-sdt-probes was given.
9367 if test "${enable_sdt_probes+set}" = set; then :
9368 enableval=$enable_sdt_probes;
9371 if test "x$enable_sdt_probes" != xno; then :
9374 $as_echo "#define ENABLE_SDT_PROBES 1" >>confdefs.h
9379 # Check whether --enable-ssp was given.
9380 if test "${enable_ssp+set}" = set; then :
9381 enableval=$enable_ssp;
9384 if test "x$enable_ssp" != xno; then :
9386 save_CFLAGS="$CFLAGS"
9387 save_CXXFLAGS="$CXXFLAGS"
9388 CXXFLAGS="$CXXFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
9389 CFLAGS="$CFLAGS -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9394 if ac_fn_c_try_compile "$LINENO"; then :
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc -fstack-protector-all et al." >&5
9397 $as_echo "$as_me: Compiling with gcc -fstack-protector-all et al." >&6;}
9398 CFLAGS="$save_CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
9399 CXXFLAGS="$save_CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2"
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fstack-protector-all et al." >&5
9403 $as_echo "$as_me: Compiler does not support -fstack-protector-all et al." >&6;}
9404 CFLAGS="$save_CFLAGS"
9405 CXXFLAGS="$save_CXXFLAGS"
9407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9413 # Compiling without fPIE by default (see PR 9922)
9414 # Check whether --enable-pie was given.
9415 if test "${enable_pie+set}" = set; then :
9416 enableval=$enable_pie;
9419 if test "x$enable_pie" == xyes; then :
9423 PIELDFLAGS='-pie -Wl,-z,relro -Wl,-z,now'
9424 save_CFLAGS="$CFLAGS"
9425 save_CXXFLAGS="$CXXFLAGS"
9426 save_LDFLAGS="$LDFLAGS"
9427 CFLAGS="$CFLAGS $PIECFLAGS"
9428 CXXFLAGS="$CXXFLAGS $PIECXXFLAGS"
9429 LDFLAGS="$LDFLAGS $PIELDFLAGS"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9434 if ac_fn_c_try_link "$LINENO"; then :
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling with gcc pie et al." >&5
9437 $as_echo "$as_me: Compiling with gcc pie et al." >&6;}
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -pie et al." >&5
9442 $as_echo "$as_me: Compiler does not support -pie et al." >&6;}
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 CFLAGS="$save_CFLAGS"
9451 CXXFLAGS="$save_CXXFLAGS"
9452 LDFLAGS="$save_LDFLAGS"
9459 # Check whether --enable-sqlite was given.
9460 if test "${enable_sqlite+set}" = set; then :
9461 enableval=$enable_sqlite;
9466 if test "x$enable_sqlite" != xno; then :
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
9468 $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
9469 if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_lib_save_LIBS=$LIBS
9473 LIBS="-lsqlite3 $LIBS"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9483 char sqlite3_open ();
9487 return sqlite3_open ();
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 ac_cv_lib_sqlite3_sqlite3_open=yes
9495 ac_cv_lib_sqlite3_sqlite3_open=no
9497 rm -f core conftest.err conftest.$ac_objext \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
9502 $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
9503 if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then :
9504 sqlite3_LIBS=-lsqlite3
9507 $as_echo "#define HAVE_LIBSQLITE3 1" >>confdefs.h
9510 if test "x$enable_sqlite" != xcheck; then
9511 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9513 as_fn_error $? "--enable-sqlite was given
, but
test for sqlite failed
9514 See \
`config.log' for more details" "$LINENO" 5; }
9520 # Check whether --enable-translator was given.
9521 if test "${enable_translator+set}" = set; then :
9522 enableval=$enable_translator;
9524 enable_translator="yes"
9527 if test "$enable_translator" == "yes"; then
9528 BUILD_TRANSLATOR_TRUE=
9529 BUILD_TRANSLATOR_FALSE='#'
9531 BUILD_TRANSLATOR_TRUE='#'
9532 BUILD_TRANSLATOR_FALSE=
9536 # Check whether --enable-crash was given.
9537 if test "${enable_crash+set}" = set; then :
9538 enableval=$enable_crash; if test "$enable_crash" != "no"; then
9539 save_CPPFLAGS="$CPPFLAGS"
9540 if test "$enable_crash" != "yes"; then
9541 staplog_CPPFLAGS=-I$enable_crash
9542 CPPFLAGS="${staplog_CPPFLAGS} $CPPFLAGS"
9545 for ac_header in crash/defs.h
9547 ac_fn_c_check_header_compile "$LINENO" "crash/defs.h" "ac_cv_header_crash_defs_h" "
9551 if test "x$ac_cv_header_crash_defs_h" = xyes; then :
9552 cat >>confdefs.h <<_ACEOF
9553 #define HAVE_CRASH_DEFS_H 1
9557 as_fn_error $? "cannot find required crash header (crash-devel may need to be installed)" "$LINENO" 5
9562 CPPFLAGS="$save_CPPFLAGS"
9568 if test "$enable_crash" != "no"; then
9569 BUILD_CRASHMOD_TRUE=
9570 BUILD_CRASHMOD_FALSE='#'
9572 BUILD_CRASHMOD_TRUE='#'
9573 BUILD_CRASHMOD_FALSE=
9578 # Check whether --enable-docs was given.
9579 if test "${enable_docs+set}" = set; then :
9580 enableval=$enable_docs; enable_docs=$enableval
9585 # Extract the first word of "latex", so it can be a program name with args.
9586 set dummy latex; ac_word=$2
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9588 $as_echo_n "checking for $ac_word... " >&6; }
9589 if ${ac_cv_prog_have_latex+:} false; then :
9590 $as_echo_n "(cached) " >&6
9592 if test -n "$have_latex"; then
9593 ac_cv_prog_have_latex="$have_latex" # Let the user override the test.
9595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9599 test -z "$as_dir" && as_dir=.
9600 for ac_exec_ext in '' $ac_executable_extensions; do
9601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9602 ac_cv_prog_have_latex="yes"
9603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9610 test -z "$ac_cv_prog_have_latex" && ac_cv_prog_have_latex="no"
9613 have_latex=$ac_cv_prog_have_latex
9614 if test -n "$have_latex"; then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex" >&5
9616 $as_echo "$have_latex" >&6; }
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9619 $as_echo "no" >&6; }
9623 # Extract the first word of "dvips", so it can be a program name with args.
9624 set dummy dvips; ac_word=$2
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9626 $as_echo_n "checking for $ac_word... " >&6; }
9627 if ${ac_cv_prog_have_dvips+:} false; then :
9628 $as_echo_n "(cached) " >&6
9630 if test -n "$have_dvips"; then
9631 ac_cv_prog_have_dvips="$have_dvips" # Let the user override the test.
9633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 test -z "$as_dir" && as_dir=.
9638 for ac_exec_ext in '' $ac_executable_extensions; do
9639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9640 ac_cv_prog_have_dvips="yes"
9641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9648 test -z "$ac_cv_prog_have_dvips" && ac_cv_prog_have_dvips="no"
9651 have_dvips=$ac_cv_prog_have_dvips
9652 if test -n "$have_dvips"; then
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dvips" >&5
9654 $as_echo "$have_dvips" >&6; }
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9657 $as_echo "no" >&6; }
9661 # Extract the first word of "ps2pdf", so it can be a program name with args.
9662 set dummy ps2pdf; ac_word=$2
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9664 $as_echo_n "checking for $ac_word... " >&6; }
9665 if ${ac_cv_prog_have_ps2pdf+:} false; then :
9666 $as_echo_n "(cached) " >&6
9668 if test -n "$have_ps2pdf"; then
9669 ac_cv_prog_have_ps2pdf="$have_ps2pdf" # Let the user override the test.
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9675 test -z "$as_dir" && as_dir=.
9676 for ac_exec_ext in '' $ac_executable_extensions; do
9677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9678 ac_cv_prog_have_ps2pdf="yes"
9679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9686 test -z "$ac_cv_prog_have_ps2pdf" && ac_cv_prog_have_ps2pdf="no"
9689 have_ps2pdf=$ac_cv_prog_have_ps2pdf
9690 if test -n "$have_ps2pdf"; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ps2pdf" >&5
9692 $as_echo "$have_ps2pdf" >&6; }
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 $as_echo "no" >&6; }
9699 # Extract the first word of "latex2html", so it can be a program name with args.
9700 set dummy latex2html; ac_word=$2
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9702 $as_echo_n "checking for $ac_word... " >&6; }
9703 if ${ac_cv_prog_have_latex2html+:} false; then :
9704 $as_echo_n "(cached) " >&6
9706 if test -n "$have_latex2html"; then
9707 ac_cv_prog_have_latex2html="$have_latex2html" # Let the user override the test.
9709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9713 test -z "$as_dir" && as_dir=.
9714 for ac_exec_ext in '' $ac_executable_extensions; do
9715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9716 ac_cv_prog_have_latex2html="yes"
9717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9724 test -z "$ac_cv_prog_have_latex2html" && ac_cv_prog_have_latex2html="no"
9727 have_latex2html=$ac_cv_prog_have_latex2html
9728 if test -n "$have_latex2html"; then
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_latex2html" >&5
9730 $as_echo "$have_latex2html" >&6; }
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9733 $as_echo "no" >&6; }
9737 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" != "xyesyesyesyes"; then
9738 if test "$enable_docs" == "yes"; then
9739 as_fn_error $? "cannot find all tools for building documentation" "$LINENO" 5
9741 if test "$enable_docs" == "check"; then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build documentation, cannot find all tools" >&5
9743 $as_echo "$as_me: WARNING: will not build documentation, cannot find all tools" >&2;}
9746 if test "x${have_latex}${have_dvips}${have_ps2pdf}${have_latex2html}" == "xyesyesyesyes" -a "$enable_docs" != "no"; then
9749 if test "$building_docs" == "yes"; then
9751 BUILD_DOCS_FALSE='#'
9759 building_refdocs="no"
9760 # Check whether --enable-refdocs was given.
9761 if test "${enable_refdocs+set}" = set; then :
9762 enableval=$enable_refdocs; enable_refdocs=$enableval
9764 enable_refdocs="check"
9767 if test "$building_docs" == "no" -a "$enable_refdocs" == "yes" ; then
9768 as_fn_error $? "must use --enable-docs with --enable-refdocs" "$LINENO" 5
9770 # Extract the first word of "xmlto", so it can be a program name with args.
9771 set dummy xmlto; ac_word=$2
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9773 $as_echo_n "checking for $ac_word... " >&6; }
9774 if ${ac_cv_prog_have_xmlto+:} false; then :
9775 $as_echo_n "(cached) " >&6
9777 if test -n "$have_xmlto"; then
9778 ac_cv_prog_have_xmlto="$have_xmlto" # Let the user override the test.
9780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9784 test -z "$as_dir" && as_dir=.
9785 for ac_exec_ext in '' $ac_executable_extensions; do
9786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9787 ac_cv_prog_have_xmlto="yes"
9788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9795 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto="no"
9798 have_xmlto=$ac_cv_prog_have_xmlto
9799 if test -n "$have_xmlto"; then
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
9801 $as_echo "$have_xmlto" >&6; }
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9804 $as_echo "no" >&6; }
9808 if test "$enable_refdocs" == "yes"; then
9809 if test "x${have_xmlto}" != "xyes"; then
9810 as_fn_error $? "cannot find xmlto for building reference documentation" "$LINENO" 5
9813 if test "x${have_xmlto}" == "xyes" -a "$enable_refdocs" != "no" -a "${building_docs}" == "yes"; then
9814 building_refdocs="yes"
9816 if test "$building_refdocs" == "yes"; then
9818 BUILD_REFDOCS_FALSE='#'
9820 BUILD_REFDOCS_TRUE='#'
9821 BUILD_REFDOCS_FALSE=
9825 # Extract the first word of "fop", so it can be a program name with args.
9826 set dummy fop; ac_word=$2
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9828 $as_echo_n "checking for $ac_word... " >&6; }
9829 if ${ac_cv_prog_have_fop+:} false; then :
9830 $as_echo_n "(cached) " >&6
9832 if test -n "$have_fop"; then
9833 ac_cv_prog_have_fop="$have_fop" # Let the user override the test.
9835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9839 test -z "$as_dir" && as_dir=.
9840 for ac_exec_ext in '' $ac_executable_extensions; do
9841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9842 ac_cv_prog_have_fop="yes"
9843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9850 test -z "$ac_cv_prog_have_fop" && ac_cv_prog_have_fop="no"
9853 have_fop=$ac_cv_prog_have_fop
9854 if test -n "$have_fop"; then
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_fop" >&5
9856 $as_echo "$have_fop" >&6; }
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9859 $as_echo "no" >&6; }
9863 if test "x${have_fop}" == "xyes"; then
9864 # Due to rhbz505364 / 830266, we must actually test-run fop, not just
9865 # hope that it works.
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if xmlto --with-fop actually works" >&5
9867 $as_echo_n "checking to see if xmlto --with-fop actually works... " >&6; }
9868 if xmlto --with-fop pdf ${srcdir}/doc/SystemTap_Tapset_Reference/dummy-tapsets.xml >/dev/null 2>&1; then
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9870 $as_echo "yes" >&6; }
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: it's dead, Jim" >&5
9873 $as_echo "it's dead, Jim" >&6; }
9876 rm -f dummy-tapsets.pdf
9878 if test "$have_fop" == "yes"; then
9886 if test "$have_xmlto" == "yes"; then
9888 HAVE_XMLTO_FALSE='#'
9895 cat > conftest.xml << 'EOF'
9896 <?xml version="1.0" encoding="UTF-8"?>
9897 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
9898 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" >
9900 <bookinfo><title>foo</title></bookinfo>
9901 <chapter id="logging.stp"><title>Logging Tapset</title>
9902 <refentry id="API-log"><refnamediv><refname>log</refname>
9903 <refpurpose>logging</refpurpose></refnamediv>
9904 <refsect1><title>Description</title>
9905 <para>baz</para></refsect1></refentry></chapter>
9909 if test "x${have_xmlto}" == "xyes"; then
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto --stringparam support" >&5
9911 $as_echo_n "checking for xmlto --stringparam support... " >&6; }
9912 xmlto --stringparam man.authors.section.enabled=0 html-nochunks conftest.xml >/dev/null 2>&1
9913 if test $? == 0; then
9914 have_xmlto_stringparam="yes"
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9916 $as_echo "yes" >&6; }
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9919 $as_echo "no" >&6; }
9923 if test "$have_xmlto_stringparam" == "yes"; then
9924 XMLTO_STRINGPARAM_TRUE=
9925 XMLTO_STRINGPARAM_FALSE='#'
9927 XMLTO_STRINGPARAM_TRUE='#'
9928 XMLTO_STRINGPARAM_FALSE=
9932 if test "x${building_refdocs}" == "xyes"; then
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlto pdf support" >&5
9934 $as_echo_n "checking for xmlto pdf support... " >&6; }
9935 # xmlto pdf may work *only* with --with-fop
9936 # XXX: To an extent this test is redundant in that the --with-fop test
9937 # already ran xmlto --with-fop pdf ....
9938 if test "x$have_fop" == "xyes"; then
9939 XMLTOPDF_FOP=--with-fop
9943 xmlto $XMLTOPDF_FOP pdf conftest.xml >& /dev/null
9944 if test $? == 0; then
9945 have_xmlto_pdf="yes"
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9947 $as_echo "yes" >&6; }
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9950 $as_echo "no" >&6; }
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not building reference documentation in PDF format" >&5
9952 $as_echo "$as_me: WARNING: Not building reference documentation in PDF format" >&2;}
9956 if test "$have_xmlto_pdf" == "yes"; then
9957 BUILD_PDFREFDOCS_TRUE=
9958 BUILD_PDFREFDOCS_FALSE='#'
9960 BUILD_PDFREFDOCS_TRUE='#'
9961 BUILD_PDFREFDOCS_FALSE=
9968 # Check whether --with-nss was given.
9969 if test "${with_nss+set}" = set; then :
9981 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9982 if test -n "$ac_tool_prefix"; then
9983 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9984 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9986 $as_echo_n "checking for $ac_word... " >&6; }
9987 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9988 $as_echo_n "(cached) " >&6
9992 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10013 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10014 if test -n "$PKG_CONFIG"; then
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10016 $as_echo "$PKG_CONFIG" >&6; }
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10019 $as_echo "no" >&6; }
10024 if test -z "$ac_cv_path_PKG_CONFIG"; then
10025 ac_pt_PKG_CONFIG=$PKG_CONFIG
10026 # Extract the first word of "pkg-config", so it can be a program name with args.
10027 set dummy pkg-config; ac_word=$2
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10029 $as_echo_n "checking for $ac_word... " >&6; }
10030 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10031 $as_echo_n "(cached) " >&6
10033 case $ac_pt_PKG_CONFIG in
10035 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10039 for as_dir in $PATH
10042 test -z "$as_dir" && as_dir=.
10043 for ac_exec_ext in '' $ac_executable_extensions; do
10044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10045 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10056 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10057 if test -n "$ac_pt_PKG_CONFIG"; then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10059 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10062 $as_echo "no" >&6; }
10065 if test "x$ac_pt_PKG_CONFIG" = x; then
10068 case $cross_compiling:$ac_tool_warned in
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10072 ac_tool_warned=yes ;;
10074 PKG_CONFIG=$ac_pt_PKG_CONFIG
10077 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10081 if test -n "$PKG_CONFIG"; then
10082 _pkg_min_version=0.9.0
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10084 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10085 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10087 $as_echo "yes" >&6; }
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10090 $as_echo "no" >&6; }
10094 if test "x$with_nss" != "xno"; then :
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss" >&5
10099 $as_echo_n "checking for nss... " >&6; }
10101 if test -n "$nss_CFLAGS"; then
10102 pkg_cv_nss_CFLAGS="$nss_CFLAGS"
10103 elif test -n "$PKG_CONFIG"; then
10104 if test -n "$PKG_CONFIG" && \
10105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10106 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10109 test $ac_status = 0; }; then
10110 pkg_cv_nss_CFLAGS=`$PKG_CONFIG --cflags "nss >= 3" 2>/dev
/null
`
10111 test "x$?" != "x0" && pkg_failed=yes
10118 if test -n "$nss_LIBS"; then
10119 pkg_cv_nss_LIBS="$nss_LIBS"
10120 elif test -n "$PKG_CONFIG"; then
10121 if test -n "$PKG_CONFIG" && \
10122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss >= 3\""; } >&5
10123 ($PKG_CONFIG --exists --print-errors "nss >= 3") 2>&5
10125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10126 test $ac_status = 0; }; then
10127 pkg_cv_nss_LIBS=`$PKG_CONFIG --libs "nss >= 3" 2>/dev
/null
`
10128 test "x$?" != "x0" && pkg_failed=yes
10138 if test $pkg_failed = yes; then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10140 $as_echo "no" >&6; }
10142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10143 _pkg_short_errors_supported=yes
10145 _pkg_short_errors_supported=no
10147 if test $_pkg_short_errors_supported = yes; then
10148 nss_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss >= 3" 2>&1`
10150 nss_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss >= 3" 2>&1`
10152 # Put the nasty error message in config.log where it belongs
10153 echo "$nss_PKG_ERRORS" >&5
10156 elif test $pkg_failed = untried; then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10158 $as_echo "no" >&6; }
10161 nss_CFLAGS=$pkg_cv_nss_CFLAGS
10162 nss_LIBS=$pkg_cv_nss_LIBS
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10164 $as_echo "yes" >&6; }
10167 $as_echo "#define HAVE_NSS 1" >>confdefs.h
10176 if test "${have_nss}" = "yes"; then
10186 # Check whether --with-dracutstap was given.
10187 if test "${with_dracutstap+set}" = set; then :
10188 withval=$with_dracutstap;
10191 if test "x$with_dracutstap" != "x"; then :
10192 dracutstap="$with_dracutstap"
10194 dracutstap=/usr/lib/dracut/modules.d/99stap
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: using dracut module directory $dracutstap" >&5
10197 $as_echo "$as_me: using dracut module directory $dracutstap" >&6;}
10200 # Check whether --enable-server was given.
10201 if test "${enable_server+set}" = set; then :
10202 enableval=$enable_server; enable_server=$enableval
10204 enable_server="check"
10208 if test "$enable_server" != "no"; then
10209 if test "x${have_nss}" != "xyes"; then
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap compile server, cannot find nss headers" >&5
10211 $as_echo "$as_me: WARNING: will not build systemtap compile server, cannot find nss headers" >&2;}
10214 if test "${have_nss}" == "yes" -a "$enable_server" != "no"; then
10216 BUILD_SERVER_FALSE='#'
10218 BUILD_SERVER_TRUE='#'
10219 BUILD_SERVER_FALSE=
10223 if test "${have_nss}" != "yes"; then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&5
10225 $as_echo "$as_me: WARNING: compile-server client functionality will be disabled, cannot find nss development files" >&2;}
10229 # Check whether --with-avahi was given.
10230 if test "${with_avahi+set}" = set; then :
10231 withval=$with_avahi;
10235 if test "x$with_avahi" != "xno"; then :
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avahi" >&5
10240 $as_echo_n "checking for avahi... " >&6; }
10242 if test -n "$avahi_CFLAGS"; then
10243 pkg_cv_avahi_CFLAGS="$avahi_CFLAGS"
10244 elif test -n "$PKG_CONFIG"; then
10245 if test -n "$PKG_CONFIG" && \
10246 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10247 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10250 test $ac_status = 0; }; then
10251 pkg_cv_avahi_CFLAGS=`$PKG_CONFIG --cflags "avahi-client" 2>/dev
/null
`
10252 test "x$?" != "x0" && pkg_failed=yes
10259 if test -n "$avahi_LIBS"; then
10260 pkg_cv_avahi_LIBS="$avahi_LIBS"
10261 elif test -n "$PKG_CONFIG"; then
10262 if test -n "$PKG_CONFIG" && \
10263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client\""; } >&5
10264 ($PKG_CONFIG --exists --print-errors "avahi-client") 2>&5
10266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10267 test $ac_status = 0; }; then
10268 pkg_cv_avahi_LIBS=`$PKG_CONFIG --libs "avahi-client" 2>/dev
/null
`
10269 test "x$?" != "x0" && pkg_failed=yes
10279 if test $pkg_failed = yes; then
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10281 $as_echo "no" >&6; }
10283 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10284 _pkg_short_errors_supported=yes
10286 _pkg_short_errors_supported=no
10288 if test $_pkg_short_errors_supported = yes; then
10289 avahi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client" 2>&1`
10291 avahi_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client" 2>&1`
10293 # Put the nasty error message in config.log where it belongs
10294 echo "$avahi_PKG_ERRORS" >&5
10297 elif test $pkg_failed = untried; then
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10299 $as_echo "no" >&6; }
10302 avahi_CFLAGS=$pkg_cv_avahi_CFLAGS
10303 avahi_LIBS=$pkg_cv_avahi_LIBS
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10305 $as_echo "yes" >&6; }
10308 $as_echo "#define HAVE_AVAHI 1" >>confdefs.h
10317 if test "${have_avahi}" = "yes"; then
10319 HAVE_AVAHI_FALSE='#'
10321 HAVE_AVAHI_TRUE='#'
10326 if test "${have_avahi}" != "yes"; then
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&5
10328 $as_echo "$as_me: WARNING: some compile-server functionality will be restricted, cannot find avahi development files" >&2;}
10333 # Check whether --with-rpm was given.
10334 if test "${with_rpm+set}" = set; then :
10340 if test "$with_rpm" != "no"; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmtsInitIterator in -lrpm" >&5
10342 $as_echo_n "checking for rpmtsInitIterator in -lrpm... " >&6; }
10343 if ${ac_cv_lib_rpm_rpmtsInitIterator+:} false; then :
10344 $as_echo_n "(cached) " >&6
10346 ac_check_lib_save_LIBS=$LIBS
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10351 /* Override any GCC internal prototype to avoid an error.
10352 Use char because int might match the return type of a GCC
10353 builtin and then its argument prototype would still apply. */
10357 char rpmtsInitIterator ();
10361 return rpmtsInitIterator ();
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 ac_cv_lib_rpm_rpmtsInitIterator=yes
10369 ac_cv_lib_rpm_rpmtsInitIterator=no
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_lib_save_LIBS
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpm_rpmtsInitIterator" >&5
10376 $as_echo "$ac_cv_lib_rpm_rpmtsInitIterator" >&6; }
10377 if test "x$ac_cv_lib_rpm_rpmtsInitIterator" = xyes; then :
10380 $as_echo "#define HAVE_LIBRPM 1" >>confdefs.h
10382 stap_LIBS="$stap_LIBS -lc -lrpm"
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
10389 $as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
10390 if ${ac_cv_lib_rpmio_rpmFreeCrypto+:} false; then :
10391 $as_echo_n "(cached) " >&6
10393 ac_check_lib_save_LIBS=$LIBS
10394 LIBS="-lrpmio $LIBS"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10404 char rpmFreeCrypto ();
10408 return rpmFreeCrypto ();
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 ac_cv_lib_rpmio_rpmFreeCrypto=yes
10416 ac_cv_lib_rpmio_rpmFreeCrypto=no
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 LIBS=$ac_check_lib_save_LIBS
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rpmio_rpmFreeCrypto" >&5
10423 $as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
10424 if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = xyes; then :
10427 $as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
10429 stap_LIBS="$stap_LIBS -lc -lrpmio"
10430 have_librpmio="yes"
10435 if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
10436 as_fn_error $? "cannot find librpm" "$LINENO" 5
10438 if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
10440 $as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
10444 LIBS_no_readline=$LIBS
10446 have_libreadline="no"
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
10448 $as_echo_n "checking how to link readline libs... " >&6; }
10449 for libtermcap in "" tinfo ncursesw ncurses curses termcap; do
10450 if test -z "$libtermcap"; then
10451 READLINE_LIBS="-lreadline"
10453 READLINE_LIBS="-lreadline -l$libtermcap"
10455 LIBS="$READLINE_LIBS $LIBS_no_readline"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10469 return readline ();
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 have_libreadline="yes"
10477 rm -f core conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10479 if test "$have_libreadline" = "yes"; then
10483 if test "$have_libreadline" = "no"; then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
10485 $as_echo "none" >&6; }
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
10489 $as_echo "$READLINE_LIBS" >&6; }
10491 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
10495 if test "$have_libreadline" == "yes"; then
10496 HAVE_LIBREADLINE_TRUE=
10497 HAVE_LIBREADLINE_FALSE='#'
10499 HAVE_LIBREADLINE_TRUE='#'
10500 HAVE_LIBREADLINE_FALSE=
10504 LIBS=$LIBS_no_readline
10507 # Check whether --with-python3 was given.
10508 if test "${with_python3+set}" = set; then :
10509 withval=$with_python3;
10512 if test "x$with_python3" = "xyes"; then :
10522 # Check whether --with-elfutils was given.
10523 if test "${with_elfutils+set}" = set; then :
10524 withval=$with_elfutils;
10525 case "$with_elfutils" in
10526 yes) as_fn_error $? "--with-elfutils requires an argument" "$LINENO" 5 ;;
10528 *) build_elfutils=yes ;;
10532 if test $build_elfutils = yes; then
10533 BUILD_ELFUTILS_TRUE=
10534 BUILD_ELFUTILS_FALSE='#'
10536 BUILD_ELFUTILS_TRUE='#'
10537 BUILD_ELFUTILS_FALSE=
10540 elfutils_abs_srcdir=`if test $build_elfutils = yes; then :
10541 cd $with_elfutils && pwd
10545 if test $enable_translator = yes; then
10546 if test $build_elfutils = no; then
10547 # Need libdwfl-capable recent elfutils http://elfutils.fedorahosted.org/
10549 # On modern debian/ubuntu, libebl has been merged into libdw
10550 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457543
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ebl_get_elfmachine in -lebl" >&5
10553 $as_echo_n "checking for ebl_get_elfmachine in -lebl... " >&6; }
10554 if ${ac_cv_lib_ebl_ebl_get_elfmachine+:} false; then :
10555 $as_echo_n "(cached) " >&6
10557 ac_check_lib_save_LIBS=$LIBS
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10568 char ebl_get_elfmachine ();
10572 return ebl_get_elfmachine ();
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_lib_ebl_ebl_get_elfmachine=yes
10580 ac_cv_lib_ebl_ebl_get_elfmachine=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_lib_save_LIBS
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ebl_ebl_get_elfmachine" >&5
10587 $as_echo "$ac_cv_lib_ebl_ebl_get_elfmachine" >&6; }
10588 if test "x$ac_cv_lib_ebl_ebl_get_elfmachine" = xyes; then :
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwfl_module_getsym in -ldw" >&5
10598 $as_echo_n "checking for dwfl_module_getsym in -ldw... " >&6; }
10599 if ${ac_cv_lib_dw_dwfl_module_getsym+:} false; then :
10600 $as_echo_n "(cached) " >&6
10602 ac_check_lib_save_LIBS=$LIBS
10603 LIBS="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10613 char dwfl_module_getsym ();
10617 return dwfl_module_getsym ();
10622 if ac_fn_c_try_link "$LINENO"; then :
10623 ac_cv_lib_dw_dwfl_module_getsym=yes
10625 ac_cv_lib_dw_dwfl_module_getsym=no
10627 rm -f core conftest.err conftest.$ac_objext \
10628 conftest$ac_exeext conftest.$ac_ext
10629 LIBS=$ac_check_lib_save_LIBS
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwfl_module_getsym" >&5
10632 $as_echo "$ac_cv_lib_dw_dwfl_module_getsym" >&6; }
10633 if test "x$ac_cv_lib_dw_dwfl_module_getsym" = xyes; then :
10634 cat >>confdefs.h <<_ACEOF
10635 #define HAVE_LIBDW 1
10642 as_fn_error $? "missing elfutils development headers/libraries (install elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)" "$LINENO" 5
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dwarf_next_unit in -ldw" >&5
10646 $as_echo_n "checking for dwarf_next_unit in -ldw... " >&6; }
10647 if ${ac_cv_lib_dw_dwarf_next_unit+:} false; then :
10648 $as_echo_n "(cached) " >&6
10650 ac_check_lib_save_LIBS=$LIBS
10651 LIBS="-ldw -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf $LIBS"
10652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10661 char dwarf_next_unit ();
10665 return dwarf_next_unit ();
10670 if ac_fn_c_try_link "$LINENO"; then :
10671 ac_cv_lib_dw_dwarf_next_unit=yes
10673 ac_cv_lib_dw_dwarf_next_unit=no
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 LIBS=$ac_check_lib_save_LIBS
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dw_dwarf_next_unit" >&5
10680 $as_echo "$ac_cv_lib_dw_dwarf_next_unit" >&6; }
10681 if test "x$ac_cv_lib_dw_dwarf_next_unit" = xyes; then :
10682 cat >>confdefs.h <<_ACEOF
10683 #define HAVE_LIBDW 1
10690 as_fn_error $? "elfutils, libdw too old, need 0.148+" "$LINENO" 5
10693 stap_LIBS="$stap_LIBS -Wl,--start-group -ldw $ebl_LIBS -Wl,--end-group -lelf"
10696 # We built our own and stap_LDFLAGS points at the install.
10697 stap_LIBS="$stap_LIBS -Wl,--start-group -ldw -lebl -Wl,--end-group -lelf"
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: stap will link $stap_LIBS" >&5
10703 $as_echo "$as_me: stap will link $stap_LIBS" >&6;}
10705 # staprun has more modest libelf needs
10706 if test $build_elfutils = no; then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
10709 $as_echo_n "checking for elf_getshdrstrndx in -lelf... " >&6; }
10710 if ${ac_cv_lib_elf_elf_getshdrstrndx+:} false; then :
10711 $as_echo_n "(cached) " >&6
10713 ac_check_lib_save_LIBS=$LIBS
10715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10724 char elf_getshdrstrndx ();
10728 return elf_getshdrstrndx ();
10733 if ac_fn_c_try_link "$LINENO"; then :
10734 ac_cv_lib_elf_elf_getshdrstrndx=yes
10736 ac_cv_lib_elf_elf_getshdrstrndx=no
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_lib_save_LIBS
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
10743 $as_echo "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
10744 if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes; then :
10745 cat >>confdefs.h <<_ACEOF
10746 #define HAVE_LIBELF 1
10753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10755 as_fn_error $? "libelf too old
, need
0.142+
10756 See \
`config.log' for more details" "$LINENO" 5; }
10759 staprun_LIBS="$staprun_LIBS -lelf"
10762 # We built our own and staprun_LDFLAGS points at the install.
10763 staprun_LIBS="$staprun_LIBS -lelf"
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: staprun will link $staprun_LIBS" >&5
10768 $as_echo "$as_me: staprun will link $staprun_LIBS" >&6;}
10771 date=`date +%Y-
%m-
%d
`
10773 cat >>confdefs.h <<_ACEOF
10774 #define DATE "$date"
10780 # Before PR4037, we used to arrange to pass CFLAGS+=-m64 for a staprun
10781 # being compiled on 32-bit userspace but running against 64-bit kernels.
10782 # This is no longer necessary.
10784 # Use tr1/unordered_map if available
10786 ac_cpp='$CXXCPP $CPPFLAGS'
10787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10793 ac_cpp='$CXXCPP $CPPFLAGS'
10794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10798 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10799 if test -z "$CXXCPP"; then
10800 if ${ac_cv_prog_CXXCPP+:} false; then :
10801 $as_echo_n "(cached) " >&6
10803 # Double quotes because CXXCPP needs to be expanded
10804 for CXXCPP in "$CXX -E" "/lib/cpp"
10806 ac_preproc_ok=false
10807 for ac_cxx_preproc_warn_flag in '' yes
10809 # Use a header file that comes with gcc, so configuring glibc
10810 # with a fresh cross-compiler works.
10811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10812 # <limits.h> exists even on freestanding compilers.
10813 # On the NeXT, cc -E runs the code through the compiler's parser,
10814 # not just through cpp. "Syntax error" is here to catch this case.
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 # include <limits.h>
10820 # include <assert.h>
10824 if ac_fn_cxx_try_cpp "$LINENO"; then :
10827 # Broken: fails on valid input.
10830 rm -f conftest.err conftest.i conftest.$ac_ext
10832 # OK, works on sane cases. Now check whether nonexistent headers
10833 # can be detected and how.
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 #include <ac_nonexistent.h>
10838 if ac_fn_cxx_try_cpp "$LINENO"; then :
10839 # Broken: success on invalid input.
10842 # Passes both tests.
10846 rm -f conftest.err conftest.i conftest.$ac_ext
10849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10850 rm -f conftest.i conftest.err conftest.
$ac_ext
10851 if $ac_preproc_ok; then :
10856 ac_cv_prog_CXXCPP
=$CXXCPP
10859 CXXCPP
=$ac_cv_prog_CXXCPP
10861 ac_cv_prog_CXXCPP
=$CXXCPP
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10864 $as_echo "$CXXCPP" >&6; }
10865 ac_preproc_ok
=false
10866 for ac_cxx_preproc_warn_flag
in '' yes
10868 # Use a header file that comes with gcc, so configuring glibc
10869 # with a fresh cross-compiler works.
10870 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10871 # <limits.h> exists even on freestanding compilers.
10872 # On the NeXT, cc -E runs the code through the compiler's parser,
10873 # not just through cpp. "Syntax error" is here to catch this case.
10874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 # include <limits.h>
10879 # include <assert.h>
10883 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10886 # Broken: fails on valid input.
10889 rm -f conftest.err conftest.i conftest.
$ac_ext
10891 # OK, works on sane cases. Now check whether nonexistent headers
10892 # can be detected and how.
10893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10895 #include <ac_nonexistent.h>
10897 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10898 # Broken: success on invalid input.
10901 # Passes both tests.
10905 rm -f conftest.err conftest.i conftest.
$ac_ext
10908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10909 rm -f conftest.i conftest.err conftest.
$ac_ext
10910 if $ac_preproc_ok; then :
10913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10915 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
10916 See \`config.log' for more details" "$LINENO" 5; }
10920 ac_cpp
='$CXXCPP $CPPFLAGS'
10921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10926 for ac_header
in tr1/unordered_map
10928 ac_fn_cxx_check_header_mongrel
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "$ac_includes_default"
10929 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
10930 cat >>confdefs.h
<<_ACEOF
10931 #define HAVE_TR1_UNORDERED_MAP 1
10938 for ac_header
in tr1/memory
10940 ac_fn_cxx_check_header_mongrel
"$LINENO" "tr1/memory" "ac_cv_header_tr1_memory" "$ac_includes_default"
10941 if test "x$ac_cv_header_tr1_memory" = xyes
; then :
10942 cat >>confdefs.h
<<_ACEOF
10943 #define HAVE_TR1_MEMORY 1
10950 for ac_header
in boost
/shared_ptr.hpp
10952 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/shared_ptr.hpp" "ac_cv_header_boost_shared_ptr_hpp" "$ac_includes_default"
10953 if test "x$ac_cv_header_boost_shared_ptr_hpp" = xyes
; then :
10954 cat >>confdefs.h
<<_ACEOF
10955 #define HAVE_BOOST_SHARED_PTR_HPP 1
10962 for ac_header
in boost
/utility
/string_ref.hpp
10964 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/utility/string_ref.hpp" "ac_cv_header_boost_utility_string_ref_hpp" "$ac_includes_default"
10965 if test "x$ac_cv_header_boost_utility_string_ref_hpp" = xyes
; then :
10966 cat >>confdefs.h
<<_ACEOF
10967 #define HAVE_BOOST_UTILITY_STRING_REF_HPP 1
10975 ac_cpp
='$CPP $CPPFLAGS'
10976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10982 # Check for Dyninst headers and libraries
10984 # Check whether --with-dyninst was given.
10985 if test "${with_dyninst+set}" = set; then :
10986 withval
=$with_dyninst;
10990 case "$with_dyninst" in
10992 ''|
yes) # Try a simple-minded distro search
10993 DYNINST_CXXFLAGS
="-I/usr/include/dyninst"
10994 DYNINST_LDFLAGS
="-L/usr/lib64/dyninst -L/usr/lib/dyninst" # XXX both lib paths!?!
10996 *) # Use paths in the user-specified prefix
10997 DYNINST_CXXFLAGS
="-I$with_dyninst/include"
10998 DYNINST_LDFLAGS
="-L$with_dyninst/lib/" # XXX need lib64 too?
11001 if test "$with_dyninst" != "no"; then
11003 ac_cpp
='$CXXCPP $CPPFLAGS'
11004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11008 old_CPPFLAGS
="$CPPFLAGS"
11009 CPPFLAGS
="$CPPFLAGS $DYNINST_CXXFLAGS"
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dyninst support" >&5
11011 $as_echo "$as_me: checking dyninst support" >&6;}
11012 for ac_header
in BPatch_object.h
11014 ac_fn_cxx_check_header_mongrel
"$LINENO" "BPatch_object.h" "ac_cv_header_BPatch_object_h" "$ac_includes_default"
11015 if test "x$ac_cv_header_BPatch_object_h" = xyes
; then :
11016 cat >>confdefs.h
<<_ACEOF
11017 #define HAVE_BPATCH_OBJECT_H 1
11023 $as_echo "#define HAVE_DYNINST 1" >>confdefs.h
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: dyninst support available" >&5
11027 $as_echo "$as_me: dyninst support available" >&6;}
11032 if test -n "$with_dyninst" -a "$have_dyninst" != "yes"; then
11033 as_fn_error $?
"Dyninst does not appear to be usable" "$LINENO" 5
11035 CPPFLAGS
="$old_CPPFLAGS"
11037 ac_cpp
='$CPP $CPPFLAGS'
11038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11043 if test "${have_dyninst}" = "yes"; then
11045 HAVE_DYNINST_FALSE
='#'
11047 HAVE_DYNINST_TRUE
='#'
11048 HAVE_DYNINST_FALSE
=
11054 # Check whether --enable-virt was given.
11055 if test "${enable_virt+set}" = set; then :
11056 enableval
=$enable_virt; enable_virt
=$enableval
11058 enable_virt
="check"
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
11065 $as_echo_n "checking for libvirt... " >&6; }
11067 if test -n "$libvirt_CFLAGS"; then
11068 pkg_cv_libvirt_CFLAGS
="$libvirt_CFLAGS"
11069 elif test -n "$PKG_CONFIG"; then
11070 if test -n "$PKG_CONFIG" && \
11071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11072 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11075 test $ac_status = 0; }; then
11076 pkg_cv_libvirt_CFLAGS
=`$PKG_CONFIG --cflags "libvirt >= 1.0.2" 2>/dev/null`
11077 test "x$?" != "x0" && pkg_failed
=yes
11084 if test -n "$libvirt_LIBS"; then
11085 pkg_cv_libvirt_LIBS
="$libvirt_LIBS"
11086 elif test -n "$PKG_CONFIG"; then
11087 if test -n "$PKG_CONFIG" && \
11088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvirt >= 1.0.2\""; } >&5
11089 ($PKG_CONFIG --exists --print-errors "libvirt >= 1.0.2") 2>&5
11091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11092 test $ac_status = 0; }; then
11093 pkg_cv_libvirt_LIBS
=`$PKG_CONFIG --libs "libvirt >= 1.0.2" 2>/dev/null`
11094 test "x$?" != "x0" && pkg_failed
=yes
11104 if test $pkg_failed = yes; then
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11106 $as_echo "no" >&6; }
11108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11109 _pkg_short_errors_supported
=yes
11111 _pkg_short_errors_supported
=no
11113 if test $_pkg_short_errors_supported = yes; then
11114 libvirt_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11116 libvirt_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libvirt >= 1.0.2" 2>&1`
11118 # Put the nasty error message in config.log where it belongs
11119 echo "$libvirt_PKG_ERRORS" >&5
11122 elif test $pkg_failed = untried
; then
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11124 $as_echo "no" >&6; }
11127 libvirt_CFLAGS
=$pkg_cv_libvirt_CFLAGS
11128 libvirt_LIBS
=$pkg_cv_libvirt_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11130 $as_echo "yes" >&6; }
11134 $as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h
11138 if test "${have_libvirt}" = "yes"; then
11140 HAVE_LIBVIRT_FALSE
='#'
11142 HAVE_LIBVIRT_TRUE
='#'
11143 HAVE_LIBVIRT_FALSE
=
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
11149 $as_echo_n "checking for libxml2... " >&6; }
11151 if test -n "$libxml2_CFLAGS"; then
11152 pkg_cv_libxml2_CFLAGS
="$libxml2_CFLAGS"
11153 elif test -n "$PKG_CONFIG"; then
11154 if test -n "$PKG_CONFIG" && \
11155 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11156 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11159 test $ac_status = 0; }; then
11160 pkg_cv_libxml2_CFLAGS
=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
11161 test "x$?" != "x0" && pkg_failed
=yes
11168 if test -n "$libxml2_LIBS"; then
11169 pkg_cv_libxml2_LIBS
="$libxml2_LIBS"
11170 elif test -n "$PKG_CONFIG"; then
11171 if test -n "$PKG_CONFIG" && \
11172 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
11173 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
11175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11176 test $ac_status = 0; }; then
11177 pkg_cv_libxml2_LIBS
=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
11178 test "x$?" != "x0" && pkg_failed
=yes
11188 if test $pkg_failed = yes; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11190 $as_echo "no" >&6; }
11192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11193 _pkg_short_errors_supported
=yes
11195 _pkg_short_errors_supported
=no
11197 if test $_pkg_short_errors_supported = yes; then
11198 libxml2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
11200 libxml2_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
11202 # Put the nasty error message in config.log where it belongs
11203 echo "$libxml2_PKG_ERRORS" >&5
11206 elif test $pkg_failed = untried
; then
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11208 $as_echo "no" >&6; }
11211 libxml2_CFLAGS
=$pkg_cv_libxml2_CFLAGS
11212 libxml2_LIBS
=$pkg_cv_libxml2_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11214 $as_echo "yes" >&6; }
11218 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11222 if test "${have_libxml2}" = "yes"; then
11224 HAVE_LIBXML2_FALSE
='#'
11226 HAVE_LIBXML2_TRUE
='#'
11227 HAVE_LIBXML2_FALSE
=
11231 if test "$enable_virt" != "no"; then
11232 if test "x${have_libvirt}" != "xyes"; then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&5
11234 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find libvirt headers" >&2;}
11236 if test "x${have_libxml2}" != "xyes"; then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&5
11238 $as_echo "$as_me: WARNING: will not build systemtap virt support, cannot find xml2 headers" >&2;}
11241 if test "${have_libvirt}" == "yes" -a "${have_libxml2}" == "yes" -a "$enable_virt" != "no"; then
11243 BUILD_VIRT_FALSE
='#'
11245 BUILD_VIRT_TRUE
='#'
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
11252 $as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }
11253 if ${stap_cv_sectionq+:} false
; then :
11254 $as_echo_n "(cached) " >&6
11257 old_CFLAGS
="$CFLAGS"
11258 CFLAGS
="$CFLAGS -Wa,--fatal-warnings"
11259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11261 asm(".section .note.foo,\"?\",\"note\"\n"
11264 ".section .text,\"axG\",\"progbits\",foogroup,comdat\n"
11266 ".pushsection .note.foo,\"?\",\"note\"\n"
11271 if ac_fn_c_try_compile
"$LINENO"; then :
11272 stap_cv_sectionq
=yes
11274 stap_cv_sectionq
=no
11276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11277 CFLAGS
="$old_CFLAGS"
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $stap_cv_sectionq" >&5
11280 $as_echo "$stap_cv_sectionq" >&6; }
11282 support_section_question
=0
11283 if test $stap_cv_sectionq = yes; then
11284 support_section_question
=1
11286 ac_config_files
="$ac_config_files includes/sys/sdt-config.h po/Makefile.in"
11289 if test $build_elfutils = yes -a $enable_translator = yes; then
11291 case "$with_elfutils" in
11292 /*) elfutils_srcdir
="$with_elfutils" ;;
11293 *) elfutils_srcdir
="${here}/$with_elfutils" ;;
11296 if ! test -f ${elfutils_srcdir}/configure
; then
11297 as_fn_error $?
"No ${elfutils_srcdir}/configure, forgot to run autoreconf -i?" "$LINENO" 5
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: running ${elfutils_srcdir}/configure" >&5
11300 $as_echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
11302 save_CFLAGS
="$CFLAGS"
11303 save_CXXFLAGS
="$CXXFLAGS"
11304 CXXFLAGS
="$CXXFLAGS -fgnu89-inline"
11305 CFLAGS
="$CFLAGS -fgnu89-inline"
11306 gnu89_inline_flag
=""
11307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11311 if ac_fn_c_try_compile
"$LINENO"; then :
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling elfutils with gcc -fgnu89-inline" >&5
11314 $as_echo "$as_me: Compiling elfutils with gcc -fgnu89-inline" >&6;}
11315 gnu89_inline_flag
="-fgnu89-inline"
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not support -fgnu89-inline" >&5
11319 $as_echo "$as_me: Compiler does not support -fgnu89-inline" >&6;}
11321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11322 CFLAGS
="$save_CFLAGS"
11323 CXXFLAGS
="$save_CXXFLAGS"
11325 # Our libdw.so's libebl will look in $ORIGIN/../lib/... but that
11326 # $ORIGIN is where libdw.so resides, which is not where there is a ../lib.
11327 # Note that $libdir might be using a quoted use of $exec_prefix or $prefix.
11328 # So we must make sure to pass those settings to elfutils configure.
11329 elfutils_rpath
="-Wl,--enable-new-dtags,-rpath,${libdir}/${PACKAGE_NAME}"
11330 # Check whether this is a source release, or a source checkout.
11331 # We need --enable-maintainer-mode if it isn't a source release.
11332 # elfutils.spec is only distributed in source releases.
11333 if test -f ${elfutils_srcdir}/elfutils.spec
; then
11334 need_maintainer_option
=""
11336 need_maintainer_option
="--enable-maintainer-mode"
11338 (mkdir
-p build-elfutils
&& cd build-elfutils
&&
11339 bash
${elfutils_srcdir}/configure
--enable-libebl-subdir=${PACKAGE_NAME} \
11340 --includedir="${here}/include-elfutils" \
11341 --libdir="${here}/lib-elfutils" \
11342 --exec-prefix="$exec_prefix" \
11343 --prefix="$prefix" \
11345 ${need_maintainer_option} \
11346 CFLAGS
="${CFLAGS/-Wall/} $gnu89_inline_flag -fexceptions" \
11347 LDFLAGS
="$LDFLAGS $elfutils_rpath" &&
11348 if test -f ${elfutils_srcdir}/config
/version.h.
in; then
11349 echo Found elfutils
/version.h header...
11351 echo elfutils
/version.h header not found
, need elfutils
0.142+...
11355 if test $?
!= 0; then exit -1; fi
11359 # Check whether --with-selinux was given.
11360 if test "${with_selinux+set}" = set; then :
11361 withval
=$with_selinux;
11365 if test "x$with_selinux" != "xno"; then :
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for selinux" >&5
11370 $as_echo_n "checking for selinux... " >&6; }
11372 if test -n "$selinux_CFLAGS"; then
11373 pkg_cv_selinux_CFLAGS
="$selinux_CFLAGS"
11374 elif test -n "$PKG_CONFIG"; then
11375 if test -n "$PKG_CONFIG" && \
11376 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
11377 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
11379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11380 test $ac_status = 0; }; then
11381 pkg_cv_selinux_CFLAGS
=`$PKG_CONFIG --cflags "libselinux" 2>/dev/null`
11382 test "x$?" != "x0" && pkg_failed
=yes
11389 if test -n "$selinux_LIBS"; then
11390 pkg_cv_selinux_LIBS
="$selinux_LIBS"
11391 elif test -n "$PKG_CONFIG"; then
11392 if test -n "$PKG_CONFIG" && \
11393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux\""; } >&5
11394 ($PKG_CONFIG --exists --print-errors "libselinux") 2>&5
11396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11397 test $ac_status = 0; }; then
11398 pkg_cv_selinux_LIBS
=`$PKG_CONFIG --libs "libselinux" 2>/dev/null`
11399 test "x$?" != "x0" && pkg_failed
=yes
11409 if test $pkg_failed = yes; then
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11411 $as_echo "no" >&6; }
11413 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11414 _pkg_short_errors_supported
=yes
11416 _pkg_short_errors_supported
=no
11418 if test $_pkg_short_errors_supported = yes; then
11419 selinux_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux" 2>&1`
11421 selinux_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libselinux" 2>&1`
11423 # Put the nasty error message in config.log where it belongs
11424 echo "$selinux_PKG_ERRORS" >&5
11427 elif test $pkg_failed = untried
; then
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11429 $as_echo "no" >&6; }
11432 selinux_CFLAGS
=$pkg_cv_selinux_CFLAGS
11433 selinux_LIBS
=$pkg_cv_selinux_LIBS
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11435 $as_echo "yes" >&6; }
11438 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
11447 if test "${have_selinux}" = "yes"; then
11449 HAVE_SELINUX_FALSE
='#'
11451 HAVE_SELINUX_TRUE
='#'
11452 HAVE_SELINUX_FALSE
=
11456 # Extract the first word of "javac", so it can be a program name with args.
11457 set dummy javac
; ac_word
=$2
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11459 $as_echo_n "checking for $ac_word... " >&6; }
11460 if ${ac_cv_prog_have_javac+:} false
; then :
11461 $as_echo_n "(cached) " >&6
11463 if test -n "$have_javac"; then
11464 ac_cv_prog_have_javac
="$have_javac" # Let the user override the test.
11466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11467 for as_dir
in $PATH
11470 test -z "$as_dir" && as_dir
=.
11471 for ac_exec_ext
in '' $ac_executable_extensions; do
11472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11473 ac_cv_prog_have_javac
="yes"
11474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11481 test -z "$ac_cv_prog_have_javac" && ac_cv_prog_have_javac
="no"
11484 have_javac
=$ac_cv_prog_have_javac
11485 if test -n "$have_javac"; then
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_javac" >&5
11487 $as_echo "$have_javac" >&6; }
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11490 $as_echo "no" >&6; }
11494 # Extract the first word of "jar", so it can be a program name with args.
11495 set dummy jar
; ac_word
=$2
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11497 $as_echo_n "checking for $ac_word... " >&6; }
11498 if ${ac_cv_prog_have_jar+:} false
; then :
11499 $as_echo_n "(cached) " >&6
11501 if test -n "$have_jar"; then
11502 ac_cv_prog_have_jar
="$have_jar" # Let the user override the test.
11504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11505 for as_dir
in $PATH
11508 test -z "$as_dir" && as_dir
=.
11509 for ac_exec_ext
in '' $ac_executable_extensions; do
11510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11511 ac_cv_prog_have_jar
="yes"
11512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11519 test -z "$ac_cv_prog_have_jar" && ac_cv_prog_have_jar
="no"
11522 have_jar
=$ac_cv_prog_have_jar
11523 if test -n "$have_jar"; then
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_jar" >&5
11525 $as_echo "$have_jar" >&6; }
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11528 $as_echo "no" >&6; }
11532 if test "$have_javac" != no
-a "$have_jar" != no
; then
11533 echo java found
, will try to configure Byteman support
11536 # Check whether --with-java was given.
11537 if test "${with_java+set}" = set; then :
11538 withval
=$with_java;
11540 with_java
=/usr
/lib
/jvm
/java
11543 if test ! -d "$with_java"; then
11546 JAVADIR
="${with_java}"
11547 # always needed to compile
11549 if test "$with_java" != "no"; then
11551 cat >>confdefs.h
<<_ACEOF
11552 #define HAVE_JAVA "1"
11557 if test "$with_java" != "no"; then
11559 HAVE_JAVA_FALSE
='#'
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will not run per-method java probing, missing byteman or java requirements" >&5
11568 $as_echo "$as_me: WARNING: will not run per-method java probing, missing byteman or java requirements" >&2;}
11571 HAVE_JAVA_FALSE
='#'
11577 fi # java+byteman support
11579 ENABLE_NLS
="$USE_NLS"
11581 localedir
="$localedir"
11583 LOCALEDIR
="$localedir"
11587 # Check whether --with-extra-version was given.
11588 if test "${with_extra_version+set}" = set; then :
11589 withval
=$with_extra_version;
11592 if test "x$with_extra_version" != "xno"; then :
11594 stap_extra_version
="$with_extra_version"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: Adding extra version $stap_extra_version" >&5
11596 $as_echo "$as_me: Adding extra version $stap_extra_version" >&6;}
11599 stap_extra_version
=""
11602 cat >>confdefs.h
<<_ACEOF
11603 #define STAP_EXTRA_VERSION "$stap_extra_version"
11606 STAP_EXTRA_VERSION
="$stap_extra_version"
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -std=c++11" >&5
11610 $as_echo_n "checking whether C compiler accepts -std=c++11... " >&6; }
11611 if ${ax_cv_check_cflags___std_cpp11+:} false
; then :
11612 $as_echo_n "(cached) " >&6
11615 ax_check_save_flags
=$CFLAGS
11616 CFLAGS
="$CFLAGS -std=c++11"
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11628 if ac_fn_c_try_compile
"$LINENO"; then :
11629 ax_cv_check_cflags___std_cpp11
=yes
11631 ax_cv_check_cflags___std_cpp11
=no
11633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11634 CFLAGS
=$ax_check_save_flags
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___std_cpp11" >&5
11637 $as_echo "$ax_cv_check_cflags___std_cpp11" >&6; }
11638 if test "x$ax_cv_check_cflags___std_cpp11" = xyes
; then :
11644 if test "x$cxx11" != "x"; then :
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling parts of systemtap with -std=c++11" >&5
11647 $as_echo "$as_me: Compiling parts of systemtap with -std=c++11" >&6;}
11652 stap_prefix
=$prefix
11653 test "$stap_prefix" = NONE
&& stap_prefix
=$ac_default_prefix
11655 cat >>confdefs.h
<<_ACEOF
11656 #define STAP_PREFIX "$stap_prefix"
11659 STAP_PREFIX
="$stap_prefix"
11662 ac_config_headers
="$ac_config_headers config.h:config.in"
11664 ac_config_files
="$ac_config_files Makefile doc/Makefile man/Makefile doc/beginners/Makefile doc/SystemTap_Tapset_Reference/Makefile man/stappaths.7 man/systemtap.8 initscript/config.systemtap initscript/config.stap-server initscript/systemtap initscript/stap-server initscript/99stap/module-setup.sh"
11668 subdirs
="$subdirs testsuite"
11670 if test $enable_translator == "yes"; then
11671 ac_config_files
="$ac_config_files run-stap"
11674 ac_config_files
="$ac_config_files dtrace"
11676 ac_config_files
="$ac_config_files stapdyn/Makefile"
11678 ac_config_files
="$ac_config_files java/Makefile"
11680 ac_config_files
="$ac_config_files java/stapbm"
11682 ac_config_files
="$ac_config_files staprun/Makefile"
11684 ac_config_files
="$ac_config_files staprun/run-staprun"
11686 ac_config_files
="$ac_config_files staprun/guest/stapshd"
11688 ac_config_files
="$ac_config_files staprun/guest/stapsh-daemon"
11690 ac_config_files
="$ac_config_files staprun/guest/stapsh@.service"
11693 # Setup "shadow" directory doc/beginners that has the basic directories setup for
11694 # xmlto in one directory (through directory links if necessary).
11695 # It would be nice to use AC_CONFIG_LINKS, but automake complains when
11696 # the src is a directory and not a file.
11697 ac_config_commands
="$ac_config_commands doc/beginners"
11700 cat >confcache
<<\_ACEOF
11701 # This file is a shell script that caches the results of configure
11702 # tests run on this system so they can be shared between configure
11703 # scripts and configure runs, see configure's option --config-cache.
11704 # It is not useful on other systems. If it contains results you don't
11705 # want to keep, you may remove or edit it.
11707 # config.status only pays attention to the cache file if you give it
11708 # the --recheck option to rerun configure.
11710 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11711 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11712 # following values.
11716 # The following way of writing the cache mishandles newlines in values,
11717 # but we know of no workaround that is simple, portable, and efficient.
11718 # So, we kill variables containing newlines.
11719 # Ultrix sh set writes to stderr and can't be redirected directly,
11720 # and sets the high bit in the cache file unless we assign to the vars.
11722 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11723 eval ac_val
=\$
$ac_var
11727 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11728 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11731 _ | IFS | as_nl
) ;; #(
11732 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11733 *) { eval $ac_var=; unset $ac_var;} ;;
11739 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11740 *${as_nl}ac_space
=\
*)
11741 # `set' does not quote correctly, so add quotes: double-quote
11742 # substitution turns \\\\ into \\, and sed turns \\ into \.
11745 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11748 # `set' quotes correctly as required by POSIX, so do not add quotes.
11749 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11758 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11760 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11762 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11763 if test -w "$cache_file"; then
11764 if test "x$cache_file" != "x/dev/null"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11766 $as_echo "$as_me: updating cache $cache_file" >&6;}
11767 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11768 cat confcache
>"$cache_file"
11770 case $cache_file in #(
11772 mv -f confcache
"$cache_file"$$
&&
11773 mv -f "$cache_file"$$
"$cache_file" ;; #(
11775 mv -f confcache
"$cache_file" ;;
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11781 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11786 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11787 # Let make expand exec_prefix.
11788 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11790 DEFS
=-DHAVE_CONFIG_H
11794 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11795 # 1. Remove the extension, and $U if already installed.
11796 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11797 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11798 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11799 # will be set to the directory where LIBOBJS objects are built.
11800 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11801 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11803 LIBOBJS
=$ac_libobjs
11805 LTLIBOBJS
=$ac_ltlibobjs
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11809 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11810 if test -n "$am_sleep_pid"; then
11811 # Hide warnings about reused PIDs.
11812 wait $am_sleep_pid 2>/dev
/null
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11815 $as_echo "done" >&6; }
11816 if test -n "$EXEEXT"; then
11818 am__EXEEXT_FALSE
='#'
11820 am__EXEEXT_TRUE
='#'
11824 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11825 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
11826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11828 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11829 as_fn_error $?
"conditional \"AMDEP\" was never defined.
11830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11832 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11833 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11836 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11837 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11840 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11841 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
11842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11844 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11845 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11848 if test -z "${BUILD_TRANSLATOR_TRUE}" && test -z "${BUILD_TRANSLATOR_FALSE}"; then
11849 as_fn_error $?
"conditional \"BUILD_TRANSLATOR\" was never defined.
11850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11852 if test -z "${BUILD_CRASHMOD_TRUE}" && test -z "${BUILD_CRASHMOD_FALSE}"; then
11853 as_fn_error $?
"conditional \"BUILD_CRASHMOD\" was never defined.
11854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11856 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
11857 as_fn_error $?
"conditional \"BUILD_DOCS\" was never defined.
11858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11860 if test -z "${BUILD_REFDOCS_TRUE}" && test -z "${BUILD_REFDOCS_FALSE}"; then
11861 as_fn_error $?
"conditional \"BUILD_REFDOCS\" was never defined.
11862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11864 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
11865 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
11866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11868 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
11869 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
11870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11872 if test -z "${XMLTO_STRINGPARAM_TRUE}" && test -z "${XMLTO_STRINGPARAM_FALSE}"; then
11873 as_fn_error $?
"conditional \"XMLTO_STRINGPARAM\" was never defined.
11874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11876 if test -z "${BUILD_PDFREFDOCS_TRUE}" && test -z "${BUILD_PDFREFDOCS_FALSE}"; then
11877 as_fn_error $?
"conditional \"BUILD_PDFREFDOCS\" was never defined.
11878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11880 if test -z "${HAVE_NSS_TRUE}" && test -z "${HAVE_NSS_FALSE}"; then
11881 as_fn_error $?
"conditional \"HAVE_NSS\" was never defined.
11882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11884 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
11885 as_fn_error $?
"conditional \"BUILD_SERVER\" was never defined.
11886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11888 if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
11889 as_fn_error $?
"conditional \"HAVE_AVAHI\" was never defined.
11890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11892 if test -z "${HAVE_LIBREADLINE_TRUE}" && test -z "${HAVE_LIBREADLINE_FALSE}"; then
11893 as_fn_error $?
"conditional \"HAVE_LIBREADLINE\" was never defined.
11894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11896 if test -z "${BUILD_ELFUTILS_TRUE}" && test -z "${BUILD_ELFUTILS_FALSE}"; then
11897 as_fn_error $?
"conditional \"BUILD_ELFUTILS\" was never defined.
11898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11900 if test -z "${HAVE_DYNINST_TRUE}" && test -z "${HAVE_DYNINST_FALSE}"; then
11901 as_fn_error $?
"conditional \"HAVE_DYNINST\" was never defined.
11902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11904 if test -z "${HAVE_LIBVIRT_TRUE}" && test -z "${HAVE_LIBVIRT_FALSE}"; then
11905 as_fn_error $?
"conditional \"HAVE_LIBVIRT\" was never defined.
11906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11908 if test -z "${HAVE_LIBXML2_TRUE}" && test -z "${HAVE_LIBXML2_FALSE}"; then
11909 as_fn_error $?
"conditional \"HAVE_LIBXML2\" was never defined.
11910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11912 if test -z "${BUILD_VIRT_TRUE}" && test -z "${BUILD_VIRT_FALSE}"; then
11913 as_fn_error $?
"conditional \"BUILD_VIRT\" was never defined.
11914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11916 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
11917 as_fn_error $?
"conditional \"HAVE_SELINUX\" was never defined.
11918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11920 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
11921 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
11922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11924 if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
11925 as_fn_error $?
"conditional \"HAVE_JAVA\" was never defined.
11926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11929 : "${CONFIG_STATUS=./config.status}"
11931 ac_clean_files_save
=$ac_clean_files
11932 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11934 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11936 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11938 # Generated by $as_me.
11939 # Run this file to recreate the current configuration.
11940 # Compiler output produced by configure, useful for debugging
11941 # configure, is in config.log if it exists.
11944 ac_cs_recheck=false
11947 SHELL=\${CONFIG_SHELL-$SHELL}
11950 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11951 ## -------------------- ##
11952 ## M4sh Initialization. ##
11953 ## -------------------- ##
11955 # Be more Bourne compatible
11956 DUALCASE
=1; export DUALCASE
# for MKS sh
11957 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11960 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11961 # is contrary to our usage. Disable this feature.
11962 alias -g '${1+"$@"}'='"$@"'
11963 setopt NO_GLOB_SUBST
11965 case `(set -o) 2>/dev/null` in #(
11977 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11978 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11979 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11980 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11981 # Prefer a ksh shell builtin over an external printf program on Solaris,
11982 # but without wasting forks for bash or zsh.
11983 if test -z "$BASH_VERSION$ZSH_VERSION" \
11984 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11985 as_echo='print
-r --'
11986 as_echo_n='print
-rn --'
11987 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11988 as_echo='printf %s
\n'
11989 as_echo_n='printf %s
'
11991 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11992 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11993 as_echo_n='/usr
/ucb
/echo -n'
11995 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11996 as_echo_n_body='eval
12000 expr "X$arg" : "X\\(.*\\)$as_nl";
12001 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12003 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12005 export as_echo_n_body
12006 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12008 export as_echo_body
12009 as_echo='sh
-c $as_echo_body as_echo
'
12012 # The user is always right.
12013 if test "${PATH_SEPARATOR+set}" != set; then
12015 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12016 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12023 # We need space, tab and new line, in precisely that order. Quoting is
12024 # there to prevent editors from complaining about space-tab.
12025 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12026 # splitting by setting IFS to empty value.)
12029 # Find who we are. Look in the path if we contain no directory separator.
12032 *[\\/]* ) as_myself=$0 ;;
12033 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12034 for as_dir in $PATH
12037 test -z "$as_dir" && as_dir=.
12038 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12044 # We did not find ourselves, most probably we were run as `sh COMMAND'
12045 # in which case we are not to be found in the path.
12046 if test "x$as_myself" = x
; then
12049 if test ! -f "$as_myself"; then
12050 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12054 # Unset variables that we do not need and which cause bugs (e.g. in
12055 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12056 # suppresses any "Segmentation fault" message there. '((' could
12057 # trigger a bug in pdksh 5.2.14.
12058 for as_var
in BASH_ENV ENV MAIL MAILPATH
12059 do eval test x\
${$as_var+set} = xset \
12060 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12073 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12076 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12077 # ----------------------------------------
12078 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12079 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12080 # script with STATUS, using 1 if that was 0.
12083 as_status
=$1; test $as_status -eq 0 && as_status
=1
12085 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12086 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12088 $as_echo "$as_me: error: $2" >&2
12089 as_fn_exit
$as_status
12093 # as_fn_set_status STATUS
12094 # -----------------------
12095 # Set $? to STATUS, without forking.
12096 as_fn_set_status
()
12099 } # as_fn_set_status
12101 # as_fn_exit STATUS
12102 # -----------------
12103 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12107 as_fn_set_status
$1
12113 # Portably unset VAR.
12116 { eval $1=; unset $1;}
12118 as_unset
=as_fn_unset
12119 # as_fn_append VAR VALUE
12120 # ----------------------
12121 # Append the text in VALUE to the end of the definition contained in VAR. Take
12122 # advantage of any shell optimizations that allow amortized linear growth over
12123 # repeated appends, instead of the typical quadratic growth present in naive
12125 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12126 eval 'as_fn_append ()
12137 # as_fn_arith ARG...
12138 # ------------------
12139 # Perform arithmetic evaluation on the ARGs, and store the result in the
12140 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12141 # must be portable across $(()) and expr.
12142 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12143 eval 'as_fn_arith ()
12150 as_val
=`expr "$@" || test $? -eq 1`
12155 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12156 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12162 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12163 as_basename
=basename
12168 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12174 as_me
=`$as_basename -- "$0" ||
12175 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12176 X"$0" : 'X\(//\)$' \| \
12177 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12179 sed '/^.*\/\([^/][^/]*\)\/*$/{
12193 # Avoid depending upon Character Ranges.
12194 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12195 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12196 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12197 as_cr_digits
='0123456789'
12198 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12200 ECHO_C
= ECHO_N
= ECHO_T
=
12201 case `echo -n x` in #(((((
12203 case `echo 'xy\c'` in
12204 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12206 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12213 rm -f conf$$ conf$$.exe conf$$.
file
12214 if test -d conf$$.dir
; then
12215 rm -f conf$$.dir
/conf$$.
file
12218 mkdir conf$$.dir
2>/dev
/null
12220 if (echo >conf$$.
file) 2>/dev
/null
; then
12221 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12223 # ... but there are two gotchas:
12224 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12225 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12226 # In both cases, we have to default to `cp -pR'.
12227 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12229 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12237 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12238 rmdir conf$$.dir
2>/dev
/null
12243 # Create "$as_dir" as a directory, including parents if necessary.
12248 -*) as_dir
=.
/$as_dir;;
12250 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12254 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12255 *) as_qdir
=$as_dir;;
12257 as_dirs
="'$as_qdir' $as_dirs"
12258 as_dir
=`$as_dirname -- "$as_dir" ||
12259 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12260 X"$as_dir" : 'X\(//\)[^/]' \| \
12261 X"$as_dir" : 'X\(//\)$' \| \
12262 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12263 $as_echo X"$as_dir" |
12264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12268 /^X\(\/\/\)[^/].*/{
12281 test -d "$as_dir" && break
12283 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12284 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12288 if mkdir
-p .
2>/dev
/null
; then
12289 as_mkdir_p
='mkdir -p "$as_dir"'
12291 test -d .
/-p && rmdir .
/-p
12296 # as_fn_executable_p FILE
12297 # -----------------------
12298 # Test if FILE is an executable regular file.
12299 as_fn_executable_p
()
12301 test -f "$1" && test -x "$1"
12302 } # as_fn_executable_p
12303 as_test_x
='test -x'
12304 as_executable_p
=as_fn_executable_p
12306 # Sed expression to map a string onto a valid CPP name.
12307 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12309 # Sed expression to map a string onto a valid variable name.
12310 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12314 ## ----------------------------------- ##
12315 ## Main body of $CONFIG_STATUS script. ##
12316 ## ----------------------------------- ##
12318 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12321 # Save the log message, to keep $0 and so on meaningful, and to
12322 # report actual input values of CONFIG_FILES etc. instead of their
12323 # values after options handling.
12325 This file was extended by systemtap $as_me 2.9, which was
12326 generated by GNU Autoconf 2.69. Invocation command line was
12328 CONFIG_FILES = $CONFIG_FILES
12329 CONFIG_HEADERS = $CONFIG_HEADERS
12330 CONFIG_LINKS = $CONFIG_LINKS
12331 CONFIG_COMMANDS = $CONFIG_COMMANDS
12334 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12339 case $ac_config_files in *"
12340 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12343 case $ac_config_headers in *"
12344 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12349 # Files that config.status was made for.
12350 config_files="$ac_config_files"
12351 config_headers="$ac_config_headers"
12352 config_commands="$ac_config_commands"
12356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12358 \`$as_me' instantiates files and other configuration actions
12359 from templates according to the current configuration. Unless the files
12360 and actions are specified as TAGs, all are instantiated by default.
12362 Usage: $0 [OPTION]... [TAG]...
12364 -h, --help print this help, then exit
12365 -V, --version print version number and configuration settings, then exit
12366 --config print configuration, then exit
12367 -q, --quiet, --silent
12368 do not print progress messages
12369 -d, --debug don't remove temporary files
12370 --recheck update $as_me by reconfiguring in the same conditions
12371 --file=FILE[:TEMPLATE]
12372 instantiate the configuration file FILE
12373 --header=FILE[:TEMPLATE]
12374 instantiate the configuration header FILE
12376 Configuration files:
12379 Configuration headers:
12382 Configuration commands:
12385 Report bugs to <systemtap@sourceware.org>."
12388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12389 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12391 systemtap config.status 2.9
12392 configured by $0, generated by GNU Autoconf 2.69,
12393 with options \\"\$ac_cs_config\\"
12395 Copyright (C) 2012 Free Software Foundation, Inc.
12396 This config.status script is free software; the Free Software Foundation
12397 gives unlimited permission to copy, distribute and modify it."
12404 test -n "\$AWK" || AWK=awk
12407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12408 # The default lists apply if the user does not specify any file.
12414 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12415 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12419 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12431 # Handling of the options.
12432 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12434 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12435 $as_echo "$ac_cs_version"; exit ;;
12436 --config |
--confi |
--conf |
--con |
--co |
--c )
12437 $as_echo "$ac_cs_config"; exit ;;
12438 --debug |
--debu |
--deb |
--de |
--d |
-d )
12440 --file |
--fil |
--fi |
--f )
12443 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12444 '') as_fn_error $?
"missing file argument" ;;
12446 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12447 ac_need_defaults
=false
;;
12448 --header |
--heade |
--head |
--hea )
12451 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12453 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12454 ac_need_defaults
=false
;;
12456 # Conflict between --help and --header
12457 as_fn_error $?
"ambiguous option: \`$1'
12458 Try \`$0 --help' for more information.";;
12459 --help |
--hel |
-h )
12460 $as_echo "$ac_cs_usage"; exit ;;
12461 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12462 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12465 # This is an error.
12466 -*) as_fn_error $?
"unrecognized option: \`$1'
12467 Try \`$0 --help' for more information." ;;
12469 *) as_fn_append ac_config_targets
" $1"
12470 ac_need_defaults
=false
;;
12476 ac_configure_extra_args
=
12478 if $ac_cs_silent; then
12480 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12485 if \$ac_cs_recheck; then
12486 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12488 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12489 CONFIG_SHELL='$SHELL'
12490 export CONFIG_SHELL
12495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12499 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12500 ## Running $as_me. ##
12506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12510 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12511 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12512 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
12513 # from automake < 1.5.
12514 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12515 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12516 LINGUAS="${LINGUAS-%UNSET%}"
12521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12523 # Handling of arguments.
12524 for ac_config_target
in $ac_config_targets
12526 case $ac_config_target in
12527 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12528 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
12529 "includes/sys/sdt-config.h") CONFIG_FILES
="$CONFIG_FILES includes/sys/sdt-config.h" ;;
12530 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
12531 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
12532 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12533 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12534 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
12535 "doc/beginners/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/beginners/Makefile" ;;
12536 "doc/SystemTap_Tapset_Reference/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/SystemTap_Tapset_Reference/Makefile" ;;
12537 "man/stappaths.7") CONFIG_FILES
="$CONFIG_FILES man/stappaths.7" ;;
12538 "man/systemtap.8") CONFIG_FILES
="$CONFIG_FILES man/systemtap.8" ;;
12539 "initscript/config.systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/config.systemtap" ;;
12540 "initscript/config.stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/config.stap-server" ;;
12541 "initscript/systemtap") CONFIG_FILES
="$CONFIG_FILES initscript/systemtap" ;;
12542 "initscript/stap-server") CONFIG_FILES
="$CONFIG_FILES initscript/stap-server" ;;
12543 "initscript/99stap/module-setup.sh") CONFIG_FILES
="$CONFIG_FILES initscript/99stap/module-setup.sh" ;;
12544 "run-stap") CONFIG_FILES
="$CONFIG_FILES run-stap" ;;
12545 "dtrace") CONFIG_FILES
="$CONFIG_FILES dtrace" ;;
12546 "stapdyn/Makefile") CONFIG_FILES
="$CONFIG_FILES stapdyn/Makefile" ;;
12547 "java/Makefile") CONFIG_FILES
="$CONFIG_FILES java/Makefile" ;;
12548 "java/stapbm") CONFIG_FILES
="$CONFIG_FILES java/stapbm" ;;
12549 "staprun/Makefile") CONFIG_FILES
="$CONFIG_FILES staprun/Makefile" ;;
12550 "staprun/run-staprun") CONFIG_FILES
="$CONFIG_FILES staprun/run-staprun" ;;
12551 "staprun/guest/stapshd") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapshd" ;;
12552 "staprun/guest/stapsh-daemon") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh-daemon" ;;
12553 "staprun/guest/stapsh@.service") CONFIG_FILES
="$CONFIG_FILES staprun/guest/stapsh@.service" ;;
12554 "doc/beginners") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/beginners" ;;
12556 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12561 # If the user did not use the arguments to specify the items to instantiate,
12562 # then the envvar interface is used. Set only those that are not.
12563 # We use the long form for the default assignment because of an extremely
12564 # bizarre bug on SunOS 4.1.3.
12565 if $ac_need_defaults; then
12566 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12567 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12568 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12571 # Have a temporary directory for convenience. Make it in the build tree
12572 # simply because there is no reason against having it here, and in addition,
12573 # creating and moving files from /tmp can sometimes cause problems.
12574 # Hook for its removal unless debugging.
12575 # Note that there is a small window in which the directory will not be cleaned:
12576 # after its creation but before its name has been assigned to `$tmp'.
12580 trap 'exit_status=$?
12581 : "${ac_tmp:=$tmp}"
12582 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12584 trap 'as_fn_exit 1' 1 2 13 15
12586 # Create a (secure) tmp directory for tmp files.
12589 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12593 tmp
=.
/conf$$
-$RANDOM
12594 (umask 077 && mkdir
"$tmp")
12595 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12598 # Set up the scripts for CONFIG_FILES section.
12599 # No need to generate them if there are no CONFIG_FILES.
12600 # This happens for instance with `./config.status config.h'.
12601 if test -n "$CONFIG_FILES"; then
12604 ac_cr
=`echo X | tr X '\015'`
12605 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12606 # But we know of no other shell where ac_cr would be empty at this
12607 # point, so we can use a bashism as a fallback.
12608 if test "x$ac_cr" = x
; then
12609 eval ac_cr
=\$
\'\\r
\'
12611 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12612 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12615 ac_cs_awk_cr
=$ac_cr
12618 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12623 echo "cat >conf$$subs.awk <<_ACEOF" &&
12624 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12626 } >conf$$subs.sh ||
12627 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12628 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12630 for ac_last_try in false false false false false :; do
12631 . ./conf$$subs.sh ||
12632 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12634 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12635 if test $ac_delim_n = $ac_delim_num; then
12637 elif $ac_last_try; then
12638 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12640 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12643 rm -f conf$$subs.sh
12645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12646 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12650 s/^/S["/; s
/!.
*/"]=/
12660 s/\(.\{148\}\)..*/\1/
12662 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12667 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12674 s/\(.\{148\}\)..*/\1/
12676 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12680 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12685 ' <conf$$subs.awk | sed '
12690 ' >>$CONFIG_STATUS || ac_write_fail=1
12691 rm -f conf$$subs.awk
12692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12694 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12695 for (key in S) S_is_set[key] = 1
12701 nfields = split(line, field, "@
")
12703 len = length(field[1])
12704 for (i = 2; i < nfields; i++) {
12706 keylen = length(key)
12707 if (S_is_set[key]) {
12709 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12710 len += length(value) + length(field[++i])
12721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12722 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12723 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12726 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12727 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12730 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12731 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12732 # trailing colons and then remove the whole line if VPATH becomes empty
12733 # (actually we leave an empty line to preserve line numbers).
12734 if test "x
$srcdir" = x.; then
12735 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12754 fi # test -n "$CONFIG_FILES"
12756 # Set up the scripts for CONFIG_HEADERS section.
12757 # No need to generate them if there are no CONFIG_HEADERS.
12758 # This happens for instance with `./config.status Makefile'.
12759 if test -n "$CONFIG_HEADERS"; then
12760 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12764 # Transform confdefs.h into an awk script `defines.awk', embedded as
12765 # here-document in config.status, that substitutes the proper values into
12766 # config.h.in to produce config.h.
12768 # Create a delimiter string that does not exist in confdefs.h, to ease
12769 # handling of long lines.
12771 for ac_last_try in false false :; do
12772 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12773 if test -z "$ac_tt"; then
12775 elif $ac_last_try; then
12776 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12778 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12782 # For the awk script, D is an array of macro values keyed by name,
12783 # likewise P contains macro parameters if any. Preserve backslash
12784 # newline sequences.
12786 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12788 s/.\{148\}/&'"$ac_delim"'/g
12791 s/^[ ]*#[ ]*define[ ][ ]*/ /
12798 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12800 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12804 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12805 D["\
1"]=" \
3\\\\\\n
"\\/p
12807 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12812 s/.\{148\}/&'"$ac_delim"'/g
12817 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12820 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12822 ' <confdefs.h | sed '
12823 s/'"$ac_delim"'/"\\\
12824 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12827 for (key in D) D_is_set[key] = 1
12830 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12832 split(line, arg, " ")
12833 if (arg[1] == "#") {
12837 defundef
= substr
(arg
[1], 2)
12840 split(mac1
, mac2
, "(") #)
12842 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12843 if (D_is_set
[macro
]) {
12844 # Preserve the white space surrounding the "#".
12845 print prefix
"define", macro P
[macro
] D
[macro
]
12848 # Replace #undef with comments. This is necessary, for example,
12849 # in the case of _POSIX_SOURCE, which is predefined and required
12850 # on some systems where configure will not decide to define it.
12851 if (defundef
== "undef") {
12852 print
"/*", prefix defundef
, macro
, "*/"
12860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12861 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12862 fi # test -n "$CONFIG_HEADERS"
12865 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12870 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12872 case $ac_mode$ac_tag in
12874 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12875 :[FH
]-) ac_tag
=-:-;;
12876 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12893 -) ac_f
="$ac_tmp/stdin";;
12894 *) # Look for the file first in the build tree, then in the source tree
12895 # (if the path is not absolute). The absolute path cannot be DOS-style,
12896 # because $ac_f cannot contain `:'.
12900 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12902 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12904 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12905 as_fn_append ac_file_inputs
" '$ac_f'"
12908 # Let's still pretend it is `configure' which instantiates (i.e., don't
12909 # use $as_me), people would be surprised to read:
12910 # /* config.h. Generated by config.status. */
12911 configure_input
='Generated from '`
12912 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12914 if test x
"$ac_file" != x-
; then
12915 configure_input
="$ac_file. $configure_input"
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12917 $as_echo "$as_me: creating $ac_file" >&6;}
12919 # Neutralize special characters interpreted by sed in replacement strings.
12920 case $configure_input in #(
12921 *\
&* |
*\|
* |
*\\* )
12922 ac_sed_conf_input
=`$as_echo "$configure_input" |
12923 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12924 *) ac_sed_conf_input
=$configure_input;;
12928 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12929 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12934 ac_dir
=`$as_dirname -- "$ac_file" ||
12935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12936 X"$ac_file" : 'X\(//\)[^/]' \| \
12937 X"$ac_file" : 'X\(//\)$' \| \
12938 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12939 $as_echo X"$ac_file" |
12940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12944 /^X\(\/\/\)[^/].*/{
12957 as_dir
="$ac_dir"; as_fn_mkdir_p
12961 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12963 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12964 # A ".." for each directory in $ac_dir_suffix.
12965 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12966 case $ac_top_builddir_sub in
12967 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12968 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12971 ac_abs_top_builddir
=$ac_pwd
12972 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12973 # for backward compatibility:
12974 ac_top_builddir
=$ac_top_build_prefix
12977 .
) # We are building in place.
12979 ac_top_srcdir
=$ac_top_builddir_sub
12980 ac_abs_top_srcdir
=$ac_pwd ;;
12981 [\\/]* | ?
:[\\/]* ) # Absolute name.
12982 ac_srcdir
=$srcdir$ac_dir_suffix;
12983 ac_top_srcdir
=$srcdir
12984 ac_abs_top_srcdir
=$srcdir ;;
12985 *) # Relative name.
12986 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12987 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12988 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12990 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13000 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13001 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13003 ac_MKDIR_P
=$MKDIR_P
13005 [\\/$
]* | ?
:[\\/]* ) ;;
13006 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13011 # If the template does not know about datarootdir, expand it.
13012 # FIXME: This hack should be removed a few years after 2.60.
13013 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13024 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13025 *datarootdir
*) ac_datarootdir_seen
=yes;;
13026 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13028 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13031 ac_datarootdir_hack='
13032 s&@datadir@&$datadir&g
13033 s&@docdir@&$docdir&g
13034 s&@infodir@&$infodir&g
13035 s&@localedir@&$localedir&g
13036 s&@mandir@&$mandir&g
13037 s&\\\${datarootdir}&$datarootdir&g' ;;
13041 # Neutralize VPATH when `$srcdir' = `.'.
13042 # Shell code in configure.ac might set extrasub.
13043 # FIXME: do we really want to maintain this feature?
13044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13045 ac_sed_extra="$ac_vpsub
13048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13050 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13051 s|@configure_input@|
$ac_sed_conf_input|
;t t
13052 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13053 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13054 s
&@srcdir@
&$ac_srcdir&;t t
13055 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13056 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13057 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13058 s
&@builddir@
&$ac_builddir&;t t
13059 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13060 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13061 s
&@INSTALL@
&$ac_INSTALL&;t t
13062 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13063 $ac_datarootdir_hack
13065 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13066 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13068 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13069 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13070 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13071 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13073 which seems to be undefined. Please make sure it is defined" >&5
13074 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13075 which seems to be undefined. Please make sure it is defined" >&2;}
13077 rm -f "$ac_tmp/stdin"
13079 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13080 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13088 if test x"$ac_file" != x-; then
13090 $as_echo "/* $configure_input */" \
13091 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13092 } >"$ac_tmp/config.h" \
13093 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13094 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13096 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13099 mv "$ac_tmp/config.h" "$ac_file" \
13100 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13103 $as_echo "/* $configure_input */" \
13104 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13105 || as_fn_error $? "could not create -" "$LINENO" 5
13107 # Compute "$ac_file"'s index
in $config_headers.
13110 for _am_header
in $config_headers :; do
13111 case $_am_header in
13112 $_am_arg |
$_am_arg:* )
13115 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13118 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13119 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13120 X"$_am_arg" : 'X\(//\)[^/]' \| \
13121 X"$_am_arg" : 'X\(//\)$' \| \
13122 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13123 $as_echo X"$_am_arg" |
13124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13128 /^X\(\/\/\)[^/].*/{
13140 s/.*/./; q'`/stamp-h
$_am_stamp_count
13143 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13144 $as_echo "$as_me: executing $ac_file commands" >&6;}
13149 case $ac_file$ac_mode in
13150 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13151 # Older Autoconf quotes --file arguments for eval, but not when files
13152 # are listed without --file. Let's play safe and only enable the eval
13153 # if we detect the quoting.
13154 case $CONFIG_FILES in
13155 *\'*) eval set x
"$CONFIG_FILES" ;;
13156 *) set x
$CONFIG_FILES ;;
13161 # Strip MF so we end up with the name of the file.
13162 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13163 # Check whether this is an Automake generated Makefile or not.
13164 # We used to match only the files named 'Makefile.in', but
13165 # some people rename them; so instead we look at the file content.
13166 # Grep'ing the first line is not enough: some people post-process
13167 # each Makefile.in and add a new line on top of each file to say so.
13168 # Grep'ing the whole file is not good either: AIX grep has a line
13169 # limit of 2048, but all sed's we know have understand at least 4000.
13170 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13171 dirpart
=`$as_dirname -- "$mf" ||
13172 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13173 X"$mf" : 'X\(//\)[^/]' \| \
13174 X"$mf" : 'X\(//\)$' \| \
13175 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13181 /^X\(\/\/\)[^/].*/{
13197 # Extract the definition of DEPDIR, am__include, and am__quote
13198 # from the Makefile without running 'make'.
13199 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13200 test -z "$DEPDIR" && continue
13201 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13202 test -z "$am__include" && continue
13203 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13204 # Find all dependency output files, they are included files with
13205 # $(DEPDIR) in their names. We invoke sed twice because it is the
13206 # simplest approach to changing $(DEPDIR) to its actual value in the
13208 for file in `sed -n "
13209 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13210 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13211 # Make sure the directory exists.
13212 test -f "$dirpart/$file" && continue
13213 fdir
=`$as_dirname -- "$file" ||
13214 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13215 X"$file" : 'X\(//\)[^/]' \| \
13216 X"$file" : 'X\(//\)$' \| \
13217 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13218 $as_echo X"$file" |
13219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13223 /^X\(\/\/\)[^/].*/{
13236 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13237 # echo "creating $dirpart/$file"
13238 echo '# dummy' > "$dirpart/$file"
13243 "po-directories":C
)
13244 for ac_file
in $CONFIG_FILES; do
13245 # Support "outfile[:infile[:infile...]]"
13247 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13249 # PO directories have a Makefile.in generated from Makefile.in.in.
13250 case "$ac_file" in */Makefile.
in)
13251 # Adjust a relative srcdir.
13252 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13253 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
13254 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13255 # In autoconf-2.13 it is called $ac_given_srcdir.
13256 # In autoconf-2.50 it is called $srcdir.
13257 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13258 case "$ac_given_srcdir" in
13259 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13260 /*) top_srcdir
="$ac_given_srcdir" ;;
13261 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13263 # Treat a directory as a PO directory if and only if it has a
13264 # POTFILES.in file. This allows packages to have multiple PO
13265 # directories under different names or in different locations.
13266 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13267 rm -f "$ac_dir/POTFILES"
13268 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13269 gt_tab
=`printf '\t'`
13270 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"
13271 POMAKEFILEDEPS
="POTFILES.in"
13272 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
13273 # on $ac_dir but don't depend on user-specified configuration
13275 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13276 # The LINGUAS file contains the set of available languages.
13277 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13278 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13280 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13281 # Hide the ALL_LINGUAS assignment from automake < 1.5.
13282 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13283 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13285 # The set of available languages was given in configure.in.
13286 # Hide the ALL_LINGUAS assignment from automake < 1.5.
13287 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13290 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
13291 # Compute UPDATEPOFILES
13292 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
13293 # Compute DUMMYPOFILES
13294 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
13296 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
13297 case "$ac_given_srcdir" in
13299 *) srcdirpre
='$(srcdir)/' ;;
13305 for lang
in $ALL_LINGUAS; do
13306 POFILES
="$POFILES $srcdirpre$lang.po"
13307 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13308 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13309 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13311 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13312 # environment variable.
13314 if test -n "$ALL_LINGUAS"; then
13315 for presentlang
in $ALL_LINGUAS; do
13317 if test "%UNSET%" != "$LINGUAS"; then
13318 desiredlanguages
="$LINGUAS"
13320 desiredlanguages
="$ALL_LINGUAS"
13322 for desiredlang
in $desiredlanguages; do
13323 # Use the presentlang catalog if desiredlang is
13324 # a. equal to presentlang, or
13325 # b. a variant of presentlang (because in this case,
13326 # presentlang can be used as a fallback for messages
13327 # which are not translated in the desiredlang catalog).
13328 case "$desiredlang" in
13329 "$presentlang"*) useit
=yes;;
13332 if test $useit = yes; then
13333 INST_LINGUAS
="$INST_LINGUAS $presentlang"
13338 if test -n "$INST_LINGUAS"; then
13339 for lang
in $INST_LINGUAS; do
13340 CATALOGS
="$CATALOGS $lang.gmo"
13343 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
13344 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"
13345 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
13346 if test -f "$f"; then
13348 *.orig |
*.bak |
*~
) ;;
13349 *) cat "$f" >> "$ac_dir/Makefile" ;;
13357 "run-stap":F
) chmod +x run-stap
;;
13358 "dtrace":F
) chmod +x dtrace
;;
13359 "java/stapbm":F
) chmod +x java
/stapbm
;;
13360 "staprun/run-staprun":F
) chmod +x staprun
/run-staprun
;;
13361 "staprun/guest/stapshd":F
) chmod +x staprun
/guest
/stapshd
;;
13362 "staprun/guest/stapsh-daemon":F
) chmod +x staprun
/guest
/stapsh-daemon
;;
13363 "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
;;
13371 ac_clean_files
=$ac_clean_files_save
13373 test $ac_write_fail = 0 ||
13374 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13377 # configure is writing to config.log, and then calls config.status.
13378 # config.status does its own redirection, appending to config.log.
13379 # Unfortunately, on DOS this fails, as config.log is still kept open
13380 # by configure, so config.status won't be able to write to it; its
13381 # output is simply discarded. So we exec the FD to /dev/null,
13382 # effectively closing config.log, so it can be properly (re)opened and
13383 # appended to by config.status. When coming back to configure, we
13384 # need to make the FD available again.
13385 if test "$no_create" != yes; then
13387 ac_config_status_args
=
13388 test "$silent" = yes &&
13389 ac_config_status_args
="$ac_config_status_args --quiet"
13391 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13393 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13394 # would make configure fail if this is the last instruction.
13395 $ac_cs_success || as_fn_exit
1
13399 # CONFIG_SUBDIRS section.
13401 if test "$no_recursion" != yes; then
13403 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
13404 # so they do not pile up.
13405 ac_sub_configure_args
=
13407 eval "set x $ac_configure_args"
13411 if test -n "$ac_prev"; then
13416 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
13417 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
13418 ac_prev
=cache_file
;;
13419 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
13420 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
13423 --config-cache |
-C)
13425 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
13427 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
13429 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
13431 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
13433 --disable-option-checking)
13437 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13439 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
13443 # Always prepend --prefix to ensure using the same prefix
13444 # in subdir configurations.
13445 ac_arg
="--prefix=$prefix"
13447 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
13449 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
13452 if test "$silent" = yes; then
13453 ac_sub_configure_args
="--silent $ac_sub_configure_args"
13456 # Always prepend --disable-option-checking to silence warnings, since
13457 # different subdirs can have different --enable and --with options.
13458 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
13461 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
13463 # Do not complain, so a configure script can configure whichever
13464 # parts of a large source tree are present.
13465 test -d "$srcdir/$ac_dir" ||
continue
13467 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
13468 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
13469 $as_echo "$ac_msg" >&6
13470 as_dir
="$ac_dir"; as_fn_mkdir_p
13474 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13476 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13477 # A ".." for each directory in $ac_dir_suffix.
13478 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13479 case $ac_top_builddir_sub in
13480 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13481 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13484 ac_abs_top_builddir
=$ac_pwd
13485 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13486 # for backward compatibility:
13487 ac_top_builddir
=$ac_top_build_prefix
13490 .
) # We are building in place.
13492 ac_top_srcdir
=$ac_top_builddir_sub
13493 ac_abs_top_srcdir
=$ac_pwd ;;
13494 [\\/]* | ?
:[\\/]* ) # Absolute name.
13495 ac_srcdir
=$srcdir$ac_dir_suffix;
13496 ac_top_srcdir
=$srcdir
13497 ac_abs_top_srcdir
=$srcdir ;;
13498 *) # Relative name.
13499 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13500 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13501 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13503 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13508 # Check for guested configure; otherwise get Cygnus style configure.
13509 if test -f "$ac_srcdir/configure.gnu"; then
13510 ac_sub_configure
=$ac_srcdir/configure.gnu
13511 elif test -f "$ac_srcdir/configure"; then
13512 ac_sub_configure
=$ac_srcdir/configure
13513 elif test -f "$ac_srcdir/configure.in"; then
13514 # This should be Cygnus configure.
13515 ac_sub_configure
=$ac_aux_dir/configure
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
13518 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
13522 # The recursion is here.
13523 if test -n "$ac_sub_configure"; then
13524 # Make the cache file name correct relative to the subdirectory.
13525 case $cache_file in
13526 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
13527 *) # Relative name.
13528 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
13531 { $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
13532 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
13533 # The eval makes quoting arguments work.
13534 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
13535 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
13536 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
13542 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13544 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13548 if test "${prefix}" = "/usr/local"; then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
13550 $as_echo "$as_me: " >&6;}
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: For a private or temporary build of systemtap, we recommend" >&5
13552 $as_echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring with a prefix. For example, try" >&5
13554 $as_echo "$as_me: configuring with a prefix. For example, try" >&6;}
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
13556 $as_echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: Running systemtap uninstalled, entirely out of the build tree," >&5
13558 $as_echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: is not supported." >&5
13560 $as_echo "$as_me: is not supported." >&6;}